!(function(){var Cy=Object.defineProperty,By=Object.defineProperties;var Sy=Object.getOwnPropertyDescriptors;var Wv=Object.getOwnPropertySymbols;var _1=Object.prototype.hasOwnProperty,M1=Object.prototype.propertyIsEnumerable;var xp=Math.pow,h1=(Qn,Yt,de)=>Yt in Qn?Cy(Qn,Yt,{enumerable:!0,configurable:!0,writable:!0,value:de}):Qn[Yt]=de,tp=(Qn,Yt)=>{for(var de in Yt||(Yt={}))_1.call(Yt,de)&&h1(Qn,de,Yt[de]);if(Wv)for(var de of Wv(Yt))M1.call(Yt,de)&&h1(Qn,de,Yt[de]);return Qn},p1=(Qn,Yt)=>By(Qn,Sy(Yt));var I1=(Qn,Yt)=>{var de={};for(var he in Qn)_1.call(Qn,he)&&Yt.indexOf(he)<0&&(de[he]=Qn[he]);if(Qn!=null&&Wv)for(var he of Wv(Qn))Yt.indexOf(he)<0&&M1.call(Qn,he)&&(de[he]=Qn[he]);return de};var pc=(Qn,Yt,de)=>h1(Qn,typeof Yt!="symbol"?Yt+"":Yt,de);var Um=(Qn,Yt,de)=>new Promise((he,Me)=>{var He=Le=>{try{Oe(de.next(Le))}catch(ve){Me(ve)}},ft=Le=>{try{Oe(de.throw(Le))}catch(ve){Me(ve)}},Oe=Le=>Le.done?he(Le.value):Promise.resolve(Le.value).then(He,ft);Oe((de=de.apply(Qn,Yt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},89489:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},59477:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},40001:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},26227:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},49198:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},84105:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},18785:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},87169:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},73331:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},15277:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},52671:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},8657:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},56082:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},33853:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},15075:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},62772:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},43531:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},61485:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},38819:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},47472:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},95869:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},87395:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(60499),Me=de(59301),He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},ft=He,Oe=de(7657),Le=function(fe,Ke){return Me.createElement(Oe.Z,(0,he.Z)({},fe,{ref:Ke,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve},14618:function(){"use strict"},66552:function(){"use strict"},18760:function(Qn,Yt){"use strict";Yt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},3352: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 Qn={},Yt="5.0",de={},he=null,Me=!1,He=!1,ft=null,Oe=!1,Le=null,ve=null,Ae=0;Ae4?parseFloat(xt):5};Qn.setHTML5Codebase=function(xt,Qt){ve=xt,at(xt,Qt)},Qn.setJavaCodebase=Qn.setJavaCodebaseVersion=Qn.isCompiledInstalled=Qn.setPreCompiledScriptPath=Qn.setPreCompiledResourcePath=function(){},Qn.setHTML5CodebaseVersion=function(xt,Qt){var An=parseFloat(xt);if(An!==NaN&&An<5){console.log("The GeoGebra HTML5 codebase version "+An+" is deprecated. Using version latest instead.");return}Le=xt,Ue(xt,Qt)},Qn.getHTML5CodebaseVersion=function(){return Ne},Qn.getParameters=function(){return de},Qn.setFontsCSSURL=function(xt){ze=xt},Qn.setGiacJSURL=function(xt){},Qn.setJNLPFile=function(xt){fe=xt},Qn.setJNLPBaseDir=function(xt){},Qn.inject=function(){function xt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Qt="auto",An=de.id,Tn,dn=!1,Gn=0;Gn=5)return!0;var xt=Qn.getAppletObject();return xt&&typeof xt.recalculateEnvironments=="function"?(xt.recalculateEnvironments(),!0):!1},Qn.startAnimation=function(){var xt=Qn.getAppletObject();return xt&&typeof xt.startAnimation=="function"?(xt.startAnimation(),!0):!1},Qn.stopAnimation=function(){var xt=Qn.getAppletObject();return xt&&typeof xt.stopAnimation=="function"?(xt.stopAnimation(),!0):!1},Qn.getAppletObject=function(){var xt=de.id!==void 0?de.id:"ggbApplet";return window[xt]},Qn.resize=function(){};var Ct=function(xt,Qt,An){var Tn=document.createElement("param");Tn.setAttribute("name",Qt),Tn.setAttribute("value",An),xt.appendChild(Tn)},Xe=function(xt){return xt&&xt!=="false"},Lt=function(xt,Qt,An){We(Ne)<=4.2&&(An=!0);var Tn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ne||ggbHTML5LoadedCodebaseIsWebSimple&&!ke)&&(Tn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var dn=document.createElement("div");dn.classList.add("appletParameters","notranslate");var Gn=Qt.width,Cn=Qt.height;if(Qt.disableAutoScale=Qt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Qt.disableAutoScale,Qt.width!==void 0)if(We(Ne)<=4.4)Xe(Qt.showToolBar)&&(Qt.height-=7),Xe(Qt.showAlgebraInput)&&(Qt.height-=37),Qt.width<605&&Xe(Qt.showToolBar)&&(Qt.width=605,Gn=605);else{var mn=100;(Xe(Qt.showToolBar)||Xe(Qt.showMenuBar))&&(Qt.hasOwnProperty("customToolBar")&&(Qt.customToolbar=Qt.customToolBar),mn=Xe(Qt.showMenuBar)?245:155),Gn=5?(Qt.appletOnLoad=function(kt){var $t=xt.querySelector(".ggb_preview");$t&&$t.parentNode.removeChild($t),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Fe),window.GGBT_wsf_view&&$(window).trigger("resize"),Se(kt)},ie||Fe.appendChild(ae)):dn.appendChild(ae),Fe.appendChild(dn),ie||xt.appendChild(Fe),setTimeout(function(){Qn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(dn),xt.appendChild(se),Qt.appletOnLoad=function(kt){Qn.resize(),Se(kt)}}function oe(kt,$t){$t&&typeof $t.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(kt,$t.appletOnLoad):renderGGBElement(kt),Xt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$t)}function Je(kt,$t){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:kt,params:$t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Sn){oe(Sn.article,Sn.params)}),html5AppletsToProcess=null)},We(Ne)<5&&(kt.className+=" geogebraweb")):oe(kt,$t)}if(Tn){scriptLoadStarted=!0;for(var vt=0;vt0?(Bn.remove(),Fe.attr("id","fullscreencontent").show(),jQuery(Se).append(Fe),window.dispatchEvent(new Event("resize"))):Lt(Bn,Qt,!1),window.GGBT_wsf_view.launchFullScreen(Se)}else _e=Tn,Lt(xt,Qt,!1);if(!window.GGBT_wsf_view)for(Cn=0;Cnxt/4*3&&(Bn=xt/4*3),Se=Bn/5.8,mn.setAttribute("src",Te),mn.setAttribute("width",Bn),mn.setAttribute("height",Se);var Fe=(xt-Bn)/2,ie=(Qt-Se)/2;mn.style.left=Fe+"px",mn.style.top=ie+"px",dn.appendChild(mn)}}return dn.appendChild(Cn),dn},wt=function(xt){return xt=xt.toLowerCase(),xt==="html5"||xt==="screenshot"?xt:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],Ue=function(xt,Qt){if(Ne=xt,Qt){at(Ne,!0);return}var An=!Me;if(An){var Tn=We(Ne);!isNaN(Tn)&&Tn<4.4&&(An=!1)}var dn,Gn;window.location.protocol.substr(0,4)==="http"?dn=window.location.protocol:dn="http:";var Cn=Ne.indexOf("//");Cn>0?Gn=Ne:Cn===0?Gn=dn+Ne:Gn="https://www.geogebra.org/apps/5.2.814.0/";for(var mn in it)if(Ne.slice(it[mn].length*-1)===it[mn]||Ne.slice((it[mn].length+1)*-1)===it[mn]+"/"){at(Gn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&An&&!he.is3D&&!he.AV&&!he.SV&&!he.CV&&!he.EV2&&!he.CP&&!he.PC&&!he.DA&&!he.FI&&!he.PV&&!Xe(de.showToolBar)&&!Xe(de.showMenuBar)&&!Xe(de.showAlgebraInput)&&!Xe(de.enableRightClick)&&(!de.appName||de.appName=="classic")?Gn+="webSimple/":Gn+="web3d/",at(Gn,!1)},at=function(xt,Qt){if(xt.requirejs){Ke=xt;return}xt.slice(-1)!=="/"&&(xt+="/"),Ke=xt,Qt===null&&(Qt=xt.indexOf("http")===-1),Be=Qt,Qe="web.nocache.js",ke=!1;var An=Ke.split("/");An.length>1&&(!Qt&&An[An.length-2]==="webSimple"?(Qe="webSimple.nocache.js",ke=!0):it.indexOf(An[An.length-2])>=0&&(Qe=An[An.length-2]+".nocache.js")),An=xt.split("/"),Ne=An[An.length-3],Ne.substr(0,4)==="test"?Ne=Ne.substr(4,1)+"."+Ne.substr(5,1):(Ne.substr(0,3)==="war"||Ne.substr(0,4)==="beta")&&(Ne="5.0");var Tn=parseFloat(Ne);Tn!==NaN&&Tn<5&&xt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Tn+" is deprecated. Using version latest instead."),Ue("5.0",Qt))},Xt=function(xt,Qt){window.console&&window.console.log&&(!Qt||typeof Qt.showLogging=="undefined"||Qt.showLogging&&Qt.showLogging!=="false")&&console.log(xt)};de.material_id!==void 0?rt(Vt):Vt();function Vt(){var xt=Yt;Le!==null?xt=Le:parseFloat(xt)<5&&(xt="5.0"),Ue(xt,!1),ve!==null&&at(ve,Be),Oe=!0}return Qn},GGBAppletUtils=function(){"use strict";function Qn(){return window.GGBT_wsf_edit!==void 0}function Yt(Oe,Le){Le!=1?(Oe.style.transformOrigin="0% 0% 0px",Oe.style.webkitTransformOrigin="0% 0% 0px",Oe.style.transform="scale("+Le+","+Le+")",Oe.style.webkitTransform="scale("+Le+","+Le+")",Oe.style.maxWidth="initial",Oe.querySelector(".ggb_preview")!==null&&(Oe.querySelector(".ggb_preview").style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Oe.style.transform="none",Oe.style.webkitTransform="none")}function de(Oe,Le,ve,Ae,xe,fe){var Ke=null;if(fe!=null&&fe!="")for(var Be=Oe.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+fe+" ")>-1){Ke=Be;break}else Be=Be.parentNode;var _e=0,Ne=0,Qe=0,ke=0,Pe=0,Te=0,Ye=0;if(Ke)_e=Ke.offsetWidth,Ne=Math.max(Ae?Ke.offsetWidth:0,Ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(_e=Math.min(window.innerWidth,document.documentElement.clientWidth),Ne=Math.min(window.innerHeight,document.documentElement.clientHeight),Qe=_e):(_e=window.innerWidth,Ne=window.innerHeight,Qe=window.innerWidth),Oe){var ze=Oe.getBoundingClientRect();ze.left>0&&ze.left<=_e&&(xe===void 0||!xe)&&(document.dir==="rtl"?(Pe=_e-ze.width-ze.left,Te=Qe<=480?10:30):(Te=ze.left,Pe=Qe<=480?10:30),ke=Te+Pe)}if(Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var qe=Oe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ke=40,Ye=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ke=0,Ye=40)}}return Oe&&((ve===void 0||!ve)&&Le>0&&Le+ke<_e?_e=Le:_e-=ke,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ve===void 0||!ve)&&(Ne-=Ye)),{width:_e,height:Ne}}function he(Oe,Le,ve,Ae,xe){if(Oe.isScreenshoGenerator)return 1;var fe=Ae!==void 0&&Ae,Ke=Oe.noScaleMargin!=null&&Oe.noScaleMargin,Be=function(qe){return qe&&qe!=="false"},_e=Be(Oe.autoHeight),Ne=de(Le,Oe.width,ve,_e,fe&&window.GGBT_wsf_view||Ke,xe),Qe=parseInt(Ne.width),ke=Oe.width,Pe=Oe.height;if(ke===void 0){var Te=Le.querySelector(".appletParameters");Te&&(ke=Te.offsetWidth,Pe=Te.offsetHeight)}var Ye=Qe/ke,ze=fe?1:Ne.height/Pe;return ve!==void 0&&!ve&&(Ye=Math.min(1,Ye),ze=Math.min(1,ze)),Math.min(Ye,ze)}function Me(Oe,Le,ve){var Ae=1,xe,fe=!1;if(Oe.hasOwnProperty("allowUpscale")&&(fe=Oe.allowUpscale),Oe.hasOwnProperty("scale")&&(Ae=parseFloat(Oe.scale),(isNaN(Ae)||Ae===null||Ae===0)&&(Ae=1),Ae>1&&(fe=!0)),Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(Oe.hasOwnProperty("disableAutoScale")&&Oe.disableAutoScale))xe=he(Oe,Le,fe,ve,Oe.scaleContainerClass);else return Ae;return fe&&(!Oe.hasOwnProperty("scale")||Ae===1)?xe:Math.min(Ae,xe)}function He(Oe){var Le=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Ae=Oe.getBoundingClientRect(),xe=(Le-Ae.width)/2,fe=(ve-Ae.height)/2;fe<0&&(fe=0),Oe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(xe<40?Oe.style.left="40px":Oe.style.left=xe+"px",Oe.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Oe.style.top="40px":Oe.style.top=fe+"px",Oe.style.left=xe+"px")}function ft(Oe,Le){var ve=Oe.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Le.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Oe)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var Ae=Me(Le,Oe);Qn()&&ve.setAttribute("data-param-scale",Ae);for(var xe=null,fe=0;fe=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(Qn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Qn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Qn){var Yt=c[Qn];return Yt==null?null:Yt},r=d,webModule.__errFn=e}function B(){function Qn(Oe){var Le=Oe.lastIndexOf(rb);Le==-1&&(Le=Oe.length);var ve=Oe.indexOf(sb);ve==-1&&(ve=Oe.length);var Ae=Oe.lastIndexOf(tb,Math.min(ve,Le));return Ae>=O?Oe.substring(O,Ae+P):W}function Yt(Oe){if(!Oe.match(/^\w+:\/\//)){var Le=o.createElement(ub);Le.src=Oe+vb,Oe=Qn(Le.src)}return Oe}function de(){var Oe=__gwt_getMetaProperty(wb);return Oe!=null?Oe:W}function he(){for(var Oe=o.getElementsByTagName(_),Le=O;LeO?Oe[Oe.length-P].href:W}function He(){var Oe=o.location;return Oe.href==Oe.protocol+zb+Oe.host+Oe.pathname+Oe.search+Oe.hash}var ft=de();return ft==W&&(ft=he()),ft==W&&(ft=Me()),ft==W&&He()&&(ft=Qn(o.location.href)),ft=Yt(ft),ft}function C(Qn){return Qn.match(/^\//)||Qn.match(/^[a-zA-Z]+:\/\//)?Qn:webModule.__moduleBase+Qn}function D(){var Qn=[],Yt=O,de=[],he=[];function Me(Oe){var Le=he[Oe](),ve=de[Oe];if(Le in ve)return Le;var Ae=[];for(var xe in ve)Ae[ve[xe]]=xe;throw r&&r(Oe,Ae,Le),null}if(__gwt_isKnownPropertyValue=function(Oe,Le){return Le in de[Oe]},webModule.__getPropMap=function(){var Oe={};for(var Le in de)de.hasOwnProperty(Le)&&(Oe[Le]=Me(Le));return Oe},webModule.__computePropValue=Me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var He;try{He=Cb;var ft=He.indexOf(Db);ft!=-1&&(Yt=parseInt(He.substring(ft+P),$),He=He.substring(O,ft))}catch(Oe){}return webModule.__softPermutationId=Yt,C(He+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})()},79090:function(Qn,Yt,de){"use strict";de.d(Yt,{Ax:function(){return ft},Ds:function(){return Oe},KI:function(){return ve},SI:function(){return He},f1:function(){return Me}});var he=de(6521);function Me(Ae){let xe=!0;if(Ae.length>0){for(let fe=0;feZe in We?Ke(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:et}):We[Ze]=et,ke=(We,Ze)=>{for(var et in Ze||(Ze={}))_e.call(Ze,et)&&Qe(We,et,Ze[et]);if(Be)for(var et of Be(Ze))Ne.call(Ze,et)&&Qe(We,et,Ze[et]);return We};const Pe=(We={})=>{var Ze,et,rt,ht;let dt=(Ze=We==null?void 0:We.emotion)==null?void 0:Ze.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Ct=(et=We==null?void 0:We.focus)==null?void 0:et.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Xe=(rt=We==null?void 0:We.action)==null?void 0:rt.map(Re=>ke({value:Re==null?void 0:Re.rate},Re)),Lt=(ht=We==null?void 0:We.intention)==null?void 0:ht.map(Re=>ke({value:Re==null?void 0:Re.rate},Re));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:dt||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:Ct||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:Xe||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Lt||[]}]},Te=({className:We,dataSource:Ze=[],col:et=4,right:rt,bottom:ht=23,precision:dt=0,wrapWidth:Ct=1200})=>{const Xe=(Re="",Ht,Et="--")=>Re?(Re==null?void 0:Re.length)>Ht?(Re==null?void 0:Re.slice(0,Ht-1))+"...":Re:Et,Lt=Math.floor((Ct-(et-1)*rt)/et);return he.createElement("div",{className:ft()(Me.list,We)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((Re,Ht)=>{const{cover_pic:Et,created_at:bt,emotion:Tt,action:wt,intention:it,focus:Ue}=Re;return he.createElement("div",{key:Ht,className:Me.wrap,style:{width:Lt,marginRight:(1+Ht)%et===0?0:rt+dt,marginBottom:ht}},he.createElement("div",{className:Me.img},he.createElement("img",{src:`${fe.Z.API_SERVER}${Et}`}),he.createElement("div",{className:Me.tips},he.createElement("div",null,he.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),he.createElement("span",null,bt))),he.createElement("div",{className:Me.footer},he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-biaoqing"}),he.createElement("span",null,"\u8868\u60C5\uFF1A",he.createElement(Le.Z,{title:Tt},he.createElement("span",{className:"c-grey-333"},Xe(Tt,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-hangwei"}),he.createElement("span",null,"\u884C\u4E3A\uFF1A",he.createElement(Le.Z,{title:wt},he.createElement("span",{className:"c-grey-333"},Xe(wt,4)))))),he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-yitu"}),he.createElement("span",null,"\u610F\u56FE\uFF1A",he.createElement(Le.Z,{title:it},he.createElement("span",{className:"c-grey-333"},Xe(it,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-zhuangtai"}),he.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",he.createElement(Le.Z,{title:Ue},he.createElement("span",{className:"c-grey-333"},Xe(Ue,3))))))))})))},Ye=({className:We,style:Ze,title:et,hideBar:rt=!1,children:ht,customText:dt="",noDataText:Ct="",emptyData:Xe=[],loading:Lt,actionAnalysis:Re})=>{var Ht,Et;const bt=((Ht=Xe==null?void 0:Xe[0])==null?void 0:Ht.every(wt=>{var it;return!((it=wt==null?void 0:wt.data)!=null&&it.length)}))&&!((Et=Xe==null?void 0:Xe[1])!=null&&Et.length)||!Re,Tt=Re?Ct:dt;return he.createElement(ve.Z,{loading:Lt,active:!0},bt&&he.createElement("div",{className:ft()(Me.noData,We),style:Ze},!!et&&he.createElement("div",{className:Me.title},!rt&&he.createElement("b",null),he.createElement("span",null,et)),he.createElement("div",{className:Me.itemWrap},he.createElement(xe.Z,{customText:Tt}))),!bt&&ht)};var qe=({className:We,style:Ze,data:et=[],title:rt,hideBar:ht=!1,loading:dt=!1})=>he.createElement("div",{className:ft()(Me.analysis,We),style:Ze},!!rt&&he.createElement("div",{className:Me.title},!ht&&he.createElement("b",null),he.createElement("span",null,rt)),he.createElement(Ae.Z,{spinning:dt},he.createElement("div",{className:Me.itemWrap},et==null?void 0:et.map((Ct,Xe)=>he.createElement("div",{className:Me.item,key:Xe},he.createElement(Oe.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:Ct==null?void 0:Ct.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Lt){for(let Re in Ct==null?void 0:Ct.data)if(Lt==(Ct==null?void 0:Ct.data[Re].name))return Lt+" "+(Ct==null?void 0:Ct.data[Re].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:Ct==null?void 0:Ct.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:Ct==null?void 0:Ct.data}]},style:{height:145}}))))))},65218:function(Qn,Yt,de){"use strict";var he=de(86204),Me=de.n(he),He=Object.defineProperty,ft=(Ae,xe,fe)=>xe in Ae?He(Ae,xe,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Ae[xe]=fe,Oe=(Ae,xe,fe)=>ft(Ae,typeof xe!="symbol"?xe+"":xe,fe),Le=(Ae,xe,fe)=>new Promise((Ke,Be)=>{var _e=ke=>{try{Qe(fe.next(ke))}catch(Pe){Be(Pe)}},Ne=ke=>{try{Qe(fe.throw(ke))}catch(Pe){Be(Pe)}},Qe=ke=>ke.done?Ke(ke.value):Promise.resolve(ke.value).then(_e,Ne);Qe((fe=fe.apply(Ae,xe)).next())});class ve extends he.EventEmitter{constructor(xe,fe){super(),Oe(this,"url"),Oe(this,"body"),Oe(this,"fullContent",""),Oe(this,"controller",null),Oe(this,"buffer",""),this.url=xe,this.body=fe}startStream(){return Le(this,null,function*(){this.controller=new AbortController;const{signal:xe}=this.controller;try{const fe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:xe});if(!fe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${fe.status}`);const Ke=fe.headers.get("content-type");if(!Ke)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ke.includes("application/json")){const Ne=yield fe.json();this.emit("error",Ne);return}if(!Ke.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Be=fe.body.getReader(),_e=new TextDecoder("utf-8");for(;;){const{done:Ne,value:Qe}=yield Be.read();if(Ne)break;const ke=_e.decode(Qe,{stream:!0});this.buffer+=ke;const Pe=this.buffer.split(` `);this.buffer=Pe.pop()||"";for(const Te of Pe)if(Te.startsWith("data:")){const Ye=Te.slice(5).trim();if(Ye==="[DONE]")break;try{const ze=JSON.parse(Ye);ze.data&&this.handleData(ze.data)}catch(ze){this.buffer=Te+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ze)}}}this.emit("done",this.fullContent)}catch(fe){fe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",fe.message)}})}handleData(xe){xe.content&&(this.fullContent+=xe.content,this.emit("data",{chunk:xe,full:this.fullContent}))}cancelRequest(){var xe;(xe=this.controller)==null||xe.abort()}}Yt.Z=ve},15868:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ke}});var he=de(59301),Me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},He=de(92310),ft=de.n(He),Oe=de(71418),Le=de(2859),ve=de(79769),Ae=de(25544),xe=(Be,_e,Ne)=>new Promise((Qe,ke)=>{var Pe=ze=>{try{Ye(Ne.next(ze))}catch(qe){ke(qe)}},Te=ze=>{try{Ye(Ne.throw(ze))}catch(qe){ke(qe)}},Ye=ze=>ze.done?Qe(ze.value):Promise.resolve(ze.value).then(Pe,Te);Ye((Ne=Ne.apply(Be,_e)).next())}),Ke=({data:Be,className:_e,fullWidth:Ne,style:Qe={},onClose:ke,onOk:Pe,showFullTools:Te,noAssociationId:Ye})=>{const ze=(0,he.useRef)(null),qe=(0,he.useRef)(null),We=(0,he.useRef)(null),Ze=(0,he.useRef)(null),[et,rt]=(0,he.useState)(!1),[ht,dt]=(0,he.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,he.useEffect)(()=>{We.current||(We.current=document.createElement("style"),document.head.appendChild(We.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),We.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&Ct()):(document.body.removeAttribute("data-custom"),We.current&&(document.head.removeChild(We.current),We.current=null))},[Be==null?void 0:Be.visible]);const Ct=()=>xe(void 0,null,function*(){rt(!0),dt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Et=yield(0,Ae.ZJ)(Be==null?void 0:Be.src);ze.current.src="",ze.current.src=Et,ze.current.onload=function(){Ht()},rt(!1),dt("")}),Xe=()=>{document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",ke()},Lt=Et=>xe(void 0,null,function*(){rt(!0),dt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const bt=yield(0,ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:Et.dataUrl}});bt!=null&&bt.id&&!Ye?(yield(0,ve.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:bt==null?void 0:bt.id,settings:JSON.stringify(Et.state)}})).status===0&&Pe():bt!=null&&bt.id&&Pe(bt),document.body.removeAttribute("data-custom"),We.current.innerHTML=" ",rt(!1),dt("")}),Re=()=>{const Et=document.querySelector('a[href="https://markerjs.com/"]');Et&&Et.parentNode&&(Et.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(Tt=>{const wt=document.querySelector(Tt.name);wt&&wt.setAttribute("title",Tt.title)})},Ht=()=>{qe.current=new Le.hP(ze.current),qe.current.targetRoot=Ze.current,qe.current.addEventListener("render",Lt),qe.current.addEventListener("beforeclose",Xe),Te&&(qe.current.availableMarkerTypes=qe.current.ALL_MARKER_TYPES,qe.current.uiStyleSettings.redoButtonVisible=!0,qe.current.uiStyleSettings.notesButtonVisible=!0,qe.current.uiStyleSettings.zoomButtonVisible=!0,qe.current.uiStyleSettings.zoomOutButtonVisible=!0,qe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=qe.current.uiStyleSettings,qe.current.show(),Be!=null&&Be.snapshotData&&qe.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Re()},300)};return he.createElement(he.Fragment,null,(Be==null?void 0:Be.visible)&&he.createElement(Oe.Z,{spinning:et,tip:ht,style:{position:"absolute"}},he.createElement("div",{ref:Ze,className:ft()(Me.imageDimensions,_e,Ne?Me.fullWidth:""),style:Qe},he.createElement("img",{className:Me.img,ref:ze}))))}},3315:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(95237),He=de(43604),ft=de(99313),Oe=de(3113),Le=de(39655),ve=de(18760),Ae=de(48136),xe=de(59301);const fe=(0,he.forwardRef)(({callback:Ke,showSaveButton:Be,value:_e=""},Ne)=>{const Qe=(0,he.useRef)(),ke=[{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 "}]}]}],Pe=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],Te=qe=>{Qe.current.setValue(Qe.current.getValue()+" "+qe.value+" ")},Ye=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:xe.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},ke.map((qe,We)=>xe.createElement(He.Z,{flex:"110px",className:ve.Z.item},xe.createElement("div",null,xe.createElement(Le.Z,{value:`$$${qe.value}$$`}),qe.name),xe.createElement("div",{className:ve.Z.children},qe.children.map((Ze,et)=>xe.createElement("div",{key:et},xe.createElement("h1",null,Ze.name),xe.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>xe.createElement(He.Z,{key:ht,onClick:()=>Te(rt),className:ve.Z.diamond},xe.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:xe.createElement(Me.Z,{className:ve.Z.lists,gutter:[10,10]},Pe.map((qe,We)=>xe.createElement(He.Z,{flex:"110px",className:ve.Z.item},xe.createElement("div",null,xe.createElement(Le.Z,{value:"`$$"+qe.value+"$$`"}),qe.name),xe.createElement("div",{className:ve.Z.children},qe.children.map((Ze,et)=>xe.createElement("div",{key:et},Ze.name&&xe.createElement("h1",null,Ze.name),xe.createElement(Me.Z,{gutter:[10,10]},Ze.data.map((rt,ht)=>xe.createElement(He.Z,{key:ht,onClick:()=>Te(rt),className:ve.Z.diamond},xe.createElement(Le.Z,{value:"`$$"+rt.value+"$$`"}))))))))))}],ze=()=>{var qe=document.createElement("div");qe.innerHTML=Qe.current.getValue();var We=qe.innerText;return Ke&&Ke(We),We};return(0,he.useImperativeHandle)(Ne,()=>({getData:ze})),xe.createElement("div",{className:ve.Z.mathWrap},xe.createElement(ft.default,{defaultActiveKey:"1",items:Ye}),xe.createElement("math-field",{locale:"zh_cn",className:ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Qe,style:{width:800,marginTop:30,fontSize:18}},_e||""),Be&&xe.createElement("div",{className:ve.Z.button},xe.createElement(Oe.ZP,{size:"large",onClick:ze,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Yt.Z=fe},46066:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Lt}});var he=de(59301),Me=de(91482),He=de(43418),ft=de(78241),Oe=de(8591),Le=de(71418),ve=de(17574),Ae=de(95237),xe=de(43604),fe=de(6848),Ke=de(92832),Be={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},_e=de(87001),Ne=de(89978),Qe=de(18540),ke=de(23579),Pe=Object.defineProperty,Te=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,Ze=(Re,Ht,Et)=>Ht in Re?Pe(Re,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Re[Ht]=Et,et=(Re,Ht)=>{for(var Et in Ht||(Ht={}))qe.call(Ht,Et)&&Ze(Re,Et,Ht[Et]);if(ze)for(var Et of ze(Ht))We.call(Ht,Et)&&Ze(Re,Et,Ht[Et]);return Re},rt=(Re,Ht)=>Te(Re,Ye(Ht)),ht=(Re,Ht)=>{var Et={};for(var bt in Re)qe.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&ze)for(var bt of ze(Re))Ht.indexOf(bt)<0&&We.call(Re,bt)&&(Et[bt]=Re[bt]);return Et},dt=(Re,Ht,Et)=>new Promise((bt,Tt)=>{var wt=at=>{try{Ue(Et.next(at))}catch(Xt){Tt(Xt)}},it=at=>{try{Ue(Et.throw(at))}catch(Xt){Tt(Xt)}},Ue=at=>at.done?bt(at.value):Promise.resolve(at.value).then(wt,it);Ue((Et=Et.apply(Re,Ht)).next())});const Ct=(Re=[])=>Re==null?void 0:Re.map(Ht=>rt(et({},Ht),{title:(Ht==null?void 0:Ht.value)||"",key:Ht==null?void 0:Ht.id,isLeaf:!0})),Xe=Re=>{var Ht=Re,{user:Et,children:bt,isShowComponent:Tt=!0,ModalProps:wt={},onDataSelect:it}=Ht,Ue=ht(Ht,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[at,Xt]=He.default.useModal(),[Vt]=ft.default.useForm(),[xt,Qt]=(0,he.useState)([]),[An,Tn]=(0,he.useState)(!1),[dn,Gn]=(0,he.useState)(!1),[,Cn,mn,Bn]=(0,_e.U)(Ne.qE,{page:1,limit:9999}),[,,Se]=(0,_e.U)(Ne.V8,{}),[,,Fe]=(0,_e.U)(Ne.B$,{}),[,,ie]=(0,_e.U)(Ne.DH,{}),[,,ae]=(0,_e.U)(Ne.bJ,{}),se=()=>{Tn(!1),Vt.resetFields(),Gn(!1)},oe=vt=>dt(void 0,null,function*(){const{node:$e,dragNode:lt,event:Pt}=vt,_t=vt.node.pos.split("-"),kt=vt.dropPosition-Number(_t[_t.length-1]);if(kt==0){Oe.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(kt==1&&(lt==null?void 0:lt.item_index)==($e==null?void 0:$e.item_index)+1){Oe.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const $t=yield ae({id:lt==null?void 0:lt.key,position:kt==-1?1:(lt==null?void 0:lt.item_index)>($e==null?void 0:$e.item_index)?($e==null?void 0:$e.item_index)+1:$e==null?void 0:$e.item_index});($t==null?void 0:$t.status)===0&&(Oe.ZP.success("\u79FB\u52A8\u6210\u529F"),mn({},!0))}),Je=vt=>dt(void 0,null,function*(){let $e={};dn?$e=yield Fe(et({},vt)):$e=yield ie(et({},vt)),($e==null?void 0:$e.status)==0&&(Oe.ZP.success(($e==null?void 0:$e.message)||(dn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),mn({},!0),se())});return(0,he.useEffect)(()=>{wt!=null&&wt.open&&mn({},!0)},[wt==null?void 0:wt.open]),(0,he.useEffect)(()=>{var vt;Qt(Ct((vt=Bn==null?void 0:Bn.data)==null?void 0:vt.list))},[Bn]),Tt?he.createElement(he.Fragment,null,Xt,bt,he.createElement(He.default,et({},et({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},wt)),he.createElement(Le.Z,{spinning:Cn},(xt==null?void 0:xt.length)>0?he.createElement(he.Fragment,null,he.createElement(ve.default.DirectoryTree,{height:500,className:Be.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:it,treeData:xt,onDrop:oe,titleRender:vt=>he.createElement(he.Fragment,null,he.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},vt==null?void 0:vt.title),he.createElement("div",{className:`${Be.EditDom}`},he.createElement(Ae.Z,{wrap:!1,align:"middle",gutter:16},he.createElement(xe.Z,null,he.createElement(fe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},he.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Be.currentPrimary}`}))),he.createElement(xe.Z,null,he.createElement(fe.Z,{title:"\u7F16\u8F91"},he.createElement("i",{className:`iconfont icon-bianji11 font12 ${Be.currentPrimary}`,onClick:$e=>{$e.stopPropagation(),Vt.setFieldsValue(et({},vt)),Tn(!0)}}))),he.createElement(xe.Z,null,he.createElement(fe.Z,{title:"\u5220\u9664"},he.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Be.currentDelete}`,onClick:$e=>{$e.stopPropagation(),at.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>dt(void 0,null,function*(){const lt=yield Se({id:vt==null?void 0:vt.key});(lt==null?void 0:lt.status)==0&&(Oe.ZP.success((lt==null?void 0:lt.message)||"\u5220\u9664\u6210\u529F"),mn({},!0))})})}}))))))}),he.createElement(ke.op,{className:"ml20 mt20",icon:he.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Gn(!0),Tn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):he.createElement(Qe.Z,{styles:{margin:"30px auto"},customText:he.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",he.createElement("a",{onClick:()=>{Gn(!0),Tn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),he.createElement(He.default,{title:dn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:An,okText:dn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{Vt.submit()}},he.createElement(ft.default,{form:Vt,onFinish:Je},dn&&he.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),he.createElement(ft.default.Item,{hidden:!0,name:"id"}),he.createElement(ft.default.Item,{className:"mt10",name:"value"},he.createElement(Ke.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var Lt=(0,Me.connect)(({loading:Re,user:Ht})=>({user:Ht,loading:Re.effects}))(Xe)},67831:function(Qn,Yt,de){"use strict";de.d(Yt,{h:function(){return qe}});var he=de(59301),Me=de(57809),He=de(78241),ft=de(3113),Oe=de(89780),Le=de.n(Oe),ve=de(14618),Ae=de(66552),xe=Object.defineProperty,fe=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Qe=(We,Ze,et)=>Ze in We?xe(We,Ze,{enumerable:!0,configurable:!0,writable:!0,value:et}):We[Ze]=et,ke=(We,Ze)=>{for(var et in Ze||(Ze={}))_e.call(Ze,et)&&Qe(We,et,Ze[et]);if(Be)for(var et of Be(Ze))Ne.call(Ze,et)&&Qe(We,et,Ze[et]);return We},Pe=(We,Ze)=>fe(We,Ke(Ze));const Te=Me.default.Option,Ye={labelCol:{span:4},wrapperCol:{span:20}},ze={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"]};Yt.Z=({callback:We,onCancel:Ze})=>{const[et,rt]=(0,he.useState)("python");function ht(Ct){rt(ze[Ct][1])}function dt(Ct){We(Ct)}return he.createElement(He.default,Pe(ke({},Ye),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:dt,style:{width:500}}),he.createElement(He.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(Me.default,{getPopupContainer:Ct=>Ct.parentNode,onChange:ht},Object.keys(ze).map(Ct=>he.createElement(Te,{key:Ct,value:Ct},ze[Ct][0])))),he.createElement(He.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(qe,{mode:et})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(ft.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(ft.ZP,{type:"ghost",onClick:Ze},"\u53D6\u6D88")))};function qe({value:We,onChange:Ze,mode:et,options:rt={}}){const ht=(0,he.useRef)(),[dt,Ct]=(0,he.useState)();return(0,he.useEffect)(()=>{if(dt){let Xe=function(Lt){const Re=Lt.getValue();Ze&&Ze(Re)};return dt.on("change",Xe),()=>{dt.off("change",Xe)}}},[dt,Ze]),(0,he.useEffect)(()=>{dt&&dt.setOption("mode",et)},[dt,et]),(0,he.useEffect)(()=>{dt&&(We!==dt.getValue()||We==="")&&setTimeout(()=>{dt.setValue(We||"")},300)},[dt,We]),(0,he.useEffect)(()=>{if(ht.current&&!dt){const Xe=Le().fromTextArea(ht.current,ke({mode:et,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},rt));Ct(Xe)}},[ht.current,dt]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:ht}))}},40973:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return sa}});var he=de(59301),Me=de(89780),He=de.n(Me),ft=de(76374),Oe=de(14618),Le=de(6313),ve=de(25717),Ae=de(99498),xe=de(25419),fe=de(67549),Ke=de(39655),Be=({value:Pi="",className:Aa,showTextOnly:Si,showLines:qr,style:Ma={}})=>{const kn=(0,he.useMemo)(()=>"",[Pi]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:kn}}))},_e=de(59301),Ne=Object.defineProperty,Qe=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ze=(Pi,Aa,Si)=>Aa in Pi?Ne(Pi,Aa,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Aa]=Si,qe=(Pi,Aa)=>{for(var Si in Aa||(Aa={}))Te.call(Aa,Si)&&ze(Pi,Si,Aa[Si]);if(Pe)for(var Si of Pe(Aa))Ye.call(Aa,Si)&&ze(Pi,Si,Aa[Si]);return Pi},We=(Pi,Aa)=>Qe(Pi,ke(Aa));let Ze=[{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 et({onActionCallback:Pi,title:Aa,icon:Si,actionName:qr,className:Ma="",children:kn}){function Dt(){Pi(qr)}return _e.createElement("a",{title:Aa,className:Ma,onClick:Dt},_e.createElement("i",{className:`${Si}`}),kn)}var rt=({watch:Pi,showNullButton:Aa,showNullProgramButton:Si,onActionCallback:qr,fullScreen:Ma,insertTemp:kn,hidetoolBar:Dt,extraUse:Gt})=>{const Wt=[...Ze,{title:`${Pi?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Pi?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return _e.createElement("ul",{className:"markdown-toolbar-container"},!Dt&&Wt.map((Kt,on)=>_e.createElement("li",{key:on},Kt.actionName?_e.createElement(et,We(qe({},Kt),{onActionCallback:qr})):_e.createElement("span",{className:"v-line"}))),Aa?_e.createElement("li",null,_e.createElement(et,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:qr},_e.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Si?_e.createElement(_e.Fragment,null,_e.createElement("li",null,_e.createElement(et,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:qr},_e.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),_e.createElement("li",null,_e.createElement(et,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:qr},_e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,kn&&_e.createElement("li",null,_e.createElement(et,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${kn}`,onActionCallback:qr},_e.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Gt&&_e.createElement("li",null,Gt),_e.createElement("li",{className:"btn-full-screen"},_e.createElement(et,{icon:`${Ma?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ma?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:qr})))},ht=de(53531),dt=de(78241),Ct=de(92832),Xe=de(3113),Lt=Object.defineProperty,Re=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,wt=(Pi,Aa,Si)=>Aa in Pi?Lt(Pi,Aa,{enumerable:!0,configurable:!0,writable:!0,value:Si}):Pi[Aa]=Si,it=(Pi,Aa)=>{for(var Si in Aa||(Aa={}))bt.call(Aa,Si)&&wt(Pi,Si,Aa[Si]);if(Et)for(var Si of Et(Aa))Tt.call(Aa,Si)&&wt(Pi,Si,Aa[Si]);return Pi},Ue=(Pi,Aa)=>Re(Pi,Ht(Aa));const at={labelCol:{span:4},wrapperCol:{span:20}};var Xt=({callback:Pi,onCancel:Aa})=>{function Si(qr){Pi(qr)}return he.createElement(dt.default,Ue(it({},at),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Si,style:{width:500}}),he.createElement(dt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},he.createElement(Ct.default,null)),he.createElement(dt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},he.createElement(Ct.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Xe.ZP,{type:"ghost",onClick:Aa},"\u53D6\u6D88")))},Vt=de(67831),xt=de(58448),Qt=de(43418),An=de(95237),Tn=de(15868),dn=de(59301),Gn=({callback:Pi,onCancel:Aa})=>{const Si=document.createElement("canvas"),qr=Si.getContext("2d");Si.width=1e3,Si.height=800,qr.fillStyle="#ffffff",qr.fillRect(0,0,Si.width,Si.height);const Ma=Si.toDataURL("image/png");return dn.createElement(Qt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},dn.createElement(An.Z,{style:{height:"100vh"}},dn.createElement(Tn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ma,visible:!0,title:String(Date.now())},onOk:kn=>{Pi({src:kn.url})},onClose:Aa})))},Cn=de(8591),mn=de(43428),Bn=de(43604),Se={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=de(59301),ae=(0,he.forwardRef)(({onCancel:Pi,editImgId:Aa,callback:Si},qr)=>{let Ma=(0,he.useRef)(),kn=(0,he.useRef)(),Dt=(0,he.useRef)(),Gt=(0,he.useRef)(!1);const Wt=(0,he.useRef)(!1);console.log("ref:",qr);const[Kt,on]=(0,he.useState)(0),[_n,lr]=(0,he.useState)("100vh");(0,he.useEffect)(()=>{on(1);try{indexedDB.databases().then(Pr=>{Pr.forEach(Ur=>indexedDB.deleteDatabase(Ur.name))})}catch(Pr){}},[]),(0,he.useEffect)(()=>(window.addEventListener("message",dr),()=>{window.removeEventListener("message",dr)}),[]),(0,he.useImperativeHandle)(qr,()=>({setHeight:lr}));const nr=Pr=>{window.saveDrawData(Ur=>{if(Ur===null&&!Pr){Cn.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Cn.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Si({src:`/api/attachments/${Ur}`,id:Ur,disabledClose:!0})})},dr=Pr=>{var Ur;((Ur=Pr==null?void 0:Pr.data)==null?void 0:Ur.type)==="closePop"&&nr(!0)};return Fe.createElement("div",{ref:Wt,className:"body-overflow-initial"},Fe.createElement(mn.Z,{width:"100vw",height:_n,footer:null,closable:!0,placement:"bottom",open:!!Kt,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Se.drawerWrap}`,onClose:()=>{window.saveDrawData(Pr=>{Si({src:`/api/attachments/${Pr}`,id:Pr})})},title:Fe.createElement(An.Z,{align:"middle"},Fe.createElement(Bn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(Bn.Z,{onClick:()=>{lr(_n==="60px"?"100vh":"60px")}},Fe.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),Fe.createElement(Bn.Z,{onClick:nr},Fe.createElement(Xe.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},Fe.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Aa||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:kn})))}),se=de(6521),oe=de(5112),Je=de(5871);const vt=oe.ZP.Group,$e={margin:"0 8px"};var lt=({callback:Pi,onCancel:Aa})=>{function Si(qr){Pi(qr)}return he.createElement(dt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Si},he.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},he.createElement("span",{style:$e},"\u5355\u5143\u683C\u6570\uFF1A"),he.createElement("span",{style:$e},"\u884C\u6570"),he.createElement(dt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},he.createElement(Je.Z,null)),he.createElement("span",{style:$e},"\u5217\u6570"),he.createElement(dt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},he.createElement(Je.Z,null))),he.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},he.createElement("span",{style:$e},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),he.createElement(dt.default.Item,{name:"align"},he.createElement(vt,null,he.createElement(oe.ZP,{value:"default"},he.createElement("i",{className:"fa fa-align-justify"})),he.createElement(oe.ZP,{value:"left"},he.createElement("i",{className:"fa fa-align-left"})),he.createElement(oe.ZP,{value:"center"},he.createElement("i",{className:"fa fa-align-center"})),he.createElement(oe.ZP,{value:"right"},he.createElement("i",{className:"fa fa-align-right"}))))),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Xe.ZP,{type:"ghost",onClick:Aa},"\u53D6\u6D88")))},Pt=de(78673),_t=de(3352),kt=de.n(_t),Sn=(0,he.forwardRef)(({use3d:Pi,width:Aa,height:Si,callback:qr,showSaveButton:Ma},kn)=>{const Dt=(0,he.useRef)(),Gt=(0,he.useRef)(),[Wt,Kt]=(0,he.useState)(!1),on=(0,he.useRef)({id:Dt,appName:"graphing",width:Aa||1e3,height:Si||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,he.useEffect)(()=>{Gt.current=new(kt())(on.current,!0),window.onload=function(){Gt.current.inject("applet_container")}},[]);const _n=()=>{var lr=window.ggbApplet.getPNGBase64(1,!0,72);return qr&&qr(lr),lr};return(0,he.useEffect)(()=>{on.current.appName=Wt?"3D":"graphing",Gt.current.inject("applet_container")},[Wt]),(0,he.useEffect)(()=>{Kt(Pi)},[Pi]),(0,he.useImperativeHandle)(kn,()=>({getImgData:_n})),he.createElement(he.Fragment,null,he.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Dt}),he.createElement(An.Z,{align:"middle"},he.createElement(Bn.Z,{flex:1},he.createElement(Pt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Wt,onChange:lr=>Kt(lr)})),he.createElement(Bn.Z,null,he.createElement(Xe.ZP,{size:"large",onClick:_n,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),St=de(3315),nn=de(1012);const tn="link",jt="upload-image",pt="add-flowchart",Zt="draw-image",gn="add-flowchart",wn="code-block",Xn="add-table",yr="------------",Dr={default:yr,left:`:${yr}`,center:`:${yr}:`,right:`${yr}:`};var Tr=de(57649),Rr=(Pi,Aa,Si)=>new Promise((qr,Ma)=>{var kn=Wt=>{try{Gt(Si.next(Wt))}catch(Kt){Ma(Kt)}},Dt=Wt=>{try{Gt(Si.throw(Wt))}catch(Kt){Ma(Kt)}},Gt=Wt=>Wt.done?qr(Wt.value):Promise.resolve(Wt.value).then(kn,Dt);Gt((Si=Si.apply(Pi,Aa)).next())});function Sr(){}let fr=0;const Vr=1e4,Bi="\u2581",yi="@\u2581\u2581@",mi="@\u2581@",Vi=` **\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`,ua=["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 Wr(Pi){return/^\d+$/.test(Pi)?`${Pi}px`:Pi}const ea=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ea={[ea+"-B"]:"bold",[ea+"-I"]:"italic"},wo={[tn]:"\u6DFB\u52A0\u94FE\u63A5",[wn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[jt]:"\u6DFB\u52A0\u56FE\u7247",[Zt]:"\u6DFB\u52A0\u753B\u56FE",[pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var sa=({defaultValue:Pi="",onChange:Aa,width:Si="100%",height:qr=400,miniToolbar:Ma=!1,isFocus:kn=!1,watch:Dt,insertTemp:Gt,mode:Wt="markdown",id:Kt="markdown-editor-id",showResizeBar:on=!1,noStorage:_n=!1,showNullButton:lr=!1,showNullProgramButton:nr=!1,hidetoolBar:dr=!1,fullScreen:Pr=!1,onBlur:Ur,onCMBeforeChange:ei,onFullScreen:er,className:kr="",disablePaste:_i=!1,disabled:gi=!1,disabledFill:ji=!1,placeholder:Mi="",values:Ca="",extraUse:Jr,onAddBlank:ra})=>{const[vn,gr]=(0,he.useState)(null),[Ar,jr]=(0,he.useState)(Pi),[br,Ir]=(0,he.useState)(Dt),[Fr,si]=(0,he.useState)(Pr),[bi,Ti]=(0,he.useState)(""),[Pa,Ka]=(0,he.useState)(0),[$a,Ua]=(0,he.useState)(qr),[Fa,ho]=(0,he.useState)(!1),oo=(0,he.useRef)((0,nn.Z)()),ta=(0,he.useRef)(!1),ui=(0,he.useRef)(),[za,no]=(0,he.useState)(0),[La,xo]=(0,he.useState)(0),os=(0,he.useRef)(),Va=(0,he.useRef)(),Ii=(0,he.useRef)(),Ci=(0,he.useRef)(),Ha=(0,he.useRef)(),Oa=(0,he.useRef)(),eo=()=>Rr(void 0,null,function*(){var fa;const la=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:oo.current}});(fa=la==null?void 0:la.attachments)!=null&&fa.length&&(console.log("cm:",vn,os),la.attachments.map(ia=>{ia.content_type.indexOf("image")>-1?vn.replaceSelection(`![,](/api/attachments/${ia.id}?type=${ia.content_type})`):ia.content_type.indexOf("video")>-1?vn.replaceSelection(``):ia.content_type.indexOf("pdf")>-1?vn.replaceSelection(`${ia.name}`):vn.replaceSelection(`[${ia.name}](${se.Z.API_SERVER}/api/attachments/${ia.id}?type=${ia.content_type})`)}))});(0,he.useEffect)(()=>{const fa=window.scrollY||window.pageYOffset;jr(Ca),vn==null||vn.setValue(Ca),window.scrollTo(0,fa)},[Ca]),(0,he.useEffect)(()=>{er==null||er(Fr)},[Fr]),(0,he.useEffect)(()=>{if(os.current){let fa=function(ia,Ln){var In;if(_i){Ln.preventDefault();return}const Er=Ln.clipboardData;if(Er){const vi=Er.types.toString(),ha=Er.items;if(vi==="Files"||Er.types.indexOf("Files")>-1){if(Ln.preventDefault(),Wt=="stex")return;try{let Ia=ha[1];((In=ha[0])==null?void 0:In.kind)==="file"&&(Ia=ha[0]);const va=Ia.getAsFile(),Ji=va.name.split(".").pop();(0,xt.I)(va,ya=>{var No,Vo,cs;ya.id?((No=va==null?void 0:va.type)==null?void 0:No.indexOf("image"))>-1?la.replaceSelection(``):((Vo=va==null?void 0:va.type)==null?void 0:Vo.indexOf("video"))>-1?la.replaceSelection(``):((cs=va==null?void 0:va.type)==null?void 0:cs.indexOf("pdf"))>-1?la.replaceSelection(`${va.name}`):ua.includes(Ji)?la.replaceSelection(`${va.name}`):la.replaceSelection(`[${va.name}](/api/attachments/${ya.id}?type=${ya.content_type})`):(ya==null?void 0:ya.status)===401&&(Cn.ZP.warning((ya==null?void 0:ya.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ia){Cn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const la=He().fromTextArea(os.current,{mode:Wt,lineNumbers:!Ma,lineWrapping:!0,value:Pi,autoCloseTags:!nr,autoCloseBrackets:!0});return la.on("keyup",function(ia,Ln){Ln.keyCode===8&&(ia.getValue()==""?la.setOption("placeholder",Mi):la.setOption("placeholder",null))}),la.on("keydown",function(ia,Ln){if(Ln.keyCode===8){var In=vo(ia);In&&Ln.preventDefault()}}),kn&&la.focus(),la.on("paste",fa),la.on("dragleave",function(ia,Ln){Va.current.classList.remove("mouse-hover-md")}),gi&&la.on("beforeChange",function(ia,Ln){(Ln.origin==="paste"||Ln.origin==="+input")&&Ln.cancel()}),gr(la),()=>{la.off("paste",fa)}}},[]);const Lo=(0,he.useCallback)(()=>{if(Va.current)try{}catch(fa){console.log(fa,"---- to set md editor body height")}},[$a,Va,Fr]);(0,he.useEffect)(()=>{function fa(){let la=new ft.Z(ia=>{for(let Ln of ia)(Ln.target.offsetHeight>0||Ln.target.offsetWidth>0)&&(Lo(),vn.setSize("100%","100%"),vn.refresh())});return la.observe(os.current.parentElement),la}if(vn){const la=fa();return()=>{var ia,Ln;(ia=os.current)!=null&&ia.parentElement&&la.unobserve((Ln=os.current)==null?void 0:Ln.parentElement)}}},[vn,Lo]),(0,he.useEffect)(()=>{if(vn){let fa=[];for(const[la,ia]of Object.entries(Ea)){let Ln={[la]:()=>{jn(ia)}};fa.push(Ln),vn.addKeyMap(Ln)}return ui.current=setInterval(()=>{ta.current&&eo()},4e3),()=>{clearInterval(ui.current);for(let la of fa)vn.removeKeyMap(la)}}},[vn]),(0,he.useEffect)(()=>{Pr!==Fr&&si(Pr)},[Pr]),(0,Tr.Z)(()=>{if(!_n&&Pa>0){let fa=new Date().getTime(),la=window.sessionStorage.getItem(Kt);fa>=Pa+Vr&&(!la||la!==Ar)&&(window.sessionStorage.setItem(Kt,Ar),ho(!0))}},Vr),(0,he.useEffect)(()=>{Ir(Dt)},[vn,Dt]),(0,he.useEffect)(()=>{vn&&kn&&vn.focus()},[vn,kn]),(0,he.useEffect)(()=>{if(br&&vn){let fa=function(ia){let Ln=ia.target;if(Ci.current){let In=Ln.scrollTop/Ln.scrollHeight;Ci.current.scrollTop=Ci.current.scrollHeight*In}};const la=vn.getScrollerElement();return la.addEventListener("scroll",fa),()=>{la.removeEventListener("scroll",fa)}}},[vn,br]),(0,he.useEffect)(()=>{if(vn&&ei){let fa=function(la,ia){ei(la,ia)};return vn.on("beforeChange",fa),()=>{vn.off("beforeChange",fa)}}},[vn,ei]),(0,he.useEffect)(()=>{if(vn&&Ur){let fa=function(){Ur(vn.getValue())};return vn.on("blur",fa),()=>{vn.off("blur",fa)}}},[vn,Ur]);function vo(fa,la){var ia=fa.getDoc(),Ln=ia.getCursor(),In=ia.getLine(Ln.line),Er=In.charAt(Ln.ch-1),vi=In.lastIndexOf("@\u2581@",Ln.ch),ha=In.lastIndexOf("@\u2581\u2581@",Ln.ch),Ia=vi>ha?vi:ha,va=vi>ha?3:4;if(yi.indexOf(Er)===-1)return null;if(console.log("change1:",la,fa,In,Ln,Ia,vi,ha,Er),Ia>=0&&Ln.ch-Ia<5){var Ji=Ia+va;return ia.replaceRange("",{line:Ln.line,ch:Ia},{line:Ln.line,ch:Ji}),{line:Ln.line,ch:Ji}}return null}(0,he.useEffect)(()=>{if(vn){let fa=function(la,ia){const Ln=la.getValue();jr(Ln),Ka(new Date().getTime()),la.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Aa&&(nr?Aa(Ln,Js(Ln)):Aa(Ln))};return vn.on("change",fa),()=>{vn.off("change",fa)}}},[vn,Aa]),(0,he.useEffect)(()=>{if(vn)if(Pi==null)vn.setValue(""),jr("");else{const fa=window.scrollY||window.pageYOffset;Pi!==vn.getValue()&&(vn.setValue(Pi),jr(Pi),vn.setCursor(gi?1:vn.lineCount(),0),window.scrollTo(0,fa))}},[vn,Pi]);const jn=(0,he.useCallback)(fa=>{const la=vn.getCursor(),ia=vn.getSelection();let Ln=ia.split(` `);switch(fa){case"bold":return vn.replaceSelection("**"+ia+"**"),ia===""&&vn.setCursor(la.line,la.ch+2),vn.focus();case"italic":return vn.replaceSelection("*"+ia+"*"),ia===""&&vn.setCursor(la.line,la.ch+1),vn.focus();case"code":return vn.replaceSelection("`"+ia+"`"),ia===""&&vn.setCursor(la.line,la.ch+1),vn.focus();case"inline-latex":return Ti("inline-latex"),vn.focus();case"latex":return vn.replaceSelection("```latex\n"+ia+"\n```"),vn.setCursor(la.line+1,ia.length+1),vn.focus();case"line-break":return vn.replaceSelection(`
`),vn.focus();case"list-ul":return ia===""?vn.replaceSelection("- "+ia):vn.replaceSelection(Ln.map(In=>In===""?"":`- ${In}`).join(` `)),vn.focus();case"list-ol":return ia===""?vn.replaceSelection("1. "+ia):vn.replaceSelection(Ln.map((In,Er)=>In===""?"":`${Er+1}. ${In}`).join(` `)),vn.focus();case"add-null-ch":ra==null||ra();return;case"add-signal":return ia===""&&vn.setCursor(la.line,la.ch),vn.replaceSelection(mi),vn.focus();case"add-multiple":return ia===""&&vn.setCursor(la.line,la.ch),vn.replaceSelection(yi),vn.focus();case"inster-template-1":return ia===""&&vn.setCursor(la.line,la.ch),vn.replaceSelection(Vi),vn.focus();case"eraser":return vn.setValue(""),vn.focus();case"trigger-watch":return Ir(!br),vn.focus();case"trigger-full-screen":return si(!Fr),vn.focus();case tn:Ti(tn);return;case wn:Ti(wn);return;case jt:Ti(jt);return;case Zt:Ti(Zt);return;case"maths-latex":Ti("maths-latex");return;case pt:Ha.current="",sessionStorage.removeItem("file_id"),Ti(pt);return;case Xn:Ti(Xn);return;default:throw new Error}},[vn,br,Fr]),Oo=(0,he.useCallback)((fa,la)=>{var ia,Ln,In,Er,vi,ha;Ti("");const{src:Ia,alt:va,id:Ji}=fa||{};switch(bi){case tn:const{title:Mo,link:ul}=fa;return vn.replaceSelection(`[${Mo}](${ul})`),vn.focus();case wn:const{language:Ss,content:vr}=fa;return vn.replaceSelection(["```"+Ss,vr,"```"].join(` `)),vn.focus();case"maths-latex":for(var ya=atob(fa),No=new Uint8Array(ya.length),Vo=0;Vo{Hi.id?vn.replaceSelection(`![,](/api/attachments/${Hi.id}?type=${Hi.content_type})`):(Hi==null?void 0:Hi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":vn.replaceSelection("`$$"+fa+"$$`");break;case gn:if(!Ji)return;vn.focus(),vn.getValue().indexOf(Ia)===-1?vn.replaceSelection(`
${va||
`):document.getElementById(Ji).src=se.Z.API_SERVER+Ia+"?t="+Date.now();try{setTimeout(()=>{Ur(vn.getValue())},100)}catch(Hi){}break;case jt:case Zt:const On=la,Dn=(In=(Ln=(ia=On==null?void 0:On.name)==null?void 0:ia.split("."))==null?void 0:Ln.pop)==null?void 0:In.call(Ln);return((Er=On==null?void 0:On.type)==null?void 0:Er.indexOf("image"))>-1||!(On!=null&&On.type)?On!=null&&On.align||On!=null&&On.width?vn.replaceSelection(`

${va||

`):vn.replaceSelection(`${va||`):((vi=On==null?void 0:On.type)==null?void 0:vi.indexOf("video"))>-1?vn.replaceSelection(``):((ha=On==null?void 0:On.type)==null?void 0:ha.indexOf("pdf"))>-1?vn.replaceSelection(`${On.name}`):ua.includes(Dn)?vn.replaceSelection(`${On.name}`):vn.replaceSelection(`[${On.name}](${Ia})`),vn.focus();case Xn:const{row:wr,col:ni,align:li}=fa;let Or=` `;for(let Hi=0;Hi{switch(bi){case tn:return he.createElement(Xt,{callback:Oo,onCancel:Sa});case wn:return he.createElement(Vt.Z,{callback:Oo,onCancel:Sa});case jt:return he.createElement(xt.Z,{callback:Oo,onCancel:Sa});case pt:return he.createElement(ae,{editImgId:Ha.current,callback:Oo,onCancel:Sa});case Xn:return he.createElement(lt,{callback:Oo,onCancel:Sa});case"maths-latex":return he.createElement(Sn,{showSaveButton:!0,callback:Oo});case"inline-latex":return he.createElement(St.Z,{showSaveButton:!0,callback:Oo});default:return null}},[bi]);function Sa(){Ti("")}(0,he.useEffect)(()=>{if(Ii.current){let fa=function(vi){In=!0,Er=vi.pageY},la=function(){In=!1},ia=function(vi){if(In){let ha=vi.pageY-Er;ha<0&&(ha=0),ha>300&&(ha=300);let Ia=qr+ha+"px";Ua(Ia)}},Ln=Ii.current,In=!1,Er=0;return Ln.addEventListener("mousedown",fa),document.addEventListener("mousemove",ia),document.addEventListener("mouseup",la),()=>{Ln.removeEventListener("mousedown",fa),document.removeEventListener("mousemove",ia),document.removeEventListener("mouseup",la)}}},[vn,Ii]),(0,he.useEffect)(()=>{Ua(qr)},[qr]);const ga=Wr(Si),Co=Wr($a),Fo={width:ga,height:Co},Es=(0,he.useMemo)(()=>{if(Pa){let fa=new Date(Pa),la=fa.getHours(),ia=fa.getMinutes(),Ln=fa.getSeconds();return la=la<10?"0"+la:la,ia=ia<10?"0"+ia:ia,Ln=Ln<10?"0"+Ln:Ln,`${la}:${ia}:${Ln}`}return 0},[Pa]),Js=fa=>{const la=[];if(nr){let ia=-1;fa=fa.replace(/(@▁▁@|@▁@)/g,function(Ln,In,Er){la.push({multiLine:Ln!==mi})})}return la};function Os(){window.sessionStorage.removeItem(Kt),ho(!1),Ka(0)}function ps(){ho(!1),Ka(0),vn.setValue(window.sessionStorage.getItem(Kt))}(0,he.useEffect)(()=>{wo[bi]&&bi!==Zt&&bi!==pt&&setTimeout(()=>{const fa=document.getElementsByClassName("markdown-popup-form")[0],la=window.innerWidth/2-fa.offsetWidth/2,ia=window.innerHeight/2-fa.offsetHeight/2;no(la),xo(ia)},0)},[bi]);const as=fa=>{fa.preventDefault();const la=fa.clientX-za,ia=fa.clientY-La;document.body.onmousemove=Ln=>{let In=Ln.clientX-la,Er=Ln.clientY-ia;const vi=document.getElementsByClassName("markdown-popup-form")[0],ha=window.innerWidth-vi.offsetWidth,Ia=window.innerHeight-vi.offsetHeight;In=Math.max(0,Math.min(In,ha)),Er=Math.max(0,Math.min(Er,Ia)),ol(Ln.clientX,Ln.clientY,la,ia)&&(no(In),xo(Er))},document.body.onmouseup=function(){document.body.onmousemove=null}},ol=(fa,la,ia,Ln)=>{const In=document.body.clientHeight,Er=document.body.clientWidth;return fa<20&&ia>fa||fa>Er-20&&iala||la>In-20&&Ln{var la;Ha.current=fa,(la=Oa.current)==null||la.setHeight("100vh"),setTimeout(()=>{Ti("add-flowchart")},150)}})):null))),on?he.createElement("a",{ref:Ii,className:"editor-resize"}):null,bi===Zt&&he.createElement(Gn,{callback:Oo,onCancel:Sa}),bi===pt&&he.createElement(ae,{ref:Oa,editImgId:Ha.current,callback:Oo,onCancel:Sa}),he.createElement(ht.Z,null,wo[bi]&&bi!==Zt&&bi!==pt?he.createElement(Qt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:za,top:La},title:he.createElement("div",{style:{cursor:"move"},onMouseDown:as},wo[bi]),open:!0,onCancel:Sa,footer:null,destroyOnClose:!0,width:bi===pt?"1200px":null,height:bi===pt?"80vh":null,className:"markdown-popup-form"},Ks):null))}},58448:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return et},I:function(){return ht}});var he=de(78241),Me=de(8591),He=de(92832),ft=de(81327),Oe=de(5871),Le=de(5112),ve=de(3113),Ae=de(79090),xe=de(59301),fe=de(7544),Ke=de(59301),Be=Object.defineProperty,_e=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Te=(dt,Ct,Xe)=>Ct in dt?Be(dt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):dt[Ct]=Xe,Ye=(dt,Ct)=>{for(var Xe in Ct||(Ct={}))ke.call(Ct,Xe)&&Te(dt,Xe,Ct[Xe]);if(Qe)for(var Xe of Qe(Ct))Pe.call(Ct,Xe)&&Te(dt,Xe,Ct[Xe]);return dt},ze=(dt,Ct)=>_e(dt,Ne(Ct));const{useForm:qe}=he.default,We={width:280,marginRight:10},Ze={labelCol:{span:5},wrapperCol:{span:19}};var et=({callback:dt,onCancel:Ct})=>{const[Xe]=qe();let Lt=(0,xe.useRef)();function Re(bt){Lt.current.width=Xe.getFieldValue("width"),Lt.current.align=Xe.getFieldValue("align"),dt(bt,Lt.current)}function Ht(bt,Tt){if(bt.status===-1){Me.ZP.error(bt.message);return}Xe.setFieldsValue({src:`/api/attachments/${bt.id}`,type:Tt.type})}function Et(bt){let Tt=bt.target.files[0];Lt.current=Tt,ht(Tt,Ht)}return Ke.createElement(he.default,ze(Ye({form:Xe},Ze),{className:"upload-image-panel",onFinish:Re,style:{width:470,overflow:"hidden"}}),Ke.createElement(he.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ke.createElement("div",{className:"flex-container"},Ke.createElement(he.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ke.createElement(He.default,{style:We})),Ke.createElement(rt,{onFileChange:Et}))),Ke.createElement(he.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ke.createElement(He.default,{style:{width:264}})),Ke.createElement(he.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ke.createElement(ft.Z,null,Ke.createElement(he.default.Item,{name:"width",style:{margin:0}},Ke.createElement(Oe.Z,{style:{width:264}})),Ke.createElement("span",{className:"ml8"},"%"))),Ke.createElement(he.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ke.createElement(Le.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"}]})),Ke.createElement("aside",null,Ke.createElement(he.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ke.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ke.createElement(ve.ZP,{type:"default",onClick:Ct},"\u53D6\u6D88"))))};function rt({onFileChange:dt}){return Ke.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ke.createElement("input",{type:"file",onChange:dt}))}function ht(dt,Ct){if(!dt)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,fe.bg)())throw Me.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Xe=new FormData;Xe.append("editormd-image-file",dt),Xe.append("file_param_name","editormd-image-file"),Xe.append("byxhr","true");var Lt=new window.XMLHttpRequest;Lt.withCredentials=!0,Lt.addEventListener("load",function(Re){Ct(JSON.parse(Re.target.responseText),dt)},!1),Lt.addEventListener("error",function(Re){console.error(Re)},!1),Lt.open("POST",`${Ae.KI}/api/attachments.json`),Lt.send(Xe)}},53531:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return He}});var he=de(59301),Me=de(4676);class He extends he.Component{constructor(Oe){super(Oe);const Le=window.document;this.node=Le.createElement("div"),Le.body.appendChild(this.node)}render(){const{children:Oe}=this.props;return(0,Me.createPortal)(Oe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},26073:function(Qn,Yt,de){"use strict";de.d(Yt,{i:function(){return Ze},Z:function(){return rt}});var he={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",wrapisCurrent:"wrapisCurrent___qIfQT"},Me=de(71418),He=de(6848),ft=de(93948),Oe=de(92310),Le=de.n(Oe),ve=de(25544),Ae=de(18540),xe=de(7544),fe=de(79005),Ke=de(20345),Be=de(77882),_e=de(31081),Ne=de(75309),Qe=de(71979),ke=de(47558),Pe=de(42922),Te=de(66832),Ye=de(96593),ze=de(19664),qe=de(91833),We=de(59301);const Ze=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:fe,swimg:Ke},{name:"101\u8BA1\u5212",ptimg:Be,swimg:_e},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ne,swimg:Qe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ke,swimg:Pe},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Te,swimg:Ye},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ze,swimg:qe}];var rt=({className:ht,dataSource:dt=[],col:Ct=4,right:Xe,bottom:Lt=23,precision:Re=0,wrapWidth:Ht=1200,trackEventItems:Et,loading:bt,onRemove:Tt=()=>{},isCurrent:wt=!0,showAlias:it=!1,showProgress:Ue=!1})=>{const at=Math.floor((Ht-(Ct-1)*Xe)/Ct),Xt=[{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 We.createElement(Me.Z,{spinning:bt},We.createElement("div",{className:Le()(he.list,ht)},!!(dt!=null&&dt.length)&&(dt==null?void 0:dt.map((Vt,xt)=>{var Qt,An,Tn,dn,Gn,Cn;const{name:mn,id:Bn,identifier:Se,featured:Fe,school_name:ie,image_url:ae,excellent:se,is_plan:oe}=Vt;return We.createElement("div",{key:Bn,className:wt&&Ue?he.wrapisCurrent:he.wrap,style:{width:at,marginRight:(1+xt)%Ct===0?0:Xe+Re,marginBottom:Lt}},We.createElement("a",{className:he.li,onClick:Je=>{Je.preventDefault(),Je.stopPropagation(),Et&&(0,ve.L9)([Et]),(0,ve.xg)(`/paths/${Se}`)}},We.createElement("div",{className:he.img},We.createElement("img",{className:he.cover,src:`${ae}`}),wt&&(0,xe.bg)()&&(Vt==null?void 0:Vt.studying)&&We.createElement("div",{className:`${he.movebq} user-path-items`,onClick:Je=>{Je.stopPropagation(),Tt(Vt)}},We.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),We.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Qt=Vt==null?void 0:Vt.subject_tags)==null?void 0:Qt.map((Je,vt)=>{var $e,lt;if(vt===0){const _t=($e=Xt.find(kt=>kt.name==Je))==null?void 0:$e.swimg;return We.createElement("img",{className:he.sign,src:_t,style:{left:"-4px"}})}const Pt=(lt=Xt.find(_t=>_t.name==Je))==null?void 0:lt.ptimg;return We.createElement("img",{className:he.sign,src:Pt,style:{left:`${48+52*(vt-1)+2*vt}px`}})}),We.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Vt==null?void 0:Vt.excellent)&&We.createElement("div",{className:he.bq},"\u5F00\u653E\u8BFE\u7A0B"))),We.createElement("div",{className:he.name},We.createElement(He.Z,{title:it&&(Vt!=null&&Vt.excellent_alias_name)?We.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${mn}`,We.createElement("br",null),We.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Vt==null?void 0:Vt.excellent_alias_name}`)):mn},We.createElement("span",{className:he.e},it&&(Vt==null?void 0:Vt.excellent_alias_name)||mn))),wt&&Ue&&((An=Vt==null?void 0:Vt.progress)==null?void 0:An.all_score)!=0&&We.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},We.createElement(ft.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Tn=Vt==null?void 0:Vt.progress)==null?void 0:Tn.my_score)/((dn=Vt==null?void 0:Vt.progress)==null?void 0:dn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Gn=Vt==null?void 0:Vt.progress)==null?void 0:Gn.my_score,"/",(Cn=Vt==null?void 0:Vt.progress)==null?void 0:Cn.all_score),(!wt||!Ue)&&We.createElement("div",{className:he.tags},We.createElement("div",null,We.createElement(He.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),We.createElement("span",null,Vt.stages_count))),We.createElement(He.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},We.createElement("span",null,We.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),We.createElement("span",null,Vt.members_count)))))))})),!dt.length&&We.createElement(Ae.Z,null)))}},23579:function(Qn,Yt,de){"use strict";de.d(Yt,{jL:function(){return Oe},w9:function(){return wo},vv:function(){return Dt},dN:function(){return Si},QD:function(){return no},cQ:function(){return vt.Z},vg:function(){return ua},Oz:function(){return fr},op:function(){return Fa},O5:function(){return Js},_b:function(){return Ci},t7:function(){return Lt},tT:function(){return Et},Gi:function(){return er},YG:function(){return on},Ed:function(){return Ur},kT:function(){return nr},qp:function(){return Pe},Um:function(){return Ze},K3:function(){return ze},vr:function(){return os},qE:function(){return ta},Je:function(){return wt},wb:function(){return Cn},rC:function(){return Je},lB:function(){return Se},cq:function(){return Ca},kO:function(){return gr},tp:function(){return ht},Si:function(){return as},k8:function(){return Ss},Du:function(){return vi}});var he=de(59301),Me={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"},He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuh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83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Oe=({dataSource:vr=[],img:On,imgWidth:Dn=346,title:wr,sunTitle:ni,bannerExtraContent:li})=>he.createElement("div",{className:Me.banner},he.createElement("div",{className:Me.content},he.createElement("aside",null,he.createElement("p",null,he.createElement("b",null,wr),he.createElement("span",null,ni)),vr.length>0&&he.createElement("div",{className:Me.btns},vr.map((Or,Hi)=>he.createElement("div",{key:Hi,onClick:Or.click},Or.name,Or.sign?he.createElement("img",{src:He,width:39}):null))),li),On&&he.createElement("img",{style:{marginTop:33,marginRight:38},src:On,width:Dn}))),Le={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"},ve=de(92310),Ae=de.n(ve),xe=de(78267),fe=Object.defineProperty,Ke=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ne=(vr,On,Dn)=>On in vr?fe(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Qe=(vr,On)=>{for(var Dn in On||(On={}))Be.call(On,Dn)&&Ne(vr,Dn,On[Dn]);if(Ke)for(var Dn of Ke(On))_e.call(On,Dn)&&Ne(vr,Dn,On[Dn]);return vr},Pe=({dataSource:vr=[],value:On,onChange:Dn,onTitleChange:wr,className:ni,title:li,titleWidth:Or=41,style:Hi={},fontColor:ca="#6A7283",showCount:uo,classNameActive:Wa,styleItem:Ki={}})=>{const[Na,so]=(0,he.useState)(0),[rr,Kn]=(0,he.useState)(!1),Ja=(0,he.useRef)(null),pa=(0,he.useRef)(null);return(0,he.useEffect)(()=>{var ka;vr.length!==0&&(((ka=Ja==null?void 0:Ja.current)==null?void 0:ka.clientHeight)>97?so(1):so(0)),vr.length===0&&so(0),Kn(!1)},[vr]),he.createElement("div",{className:Ae()(Le.row,ni),style:Hi},he.createElement("div",{onClick:(0,xe.throttle)(()=>wr==null?void 0:wr(),2e3),style:{width:Or,marginTop:rr?12:4},className:`${Le.title} ${wr?"current":""}`},li),he.createElement("div",{className:rr?`${Le.tagsWrap} ${Le.tagsBorderWrap}`:Le.tagsWrap},he.createElement("div",{className:Le.bar,ref:pa,style:Na>0?{height:Na===1?97:"auto",overflow:Na===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},he.createElement("div",{className:Le.tag,ref:Ja},vr==null?void 0:vr.map(ka=>he.createElement("span",{onClick:()=>Dn(ka.id),key:ka.id,style:Qe(Qe({color:ca},Ki),(ka==null?void 0:ka.style)||{}),className:On===ka.id?Ae()(Wa||Le.active,ka.classNameActive):""},he.createElement("span",{title:ka.name,className:Le.name},ka.name),!!uo&&he.createElement("span",{className:Le.num},ka.count))))),!!Na&&he.createElement(he.Fragment,null,Na===1?he.createElement("div",{onClick:()=>{var ka;so(2),((ka=Ja==null?void 0:Ja.current)==null?void 0:ka.clientHeight)>245?Kn(!0):Kn(!1)},className:Le.action},"\u5C55\u5F00",he.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):he.createElement("div",{onClick:()=>{pa.current.scrollTop=0,so(1),Kn(!1)},className:Le.action},"\u6536\u8D77",he.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Te={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},ze=({dataSource:vr=[],value:On,onChange:Dn,onTitleChange:wr,className:ni,title:li,titleWidth:Or=41,style:Hi={},fontColor:ca="#6A7283",showCount:uo,expand:Wa=!0})=>{const[Ki,Na]=(0,he.useState)(0),[so,rr]=(0,he.useState)(!1),Kn=(0,he.useRef)(null),Ja=(0,he.useRef)(null),[pa,ka]=(0,he.useState)(Wa);return he.createElement("div",{className:Ae()(Te.row,ni),style:Hi},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,xe.throttle)(()=>wr==null?void 0:wr(),2e3),style:{width:Or,marginTop:so?12:4},className:`${Te.title} ${wr?"current":""}`},li),he.createElement("i",{className:`iconfont ${pa?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:pa?8:10},onClick:()=>ka(!pa)})),pa&&he.createElement("div",{className:so?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},he.createElement("div",{className:Te.fenge}),he.createElement("div",{className:Te.bar,ref:Ja},he.createElement("div",{className:Te.tag,ref:Kn},vr==null?void 0:vr.map(ss=>he.createElement("span",{onClick:()=>Dn(ss.id),key:ss.id,style:{color:ca},className:On===ss.id?Te.active:""},he.createElement("span",{title:ss.name,className:Te.name},ss.name),!!uo&&he.createElement("span",{className:Te.num},ss.count)))))))},qe={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},Ze=({dataSource:vr=[],value:On,onChange:Dn,onTitleChange:wr,className:ni,title:li,titleWidth:Or=41,style:Hi={},fontColor:ca="#fff",showCount:uo,expand:Wa=!0})=>{const[Ki,Na]=(0,he.useState)(0),[so,rr]=(0,he.useState)(!1),Kn=(0,he.useRef)(null),Ja=(0,he.useRef)(null),[pa,ka]=(0,he.useState)(Wa);return he.createElement("div",{className:Ae()(qe.row,ni),style:Hi},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,xe.throttle)(()=>wr==null?void 0:wr(),2e3),style:{width:Or},className:`${qe.title} ${wr?"current":""}`},li),he.createElement("i",{className:`iconfont ${pa?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:pa?"#00DDC7":"#037F74",fontSize:pa?10:12},onClick:()=>ka(!pa)})),pa&&he.createElement("div",{className:so?`${qe.tagsWrap} ${qe.tagsBorderWrap}`:qe.tagsWrap},he.createElement("div",{className:qe.bar,ref:Ja},he.createElement("div",{className:qe.tag,ref:Kn},vr==null?void 0:vr.map(ss=>he.createElement("span",{onClick:()=>Dn(ss.id),key:ss.id,style:{color:ca},className:On===ss.id?qe.active:""},he.createElement("span",{title:ss.name,className:qe.name},ss.name),!!uo&&he.createElement("span",{className:qe.num},ss.count)))))))},et={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"},ht=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={}})=>he.createElement("div",{style:ni,className:Ae()(et.tabs,wr)},vr.map(li=>he.createElement("span",{onClick:()=>Dn(li.id),className:On===li.id?et.active:"",key:li.id},li.name))),dt={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"},Ct=de(92832),Lt=({dataSource:vr=[],value:On="",onChange:Dn,onInputChange:wr=()=>{},className:ni,style:li={},placeholder:Or,allowClear:Hi=!1})=>{var ca;const[uo,Wa]=(0,he.useState)(""),[Ki,Na]=(0,he.useState)("");(0,he.useEffect)(()=>{var Kn;let Ja=On;(Kn=JSON.stringify(On))!=null&&Kn.includes("{")&&(Wa(On.id),Ja=On.value||"");try{Na(decodeURIComponent(Ja||""))}catch(pa){Na(decodeURIComponent(Ja||""))}},[On]);const so=()=>{Dn(encodeURIComponent(Ki),uo||null)},rr=Kn=>{Kn!==uo&&(Wa(Kn),Dn(encodeURIComponent(Ki),Kn))};return he.createElement("div",{className:Ae()(dt.input,ni),style:li},!!vr.length&&he.createElement("div",{className:dt.dropdown},he.createElement("div",{className:dt.text},(ca=vr.find(Kn=>Kn.id===uo))==null?void 0:ca.name,he.createElement("i",{className:"iconfont icon-zhankai4"}),he.createElement("b",{className:dt.b1}),he.createElement("b",{className:dt.b2})),he.createElement("div",{className:dt.menu},vr.map((Kn,Ja)=>he.createElement("div",{key:Ja,onClick:()=>rr(Kn.id)},Kn.name)))),he.createElement(Ct.default,{onPressEnter:so,value:Ki,onChange:Kn=>{Na(Kn.target.value),wr(encodeURIComponent(Kn.target.value),uo||null)},bordered:!1,placeholder:Or}),he.createElement("i",{onClick:so,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Re={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Et=({dataSource:vr=[],value:On="",onChange:Dn,onInputChange:wr=()=>{},className:ni,style:li={},placeholder:Or,allowClear:Hi=!1})=>{var ca;const[uo,Wa]=(0,he.useState)(""),[Ki,Na]=(0,he.useState)("");(0,he.useEffect)(()=>{var Kn;let Ja=On;(Kn=JSON.stringify(On))!=null&&Kn.includes("{")&&(Wa(On.id),Ja=On.value||"");try{Na(decodeURIComponent(Ja||""))}catch(pa){Na(decodeURIComponent(Ja||""))}},[On]);const so=()=>{Dn(encodeURIComponent(Ki),uo||null)},rr=Kn=>{Kn!==uo&&(Wa(Kn),Dn(encodeURIComponent(Ki),Kn))};return he.createElement("div",{className:Ae()(Re.input,ni),style:li},!!vr.length&&he.createElement("div",{className:Re.dropdown},he.createElement("div",{className:Re.text},(ca=vr.find(Kn=>Kn.id===uo))==null?void 0:ca.name,he.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),he.createElement("div",{className:Re.menu},vr.map((Kn,Ja)=>he.createElement("div",{key:Ja,onClick:()=>rr(Kn.id)},Kn.name)))),he.createElement(Ct.default,{onPressEnter:so,value:Ki,onChange:Kn=>{Na(Kn.target.value),wr(encodeURIComponent(Kn.target.value),uo||null)},bordered:!1,placeholder:Or}),he.createElement("i",{onClick:so,className:"iconfont icon-sousuo9 font14 pl10 current"}))},bt={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"},wt=({value:vr,onChange:On,className:Dn,total:wr,pageSize:ni,style:li={}})=>{const Or=vr<2,Hi=vr>=Math.ceil(wr/ni);return wr<=ni?he.createElement(he.Fragment,null):he.createElement("div",{className:Ae()(bt.quickPager,Dn),style:li},he.createElement("div",{onClick:()=>{Or||On(vr-1,"prev")},className:Or?bt.disabled:""},"\u4E0A\u4E00\u9875"),he.createElement("div",{onClick:()=>{Hi||On(vr+1,"next")},className:Hi?bt.disabled:""},"\u4E0B\u4E00\u9875"))},it={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"},Ue=de(71418),at=de(6848),Xt=de(13570),Vt=de(6521),xt=de(25544),Qt=de(96908),An=de(57177),Tn=de(81378),dn=de(18540),Cn=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca})=>{const uo=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:ca},he.createElement("div",{className:Ae()(it.list,vr)},!!On.length&&On.map((Wa,Ki)=>{const{name:Na,id:so,identifier:rr,power:Kn,cover_image_id:Ja,pic:pa}=Wa;return he.createElement("div",{className:it.wrap,key:so,style:{width:uo,marginRight:(1+Ki)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/shixuns/${rr}/challenges`,className:it.li,onClick:ka=>{ka.preventDefault(),Hi&&(0,xt.L9)([Hi]),Kn&&(0,xt.xg)(`/shixuns/${rr}/challenges`)}},he.createElement("div",{className:it.img},he.createElement("img",{className:it.cover,src:`${pa}`}),Wa.is_jupyter&&he.createElement("img",{className:it.sign,src:Qt}),Wa.is_jupyter_lab&&he.createElement("img",{className:it.sign,src:An}),Wa.is_unity_3d&&he.createElement("img",{className:it.sign,src:Tn})),he.createElement("div",{className:it.name},he.createElement(at.Z,{title:Na||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:it.e},Na||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:it.tags},he.createElement(at.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,Wa.challenges_count))),!!Wa.myshixuns_count&&he.createElement(at.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,Wa.myshixuns_count))),he.createElement(at.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,Wa.level))),he.createElement("div",{className:it.rate},he.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:Wa.score_info}),he.createElement("span",null,"\xA0",Wa.score_info?`${Wa.score_info}\u5206`:"5\u5206")))),!Kn&&he.createElement("div",{className:it.lockWrap},he.createElement("img",{src:`${Vt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!On.length&&he.createElement(dn.Z,null)))},mn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Se=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,wrapClassName:Hi,trackEventItems:ca,loading:uo})=>{const Wa=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:uo},he.createElement("div",{className:Ae()(mn.list,vr)},!!On.length&&On.map((Ki,Na)=>{const{name:so,id:rr,identifier:Kn,power:Ja,cover_image_id:pa,pic:ka}=Ki;return he.createElement("div",{className:Ae()(mn.wrap,Hi),key:rr,style:{width:Wa,marginRight:(1+Na)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/shixuns/${Kn}/challenges`,className:mn.li,onClick:ss=>{ss.preventDefault(),ca&&(0,xt.L9)([ca]),Ja&&(0,xt.xg)(`/shixuns/${Kn}/challenges`)}},he.createElement("img",{src:de(47621),className:mn.titleBg}),he.createElement("div",{className:mn.name},he.createElement(at.Z,{title:so||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:mn.e},so||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:mn.img},he.createElement("img",{className:mn.cover,src:pa?`${Vt.Z.API_SERVER}/api/attachments/${pa}`:`${Vt.Z.IMG_SERVER+ka}`}),Ki.is_jupyter&&he.createElement("div",{className:mn.bq},"Jupyter"),Ki.is_jupyter_lab&&he.createElement("div",{className:mn.bq},"JupyterLab"),Ki.is_unity_3d&&he.createElement("div",{className:mn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),he.createElement("div",{className:"mt20 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:mn.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:mn.value},Ki.myshixuns_count)),he.createElement("div",null,he.createElement("span",{className:mn.text},"\u56F0\u96BE\u7B49\u7EA7"),he.createElement("span",{className:mn.value},Ki.level))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:mn.text},"\u5173\u5361\u6570"),he.createElement("span",{className:mn.value},Ki.challenges_count)),he.createElement("div",{className:mn.rate},he.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:Ki.score_info}),he.createElement("span",{className:mn.value,style:{color:"#FF9C00"}},"\xA0",Ki.score_info?`${Ki.score_info}\u5206`:"5\u5206"))))),!Ja&&he.createElement("div",{className:mn.lockWrap},he.createElement("img",{src:`${Vt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!On.length&&he.createElement(dn.Z,null)))},Fe={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV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OQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Je=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca,wrapClassName:uo,imgClassName:Wa})=>{const Ki=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:ca},he.createElement("div",{className:Ae()(Fe.list,vr)},!!On.length&&On.map((Na,so)=>{const{name:rr,id:Kn,identifier:Ja,power:pa,cover_image_id:ka,pic:ss}=Na;return he.createElement("div",{className:Ae()(Fe.wrap,uo),key:Kn,style:{width:Ki,marginRight:(1+so)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/shixuns/${Ja}/challenges`,className:Fe.li,onClick:qs=>{qs.preventDefault(),Hi&&(0,xt.L9)([Hi]),pa&&(0,xt.xg)(`/shixuns/${Ja}/challenges`)}},he.createElement("div",{className:Ae()(Fe.img,Wa)},he.createElement("img",{className:Fe.cover,src:ka?`${Vt.Z.API_SERVER}/api/attachments/${ka}`:`${Vt.Z.IMG_SERVER+ss}`}),Na.is_jupyter&&he.createElement("img",{className:Fe.sign,src:ie}),Na.is_jupyter_lab&&he.createElement("img",{className:Fe.sign,src:ae}),Na.is_unity_3d&&he.createElement("img",{className:Fe.sign,src:se})),he.createElement("div",{className:Fe.name},he.createElement(at.Z,{title:rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Fe.e},rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:Fe.tags},he.createElement(at.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,Na.challenges_count))),!!Na.myshixuns_count&&he.createElement(at.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,Na.myshixuns_count))),he.createElement(at.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,Na.level))),he.createElement("div",{className:Fe.rate},he.createElement(Xt.Z,{allowHalf:!0,disabled:!0,defaultValue:Na.score_info}),he.createElement("span",null,"\xA0",Na.score_info?`${Na.score_info}\u5206`:"5\u5206")))),!pa&&he.createElement("div",{className:Fe.lockWrap},he.createElement("img",{src:`${Vt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!On.length&&he.createElement(dn.Z,null)))},vt=de(26073),$e={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},lt=de(79005),Pt=de(20345),_t=de(77882),kt=de(31081),$t=de(75309),Sn=de(71979),St=de(47558),nn=de(42922),tn=de(66832),jt=de(96593),pt=de(19664),Zt=de(91833),gn=Object.defineProperty,wn=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,Dr=(vr,On,Dn)=>On in vr?gn(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Tr=(vr,On)=>{for(var Dn in On||(On={}))Xn.call(On,Dn)&&Dr(vr,Dn,On[Dn]);if(wn)for(var Dn of wn(On))yr.call(On,Dn)&&Dr(vr,Dn,On[Dn]);return vr};const Rr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:lt,swimg:Pt},{name:"101\u8BA1\u5212",ptimg:_t,swimg:kt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:St,swimg:nn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:tn,swimg:jt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:Zt}];var fr=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca,wrapClassName:uo,imgClassName:Wa,isArrow:Ki=!1,imgStyle:Na={}})=>{const so=Math.floor((Or-(Dn-1)*wr)/Dn),[rr,Kn]=(0,he.useState)(),[Ja,pa]=(0,he.useState)(),ka=qs=>Kn(qs),ss=()=>Kn(-1);return he.createElement(Ue.Z,{spinning:ca},he.createElement("div",{className:Ae()($e.list,vr)},!!(On!=null&&On.length)&&(On==null?void 0:On.map((qs,tl)=>{var eu;const{name:nu,id:Fu,identifier:wl,featured:Vl,school_name:Io,image_url:Xo,excellent:Pl,is_plan:Tl}=qs;return he.createElement("div",{key:Fu,className:Ae()($e.wrap,uo),style:{width:so,marginRight:(1+tl)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{target:"_blank",href:`/paths/${wl}`,className:$e.li,onClick:ml=>{ml.preventDefault(),Hi&&(0,xt.L9)([Hi]),(0,xt.xg)(`/paths/${wl}`)}},he.createElement("img",{src:de(39057),className:$e.titleBg}),he.createElement("div",{className:$e.name},he.createElement(at.Z,{title:nu},he.createElement("span",{className:$e.e,style:{color:Ki&&rr===tl?"#145DFF":"#000000"},onMouseEnter:()=>{ka(tl)},onMouseLeave:ss},nu))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Ae()($e.img,Wa)},he.createElement("img",{className:$e.cover,style:Tr({},Na),src:`${Vt.Z.IMG_SERVER+Xo}`}),(eu=qs==null?void 0:qs.subject_tags)==null?void 0:eu.map((ml,Wo)=>{var js,zu;if(Wo===0){const cl=(js=Rr.find(ys=>ys.name==ml))==null?void 0:js.swimg;return he.createElement("img",{className:$e.sign,src:cl,style:{left:"-4px"}})}const mc=(zu=Rr.find(cl=>cl.name==ml))==null?void 0:zu.ptimg;return he.createElement("img",{className:$e.sign,src:mc,style:{left:`${48+52*(Wo-1)+2*Wo}px`}})}),he.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(qs==null?void 0:qs.excellent)&&he.createElement("div",{className:$e.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:$e.text},"\u7AE0\u8282\u6570"),he.createElement("span",{className:$e.value},qs.stages_count)),he.createElement("div",null,he.createElement("span",{className:$e.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:$e.value},qs.members_count))))))})),!On.length&&he.createElement(dn.Z,null)))},Vr={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Bi=de(7544),yi=de(59301);const mi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:lt,swimg:Pt},{name:"101\u8BA1\u5212",ptimg:_t,swimg:kt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:$t,swimg:Sn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:St,swimg:nn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:tn,swimg:jt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:Zt}];var ua=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca,onRemove:uo=()=>{},isCurrent:Wa=!0,showAlias:Ki=!1,wrapClassName:Na,imgClassName:so})=>{const rr=Math.floor((Or-(Dn-1)*wr)/Dn),Kn=[{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(Ja=>(window.ENV==="build"&&(Ja.ptimg=`/react/build${Ja.ptimg}`,Ja.swimg=`/react/build${Ja.swimg}`),Ja));return yi.createElement(Ue.Z,{spinning:ca},yi.createElement("div",{className:Ae()(Vr.list,vr)},!!(On!=null&&On.length)&&(On==null?void 0:On.map((Ja,pa)=>{var ka;const{name:ss,id:qs,identifier:tl,featured:eu,school_name:nu,image_url:Fu,excellent:wl,is_plan:Vl}=Ja;return yi.createElement("div",{key:qs,className:Ae()(Vr.wrap,Na),style:{width:rr,marginRight:(1+pa)%Dn===0?0:wr+li,marginBottom:ni}},yi.createElement("a",{className:Vr.li,onClick:Io=>{Io.preventDefault(),Io.stopPropagation(),Hi&&(0,xt.L9)([Hi]),(0,xt.xg)(`/paths/${tl}`)}},yi.createElement("div",{className:Ae()(Vr.img,so)},yi.createElement("img",{className:Vr.cover,src:`${Vt.Z.IMG_SERVER+Fu}`}),Wa&&(0,Bi.bg)()&&(Ja==null?void 0:Ja.studying)&&yi.createElement("div",{className:`${Vr.movebq} user-path-items`,onClick:Io=>{Io.stopPropagation(),uo(Ja)}},yi.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),yi.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ka=Ja==null?void 0:Ja.subject_tags)==null?void 0:ka.map((Io,Xo)=>{var Pl,Tl;if(Xo===0){const Wo=(Pl=Kn.find(js=>js.name==Io))==null?void 0:Pl.swimg;return yi.createElement("img",{className:Vr.sign,src:Wo,style:{left:"-4px"}})}const ml=(Tl=Kn.find(Wo=>Wo.name==Io))==null?void 0:Tl.ptimg;return yi.createElement("img",{className:Vr.sign,src:ml,style:{left:`${48+52*(Xo-1)+2*Xo}px`}})}),yi.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Ja==null?void 0:Ja.excellent)&&yi.createElement("div",{className:Vr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),yi.createElement("div",{className:Vr.name},yi.createElement(at.Z,{title:Ki&&(Ja!=null&&Ja.excellent_alias_name)?yi.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ss}`,yi.createElement("br",null),yi.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ja==null?void 0:Ja.excellent_alias_name}`)):ss},yi.createElement("span",{className:Vr.e},Ki&&(Ja==null?void 0:Ja.excellent_alias_name)||ss))),yi.createElement("div",{className:Vr.tags},yi.createElement("div",null,yi.createElement(at.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},yi.createElement("span",null,yi.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),yi.createElement("span",null,Ja.stages_count))),yi.createElement(at.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},yi.createElement("span",null,yi.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),yi.createElement("span",null,Ja.members_count)))))))})),!On.length&&yi.createElement(dn.Z,null)))},Wr={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"},Mn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1V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UWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ea=de(59301),wo=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,trackEventItems:Hi,loading:ca})=>{const uo=Math.floor((Or-(Dn-1)*wr)/Dn);return ea.createElement(Ue.Z,{spinning:ca},ea.createElement("div",{className:Ae()(Wr.list,vr)},!!On.length&&On.map((Wa,Ki)=>{const{subject_identifier:Na,id:so,identifier:rr,power:Kn}=Wa,Ja=Wa.is_public!=0&&Wa.is_public;return ea.createElement("div",{className:Wr.wrap,key:so,style:{width:uo,marginRight:(1+Ki)%Dn===0?0:wr+li,marginBottom:ni}},ea.createElement("a",{className:Wr.li,onClick:pa=>{pa.preventDefault(),Hi&&(0,xt.L9)([Hi]),(0,xt.xg)(Wa.first_category_url)}},ea.createElement("div",{className:Wr.top},ea.createElement(at.Z,{title:Wa.name},ea.createElement("div",{className:Wr.name},Wa.name)),ea.createElement("img",{className:Wr.img,src:Vt.Z.IMG_SERVER+"/images/"+Wa.avatar_url}),ea.createElement("div",{className:Wr.text,title:Wa.creator},Wa.creator),Na&&ea.createElement("div",{className:Wr.btns},ea.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ea.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ja&&ea.createElement("div",{className:Wr.sign},"\u516C\u5F00")),ea.createElement("div",{className:Wr.bottom},Wa.visits>0&&ea.createElement(at.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ea.createElement("span",null,ea.createElement("i",{className:"iconfont icon-liulanyan"}),ea.createElement("span",null,Wa.visits))),Wa.course_members_count>0&&ea.createElement(at.Z,{title:"\u6210\u5458",placement:"bottom"},ea.createElement("span",null,ea.createElement("i",{className:"iconfont icon-chengyuan"}),Wa.course_members_count)),Wa.tasks_count>0&&ea.createElement(at.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ea.createElement("span",null,ea.createElement("i",{className:"iconfont icon-zuoye"}),Wa.tasks_count)),Wa.is_end?ea.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ea.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Wa.is_accessible&&ea.createElement("div",{className:Wr.lockWrap},ea.createElement("img",{src:`${Vt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ea.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!On.length&&ea.createElement(dn.Z,null)))},sa={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Pi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5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R+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Si=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,wrapClassName:Hi,trackEventItems:ca,loading:uo})=>{const Wa=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:uo},he.createElement("div",{className:Ae()(sa.list,vr)},!!On.length&&On.map((Ki,Na)=>{const{subject_identifier:so,id:rr,identifier:Kn,power:Ja}=Ki,pa=Ki.is_public!=0&&Ki.is_public;return he.createElement("div",{className:Ae()(`${sa.wrap} ${Ki.is_accessible?"":sa.warpStyle}`,Hi),key:rr,style:{width:Wa,marginRight:(1+Na)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{className:sa.li,onClick:ka=>{ka.preventDefault(),ca&&(0,xt.L9)([ca]),(0,xt.xg)(Ki.first_category_url)}},he.createElement("div",{className:sa.creator},he.createElement("img",{className:sa.img,src:Vt.Z.IMG_SERVER+"/images/"+Ki.avatar_url}),he.createElement("div",{className:sa.text,title:Ki.creator},Ki.creator)),he.createElement("div",{className:sa.top},he.createElement(at.Z,{title:Ki.name},he.createElement("div",{className:sa.name},Ki.name)),pa&&he.createElement("div",{className:sa.sign},"\u516C\u5F00")),he.createElement("div",{className:sa.middle},he.createElement("div",{className:sa.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:sa.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:sa.value},(Ki==null?void 0:Ki.visits)||0)),he.createElement("div",null,he.createElement("span",{className:sa.text},"\u6210\u5458"),he.createElement("span",{className:sa.value},(Ki==null?void 0:Ki.course_members_count)||0))),he.createElement("div",{className:sa.row},he.createElement("div",null,he.createElement("span",{className:sa.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:sa.value},(Ki==null?void 0:Ki.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:sa.text},"\u72B6\u6001"),Ki.is_end?he.createElement("span",{className:sa.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:sa.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),so&&he.createElement("div",{className:sa.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ki.is_accessible&&he.createElement("div",{className:sa.lockWrap},he.createElement("img",{src:`${Vt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!On.length&&he.createElement(dn.Z,null)))},qr={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Ma="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcm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7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Dt=({className:vr,dataSource:On=[],col:Dn=4,right:wr,bottom:ni=23,precision:li=0,wrapWidth:Or=1200,wrapClassName:Hi,trackEventItems:ca,loading:uo})=>{const Wa=Math.floor((Or-(Dn-1)*wr)/Dn);return he.createElement(Ue.Z,{spinning:uo},he.createElement("div",{className:Ae()(qr.list,vr)},!!On.length&&On.map((Ki,Na)=>{const{subject_identifier:so,id:rr,identifier:Kn,power:Ja}=Ki,pa=Ki.is_public!=0&&Ki.is_public;return he.createElement("div",{className:Ae()(`${qr.wrap} ${Ki.is_accessible?"":qr.warpStyle}`,Hi),key:rr,style:{width:Wa,marginRight:(1+Na)%Dn===0?0:wr+li,marginBottom:ni}},he.createElement("a",{className:qr.li,onClick:ka=>{ka.preventDefault(),ca&&(0,xt.L9)([ca]),(0,xt.xg)(Ki.first_category_url)}},he.createElement("div",{className:qr.creator},he.createElement("img",{className:qr.img,src:Vt.Z.IMG_SERVER+"/images/"+Ki.avatar_url}),he.createElement("div",{className:qr.text,title:Ki.creator},Ki.creator)),he.createElement("div",{className:qr.top},he.createElement(at.Z,{title:Ki.name},he.createElement("div",{className:qr.name},Ki.name)),pa&&he.createElement("div",{className:qr.sign})),he.createElement("div",{className:qr.middle},he.createElement("div",{className:qr.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:qr.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:qr.value},(Ki==null?void 0:Ki.visits)||0)),he.createElement("div",null,he.createElement("span",{className:qr.text},"\u6210\u5458"),he.createElement("span",{className:qr.value},(Ki==null?void 0:Ki.course_members_count)||0))),he.createElement("div",{className:qr.row},he.createElement("div",null,he.createElement("span",{className:qr.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:qr.value},(Ki==null?void 0:Ki.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:qr.text},"\u72B6\u6001"),Ki.is_end?he.createElement("span",{className:qr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:qr.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),so&&he.createElement("div",{className:qr.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ki.is_accessible&&he.createElement("div",{className:qr.lockWrap},he.createElement("img",{src:`${Vt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!On.length&&he.createElement(dn.Z,null)))},Gt={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"},Wt=de(91482),on=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={},tabBarExtraContent:li})=>he.createElement("div",{className:Ae()(Gt.tabs,wr),style:ni},he.createElement("div",{className:Gt.tabsWrap},vr.map((Or,Hi)=>he.createElement("aside",{className:Gt.tab,onClick:()=>{Dn(Or.id),Or.link&&Wt.history.push(Or.link)},key:Hi},he.createElement("div",{className:On===Or.id?Gt.active:""},Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&he.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&he.createElement(at.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",he.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),he.createElement("div",{className:Gt.tabBar},li)),_n={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},nr=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={},tabBarExtraContent:li})=>he.createElement("div",{className:Ae()(_n.tabs,wr),style:ni},he.createElement("div",{className:_n.tabsWrap},vr.map((Or,Hi)=>he.createElement("aside",{className:_n.tab,onClick:()=>{Dn(Or.id),Or.link&&Wt.history.push(Or.link)},key:Hi},he.createElement("div",{className:On===Or.id?_n.active:""},Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&he.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&he.createElement(at.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",he.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),he.createElement("div",{className:_n.tabBar},li)),dr={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Ur=({dataSource:vr=[],value:On,onChange:Dn,className:wr,style:ni={},tabBarExtraContent:li})=>he.createElement("div",{className:Ae()(dr.tabs,wr),style:ni},he.createElement("div",{className:dr.tabsWrap},vr.map((Or,Hi)=>he.createElement("aside",{className:`${dr.tab} ${On===Or.id?dr.active:""}`,onClick:()=>{Dn(Or.id),Or.link&&Wt.history.push(Or.link)},key:Hi},he.createElement("div",null,Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&he.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&he.createElement(at.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",he.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),he.createElement("div",{className:dr.tabBar},li)),er=({className:vr,style:On={},children:Dn})=>he.createElement("div",{className:Ae()(vr),style:On},Dn),kr={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"},_i=de(38854),gi=de(20834);const ji=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ca=({sortValue:vr,dropValue:On,className:Dn,onSort:wr,onDrop:ni,dataSource:li=ji})=>{var Or;return he.createElement("div",{className:Ae()(kr.orderWrap,Dn)},he.createElement(_i.Z,{dropdownRender:()=>he.createElement(gi.default,null,li.map((Hi,ca)=>he.createElement(gi.default.Item,{key:ca,onClick:()=>ni(Hi.id)},Hi.name)))},he.createElement("span",{className:kr.orderTextWrap},(Or=li.find(Hi=>On===Hi.id))==null?void 0:Or.name)),he.createElement("span",{className:kr.orderIconWrap},he.createElement("span",{className:kr.orderAsc},he.createElement("i",{className:vr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${kr.cursorPointer} ${kr.active}`:`iconfont icon-sanjiaoxing-up font12 ${kr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")})),he.createElement("span",{className:kr.orderDesc},he.createElement("i",{className:vr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${kr.cursorPointer} ${kr.active}`:`iconfont icon-sanjiaoxing-down font12 ${kr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")}))))},Jr={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const ra=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var gr=({sortValue:vr,dropValue:On,className:Dn,onSort:wr,onDrop:ni,dataSource:li=ra})=>{var Or;return he.createElement("div",{className:Ae()(Jr.orderWrap,Dn)},he.createElement(_i.Z,{dropdownRender:()=>he.createElement(gi.default,null,li.map((Hi,ca)=>he.createElement(gi.default.Item,{key:ca,onClick:()=>ni(Hi.id)},Hi.name)))},he.createElement("span",{className:Jr.orderTextWrap},(Or=li.find(Hi=>On===Hi.id))==null?void 0:Or.name)),he.createElement("span",{className:Jr.orderIconWrap},he.createElement("span",{className:Jr.orderAsc},he.createElement("i",{className:vr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Jr.cursorPointer} ${Jr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Jr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")})),he.createElement("span",{className:Jr.orderDesc},he.createElement("i",{className:vr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Jr.cursorPointer} ${Jr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Jr.cursorPointer}`,onClick:()=>wr(vr==="asc"?"desc":"asc")}))))},Ar={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",ThemeOne:"ThemeOne___iCQio"},jr=de(3113),br=de(29715),Ir=Object.defineProperty,Fr=Object.getOwnPropertySymbols,si=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,Ti=(vr,On,Dn)=>On in vr?Ir(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Pa=(vr,On)=>{for(var Dn in On||(On={}))si.call(On,Dn)&&Ti(vr,Dn,On[Dn]);if(Fr)for(var Dn of Fr(On))bi.call(On,Dn)&&Ti(vr,Dn,On[Dn]);return vr},Ka=(vr,On)=>{var Dn={};for(var wr in vr)si.call(vr,wr)&&On.indexOf(wr)<0&&(Dn[wr]=vr[wr]);if(vr!=null&&Fr)for(var wr of Fr(vr))On.indexOf(wr)<0&&bi.call(vr,wr)&&(Dn[wr]=vr[wr]);return Dn},$a=(vr,On,Dn)=>new Promise((wr,ni)=>{var li=ca=>{try{Hi(Dn.next(ca))}catch(uo){ni(uo)}},Or=ca=>{try{Hi(Dn.throw(ca))}catch(uo){ni(uo)}},Hi=ca=>ca.done?wr(ca.value):Promise.resolve(ca.value).then(li,Or);Hi((Dn=Dn.apply(vr,On)).next())}),Fa=vr=>{var On=vr,{className:Dn,style:wr,children:ni,loading:li=!1,openLoading:Or,onClick:Hi=()=>{},size:ca="middle",shape:uo="round",theme:Wa}=On,Ki=Ka(On,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Na,so]=(0,he.useState)(!1),rr=(0,he.useMemo)(()=>{switch(Wa){case br.Fy.THEMEONE:return Ar.ThemeOne;case br.Fy.DEFAULT:default:return Ar.btn}},[Wa]);return he.createElement(jr.ZP,Pa({onClick:(0,xe.throttle)(Kn=>$a(void 0,null,function*(){Or&&so(!0);try{yield Hi(Kn)}catch(Ja){console.log("error",Ja)}Or&&so(!1)}),2e3,{leading:!0,trailing:!1}),className:Ae()(rr,Ar[`${ca}-${uo}`],Dn),style:wr,size:ca,shape:uo,loading:Na||li},Ki),ni)},ho={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"},ta=({className:vr,style:On,children:Dn=null,onClick:wr,title:ni})=>he.createElement("div",{className:Ae()(ho.head,vr),style:On},he.createElement("span",{className:"primary-hover",onClick:wr},he.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),he.createElement("b",{title:ni},ni),he.createElement("div",{className:ho.node},Dn)),ui={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"},no=({confirmShow:vr=!0,confirmTitle:On,confirmClick:Dn,cancelShow:wr=!0,cancelTitle:ni,cancelClick:li,className:Or,style:Hi,confirmLoading:ca=!1})=>he.createElement("div",{className:Ae()(ui.btns,Or),style:Hi},vr&&he.createElement(jr.ZP,{loading:ca,onClick:Dn,type:"primary",className:ui.confirm},On),wr&&he.createElement(jr.ZP,{onClick:li,className:ui.cancel},ni)),La={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"},os=({className:vr,style:On={},LeftContent:Dn,children:wr,RightContent:ni})=>he.createElement("div",{className:Ae()(La.fixedBottom,vr),style:On},he.createElement("div",{className:La.wrap},he.createElement("div",{className:La.left},Dn),he.createElement("div",{className:La.center},wr),he.createElement("div",{className:La.right},ni))),Va={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"},Ci=({className:vr,style:On={},dataSource:Dn=[]})=>he.createElement("div",{className:Ae()(Va.crumbs,vr),style:On},Dn.map((wr,ni)=>niWt.history.push(wr.path)},wr.name):he.createElement("span",null,wr.name),he.createElement("span",null,"\xA0",">","\xA0")):he.createElement("span",{key:ni,style:{color:"#5F6368"}},wr.name))),Ha=de(31797),Oa=Object.defineProperty,eo=Object.defineProperties,Lo=Object.getOwnPropertyDescriptors,vo=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,Ks=(vr,On,Dn)=>On in vr?Oa(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,Sa=(vr,On)=>{for(var Dn in On||(On={}))jn.call(On,Dn)&&Ks(vr,Dn,On[Dn]);if(vo)for(var Dn of vo(On))Oo.call(On,Dn)&&Ks(vr,Dn,On[Dn]);return vr},ga=(vr,On)=>eo(vr,Lo(On)),Co=(vr,On)=>{var Dn={};for(var wr in vr)jn.call(vr,wr)&&On.indexOf(wr)<0&&(Dn[wr]=vr[wr]);if(vr!=null&&vo)for(var wr of vo(vr))On.indexOf(wr)<0&&Oo.call(vr,wr)&&(Dn[wr]=vr[wr]);return Dn};const{Countdown:Fo}=Ha.default;var Js=vr=>{var On=vr,{onChange:Dn}=On,wr=Co(On,["onChange"]);const[ni,li]=(0,he.useState)(null);(0,he.useEffect)(()=>{typeof ni=="number"&&ni>=0&&Dn(ni)},[ni]);const Or=Hi=>{const ca=Math.floor(Hi/1e3);li(ca)};return he.createElement(Fo,ga(Sa({},wr),{onChange:Or}))},Os={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},as=({DataProps:vr,className:On,style:Dn={}})=>{var wr;return he.createElement("div",{className:Ae()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Os.ClassRoomItem,On),style:Dn,onClick:()=>{(0,xt.xg)(vr==null?void 0:vr.first_category_url)}},he.createElement("div",{className:"flex flex-col item-center"},he.createElement("img",{src:`${(wr=Vt.Z)==null?void 0:wr.IMG_SERVER}/images/${vr==null?void 0:vr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(vr==null?void 0:vr.subject_identifier)&&he.createElement("div",{className:"mt-40px"},he.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),he.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},he.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(vr!=null&&vr.is_public)&&he.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),he.createElement("span",{className:Ae()("text-16px font-medium",Os.TitleDom)},vr==null?void 0:vr.name)),he.createElement("div",{className:"c-grey-333 font-medium"},vr==null?void 0:vr.creator),he.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",vr==null?void 0:vr.course_members_count),he.createElement("div",{className:"c-grey-333 flex item-center justify-between"},he.createElement("div",null,"\u4F5C\u4E1A\uFF1A",vr==null?void 0:vr.tasks_count),vr!=null&&vr.is_end?he.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):he.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ol=Object.defineProperty,fa=Object.getOwnPropertySymbols,la=Object.prototype.hasOwnProperty,ia=Object.prototype.propertyIsEnumerable,Ln=(vr,On,Dn)=>On in vr?ol(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,In=(vr,On)=>{for(var Dn in On||(On={}))la.call(On,Dn)&&Ln(vr,Dn,On[Dn]);if(fa)for(var Dn of fa(On))ia.call(On,Dn)&&Ln(vr,Dn,On[Dn]);return vr},vi=({DataProps:vr=[],selectValue:On,onChange:Dn,className:wr,style:ni={},extra:li,classNameItem:Or,styleItem:Hi={},barHidden:ca})=>{const[uo,Wa]=(0,he.useState)();return(0,he.useEffect)(()=>{Wa(Array.isArray(On)?On:[On])},[On]),he.createElement("div",{className:Ae()("flex px-20px py-10px gap-40px",wr),style:In({borderBottom:"1px solid #D3F0FF"},ni)},vr==null?void 0:vr.map(Ki=>he.createElement("div",{key:Ki==null?void 0:Ki.id,className:Ae()("flex item-center justify-center current c-grey-333 text-16 relative",Or,Ki==null?void 0:Ki.className),style:In(In({color:uo!=null&&uo.includes(Ki==null?void 0:Ki.id)?"#1890FF":"",minWidth:88},Hi),(Ki==null?void 0:Ki.style)||{}),onClick:Na=>{Dn==null||Dn({domEvent:Na,item:Ki}),Ki!=null&&Ki.link&&Wt.history.push(Ki==null?void 0:Ki.link)}},Ki==null?void 0:Ki.name,!ca&&(uo==null?void 0:uo.includes(Ki==null?void 0:Ki.id))&&he.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),he.createElement("div",{className:"ml-auto"},li))},ha=Object.defineProperty,Ia=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Ji=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable,Vo=(vr,On,Dn)=>On in vr?ha(vr,On,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):vr[On]=Dn,cs=(vr,On)=>{for(var Dn in On||(On={}))ya.call(On,Dn)&&Vo(vr,Dn,On[Dn]);if(Ji)for(var Dn of Ji(On))No.call(On,Dn)&&Vo(vr,Dn,On[Dn]);return vr},Mo=(vr,On)=>Ia(vr,va(On)),Ss=({value:vr,onChange:On,onInputChange:Dn,className:wr,style:ni={},InputProps:li})=>{const[Or,Hi]=(0,he.useState)(vr);return he.createElement("div",{className:Ae()("flex item-center rounded-full px-10px py-2px",wr),style:cs({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ni)},he.createElement(Ct.default,Mo(cs({bordered:!1},li),{onChange:ca=>{Hi(ca.target.value),Dn==null||Dn(encodeURIComponent(ca.target.value))},onPressEnter:ca=>{On==null||On({domEvent:ca,item:{value:Or}})}})),he.createElement("img",{className:"h-22px current",src:de(25365),height:22,onClick:ca=>{On==null||On({domEvent:ca,item:{value:Or}})}}))}},57649:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});var he=de(59301);function Me(He,ft){const Oe=(0,he.useRef)();(0,he.useEffect)(()=>{Oe.current=He}),(0,he.useEffect)(()=>{function Le(){Oe.current()}if(ft!==null){let ve=setInterval(Le,ft);return()=>clearInterval(ve)}},[ft])}},50436:function(Qn,Yt,de){"use strict";var he=de(43418),Me=de(8591),He=de(79769),ft=de(91482),Oe=de(7544),Le=de(59301),ve=(xe,fe,Ke)=>new Promise((Be,_e)=>{var Ne=Pe=>{try{ke(Ke.next(Pe))}catch(Te){_e(Te)}},Qe=Pe=>{try{ke(Ke.throw(Pe))}catch(Te){_e(Te)}},ke=Pe=>Pe.done?Be(Pe.value):Promise.resolve(Pe.value).then(Ne,Qe);ke((Ke=Ke.apply(xe,fe)).next())});const Ae=({shixunHomeworks:xe,classroomList:fe,dispatch:Ke})=>{const Be=(0,ft.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Ne,Qe,ke;if((0,Oe.Rm)()&&!((_e=fe.AssistantObject.practice)!=null&&_e.can_redo)){Me.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Pe=yield(0,He.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(Pe.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ke({type:"shixunHomeworks/setActionTabs",payload:{}});const Te=(Qe=(Ne=Pe==null?void 0:Pe.new_works)==null?void 0:Ne.find(Ye=>`${Ye.homework_common_id}`===Be.categoryId))==null?void 0:Qe.id;if((0,Oe.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;ft.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Te}/comment`)}}),onCancel:()=>{Ke({type:"shixunHomeworks/setActionTabs",payload:{}})}},Le.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Le.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Yt.Z=(0,ft.connect)(({shixunHomeworks:xe,classroomList:fe})=>({shixunHomeworks:xe,classroomList:fe}))(Ae)},87971:function(Qn,Yt,de){"use strict";de.r(Yt),de.d(Yt,{default:function(){return ia}});var he=de(29715),Me=de(59301),He=de(91482),ft=de(66649),Oe=de.n(ft),Le=de(86129),ve=de.n(Le),Ae=de(79769),xe=de(43418),fe=de(8591),Ke=de(61621),Be=de(66104),_e=de(3113),Ne=de(6848),Qe=de(92832),ke=de(28103),Pe=de(95237),Te=de(43604),Ye=de(1710),ze=de(57809),qe=de(58421),We=de(95869),Ze=de(87169),et=de(26227),rt=de(6521),ht=de(7544),dt=de(25544),Ct=de(42441),Xe={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},Lt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Re=({shixunHomeworks:Ln,data:In,globalSetting:Er,loading:vi,dispatch:ha})=>{var Ia;const{shixunWorkReport:va}=Ln;let Ji=((Ia=In==null?void 0:In.efficiency_list)==null?void 0:Ia.length)-parseInt(In==null?void 0:In.myself_eff[0]);const ya=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Vo){return Vo.name===va.username?"\u59D3\u540D\uFF1A"+va.username+"
\u5B66\u53F7\uFF1A "+va.user_id+"
\u6548\u7387\uFF1A"+(In==null?void 0:In.myself_eff[1]):Vo.name+":"+Vo.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:In==null?void 0:In.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:va.username,xAxis:Ji,yAxis:In==null?void 0:In.myself_eff[1],value:In==null?void 0:In.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),No=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Vo){var cs=Vo.value;if(Vo.name===va.username)return"\u59D3\u540D\uFF1A"+va.username+"
\u5B66\u53F7\uFF1A "+va.user_id+"
\u5F97\u5206\uFF1A"+(In==null?void 0:In.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Lt,data:In==null?void 0:In.consume_list,symbolSize:function(Vo){return Math.round(Vo[2])},markPoint:{data:[{name:va.username,xAxis:In==null?void 0:In.myself_object[0],yAxis:In==null?void 0:In.myself_object[1],value:In==null?void 0:In.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:ya()})),Me.createElement(Te.Z,{flex:"1"},Me.createElement("aside",{className:Xe.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_eff[0]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Me.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Me.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:No()})),Me.createElement(Te.Z,{flex:"1"},Me.createElement("aside",{className:Xe.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_object[1]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Me.createElement("br",null)))))))};var Ht=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects}))(Re),Et=de(11488),bt=de(5871),Tt=({defaultValue:Ln,onBlur:In,max:Er,className:vi="game-score"})=>{const[ha,Ia]=(0,Me.useState)(Ln);(0,Me.useEffect)(()=>{Ia(Ln)},[Ln]);function va(ya){Ia(ya)}function Ji(){ha!==Ln&&In(ha>Er?Er:ha)}return Me.createElement(bt.Z,{max:Er,min:0,className:vi,value:ha,onChange:va,onBlur:Ji})},wt=de(40973),it={md:"md___GIQyK"},Ue=de(59301),at=Object.defineProperty,Xt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,Tn=(Ln,In,Er)=>In in Ln?at(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,dn=(Ln,In)=>{for(var Er in In||(In={}))Qt.call(In,Er)&&Tn(Ln,Er,In[Er]);if(xt)for(var Er of xt(In))An.call(In,Er)&&Tn(Ln,Er,In[Er]);return Ln},Gn=(Ln,In)=>Xt(Ln,Vt(In));const Cn=ze.default.Option,mn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Bn=(Ln=>(Ln[Ln.SET_PATH=0]="SET_PATH",Ln[Ln.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ln))(Bn||{});function Se(Ln,In){switch(In.type){case 0:return Gn(dn({},Ln),{selectedPath:In.payload});case 1:return Gn(dn({},Ln),{passedContent:In.payload});default:throw new Error}}var Fe=({path:Ln,game_id:In,onPathChange:Er,autoHeight:vi,diff_code_count:ha,data:Ia,game_codes_cn:va})=>{var Ji,ya,No,Vo;const cs=Ln.split("\uFF1B").filter(wr=>!!wr),[Mo,ul]=(0,Me.useReducer)(Se,{selectedPath:cs[0],passedContent:{language:"python",content:""}}),{selectedPath:Ss,passedContent:vr}=Mo;function On(wr){ul({type:0,payload:wr})}const Dn={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Ue.createElement(Ue.Fragment,null,Ue.createElement("h2",null," ",Ue.createElement("span",null,va,Ue.createElement(Ne.Z,{title:Ue.createElement("div",null,Ue.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ue.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ue.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Ue.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ue.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ha&&Ue.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ha),Ue.createElement("span",null,Ue.createElement(ze.default,{style:{width:200},value:Ss,onChange:On}," ",cs.map(wr=>Ue.createElement(Cn,{key:wr,value:wr},wr))," "))," "),(Ss==null?void 0:Ss.split(".")[1])==="md"&&Ue.createElement(wt.Z,{height:300,autoHeight:vi,defaultValue:((ya=(Ji=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:Ji[0])==null?void 0:ya.content)||"",className:it.md}),(Ss==null?void 0:Ss.split(".")[1])!=="md"&&Ue.createElement(Et.ZP,{height:300,language:vr.language,value:((Vo=(No=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:No[0])==null?void 0:Vo.content)||"",autoHeight:vi,theme:"default",isCopy:!0,options:mn}))},ie=de(20996),ae=de(96249),se=de.n(ae),oe=Object.defineProperty,Je=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,lt=(Ln,In,Er)=>In in Ln?oe(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Pt=(Ln,In)=>{for(var Er in In||(In={}))vt.call(In,Er)&<(Ln,Er,In[Er]);if(Je)for(var Er of Je(In))$e.call(In,Er)&<(Ln,Er,In[Er]);return Ln},_t=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const kt=({shixunHomeworks:Ln,autoHeight:In,classroomList:Er,dispatch:vi})=>{var ha,Ia,va,Ji,ya,No,Vo;const{shixunWorkReport:cs}=Ln,{stage_list:Mo,work_id:ul}=cs,[Ss,vr]=(0,Me.useState)(!1),[On,Dn]=(0,Me.useState)(!0),[wr,ni]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),li=(0,Me.useRef)(null),[Or,Hi]=(0,Me.useState)(!1),ca=(pa,ka)=>{var ss;const{clientWidth:qs,clientHeight:tl}=window.document.documentElement,eu=(ss=li.current)==null?void 0:ss.getBoundingClientRect();eu&&ni({left:-eu.left+ka.x,right:qs-(eu.right-ka.x),top:-eu.top+ka.y,bottom:tl-(eu.bottom-ka.y)})},uo=(0,He.useParams)(),Wa=(0,ht.GJ)(),Ki={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(uo)},[]);const Na=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(pa,ka,ss)=>Me.createElement("div",null,pa,ka.is_work_end_evaluate&&Me.createElement(dt.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:pa=>Oe()(pa).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(pa,ka)=>Me.createElement("span",{className:"c-blue current",onClick:()=>_t(void 0,null,function*(){var ss,qs;const tl=yield(0,ie.Lk)(ka.game_identifier,{path:(qs=(ss=ka.path)==null?void 0:ss.replace(/\;/g,";"))==null?void 0:qs.split(";")[0],query_index:ka.query_index,homework_common_id:uo.categoryId});(tl==null?void 0:tl.status)===0&&(Hi(tl),vr(!0))})},ka.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],so=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(pa,ka)=>{var ss;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((ss=ka==null?void 0:ka.user)==null?void 0:ss.image_url)}),pa)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:pa=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",pa,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:pa=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",pa,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:pa=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",pa?Oe()(pa).format("YYYY-MM-DD HH:mm"):"--")}];function rr(pa,ka){return _t(this,null,function*(){const{challenge_id:ss}=Mo[pa],qs=yield vi({type:"shixunHomeworks/changeScore",payload:{categoryId:uo.homeworkId,type:"report",score:ka,challenge_id:ss}});yield vi({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},uo)}),qs.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Kn(pa,ka){return(0,Ae.U2)(`student_works/${ul}/rep_passed_content.json`,{path:ka,game_id:pa})}const Ja=cs.shixun_detail;return Me.createElement(Me.Fragment,null,Ja==null?void 0:Ja.map(function(pa,ka){var ss,qs;return Me.createElement("div",{key:ka},Me.createElement("aside",{className:"pl30 pr30",key:ka},Me.createElement("div",{className:`${Xe.shixunTitle} mt10`},Me.createElement("div",null,Me.createElement("span",{className:"fa fa-code "}),Me.createElement("strong",{className:"c-black"},"\u7B2C",ka+1,"\u5173 ",Me.createElement(He.Link,{className:"c-black",target:"_blank",to:`/tasks/${uo.coursesId}/${uo.categoryId}/${pa.game_identifier}`},pa.subject))),Wa?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(Tt,{className:"game-score",max:Mo[ka].game_score_full,defaultValue:Mo[ka].game_score,onBlur:tl=>{var eu;if((0,ht.Rm)()&&!((eu=Er.AssistantObject.practice)!=null&&eu.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rr(ka,tl)}})):null),Me.createElement("div",{className:"font16 mt10"},pa.st===0&&(pa.path?typeof(pa==null?void 0:pa.game_codes_cn)=="string"?Me.createElement("aside",{className:Xe.shixunWrp},Me.createElement(Fe,{game_codes_cn:pa==null?void 0:pa.game_codes_cn,autoHeight:In,path:pa.path,game_id:pa.id,data:pa.game_codes,diff_code_count:pa.diff_code_count,onPathChange:Kn})):Me.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),pa.st===1&&(pa.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Me.createElement("aside",{className:"mt10 font16"},(ss=pa.outputs)!=null&&ss.length?Me.createElement(Ye.default,{columns:Na,pagination:{hideOnSinglePage:!0},dataSource:pa.outputs.map(tl=>Pt(Pt({},pa),tl))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10 font16"},((qs=pa==null?void 0:pa.adjust_review_score_list)==null?void 0:qs.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Ye.default,{columns:so,pagination:{hideOnSinglePage:!0},dataSource:pa.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(xe.default,{open:Ss,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Hi({}),vr(!1)},onCancel:()=>{Hi({}),vr(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{On&&Dn(!1)},onMouseOut:()=>{Dn(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:pa=>Me.createElement(se(),{disabled:On,bounds:wr,nodeRef:li,onStart:(ka,ss)=>ca(ka,ss)},Me.createElement("div",{ref:li},pa))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((ha=Or==null?void 0:Or.data)==null?void 0:ha.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Me.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Me.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Me.createElement("div",{style:{color:((Ia=Or==null?void 0:Or.data)==null?void 0:Ia.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(va=Or==null?void 0:Or.data)==null?void 0:va.output_detail)),Me.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Oe()((Ji=Or==null?void 0:Or.data)==null?void 0:Ji.created_at).format("YYYY-MM-DD HH:mm:ss"))),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(ya=Or==null?void 0:Or.data)==null?void 0:ya.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(No=Or==null?void 0:Or.data)==null?void 0:No.ts_mem,"mb")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Vo=Or==null?void 0:Or.data)==null?void 0:Vo.test_set_passed_rate)*100,"%")))),Me.createElement(Et.ZP,{height:500,autoHeight:In,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Or==null?void 0:Or.content)||""))),options:Ki})))};var $t=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er,classroomList:vi})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects,classroomList:vi}))(kt),Sn=de(78241),St={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},nn=de(46066),tn=de(59301),jt=Object.defineProperty,pt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,wn=(Ln,In,Er)=>In in Ln?jt(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Xn=(Ln,In)=>{for(var Er in In||(In={}))Zt.call(In,Er)&&wn(Ln,Er,In[Er]);if(pt)for(var Er of pt(In))gn.call(In,Er)&&wn(Ln,Er,In[Er]);return Ln},yr=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const Dr=({shixunHomeworks:Ln,dispatch:In,classroomList:Er})=>{const{shixunWorkReport:vi}=Ln,ha=(0,He.useParams)(),[Ia,va]=(0,Me.useState)(!1),[Ji]=Sn.default.useForm(),[ya,No]=xe.default.useModal(),[Vo,cs]=(0,Me.useState)(!1),[Mo,ul]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var On,Dn,wr,ni;Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Ji.setFieldsValue({comment:(Dn=(On=Ln.actionTabs.selectArrs)==null?void 0:On.data)==null?void 0:Dn.work_comment,hidden_comment:(ni=(wr=Ln.actionTabs.selectArrs)==null?void 0:wr.data)==null?void 0:ni.work_comment_hidden})},[Ln.actionTabs.key]);const Ss=()=>yr(void 0,null,function*(){const On=Ji.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${ha.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:On.hidden_comment,comment:On.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Ji.resetFields(),In({type:"shixunHomeworks/setActionTabs",payload:{}}),In({type:"shixunHomeworks/getShixunWorkReport",payload:Xn({},ha)}))}),vr=[{title:"\u5173\u5361",dataIndex:"name",render:(On,Dn,wr)=>wr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(On,Dn,wr)=>tn.createElement("div",null,On,Dn.complete_status===4&&tn.createElement(dt.vA,{status:Dn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:On=>On?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(On,Dn)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Dn.game_score_full)!==parseFloat(On)?"#E30000":"#53C41B"}},On),"/",Dn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(On,Dn)=>(0,ht.GJ)()?tn.createElement(Tt,{max:Dn.game_score_full,defaultValue:parseFloat(On),onBlur:wr=>yr(void 0,null,function*(){var ni,li;if((0,ht.Rm)()&&!((ni=Er.AssistantObject.practice)!=null&&ni.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Or=yield In({type:"shixunHomeworks/changeScore",payload:{categoryId:ha.homeworkId,type:"report",score:wr,challenge_id:Dn.challenge_id}});(li=Ln==null?void 0:Ln.actionTabs)==null||li.fn(),yield In({type:"shixunHomeworks/getShixunWorkReport",payload:Xn({},ha)}),Or.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):On}];return tn.createElement(tn.Fragment,null,No,tn.createElement(xe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>yr(void 0,null,function*(){var On;if((0,ht.Rm)()&&!((On=Er.AssistantObject.practice)!=null&&On.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Dn=Ji.getFieldsValue();JSON.stringify(Dn)==="{}"||Dn.hidden_comment===""&&Dn.comment===""?va(!0):Ss()}),onCancel:()=>{In({type:"shixunHomeworks/setActionTabs",payload:{}})}},tn.createElement(Pe.Z,{justify:"space-between",className:St.info},tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u59D3\u540D"),tn.createElement("span",{className:St.blackContent},vi==null?void 0:vi.username)),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u5B66\u53F7"),tn.createElement("span",{className:St.blackContent},(vi==null?void 0:vi.student_id)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u73ED\u7EA7"),tn.createElement("span",{className:St.blackContent},(vi==null?void 0:vi.group_name)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u5173\u5361\u5F97\u5206"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.challenge_score)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u6548\u7387\u5206"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.eff_score)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u8865\u4EA4\u6263\u5206"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.late_penalty)||"--")),tn.createElement(Te.Z,null,tn.createElement("span",{className:`${St.label} ${St.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),tn.createElement("span",{className:St.orangeContent},(vi==null?void 0:vi.work_score)||"--"))),tn.createElement(Sn.default,{form:Ji,onChange:()=>{Ia&&va(!1)}},tn.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Te.Z,null,tn.createElement("div",{className:`${St.inputLabel} ${St.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Te.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Vo,onCancel:()=>{cs(!1)}},onDataSelect:(On,Dn)=>yr(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({comment:ni==null?void 0:ni.value}),cs(!1)};if(Ji.getFieldValue("comment")){ya.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:li});return}li()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{cs(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"comment"},tn.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),tn.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},tn.createElement(Te.Z,null,tn.createElement("div",{className:`${St.inputLabel} ${St.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),tn.createElement(Te.Z,null,tn.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Mo,onCancel:()=>{ul(!1)}},onDataSelect:(On,Dn)=>yr(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({hidden_comment:ni==null?void 0:ni.value}),ul(!1)};if(Ji.getFieldValue("hidden_comment")){ya.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:li});return}li()})},tn.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:tn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{ul(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),tn.createElement(Sn.default.Item,{name:"hidden_comment"},tn.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Ia&&tn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),tn.createElement("div",{className:St.tableTitle},"\u5173\u5361\u6210\u7EE9"),tn.createElement(Ye.default,{className:St.scoreTable,dataSource:vi.stage_list,rowKey:"challenge_id",pagination:!1,columns:vr,scroll:{x:"max-content"}})))};var Tr=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In})=>({shixunHomeworks:Ln,classroomList:In}))(Dr),Rr=de(59579),Sr=de(39655),fr=de(6475),Vr=de(44164),Bi=de.n(Vr),yi={wrap:"wrap___rFTBy",line:"line___kZzhh"},mi=de(1845),ua=({detailData:Ln})=>{var In;return Me.createElement("div",{className:yi.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(Ln),(Ln==null?void 0:Ln.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Me.createElement(mi.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,mi.Uf)(Ln)}),!!((In=Ln==null?void 0:Ln.photos)!=null&&In.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:yi.line}),Me.createElement(mi._s,{dataSource:Ln==null?void 0:Ln.photos,right:21,col:4,wrapWidth:1140}))))},Wr=de(96798),Mn=de(59301),ea=Object.defineProperty,Ea=Object.defineProperties,wo=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable,Si=(Ln,In,Er)=>In in Ln?ea(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,qr=(Ln,In)=>{for(var Er in In||(In={}))Pi.call(In,Er)&&Si(Ln,Er,In[Er]);if(sa)for(var Er of sa(In))Aa.call(In,Er)&&Si(Ln,Er,In[Er]);return Ln},Ma=(Ln,In)=>Ea(Ln,wo(In)),kn=(Ln,In)=>{var Er={};for(var vi in Ln)Pi.call(Ln,vi)&&In.indexOf(vi)<0&&(Er[vi]=Ln[vi]);if(Ln!=null&&sa)for(var vi of sa(Ln))In.indexOf(vi)<0&&Aa.call(Ln,vi)&&(Er[vi]=Ln[vi]);return Er},Dt=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const Gt=Ln=>{var In=Ln,{shixunHomeworks:Er,classroomList:vi,globalSetting:ha,loading:Ia,user:va,dispatch:Ji}=In,ya=kn(In,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),No,Vo,cs;const[Mo,ul]=(0,Me.useState)(qr({},(0,He.useParams)())),Ss=(0,He.useParams)(),[vr,On]=(0,Me.useState)({page:1,page_size:10}),Dn=(0,He.useLocation)(),[]=(0,Me.useState)([]),[wr,ni]=(0,Me.useState)(),li=(0,Me.useRef)(),[Or,Hi]=(0,Me.useState)(!1),[ca,uo]=(0,Me.useState)(!0),[Wa,Ki]=(0,Me.useState)(!1),[Na,so]=(0,Me.useState)(!1),{shixunWorkReport:rr}=Er,[Kn,Ja]=(0,Me.useState)(),[pa,ka]=(0,Me.useState)([]),[ss,qs]=(0,Me.useState)(),[tl,eu]=(0,Me.useState)("all"),nu=(0,ht.GJ)(),[Fu,wl]=(0,Me.useState)(new(ve())),[Vl,Io]=(0,Me.useState)(0),[Xo,Pl]=(0,Me.useState)(!1),[Tl,ml]=(0,Me.useState)(!1),[Wo,js]=(0,Me.useState)(!1),[zu,mc]=(0,Me.useState)(""),[cl,ys]=(0,Me.useState)(!1),[bs,Xl]=(0,Me.useState)(!0),[gl,kl]=(0,Me.useState)(0),vl=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Vs=(0,Me.useRef)(),Gl=()=>Dt(void 0,null,function*(){(va.userInfo.is_teacher||va.userInfo.admin)&&(ys(!0),Xl(!1))});(0,Me.useEffect)(()=>{var ki;(0,ht.Rm)()&&vi.AssistantObject.practice&&!((ki=vi.AssistantObject.practice)!=null&&ki.can_view)&&He.history.replace("/403")},[(No=vi.AssistantObject.practice)==null?void 0:No.can_view]),(0,Me.useEffect)(()=>{Gl(),console.log("\u6253\u5370\u7684------",rr),Vs.current=rr==null?void 0:rr.next_student_work_id,mc(rr.repeat_minus_score)},[rr,va]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",rr.work_score),kl(rr.work_score)},[rr.work_score,zu]),(0,Me.useEffect)(()=>(Ji({type:"globalSetting/footerToggle",payload:!1}),()=>{Ji({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var ki;if(rr){let lo=[];(ki=rr==null?void 0:rr.target_test_sets)==null||ki.map((fi,To)=>{var ds;(ds=fi==null?void 0:fi.targets)==null||ds.map((mu,gu)=>{var _l;mu.name=fi==null?void 0:fi.name,mu.total_target_score=fi==null?void 0:fi.total_target_score,mu.actual_target_score=fi==null?void 0:fi.actual_target_score,mu.rowSpan=gu===0?(_l=fi==null?void 0:fi.targets)==null?void 0:_l.length:0,mu.order=To+1,lo.push(mu)})}),Ja(lo),(0,ht.Rm)()&&Ji({type:"classroomList/getAssistantPermissions",payload:{course_id:Mo.coursesId}})}},[rr]),(0,Me.useEffect)(()=>{Er.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(rr==null?void 0:rr.students_count)>0&&!ca&&setTimeout(()=>{Cu("all")},800)},[rr==null?void 0:rr.homework_common_id,ca]),(0,Me.useEffect)(()=>{ul(qr({},Ss))},[Dn.pathname]);const ic=()=>{document.body.scrollIntoView()},Xc=ki=>{vr.page=ki,On(qr({},vr)),Jl(vr,tl)},Jl=(ki,lo)=>Dt(void 0,null,function*(){Ki(!0);const fi=yield(0,Ae.ZP)(`/api/student_works/${Mo==null?void 0:Mo.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Ma(qr({},ki),{challenge_id:lo=="all"?null:lo})});(fi==null?void 0:fi.status)===0&&(ka(fi==null?void 0:fi.list),qs(fi==null?void 0:fi.count)),Ki(!1)});function ku(){return Dt(this,null,function*(){vl.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const qu=()=>{document.querySelectorAll("canvas").forEach(ki=>{(!ki.clientWidth||!ki.clientHeight)&&ki.remove()})},Hc=ki=>Dt(void 0,null,function*(){const lo=yield(0,fr.t1)({homeworkId:ki||Mo.homeworkId});ni(lo==null?void 0:lo.data)}),Cu=ki=>Dt(void 0,null,function*(){var lo,fi,To,ds;let mu=0,gu;gu=xe.default.info({width:460,title:Mn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",Mn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Mn.createElement("span",{className:"c-blue"},mu+1),"/",ki!=="all"?1:rr==null?void 0:rr.students_count,Mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Xe.modal,onOk:()=>{}});const _l={margin:[0,0],filename:`${rr!=null&&rr.student_id&&(rr==null?void 0:rr.student_id)!="--"?rr==null?void 0:rr.student_id:""}${rr.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Bc=Fu.folder(rr==null?void 0:rr.shixun_name);function Lc(Sc){return Dt(this,null,function*(){yield Hc(Sc||Vs.current);const dl=yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr({homeworkId:Sc||Vs.current},vl.current||{})});Vs.current=dl==null?void 0:dl.next_student_work_id,ic(),mu++,setTimeout(()=>Dt(this,null,function*(){var Gs,Ms,Wu,gc;qu();const vc=Bc.folder(`${dl==null?void 0:dl.group_name}`).folder(`${dl!=null&&dl.student_id&&(dl==null?void 0:dl.student_id)!="--"?dl.student_id+"+":""}${dl==null?void 0:dl.username}`),vd=document.querySelector("#export-all").children;let cd=Bi()();for(let ac=0;acDt(this,null,function*(){ac0&&((Wu=(Ms=dl==null?void 0:dl.shixun_detail)==null?void 0:Ms.filter(ac=>{var Dc;return((Dc=ac==null?void 0:ac.game_codes)==null?void 0:Dc.length)>0}))==null?void 0:Wu.length)>0){const ac=vc.folder("\u4EE3\u7801\u6587\u4EF6");(gc=dl==null?void 0:dl.shixun_detail)==null||gc.map((Dc,Nu)=>{var Ec,$u;if(((Ec=Dc==null?void 0:Dc.game_codes)==null?void 0:Ec.length)>0){const Pu=ac.folder(`\u7B2C${Nu+1}\u5173-${Dc.subject}-${Dc.id}`);($u=Dc==null?void 0:Dc.game_codes)==null||$u.map(Oc=>{Pu.file(`${Oc.filename}.txt`,Oc==null?void 0:Oc.content)})}})}gu.update({content:Mn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Mn.createElement("span",{className:"c-blue"},mu),"/",dl==null?void 0:dl.students_count,Mn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),mu==(dl==null?void 0:dl.students_count)?(gu.destroy(),nA()):Lc()}),2200)})}if(ki!=="all"||(rr==null?void 0:rr.students_count)<2){qu(),ic();const Sc=li.current.children;let dl=Bi()();const Ms=Bc.folder(`${rr==null?void 0:rr.group_name}`).folder(`${rr!=null&&rr.student_id&&(rr==null?void 0:rr.student_id)!="--"?(rr==null?void 0:rr.student_id)+"+":""}${rr==null?void 0:rr.username}`);for(let Wu=0;WuDt(void 0,null,function*(){Wu0&&((To=(fi=rr==null?void 0:rr.shixun_detail)==null?void 0:fi.filter(Wu=>{var gc;return((gc=Wu==null?void 0:Wu.game_codes)==null?void 0:gc.length)>0}))==null?void 0:To.length)>0){const Wu=Ms.folder("\u4EE3\u7801\u6587\u4EF6");(ds=rr==null?void 0:rr.shixun_detail)==null||ds.map((gc,Zu)=>{var vc,vd;if(((vc=gc==null?void 0:gc.game_codes)==null?void 0:vc.length)>0){const cd=Wu.folder(`\u7B2C${Zu+1}\u5173-${gc.subject}-${gc.id}`);(vd=gc==null?void 0:gc.game_codes)==null||vd.map(ac=>{cd.file(`${ac.filename}.txt`,ac==null?void 0:ac.content)})}})}gu.destroy(),nA();return}else Lc(rr==null?void 0:rr.first_student_work_id)}),nA=()=>{Fu.generateAsync({type:"blob"}).then(function(ki){console.log(rr,"shixunWorkReport");const lo=document.createElement("a");lo.href=window.URL.createObjectURL(ki),lo.download=(rr==null?void 0:rr.shixun_name)+".zip",document.body.appendChild(lo);const fi=document.createEvent("MouseEvents");fi.initEvent("click",!1,!1),lo.dispatchEvent(fi),document.body.removeChild(lo),wl(new(ve()))}),so(!1)};(0,Me.useEffect)(()=>{kd()},[Mo.homeworkId]);const kd=()=>Dt(void 0,null,function*(){yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}),Hc(),(0,ht.GJ)()&&ku(),uo(!1)}),gd=[{title:"\u5173\u5361",dataIndex:"name",render:(ki,lo,fi)=>fi+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ki,lo,fi)=>Mn.createElement("div",null,ki,lo.complete_status===4&&Mn.createElement(dt.vA,{status:lo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(ki,lo,fi)=>ki||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:ki=>ki?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(ki,lo)=>Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.myself_experience)!==parseFloat(ki)?"red":"green"}},lo.myself_experience),"/",ki)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(ki,lo)=>Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.game_score_full)!==parseFloat(ki)?"red":"green"}},ki),"/",lo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(ki,lo)=>nu?Mn.createElement(Tt,{max:lo.game_score_full,defaultValue:parseFloat(ki),onBlur:fi=>Dt(void 0,null,function*(){var To;if((0,ht.Rm)()&&!((To=vi.AssistantObject.practice)!=null&&To.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ds=yield Ji({type:"shixunHomeworks/changeScore",payload:{categoryId:Mo.homeworkId,type:"report",score:fi,challenge_id:lo.challenge_id}});Jl({page:1,page_size:10},"all"),yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}),ds.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ki}];let uf=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(ki,lo,fi)=>({children:ki,props:{rowSpan:lo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(ki,lo,fi)=>({children:ki,props:{rowSpan:lo.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(ki,lo,fi)=>Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.actual_test_score)!==parseFloat(ki)?"red":"green"}},lo.actual_test_score),"/",ki)},{title:"\u6307\u6807\u603B\u5206",render:(ki,lo,fi)=>({children:Mn.createElement("div",null,Mn.createElement("span",{style:{color:parseFloat(lo.actual_target_score)!==parseFloat(ki)?"red":"green"}},lo.actual_target_score),"/",ki),props:{rowSpan:lo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const ud=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:ki=>Mn.createElement("span",null,ki?Oe()(ki).format("YYYY-MM-DD HH:mm"):"--")}],pA=ki=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{ki==="next"?He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${rr==null?void 0:rr.next_student_work_id}/comment`):He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${rr==null?void 0:rr.pre_student_work_id}/comment`)},200)},lc=ki=>{mc(""),ki.target.value&&(console.log("\u8FDB\u6765",rr),ki.target.value=ki.target.value>rr.repeat_setting_score?rr.repeat_setting_score:ki.target.value,mc(ki.target.value))},_d=()=>Dt(void 0,null,function*(){const ki=yield(0,Ae.ZP)(`/api/student_works/${rr==null?void 0:rr.work_id}/update_repeat_score`,{method:"put",body:{score:zu}});yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}),ki.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return Mn.createElement("section",{style:{minHeight:"100vh",background:`url(${de(26528)}) center / cover no-repeat`}},Mn.createElement("div",{className:"edu-container pb-60px"},Mn.createElement(Ke.Z,{loading:Ia["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},rr.course_id&&Mn.createElement("section",{className:"animated fadeIn pt-10px"},rr.category&&Mn.createElement(Be.Z,{separator:">",items:[{title:Mn.createElement(He.Link,{to:`/classrooms/${rr.course_id}/shixun_homework`}," ",rr.course_name)},{title:Mn.createElement(He.Link,{to:`/classrooms/${rr.course_id}/shixun_homework/${rr.category.main?"":rr.category.category_id}`}," ",rr.category.category_name)},{title:Mn.createElement(He.Link,{to:`/classrooms/${rr.course_id}/shixun_homework/${rr.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:rr.username}]}),Mn.createElement("div",{className:"mt20 flex item-center gap-10px"},Mn.createElement("strong",{className:"font20"}," ",rr==null?void 0:rr.homework_name," "),Mn.createElement(dt.VV,{temporary:!0,status:rr.homework_status}),Mn.createElement("div",{className:"ml-auto flex item-center gap-10px"},rr.view_tpi&&Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var ki,lo;(0,dt.xg)(`/tasks/${rr==null?void 0:rr.course_id}/${rr==null?void 0:rr.homework_common_id}/${(lo=(ki=rr==null?void 0:rr.shixun_detail)==null?void 0:ki[0])==null?void 0:lo.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,ht.GJ)()&&rr.homework_end===!1&&!!rr.myshixun_id&&Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>Dt(void 0,null,function*(){yield Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:rr.myshixun_identifier},homework_common_id:Ss.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var ki;if((0,ht.Rm)()&&!((ki=vi.AssistantObject.practice)!=null&&ki.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Cu("")},loading:Or},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(rr==null?void 0:rr.students_count)>1&&Mn.createElement(_e.ZP,{icon:Mn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var ki;if((0,ht.Rm)()&&!((ki=vi.AssistantObject.practice)!=null&&ki.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xe.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:Mn.createElement(Ne.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:Mn.createElement(Ne.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Cu("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Wr.jj)({categoryId:Mo.categoryId,coursesId:Mo.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),Mn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},Mn.createElement("div",{id:"export-all",ref:li},Mn.createElement("div",{id:"export-all-1"},Mn.createElement("div",{className:"flex item-center"},Mn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,ht.GJ)()&&Mn.createElement(_e.ZP,{className:`ml-auto rounded-4px ${Xe.NewButtonStyle}`,type:"primary",icon:Mn.createElement(We.Z,{rev:void 0}),onClick:()=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rr.user_id,data:qr({},rr)},fn:()=>Jl({page:1,page_size:10},"all")}})}}," ",rr.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),Mn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},Mn.createElement("div",{className:"flex flex-col justify-center item-center"},Mn.createElement("div",{className:"flex flex-col item-center"},Mn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${rt.Z.IMG_SERVER}/images/${rr.image_url}`,alt:rr.username}),Mn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},Mn.createElement(dt.vA,{status:rr.compelete_status}))),Mn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},rr.username),Mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",Mn.createElement("span",{className:"ml10 c-grey-333"},rr.student_id||"--")),Mn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",Mn.createElement("span",{className:"ml10 c-grey-333"},rr.group_name||"--"))),Mn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},Mn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-red"},rr.complete_count||"--"),"/",Mn.createElement("span",{className:"c-red"},rr.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-red"},rr.current_complete_count||"--"),"/",Mn.createElement("span",{className:"c-red"},rr.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:rr&&rr.efficiency===null?"--":rr&&rr.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:rr&&rr.max_efficiency===null?"--":rr&&rr.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-orange"},rr.challenge_score),"/",Mn.createElement("span",{className:"c-light-black"},rr.challenge_score_full)),hidden:!(rr!=null&&rr.eff_score_full)},{title:"\u6548\u7387\u5206",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-orange"},rr.eff_score),"/",Mn.createElement("span",{className:"c-light-black"},rr.eff_score_full)),hidden:!(rr!=null&&rr.eff_score_full)}].map((ki,lo)=>!(ki!=null&&ki.hidden)&&Mn.createElement("div",{key:lo,className:"flex flex-col item-center gap-10px"},Mn.createElement("div",{className:"text-16px"},ki==null?void 0:ki.children),Mn.createElement("div",{style:{color:"#8E8E8E"}},ki==null?void 0:ki.title)))),Mn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:rr&&rr.passed_time===null||rr&&rr.passed_time==="--"?"--":Oe()(rr&&rr.passed_time).format("YYYY-MM-DD HH:mm")},{title:Mn.createElement(Mn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",Mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:ki=>{Pl(!0)}})),children:rr==null?void 0:rr.human_training_time_rules},{title:Mn.createElement(Mn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",Mn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:ki=>{ml(!0)}})),children:rr==null?void 0:rr.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:rr.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:rr&&rr.passed_time===null||rr&&rr.passed_time==="--"?"--":Oe()(rr&&rr.passed_time).format("YYYY-MM-DD HH:mm")},{title:Mn.createElement(Mn.Fragment,null," \u67E5\u91CD\u6263\u5206",rr!=null&&rr.review_rate?Mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{rr!=null&&rr.review_id&&cl&&(localStorage.setItem("studentDetial",window.location.pathname),He.history.push(`/classrooms/:coursesId/shixun_homework/${Mo.categoryId}/review_detail/${rr==null?void 0:rr.review_id}`))}}," ",rr.review_rate.toFixed(1),"% "):Mn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:Mn.createElement(Mn.Fragment,null,(rr==null?void 0:rr.repeat_minus_score)!==0?"- -":Mn.createElement(Mn.Fragment,null,cl?Mn.createElement(Mn.Fragment,null,Mn.createElement(Qe.default,{style:{width:"45px",height:"22px"},value:zu,onChange:ki=>{lc(ki)},onBlur:_d,disabled:bs})," / ",rr==null?void 0:rr.repeat_setting_score):Mn.createElement(Mn.Fragment,null," ",rr==null?void 0:rr.repeat_minus_score," / ",rr==null?void 0:rr.repeat_setting_score," "))),hidden:!(rr!=null&&rr.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:rr.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:Mn.createElement(Mn.Fragment,null,Mn.createElement("span",{className:"c-orange"},gl),"/",Mn.createElement("span",{className:"c-light-black"},rr.all_work_score))}].map((ki,lo)=>!(ki!=null&&ki.hidden)&&Mn.createElement("div",{key:lo,className:"flex flex-col item-center gap-10px"},Mn.createElement("div",{className:"text-16px"},ki==null?void 0:ki.children),Mn.createElement("div",{style:{color:"#8E8E8E"}},ki==null?void 0:ki.title))))),Mn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${de(55541)}) center / cover no-repeat`}},rr.overall_appraisal)),Mn.createElement(ke.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(rr.work_comment_hidden||rr.work_comment)&&Mn.createElement("div",null,Mn.createElement(Pe.Z,{align:"middle"},Mn.createElement(Te.Z,{flex:1},Mn.createElement("h1",{className:Xe.title},"\u70B9\u8BC4\u5185\u5BB9")),Mn.createElement(Te.Z,{className:"pr30"},(0,ht.GJ)()&&Mn.createElement(_e.ZP,{onClick:()=>Dt(void 0,null,function*(){xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Mn.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Dt(this,null,function*(){(yield(0,fr.gZ)({comment_id:rr.comment_id,homeworkId:Mo.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Ji({type:"shixunHomeworks/getShixunWorkReport",payload:qr(qr({},Mo),vl.current||{})}))})}})})},Mn.createElement(et.Z,null),"\u5220\u9664"))),Mn.createElement(ke.Z,{style:{margin:0}}),rr.work_comment&&Mn.createElement("aside",{className:"pl30 pr30 mt20"},Mn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Mn.createElement("br",null),Mn.createElement(Sr.Z,{value:rr.work_comment})),rr.work_comment_hidden&&Mn.createElement("aside",{className:"pl30 pr30 mt20"},Mn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Mn.createElement("br",null),Mn.createElement(Sr.Z,{value:rr.work_comment_hidden}))),(rr==null?void 0:rr.action_analysis)&&Mn.createElement(ua,{detailData:rr}),Mn.createElement("div",{className:Xe.score},Mn.createElement("h1",{className:Xe.title},"\u9636\u6BB5\u6210\u7EE9"),(rr==null?void 0:rr.adjust_review_score_count)>0&&(0,ht.GJ)()&&Mn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{js(!0),Jl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",rr==null?void 0:rr.adjust_review_score_count,"\u6B21\uFF09")),Mn.createElement(Ye.default,{className:Xe.TableStyle,dataSource:rr.stage_list,rowKey:ki=>ki==null?void 0:ki.challenge_id,pagination:!1,columns:gd}),((Vo=rr==null?void 0:rr.target_test_sets)==null?void 0:Vo.length)>0&&Mn.createElement("div",null,Mn.createElement("h1",{className:Xe.title},"\u6307\u6807\u6210\u7EE9"),Mn.createElement(Ye.default,{className:Xe.TableStyle,dataSource:Kn,rowKey:ki=>ki==null?void 0:ki.challenge_id,pagination:!1,bordered:!0,columns:uf})),(rr==null?void 0:rr.work_description)&&Mn.createElement(Mn.Fragment,null,Mn.createElement("h1",{className:Xe.title},"\u4E2A\u4EBA\u603B\u7ED3"),Mn.createElement(Sr.Z,{value:rr==null?void 0:rr.work_description})),Mn.createElement("h1",{className:Xe.title},"\u56FE\u5F62\u7EDF\u8BA1"),Mn.createElement(Ht,{data:wr}),Mn.createElement("h1",{className:Xe.title},"\u5B9E\u8BAD\u8BE6\u60C5")),Mn.createElement($t,{autoHeight:Na}))))),(0,ht.GJ)()&&Mn.createElement("aside",{className:`sticky ${Xe.footerBar}`},Mn.createElement("aside",{className:"edu-container flex item-center"},Mn.createElement(He.Link,{className:Xe.exitComment,to:`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),Mn.createElement("div",{className:"ml-auto flex item-center gap-20px"},Mn.createElement(_e.ZP,{disabled:!(rr!=null&&rr.pre_student_work_id),onClick:()=>pA()},"\u4E0A\u4E00\u4E2A"),Mn.createElement(_e.ZP,{disabled:!(rr!=null&&rr.next_student_work_id),onClick:()=>pA("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&Mn.createElement(_e.ZP,{className:Xe.NewButtonStyle,type:"primary",onClick:()=>Dt(void 0,null,function*(){Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rr.user_id,data:qr({},rr)},fn:()=>Jl({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),Mn.createElement(Tr,null),Mn.createElement(Rr.Z,null),Mn.createElement(xe.default,{open:Xo,width:860,centered:!0,onCancel:()=>{Pl(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Mn.createElement("div",{style:{color:"#333333",fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Mn.createElement("br",null),Mn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Mn.createElement("br",null),Mn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Mn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Mn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),Mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Mn.createElement("br",null),Mn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),Mn.createElement("br",null),Mn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),Mn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Mn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),Mn.createElement("br",null),Mn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),Mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Mn.createElement("br",null),Mn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),Mn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Mn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Mn.createElement("br",null),Mn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),Mn.createElement(xe.default,{open:Tl,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ml(!1)},width:600},Mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},Mn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Mn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Mn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Mn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Mn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Mn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),Mn.createElement(xe.default,{open:Wo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{eu("all"),js(!1)},destroyOnClose:!0,width:900},Mn.createElement("div",{style:{fontWeight:400,color:"#333333"}},Mn.createElement("div",null,Mn.createElement("span",null,"\u5173\u5361\uFF1A"),Mn.createElement(ze.default,{style:{width:300},value:tl,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:ki=>Dt(void 0,null,function*(){eu(ki),Jl({page:1,page_size:10},ki)})},Mn.createElement(ze.default.Option,{value:"all"}," \u5168\u90E8 "),(cs=rr==null?void 0:rr.stage_list)==null?void 0:cs.map((ki,lo)=>Mn.createElement(ze.default.Option,{key:lo,value:ki==null?void 0:ki.challenge_id},"\u7B2C",(0,dt.EM)(lo+1),"\u5173")))),Mn.createElement("div",{className:"mt20"},Mn.createElement(Ye.default,{dataSource:pa,rowKey:ki=>ki==null?void 0:ki.id,pagination:!1,columns:ud,loading:Wa})),Mn.createElement("div",{className:Xe.footer},Mn.createElement("div",null,Mn.createElement("span",{style:{color:"#656F87"}},"\u5171",Mn.createElement("span",{className:"c-light-primary"},ss),"\u6761\u6570\u636E")),Mn.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(vr==null?void 0:vr.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ss,onChange:Xc})))))};var Wt=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In,loading:Er,globalSetting:vi,user:ha})=>({shixunHomeworks:Ln,classroomList:In,globalSetting:vi,loading:Er.effects,user:ha}))(Gt),Kt=de(27812),on={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy"},_n={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const lr=({shixunHomeworks:Ln,data:In,globalSetting:Er,loading:vi,dispatch:ha})=>{var Ia;const{shixunWorkReport:va}=Ln;let Ji=((Ia=In==null?void 0:In.efficiency_list)==null?void 0:Ia.length)-parseInt(In==null?void 0:In.myself_eff[0]);const ya=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Vo){return Vo.name===va.username?"\u59D3\u540D\uFF1A"+va.username+"
\u5B66\u53F7\uFF1A "+va.user_id+"
\u6548\u7387\uFF1A"+(In==null?void 0:In.myself_eff[1]):Vo.name+":"+Vo.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:In==null?void 0:In.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:va.username,xAxis:Ji,yAxis:In==null?void 0:In.myself_eff[1],value:In==null?void 0:In.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),No=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Vo){var cs=Vo.value;if(Vo.name===va.username)return"\u59D3\u540D\uFF1A"+va.username+"
\u5B66\u53F7\uFF1A "+va.user_id+"
\u5F97\u5206\uFF1A"+(In==null?void 0:In.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:_n,data:In==null?void 0:In.consume_list,symbolSize:function(Vo){return Math.round(Vo[2])},markPoint:{data:[{name:va.username,xAxis:In==null?void 0:In.myself_object[0],yAxis:In==null?void 0:In.myself_object[1],value:In==null?void 0:In.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Me.createElement(Me.Fragment,null,Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:ya()})),Me.createElement(Te.Z,{flex:"1"},Me.createElement("aside",{className:on.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_eff[1])),Me.createElement("li",null,Me.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_eff[0]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Me.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Me.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Me.createElement("aside",{className:"ml60 pr30"},Me.createElement(Pe.Z,null,Me.createElement(Te.Z,{flex:"800px"},Me.createElement(Ct.Z,{style:{width:750,height:580},option:No()})),Me.createElement(Te.Z,{flex:"1"},Me.createElement("aside",{className:on.rightInfo},Me.createElement("ul",null,Me.createElement("li",null,Me.createElement("span",null,"\u59D3\u540D")," ",Me.createElement("span",{className:"ml30"},va.username)),Me.createElement("li",null,Me.createElement("span",null,"\u5B66\u53F7")," ",Me.createElement("span",{className:"ml30"},va.student_id||"--")),Me.createElement("li",null,Me.createElement("span",null,"\u80FD\u529B")," ",Me.createElement("span",{className:"ml30 c-orange"},In==null?void 0:In.myself_object[1]))),Me.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Me.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Me.createElement("br",null)))))))};var nr=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects}))(lr),dr=({defaultValue:Ln,onBlur:In,max:Er,className:vi="game-score"})=>{const[ha,Ia]=(0,Me.useState)(Ln);(0,Me.useEffect)(()=>{Ia(Ln)},[Ln]);function va(ya){Ia(ya)}function Ji(){ha!==Ln&&In(ha>Er?Er:ha)}return Me.createElement(bt.Z,{max:Er,min:0,className:vi,value:ha,onChange:va,onBlur:Ji})},Pr={md:"md___TEmcT"},Ur=de(59301),ei=Object.defineProperty,er=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,_i=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,ji=Object.prototype.propertyIsEnumerable,Mi=(Ln,In,Er)=>In in Ln?ei(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Ca=(Ln,In)=>{for(var Er in In||(In={}))gi.call(In,Er)&&Mi(Ln,Er,In[Er]);if(_i)for(var Er of _i(In))ji.call(In,Er)&&Mi(Ln,Er,In[Er]);return Ln},Jr=(Ln,In)=>er(Ln,kr(In));const ra=ze.default.Option,vn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var gr=(Ln=>(Ln[Ln.SET_PATH=0]="SET_PATH",Ln[Ln.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ln))(gr||{});function Ar(Ln,In){switch(In.type){case 0:return Jr(Ca({},Ln),{selectedPath:In.payload});case 1:return Jr(Ca({},Ln),{passedContent:In.payload});default:throw new Error}}var jr=({path:Ln,game_id:In,onPathChange:Er,autoHeight:vi,diff_code_count:ha,data:Ia,game_codes_cn:va})=>{var Ji,ya,No,Vo;const cs=Ln.split("\uFF1B").filter(wr=>!!wr),[Mo,ul]=(0,Me.useReducer)(Ar,{selectedPath:cs[0],passedContent:{language:"python",content:""}}),{selectedPath:Ss,passedContent:vr}=Mo;function On(wr){ul({type:0,payload:wr})}const Dn={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Ur.createElement(Ur.Fragment,null,Ur.createElement("h2",null," ",Ur.createElement("span",null,va,Ur.createElement(Ne.Z,{title:Ur.createElement("div",null,Ur.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ur.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ur.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Ur.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ur.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),ha&&Ur.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",ha),Ur.createElement("span",null,Ur.createElement(ze.default,{style:{width:200},value:Ss,onChange:On}," ",cs.map(wr=>Ur.createElement(ra,{key:wr,value:wr},wr))," "))," "),(Ss==null?void 0:Ss.split(".")[1])==="md"&&Ur.createElement(wt.Z,{height:300,autoHeight:vi,defaultValue:((ya=(Ji=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:Ji[0])==null?void 0:ya.content)||"",className:Pr.md}),(Ss==null?void 0:Ss.split(".")[1])!=="md"&&Ur.createElement(Et.ZP,{height:300,language:vr.language,value:((Vo=(No=Ia==null?void 0:Ia.filter(wr=>wr.path===Ss))==null?void 0:No[0])==null?void 0:Vo.content)||"",autoHeight:vi,theme:"default",isCopy:!0,options:vn}))},br=de(65218),Ir=Object.defineProperty,Fr=Object.defineProperties,si=Object.getOwnPropertyDescriptors,bi=Object.getOwnPropertySymbols,Ti=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Ka=(Ln,In,Er)=>In in Ln?Ir(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,$a=(Ln,In)=>{for(var Er in In||(In={}))Ti.call(In,Er)&&Ka(Ln,Er,In[Er]);if(bi)for(var Er of bi(In))Pa.call(In,Er)&&Ka(Ln,Er,In[Er]);return Ln},Ua=(Ln,In)=>Fr(Ln,si(In)),Fa=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const ho=({shixunHomeworks:Ln,autoHeight:In,classroomList:Er,dispatch:vi})=>{var ha,Ia,va,Ji,ya,No,Vo,cs;const{shixunWorkReport:Mo}=Ln,{stage_list:ul,work_id:Ss,ai_code_evaluation_promote:vr}=Mo,[On,Dn]=(0,Me.useState)(!1),[wr,ni]=(0,Me.useState)(!0),[li,Or]=(0,Me.useState)({left:0,top:0,bottom:0,right:0}),Hi=(0,Me.useRef)(null),[ca,uo]=(0,Me.useState)(!1),[Wa,Ki]=(0,Me.useState)(""),Na=(0,Me.useRef)(null),so=(Io,Xo)=>{var Pl;const{clientWidth:Tl,clientHeight:ml}=window.document.documentElement,Wo=(Pl=Hi.current)==null?void 0:Pl.getBoundingClientRect();Wo&&Or({left:-Wo.left+Xo.x,right:Tl-(Wo.right-Xo.x),top:-Wo.top+Xo.y,bottom:ml-(Wo.bottom-Xo.y)})},rr=(0,He.useParams)(),Kn=(0,ht.GJ)(),Ja={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Me.useEffect)(()=>{console.log(rr)},[]);const pa=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Io,Xo,Pl)=>Me.createElement("div",null,Io,Xo.is_work_end_evaluate&&Me.createElement(dt.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Io=>Oe()(Io).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Io,Xo)=>Me.createElement("span",{className:"c-blue current",onClick:()=>Fa(void 0,null,function*(){var Pl,Tl;const ml=yield(0,ie.Lk)(Xo.game_identifier,{path:(Tl=(Pl=Xo.path)==null?void 0:Pl.replace(/\;/g,";"))==null?void 0:Tl.split(";")[0],query_index:Xo.query_index,homework_common_id:rr.categoryId});(ml==null?void 0:ml.status)===0&&(uo(ml),Dn(!0))})},Xo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],ka=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Io,Xo)=>{var Pl;return Me.createElement("span",null,Me.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:rt.Z.IMG_SERVER+"/images/"+((Pl=Xo==null?void 0:Xo.user)==null?void 0:Pl.image_url)}),Io)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Io=>Me.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Io,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Io=>Me.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Io,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Io=>Me.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Io?Oe()(Io).format("YYYY-MM-DD HH:mm"):"--")}];function ss(Io,Xo){return Fa(this,null,function*(){const{challenge_id:Pl}=ul[Io],Tl=yield vi({type:"shixunHomeworks/changeScore",payload:{categoryId:rr.homeworkId,type:"report",score:Xo,challenge_id:Pl}});yield vi({type:"shixunHomeworks/getShixunWorkReport",payload:$a({},rr)}),Tl.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function qs(Io,Xo){return(0,Ae.U2)(`student_works/${Ss}/rep_passed_content.json`,{path:Xo,game_id:Io})}const[tl,eu]=(0,Me.useState)((ha=Mo==null?void 0:Mo.shixun_detail)==null?void 0:ha.map(Io=>Ua($a({},Io),{commentEdit:!1}))),nu=Io=>Io.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[Fu,wl]=(0,Me.useState)(!1),Vl=(Io,Xo)=>Fa(void 0,null,function*(){var Pl,Tl;wl(!0),Na.current=new br.Z(rt.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-max",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:vr,shixun_id:Mo==null?void 0:Mo.myshixun_identifier,game_id:Io==null?void 0:Io.id,source:"shixun",is_chat:!1,type:9,description:Io==null?void 0:Io.challenge_description,query:(Tl=(Pl=Io==null?void 0:Io.game_codes)==null?void 0:Pl[0])==null?void 0:Tl.content,homework_common_id:rr.categoryId}),yield new Promise((ml,Wo)=>{Na.current.on("data",js=>{const zu=[...tl];zu[Xo].comment=nu(js==null?void 0:js.full),eu(zu)}),Na.current.on("done",()=>Fa(void 0,null,function*(){var js;wl(!1);const zu=[...tl],mc=yield(0,Ae.ZP)(`/api/student_works/${rr==null?void 0:rr.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Io==null?void 0:Io.challenge_id,comment:zu[Xo].comment}});if((mc==null?void 0:mc.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const cl=[...tl];cl[Xo].comment_updated_at=(js=mc==null?void 0:mc.data)==null?void 0:js.comment_updated_at,eu(cl)}})),Na.current.startStream()})});return Me.createElement(Me.Fragment,null,tl==null?void 0:tl.map(function(Io,Xo){var Pl,Tl;return Me.createElement("div",{key:Xo},Me.createElement("aside",{className:"pl30 pr30",key:Xo},Me.createElement("div",{className:`${on.shixunTitle} mt10`},Me.createElement("div",null,Me.createElement("span",{className:"fa fa-code "}),Me.createElement("strong",{className:"c-black"},"\u7B2C",Xo+1,"\u5173 ",Me.createElement(He.Link,{className:"c-black",target:"_blank",to:`/tasks/${rr.coursesId}/${rr.categoryId}/${Io.game_identifier}`},Io.subject))),Kn?Me.createElement("span",null,"\u8C03\u5206\uFF1A",Me.createElement(dr,{className:"game-score",max:ul[Xo].game_score_full,defaultValue:ul[Xo].game_score,onBlur:ml=>{var Wo;if((0,ht.Rm)()&&!((Wo=Er.AssistantObject.practice)!=null&&Wo.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ss(Xo,ml)}})):null),Me.createElement("div",{className:"font16 mt10"},Io.st===0&&(Io.path?typeof(Io==null?void 0:Io.game_codes_cn)=="string"?Me.createElement("aside",{className:on.shixunWrp},Me.createElement(jr,{game_codes_cn:Io==null?void 0:Io.game_codes_cn,autoHeight:In,path:Io.path,game_id:Io.id,data:Io.game_codes,diff_code_count:Io.diff_code_count,onPathChange:qs})):Me.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Io.st===1&&(Io.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Me.createElement("aside",{className:"mt10 font16"},(Pl=Io.outputs)!=null&&Pl.length?Me.createElement(Ye.default,{columns:pa,pagination:{hideOnSinglePage:!0},dataSource:Io.outputs.map(ml=>$a($a({},Io),ml))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Me.createElement("aside",{className:"mt10 font16"},((Tl=Io==null?void 0:Io.adjust_review_score_list)==null?void 0:Tl.length)>0&&(0,ht.GJ)()&&Me.createElement("div",null,Me.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Me.createElement(Ye.default,{columns:ka,pagination:{hideOnSinglePage:!0},dataSource:Io.adjust_review_score_list,showHeader:!1})))))}),Me.createElement(xe.default,{open:On,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{uo({}),Dn(!1)},onCancel:()=>{uo({}),Dn(!1)},title:Me.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{wr&&ni(!1)},onMouseOut:()=>{ni(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Io=>Me.createElement(se(),{disabled:wr,bounds:li,nodeRef:Hi,onStart:(Xo,Pl)=>so(Xo,Pl)},Me.createElement("div",{ref:Hi},Io))},Me.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},((Ia=ca==null?void 0:ca.data)==null?void 0:Ia.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Me.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Me.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Me.createElement("div",{style:{color:((va=ca==null?void 0:ca.data)==null?void 0:va.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Ji=ca==null?void 0:ca.data)==null?void 0:Ji.output_detail)),Me.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Oe()((ya=ca==null?void 0:ca.data)==null?void 0:ya.created_at).format("YYYY-MM-DD HH:mm:ss"))),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(No=ca==null?void 0:ca.data)==null?void 0:No.ts_time,"s")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Vo=ca==null?void 0:ca.data)==null?void 0:Vo.ts_mem,"mb")),Me.createElement("div",null,Me.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Me.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((cs=ca==null?void 0:ca.data)==null?void 0:cs.test_set_passed_rate)*100,"%")))),Me.createElement(Et.ZP,{height:500,autoHeight:In,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ca==null?void 0:ca.content)||""))),options:Ja})))};var oo=(0,He.connect)(({shixunHomeworks:Ln,loading:In,globalSetting:Er,classroomList:vi})=>({shixunHomeworks:Ln,globalSetting:Er,loading:In.effects,classroomList:vi}))(ho),ta={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},ui=de(59301),za=Object.defineProperty,no=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,xo=Object.prototype.propertyIsEnumerable,os=(Ln,In,Er)=>In in Ln?za(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Va=(Ln,In)=>{for(var Er in In||(In={}))La.call(In,Er)&&os(Ln,Er,In[Er]);if(no)for(var Er of no(In))xo.call(In,Er)&&os(Ln,Er,In[Er]);return Ln},Ii=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const Ci=({shixunHomeworks:Ln,dispatch:In,classroomList:Er})=>{const{shixunWorkReport:vi}=Ln,ha=(0,He.useParams)(),[Ia,va]=(0,Me.useState)(!1),[Ji]=Sn.default.useForm(),[ya,No]=xe.default.useModal(),[Vo,cs]=(0,Me.useState)(!1),[Mo,ul]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{var On,Dn,wr,ni;Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Ji.setFieldsValue({comment:(Dn=(On=Ln.actionTabs.selectArrs)==null?void 0:On.data)==null?void 0:Dn.work_comment,hidden_comment:(ni=(wr=Ln.actionTabs.selectArrs)==null?void 0:wr.data)==null?void 0:ni.work_comment_hidden})},[Ln.actionTabs.key]);const Ss=()=>Ii(void 0,null,function*(){const On=Ji.getFieldsValue();(yield(0,Ae.ZP)(`/api/student_works/${ha.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:On.hidden_comment,comment:On.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Ji.resetFields(),In({type:"shixunHomeworks/setActionTabs",payload:{}}),In({type:"shixunHomeworks/getShixunWorkReport",payload:Va({},ha)}))}),vr=[{title:"\u5173\u5361",dataIndex:"name",render:(On,Dn,wr)=>wr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(On,Dn,wr)=>ui.createElement("div",null,On,Dn.complete_status===4&&ui.createElement(dt.vA,{status:Dn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:On=>On?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(On,Dn)=>ui.createElement("div",null,ui.createElement("span",{style:{color:parseFloat(Dn.game_score_full)!==parseFloat(On)?"#E30000":"#53C41B"}},On),"/",Dn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(On,Dn)=>(0,ht.GJ)()?ui.createElement(dr,{max:Dn.game_score_full,defaultValue:parseFloat(On),onBlur:wr=>Ii(void 0,null,function*(){var ni,li;if((0,ht.Rm)()&&!((ni=Er.AssistantObject.practice)!=null&&ni.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Or=yield In({type:"shixunHomeworks/changeScore",payload:{categoryId:ha.homeworkId,type:"report",score:wr,challenge_id:Dn.challenge_id}});(li=Ln==null?void 0:Ln.actionTabs)==null||li.fn(),yield In({type:"shixunHomeworks/getShixunWorkReport",payload:Va({},ha)}),Or.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):On}];return ui.createElement(ui.Fragment,null,No,ui.createElement(xe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Ln.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ii(void 0,null,function*(){var On;if((0,ht.Rm)()&&!((On=Er.AssistantObject.practice)!=null&&On.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Dn=Ji.getFieldsValue();JSON.stringify(Dn)==="{}"||Dn.hidden_comment===""&&Dn.comment===""?va(!0):Ss()}),onCancel:()=>{In({type:"shixunHomeworks/setActionTabs",payload:{}})}},ui.createElement(Pe.Z,{justify:"space-between",className:ta.info},ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u59D3\u540D"),ui.createElement("span",{className:ta.blackContent},vi==null?void 0:vi.username)),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u5B66\u53F7"),ui.createElement("span",{className:ta.blackContent},(vi==null?void 0:vi.student_id)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u73ED\u7EA7"),ui.createElement("span",{className:ta.blackContent},(vi==null?void 0:vi.group_name)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u5173\u5361\u5F97\u5206"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.challenge_score)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u6548\u7387\u5206"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.eff_score)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u8865\u4EA4\u6263\u5206"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.late_penalty)||"--")),ui.createElement(Te.Z,null,ui.createElement("span",{className:`${ta.label} ${ta.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),ui.createElement("span",{className:ta.orangeContent},(vi==null?void 0:vi.work_score)||"--"))),ui.createElement(Sn.default,{form:Ji,onChange:()=>{Ia&&va(!1)}},ui.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},ui.createElement(Te.Z,null,ui.createElement("div",{className:`${ta.inputLabel} ${ta.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ui.createElement(Te.Z,null,ui.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Vo,onCancel:()=>{cs(!1)}},onDataSelect:(On,Dn)=>Ii(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({comment:ni==null?void 0:ni.value}),cs(!1)};if(Ji.getFieldValue("comment")){ya.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:li});return}li()})},ui.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:ui.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{cs(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ui.createElement(Sn.default.Item,{name:"comment"},ui.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),ui.createElement(Pe.Z,{wrap:!1,align:"middle",justify:"space-between"},ui.createElement(Te.Z,null,ui.createElement("div",{className:`${ta.inputLabel} ${ta.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ui.createElement(Te.Z,null,ui.createElement(nn.Z,{isShowComponent:(0,ht.G5)(),ModalProps:{open:Mo,onCancel:()=>{ul(!1)}},onDataSelect:(On,Dn)=>Ii(void 0,[On,Dn],function*(wr,{node:ni}){const li=()=>{Ji.setFieldsValue({hidden_comment:ni==null?void 0:ni.value}),ul(!1)};if(Ji.getFieldValue("hidden_comment")){ya.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:li});return}li()})},ui.createElement(_e.ZP,{style:{padding:0,height:"auto"},icon:ui.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:On=>{ul(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ui.createElement(Sn.default.Item,{name:"hidden_comment"},ui.createElement(Qe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Ia&&ui.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),ui.createElement("div",{className:ta.tableTitle},"\u5173\u5361\u6210\u7EE9"),ui.createElement(Ye.default,{className:ta.scoreTable,dataSource:vi.stage_list,rowKey:"challenge_id",pagination:!1,columns:vr,scroll:{x:"max-content"}})))};var Ha=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In})=>({shixunHomeworks:Ln,classroomList:In}))(Ci),Oa=de(50436),eo={wrap:"wrap___LZOi9",line:"line___oju0L"},vo=({detailData:Ln})=>{var In;return Me.createElement("div",{className:eo.wrap},Me.createElement(mi.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,mi.Uf)(Ln),(Ln==null?void 0:Ln.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Me.createElement(mi.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,mi.Uf)(Ln)}),!!((In=Ln==null?void 0:Ln.photos)!=null&&In.length)&&Me.createElement(Me.Fragment,null,Me.createElement("div",{className:eo.line}),Me.createElement(mi._s,{dataSource:Ln==null?void 0:Ln.photos,right:21,col:4,wrapWidth:1140}))))},jn=de(59301),Oo=Object.defineProperty,Ks=Object.defineProperties,Sa=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Es=(Ln,In,Er)=>In in Ln?Oo(Ln,In,{enumerable:!0,configurable:!0,writable:!0,value:Er}):Ln[In]=Er,Js=(Ln,In)=>{for(var Er in In||(In={}))Co.call(In,Er)&&Es(Ln,Er,In[Er]);if(ga)for(var Er of ga(In))Fo.call(In,Er)&&Es(Ln,Er,In[Er]);return Ln},Os=(Ln,In)=>Ks(Ln,Sa(In)),ps=(Ln,In)=>{var Er={};for(var vi in Ln)Co.call(Ln,vi)&&In.indexOf(vi)<0&&(Er[vi]=Ln[vi]);if(Ln!=null&&ga)for(var vi of ga(Ln))In.indexOf(vi)<0&&Fo.call(Ln,vi)&&(Er[vi]=Ln[vi]);return Er},as=(Ln,In,Er)=>new Promise((vi,ha)=>{var Ia=ya=>{try{Ji(Er.next(ya))}catch(No){ha(No)}},va=ya=>{try{Ji(Er.throw(ya))}catch(No){ha(No)}},Ji=ya=>ya.done?vi(ya.value):Promise.resolve(ya.value).then(Ia,va);Ji((Er=Er.apply(Ln,In)).next())});const ol=Ln=>{var In=Ln,{shixunHomeworks:Er,classroomList:vi,globalSetting:ha,loading:Ia,user:va,dispatch:Ji}=In,ya=ps(In,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),No,Vo,cs;const[Mo,ul]=(0,Me.useState)(Js({},(0,He.useParams)())),Ss=(0,He.useParams)(),[vr,On]=(0,Me.useState)({page:1,page_size:10}),Dn=(0,He.useLocation)(),[]=(0,Me.useState)([]),[wr,ni]=(0,Me.useState)(),li=(0,Me.useRef)(),Or=(0,Me.useRef)(),[Hi,ca]=(0,Me.useState)(!1),[uo,Wa]=(0,Me.useState)(!0),[Ki,Na]=(0,Me.useState)(!1),[so,rr]=(0,Me.useState)(!1),{shixunWorkReport:Kn}=Er,[Ja,pa]=(0,Me.useState)(),[ka,ss]=(0,Me.useState)([]),[qs,tl]=(0,Me.useState)(),[eu,nu]=(0,Me.useState)("all"),Fu=(0,ht.GJ)(),[wl,Vl]=(0,Me.useState)(new(ve())),[Io,Xo]=(0,Me.useState)(0),[Pl,Tl]=(0,Me.useState)(!1),[ml,Wo]=(0,Me.useState)(!1),[js,zu]=(0,Me.useState)(!1),[mc,cl]=(0,Me.useState)(""),[ys,bs]=(0,Me.useState)(!1),[Xl,gl]=(0,Me.useState)(!0),[kl,vl]=(0,Me.useState)(0),Vs=(0,Me.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Gl=(0,Me.useRef)(),ic=()=>as(void 0,null,function*(){(va.userInfo.is_teacher||va.userInfo.admin)&&(bs(!0),gl(!1))});(0,Me.useEffect)(()=>{var fi;(0,ht.Rm)()&&vi.AssistantObject.practice&&!((fi=vi.AssistantObject.practice)!=null&&fi.can_view)&&He.history.replace("/403")},[(No=vi.AssistantObject.practice)==null?void 0:No.can_view]),(0,Me.useEffect)(()=>{ic(),console.log("\u6253\u5370\u7684------",Kn),Gl.current=Kn==null?void 0:Kn.next_student_work_id,cl(Kn.repeat_minus_score)},[Kn,va]),(0,Me.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Kn.work_score),vl(Kn.work_score)},[Kn.work_score,mc]),(0,Me.useEffect)(()=>(Ji({type:"globalSetting/footerToggle",payload:!1}),()=>{Ji({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Me.useEffect)(()=>{var fi;if(Kn){let To=[];(fi=Kn==null?void 0:Kn.target_test_sets)==null||fi.map((ds,mu)=>{var gu;(gu=ds==null?void 0:ds.targets)==null||gu.map((_l,Bc)=>{var Lc;_l.name=ds==null?void 0:ds.name,_l.total_target_score=ds==null?void 0:ds.total_target_score,_l.actual_target_score=ds==null?void 0:ds.actual_target_score,_l.rowSpan=Bc===0?(Lc=ds==null?void 0:ds.targets)==null?void 0:Lc.length:0,_l.order=mu+1,To.push(_l)})}),pa(To),(0,ht.Rm)()&&Ji({type:"classroomList/getAssistantPermissions",payload:{course_id:Mo.coursesId}})}},[Kn]),(0,Me.useEffect)(()=>{Er.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Kn==null?void 0:Kn.students_count)>0&&!uo&&setTimeout(()=>{kd("all")},800)},[Kn==null?void 0:Kn.homework_common_id,uo]),(0,Me.useEffect)(()=>{ul(Js({},Ss))},[Dn.pathname]);const Xc=()=>{document.body.scrollIntoView()},Jl=fi=>{vr.page=fi,On(Js({},vr)),ku(vr,eu)},ku=(fi,To)=>as(void 0,null,function*(){Na(!0);const ds=yield(0,Ae.ZP)(`/api/student_works/${Mo==null?void 0:Mo.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Os(Js({},fi),{challenge_id:To=="all"?null:To})});(ds==null?void 0:ds.status)===0&&(ss(ds==null?void 0:ds.list),tl(ds==null?void 0:ds.count)),Na(!1)});function qu(){return as(this,null,function*(){Vs.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Hc=()=>{document.querySelectorAll("canvas").forEach(fi=>{(!fi.clientWidth||!fi.clientHeight)&&fi.remove()})},Cu=()=>{li.current.offsetHeight>62e3?rr(!1):rr(!0)},nA=fi=>as(void 0,null,function*(){const To=yield(0,fr.t1)({homeworkId:fi||Mo.homeworkId});ni(To==null?void 0:To.data)}),kd=fi=>as(void 0,null,function*(){var To,ds,mu,gu;let _l=0,Bc;Bc=xe.default.info({width:460,title:jn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",jn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:jn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",jn.createElement("span",{className:"c-blue"},_l+1),"/",fi!=="all"?1:Kn==null?void 0:Kn.students_count,jn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:on.modal,onOk:()=>{}});const Lc={margin:[0,0],filename:`${Kn!=null&&Kn.student_id&&(Kn==null?void 0:Kn.student_id)!="--"?Kn==null?void 0:Kn.student_id:""}${Kn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Sc=wl.folder(Kn==null?void 0:Kn.shixun_name);function dl(Gs){return as(this,null,function*(){yield nA(Gs||Gl.current);const Ms=yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js({homeworkId:Gs||Gl.current},Vs.current||{})});Gl.current=Ms==null?void 0:Ms.next_student_work_id,Xc(),_l++,setTimeout(()=>as(this,null,function*(){var Wu,gc,Zu,vc;Hc();const cd=Sc.folder(`${Ms==null?void 0:Ms.group_name}`).folder(`${Ms!=null&&Ms.student_id&&(Ms==null?void 0:Ms.student_id)!="--"?Ms.student_id+"+":""}${Ms==null?void 0:Ms.username}`),ac=document.querySelector("#export-all").children;let Dc=Bi()();for(let Nu=0;Nuas(this,null,function*(){Nu0&&((Zu=(gc=Ms==null?void 0:Ms.shixun_detail)==null?void 0:gc.filter(Nu=>{var Ec;return((Ec=Nu==null?void 0:Nu.game_codes)==null?void 0:Ec.length)>0}))==null?void 0:Zu.length)>0){const Nu=cd.folder("\u4EE3\u7801\u6587\u4EF6");(vc=Ms==null?void 0:Ms.shixun_detail)==null||vc.map((Ec,$u)=>{var Pu,Oc;if(((Pu=Ec==null?void 0:Ec.game_codes)==null?void 0:Pu.length)>0){const yd=Nu.folder(`\u7B2C${$u+1}\u5173-${Ec.subject}-${Ec.id}`);(Oc=Ec==null?void 0:Ec.game_codes)==null||Oc.map(nh=>{yd.file(`${nh.filename}.txt`,nh==null?void 0:nh.content)})}})}Bc.update({content:jn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",jn.createElement("span",{className:"c-blue"},_l),"/",Ms==null?void 0:Ms.students_count,jn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),_l==(Ms==null?void 0:Ms.students_count)?(Bc.destroy(),gd()):dl()}),2200)})}if(fi!=="all"||(Kn==null?void 0:Kn.students_count)<2){Hc(),Xc();const Gs=Or.current.children;let Ms=Bi()();const gc=Sc.folder(`${Kn==null?void 0:Kn.group_name}`).folder(`${Kn!=null&&Kn.student_id&&(Kn==null?void 0:Kn.student_id)!="--"?(Kn==null?void 0:Kn.student_id)+"+":""}${Kn==null?void 0:Kn.username}`);for(let Zu=0;Zuas(void 0,null,function*(){Zu0&&((mu=(ds=Kn==null?void 0:Kn.shixun_detail)==null?void 0:ds.filter(Zu=>{var vc;return((vc=Zu==null?void 0:Zu.game_codes)==null?void 0:vc.length)>0}))==null?void 0:mu.length)>0){const Zu=gc.folder("\u4EE3\u7801\u6587\u4EF6");(gu=Kn==null?void 0:Kn.shixun_detail)==null||gu.map((vc,vd)=>{var cd,ac;if(((cd=vc==null?void 0:vc.game_codes)==null?void 0:cd.length)>0){const Dc=Zu.folder(`\u7B2C${vd+1}\u5173-${vc.subject}-${vc.id}`);(ac=vc==null?void 0:vc.game_codes)==null||ac.map(Nu=>{Dc.file(`${Nu.filename}.txt`,Nu==null?void 0:Nu.content)})}})}Bc.destroy(),gd();return}else dl(Kn==null?void 0:Kn.first_student_work_id)}),gd=()=>{wl.generateAsync({type:"blob"}).then(function(fi){console.log(Kn,"shixunWorkReport");const To=document.createElement("a");To.href=window.URL.createObjectURL(fi),To.download=(Kn==null?void 0:Kn.shixun_name)+".zip",document.body.appendChild(To);const ds=document.createEvent("MouseEvents");ds.initEvent("click",!1,!1),To.dispatchEvent(ds),document.body.removeChild(To),Vl(new(ve()))}),rr(!1)};(0,Me.useEffect)(()=>{uf()},[Mo.homeworkId]);const uf=()=>as(void 0,null,function*(){Wa(!0),yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}),nA(),(0,ht.GJ)()&&qu(),Wa(!1)}),ud=[{title:"\u5173\u5361",dataIndex:"name",render:(fi,To,ds)=>ds+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(fi,To,ds)=>jn.createElement("div",null,fi,To.complete_status===4&&jn.createElement(dt.vA,{status:To.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(fi,To,ds)=>fi||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:fi=>fi?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(fi,To)=>jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.myself_experience)!==parseFloat(fi)?"red":"green"}},To.myself_experience),"/",fi)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(fi,To)=>jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.game_score_full)!==parseFloat(fi)?"red":"green"}},fi),"/",To.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(fi,To)=>Fu?jn.createElement(dr,{max:To.game_score_full,defaultValue:parseFloat(fi),onBlur:ds=>as(void 0,null,function*(){var mu;if((0,ht.Rm)()&&!((mu=vi.AssistantObject.practice)!=null&&mu.can_appraise)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const gu=yield Ji({type:"shixunHomeworks/changeScore",payload:{categoryId:Mo.homeworkId,type:"report",score:ds,challenge_id:To.challenge_id}});ku({page:1,page_size:10},"all"),yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}),gu.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):fi}];let pA=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(fi,To,ds)=>({children:fi,props:{rowSpan:To.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(fi,To,ds)=>({children:fi,props:{rowSpan:To.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(fi,To,ds)=>jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.actual_test_score)!==parseFloat(fi)?"red":"green"}},To.actual_test_score),"/",fi)},{title:"\u6307\u6807\u603B\u5206",render:(fi,To,ds)=>({children:jn.createElement("div",null,jn.createElement("span",{style:{color:parseFloat(To.actual_target_score)!==parseFloat(fi)?"red":"green"}},To.actual_target_score),"/",fi),props:{rowSpan:To.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const lc=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:fi=>jn.createElement("span",null,fi?Oe()(fi).format("YYYY-MM-DD HH:mm"):"--")}],_d=fi=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{fi==="next"?He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${Kn==null?void 0:Kn.next_student_work_id}/comment`):He.history.push(`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/${Kn==null?void 0:Kn.pre_student_work_id}/comment`)},200)},ki=fi=>{cl(""),fi.target.value&&(console.log("\u8FDB\u6765",Kn),fi.target.value=fi.target.value>Kn.repeat_setting_score?Kn.repeat_setting_score:fi.target.value,cl(fi.target.value))},lo=()=>as(void 0,null,function*(){const fi=yield(0,Ae.ZP)(`/api/student_works/${Kn==null?void 0:Kn.work_id}/update_repeat_score`,{method:"put",body:{score:mc}});yield Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}),fi.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return jn.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},jn.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},jn.createElement(Ke.Z,{loading:Ia["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},jn.createElement("div",{className:"edu-container"},Kn.course_id&&jn.createElement("section",{className:"animated fadeIn"},jn.createElement("aside",{className:""},Kn.category&&jn.createElement(Be.Z,{separator:">"},jn.createElement(Be.Z.Item,null,jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework`},Kn.course_name)),jn.createElement(Be.Z.Item,null,jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework/${Kn.category.main?"":Kn.category.category_id}`},Kn.category.category_name)),jn.createElement(Be.Z.Item,null,jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework/${Kn.homework_common_id}/detail${(0,ht.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),jn.createElement(Be.Z.Item,null,Kn.username))),jn.createElement("aside",{className:[on.title1,"mt20"].join(" ")},jn.createElement(Pe.Z,{align:"middle"},jn.createElement(Te.Z,{flex:1},jn.createElement(He.Link,{to:`/classrooms/${Kn.course_id}/shixun_homework/${Kn.homework_common_id}/detail`},jn.createElement(Kt.Z,{className:"font16 c-black"})),jn.createElement("strong",{className:"font20 ml5"},Kn==null?void 0:Kn.homework_name),jn.createElement(dt.VV,{temporary:!0,status:Kn.homework_status})),jn.createElement(Te.Z,{className:on.title1_right},Kn.view_tpi&&jn.createElement(_e.ZP,{onClick:()=>{var fi,To;(0,dt.xg)(`/tasks/${Kn==null?void 0:Kn.course_id}/${Kn==null?void 0:Kn.homework_common_id}/${(To=(fi=Kn==null?void 0:Kn.shixun_detail)==null?void 0:fi[0])==null?void 0:To.game_identifier}`)}},jn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,ht.GJ)()&&Kn.homework_end===!1&&!!Kn.myshixun_id&&jn.createElement(_e.ZP,{className:"ml10",onClick:()=>as(void 0,null,function*(){yield Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Kn.myshixun_identifier},homework_common_id:Ss.categoryId}})})},jn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),jn.createElement(_e.ZP,{className:"ml10",onClick:()=>{var fi;if((0,ht.Rm)()&&!((fi=vi.AssistantObject.practice)!=null&&fi.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}kd("")},loading:Hi},jn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,ht.GJ)()&&(Kn==null?void 0:Kn.students_count)>1&&jn.createElement(_e.ZP,{className:"ml10",onClick:()=>{var fi;if((0,ht.Rm)()&&!((fi=vi.AssistantObject.practice)!=null&&fi.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}xe.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:jn.createElement(Ne.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:jn.createElement(Ne.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{kd("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Wr.jj)({categoryId:Mo.categoryId,coursesId:Mo.coursesId},"shixun_report")}}})}},jn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),jn.createElement("aside",{className:"mt30 relative"})),jn.createElement("aside",{className:"edu-container bg-white",ref:li},jn.createElement("div",{id:"export-all",ref:Or},jn.createElement("div",{id:"export-all-1"},jn.createElement("div",{className:on.title},jn.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),jn.createElement("div",null,(0,ht.GJ)()&&jn.createElement(_e.ZP,{className:"mr20",type:"primary",onClick:()=>{Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Kn.user_id,data:Js({},Kn)},fn:()=>ku({page:1,page_size:10},"all")}})}},jn.createElement(We.Z,null),Kn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),jn.createElement(ke.Z,{style:{marginTop:0}}),jn.createElement(Pe.Z,{className:"pl30 pr30"},jn.createElement(Te.Z,null,jn.createElement("img",{className:on.userPic,src:`${rt.Z.IMG_SERVER}/images/${Kn.image_url}`,alt:Kn.username})),jn.createElement(Te.Z,null,jn.createElement("span",{className:"font16 ml40"},Kn.username),jn.createElement(dt.vA,{status:Kn.compelete_status}),jn.createElement("ul",{className:on.userInfo},jn.createElement("li",null,"\u5B66\u53F7\uFF1A",Kn.student_id||"--"),jn.createElement("li",null,"\u5206\u73ED\uFF1A",Kn.group_name||"--"),jn.createElement("br",null),jn.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",jn.createElement("span",{className:"c-red"},Kn.complete_count),"/",jn.createElement("span",{className:"c-red"},Kn.challenges_count)),jn.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",jn.createElement("span",{className:"c-red"},Kn.current_complete_count||"-"),"/",jn.createElement("span",{className:"c-red"},Kn.challenges_count)),jn.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",Kn&&Kn.efficiency===null?"--":Kn&&Kn.efficiency),jn.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",Kn&&Kn.max_efficiency===null?"--":Kn&&Kn.max_efficiency))),jn.createElement("ul",{className:[on.listItem,"mt10"].join(" ")},jn.createElement("li",null,jn.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),jn.createElement("div",{className:"c-light-black mt20"},Kn&&Kn.passed_time===null||Kn&&Kn.passed_time==="--"?"--":Oe()(Kn&&Kn.passed_time).format("YYYY-MM-DD HH:mm"))),jn.createElement("li",null,jn.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",jn.createElement("i",{onClick:fi=>{fi.stopPropagation(),fi.preventDefault(),Tl(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),jn.createElement("div",{className:"c-light-black mt20"},Kn==null?void 0:Kn.human_training_time_rules)),jn.createElement("li",null,jn.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",jn.createElement("i",{onClick:fi=>{fi.stopPropagation(),fi.preventDefault(),Wo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),jn.createElement("div",{className:"c-light-black mt20"},Kn.time_consuming)),jn.createElement("li",null,jn.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),jn.createElement("div",{className:"mt20"},Kn.evaluate_count)),(Kn==null?void 0:Kn.eff_score_full)&&jn.createElement(jn.Fragment,null,jn.createElement("li",null,jn.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},Kn.challenge_score),"/",jn.createElement("span",{className:"c-light-black"},Kn.challenge_score_full))),jn.createElement("li",null,jn.createElement("strong",null,"\u6548\u7387\u5206"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},Kn.eff_score),"/",jn.createElement("span",{className:"c-light-black"},Kn.eff_score_full)))),(Kn==null?void 0:Kn.have_repeat)&&(Kn==null?void 0:Kn.repeat_minus_score)!==0&&jn.createElement("li",{style:{position:"relative"}},jn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},jn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),jn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},Kn!=null&&Kn.review_rate?jn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(Kn!=null&&Kn.review_id&&ys)localStorage.setItem("studentDetial",window.location.pathname),He.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Mo.categoryId}/review_detail/${Kn==null?void 0:Kn.review_id}`});else return}},Kn.review_rate.toFixed(1),"%"):jn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),ys?jn.createElement("div",{className:"mt20"},jn.createElement(Qe.default,{style:{width:"45px",height:"22px"},value:mc,onChange:fi=>{ki(fi)},onBlur:lo,disabled:Xl})," / ",Kn==null?void 0:Kn.repeat_setting_score):jn.createElement("div",{className:"mt20"},Kn==null?void 0:Kn.repeat_minus_score," / ",Kn==null?void 0:Kn.repeat_setting_score)),console.log("sssssssssssssssssssssss",Kn==null?void 0:Kn.have_repeat,Kn==null?void 0:Kn.repeat_minus_score),(Kn==null?void 0:Kn.have_repeat)&&(Kn==null?void 0:Kn.repeat_minus_score)===0&&jn.createElement("li",null,jn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),jn.createElement("div",{className:"mt20"}," - -")),!(Kn!=null&&Kn.have_repeat)&&jn.createElement("li",null,jn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),jn.createElement("div",{className:"mt20"}," - -")),jn.createElement("li",null,jn.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),jn.createElement("div",{className:"mt20"},jn.createElement("span",null,Kn.late_penalty||"- -"))),jn.createElement("li",null,jn.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},kl),"/",jn.createElement("span",{className:"c-light-black"},Kn.all_work_score))),jn.createElement("li",null,jn.createElement("strong",null,"\u603B\u8BC4"),jn.createElement("div",{className:"mt20"},jn.createElement("span",{className:"c-orange"},Kn.overall_appraisal))))),jn.createElement(ke.Z,{style:{margin:0}}),(Kn.work_comment_hidden||Kn.work_comment)&&jn.createElement("div",null,jn.createElement(Pe.Z,{align:"middle"},jn.createElement(Te.Z,{flex:1},jn.createElement("h1",{className:on.title},"\u70B9\u8BC4\u5185\u5BB9")),jn.createElement(Te.Z,{className:"pr30"},(0,ht.GJ)()&&jn.createElement(_e.ZP,{onClick:()=>as(void 0,null,function*(){xe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:jn.createElement(Ze.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return as(this,null,function*(){(yield(0,fr.gZ)({comment_id:Kn.comment_id,homeworkId:Mo.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Ji({type:"shixunHomeworks/getShixunWorkReport",payload:Js(Js({},Mo),Vs.current||{})}))})}})})},jn.createElement(et.Z,null),"\u5220\u9664"))),jn.createElement(ke.Z,{style:{margin:0}}),Kn.work_comment&&jn.createElement("aside",{className:"pl30 pr30 mt20"},jn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),jn.createElement("br",null),jn.createElement(Sr.Z,{value:Kn.work_comment})),Kn.work_comment_hidden&&jn.createElement("aside",{className:"pl30 pr30 mt20"},jn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),jn.createElement("br",null),jn.createElement(Sr.Z,{value:Kn.work_comment_hidden}))),(Kn==null?void 0:Kn.action_analysis)&&jn.createElement(vo,{detailData:Kn}),jn.createElement("div",{className:on.score},jn.createElement("h1",{className:on.title},"\u9636\u6BB5\u6210\u7EE9"),(Kn==null?void 0:Kn.adjust_review_score_count)>0&&(0,ht.GJ)()&&jn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{zu(!0),ku({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Kn==null?void 0:Kn.adjust_review_score_count,"\u6B21\uFF09")),jn.createElement("aside",{className:"pl30 pr30"},jn.createElement(Ye.default,{dataSource:Kn.stage_list,rowKey:fi=>fi==null?void 0:fi.challenge_id,pagination:!1,columns:ud})),((Vo=Kn==null?void 0:Kn.target_test_sets)==null?void 0:Vo.length)>0&&jn.createElement("div",null,jn.createElement("h1",{className:on.title},"\u6307\u6807\u6210\u7EE9"),jn.createElement("aside",{className:"pl30 pr30"},jn.createElement(Ye.default,{dataSource:Ja,rowKey:fi=>fi==null?void 0:fi.challenge_id,pagination:!1,bordered:!0,columns:pA}))),(Kn==null?void 0:Kn.work_description)&&jn.createElement(jn.Fragment,null,jn.createElement("h1",{className:on.title},"\u4E2A\u4EBA\u603B\u7ED3"),jn.createElement("aside",{className:"pl30 pr30"},jn.createElement(Sr.Z,{value:Kn==null?void 0:Kn.work_description}))),jn.createElement("h1",{className:on.title},"\u56FE\u5F62\u7EDF\u8BA1"),jn.createElement(nr,{data:wr}),jn.createElement("h1",{className:on.title},"\u5B9E\u8BAD\u8BE6\u60C5")),jn.createElement(oo,{autoHeight:so}))),(0,ht.GJ)()&&jn.createElement("aside",{className:`${on.footerBar} ${Hi?on.footerBarStatic:""}`},jn.createElement("aside",{className:"edu-container"},jn.createElement(Pe.Z,{align:"middle"},jn.createElement(Te.Z,{flex:"1"},jn.createElement(He.Link,{className:on.exitComment,to:`/classrooms/${Mo.coursesId}/shixun_homework/${Mo.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),jn.createElement(Te.Z,{flex:"1",className:"tr"},jn.createElement(_e.ZP,{type:"default",disabled:!(Kn!=null&&Kn.pre_student_work_id),onClick:()=>_d()},"\u4E0A\u4E00\u4E2A"),jn.createElement(_e.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(Kn!=null&&Kn.next_student_work_id),onClick:()=>_d("next")},"\u4E0B\u4E00\u4E2A"),(0,ht.GJ)()&&jn.createElement(_e.ZP,{type:"primary",onClick:()=>as(void 0,null,function*(){Ji({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Kn.user_id,data:Js({},Kn)},fn:()=>ku({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),jn.createElement(Ha,null),jn.createElement(Oa.Z,null),jn.createElement(xe.default,{open:Pl,width:860,centered:!0,onCancel:()=>{Tl(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},jn.createElement("div",{style:{color:"#333333",fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),jn.createElement("br",null),jn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),jn.createElement("br",null),jn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),jn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),jn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),jn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),jn.createElement("br",null),jn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),jn.createElement("br",null),jn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),jn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),jn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),jn.createElement("br",null),jn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),jn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),jn.createElement("br",null),jn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),jn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},jn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),jn.createElement("br",null),jn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),jn.createElement(xe.default,{open:ml,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Wo(!1)},width:600},jn.createElement("div",{style:{fontWeight:400,color:"#333333"}},jn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",jn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),jn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",jn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),jn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",jn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),jn.createElement(xe.default,{open:js,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{nu("all"),zu(!1)},destroyOnClose:!0,width:900},jn.createElement("div",{style:{fontWeight:400,color:"#333333"}},jn.createElement("div",null,jn.createElement("span",null,"\u5173\u5361\uFF1A"),jn.createElement(ze.default,{style:{width:300},value:eu,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:fi=>as(void 0,null,function*(){nu(fi),ku({page:1,page_size:10},fi)})},jn.createElement(ze.default.Option,{value:"all"}," \u5168\u90E8 "),(cs=Kn==null?void 0:Kn.stage_list)==null?void 0:cs.map((fi,To)=>jn.createElement(ze.default.Option,{key:To,value:fi==null?void 0:fi.challenge_id},"\u7B2C",(0,dt.EM)(To+1),"\u5173")))),jn.createElement("div",{className:"mt20"},jn.createElement(Ye.default,{dataSource:ka,rowKey:fi=>fi==null?void 0:fi.id,pagination:!1,columns:lc,loading:Ki})),jn.createElement("div",{className:on.footer},jn.createElement("div",null,jn.createElement("span",{style:{color:"#656F87"}},"\u5171",jn.createElement("span",{className:"c-light-primary"},qs),"\u6761\u6570\u636E")),jn.createElement(qe.Z,{defaultCurrent:1,defaultPageSize:10,current:(vr==null?void 0:vr.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:qs,onChange:Jl})))))};var fa=(0,He.connect)(({shixunHomeworks:Ln,classroomList:In,loading:Er,globalSetting:vi,user:ha})=>({shixunHomeworks:Ln,classroomList:In,globalSetting:vi,loading:Er.effects,user:ha}))(ol);const la=({globalSetting:Ln})=>{var In;switch(Number((In=Ln==null?void 0:Ln.setting)==null?void 0:In.theme)){case he.Fy.THEMEONE:return Me.createElement(Wt,null);case he.Fy.DEFAULT:default:return Me.createElement(fa,null)}};var ia=(0,He.connect)(({globalSetting:Ln})=>({globalSetting:Ln}))(la)},59579:function(Qn,Yt,de){"use strict";var he=de(43418),Me=de(8591),He=de(79769),ft=de(91482),Oe=de(7544),Le=de(59301),ve=(xe,fe,Ke)=>new Promise((Be,_e)=>{var Ne=Pe=>{try{ke(Ke.next(Pe))}catch(Te){_e(Te)}},Qe=Pe=>{try{ke(Ke.throw(Pe))}catch(Te){_e(Te)}},ke=Pe=>Pe.done?Be(Pe.value):Promise.resolve(Pe.value).then(Ne,Qe);ke((Ke=Ke.apply(xe,fe)).next())});const Ae=({shixunHomeworks:xe,classroomList:fe,dispatch:Ke})=>{const Be=(0,ft.useParams)();return Le.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var _e,Ne,Qe,ke;if((0,Oe.Rm)()&&!((_e=fe.AssistantObject.practice)!=null&&_e.can_redo)){Me.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Pe=yield(0,He.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Be.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(Pe.shixun_identifier){Me.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ke({type:"shixunHomeworks/setActionTabs",payload:{}});const Te=(Qe=(Ne=Pe==null?void 0:Pe.new_works)==null?void 0:Ne.find(Ye=>`${Ye.homework_common_id}`===Be.categoryId))==null?void 0:Qe.id;if((0,Oe.Rm)()&&!((ke=fe.AssistantObject.practice)!=null&&ke.can_view))return;ft.history.replace(`/classrooms/${Be.coursesId}/shixun_homework/${Be.categoryId}/${Te}/comment`)}}),onCancel:()=>{Ke({type:"shixunHomeworks/setActionTabs",payload:{}})}},Le.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Le.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Yt.Z=(0,ft.connect)(({shixunHomeworks:xe,classroomList:fe})=>({shixunHomeworks:xe,classroomList:fe}))(Ae)},96798:function(Qn,Yt,de){"use strict";de.d(Yt,{AD:function(){return Ht},BA:function(){return Fe},D9:function(){return Ue},Hp:function(){return Ze},IM:function(){return Xt},Iy:function(){return et},KM:function(){return Se},KU:function(){return An},MJ:function(){return rt},Ne:function(){return at},ON:function(){return dn},Uj:function(){return mn},VY:function(){return Qt},YO:function(){return Cn},YX:function(){return Gn},Zn:function(){return Qe},_g:function(){return ze},_k:function(){return wt},c6:function(){return Lt},cr:function(){return ke},eV:function(){return Re},fi:function(){return Pe},gh:function(){return Ct},hS:function(){return Vt},iA:function(){return Te},j6:function(){return qe},je:function(){return Tt},jj:function(){return We},kS:function(){return Tn},o6:function(){return Xe},pO:function(){return Bn},rQ:function(){return Et},sA:function(){return dt},xm:function(){return it},xo:function(){return xt},y8:function(){return bt},yd:function(){return Ye}});var he=de(20996),Me=de(91482),He=de(25544),ft=de(8591),Oe=de(6521),Le=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,fe=(ie,ae,se)=>ae in ie?Le(ie,ae,{enumerable:!0,configurable:!0,writable:!0,value:se}):ie[ae]=se,Ke=(ie,ae)=>{for(var se in ae||(ae={}))Ae.call(ae,se)&&fe(ie,se,ae[se]);if(ve)for(var se of ve(ae))xe.call(ae,se)&&fe(ie,se,ae[se]);return ie},Be=(ie,ae,se)=>new Promise((oe,Je)=>{var vt=Pt=>{try{lt(se.next(Pt))}catch(_t){Je(_t)}},$e=Pt=>{try{lt(se.throw(Pt))}catch(_t){Je(_t)}},lt=Pt=>Pt.done?oe(Pt.value):Promise.resolve(Pt.value).then(vt,$e);lt((se=se.apply(ie,ae)).next())});const _e=()=>{(0,Me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Ne=()=>{(0,Me.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},Qe=ie=>Be(void 0,null,function*(){_e(),(yield(0,he.YR)(Ke({},ie))).status===0&&(yield(0,He.QH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_couser_info.json`,query:ie}))),Ne()}),ke=ie=>Be(void 0,null,function*(){const ae=yield(0,he.yS)(Ke({},ie));if(ae.status===0)ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_member_act_score`);else{if(ae.status===-2)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_member_act_score`))}}),Pe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.W0)(Ke({},ie));if(ae.status===0)ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_score`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_score`))}}),Te=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Nl)(Ke({},ie));if(ae.status===0)ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`))}}),Ye=ie=>Be(void 0,null,function*(){const ae=yield(0,he.IU)(Ke({},ie));if(ae.status===0)ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/export_star_user`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/export_star_user`))}}),ze=ie=>Be(void 0,null,function*(){const ae=yield(0,he.td)(Ke({},ie));if(ae.status===0)ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ae.status===-2)return ae;if(ae.status===-3)(0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_exercise_and_other`);else if(ae.status===-4)return ae}}),qe=ie=>Be(void 0,null,function*(){const ae=yield(0,he.QX)(Ke({},ie));if(ae.status===0)ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_homework`);else{if(ae.status===-4)return ae;ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/course_total_homework`))}}),We=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.o_)(Ke({},ie));se.status===0?(ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),Ze=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.ZL)(Ke({},ie));se.status===0?(ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),et=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.aP)(Ke({},ie));se.status===0?(ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),rt=(ie,ae)=>Be(void 0,null,function*(){const se=yield(0,he.vV)(Ke({},ie));se.status===0?(ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`)):se.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/${ae}`))}),ht=ie=>Be(void 0,null,function*(){_e(),(yield exportCourseWorkListAppendix(Ke({},ie))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ie.categoryId}/works_list.zip`,query:ie}))),Ne()}),dt=ie=>Be(void 0,null,function*(){_e(),yield(0,He.QH)("",Oe.Z.API_SERVER+`/api/polls/${ie.categoryId}/commit_result.xlsx`),Ne()}),Ct=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/attendances/export_xlsx_data.xlsx`,query:ie}))}),Xe=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/video_study_statics.xlsx`,query:ie}))}),Lt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_video_study.xlsx`,query:ie}))}),Re=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie.coursesId}/export_course_students_info.xlsx`,query:ie}))}),Ht=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ie}))}),Et=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ie}))}),bt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ie}))}),Tt=ie=>Be(void 0,null,function*(){const ae=yield(0,he.Uy)(Ke({},ie));ae.status===0?(ft.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/exercise_score,export_exercise_users`)):ae.status===-3&&((0,Me.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Me.history.push(`/classrooms/${ie.coursesId}/exportlist/exercise_score,export_exercise_users`))}),wt=ie=>Be(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/export_records/${ie.id}.xlsx`,query:ie}))}),it=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ie}))}),Ue=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie==null?void 0:ie.coursesId}/${ie.menuKey}_statistic.xlsx?${ie.checkedList.map(ae=>`course_group_id[]=${ae}`).join("&")}`,query:ie}))}),at=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_training_objectives.xlsx`,query:ie}))}),Xt=ie=>Be(void 0,null,function*(){yield(0,He.FH)(ie==null?void 0:ie.name,(0,He.NY)({url:Oe.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ie}))}),Vt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_courses.xlsx`,query:ie}))}),xt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/ec_years/${ie==null?void 0:ie.ec_year_id}/ec_graduation_requirements.xlsx`,query:ie}))}),Qt=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ie}))}),An=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/exercises/${ie.categoryId}/rank_list.xlsx`,query:ie}))}),Tn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ie}))}),dn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/examination_banks/${ie.id}.json`,query:ie}))}),Gn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/exercises/${ie.categoryId}.json`,query:ie}))}),Cn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/polls/${ie==null?void 0:ie.id}/commit_result.json`,query:ie}))}),mn=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ie}))}),Bn=(ie,ae)=>Be(void 0,null,function*(){yield(0,He.FH)(ae||"",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/exercises/${ie==null?void 0:ie.exercise_id}/consult_exercise.json`,query:ie}))}),Se=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/competitions/${ie==null?void 0:ie.identifier}/competition_commit_records/member_works.xlsx`,query:ie}))}),Fe=ie=>Be(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:Oe.Z.API_SERVER+`/api/courses/${ie==null?void 0:ie.coursesId}/group_homeworks/import_group_template.xlsx`,query:ie}))})},87001:function(Qn,Yt,de){"use strict";de.d(Yt,{U:function(){return xe}});var he=de(59301),Me=Object.defineProperty,He=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Le=(fe,Ke,Be)=>Ke in fe?Me(fe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Be}):fe[Ke]=Be,ve=(fe,Ke)=>{for(var Be in Ke||(Ke={}))ft.call(Ke,Be)&&Le(fe,Be,Ke[Be]);if(He)for(var Be of He(Ke))Oe.call(Ke,Be)&&Le(fe,Be,Ke[Be]);return fe},Ae=(fe,Ke,Be)=>new Promise((_e,Ne)=>{var Qe=Te=>{try{Pe(Be.next(Te))}catch(Ye){Ne(Ye)}},ke=Te=>{try{Pe(Be.throw(Te))}catch(Ye){Ne(Ye)}},Pe=Te=>Te.done?_e(Te.value):Promise.resolve(Te.value).then(Qe,ke);Pe((Be=Be.apply(fe,Ke)).next())});function xe(fe,Ke){const[Be,_e]=(0,he.useState)(Ke),[Ne,Qe]=(0,he.useState)(!1),[ke,Pe]=(0,he.useState)();return[Be,Ne,(Ye,ze=!1)=>Ae(this,null,function*(){const qe=ze?Ke:ve(ve({},Be),Ye);Qe(!0),_e(qe);const We=yield fe(qe);return Qe(!1),Pe(We),We}),ke]}},50371:function(Qn,Yt){"use strict";function de(){const he=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Me=1;Me{const Oe=He[ft];Oe!==void 0&&(he[ft]=Oe)})}return he}Yt.Z=de},13845:function(Qn,Yt,de){"use strict";de.d(Yt,{F:function(){return he},Z:function(){return Me}});function he(He){return He!=null&&He===He.window}function Me(He,ft){var Oe,Le;if(typeof window=="undefined")return 0;const ve=ft?"scrollTop":"scrollLeft";let Ae=0;return he(He)?Ae=He[ft?"pageYOffset":"pageXOffset"]:He instanceof Document?Ae=He.documentElement[ve]:(He instanceof HTMLElement||He)&&(Ae=He[ve]),He&&!he(He)&&typeof Ae!="number"&&(Ae=(Le=((Oe=He.ownerDocument)!==null&&Oe!==void 0?Oe:He).documentElement)===null||Le===void 0?void 0:Le[ve]),Ae}},56762:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});var he=de(59301);function Me(){const[,He]=he.useReducer(ft=>ft+1,0);return He}},68031:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return ft}});var he=de(16089);function Me(Oe,Le,ve,Ae){const xe=ve-Le;return Oe/=Ae/2,Oe<1?xe/2*Oe*Oe*Oe+Le:xe/2*((Oe-=2)*Oe*Oe+2)+Le}var He=de(13845);function ft(Oe){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:Ae,duration:xe=450}=Le,fe=ve(),Ke=(0,He.Z)(fe,!0),Be=Date.now(),_e=()=>{const Qe=Date.now()-Be,ke=Me(Qe>xe?xe:Qe,Ke,Oe,xe);(0,He.F)(fe)?fe.scrollTo(window.pageXOffset,ke):fe instanceof Document||fe.constructor.name==="HTMLDocument"?fe.documentElement.scrollTop=ke:fe.scrollTop=ke,Qeve||Le},66104:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ht}});var he=de(92310),Me=de.n(he),He=de(11592),ft=de(26112),Oe=de(59301),Le=de(92343),ve=de(36355),Ae=de(84105),xe=de(91857);const fe=Et=>{let{children:bt}=Et;const{getPrefixCls:Tt}=Oe.useContext(ve.E_),wt=Tt("breadcrumb");return Oe.createElement("li",{className:`${wt}-separator`,"aria-hidden":"true"},bt===""?bt:bt||"/")};fe.__ANT_BREADCRUMB_SEPARATOR=!0;var Ke=fe,Be=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);itbt[it]||wt)}function Ne(Et,bt,Tt,wt){if(Tt==null)return null;const{className:it,onClick:Ue}=bt,at=Be(bt,["className","onClick"]),Xt=Object.assign(Object.assign({},(0,ft.Z)(at,{data:!0,aria:!0})),{onClick:Ue});return wt!==void 0?Oe.createElement("a",Object.assign({},Xt,{className:Me()(`${Et}-link`,it),href:wt}),Tt):Oe.createElement("span",Object.assign({},Xt,{className:Me()(`${Et}-link`,it)}),Tt)}function Qe(Et,bt){return(wt,it,Ue,at,Xt)=>{if(bt)return bt(wt,it,Ue,at);const Vt=_e(wt,it);return Ne(Et,wt,Vt,Xt)}}var ke=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);it{const{prefixCls:bt,separator:Tt="/",children:wt,menu:it,overlay:Ue,dropdownProps:at,href:Xt}=Et,xt=(Qt=>{if(it||Ue){const An=Object.assign({},at);if(it){const Tn=it||{},{items:dn}=Tn,Gn=ke(Tn,["items"]);An.menu=Object.assign(Object.assign({},Gn),{items:dn==null?void 0:dn.map((Cn,mn)=>{var{key:Bn,title:Se,label:Fe,path:ie}=Cn,ae=ke(Cn,["key","title","label","path"]);let se=Fe!=null?Fe:Se;return ie&&(se=Oe.createElement("a",{href:`${Xt}${ie}`},se)),Object.assign(Object.assign({},ae),{key:Bn!=null?Bn:mn,label:se})})})}else Ue&&(An.overlay=Ue);return Oe.createElement(xe.Z,Object.assign({placement:"bottom"},An),Oe.createElement("span",{className:`${bt}-overlay-link`},Qt,Oe.createElement(Ae.Z,null)))}return Qt})(wt);return xt!=null?Oe.createElement(Oe.Fragment,null,Oe.createElement("li",null,xt),Tt&&Oe.createElement(Ke,null,Tt)):null},Te=Et=>{const{prefixCls:bt,children:Tt,href:wt}=Et,it=ke(Et,["prefixCls","children","href"]),{getPrefixCls:Ue}=Oe.useContext(ve.E_),at=Ue("breadcrumb",bt);return Oe.createElement(Pe,Object.assign({},it,{prefixCls:at}),Ne(at,it,Tt,wt))};Te.__ANT_BREADCRUMB_ITEM=!0;var Ye=Te,ze=de(17313),qe=de(83116),We=de(37613);const Ze=Et=>{const{componentCls:bt,iconCls:Tt}=Et;return{[bt]:Object.assign(Object.assign({},(0,ze.Wf)(Et)),{color:Et.itemColor,fontSize:Et.fontSize,[Tt]:{fontSize:Et.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Et.linkColor,transition:`color ${Et.motionDurationMid}`,padding:`0 ${Et.paddingXXS}px`,borderRadius:Et.borderRadiusSM,height:Et.lineHeight*Et.fontSize,display:"inline-block",marginInline:-Et.marginXXS,"&:hover":{color:Et.linkHoverColor,backgroundColor:Et.colorBgTextHover}},(0,ze.Qy)(Et)),"li:last-child":{color:Et.lastItemColor},[`${bt}-separator`]:{marginInline:Et.separatorMargin,color:Et.separatorColor},[`${bt}-link`]:{[` > ${Tt} + span, > ${Tt} + a `]:{marginInlineStart:Et.marginXXS}},[`${bt}-overlay-link`]:{borderRadius:Et.borderRadiusSM,height:Et.lineHeight*Et.fontSize,display:"inline-block",padding:`0 ${Et.paddingXXS}px`,marginInline:-Et.marginXXS,[`> ${Tt}`]:{marginInlineStart:Et.marginXXS,fontSize:Et.fontSizeIcon},"&:hover":{color:Et.linkHoverColor,backgroundColor:Et.colorBgTextHover,a:{color:Et.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Et.componentCls}-rtl`]:{direction:"rtl"}})}};var et=(0,qe.Z)("Breadcrumb",Et=>{const bt=(0,We.TS)(Et,{});return[Ze(bt)]},Et=>({itemColor:Et.colorTextDescription,lastItemColor:Et.colorText,iconFontSize:Et.fontSize,linkColor:Et.colorTextDescription,linkHoverColor:Et.colorText,separatorColor:Et.colorTextDescription,separatorMargin:Et.marginXS})),rt=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);it{var{breadcrumbName:at}=Ue,Xt=rt(Ue,["breadcrumbName"]);return Object.assign(Object.assign({},Xt),{title:at})})}),it}function dt(Et,bt){return(0,Oe.useMemo)(()=>Et||(bt?bt.map(ht):null),[Et,bt])}var Ct=function(Et,bt){var Tt={};for(var wt in Et)Object.prototype.hasOwnProperty.call(Et,wt)&&bt.indexOf(wt)<0&&(Tt[wt]=Et[wt]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,wt=Object.getOwnPropertySymbols(Et);it{if(bt===void 0)return bt;let Tt=(bt||"").replace(/^\//,"");return Object.keys(Et).forEach(wt=>{Tt=Tt.replace(`:${wt}`,Et[wt])}),Tt},Lt=Et=>{const{prefixCls:bt,separator:Tt="/",style:wt,className:it,rootClassName:Ue,routes:at,items:Xt,children:Vt,itemRender:xt,params:Qt={}}=Et,An=Ct(Et,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Tn,direction:dn,breadcrumb:Gn}=Oe.useContext(ve.E_);let Cn;const mn=Tn("breadcrumb",bt),[Bn,Se]=et(mn),Fe=dt(Xt,at),ie=Qe(mn,xt);if(Fe&&Fe.length>0){const oe=[],Je=Xt||at;Cn=Fe.map((vt,$e)=>{const{path:lt,key:Pt,type:_t,menu:kt,overlay:$t,onClick:Sn,className:St,separator:nn,dropdownProps:tn}=vt,jt=Xe(Qt,lt);jt!==void 0&&oe.push(jt);const pt=Pt!=null?Pt:$e;if(_t==="separator")return Oe.createElement(Ke,{key:pt},nn);const Zt={},gn=$e===Fe.length-1;kt?Zt.menu=kt:$t&&(Zt.overlay=$t);let{href:wn}=vt;return oe.length&&jt!==void 0&&(wn=`#/${oe.join("/")}`),Oe.createElement(Pe,Object.assign({key:pt},Zt,(0,ft.Z)(vt,{data:!0,aria:!0}),{className:St,dropdownProps:tn,href:wn,separator:gn?"":Tt,onClick:Sn,prefixCls:mn}),ie(vt,Qt,Je,oe,wn))})}else if(Vt){const oe=(0,He.Z)(Vt).length;Cn=(0,He.Z)(Vt).map((Je,vt)=>{if(!Je)return Je;const $e=vt===oe-1;return(0,Le.Tm)(Je,{separator:$e?"":Tt,key:vt})})}const ae=Me()(mn,Gn==null?void 0:Gn.className,{[`${mn}-rtl`]:dn==="rtl"},it,Ue,Se),se=Object.assign(Object.assign({},Gn==null?void 0:Gn.style),wt);return Bn(Oe.createElement("nav",Object.assign({className:ae,style:se},An),Oe.createElement("ol",null,Cn)))};Lt.Item=Ye,Lt.Separator=Ke;var Re=Lt,Ht=Re},24905:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return et}});var he=de(92310),Me=de.n(he),He=de(5630),ft=de(59301),Oe=de(36355),Le=de(1684),ve=de(32441),xe=ft.createContext(null),fe=de(98447),Ke=de(14088),Be=de(4572),_e=function(rt,ht){var dt={};for(var Ct in rt)Object.prototype.hasOwnProperty.call(rt,Ct)&&ht.indexOf(Ct)<0&&(dt[Ct]=rt[Ct]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Ct=Object.getOwnPropertySymbols(rt);Xe{var dt;const{prefixCls:Ct,className:Xe,rootClassName:Lt,children:Re,indeterminate:Ht=!1,style:Et,onMouseEnter:bt,onMouseLeave:Tt,skipGroup:wt=!1,disabled:it}=rt,Ue=_e(rt,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Xt,checkbox:Vt}=ft.useContext(Oe.E_),xt=ft.useContext(xe),{isFormItemInput:Qt}=ft.useContext(ve.aM),An=ft.useContext(Le.Z),Tn=(dt=(xt==null?void 0:xt.disabled)||it)!==null&&dt!==void 0?dt:An,dn=ft.useRef(Ue.value);ft.useEffect(()=>{xt==null||xt.registerValue(Ue.value)},[]),ft.useEffect(()=>{if(!wt)return Ue.value!==dn.current&&(xt==null||xt.cancelValue(dn.current),xt==null||xt.registerValue(Ue.value),dn.current=Ue.value),()=>xt==null?void 0:xt.cancelValue(Ue.value)},[Ue.value]);const Gn=at("checkbox",Ct),[Cn,mn]=(0,fe.ZP)(Gn),Bn=Object.assign({},Ue);xt&&!wt&&(Bn.onChange=function(){Ue.onChange&&Ue.onChange.apply(Ue,arguments),xt.toggleOption&&xt.toggleOption({label:Re,value:Ue.value})},Bn.name=xt.name,Bn.checked=xt.value.includes(Ue.value));const Se=Me()(`${Gn}-wrapper`,{[`${Gn}-rtl`]:Xt==="rtl",[`${Gn}-wrapper-checked`]:Bn.checked,[`${Gn}-wrapper-disabled`]:Tn,[`${Gn}-wrapper-in-form-item`]:Qt},Vt==null?void 0:Vt.className,Xe,Lt,mn),Fe=Me()({[`${Gn}-indeterminate`]:Ht},Be.A,mn),ie=Ht?"mixed":void 0;return Cn(ft.createElement(Ke.Z,{component:"Checkbox",disabled:Tn},ft.createElement("label",{className:Se,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),Et),onMouseEnter:bt,onMouseLeave:Tt},ft.createElement(He.Z,Object.assign({"aria-checked":ie},Bn,{prefixCls:Gn,className:Fe,disabled:Tn,ref:ht})),Re!==void 0&&ft.createElement("span",null,Re))))};var ke=ft.forwardRef(Ne),Pe=de(77654),Te=de(2738),Ye=function(rt,ht){var dt={};for(var Ct in rt)Object.prototype.hasOwnProperty.call(rt,Ct)&&ht.indexOf(Ct)<0&&(dt[Ct]=rt[Ct]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Ct=Object.getOwnPropertySymbols(rt);Xe{const{defaultValue:dt,children:Ct,options:Xe=[],prefixCls:Lt,className:Re,rootClassName:Ht,style:Et,onChange:bt}=rt,Tt=Ye(rt,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:wt,direction:it}=ft.useContext(Oe.E_),[Ue,at]=ft.useState(Tt.value||dt||[]),[Xt,Vt]=ft.useState([]);ft.useEffect(()=>{"value"in Tt&&at(Tt.value||[])},[Tt.value]);const xt=ft.useMemo(()=>Xe.map(ae=>typeof ae=="string"||typeof ae=="number"?{label:ae,value:ae}:ae),[Xe]),Qt=ae=>{Vt(se=>se.filter(oe=>oe!==ae))},An=ae=>{Vt(se=>[].concat((0,Pe.Z)(se),[ae]))},Tn=ae=>{const se=Ue.indexOf(ae.value),oe=(0,Pe.Z)(Ue);se===-1?oe.push(ae.value):oe.splice(se,1),"value"in Tt||at(oe),bt==null||bt(oe.filter(Je=>Xt.includes(Je)).sort((Je,vt)=>{const $e=xt.findIndex(Pt=>Pt.value===Je),lt=xt.findIndex(Pt=>Pt.value===vt);return $e-lt}))},dn=wt("checkbox",Lt),Gn=`${dn}-group`,[Cn,mn]=(0,fe.ZP)(dn),Bn=(0,Te.Z)(Tt,["value","disabled"]),Se=Xe.length?xt.map(ae=>ft.createElement(ke,{prefixCls:dn,key:ae.value.toString(),disabled:"disabled"in ae?ae.disabled:Tt.disabled,value:ae.value,checked:Ue.includes(ae.value),onChange:ae.onChange,className:`${Gn}-item`,style:ae.style,title:ae.title},ae.label)):Ct,Fe={toggleOption:Tn,value:Ue,disabled:Tt.disabled,name:Tt.name,registerValue:An,cancelValue:Qt},ie=Me()(Gn,{[`${Gn}-rtl`]:it==="rtl"},Re,Ht,mn);return Cn(ft.createElement("div",Object.assign({className:ie,style:Et},Bn,{ref:ht}),ft.createElement(xe.Provider,{value:Fe},Se)))},qe=ft.forwardRef(ze);var We=ft.memo(qe);const Ze=ke;Ze.Group=We,Ze.__ANT_CHECKBOX=!0;var et=Ze},98447:function(Qn,Yt,de){"use strict";de.d(Yt,{C2:function(){return Oe}});var he=de(17313),Me=de(37613),He=de(83116);const ft=Le=>{const{checkboxCls:ve}=Le,Ae=`${ve}-wrapper`;return[{[`${ve}-group`]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{display:"inline-flex",flexWrap:"wrap",columnGap:Le.marginXS,[`> ${Le.antCls}-row`]:{flex:1}}),[Ae]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ae}`]:{marginInlineStart:0},[`&${Ae}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ve]:Object.assign(Object.assign({},(0,he.Wf)(Le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Le.borderRadiusSM,alignSelf:"center",[`${ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ve}-inner`]:Object.assign({},(0,he.oN)(Le))},[`${ve}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Le.checkboxSize,height:Le.checkboxSize,direction:"ltr",backgroundColor:Le.colorBgContainer,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadiusSM,borderCollapse:"separate",transition:`all ${Le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Le.checkboxSize/14*5,height:Le.checkboxSize/14*8,border:`${Le.lineWidthBold}px solid ${Le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Le.motionDurationFast} ${Le.motionEaseInBack}, opacity ${Le.motionDurationFast}`}},"& + span":{paddingInlineStart:Le.paddingXS,paddingInlineEnd:Le.paddingXS}})},{[` ${Ae}:not(${Ae}-disabled), ${ve}:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{borderColor:Le.colorPrimary}},[`${Ae}:not(${Ae}-disabled)`]:{[`&:hover ${ve}-checked:not(${ve}-disabled) ${ve}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ve}-checked:not(${ve}-disabled):after`]:{borderColor:Le.colorPrimaryHover}}},{[`${ve}-checked`]:{[`${ve}-inner`]:{backgroundColor:Le.colorPrimary,borderColor:Le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Le.motionDurationMid} ${Le.motionEaseOutBack} ${Le.motionDurationFast}`}}},[` ${Ae}-checked:not(${Ae}-disabled), ${ve}-checked:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"}}},{[ve]:{"&-indeterminate":{[`${ve}-inner`]:{backgroundColor:Le.colorBgContainer,borderColor:Le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Le.fontSizeLG/2,height:Le.fontSizeLG/2,backgroundColor:Le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ae}-disabled`]:{cursor:"not-allowed"},[`${ve}-disabled`]:{[`&, ${ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ve}-inner`]:{background:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,"&:after":{borderColor:Le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Le.colorTextDisabled},[`&${ve}-indeterminate ${ve}-inner::after`]:{background:Le.colorTextDisabled}}}]};function Oe(Le,ve){const Ae=(0,Me.TS)(ve,{checkboxCls:`.${Le}`,checkboxSize:ve.controlInteractiveSize});return[ft(Ae)]}Yt.ZP=(0,He.Z)("Checkbox",(Le,ve)=>{let{prefixCls:Ae}=ve;return[Oe(Ae,Le)]})},93891:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(36355),He=de(64165);const ft=Oe=>{const{componentName:Le}=Oe,{getPrefixCls:ve}=(0,he.useContext)(Me.E_),Ae=ve("empty");switch(Le){case"Table":case"List":return he.createElement(He.Z,{image:He.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return he.createElement(He.Z,{image:He.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ae}-small`});default:return he.createElement(He.Z,null)}};Yt.Z=ft},28103:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Be}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(17313),Le=de(83116),ve=de(37613);const Ae=_e=>{const{componentCls:Ne,sizePaddingEdgeHorizontal:Qe,colorSplit:ke,lineWidth:Pe,textPaddingInline:Te,orientationMargin:Ye,verticalMarginInline:ze}=_e;return{[Ne]:Object.assign(Object.assign({},(0,Oe.Wf)(_e)),{borderBlockStart:`${Pe}px solid ${ke}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ze,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Pe}px solid ${ke}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${_e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Ne}-with-text`]:{display:"flex",alignItems:"center",margin:`${_e.dividerHorizontalWithTextGutterMargin}px 0`,color:_e.colorTextHeading,fontWeight:500,fontSize:_e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ke}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Pe}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Ne}-with-text-left`]:{"&::before":{width:`${Ye*100}%`},"&::after":{width:`${100-Ye*100}%`}},[`&-horizontal${Ne}-with-text-right`]:{"&::before":{width:`${100-Ye*100}%`},"&::after":{width:`${Ye*100}%`}},[`${Ne}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Te},"&-dashed":{background:"none",borderColor:ke,borderStyle:"dashed",borderWidth:`${Pe}px 0 0`},[`&-horizontal${Ne}-with-text${Ne}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Ne}-dashed`]:{borderInlineStartWidth:Pe,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Ne}-with-text`]:{color:_e.colorText,fontWeight:"normal",fontSize:_e.fontSize},[`&-horizontal${Ne}-with-text-left${Ne}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Ne}-inner-text`]:{paddingInlineStart:Qe}},[`&-horizontal${Ne}-with-text-right${Ne}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Ne}-inner-text`]:{paddingInlineEnd:Qe}}})}};var xe=(0,Le.Z)("Divider",_e=>{const Ne=(0,ve.TS)(_e,{dividerHorizontalWithTextGutterMargin:_e.margin,dividerHorizontalGutterMargin:_e.marginLG,sizePaddingEdgeHorizontal:0});return[Ae(Ne)]},_e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_e.marginXS})),fe=function(_e,Ne){var Qe={};for(var ke in _e)Object.prototype.hasOwnProperty.call(_e,ke)&&Ne.indexOf(ke)<0&&(Qe[ke]=_e[ke]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ke=Object.getOwnPropertySymbols(_e);Pe{const{getPrefixCls:Ne,direction:Qe,divider:ke}=He.useContext(ft.E_),{prefixCls:Pe,type:Te="horizontal",orientation:Ye="center",orientationMargin:ze,className:qe,rootClassName:We,children:Ze,dashed:et,plain:rt,style:ht}=_e,dt=fe(_e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ct=Ne("divider",Pe),[Xe,Lt]=xe(Ct),Re=Ye.length>0?`-${Ye}`:Ye,Ht=!!Ze,Et=Ye==="left"&&ze!=null,bt=Ye==="right"&&ze!=null,Tt=Me()(Ct,ke==null?void 0:ke.className,Lt,`${Ct}-${Te}`,{[`${Ct}-with-text`]:Ht,[`${Ct}-with-text${Re}`]:Ht,[`${Ct}-dashed`]:!!et,[`${Ct}-plain`]:!!rt,[`${Ct}-rtl`]:Qe==="rtl",[`${Ct}-no-default-orientation-margin-left`]:Et,[`${Ct}-no-default-orientation-margin-right`]:bt},qe,We),wt=He.useMemo(()=>typeof ze=="number"?ze:/^\d+$/.test(ze)?Number(ze):ze,[ze]),it=Object.assign(Object.assign({},Et&&{marginLeft:wt}),bt&&{marginRight:wt});return Xe(He.createElement("div",Object.assign({className:Tt,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),ht)},dt,{role:"separator"}),Ze&&Te!=="vertical"&&He.createElement("span",{className:`${Ct}-inner-text`,style:it},Ze)))}},43428:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Cn}});var he=de(92310),Me=de.n(he),He=de(85899),ft=de(72190),Oe=de(43403),Le=de(34280),ve=de(59301),Ae=ve.createContext(null),xe=ve.createContext({}),fe=Ae,Ke=de(18642),Be=de(60499),_e=de(77900),Ne=de(10228),Qe=de(26112),ke=de(70425),Pe=function(Bn){var Se=Bn.prefixCls,Fe=Bn.className,ie=Bn.style,ae=Bn.children,se=Bn.containerRef,oe=Bn.id,Je=Bn.onMouseEnter,vt=Bn.onMouseOver,$e=Bn.onMouseLeave,lt=Bn.onClick,Pt=Bn.onKeyDown,_t=Bn.onKeyUp,kt={onMouseEnter:Je,onMouseOver:vt,onMouseLeave:$e,onClick:lt,onKeyDown:Pt,onKeyUp:_t},$t=ve.useContext(xe),Sn=$t.panel,St=(0,ke.useComposeRef)(Sn,se);return ve.createElement(ve.Fragment,null,ve.createElement("div",(0,Be.Z)({id:oe,className:Me()("".concat(Se,"-content"),Fe),style:(0,He.Z)({},ie),"aria-modal":"true",role:"dialog",ref:St},kt),ae))},Te=Pe,Ye=de(48736);function ze(mn){return typeof mn=="string"&&String(Number(mn))===mn?((0,Ye.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(mn)):mn}function qe(mn){warning(!("wrapperClassName"in mn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!mn.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var We={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Ze(mn,Bn){var Se,Fe,ie,ae,se=mn.prefixCls,oe=mn.open,Je=mn.placement,vt=mn.inline,$e=mn.push,lt=mn.forceRender,Pt=mn.autoFocus,_t=mn.keyboard,kt=mn.rootClassName,$t=mn.rootStyle,Sn=mn.zIndex,St=mn.className,nn=mn.id,tn=mn.style,jt=mn.motion,pt=mn.width,Zt=mn.height,gn=mn.children,wn=mn.contentWrapperStyle,Xn=mn.mask,yr=mn.maskClosable,Dr=mn.maskMotion,Tr=mn.maskClassName,Rr=mn.maskStyle,Sr=mn.afterOpenChange,fr=mn.onClose,Vr=mn.onMouseEnter,Bi=mn.onMouseOver,yi=mn.onMouseLeave,mi=mn.onClick,Vi=mn.onKeyDown,ua=mn.onKeyUp,Wr=ve.useRef(),Mn=ve.useRef(),ea=ve.useRef();ve.useImperativeHandle(Bn,function(){return Wr.current});var Ea=function(nr){var dr=nr.keyCode,Pr=nr.shiftKey;switch(dr){case Ne.Z.TAB:{if(dr===Ne.Z.TAB){if(!Pr&&document.activeElement===ea.current){var Ur;(Ur=Mn.current)===null||Ur===void 0||Ur.focus({preventScroll:!0})}else if(Pr&&document.activeElement===Mn.current){var ei;(ei=ea.current)===null||ei===void 0||ei.focus({preventScroll:!0})}}break}case Ne.Z.ESC:{fr&&_t&&(nr.stopPropagation(),fr(nr));break}}};ve.useEffect(function(){if(oe&&Pt){var lr;(lr=Wr.current)===null||lr===void 0||lr.focus({preventScroll:!0})}},[oe]);var wo=ve.useState(!1),sa=(0,ft.Z)(wo,2),Pi=sa[0],Aa=sa[1],Si=ve.useContext(fe),qr;$e===!1?qr={distance:0}:$e===!0?qr={}:qr=$e||{};var Ma=(Se=(Fe=(ie=qr)===null||ie===void 0?void 0:ie.distance)!==null&&Fe!==void 0?Fe:Si==null?void 0:Si.pushDistance)!==null&&Se!==void 0?Se:180,kn=ve.useMemo(function(){return{pushDistance:Ma,push:function(){Aa(!0)},pull:function(){Aa(!1)}}},[Ma]);ve.useEffect(function(){if(oe){var lr;Si==null||(lr=Si.push)===null||lr===void 0||lr.call(Si)}else{var nr;Si==null||(nr=Si.pull)===null||nr===void 0||nr.call(Si)}},[oe]),ve.useEffect(function(){return function(){var lr;Si==null||(lr=Si.pull)===null||lr===void 0||lr.call(Si)}},[]);var Dt=Xn&&ve.createElement(_e.default,(0,Be.Z)({key:"mask"},Dr,{visible:oe}),function(lr,nr){var dr=lr.className,Pr=lr.style;return ve.createElement("div",{className:Me()("".concat(se,"-mask"),dr,Tr),style:(0,He.Z)((0,He.Z)({},Pr),Rr),onClick:yr&&oe?fr:void 0,ref:nr})}),Gt=typeof jt=="function"?jt(Je):jt,Wt={};if(Pi&&Ma)switch(Je){case"top":Wt.transform="translateY(".concat(Ma,"px)");break;case"bottom":Wt.transform="translateY(".concat(-Ma,"px)");break;case"left":Wt.transform="translateX(".concat(Ma,"px)");break;default:Wt.transform="translateX(".concat(-Ma,"px)");break}Je==="left"||Je==="right"?Wt.width=ze(pt):Wt.height=ze(Zt);var Kt={onMouseEnter:Vr,onMouseOver:Bi,onMouseLeave:yi,onClick:mi,onKeyDown:Vi,onKeyUp:ua},on=ve.createElement(_e.default,(0,Be.Z)({key:"panel"},Gt,{visible:oe,forceRender:lt,onVisibleChanged:function(nr){Sr==null||Sr(nr)},removeOnLeave:!1,leavedClassName:"".concat(se,"-content-wrapper-hidden")}),function(lr,nr){var dr=lr.className,Pr=lr.style;return ve.createElement("div",(0,Be.Z)({className:Me()("".concat(se,"-content-wrapper"),dr),style:(0,He.Z)((0,He.Z)((0,He.Z)({},Wt),Pr),wn)},(0,Qe.Z)(mn,{data:!0})),ve.createElement(Te,(0,Be.Z)({id:nn,containerRef:nr,prefixCls:se,className:St,style:tn},Kt),gn))}),_n=(0,He.Z)({},$t);return Sn&&(_n.zIndex=Sn),ve.createElement(fe.Provider,{value:kn},ve.createElement("div",{className:Me()(se,"".concat(se,"-").concat(Je),kt,(ae={},(0,Ke.Z)(ae,"".concat(se,"-open"),oe),(0,Ke.Z)(ae,"".concat(se,"-inline"),vt),ae)),style:_n,tabIndex:-1,ref:Wr,onKeyDown:Ea},Dt,ve.createElement("div",{tabIndex:0,ref:Mn,style:We,"aria-hidden":"true","data-sentinel":"start"}),on,ve.createElement("div",{tabIndex:0,ref:ea,style:We,"aria-hidden":"true","data-sentinel":"end"})))}var et=ve.forwardRef(Ze),rt=et,ht=function(Bn){var Se=Bn.open,Fe=Se===void 0?!1:Se,ie=Bn.prefixCls,ae=ie===void 0?"rc-drawer":ie,se=Bn.placement,oe=se===void 0?"right":se,Je=Bn.autoFocus,vt=Je===void 0?!0:Je,$e=Bn.keyboard,lt=$e===void 0?!0:$e,Pt=Bn.width,_t=Pt===void 0?378:Pt,kt=Bn.mask,$t=kt===void 0?!0:kt,Sn=Bn.maskClosable,St=Sn===void 0?!0:Sn,nn=Bn.getContainer,tn=Bn.forceRender,jt=Bn.afterOpenChange,pt=Bn.destroyOnClose,Zt=Bn.onMouseEnter,gn=Bn.onMouseOver,wn=Bn.onMouseLeave,Xn=Bn.onClick,yr=Bn.onKeyDown,Dr=Bn.onKeyUp,Tr=Bn.panelRef,Rr=ve.useState(!1),Sr=(0,ft.Z)(Rr,2),fr=Sr[0],Vr=Sr[1],Bi=ve.useState(!1),yi=(0,ft.Z)(Bi,2),mi=yi[0],Vi=yi[1];(0,Le.Z)(function(){Vi(!0)},[]);var ua=mi?Fe:!1,Wr=ve.useRef(),Mn=ve.useRef();(0,Le.Z)(function(){ua&&(Mn.current=document.activeElement)},[ua]);var ea=function(Aa){var Si;if(Vr(Aa),jt==null||jt(Aa),!Aa&&Mn.current&&!((Si=Wr.current)!==null&&Si!==void 0&&Si.contains(Mn.current))){var qr;(qr=Mn.current)===null||qr===void 0||qr.focus({preventScroll:!0})}},Ea=ve.useMemo(function(){return{panel:Tr}},[Tr]);if(!tn&&!fr&&!ua&&pt)return null;var wo={onMouseEnter:Zt,onMouseOver:gn,onMouseLeave:wn,onClick:Xn,onKeyDown:yr,onKeyUp:Dr},sa=(0,He.Z)((0,He.Z)({},Bn),{},{open:ua,prefixCls:ae,placement:oe,autoFocus:vt,keyboard:lt,width:_t,mask:$t,maskClosable:St,inline:nn===!1,afterOpenChange:ea,ref:Wr},wo);return ve.createElement(xe.Provider,{value:Ea},ve.createElement(Oe.Z,{open:ua||tn||fr,autoDestroy:!1,getContainer:nn,autoLock:$t&&(ua||fr)},ve.createElement(rt,sa)))},dt=ht,Ct=dt,Xe=de(62892),Lt=de(36355),Re=de(32441),Ht=de(47729),bt=mn=>{const{prefixCls:Bn,title:Se,footer:Fe,extra:ie,closeIcon:ae,closable:se,onClose:oe,headerStyle:Je,drawerStyle:vt,bodyStyle:$e,footerStyle:lt,children:Pt}=mn,_t=ve.useCallback(nn=>ve.createElement("button",{type:"button",onClick:oe,"aria-label":"Close",className:`${Bn}-close`},nn),[oe]),[kt,$t]=(0,Ht.Z)(se,ae,_t,void 0,!0),Sn=ve.useMemo(()=>!Se&&!kt?null:ve.createElement("div",{style:Je,className:Me()(`${Bn}-header`,{[`${Bn}-header-close-only`]:kt&&!Se&&!ie})},ve.createElement("div",{className:`${Bn}-header-title`},$t,Se&&ve.createElement("div",{className:`${Bn}-title`},Se)),ie&&ve.createElement("div",{className:`${Bn}-extra`},ie)),[kt,$t,ie,Je,Bn,Se]),St=ve.useMemo(()=>{if(!Fe)return null;const nn=`${Bn}-footer`;return ve.createElement("div",{className:nn,style:lt},Fe)},[Fe,lt,Bn]);return ve.createElement("div",{className:`${Bn}-wrapper-body`,style:vt},Sn,ve.createElement("div",{className:`${Bn}-body`,style:$e},Pt),St)},Tt=de(33234),wt=de(83116),it=de(37613),at=mn=>{const{componentCls:Bn,motionDurationSlow:Se}=mn,Fe={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Se}`}}};return{[Bn]:{[`${Bn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Se}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Bn}-panel-motion`]:{"&-left":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Fe,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Xt=mn=>{const{componentCls:Bn,zIndexPopup:Se,colorBgMask:Fe,colorBgElevated:ie,motionDurationSlow:ae,motionDurationMid:se,padding:oe,paddingLG:Je,fontSizeLG:vt,lineHeightLG:$e,lineWidth:lt,lineType:Pt,colorSplit:_t,marginSM:kt,colorIcon:$t,colorIconHover:Sn,colorText:St,fontWeightStrong:nn,footerPaddingBlock:tn,footerPaddingInline:jt}=mn,pt=`${Bn}-content-wrapper`;return{[Bn]:{position:"fixed",inset:0,zIndex:Se,pointerEvents:"none","&-pure":{position:"relative",background:ie,[`&${Bn}-left`]:{boxShadow:mn.boxShadowDrawerLeft},[`&${Bn}-right`]:{boxShadow:mn.boxShadowDrawerRight},[`&${Bn}-top`]:{boxShadow:mn.boxShadowDrawerUp},[`&${Bn}-bottom`]:{boxShadow:mn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Bn}-mask`]:{position:"absolute",inset:0,zIndex:Se,background:Fe,pointerEvents:"auto"},[pt]:{position:"absolute",zIndex:Se,maxWidth:"100vw",transition:`all ${ae}`,"&-hidden":{display:"none"}},[`&-left > ${pt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:mn.boxShadowDrawerLeft},[`&-right > ${pt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:mn.boxShadowDrawerRight},[`&-top > ${pt}`]:{top:0,insetInline:0,boxShadow:mn.boxShadowDrawerUp},[`&-bottom > ${pt}`]:{bottom:0,insetInline:0,boxShadow:mn.boxShadowDrawerDown},[`${Bn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ie,pointerEvents:"auto"},[`${Bn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Bn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${oe}px ${Je}px`,fontSize:vt,lineHeight:$e,borderBottom:`${lt}px ${Pt} ${_t}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Bn}-extra`]:{flex:"none"},[`${Bn}-close`]:{display:"inline-block",marginInlineEnd:kt,color:$t,fontWeight:nn,fontSize:vt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${se}`,textRendering:"auto","&:focus, &:hover":{color:Sn,textDecoration:"none"}},[`${Bn}-title`]:{flex:1,margin:0,color:St,fontWeight:mn.fontWeightStrong,fontSize:vt,lineHeight:$e},[`${Bn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Je,overflow:"auto"},[`${Bn}-footer`]:{flexShrink:0,padding:`${tn}px ${jt}px`,borderTop:`${lt}px ${Pt} ${_t}`},"&-rtl":{direction:"rtl"}}}};var Vt=(0,wt.Z)("Drawer",mn=>{const Bn=(0,it.TS)(mn,{});return[Xt(Bn),at(Bn)]},mn=>({zIndexPopup:mn.zIndexPopupBase,footerPaddingBlock:mn.paddingXS,footerPaddingInline:mn.padding})),xt=de(11575),Qt=function(mn,Bn){var Se={};for(var Fe in mn)Object.prototype.hasOwnProperty.call(mn,Fe)&&Bn.indexOf(Fe)<0&&(Se[Fe]=mn[Fe]);if(mn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Fe=Object.getOwnPropertySymbols(mn);ie{var Bn;const{rootClassName:Se,width:Fe,height:ie,size:ae="default",mask:se=!0,push:oe=Tn,open:Je,afterOpenChange:vt,onClose:$e,prefixCls:lt,getContainer:Pt,style:_t,className:kt,visible:$t,afterVisibleChange:Sn}=mn,St=Qt(mn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:nn,getPrefixCls:tn,direction:jt,drawer:pt}=ve.useContext(Lt.E_),Zt=tn("drawer",lt),[gn,wn]=Vt(Zt),Xn=Pt===void 0&&nn?()=>nn(document.body):Pt,yr=Me()({"no-mask":!se,[`${Zt}-rtl`]:jt==="rtl"},Se,wn),Dr=ve.useMemo(()=>Fe!=null?Fe:ae==="large"?736:378,[Fe,ae]),Tr=ve.useMemo(()=>ie!=null?ie:ae==="large"?736:378,[ie,ae]),Rr={motionName:(0,Xe.m)(Zt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Sr=Vr=>({motionName:(0,Xe.m)(Zt,`panel-motion-${Vr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),fr=(0,xt.H)();return gn(ve.createElement(Tt.BR,null,ve.createElement(Re.Ux,{status:!0,override:!0},ve.createElement(Ct,Object.assign({prefixCls:Zt,onClose:$e,maskMotion:Rr,motion:Sr},St,{open:Je!=null?Je:$t,mask:se,push:oe,width:Dr,height:Tr,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),_t),className:Me()(pt==null?void 0:pt.className,kt),rootClassName:yr,getContainer:Xn,afterOpenChange:vt!=null?vt:Sn,panelRef:fr}),ve.createElement(bt,Object.assign({prefixCls:Zt},St,{onClose:$e}))))))},Gn=mn=>{const{prefixCls:Bn,style:Se,className:Fe,placement:ie="right"}=mn,ae=Qt(mn,["prefixCls","style","className","placement"]),{getPrefixCls:se}=ve.useContext(Lt.E_),oe=se("drawer",Bn),[Je,vt]=Vt(oe),$e=Me()(oe,`${oe}-pure`,`${oe}-${ie}`,vt,Fe);return Je(ve.createElement("div",{className:$e,style:Se},ve.createElement(bt,Object.assign({prefixCls:oe},ae))))};dn._InternalPanelDoNotUseOrYouWillBeFired=Gn;var Cn=dn},91857:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(38819),He=de(92310),ft=de.n(He),Oe=de(31561),Le=de(70425),ve=de(18929),Ae=de(2738),xe=de(79676),fe=de(53487),Ke=de(92343),Be=de(36355),_e=de(20834),Ne=de(40875),Qe=de(88088),ke=de(47211);const Pe=null,Te=We=>{const{menu:Ze,arrow:et,prefixCls:rt,children:ht,trigger:dt,disabled:Ct,dropdownRender:Xe,getPopupContainer:Lt,overlayClassName:Re,rootClassName:Ht,open:Et,onOpenChange:bt,visible:Tt,onVisibleChange:wt,mouseEnterDelay:it=.15,mouseLeaveDelay:Ue=.1,autoAdjustOverflow:at=!0,placement:Xt="",overlay:Vt,transitionName:xt}=We,{getPopupContainer:Qt,getPrefixCls:An,direction:Tn}=he.useContext(Be.E_),dn=he.useMemo(()=>{const kt=An();return xt!==void 0?xt:Xt.includes("top")?`${kt}-slide-down`:`${kt}-slide-up`},[An,Xt,xt]),Gn=he.useMemo(()=>Xt?Xt.includes("Center")?Xt.slice(0,Xt.indexOf("Center")):Xt:Tn==="rtl"?"bottomRight":"bottomLeft",[Xt,Tn]),Cn=An("dropdown",rt),[mn,Bn]=(0,ke.Z)(Cn),[,Se]=(0,Qe.Z)(),Fe=he.Children.only(ht),ie=(0,Ke.Tm)(Fe,{className:ft()(`${Cn}-trigger`,{[`${Cn}-rtl`]:Tn==="rtl"},Fe.props.className),disabled:Ct}),ae=Ct?[]:dt;let se;ae&&ae.includes("contextMenu")&&(se=!0);const[oe,Je]=(0,ve.Z)(!1,{value:Et!=null?Et:Tt}),vt=(0,Le.useEvent)(kt=>{bt==null||bt(kt),wt==null||wt(kt),Je(kt)}),$e=ft()(Re,Ht,Bn,{[`${Cn}-rtl`]:Tn==="rtl"}),lt=(0,xe.Z)({arrowPointAtCenter:typeof et=="object"&&et.pointAtCenter,autoAdjustOverflow:at,offset:Se.marginXXS,arrowWidth:et?Se.sizePopupArrow:0,borderRadius:Se.borderRadius}),Pt=he.useCallback(()=>{Je(!1)},[]),_t=()=>{let kt;return Ze!=null&&Ze.items?kt=he.createElement(_e.default,Object.assign({},Ze)):typeof Vt=="function"?kt=Vt():kt=Vt,Xe&&(kt=Xe(kt)),kt=he.Children.only(typeof kt=="string"?he.createElement("span",null,kt):kt),he.createElement(Ne.J,{prefixCls:`${Cn}-menu`,expandIcon:he.createElement("span",{className:`${Cn}-menu-submenu-arrow`},he.createElement(Me.Z,{className:`${Cn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:$t=>{let{mode:Sn}=$t}},kt)};return mn(he.createElement(Oe.Z,Object.assign({alignPoint:se},(0,Ae.Z)(We,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:Ue,visible:oe,builtinPlacements:lt,arrow:!!et,overlayClassName:$e,prefixCls:Cn,getPopupContainer:Lt||Qt,transitionName:dn,trigger:ae,overlay:_t,placement:Gn,onVisibleChange:vt}),ie))};function Ye(We){return Object.assign(Object.assign({},We),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ze=(0,fe.Z)(Te,"dropdown",We=>We,Ye),qe=We=>he.createElement(ze,Object.assign({},We),he.createElement("span",null));Te._InternalPanelDoNotUseOrYouWillBeFired=qe,Yt.Z=Te},38854:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Qe}});var he=de(91857),Me=de(92310),He=de.n(Me),ft=de(59301),Oe=de(18785),Le=de(3113),ve=de(36355),Ae=de(81327),xe=de(33234),fe=de(47211),Ke=function(ke,Pe){var Te={};for(var Ye in ke)Object.prototype.hasOwnProperty.call(ke,Ye)&&Pe.indexOf(Ye)<0&&(Te[Ye]=ke[Ye]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ye=Object.getOwnPropertySymbols(ke);ze{const{getPopupContainer:Pe,getPrefixCls:Te,direction:Ye}=ft.useContext(ve.E_),{prefixCls:ze,type:qe="default",danger:We,disabled:Ze,loading:et,onClick:rt,htmlType:ht,children:dt,className:Ct,menu:Xe,arrow:Lt,autoFocus:Re,overlay:Ht,trigger:Et,align:bt,open:Tt,onOpenChange:wt,placement:it,getPopupContainer:Ue,href:at,icon:Xt=ft.createElement(Oe.Z,null),title:Vt,buttonsRender:xt=_t=>_t,mouseEnterDelay:Qt,mouseLeaveDelay:An,overlayClassName:Tn,overlayStyle:dn,destroyPopupOnHide:Gn,dropdownRender:Cn}=ke,mn=Ke(ke,["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"]),Bn=Te("dropdown",ze),Se=`${Bn}-button`,[Fe,ie]=(0,fe.Z)(Bn),ae={menu:Xe,arrow:Lt,autoFocus:Re,align:bt,disabled:Ze,trigger:Ze?[]:Et,onOpenChange:wt,getPopupContainer:Ue||Pe,mouseEnterDelay:Qt,mouseLeaveDelay:An,overlayClassName:Tn,overlayStyle:dn,destroyPopupOnHide:Gn,dropdownRender:Cn},{compactSize:se,compactItemClassnames:oe}=(0,xe.ri)(Bn,Ye),Je=He()(Se,oe,Ct,ie);"overlay"in ke&&(ae.overlay=Ht),"open"in ke&&(ae.open=Tt),"placement"in ke?ae.placement=it:ae.placement=Ye==="rtl"?"bottomLeft":"bottomRight";const vt=ft.createElement(Le.ZP,{type:qe,danger:We,disabled:Ze,loading:et,onClick:rt,htmlType:ht,href:at,title:Vt},dt),$e=ft.createElement(Le.ZP,{type:qe,danger:We,icon:Xt}),[lt,Pt]=xt([vt,$e]);return Fe(ft.createElement(Ae.Z.Compact,Object.assign({className:Je,size:se,block:!0},mn),lt,ft.createElement(he.Z,Object.assign({},ae),Pt)))};Be.__ANT_BUTTON=!0;var _e=Be;const Ne=he.Z;Ne.Button=_e;var Qe=Ne},47211:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ke}});var he=de(17313),Me=de(13826),He=de(92899),ft=de(29878),Oe=de(19447),Le=de(83116),ve=de(37613),xe=Be=>{const{componentCls:_e,menuCls:Ne,colorError:Qe,colorTextLightSolid:ke}=Be,Pe=`${Ne}-item`;return{[`${_e}, ${_e}-menu-submenu`]:{[`${Ne} ${Pe}`]:{[`&${Pe}-danger:not(${Pe}-disabled)`]:{color:Qe,"&:hover":{color:ke,backgroundColor:Qe}}}}}};const fe=Be=>{const{componentCls:_e,menuCls:Ne,zIndexPopup:Qe,dropdownArrowDistance:ke,sizePopupArrow:Pe,antCls:Te,iconCls:Ye,motionDurationMid:ze,dropdownPaddingVertical:qe,fontSize:We,dropdownEdgeChildPadding:Ze,colorTextDisabled:et,fontSizeIcon:rt,controlPaddingHorizontal:ht,colorBgElevated:dt}=Be;return[{[_e]:Object.assign(Object.assign({},(0,he.Wf)(Be)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Qe,display:"block","&::before":{position:"absolute",insetBlock:-ke+Pe/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Te}-btn`]:{[`& > ${Ye}-down, & > ${Te}-btn-icon > ${Ye}-down`]:{fontSize:rt}},[`${_e}-wrap`]:{position:"relative",[`${Te}-btn > ${Ye}-down`]:{fontSize:rt},[`${Ye}-down::before`]:{transition:`transform ${ze}`}},[`${_e}-wrap-open`]:{[`${Ye}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Te}-slide-down-enter${Te}-slide-down-enter-active${_e}-placement-bottomLeft, &${Te}-slide-down-appear${Te}-slide-down-appear-active${_e}-placement-bottomLeft, &${Te}-slide-down-enter${Te}-slide-down-enter-active${_e}-placement-bottom, &${Te}-slide-down-appear${Te}-slide-down-appear-active${_e}-placement-bottom, &${Te}-slide-down-enter${Te}-slide-down-enter-active${_e}-placement-bottomRight, &${Te}-slide-down-appear${Te}-slide-down-appear-active${_e}-placement-bottomRight`]:{animationName:Me.fJ},[`&${Te}-slide-up-enter${Te}-slide-up-enter-active${_e}-placement-topLeft, &${Te}-slide-up-appear${Te}-slide-up-appear-active${_e}-placement-topLeft, &${Te}-slide-up-enter${Te}-slide-up-enter-active${_e}-placement-top, &${Te}-slide-up-appear${Te}-slide-up-appear-active${_e}-placement-top, &${Te}-slide-up-enter${Te}-slide-up-enter-active${_e}-placement-topRight, &${Te}-slide-up-appear${Te}-slide-up-appear-active${_e}-placement-topRight`]:{animationName:Me.Qt},[`&${Te}-slide-down-leave${Te}-slide-down-leave-active${_e}-placement-bottomLeft, &${Te}-slide-down-leave${Te}-slide-down-leave-active${_e}-placement-bottom, &${Te}-slide-down-leave${Te}-slide-down-leave-active${_e}-placement-bottomRight`]:{animationName:Me.Uw},[`&${Te}-slide-up-leave${Te}-slide-up-leave-active${_e}-placement-topLeft, &${Te}-slide-up-leave${Te}-slide-up-leave-active${_e}-placement-top, &${Te}-slide-up-leave${Te}-slide-up-leave-active${_e}-placement-topRight`]:{animationName:Me.ly}})},(0,Oe.ZP)(Be,{colorBg:dt,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${_e} ${Ne}`]:{position:"relative",margin:0},[`${Ne}-submenu-popup`]:{position:"absolute",zIndex:Qe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${_e}, ${_e}-menu-submenu`]:{[Ne]:Object.assign(Object.assign({padding:Ze,listStyleType:"none",backgroundColor:dt,backgroundClip:"padding-box",borderRadius:Be.borderRadiusLG,outline:"none",boxShadow:Be.boxShadowSecondary},(0,he.Qy)(Be)),{[`${Ne}-item-group-title`]:{padding:`${qe}px ${ht}px`,color:Be.colorTextDescription,transition:`all ${ze}`},[`${Ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Ne}-item-icon`]:{minWidth:We,marginInlineEnd:Be.marginXS,fontSize:Be.fontSizeSM},[`${Ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ze}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Ne}-item, ${Ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${qe}px ${ht}px`,color:Be.colorText,fontWeight:"normal",fontSize:We,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${ze}`,borderRadius:Be.borderRadiusSM,"&:hover, &-active":{backgroundColor:Be.controlItemBgHover}},(0,he.Qy)(Be)),{"&-selected":{color:Be.colorPrimary,backgroundColor:Be.controlItemBgActive,"&:hover, &-active":{backgroundColor:Be.controlItemBgActiveHover}},"&-disabled":{color:et,cursor:"not-allowed","&:hover":{color:et,backgroundColor:dt,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Be.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Be.colorSplit},[`${_e}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Be.paddingXS,[`${_e}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Be.colorTextDescription,fontSize:rt,fontStyle:"normal"}}}),[`${Ne}-item-group-list`]:{margin:`0 ${Be.marginXS}px`,padding:0,listStyle:"none"},[`${Ne}-submenu-title`]:{paddingInlineEnd:ht+Be.fontSizeSM},[`${Ne}-submenu-vertical`]:{position:"relative"},[`${Ne}-submenu${Ne}-submenu-disabled ${_e}-menu-submenu-title`]:{[`&, ${_e}-menu-submenu-arrow-icon`]:{color:et,backgroundColor:dt,cursor:"not-allowed"}},[`${Ne}-submenu-selected ${_e}-menu-submenu-title`]:{color:Be.colorPrimary}})}},[(0,Me.oN)(Be,"slide-up"),(0,Me.oN)(Be,"slide-down"),(0,He.Fm)(Be,"move-up"),(0,He.Fm)(Be,"move-down"),(0,ft._y)(Be,"zoom-big")]]};var Ke=(0,Le.Z)("Dropdown",(Be,_e)=>{let{rootPrefixCls:Ne}=_e;const{marginXXS:Qe,sizePopupArrow:ke,controlHeight:Pe,fontSize:Te,lineHeight:Ye,paddingXXS:ze,componentCls:qe,borderRadiusLG:We}=Be,Ze=(Pe-Te*Ye)/2,{dropdownArrowOffset:et}=(0,Oe.fS)({contentRadius:We}),rt=(0,ve.TS)(Be,{menuCls:`${qe}-menu`,rootPrefixCls:Ne,dropdownArrowDistance:ke/2+Qe,dropdownArrowOffset:et,dropdownPaddingVertical:Ze,dropdownEdgeChildPadding:ze});return[fe(rt),xe(rt)]},Be=>({zIndexPopup:Be.zIndexPopupBase+50}))},64165:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return ze}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(9763),Le=de(64993),ve=de(88088),xe=()=>{const[,qe]=(0,ve.Z)(),Ze=new Le.C(qe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return He.createElement("svg",{style:Ze,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},He.createElement("g",{fill:"none",fillRule:"evenodd"},He.createElement("g",{transform:"translate(24 31.67)"},He.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),He.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),He.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),He.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),He.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),He.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),He.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},He.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),He.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Ke=()=>{const[,qe]=(0,ve.Z)(),{colorFill:We,colorFillTertiary:Ze,colorFillQuaternary:et,colorBgContainer:rt}=qe,{borderColor:ht,shadowColor:dt,contentColor:Ct}=(0,He.useMemo)(()=>({borderColor:new Le.C(We).onBackground(rt).toHexShortString(),shadowColor:new Le.C(Ze).onBackground(rt).toHexShortString(),contentColor:new Le.C(et).onBackground(rt).toHexShortString()}),[We,Ze,et,rt]);return He.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},He.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},He.createElement("ellipse",{fill:dt,cx:"32",cy:"33",rx:"32",ry:"7"}),He.createElement("g",{fillRule:"nonzero",stroke:ht},He.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),He.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Ct}))))},Be=de(83116),_e=de(37613);const Ne=qe=>{const{componentCls:We,margin:Ze,marginXS:et,marginXL:rt,fontSize:ht,lineHeight:dt}=qe;return{[We]:{marginInline:et,fontSize:ht,lineHeight:dt,textAlign:"center",[`${We}-image`]:{height:qe.emptyImgHeight,marginBottom:et,opacity:qe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${We}-description`]:{color:qe.colorText},[`${We}-footer`]:{marginTop:Ze},"&-normal":{marginBlock:rt,color:qe.colorTextDisabled,[`${We}-description`]:{color:qe.colorTextDisabled},[`${We}-image`]:{height:qe.emptyImgHeightMD}},"&-small":{marginBlock:et,color:qe.colorTextDisabled,[`${We}-image`]:{height:qe.emptyImgHeightSM}}}}};var Qe=(0,Be.Z)("Empty",qe=>{const{componentCls:We,controlHeightLG:Ze}=qe,et=(0,_e.TS)(qe,{emptyImgCls:`${We}-img`,emptyImgHeight:Ze*2.5,emptyImgHeightMD:Ze,emptyImgHeightSM:Ze*.875});return[Ne(et)]}),ke=function(qe,We){var Ze={};for(var et in qe)Object.prototype.hasOwnProperty.call(qe,et)&&We.indexOf(et)<0&&(Ze[et]=qe[et]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,et=Object.getOwnPropertySymbols(qe);rt{var{className:We,rootClassName:Ze,prefixCls:et,image:rt=Pe,description:ht,children:dt,imageStyle:Ct,style:Xe}=qe,Lt=ke(qe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Re,direction:Ht,empty:Et}=He.useContext(ft.E_),bt=Re("empty",et),[Tt,wt]=Qe(bt),[it]=(0,Oe.Z)("Empty"),Ue=typeof ht!="undefined"?ht:it==null?void 0:it.description,at=typeof Ue=="string"?Ue:"empty";let Xt=null;return typeof rt=="string"?Xt=He.createElement("img",{alt:at,src:rt}):Xt=rt,Tt(He.createElement("div",Object.assign({className:Me()(wt,bt,Et==null?void 0:Et.className,{[`${bt}-normal`]:rt===Te,[`${bt}-rtl`]:Ht==="rtl"},We,Ze),style:Object.assign(Object.assign({},Et==null?void 0:Et.style),Xe)},Lt),He.createElement("div",{className:`${bt}-image`,style:Ct},Xt),Ue&&He.createElement("div",{className:`${bt}-description`},Ue),dt&&He.createElement("div",{className:`${bt}-footer`},dt)))};Ye.PRESENTED_IMAGE_DEFAULT=Pe,Ye.PRESENTED_IMAGE_SIMPLE=Te;var ze=Ye},78241:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return Ma}});var he=de(77654),Me=de(92310),He=de.n(Me),ft=de(77900),Oe=de(59301),Le=de(62892),ve=de(32441);function Ae(kn){const[Dt,Gt]=Oe.useState(kn);return Oe.useEffect(()=>{const Wt=setTimeout(()=>{Gt(kn)},kn.length?0:10);return()=>{clearTimeout(Wt)}},[kn]),Dt}var xe=de(17313),fe=de(29878),Ke=de(8378),Be=de(37613),_e=de(83116),Qe=kn=>{const{componentCls:Dt}=kn,Gt=`${Dt}-show-help`,Wt=`${Dt}-show-help-item`;return{[Gt]:{transition:`opacity ${kn.motionDurationSlow} ${kn.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Wt]:{overflow:"hidden",transition:`height ${kn.motionDurationSlow} ${kn.motionEaseInOut}, opacity ${kn.motionDurationSlow} ${kn.motionEaseInOut}, transform ${kn.motionDurationSlow} ${kn.motionEaseInOut} !important`,[`&${Wt}-appear, &${Wt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Wt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ke=kn=>({legend:{display:"block",width:"100%",marginBottom:kn.marginLG,padding:0,color:kn.colorTextDescription,fontSize:kn.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${kn.lineWidth}px ${kn.lineType} ${kn.colorBorder}`},label:{fontSize:kn.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${kn.controlOutlineWidth}px ${kn.controlOutline}`},output:{display:"block",paddingTop:15,color:kn.colorText,fontSize:kn.fontSize,lineHeight:kn.lineHeight}}),Pe=(kn,Dt)=>{const{formItemCls:Gt}=kn;return{[Gt]:{[`${Gt}-label > label`]:{height:Dt},[`${Gt}-control-input`]:{minHeight:Dt}}}},Te=kn=>{const{componentCls:Dt}=kn;return{[kn.componentCls]:Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(kn)),ke(kn)),{[`${Dt}-text`]:{display:"inline-block",paddingInlineEnd:kn.paddingSM},"&-small":Object.assign({},Pe(kn,kn.controlHeightSM)),"&-large":Object.assign({},Pe(kn,kn.controlHeightLG))})}},Ye=kn=>{const{formItemCls:Dt,iconCls:Gt,componentCls:Wt,rootPrefixCls:Kt,labelRequiredMarkColor:on,labelColor:_n,labelFontSize:lr,labelHeight:nr,labelColonMarginInlineStart:dr,labelColonMarginInlineEnd:Pr,itemMarginBottom:Ur}=kn;return{[Dt]:Object.assign(Object.assign({},(0,xe.Wf)(kn)),{marginBottom:Ur,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${Kt}-row`]:{display:"none"},"&-has-warning":{[`${Dt}-split`]:{color:kn.colorError}},"&-has-error":{[`${Dt}-split`]:{color:kn.colorWarning}},[`${Dt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${kn.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nr,color:_n,fontSize:lr,[`> ${Gt}`]:{fontSize:kn.fontSize,verticalAlign:"top"},[`&${Dt}-required:not(${Dt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:kn.marginXXS,color:on,fontSize:kn.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Wt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-optional`]:{display:"inline-block",marginInlineStart:kn.marginXXS,color:kn.colorTextDescription,[`${Wt}-hide-required-mark &`]:{display:"none"}},[`${Dt}-tooltip`]:{color:kn.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:kn.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:dr,marginInlineEnd:Pr},[`&${Dt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Dt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Kt}-col-'"]):not([class*="' ${Kt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:kn.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Dt]:{"&-explain, &-extra":{clear:"both",color:kn.colorTextDescription,fontSize:kn.fontSize,lineHeight:kn.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:kn.controlHeightSM,transition:`color ${kn.motionDurationMid} ${kn.motionEaseOut}`},"&-explain":{"&-error":{color:kn.colorError},"&-warning":{color:kn.colorWarning}}},[`&-with-help ${Dt}-explain`]:{height:"auto",opacity:1},[`${Dt}-feedback-icon`]:{fontSize:kn.fontSize,textAlign:"center",visibility:"visible",animationName:fe.kr,animationDuration:kn.motionDurationMid,animationTimingFunction:kn.motionEaseOutBack,pointerEvents:"none","&-success":{color:kn.colorSuccess},"&-error":{color:kn.colorError},"&-warning":{color:kn.colorWarning},"&-validating":{color:kn.colorPrimary}}})}},ze=kn=>{const{componentCls:Dt,formItemCls:Gt}=kn;return{[`${Dt}-horizontal`]:{[`${Gt}-label`]:{flexGrow:0},[`${Gt}-control`]:{flex:"1 1 0",minWidth:0},[`${Gt}-label[class$='-24'], ${Gt}-label[class*='-24 ']`]:{[`& + ${Gt}-control`]:{minWidth:"unset"}}}}},qe=kn=>{const{componentCls:Dt,formItemCls:Gt}=kn;return{[`${Dt}-inline`]:{display:"flex",flexWrap:"wrap",[Gt]:{flex:"none",marginInlineEnd:kn.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Gt}-label, > ${Gt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Gt}-label`]:{flex:"none"},[`${Dt}-text`]:{display:"inline-block"},[`${Gt}-has-feedback`]:{display:"inline-block"}}}}},We=kn=>({padding:kn.verticalLabelPadding,margin:kn.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Ze=kn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Wt}=kn;return{[`${Gt} ${Gt}-label`]:We(kn),[Dt]:{[Gt]:{flexWrap:"wrap",[`${Gt}-label, ${Gt}-control`]:{[`&:not([class*=" ${Wt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},et=kn=>{const{componentCls:Dt,formItemCls:Gt,rootPrefixCls:Wt}=kn;return{[`${Dt}-vertical`]:{[Gt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Dt}-item-control`]:{width:"100%"}}},[`${Dt}-vertical ${Gt}-label, .${Wt}-col-24${Gt}-label, .${Wt}-col-xl-24${Gt}-label`]:We(kn),[`@media (max-width: ${kn.screenXSMax}px)`]:[Ze(kn),{[Dt]:{[`.${Wt}-col-xs-24${Gt}-label`]:We(kn)}}],[`@media (max-width: ${kn.screenSMMax}px)`]:{[Dt]:{[`.${Wt}-col-sm-24${Gt}-label`]:We(kn)}},[`@media (max-width: ${kn.screenMDMax}px)`]:{[Dt]:{[`.${Wt}-col-md-24${Gt}-label`]:We(kn)}},[`@media (max-width: ${kn.screenLGMax}px)`]:{[Dt]:{[`.${Wt}-col-lg-24${Gt}-label`]:We(kn)}}}},rt=(kn,Dt)=>(0,Be.TS)(kn,{formItemCls:`${kn.componentCls}-item`,rootPrefixCls:Dt});var ht=(0,_e.Z)("Form",(kn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Wt=rt(kn,Gt);return[Te(Wt),Ye(Wt),Qe(Wt),ze(Wt),qe(Wt),et(Wt),(0,Ke.Z)(Wt),fe.kr]},kn=>({labelRequiredMarkColor:kn.colorError,labelColor:kn.colorTextHeading,labelFontSize:kn.fontSize,labelHeight:kn.controlHeight,labelColonMarginInlineStart:kn.marginXXS/2,labelColonMarginInlineEnd:kn.marginXS,itemMarginBottom:kn.marginLG,verticalLabelPadding:`0 0 ${kn.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const dt=[];function Ct(kn,Dt,Gt){let Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof kn=="string"?kn:`${Dt}-${Wt}`,error:kn,errorStatus:Gt}}var Lt=kn=>{let{help:Dt,helpStatus:Gt,errors:Wt=dt,warnings:Kt=dt,className:on,fieldId:_n,onVisibleChanged:lr}=kn;const{prefixCls:nr}=Oe.useContext(ve.Rk),dr=`${nr}-item-explain`,[,Pr]=ht(nr),Ur=(0,Oe.useMemo)(()=>(0,Le.Z)(nr),[nr]),ei=Ae(Wt),er=Ae(Kt),kr=Oe.useMemo(()=>Dt!=null?[Ct(Dt,"help",Gt)]:[].concat((0,he.Z)(ei.map((gi,ji)=>Ct(gi,"error","error",ji))),(0,he.Z)(er.map((gi,ji)=>Ct(gi,"warning","warning",ji)))),[Dt,Gt,ei,er]),_i={};return _n&&(_i.id=`${_n}_help`),Oe.createElement(ft.default,{motionDeadline:Ur.motionDeadline,motionName:`${nr}-show-help`,visible:!!kr.length,onVisibleChanged:lr},gi=>{const{className:ji,style:Mi}=gi;return Oe.createElement("div",Object.assign({},_i,{className:He()(dr,ji,on,Pr),style:Mi,role:"alert"}),Oe.createElement(ft.CSSMotionList,Object.assign({keys:kr},(0,Le.Z)(nr),{motionName:`${nr}-show-help-item`,component:!1}),Ca=>{const{key:Jr,error:ra,errorStatus:vn,className:gr,style:Ar}=Ca;return Oe.createElement("div",{key:Jr,className:He()(gr,{[`${dr}-${vn}`]:vn}),style:Ar},ra)}))})},Re=de(95013),Ht=de(36355),Et=de(1684),bt=de(52946),Tt=de(19716),wt=de(16722);const it=["parentNode"],Ue="form_item";function at(kn){return kn===void 0||kn===!1?[]:Array.isArray(kn)?kn:[kn]}function Xt(kn,Dt){if(!kn.length)return;const Gt=kn.join("_");return Dt?`${Dt}_${Gt}`:it.includes(Gt)?`${Ue}_${Gt}`:Gt}function Vt(kn,Dt,Gt,Wt,Kt,on){let _n=Wt;return on!==void 0?_n=on:Gt.validating?_n="validating":kn.length?_n="error":Dt.length?_n="warning":(Gt.touched||Kt&&Gt.validated)&&(_n="success"),_n}function xt(kn){return at(kn).join("_")}function Qt(kn){const[Dt]=(0,Re.useForm)(),Gt=Oe.useRef({}),Wt=Oe.useMemo(()=>kn!=null?kn:Object.assign(Object.assign({},Dt),{__INTERNAL__:{itemRef:Kt=>on=>{const _n=xt(Kt);on?Gt.current[_n]=on:delete Gt.current[_n]}},scrollToField:function(Kt){let on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const _n=at(Kt),lr=Xt(_n,Wt.__INTERNAL__.name),nr=lr?document.getElementById(lr):null;nr&&(0,wt.Z)(nr,Object.assign({scrollMode:"if-needed",block:"nearest"},on))},getFieldInstance:Kt=>{const on=xt(Kt);return Gt.current[on]}}),[kn,Dt]);return[Wt]}var An=de(28726),Tn=function(kn,Dt){var Gt={};for(var Wt in kn)Object.prototype.hasOwnProperty.call(kn,Wt)&&Dt.indexOf(Wt)<0&&(Gt[Wt]=kn[Wt]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Wt=Object.getOwnPropertySymbols(kn);Kt{const Gt=Oe.useContext(Et.Z),{getPrefixCls:Wt,direction:Kt,form:on}=Oe.useContext(Ht.E_),{prefixCls:_n,className:lr,rootClassName:nr,size:dr,disabled:Pr=Gt,form:Ur,colon:ei,labelAlign:er,labelWrap:kr,labelCol:_i,wrapperCol:gi,hideRequiredMark:ji,layout:Mi="horizontal",scrollToFirstError:Ca,requiredMark:Jr,onFinishFailed:ra,name:vn,style:gr,feedbackIcons:Ar}=kn,jr=Tn(kn,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),br=(0,Tt.Z)(dr),Ir=Oe.useContext(An.Z),Fr=(0,Oe.useMemo)(()=>Jr!==void 0?Jr:on&&on.requiredMark!==void 0?on.requiredMark:!ji,[ji,Jr,on]),si=ei!=null?ei:on==null?void 0:on.colon,bi=Wt("form",_n),[Ti,Pa]=ht(bi),Ka=He()(bi,`${bi}-${Mi}`,{[`${bi}-hide-required-mark`]:Fr===!1,[`${bi}-rtl`]:Kt==="rtl",[`${bi}-${br}`]:br},Pa,on==null?void 0:on.className,lr,nr),[$a]=Qt(Ur),{__INTERNAL__:Ua}=$a;Ua.name=vn;const Fa=(0,Oe.useMemo)(()=>({name:vn,labelAlign:er,labelCol:_i,labelWrap:kr,wrapperCol:gi,vertical:Mi==="vertical",colon:si,requiredMark:Fr,itemRef:Ua.itemRef,form:$a,feedbackIcons:Ar}),[vn,er,_i,gi,Mi,si,Fr,$a,Ar]);Oe.useImperativeHandle(Dt,()=>$a);const ho=(ta,ui)=>{if(ta){let za={block:"nearest"};typeof ta=="object"&&(za=ta),$a.scrollToField(ui,za)}},oo=ta=>{if(ra==null||ra(ta),ta.errorFields.length){const ui=ta.errorFields[0].name;if(Ca!==void 0){ho(Ca,ui);return}on&&on.scrollToFirstError!==void 0&&ho(on.scrollToFirstError,ui)}};return Ti(Oe.createElement(Et.n,{disabled:Pr},Oe.createElement(bt.q,{size:br},Oe.createElement(ve.RV,Object.assign({},{validateMessages:Ir}),Oe.createElement(ve.q3.Provider,{value:Fa},Oe.createElement(Re.default,Object.assign({id:vn},jr,{name:vn,onFinishFailed:oo,form:$a,style:Object.assign(Object.assign({},on==null?void 0:on.style),gr),className:Ka})))))))};var Cn=Oe.forwardRef(dn),mn=de(41799),Bn=de(8654),Se=de(92343),Fe=de(11592);function ie(kn){if(typeof kn=="function")return kn;const Dt=(0,Fe.Z)(kn);return Dt.length<=1?Dt[0]:Dt}const ae=()=>{const{status:kn,errors:Dt=[],warnings:Gt=[]}=(0,Oe.useContext)(ve.aM);return{status:kn,errors:Dt,warnings:Gt}};ae.Context=ve.aM;var se=ae,oe=de(16089);function Je(kn){const[Dt,Gt]=Oe.useState(kn),Wt=(0,Oe.useRef)(null),Kt=(0,Oe.useRef)([]),on=(0,Oe.useRef)(!1);Oe.useEffect(()=>(on.current=!1,()=>{on.current=!0,oe.Z.cancel(Wt.current),Wt.current=null}),[]);function _n(lr){on.current||(Wt.current===null&&(Kt.current=[],Wt.current=(0,oe.Z)(()=>{Wt.current=null,Gt(nr=>{let dr=nr;return Kt.current.forEach(Pr=>{dr=Pr(dr)}),dr})})),Kt.current.push(lr))}return[Dt,_n]}function vt(){const{itemRef:kn}=Oe.useContext(ve.q3),Dt=Oe.useRef({});function Gt(Wt,Kt){const on=Kt&&typeof Kt=="object"&&Kt.ref,_n=Wt.join("_");return(Dt.current.name!==_n||Dt.current.originRef!==on)&&(Dt.current.name=_n,Dt.current.originRef=on,Dt.current.ref=(0,Bn.sQ)(kn(Wt),on)),Dt.current.ref}return Gt}var $e=de(29194),lt=de(34280),Pt=de(2738),_t=de(27382),kt=de(37028);const $t=kn=>{const{formItemCls:Dt}=kn;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Dt}-control`]:{display:"flex"}}}};var Sn=(0,_e.b)(["Form","item-item"],(kn,Dt)=>{let{rootPrefixCls:Gt}=Dt;const Wt=rt(kn,Gt);return[$t(Wt)]}),nn=kn=>{const{prefixCls:Dt,status:Gt,wrapperCol:Wt,children:Kt,errors:on,warnings:_n,_internalItemRender:lr,extra:nr,help:dr,fieldId:Pr,marginBottom:Ur,onErrorVisibleChanged:ei}=kn,er=`${Dt}-item`,kr=Oe.useContext(ve.q3),_i=Wt||kr.wrapperCol||{},gi=He()(`${er}-control`,_i.className),ji=Oe.useMemo(()=>Object.assign({},kr),[kr]);delete ji.labelCol,delete ji.wrapperCol;const Mi=Oe.createElement("div",{className:`${er}-control-input`},Oe.createElement("div",{className:`${er}-control-input-content`},Kt)),Ca=Oe.useMemo(()=>({prefixCls:Dt,status:Gt}),[Dt,Gt]),Jr=Ur!==null||on.length||_n.length?Oe.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Oe.createElement(ve.Rk.Provider,{value:Ca},Oe.createElement(Lt,{fieldId:Pr,errors:on,warnings:_n,help:dr,helpStatus:Gt,className:`${er}-explain-connected`,onVisibleChanged:ei})),!!Ur&&Oe.createElement("div",{style:{width:0,height:Ur}})):null,ra={};Pr&&(ra.id=`${Pr}_extra`);const vn=nr?Oe.createElement("div",Object.assign({},ra,{className:`${er}-extra`}),nr):null,gr=lr&&lr.mark==="pro_table_render"&&lr.render?lr.render(kn,{input:Mi,errorList:Jr,extra:vn}):Oe.createElement(Oe.Fragment,null,Mi,Jr,vn);return Oe.createElement(ve.q3.Provider,{value:ji},Oe.createElement(kt.Z,Object.assign({},_i,{className:gi}),gr),Oe.createElement(Sn,{prefixCls:Dt}))},tn=de(61485),jt=de(31724),pt=de(9763),Zt=de(6848),gn=function(kn,Dt){var Gt={};for(var Wt in kn)Object.prototype.hasOwnProperty.call(kn,Wt)&&Dt.indexOf(Wt)<0&&(Gt[Wt]=kn[Wt]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Wt=Object.getOwnPropertySymbols(kn);Kt{let{prefixCls:Dt,label:Gt,htmlFor:Wt,labelCol:Kt,labelAlign:on,colon:_n,required:lr,requiredMark:nr,tooltip:dr}=kn;var Pr;const[Ur]=(0,pt.Z)("Form"),{vertical:ei,labelAlign:er,labelCol:kr,labelWrap:_i,colon:gi}=Oe.useContext(ve.q3);if(!Gt)return null;const ji=Kt||kr||{},Mi=on||er,Ca=`${Dt}-item-label`,Jr=He()(Ca,Mi==="left"&&`${Ca}-left`,ji.className,{[`${Ca}-wrap`]:!!_i});let ra=Gt;const vn=_n===!0||gi!==!1&&_n!==!1;vn&&!ei&&typeof Gt=="string"&&Gt.trim()!==""&&(ra=Gt.replace(/[:|:]\s*$/,""));const Ar=wn(dr);if(Ar){const{icon:Fr=Oe.createElement(tn.Z,null)}=Ar,si=gn(Ar,["icon"]),bi=Oe.createElement(Zt.Z,Object.assign({},si),Oe.cloneElement(Fr,{className:`${Dt}-item-tooltip`,title:""}));ra=Oe.createElement(Oe.Fragment,null,ra,bi)}const jr=nr==="optional",br=typeof nr=="function";br?ra=nr(ra,{required:!!lr}):jr&&!lr&&(ra=Oe.createElement(Oe.Fragment,null,ra,Oe.createElement("span",{className:`${Dt}-item-optional`,title:""},(Ur==null?void 0:Ur.optional)||((Pr=jt.Z.Form)===null||Pr===void 0?void 0:Pr.optional))));const Ir=He()({[`${Dt}-item-required`]:lr,[`${Dt}-item-required-mark-optional`]:jr||br,[`${Dt}-item-no-colon`]:!vn});return Oe.createElement(kt.Z,Object.assign({},ji,{className:Jr}),Oe.createElement("label",{htmlFor:Wt,className:Ir,title:typeof Gt=="string"?Gt:""},ra))},Dr=de(29679),Tr=de(19248),Rr=de(96512),Sr=de(58617);const fr={success:Dr.Z,warning:Rr.Z,error:Tr.Z,validating:Sr.Z};function Vr(kn){let{children:Dt,errors:Gt,warnings:Wt,hasFeedback:Kt,validateStatus:on,prefixCls:_n,meta:lr,noStyle:nr}=kn;const dr=`${_n}-item`,{feedbackIcons:Pr}=Oe.useContext(ve.q3),Ur=Vt(Gt,Wt,lr,null,!!Kt,on),{isFormItemInput:ei,status:er}=Oe.useContext(ve.aM),kr=Oe.useMemo(()=>{var _i;let gi;if(Kt){const Ca=Kt!==!0&&Kt.icons||Pr,Jr=Ur&&((_i=Ca==null?void 0:Ca({status:Ur,errors:Gt,warnings:Wt}))===null||_i===void 0?void 0:_i[Ur]),ra=Ur&&fr[Ur];gi=Jr!==!1&&ra?Oe.createElement("span",{className:He()(`${dr}-feedback-icon`,`${dr}-feedback-icon-${Ur}`)},Jr||Oe.createElement(ra,null)):null}let ji=!0,Mi=Ur||"";return nr&&(ji=ei,Mi=(Ur!=null?Ur:er)||""),{status:Mi,errors:Gt,warnings:Wt,hasFeedback:!!Kt,feedbackIcon:gi,isFormItemInput:ji}},[Ur,Kt,nr,ei,er]);return Oe.createElement(ve.aM.Provider,{value:kr},Dt)}var Bi=function(kn,Dt){var Gt={};for(var Wt in kn)Object.prototype.hasOwnProperty.call(kn,Wt)&&Dt.indexOf(Wt)<0&&(Gt[Wt]=kn[Wt]);if(kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Wt=Object.getOwnPropertySymbols(kn);Kt{if(Ar&&Jr.current){const Pa=getComputedStyle(Jr.current);Ir(parseInt(Pa.marginBottom,10))}},[Ar,jr]);const Fr=Pa=>{Pa||Ir(null)},bi=function(){let Pa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Ka=Pa?ra:dr.errors,$a=Pa?vn:dr.warnings;return Vt(Ka,$a,dr,"",!!Pr,nr)}(),Ti=He()(Mi,Gt,Wt,{[`${Mi}-with-help`]:gr||ra.length||vn.length,[`${Mi}-has-feedback`]:bi&&Pr,[`${Mi}-has-success`]:bi==="success",[`${Mi}-has-warning`]:bi==="warning",[`${Mi}-has-error`]:bi==="error",[`${Mi}-is-validating`]:bi==="validating",[`${Mi}-hidden`]:Ur});return Oe.createElement("div",{className:Ti,style:Kt,ref:Jr},Oe.createElement(_t.Z,Object.assign({className:`${Mi}-row`},(0,Pt.Z)(ji,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),Oe.createElement(yr,Object.assign({htmlFor:er},kn,{requiredMark:Ca,required:kr!=null?kr:_i,prefixCls:Dt})),Oe.createElement(nn,Object.assign({},kn,dr,{errors:ra,warnings:vn,prefixCls:Dt,status:bi,help:on,marginBottom:br,onErrorVisibleChanged:Fr}),Oe.createElement(ve.qI.Provider,{value:gi},Oe.createElement(Vr,{prefixCls:Dt,meta:dr,errors:dr.errors,warnings:dr.warnings,hasFeedback:Pr,validateStatus:bi},ei)))),!!br&&Oe.createElement("div",{className:`${Mi}-margin-offset`,style:{marginBottom:-br}}))}const mi="__SPLIT__",Vi=null,ua=Oe.memo(kn=>{let{children:Dt}=kn;return Dt},(kn,Dt)=>kn.value===Dt.value&&kn.update===Dt.update&&kn.childProps.length===Dt.childProps.length&&kn.childProps.every((Gt,Wt)=>Gt===Dt.childProps[Wt]));function Wr(kn){return kn!=null}function Mn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ea(kn){const{name:Dt,noStyle:Gt,className:Wt,dependencies:Kt,prefixCls:on,shouldUpdate:_n,rules:lr,children:nr,required:dr,label:Pr,messageVariables:Ur,trigger:ei="onChange",validateTrigger:er,hidden:kr,help:_i}=kn,{getPrefixCls:gi}=Oe.useContext(Ht.E_),{name:ji}=Oe.useContext(ve.q3),Mi=ie(nr),Ca=typeof Mi=="function",Jr=Oe.useContext(ve.qI),{validateTrigger:ra}=Oe.useContext(Re.FieldContext),vn=er!==void 0?er:ra,gr=Wr(Dt),Ar=gi("form",on),[jr,br]=ht(Ar),Ir=Oe.useContext(Re.ListContext),Fr=Oe.useRef(),[si,bi]=Je({}),[Ti,Pa]=(0,mn.Z)(()=>Mn()),Ka=ui=>{const za=Ir==null?void 0:Ir.getKey(ui.name);if(Pa(ui.destroy?Mn():ui,!0),Gt&&_i!==!1&&Jr){let no=ui.name;if(ui.destroy)no=Fr.current||no;else if(za!==void 0){const[La,xo]=za;no=[La].concat((0,he.Z)(xo)),Fr.current=no}Jr(ui,no)}},$a=(ui,za)=>{bi(no=>{const La=Object.assign({},no),os=[].concat((0,he.Z)(ui.name.slice(0,-1)),(0,he.Z)(za)).join(mi);return ui.destroy?delete La[os]:La[os]=ui,La})},[Ua,Fa]=Oe.useMemo(()=>{const ui=(0,he.Z)(Ti.errors),za=(0,he.Z)(Ti.warnings);return Object.values(si).forEach(no=>{ui.push.apply(ui,(0,he.Z)(no.errors||[])),za.push.apply(za,(0,he.Z)(no.warnings||[]))}),[ui,za]},[si,Ti.errors,Ti.warnings]),ho=vt();function oo(ui,za,no){return Gt&&!kr?Oe.createElement(Vr,{prefixCls:Ar,hasFeedback:kn.hasFeedback,validateStatus:kn.validateStatus,meta:Ti,errors:Ua,warnings:Fa,noStyle:!0},ui):Oe.createElement(yi,Object.assign({key:"row"},kn,{className:He()(Wt,br),prefixCls:Ar,fieldId:za,isRequired:no,errors:Ua,warnings:Fa,meta:Ti,onSubItemMetaChange:$a}),ui)}if(!gr&&!Ca&&!Kt)return jr(oo(Mi));let ta={};return typeof Pr=="string"?ta.label=Pr:Dt&&(ta.label=String(Dt)),Ur&&(ta=Object.assign(Object.assign({},ta),Ur)),jr(Oe.createElement(Re.Field,Object.assign({},kn,{messageVariables:ta,trigger:ei,validateTrigger:vn,onMetaChange:Ka}),(ui,za,no)=>{const La=at(Dt).length&&za?za.name:[],xo=Xt(La,ji),os=dr!==void 0?dr:!!(lr&&lr.some(Ci=>{if(Ci&&typeof Ci=="object"&&Ci.required&&!Ci.warningOnly)return!0;if(typeof Ci=="function"){const Ha=Ci(no);return Ha&&Ha.required&&!Ha.warningOnly}return!1})),Va=Object.assign({},ui);let Ii=null;if(Array.isArray(Mi)&&gr)Ii=Mi;else if(!(Ca&&(!(_n||Kt)||gr))){if(!(Kt&&!Ca&&!gr))if((0,Se.l$)(Mi)){const Ci=Object.assign(Object.assign({},Mi.props),Va);if(Ci.id||(Ci.id=xo),_i||Ua.length>0||Fa.length>0||kn.extra){const eo=[];(_i||Ua.length>0)&&eo.push(`${xo}_help`),kn.extra&&eo.push(`${xo}_extra`),Ci["aria-describedby"]=eo.join(" ")}Ua.length>0&&(Ci["aria-invalid"]="true"),os&&(Ci["aria-required"]="true"),(0,Bn.Yr)(Mi)&&(Ci.ref=ho(La,Mi)),new Set([].concat((0,he.Z)(at(ei)),(0,he.Z)(at(vn)))).forEach(eo=>{Ci[eo]=function(){for(var Lo,vo,jn,Oo,Ks,Sa=arguments.length,ga=new Array(Sa),Co=0;Co{var{prefixCls:Dt,children:Gt}=kn,Wt=sa(kn,["prefixCls","children"]);const{getPrefixCls:Kt}=Oe.useContext(Ht.E_),on=Kt("form",Dt),_n=Oe.useMemo(()=>({prefixCls:on,status:"error"}),[on]);return Oe.createElement(Re.List,Object.assign({},Wt),(lr,nr,dr)=>Oe.createElement(ve.Rk.Provider,{value:_n},Gt(lr.map(Pr=>Object.assign(Object.assign({},Pr),{fieldKey:Pr.key})),nr,{errors:dr.errors,warnings:dr.warnings})))};function Si(){const{form:kn}=(0,Oe.useContext)(ve.q3);return kn}const qr=Cn;qr.Item=wo,qr.List=Aa,qr.ErrorList=Lt,qr.useForm=Qt,qr.useFormInstance=Si,qr.useWatch=Re.useWatch,qr.Provider=ve.RV,qr.create=()=>{};var Ma=qr},8628:function(Qn,Yt,de){"use strict";var he=de(59301),Me=de(34280),He=de(56762),ft=de(69507);function Oe(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,he.useRef)({}),Ae=(0,He.Z)(),xe=(0,ft.ZP)();return(0,Me.Z)(()=>{const fe=xe.subscribe(Ke=>{ve.current=Ke,Le&&Ae()});return()=>xe.unsubscribe(fe)},[]),ve.current}Yt.Z=Oe},5871:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return tn}});var he=de(84105),Me=de(87395),He=de(92310),ft=de.n(He),Oe=de(60499),Le=de(18642),ve=de(43749),Ae=de(72190),xe=de(42244),fe=de(38705),Ke=de(17212);function Be(){return typeof BigInt=="function"}function _e(jt){return!jt&&jt!==0&&!Number.isNaN(jt)||!String(jt).trim()}function Ne(jt){var pt=jt.trim(),Zt=pt.startsWith("-");Zt&&(pt=pt.slice(1)),pt=pt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),pt.startsWith(".")&&(pt="0".concat(pt));var gn=pt||"0",wn=gn.split("."),Xn=wn[0]||"0",yr=wn[1]||"0";Xn==="0"&&yr==="0"&&(Zt=!1);var Dr=Zt?"-":"";return{negative:Zt,negativeStr:Dr,trimStr:gn,integerStr:Xn,decimalStr:yr,fullStr:"".concat(Dr).concat(gn)}}function Qe(jt){var pt=String(jt);return!Number.isNaN(Number(pt))&&pt.includes("e")}function ke(jt){var pt=String(jt);if(Qe(jt)){var Zt=Number(pt.slice(pt.indexOf("e-")+2)),gn=pt.match(/\.(\d+)/);return gn!=null&&gn[1]&&(Zt+=gn[1].length),Zt}return pt.includes(".")&&Te(pt)?pt.length-pt.indexOf(".")-1:0}function Pe(jt){var pt=String(jt);if(Qe(jt)){if(jt>Number.MAX_SAFE_INTEGER)return String(Be()?BigInt(jt).toString():Number.MAX_SAFE_INTEGER);if(jt0&&arguments[0]!==void 0?arguments[0]:!0;return Zt?this.isInvalidate()?"":Ne("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),jt}(),ze=function(){function jt(pt){if((0,fe.Z)(this,jt),(0,Le.Z)(this,"origin",""),(0,Le.Z)(this,"number",void 0),(0,Le.Z)(this,"empty",void 0),_e(pt)){this.empty=!0;return}this.origin=String(pt),this.number=Number(pt)}return(0,Ke.Z)(jt,[{key:"negate",value:function(){return new jt(-this.toNumber())}},{key:"add",value:function(Zt){if(this.isInvalidate())return new jt(Zt);var gn=Number(Zt);if(Number.isNaN(gn))return this;var wn=this.number+gn;if(wn>Number.MAX_SAFE_INTEGER)return new jt(Number.MAX_SAFE_INTEGER);if(wnNumber.MAX_SAFE_INTEGER)return new jt(Number.MAX_SAFE_INTEGER);if(wn0&&arguments[0]!==void 0?arguments[0]:!0;return Zt?this.isInvalidate()?"":Pe(this.number):this.origin}}]),jt}();function qe(jt){return Be()?new Ye(jt):new ze(jt)}function We(jt,pt,Zt){var gn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(jt==="")return"";var wn=Ne(jt),Xn=wn.negativeStr,yr=wn.integerStr,Dr=wn.decimalStr,Tr="".concat(pt).concat(Dr),Rr="".concat(Xn).concat(yr);if(Zt>=0){var Sr=Number(Dr[Zt]);if(Sr>=5&&!gn){var fr=qe(jt).add("".concat(Xn,"0.").concat("0".repeat(Zt)).concat(10-Sr));return We(fr.toString(),pt,Zt,gn)}return Zt===0?Rr:"".concat(Rr).concat(pt).concat(Dr.padEnd(Zt,"0").slice(0,Zt))}return Tr===".0"?Rr:"".concat(Rr).concat(Tr)}var Ze=qe,et=de(93681),rt=de(34280),ht=de(8654),dt=de(59301),Ct=de(48736);function Xe(jt,pt){var Zt=(0,dt.useRef)(null);function gn(){try{var Xn=jt.selectionStart,yr=jt.selectionEnd,Dr=jt.value,Tr=Dr.substring(0,Xn),Rr=Dr.substring(yr);Zt.current={start:Xn,end:yr,value:Dr,beforeTxt:Tr,afterTxt:Rr}}catch(Sr){}}function wn(){if(jt&&Zt.current&&pt)try{var Xn=jt.value,yr=Zt.current,Dr=yr.beforeTxt,Tr=yr.afterTxt,Rr=yr.start,Sr=Xn.length;if(Xn.endsWith(Tr))Sr=Xn.length-Zt.current.afterTxt.length;else if(Xn.startsWith(Dr))Sr=Dr.length;else{var fr=Dr[Rr-1],Vr=Xn.indexOf(fr,Rr-1);Vr!==-1&&(Sr=Vr+1)}jt.setSelectionRange(Sr,Sr)}catch(Bi){(0,Ct.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Bi.message))}}return[gn,wn]}var Lt=de(49658),Re=function(){var pt=(0,dt.useState)(!1),Zt=(0,Ae.Z)(pt,2),gn=Zt[0],wn=Zt[1];return(0,rt.Z)(function(){wn((0,Lt.Z)())},[]),gn},Ht=Re,Et=de(16089),bt=200,Tt=600;function wt(jt){var pt=jt.prefixCls,Zt=jt.upNode,gn=jt.downNode,wn=jt.upDisabled,Xn=jt.downDisabled,yr=jt.onStep,Dr=dt.useRef(),Tr=dt.useRef([]),Rr=dt.useRef();Rr.current=yr;var Sr=function(){clearTimeout(Dr.current)},fr=function(Mn,ea){Mn.preventDefault(),Sr(),Rr.current(ea);function Ea(){Rr.current(ea),Dr.current=setTimeout(Ea,bt)}Dr.current=setTimeout(Ea,Tt)};dt.useEffect(function(){return function(){Sr(),Tr.current.forEach(function(Wr){return Et.Z.cancel(Wr)})}},[]);var Vr=Ht();if(Vr)return null;var Bi="".concat(pt,"-handler"),yi=ft()(Bi,"".concat(Bi,"-up"),(0,Le.Z)({},"".concat(Bi,"-up-disabled"),wn)),mi=ft()(Bi,"".concat(Bi,"-down"),(0,Le.Z)({},"".concat(Bi,"-down-disabled"),Xn)),Vi=function(){return Tr.current.push((0,Et.Z)(Sr))},ua={unselectable:"on",role:"button",onMouseUp:Vi,onMouseLeave:Vi};return dt.createElement("div",{className:"".concat(Bi,"-wrap")},dt.createElement("span",(0,Oe.Z)({},ua,{onMouseDown:function(Mn){fr(Mn,!0)},"aria-label":"Increase Value","aria-disabled":wn,className:yi}),Zt||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-up-inner")})),dt.createElement("span",(0,Oe.Z)({},ua,{onMouseDown:function(Mn){fr(Mn,!1)},"aria-label":"Decrease Value","aria-disabled":Xn,className:mi}),gn||dt.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-down-inner")})))}function it(jt){var pt=typeof jt=="number"?Pe(jt):Ne(jt).fullStr,Zt=pt.includes(".");return Zt?Ne(pt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:jt+"0"}var Ue=de(5643),at=function(){var jt=(0,dt.useRef)(0),pt=function(){Et.Z.cancel(jt.current)};return(0,dt.useEffect)(function(){return pt},[]),function(Zt){pt(),jt.current=(0,Et.Z)(function(){Zt()})}},Xt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Vt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],xt=function(pt,Zt){return pt||Zt.isEmpty()?Zt.toString():Zt.toNumber()},Qt=function(pt){var Zt=Ze(pt);return Zt.isInvalidate()?null:Zt},An=dt.forwardRef(function(jt,pt){var Zt,gn=jt.prefixCls,wn=gn===void 0?"rc-input-number":gn,Xn=jt.className,yr=jt.style,Dr=jt.min,Tr=jt.max,Rr=jt.step,Sr=Rr===void 0?1:Rr,fr=jt.defaultValue,Vr=jt.value,Bi=jt.disabled,yi=jt.readOnly,mi=jt.upHandler,Vi=jt.downHandler,ua=jt.keyboard,Wr=jt.controls,Mn=Wr===void 0?!0:Wr,ea=jt.classNames,Ea=jt.stringMode,wo=jt.parser,sa=jt.formatter,Pi=jt.precision,Aa=jt.decimalSeparator,Si=jt.onChange,qr=jt.onInput,Ma=jt.onPressEnter,kn=jt.onStep,Dt=(0,xe.Z)(jt,Xt),Gt="".concat(wn,"-input"),Wt=dt.useRef(null),Kt=dt.useState(!1),on=(0,Ae.Z)(Kt,2),_n=on[0],lr=on[1],nr=dt.useRef(!1),dr=dt.useRef(!1),Pr=dt.useRef(!1),Ur=dt.useState(function(){return Ze(Vr!=null?Vr:fr)}),ei=(0,Ae.Z)(Ur,2),er=ei[0],kr=ei[1];function _i(Ii){Vr===void 0&&kr(Ii)}var gi=dt.useCallback(function(Ii,Ci){if(!Ci)return Pi>=0?Pi:Math.max(ke(Ii),ke(Sr))},[Pi,Sr]),ji=dt.useCallback(function(Ii){var Ci=String(Ii);if(wo)return wo(Ci);var Ha=Ci;return Aa&&(Ha=Ha.replace(Aa,".")),Ha.replace(/[^\w.-]+/g,"")},[wo,Aa]),Mi=dt.useRef(""),Ca=dt.useCallback(function(Ii,Ci){if(sa)return sa(Ii,{userTyping:Ci,input:String(Mi.current)});var Ha=typeof Ii=="number"?Pe(Ii):Ii;if(!Ci){var Oa=gi(Ha,Ci);if(Te(Ha)&&(Aa||Oa>=0)){var eo=Aa||".";Ha=We(Ha,eo,Oa)}}return Ha},[sa,gi,Aa]),Jr=dt.useState(function(){var Ii=fr!=null?fr:Vr;return er.isInvalidate()&&["string","number"].includes((0,ve.Z)(Ii))?Number.isNaN(Ii)?"":Ii:Ca(er.toString(),!1)}),ra=(0,Ae.Z)(Jr,2),vn=ra[0],gr=ra[1];Mi.current=vn;function Ar(Ii,Ci){gr(Ca(Ii.isInvalidate()?Ii.toString(!1):Ii.toString(!Ci),Ci))}var jr=dt.useMemo(function(){return Qt(Tr)},[Tr,Pi]),br=dt.useMemo(function(){return Qt(Dr)},[Dr,Pi]),Ir=dt.useMemo(function(){return!jr||!er||er.isInvalidate()?!1:jr.lessEquals(er)},[jr,er]),Fr=dt.useMemo(function(){return!br||!er||er.isInvalidate()?!1:er.lessEquals(br)},[br,er]),si=Xe(Wt.current,_n),bi=(0,Ae.Z)(si,2),Ti=bi[0],Pa=bi[1],Ka=function(Ci){return jr&&!Ci.lessEquals(jr)?jr:br&&!br.lessEquals(Ci)?br:null},$a=function(Ci){return!Ka(Ci)},Ua=function(Ci,Ha){var Oa=Ci,eo=$a(Oa)||Oa.isEmpty();if(!Oa.isEmpty()&&!Ha&&(Oa=Ka(Oa)||Oa,eo=!0),!yi&&!Bi&&eo){var Lo=Oa.toString(),vo=gi(Lo,Ha);return vo>=0&&(Oa=Ze(We(Lo,".",vo)),$a(Oa)||(Oa=Ze(We(Lo,".",vo,!0)))),Oa.equals(er)||(_i(Oa),Si==null||Si(Oa.isEmpty()?null:xt(Ea,Oa)),Vr===void 0&&Ar(Oa,Ha)),Oa}return er},Fa=at(),ho=function Ii(Ci){if(Ti(),Mi.current=Ci,gr(Ci),!dr.current){var Ha=ji(Ci),Oa=Ze(Ha);Oa.isNaN()||Ua(Oa,!0)}qr==null||qr(Ci),Fa(function(){var eo=Ci;wo||(eo=Ci.replace(/。/g,".")),eo!==Ci&&Ii(eo)})},oo=function(){dr.current=!0},ta=function(){dr.current=!1,ho(Wt.current.value)},ui=function(Ci){ho(Ci.target.value)},za=function(Ci){var Ha;if(!(Ci&&Ir||!Ci&&Fr)){nr.current=!1;var Oa=Ze(Pr.current?it(Sr):Sr);Ci||(Oa=Oa.negate());var eo=(er||Ze(0)).add(Oa.toString()),Lo=Ua(eo,!1);kn==null||kn(xt(Ea,Lo),{offset:Pr.current?it(Sr):Sr,type:Ci?"up":"down"}),(Ha=Wt.current)===null||Ha===void 0||Ha.focus()}},no=function(Ci){var Ha=Ze(ji(vn)),Oa=Ha;Ha.isNaN()?Oa=Ua(er,Ci):Oa=Ua(Ha,Ci),Vr!==void 0?Ar(er,!1):Oa.isNaN()||Ar(Oa,!1)},La=function(){nr.current=!0},xo=function(Ci){var Ha=Ci.key,Oa=Ci.shiftKey;nr.current=!0,Pr.current=Oa,Ha==="Enter"&&(dr.current||(nr.current=!1),no(!1),Ma==null||Ma(Ci)),ua!==!1&&!dr.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ha)&&(za(Ha==="Up"||Ha==="ArrowUp"),Ci.preventDefault())},os=function(){nr.current=!1,Pr.current=!1},Va=function(){no(!1),lr(!1),nr.current=!1};return(0,rt.o)(function(){er.isInvalidate()||Ar(er,!1)},[Pi]),(0,rt.o)(function(){var Ii=Ze(Vr);kr(Ii);var Ci=Ze(ji(vn));(!Ii.equals(Ci)||!nr.current||sa)&&Ar(Ii,nr.current)},[Vr]),(0,rt.o)(function(){sa&&Pa()},[vn]),dt.createElement("div",{className:ft()(wn,ea==null?void 0:ea.input,Xn,(Zt={},(0,Le.Z)(Zt,"".concat(wn,"-focused"),_n),(0,Le.Z)(Zt,"".concat(wn,"-disabled"),Bi),(0,Le.Z)(Zt,"".concat(wn,"-readonly"),yi),(0,Le.Z)(Zt,"".concat(wn,"-not-a-number"),er.isNaN()),(0,Le.Z)(Zt,"".concat(wn,"-out-of-range"),!er.isInvalidate()&&!$a(er)),Zt)),style:yr,onFocus:function(){lr(!0)},onBlur:Va,onKeyDown:xo,onKeyUp:os,onCompositionStart:oo,onCompositionEnd:ta,onBeforeInput:La},Mn&&dt.createElement(wt,{prefixCls:wn,upNode:mi,downNode:Vi,upDisabled:Ir,downDisabled:Fr,onStep:za}),dt.createElement("div",{className:"".concat(Gt,"-wrap")},dt.createElement("input",(0,Oe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Dr,"aria-valuemax":Tr,"aria-valuenow":er.isInvalidate()?null:er.toString(),step:Sr},Dt,{ref:(0,ht.sQ)(Wt,pt),className:Gt,value:vn,onChange:ui,disabled:Bi,readOnly:yi}))))}),Tn=dt.forwardRef(function(jt,pt){var Zt=jt.disabled,gn=jt.style,wn=jt.prefixCls,Xn=jt.value,yr=jt.prefix,Dr=jt.suffix,Tr=jt.addonBefore,Rr=jt.addonAfter,Sr=jt.classes,fr=jt.className,Vr=jt.classNames,Bi=(0,xe.Z)(jt,Vt),yi=dt.useRef(null),mi=function(ua){yi.current&&(0,Ue.nH)(yi.current,ua)};return dt.createElement(et.BaseInput,{inputElement:dt.createElement(An,(0,Oe.Z)({prefixCls:wn,disabled:Zt,classNames:Vr,ref:(0,ht.sQ)(yi,pt)},Bi)),className:fr,triggerFocus:mi,prefixCls:wn,value:Xn,disabled:Zt,style:gn,prefix:yr,suffix:Dr,addonAfter:Rr,addonBefore:Tr,classes:Sr,classNames:Vr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Tn.displayName="InputNumber";var dn=Tn,Gn=dn,Cn=de(19080),mn=de(36355),Bn=de(92736),Se=de(1684),Fe=de(19716),ie=de(32441),ae=de(33234),se=de(9937),oe=de(17313),Je=de(74207),vt=de(83116),$e=de(37613);const lt=(jt,pt)=>{let{componentCls:Zt,borderRadiusSM:gn,borderRadiusLG:wn}=jt;const Xn=pt==="lg"?wn:gn;return{[`&-${pt}`]:{[`${Zt}-handler-wrap`]:{borderStartEndRadius:Xn,borderEndEndRadius:Xn},[`${Zt}-handler-up`]:{borderStartEndRadius:Xn},[`${Zt}-handler-down`]:{borderEndEndRadius:Xn}}}},Pt=jt=>{const{componentCls:pt,lineWidth:Zt,lineType:gn,colorBorder:wn,borderRadius:Xn,fontSizeLG:yr,controlHeightLG:Dr,controlHeightSM:Tr,colorError:Rr,paddingInlineSM:Sr,colorTextDescription:fr,motionDurationMid:Vr,handleHoverColor:Bi,paddingInline:yi,paddingBlock:mi,handleBg:Vi,handleActiveBg:ua,colorTextDisabled:Wr,borderRadiusSM:Mn,borderRadiusLG:ea,controlWidth:Ea,handleVisible:wo,handleBorderColor:sa}=jt;return[{[pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(jt)),(0,se.ik)(jt)),(0,se.bi)(jt,pt)),{display:"inline-block",width:Ea,margin:0,padding:0,border:`${Zt}px ${gn} ${wn}`,borderRadius:Xn,"&-rtl":{direction:"rtl",[`${pt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:yr,borderRadius:ea,[`input${pt}-input`]:{height:Dr-2*Zt}},"&-sm":{padding:0,borderRadius:Mn,[`input${pt}-input`]:{height:Tr-2*Zt,padding:`0 ${Sr}px`}},"&:hover":Object.assign({},(0,se.pU)(jt)),"&-focused":Object.assign({},(0,se.M1)(jt)),"&-out-of-range":{[`${pt}-input-wrap`]:{input:{color:Rr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(jt)),(0,se.s7)(jt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${pt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${pt}-group-addon`]:{borderRadius:ea,fontSize:jt.fontSizeLG}},"&-sm":{[`${pt}-group-addon`]:{borderRadius:Mn}},[`${pt}-wrapper-disabled > ${pt}-group-addon`]:Object.assign({},(0,se.Xy)(jt))}}),[`&-disabled ${pt}-input`]:{cursor:"not-allowed"},[pt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(jt)),{width:"100%",padding:`${mi}px ${yi}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Xn,outline:0,transition:`all ${Vr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,se.nz)(jt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[pt]:Object.assign(Object.assign(Object.assign({[`&:hover ${pt}-handler-wrap, &-focused ${pt}-handler-wrap`]:{opacity:1},[`${pt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:jt.handleWidth,height:"100%",background:Vi,borderStartStartRadius:0,borderStartEndRadius:Xn,borderEndEndRadius:Xn,borderEndStartRadius:0,opacity:wo===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Vr} linear ${Vr}`,[`${pt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${pt}-handler-up-inner, ${pt}-handler-down-inner `]:{marginInlineEnd:0,fontSize:jt.handleFontSize}}},[`${pt}-handler`]:{height:"50%",overflow:"hidden",color:fr,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Zt}px ${gn} ${sa}`,transition:`all ${Vr} linear`,"&:active":{background:ua},"&:hover":{height:"60%",[` ${pt}-handler-up-inner, ${pt}-handler-down-inner `]:{color:Bi}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,oe.Ro)()),{color:fr,transition:`all ${Vr} linear`,userSelect:"none"})},[`${pt}-handler-up`]:{borderStartEndRadius:Xn},[`${pt}-handler-down`]:{borderBlockStart:`${Zt}px ${gn} ${sa}`,borderEndEndRadius:Xn}},lt(jt,"lg")),lt(jt,"sm")),{"&-disabled, &-readonly":{[`${pt}-handler-wrap`]:{display:"none"},[`${pt}-input`]:{color:"inherit"}},[` ${pt}-handler-up-disabled, ${pt}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${pt}-handler-up-disabled:hover &-handler-up-inner, ${pt}-handler-down-disabled:hover &-handler-down-inner `]:{color:Wr}})},{[`${pt}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${pt}-handler-down`]:{borderBlockStartWidth:0}}}]},_t=jt=>{const{componentCls:pt,paddingBlock:Zt,paddingInline:gn,inputAffixPadding:wn,controlWidth:Xn,borderRadiusLG:yr,borderRadiusSM:Dr}=jt;return{[`${pt}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,se.ik)(jt)),(0,se.bi)(jt,`${pt}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Xn,padding:0,paddingInlineStart:gn,"&-lg":{borderRadius:yr},"&-sm":{borderRadius:Dr},[`&:not(${pt}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,se.pU)(jt)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${pt}-disabled`]:{background:"transparent"},[`> div${pt}`]:{width:"100%",border:"none",outline:"none",[`&${pt}-focused`]:{boxShadow:"none !important"}},[`input${pt}-input`]:{padding:`${Zt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${pt}-handler-wrap`]:{zIndex:2},[pt]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:wn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:gn,marginInlineStart:wn}}})}};var kt=(0,vt.Z)("InputNumber",jt=>{const pt=(0,$e.TS)(jt,(0,se.e5)(jt));return[Pt(pt),_t(pt),(0,Je.c)(pt)]},jt=>Object.assign(Object.assign({},(0,se.TM)(jt)),{controlWidth:90,handleWidth:jt.controlHeightSM-jt.lineWidth*2,handleFontSize:jt.fontSize/2,handleVisible:"auto",handleActiveBg:jt.colorFillAlter,handleBg:jt.colorBgContainer,handleHoverColor:jt.colorPrimary,handleBorderColor:jt.colorBorder})),$t=function(jt,pt){var Zt={};for(var gn in jt)Object.prototype.hasOwnProperty.call(jt,gn)&&pt.indexOf(gn)<0&&(Zt[gn]=jt[gn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,gn=Object.getOwnPropertySymbols(jt);wn{const{getPrefixCls:Zt,direction:gn}=dt.useContext(mn.E_),wn=dt.useRef(null);dt.useImperativeHandle(pt,()=>wn.current);const{className:Xn,rootClassName:yr,size:Dr,disabled:Tr,prefixCls:Rr,addonBefore:Sr,addonAfter:fr,prefix:Vr,bordered:Bi=!0,readOnly:yi,status:mi,controls:Vi}=jt,ua=$t(jt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Wr=Zt("input-number",Rr),[Mn,ea]=kt(Wr),{compactSize:Ea,compactItemClassnames:wo}=(0,ae.ri)(Wr,gn);let sa=dt.createElement(Me.Z,{className:`${Wr}-handler-up-inner`}),Pi=dt.createElement(he.Z,{className:`${Wr}-handler-down-inner`});const Aa=typeof Vi=="boolean"?Vi:void 0;typeof Vi=="object"&&(sa=typeof Vi.upIcon=="undefined"?sa:dt.createElement("span",{className:`${Wr}-handler-up-inner`},Vi.upIcon),Pi=typeof Vi.downIcon=="undefined"?Pi:dt.createElement("span",{className:`${Wr}-handler-down-inner`},Vi.downIcon));const{hasFeedback:Si,status:qr,isFormItemInput:Ma,feedbackIcon:kn}=dt.useContext(ie.aM),Dt=(0,Cn.F)(qr,mi),Gt=(0,Fe.Z)(nr=>{var dr;return(dr=Dr!=null?Dr:Ea)!==null&&dr!==void 0?dr:nr}),Wt=dt.useContext(Se.Z),Kt=Tr!=null?Tr:Wt,on=ft()({[`${Wr}-lg`]:Gt==="large",[`${Wr}-sm`]:Gt==="small",[`${Wr}-rtl`]:gn==="rtl",[`${Wr}-borderless`]:!Bi,[`${Wr}-in-form-item`]:Ma},(0,Cn.Z)(Wr,Dt),wo,ea),_n=`${Wr}-group`,lr=dt.createElement(Gn,Object.assign({ref:wn,disabled:Kt,className:ft()(Xn,yr),upHandler:sa,downHandler:Pi,prefixCls:Wr,readOnly:yi,controls:Aa,prefix:Vr,suffix:Si&&kn,addonAfter:fr&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},fr)),addonBefore:Sr&&dt.createElement(ae.BR,null,dt.createElement(ie.Ux,{override:!0,status:!0},Sr)),classNames:{input:on},classes:{affixWrapper:ft()((0,Cn.Z)(`${Wr}-affix-wrapper`,Dt,Si),{[`${Wr}-affix-wrapper-sm`]:Gt==="small",[`${Wr}-affix-wrapper-lg`]:Gt==="large",[`${Wr}-affix-wrapper-rtl`]:gn==="rtl",[`${Wr}-affix-wrapper-borderless`]:!Bi},ea),wrapper:ft()({[`${_n}-rtl`]:gn==="rtl",[`${Wr}-wrapper-disabled`]:Kt},ea),group:ft()({[`${Wr}-group-wrapper-sm`]:Gt==="small",[`${Wr}-group-wrapper-lg`]:Gt==="large",[`${Wr}-group-wrapper-rtl`]:gn==="rtl"},(0,Cn.Z)(`${Wr}-group-wrapper`,Dt,Si),ea)}},ua));return Mn(lr)}),St=Sn,nn=jt=>dt.createElement(Bn.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},dt.createElement(Sn,Object.assign({},jt)));St._InternalPanelDoNotUseOrYouWillBeFired=nn;var tn=St},9432:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ye},n:function(){return Pe}});var he=de(19248),Me=de(92310),He=de.n(Me),ft=de(93681),Oe=de(8654),Le=de(59301),ve=de(19080),Ae=de(36355),xe=de(1684),fe=de(19716),Ke=de(32441),Be=de(33234),_e=de(59412),Ne=de(9937);function Qe(ze){return!!(ze.prefix||ze.suffix||ze.allowClear)}var ke=function(ze,qe){var We={};for(var Ze in ze)Object.prototype.hasOwnProperty.call(ze,Ze)&&qe.indexOf(Ze)<0&&(We[Ze]=ze[Ze]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ze=Object.getOwnPropertySymbols(ze);et{var We;const{prefixCls:Ze,bordered:et=!0,status:rt,size:ht,disabled:dt,onBlur:Ct,onFocus:Xe,suffix:Lt,allowClear:Re,addonAfter:Ht,addonBefore:Et,className:bt,style:Tt,styles:wt,rootClassName:it,onChange:Ue,classNames:at}=ze,Xt=ke(ze,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Vt,direction:xt,input:Qt}=Le.useContext(Ae.E_),An=Vt("input",Ze),Tn=(0,Le.useRef)(null),[dn,Gn]=(0,Ne.ZP)(An),{compactSize:Cn,compactItemClassnames:mn}=(0,Be.ri)(An,xt),Bn=(0,fe.Z)(Sn=>{var St;return(St=ht!=null?ht:Cn)!==null&&St!==void 0?St:Sn}),Se=Le.useContext(xe.Z),Fe=dt!=null?dt:Se,{status:ie,hasFeedback:ae,feedbackIcon:se}=(0,Le.useContext)(Ke.aM),oe=(0,ve.F)(ie,rt),Je=Qe(ze)||!!ae,vt=(0,Le.useRef)(Je);(0,Le.useEffect)(()=>{var Sn;Je&&vt.current,vt.current=Je},[Je]);const $e=(0,_e.Z)(Tn,!0),lt=Sn=>{$e(),Ct==null||Ct(Sn)},Pt=Sn=>{$e(),Xe==null||Xe(Sn)},_t=Sn=>{$e(),Ue==null||Ue(Sn)},kt=(ae||Lt)&&Le.createElement(Le.Fragment,null,Lt,ae&&se);let $t;return typeof Re=="object"&&(Re!=null&&Re.clearIcon)?$t=Re:Re&&($t={clearIcon:Le.createElement(he.Z,null)}),dn(Le.createElement(ft.default,Object.assign({ref:(0,Oe.sQ)(qe,Tn),prefixCls:An,autoComplete:Qt==null?void 0:Qt.autoComplete},Xt,{disabled:Fe,onBlur:lt,onFocus:Pt,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Tt),styles:Object.assign(Object.assign({},Qt==null?void 0:Qt.styles),wt),suffix:kt,allowClear:$t,className:He()(bt,it,mn,Qt==null?void 0:Qt.className),onChange:_t,addonAfter:Ht&&Le.createElement(Be.BR,null,Le.createElement(Ke.Ux,{override:!0,status:!0},Ht)),addonBefore:Et&&Le.createElement(Be.BR,null,Le.createElement(Ke.Ux,{override:!0,status:!0},Et)),classNames:Object.assign(Object.assign(Object.assign({},at),Qt==null?void 0:Qt.classNames),{input:He()({[`${An}-sm`]:Bn==="small",[`${An}-lg`]:Bn==="large",[`${An}-rtl`]:xt==="rtl",[`${An}-borderless`]:!et},!Je&&(0,ve.Z)(An,oe),at==null?void 0:at.input,(We=Qt==null?void 0:Qt.classNames)===null||We===void 0?void 0:We.input,Gn)}),classes:{affixWrapper:He()({[`${An}-affix-wrapper-sm`]:Bn==="small",[`${An}-affix-wrapper-lg`]:Bn==="large",[`${An}-affix-wrapper-rtl`]:xt==="rtl",[`${An}-affix-wrapper-borderless`]:!et},(0,ve.Z)(`${An}-affix-wrapper`,oe,ae),Gn),wrapper:He()({[`${An}-group-rtl`]:xt==="rtl"},Gn),group:He()({[`${An}-group-wrapper-sm`]:Bn==="small",[`${An}-group-wrapper-lg`]:Bn==="large",[`${An}-group-wrapper-rtl`]:xt==="rtl",[`${An}-group-wrapper-disabled`]:Fe},(0,ve.Z)(`${An}-group-wrapper`,oe,ae),Gn)}})))})},1643:function(Qn,Yt,de){"use strict";var he=de(19248),Me=de(92310),He=de.n(Me),ft=de(9296),Oe=de(59301),Le=de(19080),ve=de(36355),Ae=de(1684),xe=de(19716),fe=de(32441),Ke=de(9432),Be=de(9937),_e=function(Qe,ke){var Pe={};for(var Te in Qe)Object.prototype.hasOwnProperty.call(Qe,Te)&&ke.indexOf(Te)<0&&(Pe[Te]=Qe[Te]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Te=Object.getOwnPropertySymbols(Qe);Ye{const{prefixCls:Pe,bordered:Te=!0,size:Ye,disabled:ze,status:qe,allowClear:We,showCount:Ze,classNames:et,rootClassName:rt,className:ht}=Qe,dt=_e(Qe,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Ct,direction:Xe}=Oe.useContext(ve.E_),Lt=(0,xe.Z)(Ye),Re=Oe.useContext(Ae.Z),Ht=ze!=null?ze:Re,{status:Et,hasFeedback:bt,feedbackIcon:Tt}=Oe.useContext(fe.aM),wt=(0,Le.F)(Et,qe),it=Oe.useRef(null);Oe.useImperativeHandle(ke,()=>{var xt;return{resizableTextArea:(xt=it.current)===null||xt===void 0?void 0:xt.resizableTextArea,focus:Qt=>{var An,Tn;(0,Ke.n)((Tn=(An=it.current)===null||An===void 0?void 0:An.resizableTextArea)===null||Tn===void 0?void 0:Tn.textArea,Qt)},blur:()=>{var Qt;return(Qt=it.current)===null||Qt===void 0?void 0:Qt.blur()}}});const Ue=Ct("input",Pe);let at;typeof We=="object"&&(We!=null&&We.clearIcon)?at=We:We&&(at={clearIcon:Oe.createElement(he.Z,null)});const[Xt,Vt]=(0,Be.ZP)(Ue);return Xt(Oe.createElement(ft.default,Object.assign({},dt,{disabled:Ht,allowClear:at,className:He()(ht,rt),classes:{affixWrapper:He()(`${Ue}-textarea-affix-wrapper`,{[`${Ue}-affix-wrapper-rtl`]:Xe==="rtl",[`${Ue}-affix-wrapper-borderless`]:!Te,[`${Ue}-affix-wrapper-sm`]:Lt==="small",[`${Ue}-affix-wrapper-lg`]:Lt==="large",[`${Ue}-textarea-show-count`]:Ze},(0,Le.Z)(`${Ue}-affix-wrapper`,wt),Vt)},classNames:Object.assign(Object.assign({},et),{textarea:He()({[`${Ue}-borderless`]:!Te,[`${Ue}-sm`]:Lt==="small",[`${Ue}-lg`]:Lt==="large"},(0,Le.Z)(Ue,wt),Vt,et==null?void 0:et.textarea)}),prefixCls:Ue,suffix:bt&&Oe.createElement("span",{className:`${Ue}-textarea-suffix`},Tt),showCount:Ze,ref:it})))});Yt.Z=Ne},59412:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});var he=de(59301);function Me(He,ft){const Oe=(0,he.useRef)([]),Le=()=>{Oe.current.push(setTimeout(()=>{var ve,Ae,xe,fe;!((ve=He.current)===null||ve===void 0)&&ve.input&&((Ae=He.current)===null||Ae===void 0?void 0:Ae.input.getAttribute("type"))==="password"&&(!((xe=He.current)===null||xe===void 0)&&xe.input.hasAttribute("value"))&&((fe=He.current)===null||fe===void 0||fe.input.removeAttribute("value"))}))};return(0,he.useEffect)(()=>(ft&&Le(),()=>Oe.current.forEach(ve=>{ve&&clearTimeout(ve)})),[]),Le}},92832:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return Lt}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(32441),Le=de(9937),Ae=Re=>{const{getPrefixCls:Ht,direction:Et}=(0,He.useContext)(ft.E_),{prefixCls:bt,className:Tt}=Re,wt=Ht("input-group",bt),it=Ht("input"),[Ue,at]=(0,Le.ZP)(it),Xt=Me()(wt,{[`${wt}-lg`]:Re.size==="large",[`${wt}-sm`]:Re.size==="small",[`${wt}-compact`]:Re.compact,[`${wt}-rtl`]:Et==="rtl"},at,Tt),Vt=(0,He.useContext)(Oe.aM),xt=(0,He.useMemo)(()=>Object.assign(Object.assign({},Vt),{isFormItemInput:!1}),[Vt]);return Ue(He.createElement("span",{className:Xt,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},He.createElement(Oe.aM.Provider,{value:xt},Re.children)))},xe=de(9432),fe=de(73331),Ke=de(15277),Be=de(2738),_e=de(8654),Ne=de(59412),Qe=function(Re,Ht){var Et={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);TtRe?He.createElement(Ke.Z,null):He.createElement(fe.Z,null),Pe={click:"onClick",hover:"onMouseOver"};var Ye=He.forwardRef((Re,Ht)=>{const{visibilityToggle:Et=!0}=Re,bt=typeof Et=="object"&&Et.visible!==void 0,[Tt,wt]=(0,He.useState)(()=>bt?Et.visible:!1),it=(0,He.useRef)(null);He.useEffect(()=>{bt&&wt(Et.visible)},[bt,Et]);const Ue=(0,Ne.Z)(it),at=()=>{const{disabled:Fe}=Re;Fe||(Tt&&Ue(),wt(ie=>{var ae;const se=!ie;return typeof Et=="object"&&((ae=Et.onVisibleChange)===null||ae===void 0||ae.call(Et,se)),se}))},Xt=Fe=>{const{action:ie="click",iconRender:ae=ke}=Re,se=Pe[ie]||"",oe=ae(Tt),Je={[se]:at,className:`${Fe}-icon`,key:"passwordIcon",onMouseDown:vt=>{vt.preventDefault()},onMouseUp:vt=>{vt.preventDefault()}};return He.cloneElement(He.isValidElement(oe)?oe:He.createElement("span",null,oe),Je)},{className:Vt,prefixCls:xt,inputPrefixCls:Qt,size:An}=Re,Tn=Qe(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:dn}=He.useContext(ft.E_),Gn=dn("input",Qt),Cn=dn("input-password",xt),mn=Et&&Xt(Cn),Bn=Me()(Cn,Vt,{[`${Cn}-${An}`]:!!An}),Se=Object.assign(Object.assign({},(0,Be.Z)(Tn,["suffix","iconRender","visibilityToggle"])),{type:Tt?"text":"password",className:Bn,prefixCls:Gn,suffix:mn});return An&&(Se.size=An),He.createElement(xe.Z,Object.assign({ref:(0,_e.sQ)(Ht,it)},Se))}),ze=de(47472),qe=de(92343),We=de(3113),Ze=de(19716),et=de(33234),rt=function(Re,Ht){var Et={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt{const{prefixCls:Et,inputPrefixCls:bt,className:Tt,size:wt,suffix:it,enterButton:Ue=!1,addonAfter:at,loading:Xt,disabled:Vt,onSearch:xt,onChange:Qt,onCompositionStart:An,onCompositionEnd:Tn}=Re,dn=rt(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Gn,direction:Cn}=He.useContext(ft.E_),mn=He.useRef(!1),Bn=Gn("input-search",Et),Se=Gn("input",bt),{compactSize:Fe}=(0,et.ri)(Bn,Cn),ie=(0,Ze.Z)(nn=>{var tn;return(tn=wt!=null?wt:Fe)!==null&&tn!==void 0?tn:nn}),ae=He.useRef(null),se=nn=>{nn&&nn.target&&nn.type==="click"&&xt&&xt(nn.target.value,nn,{source:"clear"}),Qt&&Qt(nn)},oe=nn=>{var tn;document.activeElement===((tn=ae.current)===null||tn===void 0?void 0:tn.input)&&nn.preventDefault()},Je=nn=>{var tn,jt;xt&&xt((jt=(tn=ae.current)===null||tn===void 0?void 0:tn.input)===null||jt===void 0?void 0:jt.value,nn,{source:"input"})},vt=nn=>{mn.current||Xt||Je(nn)},$e=typeof Ue=="boolean"?He.createElement(ze.Z,null):null,lt=`${Bn}-button`;let Pt;const _t=Ue||{},kt=_t.type&&_t.type.__ANT_BUTTON===!0;kt||_t.type==="button"?Pt=(0,qe.Tm)(_t,Object.assign({onMouseDown:oe,onClick:nn=>{var tn,jt;(jt=(tn=_t==null?void 0:_t.props)===null||tn===void 0?void 0:tn.onClick)===null||jt===void 0||jt.call(tn,nn),Je(nn)},key:"enterButton"},kt?{className:lt,size:ie}:{})):Pt=He.createElement(We.ZP,{className:lt,type:Ue?"primary":void 0,size:ie,disabled:Vt,key:"enterButton",onMouseDown:oe,onClick:Je,loading:Xt,icon:$e},Ue),at&&(Pt=[Pt,(0,qe.Tm)(at,{key:"addonAfter"})]);const $t=Me()(Bn,{[`${Bn}-rtl`]:Cn==="rtl",[`${Bn}-${ie}`]:!!ie,[`${Bn}-with-button`]:!!Ue},Tt),Sn=nn=>{mn.current=!0,An==null||An(nn)},St=nn=>{mn.current=!1,Tn==null||Tn(nn)};return He.createElement(xe.Z,Object.assign({ref:(0,_e.sQ)(ae,Ht),onPressEnter:vt},dn,{size:ie,onCompositionStart:Sn,onCompositionEnd:St,prefixCls:Se,addonAfter:Pt,suffix:it,onChange:se,className:$t,disabled:Vt}))}),Ct=de(1643);const Xe=xe.Z;Xe.Group=Ae,Xe.Search=dt,Xe.TextArea=Ct.Z,Xe.Password=Ye;var Lt=Xe},9937:function(Qn,Yt,de){"use strict";de.d(Yt,{M1:function(){return ve},TM:function(){return qe},Xy:function(){return Ae},bi:function(){return Ke},e5:function(){return ze},ik:function(){return Be},nz:function(){return Oe},pU:function(){return Le},s7:function(){return _e},x0:function(){return fe}});var he=de(17313),Me=de(74207),He=de(37613),ft=de(83116);const Oe=We=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:We,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Le=We=>({borderColor:We.hoverBorderColor}),ve=We=>({borderColor:We.activeBorderColor,boxShadow:We.activeShadow,outline:0}),Ae=We=>({color:We.colorTextDisabled,backgroundColor:We.colorBgContainerDisabled,borderColor:We.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Le((0,He.TS)(We,{hoverBorderColor:We.colorBorder})))}),xe=We=>{const{paddingBlockLG:Ze,fontSizeLG:et,lineHeightLG:rt,borderRadiusLG:ht,paddingInlineLG:dt}=We;return{padding:`${Ze}px ${dt}px`,fontSize:et,lineHeight:rt,borderRadius:ht}},fe=We=>({padding:`${We.paddingBlockSM}px ${We.paddingInlineSM}px`,borderRadius:We.borderRadiusSM}),Ke=(We,Ze)=>{const{componentCls:et,colorError:rt,colorWarning:ht,errorActiveShadow:dt,warningActiveShadow:Ct,colorErrorBorderHover:Xe,colorWarningBorderHover:Lt}=We;return{[`&-status-error:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:rt,"&:hover":{borderColor:Xe},"&:focus, &-focused":Object.assign({},ve((0,He.TS)(We,{activeBorderColor:rt,activeShadow:dt}))),[`${et}-prefix, ${et}-suffix`]:{color:rt}},[`&-status-warning:not(${Ze}-disabled):not(${Ze}-borderless)${Ze}`]:{borderColor:ht,"&:hover":{borderColor:Lt},"&:focus, &-focused":Object.assign({},ve((0,He.TS)(We,{activeBorderColor:ht,activeShadow:Ct}))),[`${et}-prefix, ${et}-suffix`]:{color:ht}}}},Be=We=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${We.paddingBlock}px ${We.paddingInline}px`,color:We.colorText,fontSize:We.fontSize,lineHeight:We.lineHeight,backgroundColor:We.colorBgContainer,backgroundImage:"none",borderWidth:We.lineWidth,borderStyle:We.lineType,borderColor:We.colorBorder,borderRadius:We.borderRadius,transition:`all ${We.motionDurationMid}`},Oe(We.colorTextPlaceholder)),{"&:hover":Object.assign({},Le(We)),"&:focus, &-focused":Object.assign({},ve(We)),"&-disabled, &[disabled]":Object.assign({},Ae(We)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:We.controlHeight,lineHeight:We.lineHeight,verticalAlign:"bottom",transition:`all ${We.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},xe(We)),"&-sm":Object.assign({},fe(We)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),_e=We=>{const{componentCls:Ze,antCls:et}=We;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:We.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${Ze}, &-lg > ${Ze}-group-addon`]:Object.assign({},xe(We)),[`&-sm ${Ze}, &-sm > ${Ze}-group-addon`]:Object.assign({},fe(We)),[`&-lg ${et}-select-single ${et}-select-selector`]:{height:We.controlHeightLG},[`&-sm ${et}-select-single ${et}-select-selector`]:{height:We.controlHeightSM},[`> ${Ze}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${Ze}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${We.paddingInline}px`,color:We.colorText,fontWeight:"normal",fontSize:We.fontSize,textAlign:"center",backgroundColor:We.colorFillAlter,border:`${We.lineWidth}px ${We.lineType} ${We.colorBorder}`,borderRadius:We.borderRadius,transition:`all ${We.motionDurationSlow}`,lineHeight:1,[`${et}-select`]:{margin:`-${We.paddingBlock+1}px -${We.paddingInline}px`,[`&${et}-select-single:not(${et}-select-customize-input)`]:{[`${et}-select-selector`]:{backgroundColor:"inherit",border:`${We.lineWidth}px ${We.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${et}-select-selector`]:{color:We.colorPrimary}}},[`${et}-cascader-picker`]:{margin:`-9px -${We.paddingInline}px`,backgroundColor:"transparent",[`${et}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${Ze}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${Ze}-search-with-button &`]:{zIndex:0}}},[`> ${Ze}:first-child, ${Ze}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${et}-select ${et}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ze}-affix-wrapper`]:{[`&:not(:first-child) ${Ze}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${Ze}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ze}:last-child, ${Ze}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${et}-select ${et}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${Ze}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ze}-search &`]:{borderStartStartRadius:We.borderRadius,borderEndStartRadius:We.borderRadius}},[`&:not(:first-child), ${Ze}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${Ze}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,he.dF)()),{[`${Ze}-group-addon, ${Ze}-group-wrap, > ${Ze}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:We.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${Ze}-affix-wrapper, & > ${Ze}-number-affix-wrapper, & > ${et}-picker-range `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-We.lineWidth,borderInlineEndWidth:We.lineWidth},[`${Ze}`]:{float:"none"},[`& > ${et}-select > ${et}-select-selector, & > ${et}-select-auto-complete ${Ze}, & > ${et}-cascader-picker ${Ze}, & > ${Ze}-group-wrapper ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${et}-select-focused`]:{zIndex:1},[`& > ${et}-select > ${et}-select-arrow`]:{zIndex:1},[`& > *:first-child, & > ${et}-select:first-child > ${et}-select-selector, & > ${et}-select-auto-complete:first-child ${Ze}, & > ${et}-cascader-picker:first-child ${Ze}`]:{borderStartStartRadius:We.borderRadius,borderEndStartRadius:We.borderRadius},[`& > *:last-child, & > ${et}-select:last-child > ${et}-select-selector, & > ${et}-cascader-picker:last-child ${Ze}, & > ${et}-cascader-picker-focused:last-child ${Ze}`]:{borderInlineEndWidth:We.lineWidth,borderStartEndRadius:We.borderRadius,borderEndEndRadius:We.borderRadius},[`& > ${et}-select-auto-complete ${Ze}`]:{verticalAlign:"top"},[`${Ze}-group-wrapper + ${Ze}-group-wrapper`]:{marginInlineStart:-We.lineWidth,[`${Ze}-affix-wrapper`]:{borderRadius:0}},[`${Ze}-group-wrapper:not(:last-child)`]:{[`&${Ze}-search > ${Ze}-group`]:{[`& > ${Ze}-group-addon > ${Ze}-search-button`]:{borderRadius:0},[`& > ${Ze}`]:{borderStartStartRadius:We.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:We.borderRadius}}}})}},Ne=We=>{const{componentCls:Ze,controlHeightSM:et,lineWidth:rt}=We,dt=(et-rt*2-16)/2;return{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(We)),Be(We)),Ke(We,Ze)),{'&[type="color"]':{height:We.controlHeight,[`&${Ze}-lg`]:{height:We.controlHeightLG},[`&${Ze}-sm`]:{height:et,paddingTop:dt,paddingBottom:dt}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Qe=We=>{const{componentCls:Ze}=We;return{[`${Ze}-clear-icon`]:{margin:0,color:We.colorTextQuaternary,fontSize:We.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${We.motionDurationSlow}`,"&:hover":{color:We.colorTextTertiary},"&:active":{color:We.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${We.inputAffixPadding}px`}}}},ke=We=>{const{componentCls:Ze,inputAffixPadding:et,colorTextDescription:rt,motionDurationSlow:ht,colorIcon:dt,colorIconHover:Ct,iconCls:Xe}=We;return{[`${Ze}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Be(We)),{display:"inline-flex",[`&:not(${Ze}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Le(We)),{zIndex:1,[`${Ze}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${Ze}[disabled]`]:{background:"transparent"}},[`> input${Ze}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Ze}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:We.paddingXS}},"&-show-count-suffix":{color:rt},"&-show-count-has-suffix":{marginInlineEnd:We.paddingXXS},"&-prefix":{marginInlineEnd:et},"&-suffix":{marginInlineStart:et}}}),Qe(We)),{[`${Xe}${Ze}-password-icon`]:{color:dt,cursor:"pointer",transition:`all ${ht}`,"&:hover":{color:Ct}}}),Ke(We,`${Ze}-affix-wrapper`))}},Pe=We=>{const{componentCls:Ze,colorError:et,colorWarning:rt,borderRadiusLG:ht,borderRadiusSM:dt}=We;return{[`${Ze}-group`]:Object.assign(Object.assign(Object.assign({},(0,he.Wf)(We)),_e(We)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${Ze}-group-addon`]:{borderRadius:ht,fontSize:We.fontSizeLG}},"&-sm":{[`${Ze}-group-addon`]:{borderRadius:dt}},"&-status-error":{[`${Ze}-group-addon`]:{color:et,borderColor:et}},"&-status-warning":{[`${Ze}-group-addon`]:{color:rt,borderColor:rt}},"&-disabled":{[`${Ze}-group-addon`]:Object.assign({},Ae(We))},[`&:not(${Ze}-compact-first-item):not(${Ze}-compact-last-item)${Ze}-compact-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderRadius:0}},[`&:not(${Ze}-compact-last-item)${Ze}-compact-first-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ze}-compact-first-item)${Ze}-compact-last-item`]:{[`${Ze}, ${Ze}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Te=We=>{const{componentCls:Ze,antCls:et}=We,rt=`${Ze}-search`;return{[rt]:{[`${Ze}`]:{"&:hover, &:focus":{borderColor:We.colorPrimaryHover,[`+ ${Ze}-group-addon ${rt}-button:not(${et}-btn-primary)`]:{borderInlineStartColor:We.colorPrimaryHover}}},[`${Ze}-affix-wrapper`]:{borderRadius:0},[`${Ze}-lg`]:{lineHeight:We.lineHeightLG-2e-4},[`> ${Ze}-group`]:{[`> ${Ze}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${rt}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:We.borderRadius,borderEndEndRadius:We.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${rt}-button:not(${et}-btn-primary)`]:{color:We.colorTextDescription,"&:hover":{color:We.colorPrimaryHover},"&:active":{color:We.colorPrimaryActive},[`&${et}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${rt}-button`]:{height:We.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${rt}-button`]:{height:We.controlHeightLG},[`&-small ${rt}-button`]:{height:We.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${Ze}-compact-item`]:{[`&:not(${Ze}-compact-last-item)`]:{[`${Ze}-group-addon`]:{[`${Ze}-search-button`]:{marginInlineEnd:-We.lineWidth,borderRadius:0}}},[`&:not(${Ze}-compact-first-item)`]:{[`${Ze},${Ze}-affix-wrapper`]:{borderRadius:0}},[`> ${Ze}-group-addon ${Ze}-search-button, > ${Ze}, ${Ze}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${Ze}-affix-wrapper-focused`]:{zIndex:2}}}}},Ye=We=>{const{componentCls:Ze,paddingLG:et}=We,rt=`${Ze}-textarea`;return{[rt]:{position:"relative","&-show-count":{[`> ${Ze}`]:{height:"100%"},[`${Ze}-data-count`]:{position:"absolute",bottom:-We.fontSize*We.lineHeight,insetInlineEnd:0,color:We.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${Ze}`]:{paddingInlineEnd:et}},[`&-affix-wrapper${rt}-has-feedback`]:{[`${Ze}`]:{paddingInlineEnd:et}},[`&-affix-wrapper${Ze}-affix-wrapper`]:{padding:0,[`> textarea${Ze}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${Ze}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Ze}-clear-icon`]:{position:"absolute",insetInlineEnd:We.paddingXS,insetBlockStart:We.paddingXS},[`${rt}-suffix`]:{position:"absolute",top:0,insetInlineEnd:We.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ze(We){return(0,He.TS)(We,{inputAffixPadding:We.paddingXXS})}const qe=We=>{const{controlHeight:Ze,fontSize:et,lineHeight:rt,lineWidth:ht,controlHeightSM:dt,controlHeightLG:Ct,fontSizeLG:Xe,lineHeightLG:Lt,paddingSM:Re,controlPaddingHorizontalSM:Ht,controlPaddingHorizontal:Et,colorFillAlter:bt,colorPrimaryHover:Tt,controlOutlineWidth:wt,controlOutline:it,colorErrorOutline:Ue,colorWarningOutline:at}=We;return{paddingBlock:Math.max(Math.round((Ze-et*rt)/2*10)/10-ht,3),paddingBlockSM:Math.max(Math.round((dt-et*rt)/2*10)/10-ht,0),paddingBlockLG:Math.ceil((Ct-Xe*Lt)/2*10)/10-ht,paddingInline:Re-ht,paddingInlineSM:Ht-ht,paddingInlineLG:Et-ht,addonBg:bt,activeBorderColor:Tt,hoverBorderColor:Tt,activeShadow:`0 0 0 ${wt}px ${it}`,errorActiveShadow:`0 0 0 ${wt}px ${Ue}`,warningActiveShadow:`0 0 0 ${wt}px ${at}`}};Yt.ZP=(0,ft.Z)("Input",We=>{const Ze=(0,He.TS)(We,ze(We));return[Ne(Ze),Ye(Ze),ke(Ze),Pe(Ze),Te(Ze),(0,Me.c)(Ze)]},qe)},45818:function(Qn,Yt,de){"use strict";de.d(Yt,{D:function(){return ze},Z:function(){return Ze}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(rt,ht){return Me.createElement(Oe.Z,(0,he.Z)({},rt,{ref:ht,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(33853),fe=de(38819),Ke=de(92310),Be=de.n(Ke),_e=de(2738),Qe=et=>!isNaN(parseFloat(et))&&isFinite(et),ke=de(36355),Pe=de(84966),Te=function(et,rt){var ht={};for(var dt in et)Object.prototype.hasOwnProperty.call(et,dt)&&rt.indexOf(dt)<0&&(ht[dt]=et[dt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,dt=Object.getOwnPropertySymbols(et);Ct{let et=0;return function(){let rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return et+=1,`${rt}${et}`}})();var Ze=Me.forwardRef((et,rt)=>{const{prefixCls:ht,className:dt,trigger:Ct,children:Xe,defaultCollapsed:Lt=!1,theme:Re="dark",style:Ht={},collapsible:Et=!1,reverseArrow:bt=!1,width:Tt=200,collapsedWidth:wt=80,zeroWidthTriggerStyle:it,breakpoint:Ue,onCollapse:at,onBreakpoint:Xt}=et,Vt=Te(et,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:xt}=(0,Me.useContext)(Pe.Gs),[Qt,An]=(0,Me.useState)("collapsed"in et?et.collapsed:Lt),[Tn,dn]=(0,Me.useState)(!1);(0,Me.useEffect)(()=>{"collapsed"in et&&An(et.collapsed)},[et.collapsed]);const Gn=(ie,ae)=>{"collapsed"in et||An(ie),at==null||at(ie,ae)},Cn=(0,Me.useRef)();Cn.current=ie=>{dn(ie.matches),Xt==null||Xt(ie.matches),Qt!==ie.matches&&Gn(ie.matches,"responsive")},(0,Me.useEffect)(()=>{function ie(se){return Cn.current(se)}let ae;if(typeof window!="undefined"){const{matchMedia:se}=window;if(se&&Ue&&Ue in Ye){ae=se(`(max-width: ${Ye[Ue]})`);try{ae.addEventListener("change",ie)}catch(oe){ae.addListener(ie)}ie(ae)}}return()=>{try{ae==null||ae.removeEventListener("change",ie)}catch(se){ae==null||ae.removeListener(ie)}}},[Ue]),(0,Me.useEffect)(()=>{const ie=qe("ant-sider-");return xt.addSider(ie),()=>xt.removeSider(ie)},[]);const mn=()=>{Gn(!Qt,"clickTrigger")},{getPrefixCls:Bn}=(0,Me.useContext)(ke.E_),Se=()=>{const ie=Bn("layout-sider",ht),ae=(0,_e.Z)(Vt,["collapsed"]),se=Qt?wt:Tt,oe=Qe(se)?`${se}px`:String(se),Je=parseFloat(String(wt||0))===0?Me.createElement("span",{onClick:mn,className:Be()(`${ie}-zero-width-trigger`,`${ie}-zero-width-trigger-${bt?"right":"left"}`),style:it},Ct||Me.createElement(Ae,null)):null,lt={expanded:bt?Me.createElement(fe.Z,null):Me.createElement(xe.Z,null),collapsed:bt?Me.createElement(xe.Z,null):Me.createElement(fe.Z,null)}[Qt?"collapsed":"expanded"],Pt=Ct!==null?Je||Me.createElement("div",{className:`${ie}-trigger`,onClick:mn,style:{width:oe}},Ct||lt):null,_t=Object.assign(Object.assign({},Ht),{flex:`0 0 ${oe}`,maxWidth:oe,minWidth:oe,width:oe}),kt=Be()(ie,`${ie}-${Re}`,{[`${ie}-collapsed`]:!!Qt,[`${ie}-has-trigger`]:Et&&Ct!==null&&!Je,[`${ie}-below`]:!!Tn,[`${ie}-zero-width`]:parseFloat(oe)===0},dt);return Me.createElement("aside",Object.assign({className:kt},ae,{style:_t,ref:rt}),Me.createElement("div",{className:`${ie}-children`},Xe),Et||Tn&&Je?Pt:null)},Fe=Me.useMemo(()=>({siderCollapsed:Qt}),[Qt]);return Me.createElement(ze.Provider,{value:Fe},Se())})},84966:function(Qn,Yt,de){"use strict";de.d(Yt,{VY:function(){return ze},$_:function(){return Ye},h4:function(){return Te},Gs:function(){return _e},ZP:function(){return qe}});var he=de(77654),Me=de(92310),He=de.n(Me),ft=de(2738),Oe=de(59301),Le=de(36355),ve=de(83116),xe=We=>{const{componentCls:Ze,bodyBg:et,lightSiderBg:rt,lightTriggerBg:ht,lightTriggerColor:dt}=We;return{[`${Ze}-sider-light`]:{background:rt,[`${Ze}-sider-trigger`]:{color:dt,background:ht},[`${Ze}-sider-zero-width-trigger`]:{color:dt,background:ht,border:`1px solid ${et}`,borderInlineStart:0}}}};const fe=We=>{const{antCls:Ze,componentCls:et,colorText:rt,triggerColor:ht,footerBg:dt,triggerBg:Ct,headerHeight:Xe,headerPadding:Lt,headerColor:Re,footerPadding:Ht,triggerHeight:Et,zeroTriggerHeight:bt,zeroTriggerWidth:Tt,motionDurationMid:wt,motionDurationSlow:it,fontSize:Ue,borderRadius:at,bodyBg:Xt,headerBg:Vt,siderBg:xt}=We;return{[et]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Xt,"&, *":{boxSizing:"border-box"},[`&${et}-has-sider`]:{flexDirection:"row",[`> ${et}, > ${et}-content`]:{width:0}},[`${et}-header, &${et}-footer`]:{flex:"0 0 auto"},[`${et}-sider`]:{position:"relative",minWidth:0,background:xt,transition:`all ${wt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ze}-menu${Ze}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Et},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Et,color:ht,lineHeight:`${Et}px`,textAlign:"center",background:Ct,cursor:"pointer",transition:`all ${wt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Xe,insetInlineEnd:-Tt,zIndex:1,width:Tt,height:bt,color:ht,fontSize:We.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:xt,borderStartStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Tt,borderStartStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:at}}}}},xe(We)),{"&-rtl":{direction:"rtl"}}),[`${et}-header`]:{height:Xe,padding:Lt,color:Re,lineHeight:`${Xe}px`,background:Vt,[`${Ze}-menu`]:{lineHeight:"inherit"}},[`${et}-footer`]:{padding:Ht,color:rt,fontSize:Ue,background:dt},[`${et}-content`]:{flex:"auto",minHeight:0}}};var Ke=(0,ve.Z)("Layout",We=>[fe(We)],We=>{const{colorBgLayout:Ze,controlHeight:et,controlHeightLG:rt,colorText:ht,controlHeightSM:dt,marginXXS:Ct,colorTextLightSolid:Xe,colorBgContainer:Lt}=We,Re=rt*1.25;return{colorBgHeader:"#001529",colorBgBody:Ze,colorBgTrigger:"#002140",bodyBg:Ze,headerBg:"#001529",headerHeight:et*2,headerPadding:`0 ${Re}px`,headerColor:ht,footerPadding:`${dt}px ${Re}px`,footerBg:Ze,siderBg:"#001529",triggerHeight:rt+Ct*2,triggerBg:"#002140",triggerColor:Xe,zeroTriggerWidth:rt,zeroTriggerHeight:rt,lightSiderBg:Lt,lightTriggerBg:Lt,lightTriggerColor:ht}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Be=function(We,Ze){var et={};for(var rt in We)Object.prototype.hasOwnProperty.call(We,rt)&&Ze.indexOf(rt)<0&&(et[rt]=We[rt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,rt=Object.getOwnPropertySymbols(We);htnull,removeSider:()=>null}});function Ne(We){let{suffixCls:Ze,tagName:et,displayName:rt}=We;return ht=>Oe.forwardRef((Ct,Xe)=>Oe.createElement(ht,Object.assign({ref:Xe,suffixCls:Ze,tagName:et},Ct)))}const Qe=Oe.forwardRef((We,Ze)=>{const{prefixCls:et,suffixCls:rt,className:ht,tagName:dt}=We,Ct=Be(We,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Xe}=Oe.useContext(Le.E_),Lt=Xe("layout",et),[Re,Ht]=Ke(Lt),Et=rt?`${Lt}-${rt}`:Lt;return Re(Oe.createElement(dt,Object.assign({className:He()(et||Et,ht,Ht),ref:Ze},Ct)))}),ke=Oe.forwardRef((We,Ze)=>{const{direction:et}=Oe.useContext(Le.E_),[rt,ht]=Oe.useState([]),{prefixCls:dt,className:Ct,rootClassName:Xe,children:Lt,hasSider:Re,tagName:Ht,style:Et}=We,bt=Be(We,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Tt=(0,ft.Z)(bt,["suffixCls"]),{getPrefixCls:wt,layout:it}=Oe.useContext(Le.E_),Ue=wt("layout",dt),[at,Xt]=Ke(Ue),Vt=He()(Ue,{[`${Ue}-has-sider`]:typeof Re=="boolean"?Re:rt.length>0,[`${Ue}-rtl`]:et==="rtl"},it==null?void 0:it.className,Ct,Xe,Xt),xt=Oe.useMemo(()=>({siderHook:{addSider:Qt=>{ht(An=>[].concat((0,he.Z)(An),[Qt]))},removeSider:Qt=>{ht(An=>An.filter(Tn=>Tn!==Qt))}}}),[]);return at(Oe.createElement(_e.Provider,{value:xt},Oe.createElement(Ht,Object.assign({ref:Ze,className:Vt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Et)},Tt),Lt)))}),Pe=Ne({tagName:"div",displayName:"Layout"})(ke),Te=Ne({suffixCls:"header",tagName:"header",displayName:"Header"})(Qe),Ye=Ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Qe),ze=Ne({suffixCls:"content",tagName:"main",displayName:"Content"})(Qe);var qe=Pe},40875:function(Qn,Yt,de){"use strict";de.d(Yt,{J:function(){return Le}});var he=de(59301),Me=de(33234),He=de(70425),ft=function(ve,Ae){var xe={};for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&Ae.indexOf(fe)<0&&(xe[fe]=ve[fe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,fe=Object.getOwnPropertySymbols(ve);Ke{const{children:xe}=ve,fe=ft(ve,["children"]),Ke=he.useContext(Oe),Be=he.useMemo(()=>Object.assign(Object.assign({},Ke),fe),[Ke,fe.prefixCls,fe.mode,fe.selectable]);return he.createElement(Oe.Provider,{value:Be},he.createElement(Me.BR,null,(0,He.supportNodeRef)(xe)?he.cloneElement(xe,{ref:Ae}):xe))});Yt.Z=Oe},20834:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return Fe}});var he=de(15285),Me=de(59301),He=de(45818),ft=de(92310),Oe=de.n(ft),Le=de(36355),ve=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,oe=Object.getOwnPropertySymbols(ie);Je{const{prefixCls:ae,className:se,dashed:oe}=ie,Je=ve(ie,["prefixCls","className","dashed"]),{getPrefixCls:vt}=Me.useContext(Le.E_),$e=vt("menu",ae),lt=Oe()({[`${$e}-item-divider-dashed`]:!!oe},se);return Me.createElement(he.iz,Object.assign({className:lt},Je))},fe=de(11592),Ke=de(2738),Be=de(6848),_e=de(92343),Qe=(0,Me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Pe=ie=>{var ae;const{className:se,children:oe,icon:Je,title:vt,danger:$e}=ie,{prefixCls:lt,firstLevel:Pt,direction:_t,disableMenuItemTitleTooltip:kt,inlineCollapsed:$t}=Me.useContext(Qe),Sn=Zt=>{const gn=Me.createElement("span",{className:`${lt}-title-content`},oe);return(!Je||(0,_e.l$)(oe)&&oe.type==="span")&&oe&&Zt&&Pt&&typeof oe=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},oe.charAt(0)):gn},{siderCollapsed:St}=Me.useContext(He.D);let nn=vt;typeof vt=="undefined"?nn=Pt?oe:"":vt===!1&&(nn="");const tn={title:nn};!St&&!$t&&(tn.title=null,tn.open=!1);const jt=(0,fe.Z)(oe).length;let pt=Me.createElement(he.ck,Object.assign({},(0,Ke.Z)(ie,["title","icon","danger"]),{className:Oe()({[`${lt}-item-danger`]:$e,[`${lt}-item-only-child`]:(Je?jt+1:jt)===1},se),title:typeof vt=="string"?vt:void 0}),(0,_e.Tm)(Je,{className:Oe()((0,_e.l$)(Je)?(ae=Je.props)===null||ae===void 0?void 0:ae.className:"",`${lt}-item-icon`)}),Sn($t));return kt||(pt=Me.createElement(Be.Z,Object.assign({},tn,{placement:_t==="rtl"?"left":"right",overlayClassName:`${lt}-inline-collapsed-tooltip`}),pt)),pt},Ye=ie=>{var ae;const{popupClassName:se,icon:oe,title:Je,theme:vt}=ie,$e=Me.useContext(Qe),{prefixCls:lt,inlineCollapsed:Pt,theme:_t}=$e,kt=(0,he.Xl)();let $t;if(!oe)$t=Pt&&!kt.length&&Je&&typeof Je=="string"?Me.createElement("div",{className:`${lt}-inline-collapsed-noicon`},Je.charAt(0)):Me.createElement("span",{className:`${lt}-title-content`},Je);else{const St=(0,_e.l$)(Je)&&Je.type==="span";$t=Me.createElement(Me.Fragment,null,(0,_e.Tm)(oe,{className:Oe()((0,_e.l$)(oe)?(ae=oe.props)===null||ae===void 0?void 0:ae.className:"",`${lt}-item-icon`)}),St?Je:Me.createElement("span",{className:`${lt}-title-content`},Je))}const Sn=Me.useMemo(()=>Object.assign(Object.assign({},$e),{firstLevel:!1}),[$e]);return Me.createElement(Qe.Provider,{value:Sn},Me.createElement(he.Wd,Object.assign({},(0,Ke.Z)(ie,["icon"]),{title:$t,popupClassName:Oe()(lt,se,`${lt}-${vt||_t}`)})))},ze=de(18785),qe=de(70425),We=de(62892),Ze=de(40875),et=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,oe=Object.getOwnPropertySymbols(ie);Je{if(ae&&typeof ae=="object"){const oe=ae,{label:Je,children:vt,key:$e,type:lt}=oe,Pt=et(oe,["label","children","key","type"]),_t=$e!=null?$e:`tmp-${se}`;return vt||lt==="group"?lt==="group"?Me.createElement(he.BW,Object.assign({key:_t},Pt,{title:Je}),rt(vt)):Me.createElement(Ye,Object.assign({key:_t},Pt,{title:Je}),rt(vt)):lt==="divider"?Me.createElement(xe,Object.assign({key:_t},Pt)):Me.createElement(Pe,Object.assign({key:_t},Pt),Je)}return null}).filter(ae=>ae)}function ht(ie){return Me.useMemo(()=>ie&&rt(ie),[ie])}var dt=de(64993),Ct=de(17313),Xe=de(8378),Lt=de(13826),Re=de(29878),Ht=de(83116),Et=de(37613),Tt=ie=>{const{componentCls:ae,motionDurationSlow:se,horizontalLineHeight:oe,colorSplit:Je,lineWidth:vt,lineType:$e,itemPaddingInline:lt}=ie;return{[`${ae}-horizontal`]:{lineHeight:oe,border:0,borderBottom:`${vt}px ${$e} ${Je}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ae}-item, ${ae}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:lt},[`> ${ae}-item:hover, > ${ae}-item-active, > ${ae}-submenu ${ae}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ae}-item, ${ae}-submenu-title`]:{transition:[`border-color ${se}`,`background ${se}`].join(",")},[`${ae}-submenu-arrow`]:{display:"none"}}}},it=ie=>{let{componentCls:ae,menuArrowOffset:se}=ie;return{[`${ae}-rtl`]:{direction:"rtl"},[`${ae}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ae}-rtl${ae}-vertical, ${ae}-submenu-rtl ${ae}-vertical`]:{[`${ae}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${se})`},"&::after":{transform:`rotate(45deg) translateY(${se})`}}}}};const Ue=ie=>Object.assign({},(0,Ct.oN)(ie));var Xt=(ie,ae)=>{const{componentCls:se,itemColor:oe,itemSelectedColor:Je,groupTitleColor:vt,itemBg:$e,subMenuItemBg:lt,itemSelectedBg:Pt,activeBarHeight:_t,activeBarWidth:kt,activeBarBorderWidth:$t,motionDurationSlow:Sn,motionEaseInOut:St,motionEaseOut:nn,itemPaddingInline:tn,motionDurationMid:jt,itemHoverColor:pt,lineType:Zt,colorSplit:gn,itemDisabledColor:wn,dangerItemColor:Xn,dangerItemHoverColor:yr,dangerItemSelectedColor:Dr,dangerItemActiveBg:Tr,dangerItemSelectedBg:Rr,itemHoverBg:Sr,itemActiveBg:fr,menuSubMenuBg:Vr,horizontalItemSelectedColor:Bi,horizontalItemSelectedBg:yi,horizontalItemBorderRadius:mi,horizontalItemHoverBg:Vi,popupBg:ua}=ie;return{[`${se}-${ae}, ${se}-${ae} > ${se}`]:{color:oe,background:$e,[`&${se}-root:focus-visible`]:Object.assign({},Ue(ie)),[`${se}-item-group-title`]:{color:vt},[`${se}-submenu-selected`]:{[`> ${se}-submenu-title`]:{color:Je}},[`${se}-item-disabled, ${se}-submenu-disabled`]:{color:`${wn} !important`},[`${se}-item:not(${se}-item-selected):not(${se}-submenu-selected)`]:{[`&:hover, > ${se}-submenu-title:hover`]:{color:pt}},[`&:not(${se}-horizontal)`]:{[`${se}-item:not(${se}-item-selected)`]:{"&:hover":{backgroundColor:Sr},"&:active":{backgroundColor:fr}},[`${se}-submenu-title`]:{"&:hover":{backgroundColor:Sr},"&:active":{backgroundColor:fr}}},[`${se}-item-danger`]:{color:Xn,[`&${se}-item:hover`]:{[`&:not(${se}-item-selected):not(${se}-submenu-selected)`]:{color:yr}},[`&${se}-item:active`]:{background:Tr}},[`${se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${se}-item-selected`]:{color:Je,[`&${se}-item-danger`]:{color:Dr},"a, a:hover":{color:"inherit"}},[`& ${se}-item-selected`]:{backgroundColor:Pt,[`&${se}-item-danger`]:{backgroundColor:Rr}},[`${se}-item, ${se}-submenu-title`]:{[`&:not(${se}-item-disabled):focus-visible`]:Object.assign({},Ue(ie))},[`&${se}-submenu > ${se}`]:{backgroundColor:Vr},[`&${se}-popup > ${se}`]:{backgroundColor:ua},[`&${se}-horizontal`]:Object.assign(Object.assign({},ae==="dark"?{borderBottom:0}:{}),{[`> ${se}-item, > ${se}-submenu`]:{top:$t,marginTop:-$t,marginBottom:0,borderRadius:mi,"&::after":{position:"absolute",insetInline:tn,bottom:0,borderBottom:`${_t}px solid transparent`,transition:`border-color ${Sn} ${St}`,content:'""'},"&:hover, &-active, &-open":{background:Vi,"&::after":{borderBottomWidth:_t,borderBottomColor:Bi}},"&-selected":{color:Bi,backgroundColor:yi,"&:hover":{backgroundColor:yi},"&::after":{borderBottomWidth:_t,borderBottomColor:Bi}}}}),[`&${se}-root`]:{[`&${se}-inline, &${se}-vertical`]:{borderInlineEnd:`${$t}px ${Zt} ${gn}`}},[`&${se}-inline`]:{[`${se}-sub${se}-inline`]:{background:lt},[`${se}-item, ${se}-submenu-title`]:$t&&kt?{width:`calc(100% + ${$t}px)`}:{},[`${se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${kt}px solid ${Je}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${jt} ${nn}`,`opacity ${jt} ${nn}`].join(","),content:'""'},[`&${se}-item-danger`]:{"&::after":{borderInlineEndColor:Dr}}},[`${se}-selected, ${se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${jt} ${St}`,`opacity ${jt} ${St}`].join(",")}}}}}};const Vt=ie=>{const{componentCls:ae,itemHeight:se,itemMarginInline:oe,padding:Je,menuArrowSize:vt,marginXS:$e,itemMarginBlock:lt}=ie,Pt=Je+vt+$e;return{[`${ae}-item`]:{position:"relative",overflow:"hidden"},[`${ae}-item, ${ae}-submenu-title`]:{height:se,lineHeight:`${se}px`,paddingInline:Je,overflow:"hidden",textOverflow:"ellipsis",marginInline:oe,marginBlock:lt,width:`calc(100% - ${oe*2}px)`},[`> ${ae}-item, > ${ae}-submenu > ${ae}-submenu-title`]:{height:se,lineHeight:`${se}px`},[`${ae}-item-group-list ${ae}-submenu-title, ${ae}-submenu-title`]:{paddingInlineEnd:Pt}}};var Qt=ie=>{const{componentCls:ae,iconCls:se,itemHeight:oe,colorTextLightSolid:Je,dropdownWidth:vt,controlHeightLG:$e,motionDurationMid:lt,motionEaseOut:Pt,paddingXL:_t,itemMarginInline:kt,fontSizeLG:$t,motionDurationSlow:Sn,paddingXS:St,boxShadowSecondary:nn,collapsedWidth:tn,collapsedIconSize:jt}=ie,pt={height:oe,lineHeight:`${oe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ae]:{"&-inline, &-vertical":Object.assign({[`&${ae}-root`]:{boxShadow:"none"}},Vt(ie))},[`${ae}-submenu-popup`]:{[`${ae}-vertical`]:Object.assign(Object.assign({},Vt(ie)),{boxShadow:nn})}},{[`${ae}-submenu-popup ${ae}-vertical${ae}-sub`]:{minWidth:vt,maxHeight:`calc(100vh - ${$e*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ae}-inline`]:{width:"100%",[`&${ae}-root`]:{[`${ae}-item, ${ae}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Sn}`,`background ${Sn}`,`padding ${lt} ${Pt}`].join(","),[`> ${ae}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ae}-sub${ae}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ae}-submenu > ${ae}-submenu-title`]:pt,[`& ${ae}-item-group-title`]:{paddingInlineStart:_t}},[`${ae}-item`]:pt}},{[`${ae}-inline-collapsed`]:{width:tn,[`&${ae}-root`]:{[`${ae}-item, ${ae}-submenu ${ae}-submenu-title`]:{[`> ${ae}-inline-collapsed-noicon`]:{fontSize:$t,textAlign:"center"}}},[`> ${ae}-item, > ${ae}-item-group > ${ae}-item-group-list > ${ae}-item, > ${ae}-item-group > ${ae}-item-group-list > ${ae}-submenu > ${ae}-submenu-title, > ${ae}-submenu > ${ae}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${$t/2}px - ${kt}px)`,textOverflow:"clip",[` ${ae}-submenu-arrow, ${ae}-submenu-expand-icon `]:{opacity:0},[`${ae}-item-icon, ${se}`]:{margin:0,fontSize:jt,lineHeight:`${oe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ae}-item-icon, ${se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ae}-item-icon, ${se}`]:{display:"none"},"a, a:hover":{color:Je}},[`${ae}-item-group-title`]:Object.assign(Object.assign({},Ct.vS),{paddingInline:St})}}]};const An=ie=>{const{componentCls:ae,motionDurationSlow:se,motionDurationMid:oe,motionEaseInOut:Je,motionEaseOut:vt,iconCls:$e,iconSize:lt,iconMarginInlineEnd:Pt}=ie;return{[`${ae}-item, ${ae}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${se}`,`background ${se}`,`padding ${se} ${Je}`].join(","),[`${ae}-item-icon, ${$e}`]:{minWidth:lt,fontSize:lt,transition:[`font-size ${oe} ${vt}`,`margin ${se} ${Je}`,`color ${se}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${se} ${Je}`,`margin ${se}`,`color ${se}`].join(",")}},[`${ae}-item-icon`]:Object.assign({},(0,Ct.Ro)()),[`&${ae}-item-only-child`]:{[`> ${$e}, > ${ae}-item-icon`]:{marginInlineEnd:0}}},[`${ae}-item-disabled, ${ae}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ae}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Tn=ie=>{const{componentCls:ae,motionDurationSlow:se,motionEaseInOut:oe,borderRadius:Je,menuArrowSize:vt,menuArrowOffset:$e}=ie;return{[`${ae}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ie.margin,width:vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${se} ${oe}, opacity ${se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:vt*.6,height:vt*.15,backgroundColor:"currentcolor",borderRadius:Je,transition:[`background ${se} ${oe}`,`transform ${se} ${oe}`,`top ${se} ${oe}`,`color ${se} ${oe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${$e})`},"&::after":{transform:`rotate(-45deg) translateY(${$e})`}}}}},dn=ie=>{const{antCls:ae,componentCls:se,fontSize:oe,motionDurationSlow:Je,motionDurationMid:vt,motionEaseInOut:$e,paddingXS:lt,padding:Pt,colorSplit:_t,lineWidth:kt,zIndexPopup:$t,borderRadiusLG:Sn,subMenuItemBorderRadius:St,menuArrowSize:nn,menuArrowOffset:tn,lineType:jt,menuPanelMaskInset:pt,groupTitleLineHeight:Zt,groupTitleFontSize:gn}=ie;return[{"":{[`${se}`]:Object.assign(Object.assign({},(0,Ct.dF)()),{"&-hidden":{display:"none"}})},[`${se}-submenu-hidden`]:{display:"none"}},{[se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ct.Wf)(ie)),(0,Ct.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:oe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Je} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${se}-item`]:{flex:"none"}},[`${se}-item, ${se}-submenu, ${se}-submenu-title`]:{borderRadius:ie.itemBorderRadius},[`${se}-item-group-title`]:{padding:`${lt}px ${Pt}px`,fontSize:gn,lineHeight:Zt,transition:`all ${Je}`},[`&-horizontal ${se}-submenu`]:{transition:[`border-color ${Je} ${$e}`,`background ${Je} ${$e}`].join(",")},[`${se}-submenu, ${se}-submenu-inline`]:{transition:[`border-color ${Je} ${$e}`,`background ${Je} ${$e}`,`padding ${vt} ${$e}`].join(",")},[`${se}-submenu ${se}-sub`]:{cursor:"initial",transition:[`background ${Je} ${$e}`,`padding ${Je} ${$e}`].join(",")},[`${se}-title-content`]:{transition:`color ${Je}`},[`${se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:_t,borderStyle:jt,borderWidth:0,borderTopWidth:kt,marginBlock:kt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),An(ie)),{[`${se}-item-group`]:{[`${se}-item-group-list`]:{margin:0,padding:0,[`${se}-item, ${se}-submenu-title`]:{paddingInline:`${oe*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$t,borderRadius:Sn,boxShadow:"none",transformOrigin:"0 0",[`&${se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${pt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:pt},"\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:ie.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ie.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ie.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ie.paddingXS},[`> ${se}`]:Object.assign(Object.assign(Object.assign({borderRadius:Sn},An(ie)),Tn(ie)),{[`${se}-item, ${se}-submenu > ${se}-submenu-title`]:{borderRadius:St},[`${se}-submenu-title::after`]:{transition:`transform ${Je} ${$e}`}})}}),Tn(ie)),{[`&-inline-collapsed ${se}-submenu-arrow, &-inline ${se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${tn})`},"&::after":{transform:`rotate(45deg) translateX(-${tn})`}},[`${se}-submenu-open${se}-submenu-inline > ${se}-submenu-title > ${se}-submenu-arrow`]:{transform:`translateY(-${nn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${tn})`},"&::before":{transform:`rotate(45deg) translateX(${tn})`}}})},{[`${ae}-layout-header`]:{[se]:{lineHeight:"inherit"}}}]};var Gn=(ie,ae)=>(0,Ht.Z)("Menu",oe=>{if(ae===!1)return[];const{colorBgElevated:Je,colorPrimary:vt,colorTextLightSolid:$e,controlHeightLG:lt,fontSize:Pt,darkItemColor:_t,darkDangerItemColor:kt,darkItemBg:$t,darkSubMenuItemBg:Sn,darkItemSelectedColor:St,darkItemSelectedBg:nn,darkDangerItemSelectedBg:tn,darkItemHoverBg:jt,darkGroupTitleColor:pt,darkItemHoverColor:Zt,darkItemDisabledColor:gn,darkDangerItemHoverColor:wn,darkDangerItemSelectedColor:Xn,darkDangerItemActiveBg:yr}=oe,Dr=Pt/7*5,Tr=(0,Et.TS)(oe,{menuArrowSize:Dr,menuHorizontalHeight:lt*1.15,menuArrowOffset:`${Dr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Je}),Rr=(0,Et.TS)(Tr,{itemColor:_t,itemHoverColor:Zt,groupTitleColor:pt,itemSelectedColor:St,itemBg:$t,popupBg:$t,subMenuItemBg:Sn,itemActiveBg:"transparent",itemSelectedBg:nn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:jt,itemDisabledColor:gn,dangerItemColor:kt,dangerItemHoverColor:wn,dangerItemSelectedColor:Xn,dangerItemActiveBg:yr,dangerItemSelectedBg:tn,menuSubMenuBg:Sn,horizontalItemSelectedColor:$e,horizontalItemSelectedBg:vt});return[dn(Tr),Tt(Tr),Qt(Tr),Xt(Tr,"light"),Xt(Rr,"dark"),it(Tr),(0,Xe.Z)(Tr),(0,Lt.oN)(Tr,"slide-up"),(0,Lt.oN)(Tr,"slide-down"),(0,Re._y)(Tr,"zoom-big")]},oe=>{const{colorPrimary:Je,colorError:vt,colorTextDisabled:$e,colorErrorBg:lt,colorText:Pt,colorTextDescription:_t,colorBgContainer:kt,colorFillAlter:$t,colorFillContent:Sn,lineWidth:St,lineWidthBold:nn,controlItemBgActive:tn,colorBgTextHover:jt,controlHeightLG:pt,lineHeight:Zt,colorBgElevated:gn,marginXXS:wn,padding:Xn,fontSize:yr,controlHeightSM:Dr,fontSizeLG:Tr,colorTextLightSolid:Rr,colorErrorHover:Sr}=oe,fr=new dt.C(Rr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:oe.zIndexPopupBase+50,radiusItem:oe.borderRadiusLG,itemBorderRadius:oe.borderRadiusLG,radiusSubMenuItem:oe.borderRadiusSM,subMenuItemBorderRadius:oe.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:Je,horizontalItemHoverColor:Je,colorGroupTitle:_t,groupTitleColor:_t,colorItemTextSelected:Je,itemSelectedColor:Je,colorItemTextSelectedHorizontal:Je,horizontalItemSelectedColor:Je,colorItemBg:kt,itemBg:kt,colorItemBgHover:jt,itemHoverBg:jt,colorItemBgActive:Sn,itemActiveBg:tn,colorSubItemBg:$t,subMenuItemBg:$t,colorItemBgSelected:tn,itemSelectedBg:tn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:nn,activeBarHeight:nn,colorActiveBarBorderSize:St,activeBarBorderWidth:St,colorItemTextDisabled:$e,itemDisabledColor:$e,colorDangerItemText:vt,dangerItemColor:vt,colorDangerItemTextHover:vt,dangerItemHoverColor:vt,colorDangerItemTextSelected:vt,dangerItemSelectedColor:vt,colorDangerItemBgActive:lt,dangerItemActiveBg:lt,colorDangerItemBgSelected:lt,dangerItemSelectedBg:lt,itemMarginInline:oe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:pt,groupTitleLineHeight:Zt,collapsedWidth:pt*2,popupBg:gn,itemMarginBlock:wn,itemPaddingInline:Xn,horizontalLineHeight:`${pt*1.15}px`,iconSize:yr,iconMarginInlineEnd:Dr-yr,collapsedIconSize:Tr,groupTitleFontSize:yr,darkItemDisabledColor:new dt.C(Rr).setAlpha(.25).toRgbString(),darkItemColor:fr,darkDangerItemColor:vt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Rr,darkItemSelectedBg:Je,darkDangerItemSelectedBg:vt,darkItemHoverBg:"transparent",darkGroupTitleColor:fr,darkItemHoverColor:Rr,darkDangerItemHoverColor:Sr,darkDangerItemSelectedColor:Rr,darkDangerItemActiveBg:vt}},{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"]]})(ie),Cn=function(ie,ae){var se={};for(var oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&ae.indexOf(oe)<0&&(se[oe]=ie[oe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,oe=Object.getOwnPropertySymbols(ie);Je{var se,oe;const Je=Me.useContext(Ze.Z),vt=Je||{},{getPrefixCls:$e,getPopupContainer:lt,direction:Pt,menu:_t}=Me.useContext(Le.E_),kt=$e(),{prefixCls:$t,className:Sn,style:St,theme:nn="light",expandIcon:tn,_internalDisableMenuItemTitleTooltip:jt,inlineCollapsed:pt,siderCollapsed:Zt,items:gn,children:wn,rootClassName:Xn,mode:yr,selectable:Dr,onClick:Tr,overflowedIndicatorPopupClassName:Rr}=ie,Sr=Cn(ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),fr=(0,Ke.Z)(Sr,["collapsedWidth"]),Vr=ht(gn)||wn;(se=vt.validator)===null||se===void 0||se.call(vt,{mode:yr});const Bi=(0,qe.useEvent)(function(){var Pi;Tr==null||Tr.apply(void 0,arguments),(Pi=vt.onClick)===null||Pi===void 0||Pi.call(vt)}),yi=vt.mode||yr,mi=Dr!=null?Dr:vt.selectable,Vi=Me.useMemo(()=>Zt!==void 0?Zt:pt,[pt,Zt]),ua={horizontal:{motionName:`${kt}-slide-up`},inline:(0,We.Z)(kt),other:{motionName:`${kt}-zoom-big`}},Wr=$e("menu",$t||vt.prefixCls),[Mn,ea]=Gn(Wr,!Je),Ea=Oe()(`${Wr}-${nn}`,_t==null?void 0:_t.className,Sn);let wo;if(typeof tn=="function")wo=tn;else if(tn===null||tn===!1)wo=null;else if(vt.expandIcon===null||vt.expandIcon===!1)wo=null;else{const Pi=tn!=null?tn:vt.expandIcon;wo=(0,_e.Tm)(Pi,{className:Oe()(`${Wr}-submenu-expand-icon`,(0,_e.l$)(Pi)?(oe=Pi.props)===null||oe===void 0?void 0:oe.className:"")})}const sa=Me.useMemo(()=>({prefixCls:Wr,inlineCollapsed:Vi||!1,direction:Pt,firstLevel:!0,theme:nn,mode:yi,disableMenuItemTitleTooltip:jt}),[Wr,Vi,Pt,jt,nn]);return Mn(Me.createElement(Ze.Z.Provider,{value:null},Me.createElement(Qe.Provider,{value:sa},Me.createElement(he.ZP,Object.assign({getPopupContainer:lt,overflowedIndicator:Me.createElement(ze.Z,null),overflowedIndicatorPopupClassName:Oe()(Wr,`${Wr}-${nn}`,Rr),mode:yi,selectable:mi,onClick:Bi},fr,{inlineCollapsed:Vi,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),St),className:Ea,prefixCls:Wr,direction:Pt,defaultMotions:ua,expandIcon:wo,ref:ae,rootClassName:Oe()(Xn,ea)}),Vr))))});const Se=(0,Me.forwardRef)((ie,ae)=>{const se=(0,Me.useRef)(null),oe=Me.useContext(He.D);return(0,Me.useImperativeHandle)(ae,()=>({menu:se.current,focus:Je=>{var vt;(vt=se.current)===null||vt===void 0||vt.focus(Je)}})),Me.createElement(Bn,Object.assign({ref:se},ie,oe))});Se.Item=Pe,Se.SubMenu=Ye,Se.Divider=xe,Se.ItemGroup=he.BW;var Fe=Se},58421:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return vt}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(lt,Pt){return Me.createElement(Oe.Z,(0,he.Z)({},lt,{ref:Pt,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(49198),fe=de(33853),Ke=de(38819),Be=de(92310),_e=de.n(Be),Ne=de(18642),Qe=de(85899),ke=de(38705),Pe=de(17212),Te=de(39153),Ye=de(55401),ze=de(26112),qe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},We=qe,Ze=de(91735),et=function($e){(0,Te.Z)(Pt,$e);var lt=(0,Ye.Z)(Pt);function Pt(){var _t;(0,ke.Z)(this,Pt);for(var kt=arguments.length,$t=new Array(kt),Sn=0;Sn=0||St.relatedTarget.className.indexOf("".concat(pt,"-item"))>=0))&&jt(_t.getValidValue()))},_t.go=function(St){var nn=_t.state.goInputText;nn!==""&&(St.keyCode===We.ENTER||St.type==="click")&&(_t.setState({goInputText:""}),_t.props.quickGo(_t.getValidValue()))},_t}return(0,Pe.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var kt=this.props,$t=kt.pageSize,Sn=kt.pageSizeOptions;return Sn.some(function(St){return St.toString()===$t.toString()})?Sn:Sn.concat([$t.toString()]).sort(function(St,nn){var tn=Number.isNaN(Number(St))?0:Number(St),jt=Number.isNaN(Number(nn))?0:Number(nn);return tn-jt})}},{key:"render",value:function(){var kt=this,$t=this.props,Sn=$t.pageSize,St=$t.locale,nn=$t.rootPrefixCls,tn=$t.changeSize,jt=$t.quickGo,pt=$t.goButton,Zt=$t.selectComponentClass,gn=$t.buildOptionText,wn=$t.selectPrefixCls,Xn=$t.disabled,yr=this.state.goInputText,Dr="".concat(nn,"-options"),Tr=Zt,Rr=null,Sr=null,fr=null;if(!tn&&!jt)return null;var Vr=this.getPageSizeOptions();if(tn&&Tr){var Bi=Vr.map(function(yi,mi){return Me.createElement(Tr.Option,{key:mi,value:yi.toString()},(gn||kt.buildOptionText)(yi))});Rr=Me.createElement(Tr,{disabled:Xn,prefixCls:wn,showSearch:!1,className:"".concat(Dr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Sn||Vr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(mi){return mi.parentNode},"aria-label":St.page_size,defaultOpen:!1},Bi)}return jt&&(pt&&(fr=typeof pt=="boolean"?Me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Xn,className:"".concat(Dr,"-quick-jumper-button")},St.jump_to_confirm):Me.createElement("span",{onClick:this.go,onKeyUp:this.go},pt)),Sr=Me.createElement("div",{className:"".concat(Dr,"-quick-jumper")},St.jump_to,Me.createElement("input",{disabled:Xn,type:"text",value:yr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":St.page}),St.page,fr)),Me.createElement("li",{className:"".concat(Dr)},Rr,Sr)}}]),Pt}(Me.Component);et.defaultProps={pageSizeOptions:["10","20","50","100"]};var rt=et,ht=function(lt){var Pt,_t=lt.rootPrefixCls,kt=lt.page,$t=lt.active,Sn=lt.className,St=lt.showTitle,nn=lt.onClick,tn=lt.onKeyPress,jt=lt.itemRender,pt="".concat(_t,"-item"),Zt=_e()(pt,"".concat(pt,"-").concat(kt),(Pt={},(0,Ne.Z)(Pt,"".concat(pt,"-active"),$t),(0,Ne.Z)(Pt,"".concat(pt,"-disabled"),!kt),(0,Ne.Z)(Pt,lt.className,Sn),Pt)),gn=function(){nn(kt)},wn=function(Dr){tn(Dr,nn,kt)},Xn=jt(kt,"page",Me.createElement("a",{rel:"nofollow"},kt));return Xn?Me.createElement("li",{title:St?kt.toString():null,className:Zt,onClick:gn,onKeyPress:wn,tabIndex:0},Xn):null},dt=ht;function Ct(){}function Xe($e){var lt=Number($e);return typeof lt=="number"&&!Number.isNaN(lt)&&isFinite(lt)&&Math.floor(lt)===lt}var Lt=function(lt,Pt,_t){return _t};function Re($e,lt,Pt){var _t=typeof $e=="undefined"?lt.pageSize:$e;return Math.floor((Pt.total-1)/_t)+1}var Ht=function($e){(0,Te.Z)(Pt,$e);var lt=(0,Ye.Z)(Pt);function Pt(_t){var kt;(0,ke.Z)(this,Pt),kt=lt.call(this,_t),kt.paginationNode=Me.createRef(),kt.getJumpPrevPage=function(){return Math.max(1,kt.state.current-(kt.props.showLessItems?3:5))},kt.getJumpNextPage=function(){return Math.min(Re(void 0,kt.state,kt.props),kt.state.current+(kt.props.showLessItems?3:5))},kt.getItemIcon=function(tn,jt){var pt=kt.props.prefixCls,Zt=tn||Me.createElement("button",{type:"button","aria-label":jt,className:"".concat(pt,"-item-link")});return typeof tn=="function"&&(Zt=Me.createElement(tn,(0,Qe.Z)({},kt.props))),Zt},kt.isValid=function(tn){var jt=kt.props.total;return Xe(tn)&&tn!==kt.state.current&&Xe(jt)&&jt>0},kt.shouldDisplayQuickJumper=function(){var tn=kt.props,jt=tn.showQuickJumper,pt=tn.total,Zt=kt.state.pageSize;return pt<=Zt?!1:jt},kt.handleKeyDown=function(tn){(tn.keyCode===We.ARROW_UP||tn.keyCode===We.ARROW_DOWN)&&tn.preventDefault()},kt.handleKeyUp=function(tn){var jt=kt.getValidValue(tn),pt=kt.state.currentInputValue;jt!==pt&&kt.setState({currentInputValue:jt}),tn.keyCode===We.ENTER?kt.handleChange(jt):tn.keyCode===We.ARROW_UP?kt.handleChange(jt-1):tn.keyCode===We.ARROW_DOWN&&kt.handleChange(jt+1)},kt.handleBlur=function(tn){var jt=kt.getValidValue(tn);kt.handleChange(jt)},kt.changePageSize=function(tn){var jt=kt.state.current,pt=Re(tn,kt.state,kt.props);jt=jt>pt?pt:jt,pt===0&&(jt=kt.state.current),typeof tn=="number"&&("pageSize"in kt.props||kt.setState({pageSize:tn}),"current"in kt.props||kt.setState({current:jt,currentInputValue:jt})),kt.props.onShowSizeChange(jt,tn),"onChange"in kt.props&&kt.props.onChange&&kt.props.onChange(jt,tn)},kt.handleChange=function(tn){var jt=kt.props,pt=jt.disabled,Zt=jt.onChange,gn=kt.state,wn=gn.pageSize,Xn=gn.current,yr=gn.currentInputValue;if(kt.isValid(tn)&&!pt){var Dr=Re(void 0,kt.state,kt.props),Tr=tn;return tn>Dr?Tr=Dr:tn<1&&(Tr=1),"current"in kt.props||kt.setState({current:Tr}),Tr!==yr&&kt.setState({currentInputValue:Tr}),Zt(Tr,wn),Tr}return Xn},kt.prev=function(){kt.hasPrev()&&kt.handleChange(kt.state.current-1)},kt.next=function(){kt.hasNext()&&kt.handleChange(kt.state.current+1)},kt.jumpPrev=function(){kt.handleChange(kt.getJumpPrevPage())},kt.jumpNext=function(){kt.handleChange(kt.getJumpNextPage())},kt.hasPrev=function(){return kt.state.current>1},kt.hasNext=function(){return kt.state.current2?pt-2:0),gn=2;gn=Sn?nn=Sn:nn=Number($t),nn}},{key:"getShowSizeChanger",value:function(){var kt=this.props,$t=kt.showSizeChanger,Sn=kt.total,St=kt.totalBoundaryShowSizeChanger;return typeof $t!="undefined"?$t:Sn>St}},{key:"render",value:function(){var kt=this.props,$t=kt.prefixCls,Sn=kt.className,St=kt.style,nn=kt.disabled,tn=kt.hideOnSinglePage,jt=kt.total,pt=kt.locale,Zt=kt.showQuickJumper,gn=kt.showLessItems,wn=kt.showTitle,Xn=kt.showTotal,yr=kt.simple,Dr=kt.itemRender,Tr=kt.showPrevNextJumpers,Rr=kt.jumpPrevIcon,Sr=kt.jumpNextIcon,fr=kt.selectComponentClass,Vr=kt.selectPrefixCls,Bi=kt.pageSizeOptions,yi=this.state,mi=yi.current,Vi=yi.pageSize,ua=yi.currentInputValue;if(tn===!0&&jt<=Vi)return null;var Wr=Re(void 0,this.state,this.props),Mn=[],ea=null,Ea=null,wo=null,sa=null,Pi=null,Aa=Zt&&Zt.goButton,Si=gn?1:2,qr=mi-1>0?mi-1:0,Ma=mi+1jt?jt:mi*Vi]));if(yr){Aa&&(typeof Aa=="boolean"?Pi=Me.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pt.jump_to_confirm):Pi=Me.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Aa),Pi=Me.createElement("li",{title:wn?"".concat(pt.jump_to).concat(mi,"/").concat(Wr):null,className:"".concat($t,"-simple-pager")},Pi));var Gt=this.renderPrev(qr);return Me.createElement("ul",(0,he.Z)({className:_e()($t,"".concat($t,"-simple"),(0,Ne.Z)({},"".concat($t,"-disabled"),nn),Sn),style:St,ref:this.paginationNode},kn),Dt,Gt?Me.createElement("li",{title:wn?pt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Ne.Z)({},"".concat($t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Gt):null,Me.createElement("li",{title:wn?"".concat(mi,"/").concat(Wr):null,className:"".concat($t,"-simple-pager")},Me.createElement("input",{type:"text",value:ua,disabled:nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Me.createElement("span",{className:"".concat($t,"-slash")},"/"),Wr),Me.createElement("li",{title:wn?pt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Ne.Z)({},"".concat($t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ma)),Pi)}if(Wr<=3+Si*2){var Wt={locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wn,itemRender:Dr};Wr||Mn.push(Me.createElement(dt,(0,he.Z)({},Wt,{key:"noPager",page:1,className:"".concat($t,"-item-disabled")})));for(var Kt=1;Kt<=Wr;Kt+=1){var on=mi===Kt;Mn.push(Me.createElement(dt,(0,he.Z)({},Wt,{key:Kt,page:Kt,active:on})))}}else{var _n=gn?pt.prev_3:pt.prev_5,lr=gn?pt.next_3:pt.next_5,nr=Dr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Rr,"prev page")),dr=Dr(this.getJumpNextPage(),"jump-next",this.getItemIcon(Sr,"next page"));Tr&&(ea=nr?Me.createElement("li",{title:wn?_n:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:_e()("".concat($t,"-jump-prev"),(0,Ne.Z)({},"".concat($t,"-jump-prev-custom-icon"),!!Rr))},nr):null,Ea=dr?Me.createElement("li",{title:wn?lr:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:_e()("".concat($t,"-jump-next"),(0,Ne.Z)({},"".concat($t,"-jump-next-custom-icon"),!!Sr))},dr):null),sa=Me.createElement(dt,{locale:pt,last:!0,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Wr,page:Wr,active:!1,showTitle:wn,itemRender:Dr}),wo=Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wn,itemRender:Dr});var Pr=Math.max(1,mi-Si),Ur=Math.min(mi+Si,Wr);mi-1<=Si&&(Ur=1+Si*2),Wr-mi<=Si&&(Pr=Wr-Si*2);for(var ei=Pr;ei<=Ur;ei+=1){var er=mi===ei;Mn.push(Me.createElement(dt,{locale:pt,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ei,page:ei,active:er,showTitle:wn,itemRender:Dr}))}mi-1>=Si*2&&mi!==3&&(Mn[0]=(0,Me.cloneElement)(Mn[0],{className:"".concat($t,"-item-after-jump-prev")}),Mn.unshift(ea)),Wr-mi>=Si*2&&mi!==Wr-2&&(Mn[Mn.length-1]=(0,Me.cloneElement)(Mn[Mn.length-1],{className:"".concat($t,"-item-before-jump-next")}),Mn.push(Ea)),Pr!==1&&Mn.unshift(wo),Ur!==Wr&&Mn.push(sa)}var kr=!this.hasPrev()||!Wr,_i=!this.hasNext()||!Wr,gi=this.renderPrev(qr),ji=this.renderNext(Ma);return Me.createElement("ul",(0,he.Z)({className:_e()($t,Sn,(0,Ne.Z)({},"".concat($t,"-disabled"),nn)),style:St,ref:this.paginationNode},kn),Dt,gi?Me.createElement("li",{title:wn?pt.prev_page:null,onClick:this.prev,tabIndex:kr?null:0,onKeyPress:this.runIfEnterPrev,className:_e()("".concat($t,"-prev"),(0,Ne.Z)({},"".concat($t,"-disabled"),kr)),"aria-disabled":kr},gi):null,Mn,ji?Me.createElement("li",{title:wn?pt.next_page:null,onClick:this.next,tabIndex:_i?null:0,onKeyPress:this.runIfEnterNext,className:_e()("".concat($t,"-next"),(0,Ne.Z)({},"".concat($t,"-disabled"),_i)),"aria-disabled":_i},ji):null,Me.createElement(rt,{disabled:nn,locale:pt,rootPrefixCls:$t,selectComponentClass:fr,selectPrefixCls:Vr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:mi,pageSize:Vi,pageSizeOptions:Bi,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Aa}))}}],[{key:"getDerivedStateFromProps",value:function(kt,$t){var Sn={};if("current"in kt&&(Sn.current=kt.current,kt.current!==$t.current&&(Sn.currentInputValue=Sn.current)),"pageSize"in kt&&kt.pageSize!==$t.pageSize){var St=$t.current,nn=Re(kt.pageSize,$t,kt);St=St>nn?nn:St,"current"in kt||(Sn.current=St,Sn.currentInputValue=St),Sn.pageSize=kt.pageSize}return Sn}}]),Pt}(Me.Component);Ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ct,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ct,locale:Ze.Z,style:{},itemRender:Lt,totalBoundaryShowSizeChanger:50};var Et=Ht,bt=de(22075),Tt=de(36355),wt=de(19716),it=de(8628),Ue=de(9763),at=de(57809);const Xt=$e=>Me.createElement(at.default,Object.assign({},$e,{showSearch:!0,size:"small"})),Vt=$e=>Me.createElement(at.default,Object.assign({},$e,{showSearch:!0,size:"middle"}));Xt.Option=at.default.Option,Vt.Option=at.default.Option;var xt=de(9937),Qt=de(17313),An=de(83116),Tn=de(37613);const dn=$e=>{const{componentCls:lt}=$e;return{[`${lt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${lt}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${lt}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed"}}},[`&${lt}-disabled`]:{cursor:"not-allowed",[`${lt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:$e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:$e.colorBorder,backgroundColor:$e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:$e.itemActiveBgDisabled},a:{color:$e.itemActiveColorDisabled}}},[`${lt}-item-link`]:{color:$e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${lt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${lt}-simple-pager`]:{color:$e.colorTextDisabled},[`${lt}-jump-prev, ${lt}-jump-next`]:{[`${lt}-item-link-icon`]:{opacity:0},[`${lt}-item-ellipsis`]:{opacity:1}}},[`&${lt}-simple`]:{[`${lt}-prev, ${lt}-next`]:{[`&${lt}-disabled ${lt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Gn=$e=>{const{componentCls:lt}=$e;return{[`&${lt}-mini ${lt}-total-text, &${lt}-mini ${lt}-simple-pager`]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`},[`&${lt}-mini ${lt}-item`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM-2}px`},[`&${lt}-mini:not(${lt}-disabled) ${lt}-item:not(${lt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},[`&${lt}-mini ${lt}-prev, &${lt}-mini ${lt}-next`]:{minWidth:$e.itemSizeSM,height:$e.itemSizeSM,margin:0,lineHeight:`${$e.itemSizeSM}px`},[`&${lt}-mini:not(${lt}-disabled)`]:{[`${lt}-prev, ${lt}-next`]:{[`&:hover ${lt}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:$e.colorBgTextActive},[`&${lt}-disabled:hover ${lt}-item-link`]:{backgroundColor:"transparent"}}},[` &${lt}-mini ${lt}-prev ${lt}-item-link, &${lt}-mini ${lt}-next ${lt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}},[`&${lt}-mini ${lt}-jump-prev, &${lt}-mini ${lt}-jump-next`]:{height:$e.itemSizeSM,marginInlineEnd:0,lineHeight:`${$e.itemSizeSM}px`},[`&${lt}-mini ${lt}-options`]:{marginInlineStart:$e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:$e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,xt.x0)($e)),{width:$e.paginationMiniQuickJumperInputWidth,height:$e.controlHeightSM})}}}},Cn=$e=>{const{componentCls:lt}=$e;return{[` &${lt}-simple ${lt}-prev, &${lt}-simple ${lt}-next `]:{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`,verticalAlign:"top",[`${lt}-item-link`]:{height:$e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive},"&::after":{height:$e.itemSizeSM,lineHeight:`${$e.itemSizeSM}px`}}},[`&${lt}-simple ${lt}-simple-pager`]:{display:"inline-block",height:$e.itemSizeSM,marginInlineEnd:$e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:$e.marginXS,padding:`0 ${$e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:$e.itemInputBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadius,outline:"none",transition:`border-color ${$e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:$e.colorPrimary},"&:focus":{borderColor:$e.colorPrimaryHover,boxShadow:`${$e.inputOutlineOffset}px 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`},"&[disabled]":{color:$e.colorTextDisabled,backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,cursor:"not-allowed"}}}}},mn=$e=>{const{componentCls:lt}=$e;return{[`${lt}-jump-prev, ${lt}-jump-next`]:{outline:0,[`${lt}-item-container`]:{position:"relative",[`${lt}-item-link-icon`]:{color:$e.colorPrimary,fontSize:$e.fontSizeSM,opacity:0,transition:`all ${$e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${lt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:$e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:$e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:$e.paginationEllipsisTextIndent,opacity:1,transition:`all ${$e.motionDurationMid}`}},"&:hover":{[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}}},[` ${lt}-prev, ${lt}-jump-prev, ${lt}-jump-next `]:{marginInlineEnd:$e.marginXS},[` ${lt}-prev, ${lt}-next, ${lt}-jump-prev, ${lt}-jump-next `]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,color:$e.colorText,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:$e.borderRadius,cursor:"pointer",transition:`all ${$e.motionDurationMid}`},[`${lt}-prev, ${lt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:$e.colorText,cursor:"pointer",userSelect:"none"},[`${lt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:$e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:"none",transition:`all ${$e.motionDurationMid}`},[`&:hover ${lt}-item-link`]:{backgroundColor:$e.colorBgTextHover},[`&:active ${lt}-item-link`]:{backgroundColor:$e.colorBgTextActive},[`&${lt}-disabled:hover`]:{[`${lt}-item-link`]:{backgroundColor:"transparent"}}},[`${lt}-slash`]:{marginInlineEnd:$e.paginationSlashMarginInlineEnd,marginInlineStart:$e.paginationSlashMarginInlineStart},[`${lt}-options`]:{display:"inline-block",marginInlineStart:$e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:$e.controlHeight,marginInlineStart:$e.marginXS,lineHeight:`${$e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,xt.ik)($e)),{width:$e.controlHeightLG*1.25,height:$e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:$e.marginXS,marginInlineEnd:$e.marginXS})}}}},Bn=$e=>{const{componentCls:lt}=$e;return{[`${lt}-item`]:{display:"inline-block",minWidth:$e.itemSize,height:$e.itemSize,marginInlineEnd:$e.marginXS,fontFamily:$e.fontFamily,lineHeight:`${$e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${$e.lineWidth}px ${$e.lineType} transparent`,borderRadius:$e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${$e.paginationItemPaddingInline}px`,color:$e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${lt}-item-active)`]:{"&:hover":{transition:`all ${$e.motionDurationMid}`,backgroundColor:$e.colorBgTextHover},"&:active":{backgroundColor:$e.colorBgTextActive}},"&-active":{fontWeight:$e.fontWeightStrong,backgroundColor:$e.itemActiveBg,borderColor:$e.colorPrimary,a:{color:$e.colorPrimary},"&:hover":{borderColor:$e.colorPrimaryHover},"&:hover a":{color:$e.colorPrimaryHover}}}}},Se=$e=>{const{componentCls:lt}=$e;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qt.Wf)($e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${lt}-total-text`]:{display:"inline-block",height:$e.itemSize,marginInlineEnd:$e.marginXS,lineHeight:`${$e.itemSize-2}px`,verticalAlign:"middle"}}),Bn($e)),mn($e)),Cn($e)),Gn($e)),dn($e)),{[`@media only screen and (max-width: ${$e.screenLG}px)`]:{[`${lt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${$e.screenSM}px)`]:{[`${lt}-options`]:{display:"none"}}}),[`&${$e.componentCls}-rtl`]:{direction:"rtl"}}},Fe=$e=>{const{componentCls:lt}=$e;return{[`${lt}${lt}-disabled:not(${lt}-mini)`]:{"&, &:hover":{[`${lt}-item-link`]:{borderColor:$e.colorBorder}},"&:focus-visible":{[`${lt}-item-link`]:{borderColor:$e.colorBorder}},[`${lt}-item, ${lt}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,[`&:hover:not(${lt}-item-active)`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,a:{color:$e.colorTextDisabled}},[`&${lt}-item-active`]:{backgroundColor:$e.itemActiveBgDisabled}},[`${lt}-prev, ${lt}-next`]:{"&:hover button":{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder,color:$e.colorTextDisabled},[`${lt}-item-link`]:{backgroundColor:$e.colorBgContainerDisabled,borderColor:$e.colorBorder}}},[`${lt}:not(${lt}-mini)`]:{[`${lt}-prev, ${lt}-next`]:{"&:hover button":{borderColor:$e.colorPrimaryHover,backgroundColor:$e.itemBg},[`${lt}-item-link`]:{backgroundColor:$e.itemLinkBg,borderColor:$e.colorBorder},[`&:hover ${lt}-item-link`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,color:$e.colorPrimary},[`&${lt}-disabled`]:{[`${lt}-item-link`]:{borderColor:$e.colorBorder,color:$e.colorTextDisabled}}},[`${lt}-item`]:{backgroundColor:$e.itemBg,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,[`&:hover:not(${lt}-item-active)`]:{borderColor:$e.colorPrimary,backgroundColor:$e.itemBg,a:{color:$e.colorPrimary}},"&-active":{borderColor:$e.colorPrimary}}}}},ie=$e=>{const{componentCls:lt}=$e;return{[`${lt}:not(${lt}-disabled)`]:{[`${lt}-item`]:Object.assign({},(0,Qt.Qy)($e)),[`${lt}-jump-prev, ${lt}-jump-next`]:{"&:focus-visible":Object.assign({[`${lt}-item-link-icon`]:{opacity:1},[`${lt}-item-ellipsis`]:{opacity:0}},(0,Qt.oN)($e))},[`${lt}-prev, ${lt}-next`]:{[`&:focus-visible ${lt}-item-link`]:Object.assign({},(0,Qt.oN)($e))}}}};var ae=(0,An.Z)("Pagination",$e=>{const lt=(0,Tn.TS)($e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:$e.marginXXS/2,paginationMiniQuickJumperInputWidth:$e.controlHeightLG*1.1,paginationItemPaddingInline:$e.marginXXS*1.5,paginationEllipsisLetterSpacing:$e.marginXXS/2,paginationSlashMarginInlineStart:$e.marginXXS,paginationSlashMarginInlineEnd:$e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,xt.e5)($e),(0,xt.TM)($e));return[Se(lt),ie(lt),$e.wireframe&&Fe(lt)]},$e=>({itemBg:$e.colorBgContainer,itemSize:$e.controlHeight,itemSizeSM:$e.controlHeightSM,itemActiveBg:$e.colorBgContainer,itemLinkBg:$e.colorBgContainer,itemActiveColorDisabled:$e.colorTextDisabled,itemActiveBgDisabled:$e.controlItemBgActiveDisabled,itemInputBg:$e.colorBgContainer,miniOptionsSizeChangerTop:0})),se=function($e,lt){var Pt={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&<.indexOf(_t)<0&&(Pt[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,_t=Object.getOwnPropertySymbols($e);kt<_t.length;kt++)lt.indexOf(_t[kt])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[kt])&&(Pt[_t[kt]]=$e[_t[kt]]);return Pt},Je=$e=>{const{prefixCls:lt,selectPrefixCls:Pt,className:_t,rootClassName:kt,style:$t,size:Sn,locale:St,selectComponentClass:nn,responsive:tn,showSizeChanger:jt}=$e,pt=se($e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Zt}=(0,it.Z)(tn),{getPrefixCls:gn,direction:wn,pagination:Xn={}}=Me.useContext(Tt.E_),yr=gn("pagination",lt),[Dr,Tr]=ae(yr),Rr=jt!=null?jt:Xn.showSizeChanger,Sr=Me.useMemo(()=>{const Wr=Me.createElement("span",{className:`${yr}-item-ellipsis`},"\u2022\u2022\u2022"),Mn=Me.createElement("button",{className:`${yr}-item-link`,type:"button",tabIndex:-1},wn==="rtl"?Me.createElement(Ke.Z,null):Me.createElement(fe.Z,null)),ea=Me.createElement("button",{className:`${yr}-item-link`,type:"button",tabIndex:-1},wn==="rtl"?Me.createElement(fe.Z,null):Me.createElement(Ke.Z,null)),Ea=Me.createElement("a",{className:`${yr}-item-link`},Me.createElement("div",{className:`${yr}-item-container`},wn==="rtl"?Me.createElement(xe.Z,{className:`${yr}-item-link-icon`}):Me.createElement(Ae,{className:`${yr}-item-link-icon`}),Wr)),wo=Me.createElement("a",{className:`${yr}-item-link`},Me.createElement("div",{className:`${yr}-item-container`},wn==="rtl"?Me.createElement(Ae,{className:`${yr}-item-link-icon`}):Me.createElement(xe.Z,{className:`${yr}-item-link-icon`}),Wr));return{prevIcon:Mn,nextIcon:ea,jumpPrevIcon:Ea,jumpNextIcon:wo}},[wn,yr]),[fr]=(0,Ue.Z)("Pagination",bt.Z),Vr=Object.assign(Object.assign({},fr),St),Bi=(0,wt.Z)(Sn),yi=Bi==="small"||!!(Zt&&!Bi&&tn),mi=gn("select",Pt),Vi=_e()({[`${yr}-mini`]:yi,[`${yr}-rtl`]:wn==="rtl"},Xn==null?void 0:Xn.className,_t,kt,Tr),ua=Object.assign(Object.assign({},Xn==null?void 0:Xn.style),$t);return Dr(Me.createElement(Et,Object.assign({},Sr,pt,{style:ua,prefixCls:yr,selectPrefixCls:mi,className:Vi,selectComponentClass:nn||(yi?Xt:Vt),locale:Vr,showSizeChanger:Rr})))},vt=Je},93948:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return jt}});var he=de(59301),Me=de(29679),He=de(40001),ft=de(19248),Oe=de(99267),Le=de(92310),ve=de.n(Le),Ae=de(2738),xe=de(36355),fe=de(60499),Ke=de(85899),Be=de(42244),_e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ne=function(){var Zt=(0,he.useRef)([]),gn=(0,he.useRef)(null);return(0,he.useEffect)(function(){var wn=Date.now(),Xn=!1;Zt.current.forEach(function(yr){if(yr){Xn=!0;var Dr=yr.style;Dr.transitionDuration=".3s, .3s, .3s, .06s",gn.current&&wn-gn.current<100&&(Dr.transitionDuration="0s, 0s")}}),Xn&&(gn.current=Date.now())}),Zt.current},Qe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ke=function(Zt){var gn=(0,Ke.Z)((0,Ke.Z)({},_e),Zt),wn=gn.className,Xn=gn.percent,yr=gn.prefixCls,Dr=gn.strokeColor,Tr=gn.strokeLinecap,Rr=gn.strokeWidth,Sr=gn.style,fr=gn.trailColor,Vr=gn.trailWidth,Bi=gn.transition,yi=(0,Be.Z)(gn,Qe);delete yi.gapPosition;var mi=Array.isArray(Xn)?Xn:[Xn],Vi=Array.isArray(Dr)?Dr:[Dr],ua=Ne(),Wr=Rr/2,Mn=100-Rr/2,ea="M ".concat(Tr==="round"?Wr:0,",").concat(Wr,` L `).concat(Tr==="round"?Mn:100,",").concat(Wr),Ea="0 0 100 ".concat(Rr),wo=0;return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(yr,"-line"),wn),viewBox:Ea,preserveAspectRatio:"none",style:Sr},yi),he.createElement("path",{className:"".concat(yr,"-line-trail"),d:ea,strokeLinecap:Tr,stroke:fr,strokeWidth:Vr||Rr,fillOpacity:"0"}),mi.map(function(sa,Pi){var Aa=1;switch(Tr){case"round":Aa=1-Rr/100;break;case"square":Aa=1-Rr/2/100;break;default:Aa=1;break}var Si={strokeDasharray:"".concat(sa*Aa,"px, 100px"),strokeDashoffset:"-".concat(wo,"px"),transition:Bi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},qr=Vi[Pi]||Vi[Vi.length-1];return wo+=sa,he.createElement("path",{key:Pi,className:"".concat(yr,"-line-path"),d:ea,strokeLinecap:Tr,stroke:qr,strokeWidth:Rr,fillOpacity:"0",ref:function(kn){ua[Pi]=kn},style:Si})}))},Pe=ke,Te=de(43749),Ye=de(72190),ze=de(47273),qe=0,We=(0,ze.Z)();function Ze(){var pt;return We?(pt=qe,qe+=1):pt="TEST_OR_SSR",pt}var et=function(pt){var Zt=he.useState(),gn=(0,Ye.Z)(Zt,2),wn=gn[0],Xn=gn[1];return he.useEffect(function(){Xn("rc_progress_".concat(Ze()))},[]),pt||wn},rt=function(Zt){var gn=Zt.bg,wn=Zt.children;return he.createElement("div",{style:{width:"100%",height:"100%",background:gn}},wn)};function ht(pt,Zt){return Object.keys(pt).map(function(gn){var wn=parseFloat(gn),Xn="".concat(Math.floor(wn*Zt),"%");return"".concat(pt[gn]," ").concat(Xn)})}var dt=he.forwardRef(function(pt,Zt){var gn=pt.prefixCls,wn=pt.color,Xn=pt.gradientId,yr=pt.radius,Dr=pt.style,Tr=pt.ptg,Rr=pt.strokeLinecap,Sr=pt.strokeWidth,fr=pt.size,Vr=pt.gapDegree,Bi=wn&&(0,Te.Z)(wn)==="object",yi=Bi?"#FFF":void 0,mi=fr/2,Vi=he.createElement("circle",{className:"".concat(gn,"-circle-path"),r:yr,cx:mi,cy:mi,stroke:yi,strokeLinecap:Rr,strokeWidth:Sr,opacity:Tr===0?0:1,style:Dr,ref:Zt});if(!Bi)return Vi;var ua="".concat(Xn,"-conic"),Wr=Vr?"".concat(180+Vr/2,"deg"):"0deg",Mn=ht(wn,(360-Vr)/360),ea=ht(wn,1),Ea="conic-gradient(from ".concat(Wr,", ").concat(Mn.join(", "),")"),wo="linear-gradient(to ".concat(Vr?"bottom":"top",", ").concat(ea.join(", "),")");return he.createElement(he.Fragment,null,he.createElement("mask",{id:ua},Vi),he.createElement("foreignObject",{x:0,y:0,width:fr,height:fr,mask:"url(#".concat(ua,")")},he.createElement(rt,{bg:wo},he.createElement(rt,{bg:Ea}))))}),Ct=dt,Xe=100,Lt=function(Zt,gn,wn,Xn,yr,Dr,Tr,Rr,Sr,fr){var Vr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Bi=wn/100*360*((360-Dr)/360),yi=Dr===0?0:{bottom:0,top:180,left:90,right:-90}[Tr],mi=(100-Xn)/100*gn;Sr==="round"&&Xn!==100&&(mi+=fr/2,mi>=gn&&(mi=gn-.01));var Vi=Xe/2;return{stroke:typeof Rr=="string"?Rr:void 0,strokeDasharray:"".concat(gn,"px ").concat(Zt),strokeDashoffset:mi+Vr,transform:"rotate(".concat(yr+Bi+yi,"deg)"),transformOrigin:"".concat(Vi,"px ").concat(Vi,"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}},Re=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ht(pt){var Zt=pt!=null?pt:[];return Array.isArray(Zt)?Zt:[Zt]}var Et=function(Zt){var gn=(0,Ke.Z)((0,Ke.Z)({},_e),Zt),wn=gn.id,Xn=gn.prefixCls,yr=gn.steps,Dr=gn.strokeWidth,Tr=gn.trailWidth,Rr=gn.gapDegree,Sr=Rr===void 0?0:Rr,fr=gn.gapPosition,Vr=gn.trailColor,Bi=gn.strokeLinecap,yi=gn.style,mi=gn.className,Vi=gn.strokeColor,ua=gn.percent,Wr=(0,Be.Z)(gn,Re),Mn=Xe/2,ea=et(wn),Ea="".concat(ea,"-gradient"),wo=Mn-Dr/2,sa=Math.PI*2*wo,Pi=Sr>0?90+Sr/2:-90,Aa=sa*((360-Sr)/360),Si=(0,Te.Z)(yr)==="object"?yr:{count:yr,space:2},qr=Si.count,Ma=Si.space,kn=Ht(ua),Dt=Ht(Vi),Gt=Dt.find(function(dr){return dr&&(0,Te.Z)(dr)==="object"}),Wt=Gt&&(0,Te.Z)(Gt)==="object",Kt=Wt?"butt":Bi,on=Lt(sa,Aa,0,100,Pi,Sr,fr,Vr,Kt,Dr),_n=Ne(),lr=function(){var Pr=0;return kn.map(function(Ur,ei){var er=Dt[ei]||Dt[Dt.length-1],kr=Lt(sa,Aa,Pr,Ur,Pi,Sr,fr,er,Kt,Dr);return Pr+=Ur,he.createElement(Ct,{key:ei,color:er,ptg:Ur,radius:wo,prefixCls:Xn,gradientId:Ea,style:kr,strokeLinecap:Kt,strokeWidth:Dr,gapDegree:Sr,ref:function(gi){_n[ei]=gi},size:Xe})}).reverse()},nr=function(){var Pr=Math.round(qr*(kn[0]/100)),Ur=100/qr,ei=0;return new Array(qr).fill(null).map(function(er,kr){var _i=kr<=Pr-1?Dt[0]:Vr,gi=_i&&(0,Te.Z)(_i)==="object"?"url(#".concat(Ea,")"):void 0,ji=Lt(sa,Aa,ei,Ur,Pi,Sr,fr,_i,"butt",Dr,Ma);return ei+=(Aa-ji.strokeDashoffset+Ma)*100/Aa,he.createElement("circle",{key:kr,className:"".concat(Xn,"-circle-path"),r:wo,cx:Mn,cy:Mn,stroke:gi,strokeWidth:Dr,opacity:1,style:ji,ref:function(Ca){_n[kr]=Ca}})})};return he.createElement("svg",(0,fe.Z)({className:ve()("".concat(Xn,"-circle"),mi),viewBox:"0 0 ".concat(Xe," ").concat(Xe),style:yi,id:wn,role:"presentation"},Wr),!qr&&he.createElement("circle",{className:"".concat(Xn,"-circle-trail"),r:wo,cx:Mn,cy:Mn,stroke:Vr,strokeLinecap:Kt,strokeWidth:Tr||Dr,style:on}),qr?nr():lr())},bt=Et,Tt={Line:Pe,Circle:bt},wt=de(6848),it=de(30071);function Ue(pt){return!pt||pt<0?0:pt>100?100:pt}function at(pt){let{success:Zt,successPercent:gn}=pt,wn=gn;return Zt&&"progress"in Zt&&(wn=Zt.progress),Zt&&"percent"in Zt&&(wn=Zt.percent),wn}const Xt=pt=>{let{percent:Zt,success:gn,successPercent:wn}=pt;const Xn=Ue(at({success:gn,successPercent:wn}));return[Xn,Ue(Ue(Zt)-Xn)]},Vt=pt=>{let{success:Zt={},strokeColor:gn}=pt;const{strokeColor:wn}=Zt;return[wn||it.presetPrimaryColors.green,gn||null]},xt=(pt,Zt,gn)=>{var wn,Xn,yr,Dr;let Tr=-1,Rr=-1;if(Zt==="step"){const Sr=gn.steps,fr=gn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?(Tr=pt==="small"?2:14,Rr=fr!=null?fr:8):typeof pt=="number"?[Tr,Rr]=[pt,pt]:[Tr=14,Rr=8]=pt,Tr*=Sr}else if(Zt==="line"){const Sr=gn==null?void 0:gn.strokeWidth;typeof pt=="string"||typeof pt=="undefined"?Rr=Sr||(pt==="small"?6:8):typeof pt=="number"?[Tr,Rr]=[pt,pt]:[Tr=-1,Rr=8]=pt}else(Zt==="circle"||Zt==="dashboard")&&(typeof pt=="string"||typeof pt=="undefined"?[Tr,Rr]=pt==="small"?[60,60]:[120,120]:typeof pt=="number"?[Tr,Rr]=[pt,pt]:(Tr=(Xn=(wn=pt[0])!==null&&wn!==void 0?wn:pt[1])!==null&&Xn!==void 0?Xn:120,Rr=(Dr=(yr=pt[0])!==null&&yr!==void 0?yr:pt[1])!==null&&Dr!==void 0?Dr:120));return[Tr,Rr]},Qt=3,An=pt=>Qt/pt*100;var dn=pt=>{const{prefixCls:Zt,trailColor:gn=null,strokeLinecap:wn="round",gapPosition:Xn,gapDegree:yr,width:Dr=120,type:Tr,children:Rr,success:Sr,size:fr=Dr}=pt,[Vr,Bi]=xt(fr,"circle");let{strokeWidth:yi}=pt;yi===void 0&&(yi=Math.max(An(Vr),6));const mi={width:Vr,height:Bi,fontSize:Vr*.15+6},Vi=he.useMemo(()=>{if(yr||yr===0)return yr;if(Tr==="dashboard")return 75},[yr,Tr]),ua=Xn||Tr==="dashboard"&&"bottom"||void 0,Wr=Object.prototype.toString.call(pt.strokeColor)==="[object Object]",Mn=Vt({success:Sr,strokeColor:pt.strokeColor}),ea=ve()(`${Zt}-inner`,{[`${Zt}-circle-gradient`]:Wr}),Ea=he.createElement(bt,{percent:Xt(pt),strokeWidth:yi,trailWidth:yi,strokeColor:Mn,strokeLinecap:wn,trailColor:gn,prefixCls:Zt,gapDegree:Vi,gapPosition:ua});return he.createElement("div",{className:ea,style:mi},Vr<=20?he.createElement(wt.Z,{title:Rr},he.createElement("span",null,Ea)):he.createElement(he.Fragment,null,Ea,Rr))},Gn=function(pt,Zt){var gn={};for(var wn in pt)Object.prototype.hasOwnProperty.call(pt,wn)&&Zt.indexOf(wn)<0&&(gn[wn]=pt[wn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,wn=Object.getOwnPropertySymbols(pt);Xn{let Zt=[];return Object.keys(pt).forEach(gn=>{const wn=parseFloat(gn.replace(/%/g,""));isNaN(wn)||Zt.push({key:wn,value:pt[gn]})}),Zt=Zt.sort((gn,wn)=>gn.key-wn.key),Zt.map(gn=>{let{key:wn,value:Xn}=gn;return`${Xn} ${wn}%`}).join(", ")},mn=(pt,Zt)=>{const{from:gn=it.presetPrimaryColors.blue,to:wn=it.presetPrimaryColors.blue,direction:Xn=Zt==="rtl"?"to left":"to right"}=pt,yr=Gn(pt,["from","to","direction"]);if(Object.keys(yr).length!==0){const Dr=Cn(yr);return{backgroundImage:`linear-gradient(${Xn}, ${Dr})`}}return{backgroundImage:`linear-gradient(${Xn}, ${gn}, ${wn})`}};var Se=pt=>{const{prefixCls:Zt,direction:gn,percent:wn,size:Xn,strokeWidth:yr,strokeColor:Dr,strokeLinecap:Tr="round",children:Rr,trailColor:Sr=null,success:fr}=pt,Vr=Dr&&typeof Dr!="string"?mn(Dr,gn):{backgroundColor:Dr},Bi=Tr==="square"||Tr==="butt"?0:void 0,yi={backgroundColor:Sr||void 0,borderRadius:Bi},mi=Xn!=null?Xn:[-1,yr||(Xn==="small"?6:8)],[Vi,ua]=xt(mi,"line",{strokeWidth:yr}),Wr=Object.assign({width:`${Ue(wn)}%`,height:ua,borderRadius:Bi},Vr),Mn=at(pt),ea={width:`${Ue(Mn)}%`,height:ua,borderRadius:Bi,backgroundColor:fr==null?void 0:fr.strokeColor},Ea={width:Vi<0?"100%":Vi,height:ua};return he.createElement(he.Fragment,null,he.createElement("div",{className:`${Zt}-outer`,style:Ea},he.createElement("div",{className:`${Zt}-inner`,style:yi},he.createElement("div",{className:`${Zt}-bg`,style:Wr}),Mn!==void 0?he.createElement("div",{className:`${Zt}-success-bg`,style:ea}):null)),Rr)},ie=pt=>{const{size:Zt,steps:gn,percent:wn=0,strokeWidth:Xn=8,strokeColor:yr,trailColor:Dr=null,prefixCls:Tr,children:Rr}=pt,Sr=Math.round(gn*(wn/100)),fr=Zt==="small"?2:14,Vr=Zt!=null?Zt:[fr,Xn],[Bi,yi]=xt(Vr,"step",{steps:gn,strokeWidth:Xn}),mi=Bi/gn,Vi=new Array(gn);for(let ua=0;ua{const Zt=pt?"100%":"-100%";return new ae.Keyframes(`antProgress${pt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Zt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Zt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},$e=pt=>{const{componentCls:Zt,iconCls:gn}=pt;return{[Zt]:Object.assign(Object.assign({},(0,se.Wf)(pt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:pt.fontSize,marginInlineEnd:pt.marginXS,marginBottom:pt.marginXS},[`${Zt}-outer`]:{display:"inline-block",width:"100%"},[`&${Zt}-show-info`]:{[`${Zt}-outer`]:{marginInlineEnd:`calc(-2em - ${pt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${pt.paddingXS}px)`}},[`${Zt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:pt.remainingColor,borderRadius:pt.lineBorderRadius},[`${Zt}-inner:not(${Zt}-circle-gradient)`]:{[`${Zt}-circle-path`]:{stroke:pt.defaultColor}},[`${Zt}-success-bg, ${Zt}-bg`]:{position:"relative",backgroundColor:pt.defaultColor,borderRadius:pt.lineBorderRadius,transition:`all ${pt.motionDurationSlow} ${pt.motionEaseInOutCirc}`},[`${Zt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:pt.colorSuccess},[`${Zt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:pt.marginXS,color:pt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[gn]:{fontSize:pt.fontSize}},[`&${Zt}-status-active`]:{[`${Zt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:pt.colorBgContainer,borderRadius:pt.lineBorderRadius,opacity:0,animationName:vt(),animationDuration:pt.progressActiveMotionDuration,animationTimingFunction:pt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Zt}-rtl${Zt}-status-active`]:{[`${Zt}-bg::before`]:{animationName:vt(!0)}},[`&${Zt}-status-exception`]:{[`${Zt}-bg`]:{backgroundColor:pt.colorError},[`${Zt}-text`]:{color:pt.colorError}},[`&${Zt}-status-exception ${Zt}-inner:not(${Zt}-circle-gradient)`]:{[`${Zt}-circle-path`]:{stroke:pt.colorError}},[`&${Zt}-status-success`]:{[`${Zt}-bg`]:{backgroundColor:pt.colorSuccess},[`${Zt}-text`]:{color:pt.colorSuccess}},[`&${Zt}-status-success ${Zt}-inner:not(${Zt}-circle-gradient)`]:{[`${Zt}-circle-path`]:{stroke:pt.colorSuccess}}})}},lt=pt=>{const{componentCls:Zt,iconCls:gn}=pt;return{[Zt]:{[`${Zt}-circle-trail`]:{stroke:pt.remainingColor},[`&${Zt}-circle ${Zt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Zt}-circle ${Zt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:pt.circleTextColor,fontSize:pt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[gn]:{fontSize:`${pt.fontSize/pt.fontSizeSM}em`}},[`${Zt}-circle&-status-exception`]:{[`${Zt}-text`]:{color:pt.colorError}},[`${Zt}-circle&-status-success`]:{[`${Zt}-text`]:{color:pt.colorSuccess}}},[`${Zt}-inline-circle`]:{lineHeight:1,[`${Zt}-inner`]:{verticalAlign:"bottom"}}}},Pt=pt=>{const{componentCls:Zt}=pt;return{[Zt]:{[`${Zt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:pt.progressStepMinWidth,marginInlineEnd:pt.progressStepMarginInlineEnd,backgroundColor:pt.remainingColor,transition:`all ${pt.motionDurationSlow}`,"&-active":{backgroundColor:pt.defaultColor}}}}}},_t=pt=>{const{componentCls:Zt,iconCls:gn}=pt;return{[Zt]:{[`${Zt}-small&-line, ${Zt}-small&-line ${Zt}-text ${gn}`]:{fontSize:pt.fontSizeSM}}}};var kt=(0,oe.Z)("Progress",pt=>{const Zt=pt.marginXXS/2,gn=(0,Je.TS)(pt,{progressStepMarginInlineEnd:Zt,progressStepMinWidth:Zt,progressActiveMotionDuration:"2.4s"});return[$e(gn),lt(gn),Pt(gn),_t(gn)]},pt=>({circleTextColor:pt.colorText,defaultColor:pt.colorInfo,remainingColor:pt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),$t=function(pt,Zt){var gn={};for(var wn in pt)Object.prototype.hasOwnProperty.call(pt,wn)&&Zt.indexOf(wn)<0&&(gn[wn]=pt[wn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,wn=Object.getOwnPropertySymbols(pt);Xn{const{prefixCls:gn,className:wn,rootClassName:Xn,steps:yr,strokeColor:Dr,percent:Tr=0,size:Rr="default",showInfo:Sr=!0,type:fr="line",status:Vr,format:Bi,style:yi}=pt,mi=$t(pt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Vi=he.useMemo(()=>{var kn,Dt;const Gt=at(pt);return parseInt(Gt!==void 0?(kn=Gt!=null?Gt:0)===null||kn===void 0?void 0:kn.toString():(Dt=Tr!=null?Tr:0)===null||Dt===void 0?void 0:Dt.toString(),10)},[Tr,pt.success,pt.successPercent]),ua=he.useMemo(()=>!St.includes(Vr)&&Vi>=100?"success":Vr||"normal",[Vr,Vi]),{getPrefixCls:Wr,direction:Mn,progress:ea}=he.useContext(xe.E_),Ea=Wr("progress",gn),[wo,sa]=kt(Ea),Pi=he.useMemo(()=>{if(!Sr)return null;const kn=at(pt);let Dt;const Gt=Bi||(Kt=>`${Kt}%`),Wt=fr==="line";return Bi||ua!=="exception"&&ua!=="success"?Dt=Gt(Ue(Tr),Ue(kn)):ua==="exception"?Dt=Wt?he.createElement(ft.Z,null):he.createElement(Oe.Z,null):ua==="success"&&(Dt=Wt?he.createElement(Me.Z,null):he.createElement(He.Z,null)),he.createElement("span",{className:`${Ea}-text`,title:typeof Dt=="string"?Dt:void 0},Dt)},[Sr,Tr,Vi,ua,fr,Ea,Bi]),Aa=Array.isArray(Dr)?Dr[0]:Dr,Si=typeof Dr=="string"||Array.isArray(Dr)?Dr:void 0;let qr;fr==="line"?qr=yr?he.createElement(ie,Object.assign({},pt,{strokeColor:Si,prefixCls:Ea,steps:yr}),Pi):he.createElement(Se,Object.assign({},pt,{strokeColor:Aa,prefixCls:Ea,direction:Mn}),Pi):(fr==="circle"||fr==="dashboard")&&(qr=he.createElement(dn,Object.assign({},pt,{strokeColor:Aa,prefixCls:Ea,progressStatus:ua}),Pi));const Ma=ve()(Ea,`${Ea}-status-${ua}`,`${Ea}-${fr==="dashboard"&&"circle"||yr&&"steps"||fr}`,{[`${Ea}-inline-circle`]:fr==="circle"&&xt(Rr,"circle")[0]<=20,[`${Ea}-show-info`]:Sr,[`${Ea}-${Rr}`]:typeof Rr=="string",[`${Ea}-rtl`]:Mn==="rtl"},ea==null?void 0:ea.className,wn,Xn,sa);return wo(he.createElement("div",Object.assign({ref:Zt,style:Object.assign(Object.assign({},ea==null?void 0:ea.style),yi),className:Ma,role:"progressbar","aria-valuenow":Vi},(0,Ae.Z)(mi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),qr))}),jt=tn},5112:function(Qn,Yt,de){"use strict";de.d(Yt,{ZP:function(){return it}});var he=de(92310),Me=de.n(he),He=de(18929),ft=de(26112),Oe=de(59301),Le=de(36355),ve=de(19716);const Ae=Oe.createContext(null),xe=Ae.Provider;var fe=Ae;const Ke=Oe.createContext(null),Be=Ke.Provider;var _e=de(5630),Ne=de(8654),Qe=de(1684),ke=de(32441),Pe=de(17313),Te=de(83116),Ye=de(37613);const ze=Ue=>{const{componentCls:at,antCls:Xt}=Ue,Vt=`${at}-group`;return{[Vt]:Object.assign(Object.assign({},(0,Pe.Wf)(Ue)),{display:"inline-block",fontSize:0,[`&${Vt}-rtl`]:{direction:"rtl"},[`${Xt}-badge ${Xt}-badge-count`]:{zIndex:1},[`> ${Xt}-badge:not(:first-child) > ${Xt}-button-wrapper`]:{borderInlineStart:"none"}})}},qe=Ue=>{const{componentCls:at,wrapperMarginInlineEnd:Xt,colorPrimary:Vt,radioSize:xt,motionDurationSlow:Qt,motionDurationMid:An,motionEaseInOutCirc:Tn,colorBgContainer:dn,colorBorder:Gn,lineWidth:Cn,dotSize:mn,colorBgContainerDisabled:Bn,colorTextDisabled:Se,paddingXS:Fe,dotColorDisabled:ie,lineType:ae,radioDotDisabledSize:se,wireframe:oe,colorWhite:Je}=Ue,vt=`${at}-inner`;return{[`${at}-wrapper`]:Object.assign(Object.assign({},(0,Pe.Wf)(Ue)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Xt,cursor:"pointer",[`&${at}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ue.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${at}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Cn}px ${ae} ${Vt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[at]:Object.assign(Object.assign({},(0,Pe.Wf)(Ue)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${at}-wrapper:hover &, &:hover ${vt}`]:{borderColor:Vt},[`${at}-input:focus-visible + ${vt}`]:Object.assign({},(0,Pe.oN)(Ue)),[`${at}:hover::after, ${at}-wrapper:hover &::after`]:{visibility:"visible"},[`${at}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:xt,height:xt,marginBlockStart:xt/-2,marginInlineStart:xt/-2,backgroundColor:oe?Vt:Je,borderBlockStart:0,borderInlineStart:0,borderRadius:xt,transform:"scale(0)",opacity:0,transition:`all ${Qt} ${Tn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:xt,height:xt,backgroundColor:dn,borderColor:Gn,borderStyle:"solid",borderWidth:Cn,borderRadius:"50%",transition:`all ${An}`},[`${at}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${at}-checked`]:{[vt]:{borderColor:Vt,backgroundColor:oe?dn:Vt,"&::after":{transform:`scale(${mn/xt})`,opacity:1,transition:`all ${Qt} ${Tn}`}}},[`${at}-disabled`]:{cursor:"not-allowed",[vt]:{backgroundColor:Bn,borderColor:Gn,cursor:"not-allowed","&::after":{backgroundColor:ie}},[`${at}-input`]:{cursor:"not-allowed"},[`${at}-disabled + span`]:{color:Se,cursor:"not-allowed"},[`&${at}-checked`]:{[vt]:{"&::after":{transform:`scale(${se/xt})`}}}},[`span${at} + *`]:{paddingInlineStart:Fe,paddingInlineEnd:Fe}})}},We=Ue=>{const{buttonColor:at,controlHeight:Xt,componentCls:Vt,lineWidth:xt,lineType:Qt,colorBorder:An,motionDurationSlow:Tn,motionDurationMid:dn,buttonPaddingInline:Gn,fontSize:Cn,buttonBg:mn,fontSizeLG:Bn,controlHeightLG:Se,controlHeightSM:Fe,paddingXS:ie,borderRadius:ae,borderRadiusSM:se,borderRadiusLG:oe,buttonCheckedBg:Je,buttonSolidCheckedColor:vt,colorTextDisabled:$e,colorBgContainerDisabled:lt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:_t,colorPrimary:kt,colorPrimaryHover:$t,colorPrimaryActive:Sn,buttonSolidCheckedBg:St,buttonSolidCheckedHoverBg:nn,buttonSolidCheckedActiveBg:tn}=Ue;return{[`${Vt}-button-wrapper`]:{position:"relative",display:"inline-block",height:Xt,margin:0,paddingInline:Gn,paddingBlock:0,color:at,fontSize:Cn,lineHeight:`${Xt-xt*2}px`,background:mn,border:`${xt}px ${Qt} ${An}`,borderBlockStartWidth:xt+.02,borderInlineStartWidth:0,borderInlineEndWidth:xt,cursor:"pointer",transition:[`color ${dn}`,`background ${dn}`,`box-shadow ${dn}`].join(","),a:{color:at},[`> ${Vt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-xt,insetInlineStart:-xt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:xt,paddingInline:0,backgroundColor:An,transition:`background-color ${Tn}`,content:'""'}},"&:first-child":{borderInlineStart:`${xt}px ${Qt} ${An}`,borderStartStartRadius:ae,borderEndStartRadius:ae},"&:last-child":{borderStartEndRadius:ae,borderEndEndRadius:ae},"&:first-child:last-child":{borderRadius:ae},[`${Vt}-group-large &`]:{height:Se,fontSize:Bn,lineHeight:`${Se-xt*2}px`,"&:first-child":{borderStartStartRadius:oe,borderEndStartRadius:oe},"&:last-child":{borderStartEndRadius:oe,borderEndEndRadius:oe}},[`${Vt}-group-small &`]:{height:Fe,paddingInline:ie-xt,paddingBlock:0,lineHeight:`${Fe-xt*2}px`,"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},"&:hover":{position:"relative",color:kt},"&:has(:focus-visible)":Object.assign({},(0,Pe.oN)(Ue)),[`${Vt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Vt}-button-wrapper-disabled)`]:{zIndex:1,color:kt,background:Je,borderColor:kt,"&::before":{backgroundColor:kt},"&:first-child":{borderColor:kt},"&:hover":{color:$t,borderColor:$t,"&::before":{backgroundColor:$t}},"&:active":{color:Sn,borderColor:Sn,"&::before":{backgroundColor:Sn}}},[`${Vt}-group-solid &-checked:not(${Vt}-button-wrapper-disabled)`]:{color:vt,background:St,borderColor:St,"&:hover":{color:vt,background:nn,borderColor:nn},"&:active":{color:vt,background:tn,borderColor:tn}},"&-disabled":{color:$e,backgroundColor:lt,borderColor:An,cursor:"not-allowed","&:first-child, &:hover":{color:$e,backgroundColor:lt,borderColor:An}},[`&-disabled${Vt}-button-wrapper-checked`]:{color:_t,backgroundColor:Pt,borderColor:An,boxShadow:"none"}}}},Ze=Ue=>Ue-4*2;var et=(0,Te.Z)("Radio",Ue=>{const{controlOutline:at,controlOutlineWidth:Xt,radioSize:Vt}=Ue,xt=`0 0 0 ${Xt}px ${at}`,Qt=xt,An=Ze(Vt),Tn=(0,Ye.TS)(Ue,{radioDotDisabledSize:An,radioFocusShadow:xt,radioButtonFocusShadow:Qt});return[ze(Tn),qe(Tn),We(Tn)]},Ue=>{const{wireframe:at,padding:Xt,marginXS:Vt,lineWidth:xt,fontSizeLG:Qt,colorText:An,colorBgContainer:Tn,colorTextDisabled:dn,controlItemBgActiveDisabled:Gn,colorTextLightSolid:Cn,colorPrimary:mn,colorPrimaryHover:Bn,colorPrimaryActive:Se}=Ue,Fe=4,ie=Qt,ae=at?Ze(ie):ie-(Fe+xt)*2;return{radioSize:ie,dotSize:ae,dotColorDisabled:dn,buttonSolidCheckedColor:Cn,buttonSolidCheckedBg:mn,buttonSolidCheckedHoverBg:Bn,buttonSolidCheckedActiveBg:Se,buttonBg:Tn,buttonCheckedBg:Tn,buttonColor:An,buttonCheckedBgDisabled:Gn,buttonCheckedColorDisabled:dn,buttonPaddingInline:Xt-xt,wrapperMarginInlineEnd:Vt}}),rt=de(14088),ht=de(4572),dt=function(Ue,at){var Xt={};for(var Vt in Ue)Object.prototype.hasOwnProperty.call(Ue,Vt)&&at.indexOf(Vt)<0&&(Xt[Vt]=Ue[Vt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Vt=Object.getOwnPropertySymbols(Ue);xt{var Xt,Vt;const xt=Oe.useContext(fe),Qt=Oe.useContext(Ke),{getPrefixCls:An,direction:Tn,radio:dn}=Oe.useContext(Le.E_),Gn=Oe.useRef(null),Cn=(0,Ne.sQ)(at,Gn),{isFormItemInput:mn}=Oe.useContext(ke.aM),Bn=Sn=>{var St,nn;(St=Ue.onChange)===null||St===void 0||St.call(Ue,Sn),(nn=xt==null?void 0:xt.onChange)===null||nn===void 0||nn.call(xt,Sn)},{prefixCls:Se,className:Fe,rootClassName:ie,children:ae,style:se}=Ue,oe=dt(Ue,["prefixCls","className","rootClassName","children","style"]),Je=An("radio",Se),vt=((xt==null?void 0:xt.optionType)||Qt)==="button",$e=vt?`${Je}-button`:Je,[lt,Pt]=et(Je),_t=Object.assign({},oe),kt=Oe.useContext(Qe.Z);xt&&(_t.name=xt.name,_t.onChange=Bn,_t.checked=Ue.value===xt.value,_t.disabled=(Xt=_t.disabled)!==null&&Xt!==void 0?Xt:xt.disabled),_t.disabled=(Vt=_t.disabled)!==null&&Vt!==void 0?Vt:kt;const $t=Me()(`${$e}-wrapper`,{[`${$e}-wrapper-checked`]:_t.checked,[`${$e}-wrapper-disabled`]:_t.disabled,[`${$e}-wrapper-rtl`]:Tn==="rtl",[`${$e}-wrapper-in-form-item`]:mn},dn==null?void 0:dn.className,Fe,ie,Pt);return lt(Oe.createElement(rt.Z,{component:"Radio",disabled:_t.disabled},Oe.createElement("label",{className:$t,style:Object.assign(Object.assign({},dn==null?void 0:dn.style),se),onMouseEnter:Ue.onMouseEnter,onMouseLeave:Ue.onMouseLeave},Oe.createElement(_e.Z,Object.assign({},_t,{className:Me()(_t.className,!vt&&ht.A),type:"radio",prefixCls:$e,ref:Cn})),ae!==void 0?Oe.createElement("span",null,ae):null)))};var Lt=Oe.forwardRef(Ct);const Re=Oe.forwardRef((Ue,at)=>{const{getPrefixCls:Xt,direction:Vt}=Oe.useContext(Le.E_),[xt,Qt]=(0,He.Z)(Ue.defaultValue,{value:Ue.value}),An=St=>{const nn=xt,tn=St.target.value;"value"in Ue||Qt(tn);const{onChange:jt}=Ue;jt&&tn!==nn&&jt(St)},{prefixCls:Tn,className:dn,rootClassName:Gn,options:Cn,buttonStyle:mn="outline",disabled:Bn,children:Se,size:Fe,style:ie,id:ae,onMouseEnter:se,onMouseLeave:oe,onFocus:Je,onBlur:vt}=Ue,$e=Xt("radio",Tn),lt=`${$e}-group`,[Pt,_t]=et($e);let kt=Se;Cn&&Cn.length>0&&(kt=Cn.map(St=>typeof St=="string"||typeof St=="number"?Oe.createElement(Lt,{key:St.toString(),prefixCls:$e,disabled:Bn,value:St,checked:xt===St},St):Oe.createElement(Lt,{key:`radio-group-value-options-${St.value}`,prefixCls:$e,disabled:St.disabled||Bn,value:St.value,checked:xt===St.value,title:St.title,style:St.style},St.label)));const $t=(0,ve.Z)(Fe),Sn=Me()(lt,`${lt}-${mn}`,{[`${lt}-${$t}`]:$t,[`${lt}-rtl`]:Vt==="rtl"},dn,Gn,_t);return Pt(Oe.createElement("div",Object.assign({},(0,ft.Z)(Ue,{aria:!0,data:!0}),{className:Sn,style:ie,onMouseEnter:se,onMouseLeave:oe,onFocus:Je,onBlur:vt,id:ae,ref:at}),Oe.createElement(xe,{value:{onChange:An,value:xt,disabled:Ue.disabled,name:Ue.name,optionType:Ue.optionType}},kt)))});var Ht=Oe.memo(Re),Et=function(Ue,at){var Xt={};for(var Vt in Ue)Object.prototype.hasOwnProperty.call(Ue,Vt)&&at.indexOf(Vt)<0&&(Xt[Vt]=Ue[Vt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Vt=Object.getOwnPropertySymbols(Ue);xt{const{getPrefixCls:Xt}=Oe.useContext(Le.E_),{prefixCls:Vt}=Ue,xt=Et(Ue,["prefixCls"]),Qt=Xt("radio",Vt);return Oe.createElement(Be,{value:"button"},Oe.createElement(Lt,Object.assign({prefixCls:Qt},xt,{type:"radio",ref:at})))};var Tt=Oe.forwardRef(bt);const wt=Lt;wt.Button=Tt,wt.Group=Ht,wt.__ANT_RADIO=!0;var it=wt},13570:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ue}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(Xt,Vt){return Me.createElement(Oe.Z,(0,he.Z)({},Xt,{ref:Vt,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(92310),fe=de.n(xe),Ke=de(18642),Be=de(72190),_e=de(42244),Ne=de(18929),Qe=de(10228),ke=de(26112);function Pe(at,Xt){var Vt=at.disabled,xt=at.prefixCls,Qt=at.character,An=at.characterRender,Tn=at.index,dn=at.count,Gn=at.value,Cn=at.allowHalf,mn=at.focused,Bn=at.onHover,Se=at.onClick,Fe=function(lt){Bn(lt,Tn)},ie=function(lt){Se(lt,Tn)},ae=function(lt){lt.keyCode===Qe.Z.ENTER&&Se(lt,Tn)},se=Tn+1,oe=new Set([xt]);Gn===0&&Tn===0&&mn?oe.add("".concat(xt,"-focused")):Cn&&Gn+.5>=se&&GnTn?"true":"false","aria-posinset":Tn+1,"aria-setsize":dn,tabIndex:Vt?-1:0},Me.createElement("div",{className:"".concat(xt,"-first")},Je),Me.createElement("div",{className:"".concat(xt,"-second")},Je)));return An&&(vt=An(vt,at)),vt}var Te=Me.forwardRef(Pe);function Ye(){var at=Me.useRef({});function Xt(xt){return at.current[xt]}function Vt(xt){return function(Qt){at.current[xt]=Qt}}return[Xt,Vt]}function ze(at){var Xt=at.pageXOffset,Vt="scrollLeft";if(typeof Xt!="number"){var xt=at.document;Xt=xt.documentElement[Vt],typeof Xt!="number"&&(Xt=xt.body[Vt])}return Xt}function qe(at){var Xt,Vt,xt=at.ownerDocument,Qt=xt.body,An=xt&&xt.documentElement,Tn=at.getBoundingClientRect();return Xt=Tn.left,Vt=Tn.top,Xt-=An.clientLeft||Qt.clientLeft||0,Vt-=An.clientTop||Qt.clientTop||0,{left:Xt,top:Vt}}function We(at){var Xt=qe(at),Vt=at.ownerDocument,xt=Vt.defaultView||Vt.parentWindow;return Xt.left+=ze(xt),Xt.left}var Ze=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function et(at,Xt){var Vt,xt=at.prefixCls,Qt=xt===void 0?"rc-rate":xt,An=at.className,Tn=at.defaultValue,dn=at.value,Gn=at.count,Cn=Gn===void 0?5:Gn,mn=at.allowHalf,Bn=mn===void 0?!1:mn,Se=at.allowClear,Fe=Se===void 0?!0:Se,ie=at.character,ae=ie===void 0?"\u2605":ie,se=at.characterRender,oe=at.disabled,Je=at.direction,vt=Je===void 0?"ltr":Je,$e=at.tabIndex,lt=$e===void 0?0:$e,Pt=at.autoFocus,_t=at.onHoverChange,kt=at.onChange,$t=at.onFocus,Sn=at.onBlur,St=at.onKeyDown,nn=at.onMouseLeave,tn=(0,_e.Z)(at,Ze),jt=Ye(),pt=(0,Be.Z)(jt,2),Zt=pt[0],gn=pt[1],wn=Me.useRef(null),Xn=function(){if(!oe){var Kt;(Kt=wn.current)===null||Kt===void 0||Kt.focus()}};Me.useImperativeHandle(Xt,function(){return{focus:Xn,blur:function(){if(!oe){var Kt;(Kt=wn.current)===null||Kt===void 0||Kt.blur()}}}});var yr=(0,Ne.Z)(Tn||0,{value:dn}),Dr=(0,Be.Z)(yr,2),Tr=Dr[0],Rr=Dr[1],Sr=(0,Ne.Z)(null),fr=(0,Be.Z)(Sr,2),Vr=fr[0],Bi=fr[1],yi=function(Kt,on){var _n=vt==="rtl",lr=Kt+1;if(Bn){var nr=Zt(Kt),dr=We(nr),Pr=nr.clientWidth;(_n&&on-dr>Pr/2||!_n&&on-dr0&&!_n||on===Qe.Z.RIGHT&&lr>0&&_n?(Bn?lr-=.5:lr-=1,mi(lr),Kt.preventDefault()):on===Qe.Z.LEFT&&lr{const{componentCls:Xt}=at;return{[`${Xt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:at.marginXS},"> div":{transition:`all ${at.motionDurationMid}, outline 0s`,"&:hover":{transform:at.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${at.lineWidth}px dashed ${at.starColor}`,transform:at.starHoverScale}},"&-first, &-second":{color:at.starBg,transition:`all ${at.motionDurationMid}`,userSelect:"none",[at.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Xt}-star-first, &-half ${Xt}-star-second`]:{opacity:1},[`&-half ${Xt}-star-first, &-full ${Xt}-star-second`]:{color:"inherit"}}}},Et=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),bt=at=>{const{componentCls:Xt}=at;return{[Xt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(at)),{display:"inline-block",margin:0,padding:0,color:at.starColor,fontSize:at.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Xt} ${Xt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ht(at)),{[`+ ${Xt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),Et(at))}};var Tt=(0,Lt.Z)("Rate",at=>{const Xt=(0,Re.TS)(at,{});return[bt(Xt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),wt=function(at,Xt){var Vt={};for(var xt in at)Object.prototype.hasOwnProperty.call(at,xt)&&Xt.indexOf(xt)<0&&(Vt[xt]=at[xt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,xt=Object.getOwnPropertySymbols(at);Qt{const{prefixCls:Vt,className:xt,rootClassName:Qt,style:An,tooltips:Tn,character:dn=Me.createElement(Ae,null)}=at,Gn=wt(at,["prefixCls","className","rootClassName","style","tooltips","character"]),Cn=(oe,Je)=>{let{index:vt}=Je;return Tn?Me.createElement(Ct.Z,{title:Tn[vt]},oe):oe},{getPrefixCls:mn,direction:Bn,rate:Se}=Me.useContext(dt.E_),Fe=mn("rate",Vt),[ie,ae]=Tt(Fe),se=Object.assign(Object.assign({},Se==null?void 0:Se.style),An);return ie(Me.createElement(ht,Object.assign({ref:Xt,character:dn,characterRender:Cn},Gn,{className:fe()(xt,Qt,ae,Se==null?void 0:Se.className),style:se,prefixCls:Fe,direction:Bn})))})},57809:function(Qn,Yt,de){"use strict";var he=de(92310),Me=de.n(he),He=de(77861),ft=de(2738),Oe=de(59301),Le=de(53487),ve=de(62892),Ae=de(19080),xe=de(36355),fe=de(1684),Ke=de(93891),Be=de(19716),_e=de(32441),Ne=de(33234),Qe=de(14154),ke=de(58582),Pe=de(84443),Te=de(66339),Ye=function(et,rt){var ht={};for(var dt in et)Object.prototype.hasOwnProperty.call(et,dt)&&rt.indexOf(dt)<0&&(ht[dt]=et[dt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,dt=Object.getOwnPropertySymbols(et);Ct{var ht,{prefixCls:dt,bordered:Ct=!0,className:Xe,rootClassName:Lt,getPopupContainer:Re,popupClassName:Ht,dropdownClassName:Et,listHeight:bt=256,placement:Tt,listItemHeight:wt=24,size:it,disabled:Ue,notFoundContent:at,status:Xt,builtinPlacements:Vt,dropdownMatchSelectWidth:xt,popupMatchSelectWidth:Qt,direction:An,style:Tn,allowClear:dn}=et,Gn=Ye(et,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Cn,getPrefixCls:mn,renderEmpty:Bn,direction:Se,virtual:Fe,popupMatchSelectWidth:ie,popupOverflow:ae,select:se}=Oe.useContext(xe.E_),oe=mn("select",dt),Je=mn(),vt=An!=null?An:Se,{compactSize:$e,compactItemClassnames:lt}=(0,Ne.ri)(oe,vt),[Pt,_t]=(0,Qe.Z)(oe),kt=Oe.useMemo(()=>{const{mode:ua}=Gn;if(ua!=="combobox")return ua===ze?"combobox":ua},[Gn.mode]),$t=kt==="multiple"||kt==="tags",Sn=(0,Pe.Z)(Gn.suffixIcon,Gn.showArrow),St=(ht=Qt!=null?Qt:xt)!==null&&ht!==void 0?ht:ie,{status:nn,hasFeedback:tn,isFormItemInput:jt,feedbackIcon:pt}=Oe.useContext(_e.aM),Zt=(0,Ae.F)(nn,Xt);let gn;at!==void 0?gn=at:kt==="combobox"?gn=null:gn=(Bn==null?void 0:Bn("Select"))||Oe.createElement(Ke.Z,{componentName:"Select"});const{suffixIcon:wn,itemIcon:Xn,removeIcon:yr,clearIcon:Dr}=(0,Te.Z)(Object.assign(Object.assign({},Gn),{multiple:$t,hasFeedback:tn,feedbackIcon:pt,showSuffixIcon:Sn,prefixCls:oe,showArrow:Gn.showArrow,componentName:"Select"})),Tr=dn===!0?{clearIcon:Dr}:dn,Rr=(0,ft.Z)(Gn,["suffixIcon","itemIcon"]),Sr=Me()(Ht||Et,{[`${oe}-dropdown-${vt}`]:vt==="rtl"},Lt,_t),fr=(0,Be.Z)(ua=>{var Wr;return(Wr=it!=null?it:$e)!==null&&Wr!==void 0?Wr:ua}),Vr=Oe.useContext(fe.Z),Bi=Ue!=null?Ue:Vr,yi=Me()({[`${oe}-lg`]:fr==="large",[`${oe}-sm`]:fr==="small",[`${oe}-rtl`]:vt==="rtl",[`${oe}-borderless`]:!Ct,[`${oe}-in-form-item`]:jt},(0,Ae.Z)(oe,Zt,tn),lt,se==null?void 0:se.className,Xe,Lt,_t),mi=Oe.useMemo(()=>Tt!==void 0?Tt:vt==="rtl"?"bottomRight":"bottomLeft",[Tt,vt]),Vi=(0,ke.Z)(Vt,ae);return Pt(Oe.createElement(He.ZP,Object.assign({ref:rt,virtual:Fe,showSearch:se==null?void 0:se.showSearch},Rr,{style:Object.assign(Object.assign({},se==null?void 0:se.style),Tn),dropdownMatchSelectWidth:St,builtinPlacements:Vi,transitionName:(0,ve.m)(Je,"slide-up",Gn.transitionName),listHeight:bt,listItemHeight:wt,mode:kt,prefixCls:oe,placement:mi,direction:vt,suffixIcon:wn,menuItemSelectedIcon:Xn,removeIcon:yr,allowClear:Tr,notFoundContent:gn,className:yi,getPopupContainer:Re||Cn,dropdownClassName:Sr,disabled:Bi})))},We=Oe.forwardRef(qe),Ze=(0,Le.Z)(We);We.SECRET_COMBOBOX_MODE_DO_NOT_USE=ze,We.Option=He.Wx,We.OptGroup=He.Xo,We._InternalPanelDoNotUseOrYouWillBeFired=Ze,Yt.default=We},14154:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return We}});var he=de(17313),Me=de(74207),He=de(37613),ft=de(83116),Oe=de(13826),Le=de(92899);const ve=Ze=>{const{optionHeight:et,optionFontSize:rt,optionLineHeight:ht,optionPadding:dt}=Ze;return{position:"relative",display:"block",minHeight:et,padding:dt,color:Ze.colorText,fontWeight:"normal",fontSize:rt,lineHeight:ht,boxSizing:"border-box"}};var xe=Ze=>{const{antCls:et,componentCls:rt}=Ze,ht=`${rt}-item`,dt=`&${et}-slide-up-enter${et}-slide-up-enter-active`,Ct=`&${et}-slide-up-appear${et}-slide-up-appear-active`,Xe=`&${et}-slide-up-leave${et}-slide-up-leave-active`,Lt=`${rt}-dropdown-placement-`;return[{[`${rt}-dropdown`]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{position:"absolute",top:-9999,zIndex:Ze.zIndexPopup,boxSizing:"border-box",padding:Ze.paddingXXS,overflow:"hidden",fontSize:Ze.fontSize,fontVariant:"initial",backgroundColor:Ze.colorBgElevated,borderRadius:Ze.borderRadiusLG,outline:"none",boxShadow:Ze.boxShadowSecondary,[` ${dt}${Lt}bottomLeft, ${Ct}${Lt}bottomLeft `]:{animationName:Oe.fJ},[` ${dt}${Lt}topLeft, ${Ct}${Lt}topLeft, ${dt}${Lt}topRight, ${Ct}${Lt}topRight `]:{animationName:Oe.Qt},[`${Xe}${Lt}bottomLeft`]:{animationName:Oe.Uw},[` ${Xe}${Lt}topLeft, ${Xe}${Lt}topRight `]:{animationName:Oe.ly},"&-hidden":{display:"none"},[`${ht}`]:Object.assign(Object.assign({},ve(Ze)),{cursor:"pointer",transition:`background ${Ze.motionDurationSlow} ease`,borderRadius:Ze.borderRadiusSM,"&-group":{color:Ze.colorTextDescription,fontSize:Ze.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},he.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ht}-option-disabled)`]:{backgroundColor:Ze.optionActiveBg},[`&-selected:not(${ht}-option-disabled)`]:{color:Ze.optionSelectedColor,fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg,[`${ht}-option-state`]:{color:Ze.colorPrimary}},"&-disabled":{[`&${ht}-option-selected`]:{backgroundColor:Ze.colorBgContainerDisabled},color:Ze.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Ze.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,Oe.oN)(Ze,"slide-up"),(0,Oe.oN)(Ze,"slide-down"),(0,Le.Fm)(Ze,"move-up"),(0,Le.Fm)(Ze,"move-down")]};const fe=2,Ke=Ze=>{let{controlHeightSM:et,controlHeight:rt,lineWidth:ht}=Ze;const dt=(rt-et)/2-ht,Ct=Math.ceil(dt/2);return[dt,Ct]};function Be(Ze,et){const{componentCls:rt,iconCls:ht}=Ze,dt=`${rt}-selection-overflow`,Ct=Ze.multipleSelectItemHeight,[Xe]=Ke(Ze),Lt=et?`${rt}-${et}`:"";return{[`${rt}-multiple${Lt}`]:{fontSize:Ze.fontSize,[dt]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${rt}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Xe-fe}px ${fe*2}px`,borderRadius:Ze.borderRadius,[`${rt}-show-search&`]:{cursor:"text"},[`${rt}-disabled&`]:{background:Ze.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${fe}px 0`,lineHeight:`${Ct}px`,visibility:"hidden",content:'"\\a0"'}},[` &${rt}-show-arrow ${rt}-selector, &${rt}-allow-clear ${rt}-selector `]:{paddingInlineEnd:Ze.fontSizeIcon+Ze.controlPaddingHorizontal},[`${rt}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Ct,marginTop:fe,marginBottom:fe,lineHeight:`${Ct-Ze.lineWidth*2}px`,background:Ze.multipleItemBg,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.multipleItemBorderColor}`,borderRadius:Ze.borderRadiusSM,cursor:"default",transition:`font-size ${Ze.motionDurationSlow}, line-height ${Ze.motionDurationSlow}, height ${Ze.motionDurationSlow}`,userSelect:"none",marginInlineEnd:fe*2,paddingInlineStart:Ze.paddingXS,paddingInlineEnd:Ze.paddingXS/2,[`${rt}-disabled&`]:{color:Ze.multipleItemColorDisabled,borderColor:Ze.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:Ze.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,he.Ro)()),{display:"inline-flex",alignItems:"center",color:Ze.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ht}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze.colorIconHover}})},[`${dt}-item + ${dt}-item`]:{[`${rt}-selection-search`]:{marginInlineStart:0}},[`${rt}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:Ze.inputPaddingHorizontalBase-Xe,"\n &-input,\n &-mirror\n ":{height:Ct,fontFamily:Ze.fontFamily,lineHeight:`${Ct}px`,transition:`all ${Ze.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${rt}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:Ze.inputPaddingHorizontalBase,insetInlineEnd:Ze.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${Ze.motionDurationSlow}`}}}}var Ne=Ze=>{const{componentCls:et}=Ze,rt=(0,He.TS)(Ze,{controlHeight:Ze.controlHeightSM,multipleSelectItemHeight:Ze.controlHeightXS,borderRadius:Ze.borderRadiusSM,borderRadiusSM:Ze.borderRadiusXS}),ht=(0,He.TS)(Ze,{fontSize:Ze.fontSizeLG,controlHeight:Ze.controlHeightLG,multipleSelectItemHeight:Ze.multipleItemHeightLG,borderRadius:Ze.borderRadiusLG,borderRadiusSM:Ze.borderRadius}),[,dt]=Ke(Ze);return[Be(Ze),Be(rt,"sm"),{[`${et}-multiple${et}-sm`]:{[`${et}-selection-placeholder`]:{insetInline:Ze.controlPaddingHorizontalSM-Ze.lineWidth},[`${et}-selection-search`]:{marginInlineStart:dt}}},Be(ht,"lg")]};function Qe(Ze,et){const{componentCls:rt,inputPaddingHorizontalBase:ht,borderRadius:dt}=Ze,Ct=Ze.controlHeight-Ze.lineWidth*2,Xe=Math.ceil(Ze.fontSize*1.25),Lt=et?`${rt}-${et}`:"";return{[`${rt}-single${Lt}`]:{fontSize:Ze.fontSize,[`${rt}-selector`]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{display:"flex",borderRadius:dt,[`${rt}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ht,insetInlineEnd:ht,bottom:0,"&-input":{width:"100%"}},[` ${rt}-selection-item, ${rt}-selection-placeholder `]:{padding:0,lineHeight:`${Ct}px`,transition:`all ${Ze.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Ct}px`}},[`${rt}-selection-item`]:{position:"relative",userSelect:"none"},[`${rt}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${rt}-selection-item:after`,`${rt}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${rt}-show-arrow ${rt}-selection-item, &${rt}-show-arrow ${rt}-selection-placeholder `]:{paddingInlineEnd:Xe},[`&${rt}-open ${rt}-selection-item`]:{color:Ze.colorTextPlaceholder},[`&:not(${rt}-customize-input)`]:{[`${rt}-selector`]:{width:"100%",height:Ze.controlHeight,padding:`0 ${ht}px`,[`${rt}-selection-search-input`]:{height:Ct},"&:after":{lineHeight:`${Ct}px`}}},[`&${rt}-customize-input`]:{[`${rt}-selector`]:{"&:after":{display:"none"},[`${rt}-selection-search`]:{position:"static",width:"100%"},[`${rt}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ht}px`,"&:after":{display:"none"}}}}}}}function ke(Ze){const{componentCls:et}=Ze,rt=Ze.controlPaddingHorizontalSM-Ze.lineWidth;return[Qe(Ze),Qe((0,He.TS)(Ze,{controlHeight:Ze.controlHeightSM,borderRadius:Ze.borderRadiusSM}),"sm"),{[`${et}-single${et}-sm`]:{[`&:not(${et}-customize-input)`]:{[`${et}-selection-search`]:{insetInlineStart:rt,insetInlineEnd:rt},[`${et}-selector`]:{padding:`0 ${rt}px`},[`&${et}-show-arrow ${et}-selection-search`]:{insetInlineEnd:rt+Ze.fontSize*1.5},[` &${et}-show-arrow ${et}-selection-item, &${et}-show-arrow ${et}-selection-placeholder `]:{paddingInlineEnd:Ze.fontSize*1.5}}}},Qe((0,He.TS)(Ze,{controlHeight:Ze.singleItemHeightLG,fontSize:Ze.fontSizeLG,borderRadius:Ze.borderRadiusLG}),"lg")]}const Pe=Ze=>{const{componentCls:et,selectorBg:rt}=Ze;return{position:"relative",backgroundColor:rt,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorBorder}`,transition:`all ${Ze.motionDurationMid} ${Ze.motionEaseInOut}`,input:{cursor:"pointer"},[`${et}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${et}-disabled&`]:{color:Ze.colorTextDisabled,background:Ze.colorBgContainerDisabled,cursor:"not-allowed",[`${et}-multiple&`]:{background:Ze.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Te=function(Ze,et){let rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ht,borderHoverColor:dt,outlineColor:Ct,antCls:Xe}=et,Lt=rt?{[`${ht}-selector`]:{borderColor:dt}}:{};return{[Ze]:{[`&:not(${ht}-disabled):not(${ht}-customize-input):not(${Xe}-pagination-size-changer)`]:Object.assign(Object.assign({},Lt),{[`${ht}-focused& ${ht}-selector`]:{borderColor:dt,boxShadow:`0 0 0 ${et.controlOutlineWidth}px ${Ct}`,outline:0},[`&:hover ${ht}-selector`]:{borderColor:dt}})}}},Ye=Ze=>{const{componentCls:et}=Ze;return{[`${et}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ze=Ze=>{const{componentCls:et,inputPaddingHorizontalBase:rt,iconCls:ht}=Ze;return{[et]:Object.assign(Object.assign({},(0,he.Wf)(Ze)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${et}-customize-input) ${et}-selector`]:Object.assign(Object.assign({},Pe(Ze)),Ye(Ze)),[`${et}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},he.vS),[`${et}-selection-placeholder`]:Object.assign(Object.assign({},he.vS),{flex:1,color:Ze.colorTextPlaceholder,pointerEvents:"none"}),[`${et}-arrow`]:Object.assign(Object.assign({},(0,he.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:rt,height:Ze.fontSizeIcon,marginTop:-Ze.fontSizeIcon/2,color:Ze.colorTextQuaternary,fontSize:Ze.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ht]:{verticalAlign:"top",transition:`transform ${Ze.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${et}-suffix)`]:{pointerEvents:"auto"}},[`${et}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${et}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:rt,zIndex:1,display:"inline-block",width:Ze.fontSizeIcon,height:Ze.fontSizeIcon,marginTop:-Ze.fontSizeIcon/2,color:Ze.colorTextQuaternary,fontSize:Ze.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:Ze.clearBg,cursor:"pointer",opacity:0,transition:`color ${Ze.motionDurationMid} ease, opacity ${Ze.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Ze.colorTextTertiary}},"&:hover":{[`${et}-clear`]:{opacity:1}}}),[`${et}-has-feedback`]:{[`${et}-clear`]:{insetInlineEnd:rt+Ze.fontSize+Ze.paddingXS}}}},qe=Ze=>{const{componentCls:et}=Ze;return[{[et]:{[`&-borderless ${et}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${et}-in-form-item`]:{width:"100%"}}},ze(Ze),ke(Ze),Ne(Ze),xe(Ze),{[`${et}-rtl`]:{direction:"rtl"}},Te(et,(0,He.TS)(Ze,{borderHoverColor:Ze.colorPrimaryHover,outlineColor:Ze.controlOutline})),Te(`${et}-status-error`,(0,He.TS)(Ze,{borderHoverColor:Ze.colorErrorHover,outlineColor:Ze.colorErrorOutline}),!0),Te(`${et}-status-warning`,(0,He.TS)(Ze,{borderHoverColor:Ze.colorWarningHover,outlineColor:Ze.colorWarningOutline}),!0),(0,Me.c)(Ze,{borderElCls:`${et}-selector`,focusElCls:`${et}-focused`})]};var We=(0,ft.Z)("Select",(Ze,et)=>{let{rootPrefixCls:rt}=et;const ht=(0,He.TS)(Ze,{rootPrefixCls:rt,inputPaddingHorizontalBase:Ze.paddingSM-1,multipleSelectItemHeight:Ze.multipleItemHeight});return[qe(ht)]},Ze=>{const{fontSize:et,lineHeight:rt,controlHeight:ht,controlPaddingHorizontal:dt,zIndexPopupBase:Ct,colorText:Xe,fontWeightStrong:Lt,controlItemBgActive:Re,controlItemBgHover:Ht,colorBgContainer:Et,colorFillSecondary:bt,controlHeightLG:Tt,controlHeightSM:wt,colorBgContainerDisabled:it,colorTextDisabled:Ue}=Ze;return{zIndexPopup:Ct+50,optionSelectedColor:Xe,optionSelectedFontWeight:Lt,optionSelectedBg:Re,optionActiveBg:Ht,optionPadding:`${(ht-et*rt)/2}px ${dt}px`,optionFontSize:et,optionLineHeight:rt,optionHeight:ht,selectorBg:Et,clearBg:Et,singleItemHeightLG:Tt,multipleItemBg:bt,multipleItemBorderColor:"transparent",multipleItemHeight:wt,multipleItemHeightLG:ht,multipleSelectorBgDisabled:it,multipleItemColorDisabled:Ue,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Me}});const he=He=>{const Oe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:He==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Oe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Oe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Oe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Oe),{points:["br","tr"],offset:[0,-4]})}};function Me(He,ft){return He||he(ft)}},84443:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return he}});function he(Me,He){return He!==void 0?He:Me!==null}},66339:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Ae}});var he=de(40001),Me=de(19248),He=de(99267),ft=de(84105),Oe=de(58617),Le=de(47472),ve=de(59301);function Ae(xe){let{suffixIcon:fe,clearIcon:Ke,menuItemSelectedIcon:Be,removeIcon:_e,loading:Ne,multiple:Qe,hasFeedback:ke,prefixCls:Pe,showSuffixIcon:Te,feedbackIcon:Ye,showArrow:ze,componentName:qe}=xe;const We=Ke!=null?Ke:ve.createElement(Me.Z,null),Ze=dt=>fe===null&&!ke&&!ze?null:ve.createElement(ve.Fragment,null,Te!==!1&&dt,ke&&Ye);let et=null;if(fe!==void 0)et=Ze(fe);else if(Ne)et=Ze(ve.createElement(Oe.Z,{spin:!0}));else{const dt=`${Pe}-suffix`;et=Ct=>{let{open:Xe,showSearch:Lt}=Ct;return Ze(Xe&&Lt?ve.createElement(Le.Z,{className:dt}):ve.createElement(ft.Z,{className:dt}))}}let rt=null;Be!==void 0?rt=Be:Qe?rt=ve.createElement(he.Z,null):rt=null;let ht=null;return _e!==void 0?ht=_e:ht=ve.createElement(He.Z,null),{clearIcon:We,suffixIcon:et,itemIcon:rt,removeIcon:ht}}},61621:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return ae}});var he=de(92310),Me=de.n(he),He=de(59301),ft=de(36355),Oe=de(2738),ve=se=>{const{prefixCls:oe,className:Je,style:vt,size:$e,shape:lt}=se,Pt=Me()({[`${oe}-lg`]:$e==="large",[`${oe}-sm`]:$e==="small"}),_t=Me()({[`${oe}-circle`]:lt==="circle",[`${oe}-square`]:lt==="square",[`${oe}-round`]:lt==="round"}),kt=He.useMemo(()=>typeof $e=="number"?{width:$e,height:$e,lineHeight:`${$e}px`}:{},[$e]);return He.createElement("span",{className:Me()(oe,Pt,_t,Je),style:Object.assign(Object.assign({},kt),vt)})},Ae=de(36237),xe=de(83116),fe=de(37613);const Ke=new Ae.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Be=se=>({height:se,lineHeight:`${se}px`}),_e=se=>Object.assign({width:se},Be(se)),Ne=se=>({background:se.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ke,animationDuration:se.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Qe=se=>Object.assign({width:se*5,minWidth:se*5},Be(se)),ke=se=>{const{skeletonAvatarCls:oe,gradientFromColor:Je,controlHeight:vt,controlHeightLG:$e,controlHeightSM:lt}=se;return{[`${oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je},_e(vt)),[`${oe}${oe}-circle`]:{borderRadius:"50%"},[`${oe}${oe}-lg`]:Object.assign({},_e($e)),[`${oe}${oe}-sm`]:Object.assign({},_e(lt))}},Pe=se=>{const{controlHeight:oe,borderRadiusSM:Je,skeletonInputCls:vt,controlHeightLG:$e,controlHeightSM:lt,gradientFromColor:Pt}=se;return{[`${vt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:Je},Qe(oe)),[`${vt}-lg`]:Object.assign({},Qe($e)),[`${vt}-sm`]:Object.assign({},Qe(lt))}},Te=se=>Object.assign({width:se},Be(se)),Ye=se=>{const{skeletonImageCls:oe,imageSizeBase:Je,gradientFromColor:vt,borderRadiusSM:$e}=se;return{[`${oe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:vt,borderRadius:$e},Te(Je*2)),{[`${oe}-path`]:{fill:"#bfbfbf"},[`${oe}-svg`]:Object.assign(Object.assign({},Te(Je)),{maxWidth:Je*4,maxHeight:Je*4}),[`${oe}-svg${oe}-svg-circle`]:{borderRadius:"50%"}}),[`${oe}${oe}-circle`]:{borderRadius:"50%"}}},ze=(se,oe,Je)=>{const{skeletonButtonCls:vt}=se;return{[`${Je}${vt}-circle`]:{width:oe,minWidth:oe,borderRadius:"50%"},[`${Je}${vt}-round`]:{borderRadius:oe}}},qe=se=>Object.assign({width:se*2,minWidth:se*2},Be(se)),We=se=>{const{borderRadiusSM:oe,skeletonButtonCls:Je,controlHeight:vt,controlHeightLG:$e,controlHeightSM:lt,gradientFromColor:Pt}=se;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:oe,width:vt*2,minWidth:vt*2},qe(vt))},ze(se,vt,Je)),{[`${Je}-lg`]:Object.assign({},qe($e))}),ze(se,$e,`${Je}-lg`)),{[`${Je}-sm`]:Object.assign({},qe(lt))}),ze(se,lt,`${Je}-sm`))},Ze=se=>{const{componentCls:oe,skeletonAvatarCls:Je,skeletonTitleCls:vt,skeletonParagraphCls:$e,skeletonButtonCls:lt,skeletonInputCls:Pt,skeletonImageCls:_t,controlHeight:kt,controlHeightLG:$t,controlHeightSM:Sn,gradientFromColor:St,padding:nn,marginSM:tn,borderRadius:jt,titleHeight:pt,blockRadius:Zt,paragraphLiHeight:gn,controlHeightXS:wn,paragraphMarginTop:Xn}=se;return{[`${oe}`]:{display:"table",width:"100%",[`${oe}-header`]:{display:"table-cell",paddingInlineEnd:nn,verticalAlign:"top",[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St},_e(kt)),[`${Je}-circle`]:{borderRadius:"50%"},[`${Je}-lg`]:Object.assign({},_e($t)),[`${Je}-sm`]:Object.assign({},_e(Sn))},[`${oe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${vt}`]:{width:"100%",height:pt,background:St,borderRadius:Zt,[`+ ${$e}`]:{marginBlockStart:Sn}},[`${$e}`]:{padding:0,"> li":{width:"100%",height:gn,listStyle:"none",background:St,borderRadius:Zt,"+ li":{marginBlockStart:wn}}},[`${$e}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${oe}-content`]:{[`${vt}, ${$e} > li`]:{borderRadius:jt}}},[`${oe}-with-avatar ${oe}-content`]:{[`${vt}`]:{marginBlockStart:tn,[`+ ${$e}`]:{marginBlockStart:Xn}}},[`${oe}${oe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},We(se)),ke(se)),Pe(se)),Ye(se)),[`${oe}${oe}-block`]:{width:"100%",[`${lt}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${oe}${oe}-active`]:{[` ${vt}, ${$e} > li, ${Je}, ${lt}, ${Pt}, ${_t} `]:Object.assign({},Ne(se))}}};var et=(0,xe.Z)("Skeleton",se=>{const{componentCls:oe}=se,Je=(0,fe.TS)(se,{skeletonAvatarCls:`${oe}-avatar`,skeletonTitleCls:`${oe}-title`,skeletonParagraphCls:`${oe}-paragraph`,skeletonButtonCls:`${oe}-button`,skeletonInputCls:`${oe}-input`,skeletonImageCls:`${oe}-image`,imageSizeBase:se.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${se.gradientFromColor} 25%, ${se.gradientToColor} 37%, ${se.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Ze(Je)]},se=>{const{colorFillContent:oe,colorFill:Je}=se,vt=oe,$e=Je;return{color:vt,colorGradientEnd:$e,gradientFromColor:vt,gradientToColor:$e,titleHeight:se.controlHeight/2,blockRadius:se.borderRadiusSM,paragraphMarginTop:se.marginLG+se.marginXXS,paragraphLiHeight:se.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ht=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,active:$e,shape:lt="circle",size:Pt="default"}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=(0,Oe.Z)(se,["prefixCls","className"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:$e},Je,vt,Sn);return $t(He.createElement("div",{className:nn},He.createElement(ve,Object.assign({prefixCls:`${kt}-avatar`,shape:lt,size:Pt},St))))},Ct=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,active:$e,block:lt=!1,size:Pt="default"}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=(0,Oe.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:$e,[`${kt}-block`]:lt},Je,vt,Sn);return $t(He.createElement("div",{className:nn},He.createElement(ve,Object.assign({prefixCls:`${kt}-button`,size:Pt},St))))};const Xe="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 Re=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,style:$e,active:lt}=se,{getPrefixCls:Pt}=He.useContext(ft.E_),_t=Pt("skeleton",oe),[kt,$t]=et(_t),Sn=Me()(_t,`${_t}-element`,{[`${_t}-active`]:lt},Je,vt,$t);return kt(He.createElement("div",{className:Sn},He.createElement("div",{className:Me()(`${_t}-image`,Je),style:$e},He.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${_t}-image-svg`},He.createElement("path",{d:Xe,className:`${_t}-image-path`})))))},Et=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,active:$e,block:lt,size:Pt="default"}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=(0,Oe.Z)(se,["prefixCls"]),nn=Me()(kt,`${kt}-element`,{[`${kt}-active`]:$e,[`${kt}-block`]:lt},Je,vt,Sn);return $t(He.createElement("div",{className:nn},He.createElement(ve,Object.assign({prefixCls:`${kt}-input`,size:Pt},St))))},bt=de(60499),Tt={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"},wt=Tt,it=de(7657),Ue=function(oe,Je){return He.createElement(it.Z,(0,bt.Z)({},oe,{ref:Je,icon:wt}))},at=He.forwardRef(Ue),Xt=at,xt=se=>{const{prefixCls:oe,className:Je,rootClassName:vt,style:$e,active:lt,children:Pt}=se,{getPrefixCls:_t}=He.useContext(ft.E_),kt=_t("skeleton",oe),[$t,Sn]=et(kt),St=Me()(kt,`${kt}-element`,{[`${kt}-active`]:lt},Sn,Je,vt),nn=Pt!=null?Pt:He.createElement(Xt,null);return $t(He.createElement("div",{className:St},He.createElement("div",{className:Me()(`${kt}-image`,Je),style:$e},nn)))},Qt=de(77654),Tn=se=>{const oe=_t=>{const{width:kt,rows:$t=2}=se;if(Array.isArray(kt))return kt[_t];if($t-1===_t)return kt},{prefixCls:Je,className:vt,style:$e,rows:lt}=se,Pt=(0,Qt.Z)(Array(lt)).map((_t,kt)=>He.createElement("li",{key:kt,style:{width:oe(kt)}}));return He.createElement("ul",{className:Me()(Je,vt),style:$e},Pt)},Gn=se=>{let{prefixCls:oe,className:Je,width:vt,style:$e}=se;return He.createElement("h3",{className:Me()(oe,Je),style:Object.assign({width:vt},$e)})};function Cn(se){return se&&typeof se=="object"?se:{}}function mn(se,oe){return se&&!oe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Bn(se,oe){return!se&&oe?{width:"38%"}:se&&oe?{width:"50%"}:{}}function Se(se,oe){const Je={};return(!se||!oe)&&(Je.width="61%"),!se&&oe?Je.rows=3:Je.rows=2,Je}const Fe=se=>{const{prefixCls:oe,loading:Je,className:vt,rootClassName:$e,style:lt,children:Pt,avatar:_t=!1,title:kt=!0,paragraph:$t=!0,active:Sn,round:St}=se,{getPrefixCls:nn,direction:tn,skeleton:jt}=He.useContext(ft.E_),pt=nn("skeleton",oe),[Zt,gn]=et(pt);if(Je||!("loading"in se)){const wn=!!_t,Xn=!!kt,yr=!!$t;let Dr;if(wn){const Sr=Object.assign(Object.assign({prefixCls:`${pt}-avatar`},mn(Xn,yr)),Cn(_t));Dr=He.createElement("div",{className:`${pt}-header`},He.createElement(ve,Object.assign({},Sr)))}let Tr;if(Xn||yr){let Sr;if(Xn){const Vr=Object.assign(Object.assign({prefixCls:`${pt}-title`},Bn(wn,yr)),Cn(kt));Sr=He.createElement(Gn,Object.assign({},Vr))}let fr;if(yr){const Vr=Object.assign(Object.assign({prefixCls:`${pt}-paragraph`},Se(wn,Xn)),Cn($t));fr=He.createElement(Tn,Object.assign({},Vr))}Tr=He.createElement("div",{className:`${pt}-content`},Sr,fr)}const Rr=Me()(pt,{[`${pt}-with-avatar`]:wn,[`${pt}-active`]:Sn,[`${pt}-rtl`]:tn==="rtl",[`${pt}-round`]:St},jt==null?void 0:jt.className,vt,$e,gn);return Zt(He.createElement("div",{className:Rr,style:Object.assign(Object.assign({},jt==null?void 0:jt.style),lt)},Dr,Tr))}return typeof Pt!="undefined"?Pt:null};Fe.Button=Ct,Fe.Avatar=ht,Fe.Input=Et,Fe.Image=Re,Fe.Node=xt;var ie=Fe,ae=ie},31797:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return et}});var he=de(59301),Me=de(56762),He=de(92343),ft=de(92310),Oe=de.n(ft),Le=de(36355),ve=de(61621),xe=rt=>{const{value:ht,formatter:dt,precision:Ct,decimalSeparator:Xe,groupSeparator:Lt="",prefixCls:Re}=rt;let Ht;if(typeof dt=="function")Ht=dt(ht);else{const Et=String(ht),bt=Et.match(/^(-?)(\d*)(\.(\d+))?$/);if(!bt||Et==="-")Ht=Et;else{const Tt=bt[1];let wt=bt[2]||"0",it=bt[4]||"";wt=wt.replace(/\B(?=(\d{3})+(?!\d))/g,Lt),typeof Ct=="number"&&(it=it.padEnd(Ct,"0").slice(0,Ct>0?Ct:0)),it&&(it=`${Xe}${it}`),Ht=[he.createElement("span",{key:"int",className:`${Re}-content-value-int`},Tt,wt),it&&he.createElement("span",{key:"decimal",className:`${Re}-content-value-decimal`},it)]}}return he.createElement("span",{className:`${Re}-content-value`},Ht)},fe=de(17313),Ke=de(83116),Be=de(37613);const _e=rt=>{const{componentCls:ht,marginXXS:dt,padding:Ct,colorTextDescription:Xe,titleFontSize:Lt,colorTextHeading:Re,contentFontSize:Ht,fontFamily:Et}=rt;return{[`${ht}`]:Object.assign(Object.assign({},(0,fe.Wf)(rt)),{[`${ht}-title`]:{marginBottom:dt,color:Xe,fontSize:Lt},[`${ht}-skeleton`]:{paddingTop:Ct},[`${ht}-content`]:{color:Re,fontSize:Ht,fontFamily:Et,[`${ht}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ht}-content-prefix, ${ht}-content-suffix`]:{display:"inline-block"},[`${ht}-content-prefix`]:{marginInlineEnd:dt},[`${ht}-content-suffix`]:{marginInlineStart:dt}}})}};var Ne=(0,Ke.Z)("Statistic",rt=>{const ht=(0,Be.TS)(rt,{});return[_e(ht)]},rt=>{const{fontSizeHeading3:ht,fontSize:dt}=rt;return{titleFontSize:dt,contentFontSize:ht}}),ke=rt=>{const{prefixCls:ht,className:dt,rootClassName:Ct,style:Xe,valueStyle:Lt,value:Re=0,title:Ht,valueRender:Et,prefix:bt,suffix:Tt,loading:wt=!1,onMouseEnter:it,onMouseLeave:Ue,decimalSeparator:at=".",groupSeparator:Xt=","}=rt,{getPrefixCls:Vt,direction:xt,statistic:Qt}=he.useContext(Le.E_),An=Vt("statistic",ht),[Tn,dn]=Ne(An),Gn=he.createElement(xe,Object.assign({decimalSeparator:at,groupSeparator:Xt,prefixCls:An},rt,{value:Re})),Cn=Oe()(An,{[`${An}-rtl`]:xt==="rtl"},Qt==null?void 0:Qt.className,dt,Ct,dn);return Tn(he.createElement("div",{className:Cn,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Xe),onMouseEnter:it,onMouseLeave:Ue},Ht&&he.createElement("div",{className:`${An}-title`},Ht),he.createElement(ve.Z,{paragraph:!1,loading:wt,className:`${An}-skeleton`},he.createElement("div",{style:Lt,className:`${An}-content`},bt&&he.createElement("span",{className:`${An}-content-prefix`},bt),Et?Et(Gn):Gn,Tt&&he.createElement("span",{className:`${An}-content-suffix`},Tt)))))};const Pe=[["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 Te(rt,ht){let dt=rt;const Ct=/\[[^\]]*]/g,Xe=(ht.match(Ct)||[]).map(Et=>Et.slice(1,-1)),Lt=ht.replace(Ct,"[]"),Re=Pe.reduce((Et,bt)=>{let[Tt,wt]=bt;if(Et.includes(Tt)){const it=Math.floor(dt/wt);return dt-=it*wt,Et.replace(new RegExp(`${Tt}+`,"g"),Ue=>{const at=Ue.length;return it.toString().padStart(at,"0")})}return Et},Lt);let Ht=0;return Re.replace(Ct,()=>{const Et=Xe[Ht];return Ht+=1,Et})}function Ye(rt,ht){const{format:dt=""}=ht,Ct=new Date(rt).getTime(),Xe=Date.now(),Lt=Math.max(Ct-Xe,0);return Te(Lt,dt)}const ze=1e3/30;function qe(rt){return new Date(rt).getTime()}const We=rt=>{const{value:ht,format:dt="HH:mm:ss",onChange:Ct,onFinish:Xe}=rt,Lt=(0,Me.Z)(),Re=he.useRef(null),Ht=()=>{Xe==null||Xe(),Re.current&&(clearInterval(Re.current),Re.current=null)},Et=()=>{const wt=qe(ht);wt>=Date.now()&&(Re.current=setInterval(()=>{Lt(),Ct==null||Ct(wt-Date.now()),wt(Et(),()=>{Re.current&&(clearInterval(Re.current),Re.current=null)}),[ht]);const bt=(wt,it)=>Ye(wt,Object.assign(Object.assign({},it),{format:dt})),Tt=wt=>(0,He.Tm)(wt,{title:void 0});return he.createElement(ke,Object.assign({},rt,{valueRender:Tt,formatter:bt}))};var Ze=he.memo(We);ke.Countdown=Ze;var et=ke},8378:function(Qn,Yt){"use strict";const de=he=>({[he.componentCls]:{[`${he.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${he.motionDurationMid} ${he.motionEaseInOut}, opacity ${he.motionDurationMid} ${he.motionEaseInOut} !important`}},[`${he.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${he.motionDurationMid} ${he.motionEaseInOut}, opacity ${he.motionDurationMid} ${he.motionEaseInOut} !important`}}});Yt.Z=de},92899:function(Qn,Yt,de){"use strict";de.d(Yt,{Fm:function(){return Be}});var he=de(36237),Me=de(95406);const He=new he.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ft=new he.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Oe=new he.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Le=new he.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ve=new he.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ae=new he.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),xe=new he.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),fe=new he.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Ke={"move-up":{inKeyframes:xe,outKeyframes:fe},"move-down":{inKeyframes:He,outKeyframes:ft},"move-left":{inKeyframes:Oe,outKeyframes:Le},"move-right":{inKeyframes:ve,outKeyframes:Ae}},Be=(_e,Ne)=>{const{antCls:Qe}=_e,ke=`${Qe}-${Ne}`,{inKeyframes:Pe,outKeyframes:Te}=Ke[Ne];return[(0,Me.R)(ke,Pe,Te,_e.motionDurationMid),{[` ${ke}-enter, ${ke}-appear `]:{opacity:0,animationTimingFunction:_e.motionEaseOutCirc},[`${ke}-leave`]:{animationTimingFunction:_e.motionEaseInOutCirc}}]}},13826:function(Qn,Yt,de){"use strict";de.d(Yt,{Qt:function(){return Oe},Uw:function(){return ft},fJ:function(){return He},ly:function(){return Le},oN:function(){return Be}});var he=de(36237),Me=de(95406);const He=new he.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ft=new he.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Oe=new he.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Le=new he.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ve=new he.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Ae=new he.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),xe=new he.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),fe=new he.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Ke={"slide-up":{inKeyframes:He,outKeyframes:ft},"slide-down":{inKeyframes:Oe,outKeyframes:Le},"slide-left":{inKeyframes:ve,outKeyframes:Ae},"slide-right":{inKeyframes:xe,outKeyframes:fe}},Be=(_e,Ne)=>{const{antCls:Qe}=_e,ke=`${Qe}-${Ne}`,{inKeyframes:Pe,outKeyframes:Te}=Ke[Ne];return[(0,Me.R)(ke,Pe,Te,_e.motionDurationMid),{[` ${ke}-enter, ${ke}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:_e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${ke}-leave`]:{animationTimingFunction:_e.motionEaseInQuint}}]}},15969:function(Qn,Yt,de){"use strict";de.d(Yt,{N:function(){return he}});const he=Me=>({color:Me.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Me.motionDurationSlow}`,"&:focus, &:hover":{color:Me.colorLinkHover},"&:active":{color:Me.colorLinkActive}})},78673:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Lt}});var he=de(58617),Me=de(92310),He=de.n(Me),ft=de(60499),Oe=de(18642),Le=de(72190),ve=de(42244),Ae=de(59301),xe=de(18929),fe=de(10228),Ke=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Be=Ae.forwardRef(function(Re,Ht){var Et,bt=Re.prefixCls,Tt=bt===void 0?"rc-switch":bt,wt=Re.className,it=Re.checked,Ue=Re.defaultChecked,at=Re.disabled,Xt=Re.loadingIcon,Vt=Re.checkedChildren,xt=Re.unCheckedChildren,Qt=Re.onClick,An=Re.onChange,Tn=Re.onKeyDown,dn=(0,ve.Z)(Re,Ke),Gn=(0,xe.Z)(!1,{value:it,defaultValue:Ue}),Cn=(0,Le.Z)(Gn,2),mn=Cn[0],Bn=Cn[1];function Se(se,oe){var Je=mn;return at||(Je=se,Bn(Je),An==null||An(Je,oe)),Je}function Fe(se){se.which===fe.Z.LEFT?Se(!1,se):se.which===fe.Z.RIGHT&&Se(!0,se),Tn==null||Tn(se)}function ie(se){var oe=Se(!mn,se);Qt==null||Qt(oe,se)}var ae=He()(Tt,wt,(Et={},(0,Oe.Z)(Et,"".concat(Tt,"-checked"),mn),(0,Oe.Z)(Et,"".concat(Tt,"-disabled"),at),Et));return Ae.createElement("button",(0,ft.Z)({},dn,{type:"button",role:"switch","aria-checked":mn,disabled:at,className:ae,ref:Ht,onKeyDown:Fe,onClick:ie}),Xt,Ae.createElement("span",{className:"".concat(Tt,"-inner")},Ae.createElement("span",{className:"".concat(Tt,"-inner-checked")},Vt),Ae.createElement("span",{className:"".concat(Tt,"-inner-unchecked")},xt)))});Be.displayName="Switch";var _e=Be,Ne=de(14088),Qe=de(36355),ke=de(1684),Pe=de(19716),Te=de(64993),Ye=de(17313),ze=de(83116),qe=de(37613);const We=Re=>{const{componentCls:Ht,trackHeightSM:Et,trackPadding:bt,trackMinWidthSM:Tt,innerMinMarginSM:wt,innerMaxMarginSM:it,handleSizeSM:Ue}=Re,at=`${Ht}-inner`;return{[Ht]:{[`&${Ht}-small`]:{minWidth:Tt,height:Et,lineHeight:`${Et}px`,[`${Ht}-inner`]:{paddingInlineStart:it,paddingInlineEnd:wt,[`${at}-checked`]:{marginInlineStart:`calc(-100% + ${Ue+bt*2}px - ${it*2}px)`,marginInlineEnd:`calc(100% - ${Ue+bt*2}px + ${it*2}px)`},[`${at}-unchecked`]:{marginTop:-Et,marginInlineStart:0,marginInlineEnd:0}},[`${Ht}-handle`]:{width:Ue,height:Ue},[`${Ht}-loading-icon`]:{top:(Ue-Re.switchLoadingIconSize)/2,fontSize:Re.switchLoadingIconSize},[`&${Ht}-checked`]:{[`${Ht}-inner`]:{paddingInlineStart:wt,paddingInlineEnd:it,[`${at}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${at}-unchecked`]:{marginInlineStart:`calc(100% - ${Ue+bt*2}px + ${it*2}px)`,marginInlineEnd:`calc(-100% + ${Ue+bt*2}px - ${it*2}px)`}},[`${Ht}-handle`]:{insetInlineStart:`calc(100% - ${Ue+bt}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${at}`]:{[`${at}-unchecked`]:{marginInlineStart:Re.marginXXS/2,marginInlineEnd:-Re.marginXXS/2}},[`&${Ht}-checked ${at}`]:{[`${at}-checked`]:{marginInlineStart:-Re.marginXXS/2,marginInlineEnd:Re.marginXXS/2}}}}}}},Ze=Re=>{const{componentCls:Ht,handleSize:Et}=Re;return{[Ht]:{[`${Ht}-loading-icon${Re.iconCls}`]:{position:"relative",top:(Et-Re.fontSize)/2,color:Re.switchLoadingIconColor,verticalAlign:"top"},[`&${Ht}-checked ${Ht}-loading-icon`]:{color:Re.switchColor}}}},et=Re=>{const{componentCls:Ht,motion:Et,trackPadding:bt,handleBg:Tt,handleShadow:wt,handleSize:it}=Re,Ue=`${Ht}-handle`;return{[Ht]:{[Ue]:{position:"absolute",top:bt,insetInlineStart:bt,width:it,height:it,transition:`all ${Re.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Tt,borderRadius:it/2,boxShadow:wt,transition:`all ${Re.switchDuration} ease-in-out`,content:'""'}},[`&${Ht}-checked ${Ue}`]:{insetInlineStart:`calc(100% - ${it+bt}px)`},[`&:not(${Ht}-disabled):active`]:Et?{[`${Ue}::before`]:{insetInlineEnd:Re.switchHandleActiveInset,insetInlineStart:0},[`&${Ht}-checked ${Ue}::before`]:{insetInlineEnd:0,insetInlineStart:Re.switchHandleActiveInset}}:{}}}},rt=Re=>{const{componentCls:Ht,trackHeight:Et,trackPadding:bt,innerMinMargin:Tt,innerMaxMargin:wt,handleSize:it}=Re,Ue=`${Ht}-inner`;return{[Ht]:{[Ue]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:wt,paddingInlineEnd:Tt,transition:`padding-inline-start ${Re.switchDuration} ease-in-out, padding-inline-end ${Re.switchDuration} ease-in-out`,[`${Ue}-checked, ${Ue}-unchecked`]:{display:"block",color:Re.colorTextLightSolid,fontSize:Re.fontSizeSM,transition:`margin-inline-start ${Re.switchDuration} ease-in-out, margin-inline-end ${Re.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Ue}-checked`]:{marginInlineStart:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`,marginInlineEnd:`calc(100% - ${it+bt*2}px + ${wt*2}px)`},[`${Ue}-unchecked`]:{marginTop:-Et,marginInlineStart:0,marginInlineEnd:0}},[`&${Ht}-checked ${Ue}`]:{paddingInlineStart:Tt,paddingInlineEnd:wt,[`${Ue}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ue}-unchecked`]:{marginInlineStart:`calc(100% - ${it+bt*2}px + ${wt*2}px)`,marginInlineEnd:`calc(-100% + ${it+bt*2}px - ${wt*2}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${Ue}`]:{[`${Ue}-unchecked`]:{marginInlineStart:bt*2,marginInlineEnd:-bt*2}},[`&${Ht}-checked ${Ue}`]:{[`${Ue}-checked`]:{marginInlineStart:-bt*2,marginInlineEnd:bt*2}}}}}},ht=Re=>{const{componentCls:Ht,trackHeight:Et,trackMinWidth:bt}=Re;return{[Ht]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(Re)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:bt,height:Et,lineHeight:`${Et}px`,verticalAlign:"middle",background:Re.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ht}-disabled)`]:{background:Re.colorTextTertiary}}),(0,Ye.Qy)(Re)),{[`&${Ht}-checked`]:{background:Re.switchColor,[`&:hover:not(${Ht}-disabled)`]:{background:Re.colorPrimaryHover}},[`&${Ht}-loading, &${Ht}-disabled`]:{cursor:"not-allowed",opacity:Re.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ht}-rtl`]:{direction:"rtl"}})}};var dt=(0,ze.Z)("Switch",Re=>{const Ht=(0,qe.TS)(Re,{switchDuration:Re.motionDurationMid,switchColor:Re.colorPrimary,switchDisabledOpacity:Re.opacityLoading,switchLoadingIconSize:Re.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Re.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ht(Ht),rt(Ht),et(Ht),Ze(Ht),We(Ht)]},Re=>{const{fontSize:Ht,lineHeight:Et,controlHeight:bt,colorWhite:Tt}=Re,wt=Ht*Et,it=bt/2,Ue=2,at=wt-Ue*2,Xt=it-Ue*2;return{trackHeight:wt,trackHeightSM:it,trackMinWidth:at*2+Ue*4,trackMinWidthSM:Xt*2+Ue*2,trackPadding:Ue,handleBg:Tt,handleSize:at,handleSizeSM:Xt,handleShadow:`0 2px 4px 0 ${new Te.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:at/2,innerMaxMargin:at+Ue+Ue*2,innerMinMarginSM:Xt/2,innerMaxMarginSM:Xt+Ue+Ue*2}}),Ct=function(Re,Ht){var Et={};for(var bt in Re)Object.prototype.hasOwnProperty.call(Re,bt)&&Ht.indexOf(bt)<0&&(Et[bt]=Re[bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,bt=Object.getOwnPropertySymbols(Re);Tt{const{prefixCls:Et,size:bt,disabled:Tt,loading:wt,className:it,rootClassName:Ue,style:at}=Re,Xt=Ct(Re,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Vt,direction:xt,switch:Qt}=Ae.useContext(Qe.E_),An=Ae.useContext(ke.Z),Tn=(Tt!=null?Tt:An)||wt,dn=Vt("switch",Et),Gn=Ae.createElement("div",{className:`${dn}-handle`},wt&&Ae.createElement(he.Z,{className:`${dn}-loading-icon`})),[Cn,mn]=dt(dn),Bn=(0,Pe.Z)(bt),Se=He()(Qt==null?void 0:Qt.className,{[`${dn}-small`]:Bn==="small",[`${dn}-loading`]:wt,[`${dn}-rtl`]:xt==="rtl"},it,Ue,mn),Fe=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),at);return Cn(Ae.createElement(Ne.Z,{component:"Switch"},Ae.createElement(_e,Object.assign({},Xt,{prefixCls:dn,className:Se,style:Fe,disabled:Tn,ref:Ht,loadingIcon:Gn}))))});Xe.__ANT_SWITCH=!0;var Lt=Xe},1710:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return rp}});var he={},Me="rc-table-internal-hook",He=de(72190),ft=de(6089),Oe=de(34280),Le=de(13697),ve=de(59301),Ae=de(4676);function xe(Ot){var Rt=ve.createContext(void 0),fn=function(Jn){var Rn=Jn.value,mr=Jn.children,hr=ve.useRef(Rn);hr.current=Rn;var cr=ve.useState(function(){return{getValue:function(){return hr.current},listeners:new Set}}),Zr=(0,He.Z)(cr,1),hi=Zr[0];return(0,Oe.Z)(function(){(0,Ae.unstable_batchedUpdates)(function(){hi.listeners.forEach(function($r){$r(Rn)})})},[Rn]),ve.createElement(Rt.Provider,{value:hi},mr)};return{Context:Rt,Provider:fn,defaultValue:Ot}}function fe(Ot,Rt){var fn=(0,ft.Z)(typeof Rt=="function"?Rt:function($r){if(Rt===void 0)return $r;if(!Array.isArray(Rt))return $r[Rt];var Yi={};return Rt.forEach(function(Ri){Yi[Ri]=$r[Ri]}),Yi}),En=ve.useContext(Ot==null?void 0:Ot.Context),Jn=En||{},Rn=Jn.listeners,mr=Jn.getValue,hr=ve.useRef();hr.current=fn(En?mr():Ot==null?void 0:Ot.defaultValue);var cr=ve.useState({}),Zr=(0,He.Z)(cr,2),hi=Zr[1];return(0,Oe.Z)(function(){if(!En)return;function $r(Yi){var Ri=fn(Yi);(0,Le.Z)(hr.current,Ri,!0)||hi({})}return Rn.add($r),function(){Rn.delete($r)}},[En]),hr.current}var Ke=de(60499),Be=de(8654);function _e(){var Ot=ve.createContext(null);function Rt(){return ve.useContext(Ot)}function fn(Jn,Rn){var mr=(0,Be.Yr)(Jn),hr=function(Zr,hi){var $r=mr?{ref:hi}:{},Yi=ve.useRef(0),Ri=ve.useRef(Zr),zi=Rt();return zi!==null?ve.createElement(Jn,(0,Ke.Z)({},Zr,$r)):((!Rn||Rn(Ri.current,Zr))&&(Yi.current+=1),Ri.current=Zr,ve.createElement(Ot.Provider,{value:Yi.current},ve.createElement(Jn,(0,Ke.Z)({},Zr,$r))))};return mr?ve.forwardRef(hr):hr}function En(Jn,Rn){var mr=(0,Be.Yr)(Jn),hr=function(Zr,hi){var $r=mr?{ref:hi}:{};return Rt(),ve.createElement(Jn,(0,Ke.Z)({},Zr,$r))};return mr?ve.memo(ve.forwardRef(hr),Rn):ve.memo(hr,Rn)}return{makeImmutable:fn,responseImmutable:En,useImmutableMark:Rt}}var Ne=_e(),Qe=Ne.makeImmutable,ke=Ne.responseImmutable,Pe=Ne.useImmutableMark,Te=_e(),Ye=Te.makeImmutable,ze=Te.responseImmutable,qe=Te.useImmutableMark,We=xe(),Ze=We;function et(Ot,Rt){var fn=ve.useRef(0);fn.current+=1;var En=ve.useRef(Ot),Jn=[];Object.keys(Ot||{}).map(function(mr){var hr;(Ot==null?void 0:Ot[mr])!==((hr=En.current)===null||hr===void 0?void 0:hr[mr])&&Jn.push(mr)}),En.current=Ot;var Rn=ve.useRef([]);return Jn.length&&(Rn.current=Jn),ve.useDebugValue(fn.current),ve.useDebugValue(Rn.current.join(", ")),Rt&&console.log("".concat(Rt,":"),fn.current,Rn.current),fn.current}var rt=null,ht=ve.memo(function(){var Ot=et();return ve.createElement("h1",null,"Render Times: ",Ot)});ht.displayName="RenderBlock";var dt=de(43749),Ct=de(85899),Xe=de(18642),Lt=de(92310),Re=de.n(Lt),Ht=de(80547),Et=de(97938),bt=de(48736),Tt=ve.createContext({renderWithProps:!1}),wt=Tt,it="RC_TABLE_KEY";function Ue(Ot){return Ot==null?[]:Array.isArray(Ot)?Ot:[Ot]}function at(Ot){var Rt=[],fn={};return Ot.forEach(function(En){for(var Jn=En||{},Rn=Jn.key,mr=Jn.dataIndex,hr=Rn||Ue(mr).join("-")||it;fn[hr];)hr="".concat(hr,"_next");fn[hr]=!0,Rt.push(hr)}),Rt}function Xt(Ot){return Ot!=null}function Vt(Ot){return Ot&&(0,dt.Z)(Ot)==="object"&&!Array.isArray(Ot)&&!ve.isValidElement(Ot)}function xt(Ot,Rt,fn,En,Jn,Rn){var mr=ve.useContext(wt),hr=qe(),cr=(0,Ht.Z)(function(){if(Xt(En))return[En];var Zr=Rt==null||Rt===""?[]:Array.isArray(Rt)?Rt:[Rt],hi=(0,Et.Z)(Ot,Zr),$r=hi,Yi=void 0;if(Jn){var Ri=Jn(hi,Ot,fn);Vt(Ri)?($r=Ri.children,Yi=Ri.props,mr.renderWithProps=!0):$r=Ri}return[$r,Yi]},[hr,Ot,En,Rt,Jn,fn],function(Zr,hi){if(Rn){var $r=(0,He.Z)(Zr,2),Yi=$r[1],Ri=(0,He.Z)(hi,2),zi=Ri[1];return Rn(zi,Yi)}return mr.renderWithProps?!0:!(0,Le.Z)(Zr,hi,!0)});return cr}function Qt(Ot,Rt,fn,En){var Jn=Ot+Rt-1;return Ot<=En&&Jn>=fn}function An(Ot,Rt){return fe(Ze,function(fn){var En=Qt(Ot,Rt||1,fn.hoverStartRow,fn.hoverEndRow);return[En,fn.onHover]})}var Tn=function(Rt){var fn=Rt.ellipsis,En=Rt.rowType,Jn=Rt.children,Rn,mr=fn===!0?{showTitle:!0}:fn;return mr&&(mr.showTitle||En==="header")&&(typeof Jn=="string"||typeof Jn=="number"?Rn=Jn.toString():ve.isValidElement(Jn)&&typeof Jn.props.children=="string"&&(Rn=Jn.props.children)),Rn};function dn(Ot){var Rt,fn,En,Jn,Rn,mr,hr,cr,Zr=Ot.component,hi=Ot.children,$r=Ot.ellipsis,Yi=Ot.scope,Ri=Ot.prefixCls,zi=Ot.className,Za=Ot.align,_a=Ot.record,Ra=Ot.render,Da=Ot.dataIndex,ro=Ot.renderIndex,Qo=Ot.shouldCellUpdate,Jo=Ot.index,ko=Ot.rowType,ls=Ot.colSpan,Fs=Ot.rowSpan,Ao=Ot.fixLeft,Po=Ot.fixRight,yo=Ot.firstFixLeft,Ba=Ot.lastFixLeft,Bo=Ot.firstFixRight,ns=Ot.lastFixRight,Ys=Ot.appendNode,rs=Ot.additionalProps,Ga=rs===void 0?{}:rs,ms=Ot.isSticky,Is="".concat(Ri,"-cell"),Rl=fe(Ze,["supportSticky","allColumnsFixedLeft"]),Ml=Rl.supportSticky,Bu=Rl.allColumnsFixedLeft,Su=xt(_a,Da,ro,hi,Ra,Qo),ks=(0,He.Z)(Su,2),oc=ks[0],yl=ks[1],cu={},du=typeof Ao=="number"&&Ml,Fc=typeof Po=="number"&&Ml;du&&(cu.position="sticky",cu.left=Ao),Fc&&(cu.position="sticky",cu.right=Po);var So=(Rt=(fn=(En=yl==null?void 0:yl.colSpan)!==null&&En!==void 0?En:Ga.colSpan)!==null&&fn!==void 0?fn:ls)!==null&&Rt!==void 0?Rt:1,$o=(Jn=(Rn=(mr=yl==null?void 0:yl.rowSpan)!==null&&mr!==void 0?mr:Ga.rowSpan)!==null&&Rn!==void 0?Rn:Fs)!==null&&Jn!==void 0?Jn:1,es=An(Jo,$o),Ro=(0,He.Z)(es,2),Ll=Ro[0],jo=Ro[1],ws=function(to){var Nc;_a&&jo(Jo,Jo+$o-1),Ga==null||(Nc=Ga.onMouseEnter)===null||Nc===void 0||Nc.call(Ga,to)},nl=function(to){var Nc;_a&&jo(-1,-1),Ga==null||(Nc=Ga.onMouseLeave)===null||Nc===void 0||Nc.call(Ga,to)};if(So===0||$o===0)return null;var Al=(hr=Ga.title)!==null&&hr!==void 0?hr:Tn({rowType:ko,ellipsis:$r,children:oc}),qc=Re()(Is,zi,(cr={},(0,Xe.Z)(cr,"".concat(Is,"-fix-left"),du&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-left-first"),yo&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-left-last"),Ba&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-left-all"),Ba&&Bu&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-right"),Fc&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-right-first"),Bo&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-fix-right-last"),ns&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-ellipsis"),$r),(0,Xe.Z)(cr,"".concat(Is,"-with-append"),Ys),(0,Xe.Z)(cr,"".concat(Is,"-fix-sticky"),(du||Fc)&&ms&&Ml),(0,Xe.Z)(cr,"".concat(Is,"-row-hover"),!yl&&Ll),cr),Ga.className,yl==null?void 0:yl.className),Vu={};Za&&(Vu.textAlign=Za);var Pd=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},cu),Ga.style),Vu),yl==null?void 0:yl.style),ec=oc;return(0,dt.Z)(ec)==="object"&&!Array.isArray(ec)&&!ve.isValidElement(ec)&&(ec=null),$r&&(Ba||Bo)&&(ec=ve.createElement("span",{className:"".concat(Is,"-content")},ec)),ve.createElement(Zr,(0,Ke.Z)({},yl,Ga,{className:qc,style:Pd,title:Al,scope:Yi,onMouseEnter:ws,onMouseLeave:nl,colSpan:So!==1?So:null,rowSpan:$o!==1?$o:null}),Ys,ec)}var Gn=ve.memo(dn);function Cn(Ot,Rt,fn,En,Jn,Rn){var mr=fn[Ot]||{},hr=fn[Rt]||{},cr,Zr;mr.fixed==="left"?cr=En.left[Jn==="rtl"?Rt:Ot]:hr.fixed==="right"&&(Zr=En.right[Jn==="rtl"?Ot:Rt]);var hi=!1,$r=!1,Yi=!1,Ri=!1,zi=fn[Rt+1],Za=fn[Ot-1],_a=!(Rn!=null&&Rn.children);if(Jn==="rtl"){if(cr!==void 0){var Ra=Za&&Za.fixed==="left";Ri=!Ra&&_a}else if(Zr!==void 0){var Da=zi&&zi.fixed==="right";Yi=!Da&&_a}}else if(cr!==void 0){var ro=zi&&zi.fixed==="left";hi=!ro&&_a}else if(Zr!==void 0){var Qo=Za&&Za.fixed==="right";$r=!Qo&&_a}return{fixLeft:cr,fixRight:Zr,lastFixLeft:hi,firstFixRight:$r,lastFixRight:Yi,firstFixLeft:Ri,isSticky:En.isSticky}}var mn=ve.createContext({}),Bn=mn;function Se(Ot){var Rt=Ot.className,fn=Ot.index,En=Ot.children,Jn=Ot.colSpan,Rn=Jn===void 0?1:Jn,mr=Ot.rowSpan,hr=Ot.align,cr=fe(Ze,["prefixCls","direction"]),Zr=cr.prefixCls,hi=cr.direction,$r=ve.useContext(Bn),Yi=$r.scrollColumnIndex,Ri=$r.stickyOffsets,zi=$r.flattenColumns,Za=$r.columns,_a=fn+Rn-1,Ra=_a+1===Yi?Rn+1:Rn,Da=Cn(fn,fn+Ra-1,zi,Ri,hi,Za==null?void 0:Za[fn]);return ve.createElement(Gn,(0,Ke.Z)({className:Rt,index:fn,component:"td",prefixCls:Zr,record:null,dataIndex:null,align:hr,colSpan:Ra,rowSpan:mr,render:function(){return En}},Da))}var Fe=de(42244),ie=["children"];function ae(Ot){var Rt=Ot.children,fn=(0,Fe.Z)(Ot,ie);return ve.createElement("tr",fn,Rt)}function se(Ot){var Rt=Ot.children;return Rt}se.Row=ae,se.Cell=Se;var oe=se;function Je(Ot){var Rt=Ot.children,fn=Ot.stickyOffsets,En=Ot.flattenColumns,Jn=Ot.columns,Rn=fe(Ze,"prefixCls"),mr=En.length-1,hr=En[mr],cr=ve.useMemo(function(){return{stickyOffsets:fn,flattenColumns:En,scrollColumnIndex:hr!=null&&hr.scrollbar?mr:null,columns:Jn}},[hr,En,mr,fn,Jn]);return ve.createElement(Bn.Provider,{value:cr},ve.createElement("tfoot",{className:"".concat(Rn,"-summary")},Rt))}var vt=ze(Je),$e=oe,lt=de(70425),Pt=de(29301),_t=de(29194),kt=de(24514),$t=de(75152),Sn=de(26112);function St(Ot,Rt,fn,En,Jn,Rn,mr){Ot.push({record:Rt,indent:fn,index:mr});var hr=Rn(Rt),cr=Jn==null?void 0:Jn.has(hr);if(Rt&&Array.isArray(Rt[En])&&cr)for(var Zr=0;Zr1?yo-1:0),Bo=1;Bo=0;hr-=1){var cr=Rt[hr],Zr=fn&&fn[hr],hi=Zr&&Zr[Sr];if(cr||hi||mr){var $r=hi||{},Yi=$r.columnType,Ri=(0,Fe.Z)($r,Vr);Jn.unshift(ve.createElement("col",(0,Ke.Z)({key:hr,style:{width:cr}},Ri))),mr=!0}}return ve.createElement("colgroup",null,Jn)}var yi=Bi,mi=de(77654),Vi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ua(Ot,Rt){return(0,ve.useMemo)(function(){for(var fn=[],En=0;En1?"colgroup":"col":null,ellipsis:_a.ellipsis,align:_a.align,component:_a.title?Rn:mr,prefixCls:hi,key:Ri[Za]},Ra,{additionalProps:Da,rowType:"header"}))}))}ea.displayName="HeaderRow";var Ea=ea;function wo(Ot){var Rt=[];function fn(mr,hr){var cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Rt[cr]=Rt[cr]||[];var Zr=hr,hi=mr.filter(Boolean).map(function($r){var Yi={key:$r.key,className:$r.className||"",children:$r.title,column:$r,colStart:Zr},Ri=1,zi=$r.children;return zi&&zi.length>0&&(Ri=fn(zi,Zr,cr+1).reduce(function(Za,_a){return Za+_a},0),Yi.hasSubColumns=!0),"colSpan"in $r&&(Ri=$r.colSpan),"rowSpan"in $r&&(Yi.rowSpan=$r.rowSpan),Yi.colSpan=Ri,Yi.colEnd=Yi.colStart+Ri-1,Rt[cr].push(Yi),Zr+=Ri,Ri});return hi}fn(Ot,0);for(var En=Rt.length,Jn=function(hr){Rt[hr].forEach(function(cr){!("rowSpan"in cr)&&!cr.hasSubColumns&&(cr.rowSpan=En-hr)})},Rn=0;Rn1&&arguments[1]!==void 0?arguments[1]:"";return typeof Rt=="number"?Rt:Rt.endsWith("%")?Ot*parseFloat(Rt)/100:null}function qr(Ot,Rt){return ve.useMemo(function(){if(Rt&&Rt>0){var fn=0,En=0;Ot.forEach(function(Zr){var hi=Si(Rt,Zr.width);hi?fn+=hi:En+=1});var Jn=Rt-fn,Rn=En,mr=Jn/En,hr=0,cr=Ot.map(function(Zr){var hi=(0,Ct.Z)({},Zr),$r=Si(Rt,hi.width);if($r)hi.width=$r;else{var Yi=Math.floor(mr);hi.width=Rn===1?Jn:Yi,Jn-=Yi,Rn-=1}return hr+=hi.width,hi});return[cr,hr]}return[Ot,Rt]},[Ot,Rt])}var Ma=["children"],kn=["fixed"];function Dt(Ot){return(0,Aa.Z)(Ot).filter(function(Rt){return ve.isValidElement(Rt)}).map(function(Rt){var fn=Rt.key,En=Rt.props,Jn=En.children,Rn=(0,Fe.Z)(En,Ma),mr=(0,Ct.Z)({key:fn},Rn);return Jn&&(mr.children=Dt(Jn)),mr})}function Gt(Ot){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ot.filter(function(fn){return fn&&(0,dt.Z)(fn)==="object"}).reduce(function(fn,En,Jn){var Rn=En.fixed,mr=Rn===!0?"left":Rn,hr="".concat(Rt,"-").concat(Jn),cr=En.children;return cr&&cr.length>0?[].concat((0,mi.Z)(fn),(0,mi.Z)(Gt(cr,hr).map(function(Zr){return(0,Ct.Z)({fixed:mr},Zr)}))):[].concat((0,mi.Z)(fn),[(0,Ct.Z)((0,Ct.Z)({key:hr},En),{},{fixed:mr})])},[])}function Wt(Ot){for(var Rt=!0,fn=0;fn=0;Rn-=1){var mr=Ot[Rn];if(Jn&&mr.fixed!=="right")Jn=!1;else if(!Jn&&mr.fixed==="right"){warning(!1,"Index ".concat(Rn+1," of `columns` missing `fixed='right'` prop."));break}}}function Kt(Ot){return Ot.map(function(Rt){var fn=Rt.fixed,En=(0,Fe.Z)(Rt,kn),Jn=fn;return fn==="left"?Jn="right":fn==="right"&&(Jn="left"),(0,Ct.Z)({fixed:Jn},En)})}function on(Ot,Rt){var fn=Ot.prefixCls,En=Ot.columns,Jn=Ot.children,Rn=Ot.expandable,mr=Ot.expandedKeys,hr=Ot.columnTitle,cr=Ot.getRowKey,Zr=Ot.onTriggerExpand,hi=Ot.expandIcon,$r=Ot.rowExpandable,Yi=Ot.expandIconColumnIndex,Ri=Ot.direction,zi=Ot.expandRowByClick,Za=Ot.columnWidth,_a=Ot.fixed,Ra=Ot.scrollWidth,Da=ve.useMemo(function(){return En||Dt(Jn)},[En,Jn]),ro=ve.useMemo(function(){if(Rn){var Po,yo=Da.slice();if(!yo.includes(he)){var Ba=Yi||0;Ba>=0&&yo.splice(Ba,0,he)}var Bo=yo.indexOf(he);yo=yo.filter(function(Ga,ms){return Ga!==he||ms===Bo});var ns=Da[Bo],Ys;(_a==="left"||_a)&&!Yi?Ys="left":(_a==="right"||_a)&&Yi===Da.length?Ys="right":Ys=ns?ns.fixed:null;var rs=(Po={},(0,Xe.Z)(Po,Sr,{className:"".concat(fn,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Xe.Z)(Po,"title",hr),(0,Xe.Z)(Po,"fixed",Ys),(0,Xe.Z)(Po,"className","".concat(fn,"-row-expand-icon-cell")),(0,Xe.Z)(Po,"width",Za),(0,Xe.Z)(Po,"render",function(ms,Is,Rl){var Ml=cr(Is,Rl),Bu=mr.has(Ml),Su=$r?$r(Is):!0,ks=hi({prefixCls:fn,expanded:Bu,expandable:Su,record:Is,onExpand:Zr});return zi?ve.createElement("span",{onClick:function(yl){return yl.stopPropagation()}},ks):ks}),Po);return yo.map(function(Ga){return Ga===he?rs:Ga})}return Da.filter(function(Ga){return Ga!==he})},[Rn,Da,cr,mr,hi,Ri]),Qo=ve.useMemo(function(){var Po=ro;return Rt&&(Po=Rt(Po)),Po.length||(Po=[{render:function(){return null}}]),Po},[Rt,ro,Ri]),Jo=ve.useMemo(function(){return Ri==="rtl"?Kt(Gt(Qo)):Gt(Qo)},[Qo,Ri,Ra]),ko=qr(Jo,Ra),ls=(0,He.Z)(ko,2),Fs=ls[0],Ao=ls[1];return[Qo,Fs,Ao]}var _n=on;function lr(Ot){var Rt,fn=Ot.prefixCls,En=Ot.record,Jn=Ot.onExpand,Rn=Ot.expanded,mr=Ot.expandable,hr="".concat(fn,"-row-expand-icon");if(!mr)return ve.createElement("span",{className:Re()(hr,"".concat(fn,"-row-spaced"))});var cr=function(hi){Jn(En,hi),hi.stopPropagation()};return ve.createElement("span",{className:Re()(hr,(Rt={},(0,Xe.Z)(Rt,"".concat(fn,"-row-expanded"),Rn),(0,Xe.Z)(Rt,"".concat(fn,"-row-collapsed"),!Rn),Rt)),onClick:cr})}function nr(Ot,Rt,fn){var En=[];function Jn(Rn){(Rn||[]).forEach(function(mr,hr){En.push(Rt(mr,hr)),Jn(mr[fn])})}return Jn(Ot),En}function dr(Ot,Rt,fn){var En=fr(Ot),Jn=En.expandIcon,Rn=En.expandedRowKeys,mr=En.defaultExpandedRowKeys,hr=En.defaultExpandAllRows,cr=En.expandedRowRender,Zr=En.onExpand,hi=En.onExpandedRowsChange,$r=En.childrenColumnName,Yi=Jn||lr,Ri=$r||"children",zi=ve.useMemo(function(){return cr?"row":Ot.expandable&&Ot.internalHooks===Me&&Ot.expandable.__PARENT_RENDER_ICON__||Rt.some(function(Jo){return Jo&&(0,dt.Z)(Jo)==="object"&&Jo[Ri]})?"nest":!1},[!!cr,Rt]),Za=ve.useState(function(){return mr||(hr?nr(Rt,fn,Ri):[])}),_a=(0,He.Z)(Za,2),Ra=_a[0],Da=_a[1],ro=ve.useMemo(function(){return new Set(Rn||Ra||[])},[Rn,Ra]),Qo=ve.useCallback(function(Jo){var ko=fn(Jo,Rt.indexOf(Jo)),ls,Fs=ro.has(ko);Fs?(ro.delete(ko),ls=(0,mi.Z)(ro)):ls=[].concat((0,mi.Z)(ro),[ko]),Da(ls),Zr&&Zr(!Fs,Jo),hi&&hi(ls)},[fn,ro,Rt,Zr,hi]);return[En,zi,ro,Yi,Ri,Qo]}function Pr(Ot,Rt,fn,En){var Jn=Ot.map(function(Rn,mr){return Cn(mr,mr,Ot,Rt,fn,En==null?void 0:En[mr])});return(0,Ht.Z)(function(){return Jn},[Jn],function(Rn,mr){return!(0,Le.Z)(Rn,mr)})}function Ur(Ot){var Rt=(0,ve.useRef)(Ot),fn=(0,ve.useState)({}),En=(0,He.Z)(fn,2),Jn=En[1],Rn=(0,ve.useRef)(null),mr=(0,ve.useRef)([]);function hr(cr){mr.current.push(cr);var Zr=Promise.resolve();Rn.current=Zr,Zr.then(function(){if(Rn.current===Zr){var hi=mr.current,$r=Rt.current;mr.current=[],hi.forEach(function(Yi){Rt.current=Yi(Rt.current)}),Rn.current=null,$r!==Rt.current&&Jn({})}})}return(0,ve.useEffect)(function(){return function(){Rn.current=null}},[]),[Rt.current,hr]}function ei(Ot){var Rt=(0,ve.useRef)(Ot||null),fn=(0,ve.useRef)();function En(){window.clearTimeout(fn.current)}function Jn(mr){Rt.current=mr,En(),fn.current=window.setTimeout(function(){Rt.current=null,fn.current=void 0},100)}function Rn(){return Rt.current}return(0,ve.useEffect)(function(){return En},[]),[Jn,Rn]}function er(){var Ot=ve.useState(-1),Rt=(0,He.Z)(Ot,2),fn=Rt[0],En=Rt[1],Jn=ve.useState(-1),Rn=(0,He.Z)(Jn,2),mr=Rn[0],hr=Rn[1],cr=ve.useCallback(function(Zr,hi){En(Zr),hr(hi)},[]);return[fn,mr,cr]}var kr=de(47273),_i=(0,kr.Z)()?window:null;function gi(Ot,Rt){var fn=(0,dt.Z)(Ot)==="object"?Ot:{},En=fn.offsetHeader,Jn=En===void 0?0:En,Rn=fn.offsetSummary,mr=Rn===void 0?0:Rn,hr=fn.offsetScroll,cr=hr===void 0?0:hr,Zr=fn.getContainer,hi=Zr===void 0?function(){return _i}:Zr,$r=hi()||_i;return ve.useMemo(function(){var Yi=!!Ot;return{isSticky:Yi,stickyClassName:Yi?"".concat(Rt,"-sticky-holder"):"",offsetHeader:Jn,offsetSummary:mr,offsetScroll:cr,container:$r}},[cr,Jn,mr,Rt,$r])}function ji(Ot,Rt,fn){var En=(0,ve.useMemo)(function(){for(var Jn=[],Rn=[],mr=0,hr=0,cr=0;cr=$r&&(Ga=$r-Yi),mr({scrollLeft:Ga/$r*(hi+2)}),Da.current.x=Bo.pageX},Po=function(){if(Rn.current){var Bo=(0,vn.os)(Rn.current).top,ns=Bo+Rn.current.offsetHeight,Ys=cr===window?document.documentElement.scrollTop+window.innerHeight:(0,vn.os)(cr).top+cr.clientHeight;ns-(0,$t.Z)()<=Ys||Bo>=Ys-hr?Ra(function(rs){return(0,Ct.Z)((0,Ct.Z)({},rs),{},{isHiddenScrollBar:!0})}):Ra(function(rs){return(0,Ct.Z)((0,Ct.Z)({},rs),{},{isHiddenScrollBar:!1})})}},yo=function(Bo){Ra(function(ns){return(0,Ct.Z)((0,Ct.Z)({},ns),{},{scrollLeft:Bo/hi*$r||0})})};return ve.useImperativeHandle(fn,function(){return{setScrollLeft:yo}}),ve.useEffect(function(){var Ba=(0,ra.Z)(document.body,"mouseup",ls,!1),Bo=(0,ra.Z)(document.body,"mousemove",Ao,!1);return Po(),function(){Ba.remove(),Bo.remove()}},[Yi,Jo]),ve.useEffect(function(){var Ba=(0,ra.Z)(cr,"scroll",Po,!1),Bo=(0,ra.Z)(window,"resize",Po,!1);return function(){Ba.remove(),Bo.remove()}},[cr]),ve.useEffect(function(){_a.isHiddenScrollBar||Ra(function(Ba){var Bo=Rn.current;return Bo?(0,Ct.Z)((0,Ct.Z)({},Ba),{},{scrollLeft:Bo.scrollLeft/Bo.scrollWidth*Bo.clientWidth}):Ba})},[_a.isHiddenScrollBar]),hi<=$r||!Yi||_a.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,$t.Z)(),width:$r,bottom:hr},className:"".concat(Zr,"-sticky-scroll")},ve.createElement("div",{onMouseDown:Fs,ref:Ri,className:Re()("".concat(Zr,"-sticky-scroll-bar"),(0,Xe.Z)({},"".concat(Zr,"-sticky-scroll-bar-active"),Jo)),style:{width:"".concat(Yi,"px"),transform:"translate3d(".concat(_a.scrollLeft,"px, 0, 0)")}}))},Ar=ve.forwardRef(gr);function jr(Ot){return null}var br=jr;function Ir(Ot){return null}var Fr=Ir,si="rc-table",bi=[],Ti={};function Pa(){return"No Data"}function Ka(Ot){var Rt,fn=(0,Ct.Z)({rowKey:"key",prefixCls:si,emptyText:Pa},Ot),En=fn.prefixCls,Jn=fn.className,Rn=fn.rowClassName,mr=fn.style,hr=fn.data,cr=fn.rowKey,Zr=fn.scroll,hi=fn.tableLayout,$r=fn.direction,Yi=fn.title,Ri=fn.footer,zi=fn.summary,Za=fn.caption,_a=fn.id,Ra=fn.showHeader,Da=fn.components,ro=fn.emptyText,Qo=fn.onRow,Jo=fn.onHeaderRow,ko=fn.internalHooks,ls=fn.transformColumns,Fs=fn.internalRefs,Ao=fn.tailor,Po=fn.sticky,yo=hr||bi,Ba=!!yo.length,Bo=ko===Me,ns=ve.useCallback(function(Cl,jl){return(0,Et.Z)(Da,Cl)||jl},[Da]),Ys=ve.useMemo(function(){return typeof cr=="function"?cr:function(Cl){var jl=Cl&&Cl[cr];return jl}},[cr]),rs=ns(["body"]),Ga=er(),ms=(0,He.Z)(Ga,3),Is=ms[0],Rl=ms[1],Ml=ms[2],Bu=dr(fn,yo,Ys),Su=(0,He.Z)(Bu,6),ks=Su[0],oc=Su[1],yl=Su[2],cu=Su[3],du=Su[4],Fc=Su[5],So=Zr==null?void 0:Zr.x,$o=ve.useState(0),es=(0,He.Z)($o,2),Ro=es[0],Ll=es[1],jo=_n((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},fn),ks),{},{expandable:!!ks.expandedRowRender,columnTitle:ks.columnTitle,expandedKeys:yl,getRowKey:Ys,onTriggerExpand:Fc,expandIcon:cu,expandIconColumnIndex:ks.expandIconColumnIndex,direction:$r,scrollWidth:Bo&&Ao&&typeof So=="number"?So:null}),Bo?ls:null),ws=(0,He.Z)(jo,3),nl=ws[0],Al=ws[1],qc=ws[2],Vu=qc!=null?qc:So,Pd=ve.useMemo(function(){return{columns:nl,flattenColumns:Al}},[nl,Al]),ec=ve.useRef(),Td=ve.useRef(),to=ve.useRef(),Nc=ve.useRef(),ZA=ve.useRef(),bl=ve.useState(!1),aa=(0,He.Z)(bl,2),Ql=aa[0],yc=aa[1],_u=ve.useState(!1),fs=(0,He.Z)(_u,2),ql=fs[0],Pc=fs[1],Md=Ur(new Map),bd=(0,He.Z)(Md,2),Tc=bd[0],Gu=bd[1],vA=at(Al),Qc=vA.map(function(Cl){return Tc.get(Cl)}),Yu=ve.useMemo(function(){return Qc},[Qc.join("_")]),Rc=Mi(Yu,Al.length,$r),Iu=Zr&&Xt(Zr.y),Tu=Zr&&Xt(Vu)||!!ks.fixed,rd=Tu&&Al.some(function(Cl){var jl=Cl.fixed;return jl}),oA=ve.useRef(),Rd=gi(Po,En),yA=Rd.isSticky,VA=Rd.offsetHeader,Sh=Rd.offsetSummary,xl=Rd.offsetScroll,iu=Rd.stickyClassName,kc=Rd.container,au=ve.useMemo(function(){return zi==null?void 0:zi(yo)},[zi,yo]),bc=(Iu||yA)&&ve.isValidElement(au)&&au.type===oe&&au.props.fixed,_c,tc,bA;Iu&&(tc={overflowY:"scroll",maxHeight:Zr.y}),Tu&&(_c={overflowX:"auto"},Iu||(tc={overflowY:"hidden"}),bA={width:Vu===!0?"auto":Vu,minWidth:"100%"});var ih=ve.useCallback(function(Cl,jl){(0,_t.Z)(ec.current)&&Gu(function(wd){if(wd.get(Cl)!==jl){var XA=new Map(wd);return XA.set(Cl,jl),XA}return wd})},[]),wA=ei(null),xA=(0,He.Z)(wA,2),fl=xA[0],Ru=xA[1];function sA(Cl,jl){jl&&(typeof jl=="function"?jl(Cl):jl.scrollLeft!==Cl&&(jl.scrollLeft=Cl,jl.scrollLeft!==Cl&&setTimeout(function(){jl.scrollLeft=Cl},0)))}var CA=(0,ft.Z)(function(Cl){var jl=Cl.currentTarget,wd=Cl.scrollLeft,XA=$r==="rtl",JA=typeof wd=="number"?wd:jl.scrollLeft,_0=jl||Ti;if(!Ru()||Ru()===_0){var Mc;fl(_0),sA(JA,Td.current),sA(JA,to.current),sA(JA,ZA.current),sA(JA,(Mc=oA.current)===null||Mc===void 0?void 0:Mc.setScrollLeft)}var FA=jl||Td.current;if(FA){var M0=FA.scrollWidth,xf=FA.clientWidth;if(M0===xf){yc(!1),Pc(!1);return}XA?(yc(-JA0)):(yc(JA>0),Pc(JA1?Za-Bo:0,Ys=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},ls),cr),{},{flex:"0 0 ".concat(Bo,"px"),width:"".concat(Bo,"px"),marginRight:ns,pointerEvents:"auto"}),rs=ve.useMemo(function(){return hi?yo<=1:Ao===0||yo===0||yo>1},[yo,Ao,hi]);rs?Ys.visibility="hidden":hi&&(Ys.height=$r==null?void 0:$r(yo));var Ga=rs?function(){return null}:Yi,ms={};return(yo===0||Ao===0)&&(ms.rowSpan=1,ms.colSpan=1),ve.createElement(Gn,(0,Ke.Z)({className:Re()(zi,Zr),ellipsis:fn.ellipsis,align:fn.align,scope:fn.rowScope,component:"div",prefixCls:Rt.prefixCls,key:ro,record:hr,index:Rn,renderIndex:mr,dataIndex:Ri,render:Ga,shouldCellUpdate:fn.shouldCellUpdate},Qo,{appendNode:Jo,additionalProps:(0,Ct.Z)((0,Ct.Z)({},ko),{},{style:Ys},ms)}))}var no=za,La=["data","index","className","rowKey","style","extra","getHeight"],xo=ve.forwardRef(function(Ot,Rt){var fn=Ot.data,En=Ot.index,Jn=Ot.className,Rn=Ot.rowKey,mr=Ot.style,hr=Ot.extra,cr=Ot.getHeight,Zr=(0,Fe.Z)(Ot,La),hi=fn.record,$r=fn.indent,Yi=fn.index,Ri=fe(Ze,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),zi=Ri.scrollX,Za=Ri.flattenColumns,_a=Ri.prefixCls,Ra=Ri.fixColumn,Da=Ri.componentWidth,ro=pt(hi,Rn,En,$r),Qo=ro.rowSupportExpand,Jo=ro.expanded,ko=ro.rowProps,ls=ro.expandedRowRender,Fs=ro.expandedRowClassName,Ao;if(Qo&&Jo){var Po=ls(hi,En,$r+1,Jo),yo=Fs==null?void 0:Fs(hi,En,$r),Ba={};Ra&&(Ba={style:(0,Xe.Z)({},"--virtual-width","".concat(Da,"px"))});var Bo="".concat(_a,"-expanded-row-cell");Ao=ve.createElement("div",{className:Re()("".concat(_a,"-expanded-row"),"".concat(_a,"-expanded-row-level-").concat($r+1),yo)},ve.createElement(Gn,{component:"div",prefixCls:_a,className:Re()(Bo,(0,Xe.Z)({},"".concat(Bo,"-fixed"),Ra)),additionalProps:Ba},Po))}var ns=(0,Ct.Z)((0,Ct.Z)({},mr),{},{width:zi});hr&&(ns.position="absolute",ns.pointerEvents="none");var Ys=ve.createElement("div",(0,Ke.Z)({},ko,Zr,{ref:Qo?null:Rt,className:Re()(Jn,"".concat(_a,"-row"),ko==null?void 0:ko.className,(0,Xe.Z)({},"".concat(_a,"-row-extra"),hr)),style:(0,Ct.Z)((0,Ct.Z)({},ns),ko==null?void 0:ko.style)}),Za.map(function(rs,Ga){return ve.createElement(no,{key:Ga,rowInfo:ro,column:rs,colIndex:Ga,indent:$r,index:En,renderIndex:Yi,record:hi,inverse:hr,getHeight:cr})}));return Qo?ve.createElement("div",{ref:Rt},Ys,Ao):Ys}),os=ze(xo),Va=os,Ii=ve.forwardRef(function(Ot,Rt){var fn=Ot.data,En=Ot.onScroll,Jn=fe(Ze,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Rn=Jn.flattenColumns,mr=Jn.onColumnResize,hr=Jn.getRowKey,cr=Jn.expandedKeys,Zr=Jn.prefixCls,hi=Jn.childrenColumnName,$r=Jn.emptyNode,Yi=Jn.scrollX,Ri=fe(oo),zi=Ri.scrollY,Za=Ri.listItemHeight,_a=ve.useRef(),Ra=nn(fn,hi,cr,hr),Da=ve.useMemo(function(){var Ao=0;return Rn.map(function(Po){var yo=Po.width,Ba=Po.key;return Ao+=yo,[Ba,yo,Ao]})},[Rn]),ro=ve.useMemo(function(){return Da.map(function(Ao){return Ao[2]})},[Da]);ve.useEffect(function(){Da.forEach(function(Ao){var Po=(0,He.Z)(Ao,2),yo=Po[0],Ba=Po[1];mr(yo,Ba)})},[Da]),ve.useImperativeHandle(Rt,function(){var Ao={};return Object.defineProperty(Ao,"scrollLeft",{get:function(){var yo;return((yo=_a.current)===null||yo===void 0?void 0:yo.getScrollInfo().x)||0},set:function(yo){var Ba;(Ba=_a.current)===null||Ba===void 0||Ba.scrollTo({left:yo})}}),Ao});var Qo=function(Po,yo){var Ba,Bo=(Ba=Ra[yo])===null||Ba===void 0?void 0:Ba.record,ns=Po.onCell;if(ns){var Ys,rs=ns(Bo,yo);return(Ys=rs==null?void 0:rs.rowSpan)!==null&&Ys!==void 0?Ys:1}return 1},Jo=function(Po){var yo=Po.start,Ba=Po.end,Bo=Po.getSize,ns=Po.offsetY;if(Ba<0)return null;for(var Ys=Rn.filter(function(So){return Qo(So,yo)===0}),rs=yo,Ga=function($o){if(Ys=Ys.filter(function(es){return Qo(es,$o)===0}),!Ys.length)return rs=$o,"break"},ms=yo;ms>=0;ms-=1){var Is=Ga(ms);if(Is==="break")break}for(var Rl=Rn.filter(function(So){return Qo(So,Ba)!==1}),Ml=Ba,Bu=function($o){if(Rl=Rl.filter(function(es){return Qo(es,$o)!==1}),!Rl.length)return Ml=Math.max($o-1,Ba),"break"},Su=Ba;Su1})&&oc.push($o)},cu=rs;cu<=Ml;cu+=1)var du=yl(cu);var Fc=oc.map(function(So){var $o=Ra[So],es=hr($o.record,So),Ro=function(ws){var nl=So+ws-1,Al=hr(Ra[nl].record,nl),qc=Bo(es,Al);return qc.bottom-qc.top},Ll=Bo(es);return ve.createElement(Va,{key:So,data:$o,rowKey:es,index:So,style:{top:-ns+Ll.top},extra:!0,getHeight:Ro})});return Fc},ko=ve.useMemo(function(){return{columnsOffset:ro}},[ro]),ls="".concat(Zr,"-tbody"),Fs;return Ra.length?Fs=ve.createElement(ho.Z,{fullHeight:!1,ref:_a,className:Re()(ls,"".concat(ls,"-virtual")),height:zi,itemHeight:Za||24,data:Ra,itemKey:function(Po){return hr(Po.record)},scrollWidth:Yi,onVirtualScroll:function(Po){var yo=Po.x;En({scrollLeft:yo})},extraRender:Jo},function(Ao,Po,yo){var Ba=hr(Ao.record,Po);return ve.createElement(Va,(0,Ke.Z)({data:Ao,rowKey:Ba,index:Po},yo))}):Fs=ve.createElement("div",{className:Re()("".concat(Zr,"-placeholder"))},ve.createElement(Gn,{component:"div",prefixCls:Zr},$r)),ve.createElement(ta.Provider,{value:ko},Fs)}),Ci=ze(Ii),Ha=Ci,Oa=function(Rt,fn){var En=fn.ref,Jn=fn.onScroll;return ve.createElement(Ha,{ref:En,data:Rt,onScroll:Jn})},eo=100;function Lo(Ot){var Rt=Ot.columns,fn=Ot.scroll,En=Ot.prefixCls,Jn=En===void 0?si:En,Rn=Ot.className,mr=Ot.listItemHeight,hr=fn||{},cr=hr.x,Zr=hr.y;typeof cr!="number"&&(cr=((Rt||[]).length+1)*eo),typeof Zr!="number"&&(Zr=500);var hi=ve.useMemo(function(){return{scrollY:Zr,listItemHeight:mr}},[Zr,mr]);return ve.createElement(oo.Provider,{value:hi},ve.createElement(Fa,(0,Ke.Z)({},Ot,{className:Re()(Rn,"".concat(Jn,"-virtual")),scroll:(0,Ct.Z)((0,Ct.Z)({},fn),{},{x:cr}),components:{body:Oa},columns:Rt,internalHooks:Me,tailor:!0})))}function vo(Ot){return Ye(Lo,Ot)}var jn=vo(),Oo=null;function Ks(Ot){return null}var Sa=Ks;function ga(Ot){return null}var Co=ga,Fo=de(2738),Es=de(68031),Js=de(36355),Os=de(93891),ps=de(19716),as=de(8628),ol=de(31724),fa=de(58421),la=de(71418),ia=de(88088);function Ln(Ot){return function(fn){let{prefixCls:En,onExpand:Jn,record:Rn,expanded:mr,expandable:hr}=fn;const cr=`${En}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:Zr=>{Jn(Rn,Zr),Zr.stopPropagation()},className:Re()(cr,{[`${cr}-spaced`]:!hr,[`${cr}-expanded`]:hr&&mr,[`${cr}-collapsed`]:hr&&!mr}),"aria-label":mr?Ot.collapse:Ot.expand,"aria-expanded":mr})}}var In=Ln;function Er(Ot,Rt){return"key"in Ot&&Ot.key!==void 0&&Ot.key!==null?Ot.key:Ot.dataIndex?Array.isArray(Ot.dataIndex)?Ot.dataIndex.join("."):Ot.dataIndex:Rt}function vi(Ot,Rt){return Rt?`${Rt}-${Ot}`:`${Ot}`}function ha(Ot,Rt){return typeof Ot=="function"?Ot(Rt):Ot}function Ia(Ot,Rt){const fn=ha(Ot,Rt);return Object.prototype.toString.call(fn)==="[object Object]"?"":fn}var va={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"},Ji=va,ya=de(7657),No=function(Rt,fn){return ve.createElement(ya.Z,(0,Ke.Z)({},Rt,{ref:fn,icon:Ji}))},Vo=ve.forwardRef(No),cs=Vo,Mo=de(56762);function ul(Ot){const Rt=ve.useRef(Ot),fn=(0,Mo.Z)();return[()=>Rt.current,En=>{Rt.current=En,fn()}]}var Ss=de(3113),vr=de(24905),On=de(38854),Dn=de(64165),wr=de(20834),ni=de(40875),li=de(5112),Or=de(17574),Hi=de(47472),ca=de(92832);function uo(Ot){let{value:Rt,onChange:fn,filterSearch:En,tablePrefixCls:Jn,locale:Rn}=Ot;return En?ve.createElement("div",{className:`${Jn}-filter-dropdown-search`},ve.createElement(ca.default,{prefix:ve.createElement(Hi.Z,null),placeholder:Rn.filterSearchPlaceholder,onChange:fn,value:Rt,htmlSize:1,className:`${Jn}-filter-dropdown-search-input`})):null}var Wa=uo,Ki=de(10228);const Na=Ot=>{const{keyCode:Rt}=Ot;Rt===Ki.Z.ENTER&&Ot.stopPropagation()};var rr=ve.forwardRef((Ot,Rt)=>ve.createElement("div",{className:Ot.className,onClick:fn=>fn.stopPropagation(),onKeyDown:Na,ref:Rt},Ot.children));function Kn(Ot){let Rt=[];return(Ot||[]).forEach(fn=>{let{value:En,children:Jn}=fn;Rt.push(En),Jn&&(Rt=[].concat((0,mi.Z)(Rt),(0,mi.Z)(Kn(Jn))))}),Rt}function Ja(Ot){return Ot.some(Rt=>{let{children:fn}=Rt;return fn})}function pa(Ot,Rt){return typeof Rt=="string"||typeof Rt=="number"?Rt==null?void 0:Rt.toString().toLowerCase().includes(Ot.trim().toLowerCase()):!1}function ka(Ot){let{filters:Rt,prefixCls:fn,filteredKeys:En,filterMultiple:Jn,searchValue:Rn,filterSearch:mr}=Ot;return Rt.map((hr,cr)=>{const Zr=String(hr.value);if(hr.children)return{key:Zr||cr,label:hr.text,popupClassName:`${fn}-dropdown-submenu`,children:ka({filters:hr.children,prefixCls:fn,filteredKeys:En,filterMultiple:Jn,searchValue:Rn,filterSearch:mr})};const hi=Jn?vr.default:li.ZP,$r={key:hr.value!==void 0?Zr:cr,label:ve.createElement(ve.Fragment,null,ve.createElement(hi,{checked:En.includes(Zr)}),ve.createElement("span",null,hr.text))};return Rn.trim()?typeof mr=="function"?mr(Rn,hr)?$r:null:pa(Rn,hr.text)?$r:null:$r})}function ss(Ot){var Rt,fn;const{tablePrefixCls:En,prefixCls:Jn,column:Rn,dropdownPrefixCls:mr,columnKey:hr,filterMultiple:cr,filterMode:Zr="menu",filterSearch:hi=!1,filterState:$r,triggerFilter:Yi,locale:Ri,children:zi,getPopupContainer:Za}=Ot,{filterDropdownOpen:_a,onFilterDropdownOpenChange:Ra,filterResetToDefaultFilteredValue:Da,defaultFilteredValue:ro,filterDropdownVisible:Qo,onFilterDropdownVisibleChange:Jo}=Rn,[ko,ls]=ve.useState(!1),Fs=!!($r&&(!((Rt=$r.filteredKeys)===null||Rt===void 0)&&Rt.length||$r.forceFiltered)),Ao=jo=>{ls(jo),Ra==null||Ra(jo),Jo==null||Jo(jo)},Po=(fn=_a!=null?_a:Qo)!==null&&fn!==void 0?fn:ko,yo=$r==null?void 0:$r.filteredKeys,[Ba,Bo]=ul(yo||[]),ns=jo=>{let{selectedKeys:ws}=jo;Bo(ws)},Ys=(jo,ws)=>{let{node:nl,checked:Al}=ws;ns(cr?{selectedKeys:jo}:{selectedKeys:Al&&nl.key?[nl.key]:[]})};ve.useEffect(()=>{ko&&ns({selectedKeys:yo||[]})},[yo]);const[rs,Ga]=ve.useState([]),ms=jo=>{Ga(jo)},[Is,Rl]=ve.useState(""),Ml=jo=>{const{value:ws}=jo.target;Rl(ws)};ve.useEffect(()=>{ko||Rl("")},[ko]);const Bu=jo=>{const ws=jo&&jo.length?jo:null;if(ws===null&&(!$r||!$r.filteredKeys)||(0,Le.Z)(ws,$r==null?void 0:$r.filteredKeys,!0))return null;Yi({column:Rn,key:hr,filteredKeys:ws})},Su=()=>{Ao(!1),Bu(Ba())},ks=function(){let{confirm:jo,closeDropdown:ws}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};jo&&Bu([]),ws&&Ao(!1),Rl(""),Bo(Da?(ro||[]).map(nl=>String(nl)):[])},oc=function(){let{closeDropdown:jo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};jo&&Ao(!1),Bu(Ba())},yl=jo=>{jo&&yo!==void 0&&Bo(yo||[]),Ao(jo),!jo&&!Rn.filterDropdown&&Su()},cu=Re()({[`${mr}-menu-without-submenu`]:!Ja(Rn.filters||[])}),du=jo=>{if(jo.target.checked){const ws=Kn(Rn==null?void 0:Rn.filters).map(nl=>String(nl));Bo(ws)}else Bo([])},Fc=jo=>{let{filters:ws}=jo;return(ws||[]).map((nl,Al)=>{const qc=String(nl.value),Vu={title:nl.text,key:nl.value!==void 0?qc:Al};return nl.children&&(Vu.children=Fc({filters:nl.children})),Vu})},So=jo=>{var ws;return Object.assign(Object.assign({},jo),{text:jo.title,value:jo.key,children:((ws=jo.children)===null||ws===void 0?void 0:ws.map(nl=>So(nl)))||[]})};let $o;if(typeof Rn.filterDropdown=="function")$o=Rn.filterDropdown({prefixCls:`${mr}-custom`,setSelectedKeys:jo=>ns({selectedKeys:jo}),selectedKeys:Ba(),confirm:oc,clearFilters:ks,filters:Rn.filters,visible:Po,close:()=>{Ao(!1)}});else if(Rn.filterDropdown)$o=Rn.filterDropdown;else{const jo=Ba()||[],ws=()=>(Rn.filters||[]).length===0?ve.createElement(Dn.Z,{image:Dn.Z.PRESENTED_IMAGE_SIMPLE,description:Ri.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Zr==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(Wa,{filterSearch:hi,value:Is,onChange:Ml,tablePrefixCls:En,locale:Ri}),ve.createElement("div",{className:`${En}-filter-dropdown-tree`},cr?ve.createElement(vr.default,{checked:jo.length===Kn(Rn.filters).length,indeterminate:jo.length>0&&jo.lengthtypeof hi=="function"?hi(Is,So(Al)):pa(Is,Al.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(Wa,{filterSearch:hi,value:Is,onChange:Ml,tablePrefixCls:En,locale:Ri}),ve.createElement(wr.default,{selectable:!0,multiple:cr,prefixCls:`${mr}-menu`,className:cu,onSelect:ns,onDeselect:ns,selectedKeys:jo,getPopupContainer:Za,openKeys:rs,onOpenChange:ms,items:ka({filters:Rn.filters||[],filterSearch:hi,prefixCls:Jn,filteredKeys:Ba(),filterMultiple:cr,searchValue:Is})})),nl=()=>Da?(0,Le.Z)((ro||[]).map(Al=>String(Al)),jo,!0):jo.length===0;$o=ve.createElement(ve.Fragment,null,ws(),ve.createElement("div",{className:`${Jn}-dropdown-btns`},ve.createElement(Ss.ZP,{type:"link",size:"small",disabled:nl(),onClick:()=>ks()},Ri.filterReset),ve.createElement(Ss.ZP,{type:"primary",size:"small",onClick:Su},Ri.filterConfirm)))}Rn.filterDropdown&&($o=ve.createElement(ni.J,{selectable:void 0},$o));const es=()=>ve.createElement(rr,{className:`${Jn}-dropdown`},$o);let Ro;typeof Rn.filterIcon=="function"?Ro=Rn.filterIcon(Fs):Rn.filterIcon?Ro=Rn.filterIcon:Ro=ve.createElement(cs,null);const{direction:Ll}=ve.useContext(Js.E_);return ve.createElement("div",{className:`${Jn}-column`},ve.createElement("span",{className:`${En}-column-title`},zi),ve.createElement(On.Z,{dropdownRender:es,trigger:["click"],open:Po,onOpenChange:yl,getPopupContainer:Za,placement:Ll==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:Re()(`${Jn}-trigger`,{active:Fs}),onClick:jo=>{jo.stopPropagation()}},Ro)))}var qs=ss;function tl(Ot,Rt,fn){let En=[];return(Ot||[]).forEach((Jn,Rn)=>{var mr;const hr=vi(Rn,fn);if(Jn.filters||"filterDropdown"in Jn||"onFilter"in Jn)if("filteredValue"in Jn){let cr=Jn.filteredValue;"filterDropdown"in Jn||(cr=(mr=cr==null?void 0:cr.map(String))!==null&&mr!==void 0?mr:cr),En.push({column:Jn,key:Er(Jn,hr),filteredKeys:cr,forceFiltered:Jn.filtered})}else En.push({column:Jn,key:Er(Jn,hr),filteredKeys:Rt&&Jn.defaultFilteredValue?Jn.defaultFilteredValue:void 0,forceFiltered:Jn.filtered});"children"in Jn&&(En=[].concat((0,mi.Z)(En),(0,mi.Z)(tl(Jn.children,Rt,hr))))}),En}function eu(Ot,Rt,fn,En,Jn,Rn,mr,hr){return fn.map((cr,Zr)=>{const hi=vi(Zr,hr),{filterMultiple:$r=!0,filterMode:Yi,filterSearch:Ri}=cr;let zi=cr;if(zi.filters||zi.filterDropdown){const Za=Er(zi,hi),_a=En.find(Ra=>{let{key:Da}=Ra;return Za===Da});zi=Object.assign(Object.assign({},zi),{title:Ra=>ve.createElement(qs,{tablePrefixCls:Ot,prefixCls:`${Ot}-filter`,dropdownPrefixCls:Rt,column:zi,columnKey:Za,filterState:_a,filterMultiple:$r,filterMode:Yi,filterSearch:Ri,triggerFilter:Rn,locale:Jn,getPopupContainer:mr},ha(cr.title,Ra))})}return"children"in zi&&(zi=Object.assign(Object.assign({},zi),{children:eu(Ot,Rt,zi.children,En,Jn,Rn,mr,hi)})),zi})}function nu(Ot){const Rt={};return Ot.forEach(fn=>{let{key:En,filteredKeys:Jn,column:Rn}=fn;const{filters:mr,filterDropdown:hr}=Rn;if(hr)Rt[En]=Jn||null;else if(Array.isArray(Jn)){const cr=Kn(mr);Rt[En]=cr.filter(Zr=>Jn.includes(String(Zr)))}else Rt[En]=null}),Rt}function Fu(Ot,Rt){return Rt.reduce((fn,En)=>{const{column:{onFilter:Jn,filters:Rn},filteredKeys:mr}=En;return Jn&&mr&&mr.length?fn.filter(hr=>mr.some(cr=>{const Zr=Kn(Rn),hi=Zr.findIndex(Yi=>String(Yi)===String(cr)),$r=hi!==-1?Zr[hi]:cr;return Jn($r,hr)})):fn},Ot)}const wl=Ot=>Ot.flatMap(Rt=>"children"in Rt?[Rt].concat((0,mi.Z)(wl(Rt.children||[]))):[Rt]);function Vl(Ot){let{prefixCls:Rt,dropdownPrefixCls:fn,mergedColumns:En,onFilterChange:Jn,getPopupContainer:Rn,locale:mr}=Ot;const hr=ve.useMemo(()=>wl(En||[]),[En]),[cr,Zr]=ve.useState(()=>tl(hr,!0)),hi=ve.useMemo(()=>{const zi=tl(hr,!1);if(zi.length===0)return zi;let Za=!0,_a=!0;if(zi.forEach(Ra=>{let{filteredKeys:Da}=Ra;Da!==void 0?Za=!1:_a=!1}),Za){const Ra=(hr||[]).map((Da,ro)=>Er(Da,vi(ro)));return cr.filter(Da=>{let{key:ro}=Da;return Ra.includes(ro)}).map(Da=>{const ro=hr[Ra.findIndex(Qo=>Qo===Da.key)];return Object.assign(Object.assign({},Da),{column:Object.assign(Object.assign({},Da.column),ro),forceFiltered:ro.filtered})})}return zi},[hr,cr]),$r=ve.useMemo(()=>nu(hi),[hi]),Yi=zi=>{const Za=hi.filter(_a=>{let{key:Ra}=_a;return Ra!==zi.key});Za.push(zi),Zr(Za),Jn(nu(Za),Za)};return[zi=>eu(Rt,fn,zi,hi,mr,Yi,Rn),hi,$r]}var Io=Vl;function Xo(Ot,Rt,fn){const En=ve.useRef({});function Jn(Rn){if(!En.current||En.current.data!==Ot||En.current.childrenColumnName!==Rt||En.current.getRowKey!==fn){let hr=function(cr){cr.forEach((Zr,hi)=>{const $r=fn(Zr,hi);mr.set($r,Zr),Zr&&typeof Zr=="object"&&Rt in Zr&&hr(Zr[Rt]||[])})};const mr=new Map;hr(Ot),En.current={data:Ot,childrenColumnName:Rt,kvMap:mr,getRowKey:fn}}return En.current.kvMap.get(Rn)}return[Jn]}var Pl=de(50371),Tl=function(Ot,Rt){var fn={};for(var En in Ot)Object.prototype.hasOwnProperty.call(Ot,En)&&Rt.indexOf(En)<0&&(fn[En]=Ot[En]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,En=Object.getOwnPropertySymbols(Ot);Jn{const Rn=Ot[Jn];typeof Rn!="function"&&(fn[Jn]=Rn)}),fn}function js(Ot,Rt,fn){const En=fn&&typeof fn=="object"?fn:{},{total:Jn=0}=En,Rn=Tl(En,["total"]),[mr,hr]=(0,ve.useState)(()=>({current:"defaultCurrent"in Rn?Rn.defaultCurrent:1,pageSize:"defaultPageSize"in Rn?Rn.defaultPageSize:ml})),cr=(0,Pl.Z)(mr,Rn,{total:Jn>0?Jn:Ot}),Zr=Math.ceil((Jn||Ot)/cr.pageSize);cr.current>Zr&&(cr.current=Zr||1);const hi=(Yi,Ri)=>{hr({current:Yi!=null?Yi:1,pageSize:Ri||cr.pageSize})},$r=(Yi,Ri)=>{var zi;fn&&((zi=fn.onChange)===null||zi===void 0||zi.call(fn,Yi,Ri)),hi(Yi,Ri),Rt(Yi,Ri||(cr==null?void 0:cr.pageSize))};return fn===!1?[{},()=>{}]:[Object.assign(Object.assign({},cr),{onChange:$r}),hi]}var zu=js,mc=de(84105),cl=de(35654),ys=de(90782),bs=de(71430),Xl=de(18929);const gl={},kl="SELECT_ALL",vl="SELECT_INVERT",Vs="SELECT_NONE",Gl=[],ic=(Ot,Rt)=>{let fn=[];return(Rt||[]).forEach(En=>{fn.push(En),En&&typeof En=="object"&&Ot in En&&(fn=[].concat((0,mi.Z)(fn),(0,mi.Z)(ic(Ot,En[Ot]))))}),fn};var Jl=(Ot,Rt)=>{const{preserveSelectedRowKeys:fn,selectedRowKeys:En,defaultSelectedRowKeys:Jn,getCheckboxProps:Rn,onChange:mr,onSelect:hr,onSelectAll:cr,onSelectInvert:Zr,onSelectNone:hi,onSelectMultiple:$r,columnWidth:Yi,type:Ri,selections:zi,fixed:Za,renderCell:_a,hideSelectAll:Ra,checkStrictly:Da=!0}=Rt||{},{prefixCls:ro,data:Qo,pageData:Jo,getRecordByKey:ko,getRowKey:ls,expandType:Fs,childrenColumnName:Ao,locale:Po,getPopupContainer:yo}=Ot,[Ba,Bo]=(0,Xl.Z)(En||Jn||Gl,{value:En}),ns=ve.useRef(new Map),Ys=(0,ve.useCallback)(So=>{if(fn){const $o=new Map;So.forEach(es=>{let Ro=ko(es);!Ro&&ns.current.has(es)&&(Ro=ns.current.get(es)),$o.set(es,Ro)}),ns.current=$o}},[ko,fn]);ve.useEffect(()=>{Ys(Ba)},[Ba]);const{keyEntities:rs}=(0,ve.useMemo)(()=>{if(Da)return{keyEntities:null};let So=Qo;if(fn){const $o=new Set(Qo.map((Ro,Ll)=>ls(Ro,Ll))),es=Array.from(ns.current).reduce((Ro,Ll)=>{let[jo,ws]=Ll;return $o.has(jo)?Ro:Ro.concat(ws)},[]);So=[].concat((0,mi.Z)(So),(0,mi.Z)(es))}return(0,bs.I8)(So,{externalGetKey:ls,childrenPropName:Ao})},[Qo,ls,Da,Ao,fn]),Ga=(0,ve.useMemo)(()=>ic(Ao,Jo),[Ao,Jo]),ms=(0,ve.useMemo)(()=>{const So=new Map;return Ga.forEach(($o,es)=>{const Ro=ls($o,es),Ll=(Rn?Rn($o):null)||{};So.set(Ro,Ll)}),So},[Ga,ls,Rn]),Is=(0,ve.useCallback)(So=>{var $o;return!!(!(($o=ms.get(ls(So)))===null||$o===void 0)&&$o.disabled)},[ms,ls]),[Rl,Ml]=(0,ve.useMemo)(()=>{if(Da)return[Ba||[],[]];const{checkedKeys:So,halfCheckedKeys:$o}=(0,ys.S)(Ba,!0,rs,Is);return[So||[],$o]},[Ba,Da,rs,Is]),Bu=(0,ve.useMemo)(()=>{const So=Ri==="radio"?Rl.slice(0,1):Rl;return new Set(So)},[Rl,Ri]),Su=(0,ve.useMemo)(()=>Ri==="radio"?new Set:new Set(Ml),[Ml,Ri]),[ks,oc]=(0,ve.useState)(null);ve.useEffect(()=>{Rt||Bo(Gl)},[!!Rt]);const yl=(0,ve.useCallback)((So,$o)=>{let es,Ro;Ys(So),fn?(es=So,Ro=So.map(Ll=>ns.current.get(Ll))):(es=[],Ro=[],So.forEach(Ll=>{const jo=ko(Ll);jo!==void 0&&(es.push(Ll),Ro.push(jo))})),Bo(es),mr==null||mr(es,Ro,{type:$o})},[Bo,ko,mr,fn]),cu=(0,ve.useCallback)((So,$o,es,Ro)=>{if(hr){const Ll=es.map(jo=>ko(jo));hr(ko(So),$o,Ll,Ro)}yl(es,"single")},[hr,ko,yl]),du=(0,ve.useMemo)(()=>!zi||Ra?null:(zi===!0?[kl,vl,Vs]:zi).map($o=>$o===kl?{key:"all",text:Po.selectionAll,onSelect(){yl(Qo.map((es,Ro)=>ls(es,Ro)).filter(es=>{const Ro=ms.get(es);return!(Ro!=null&&Ro.disabled)||Bu.has(es)}),"all")}}:$o===vl?{key:"invert",text:Po.selectInvert,onSelect(){const es=new Set(Bu);Jo.forEach((Ll,jo)=>{const ws=ls(Ll,jo),nl=ms.get(ws);nl!=null&&nl.disabled||(es.has(ws)?es.delete(ws):es.add(ws))});const Ro=Array.from(es);Zr&&Zr(Ro),yl(Ro,"invert")}}:$o===Vs?{key:"none",text:Po.selectNone,onSelect(){hi==null||hi(),yl(Array.from(Bu).filter(es=>{const Ro=ms.get(es);return Ro==null?void 0:Ro.disabled}),"none")}}:$o).map($o=>Object.assign(Object.assign({},$o),{onSelect:function(){for(var es,Ro,Ll=arguments.length,jo=new Array(Ll),ws=0;ws{var $o;if(!Rt)return So.filter(bl=>bl!==gl);let es=(0,mi.Z)(So);const Ro=new Set(Bu),Ll=Ga.map(ls).filter(bl=>!ms.get(bl).disabled),jo=Ll.every(bl=>Ro.has(bl)),ws=Ll.some(bl=>Ro.has(bl)),nl=()=>{const bl=[];jo?Ll.forEach(Ql=>{Ro.delete(Ql),bl.push(Ql)}):Ll.forEach(Ql=>{Ro.has(Ql)||(Ro.add(Ql),bl.push(Ql))});const aa=Array.from(Ro);cr==null||cr(!jo,aa.map(Ql=>ko(Ql)),bl.map(Ql=>ko(Ql))),yl(aa,"all"),oc(null)};let Al;if(Ri!=="radio"){let bl;if(du){const fs={getPopupContainer:yo,items:du.map((ql,Pc)=>{const{key:Md,text:bd,onSelect:Tc}=ql;return{key:Md!=null?Md:Pc,onClick:()=>{Tc==null||Tc(Ll)},label:bd}})};bl=ve.createElement("div",{className:`${ro}-selection-extra`},ve.createElement(On.Z,{menu:fs,getPopupContainer:yo},ve.createElement("span",null,ve.createElement(mc.Z,null))))}const aa=Ga.map((fs,ql)=>{const Pc=ls(fs,ql),Md=ms.get(Pc)||{};return Object.assign({checked:Ro.has(Pc)},Md)}).filter(fs=>{let{disabled:ql}=fs;return ql}),Ql=!!aa.length&&aa.length===Ga.length,yc=Ql&&aa.every(fs=>{let{checked:ql}=fs;return ql}),_u=Ql&&aa.some(fs=>{let{checked:ql}=fs;return ql});Al=!Ra&&ve.createElement("div",{className:`${ro}-selection`},ve.createElement(vr.default,{checked:Ql?yc:!!Ga.length&&jo,indeterminate:Ql?!yc&&_u:!jo&&ws,onChange:nl,disabled:Ga.length===0||Ql,"aria-label":bl?"Custom selection":"Select all",skipGroup:!0}),bl)}let qc;Ri==="radio"?qc=(bl,aa,Ql)=>{const yc=ls(aa,Ql),_u=Ro.has(yc);return{node:ve.createElement(li.ZP,Object.assign({},ms.get(yc),{checked:_u,onClick:fs=>fs.stopPropagation(),onChange:fs=>{Ro.has(yc)||cu(yc,!0,[yc],fs.nativeEvent)}})),checked:_u}}:qc=(bl,aa,Ql)=>{var yc;const _u=ls(aa,Ql),fs=Ro.has(_u),ql=Su.has(_u),Pc=ms.get(_u);let Md;return Fs==="nest"?Md=ql:Md=(yc=Pc==null?void 0:Pc.indeterminate)!==null&&yc!==void 0?yc:ql,{node:ve.createElement(vr.default,Object.assign({},Pc,{indeterminate:Md,checked:fs,skipGroup:!0,onClick:bd=>bd.stopPropagation(),onChange:bd=>{let{nativeEvent:Tc}=bd;const{shiftKey:Gu}=Tc;let vA=-1,Qc=-1;if(Gu&&Da){const Yu=new Set([ks,_u]);Ll.some((Rc,Iu)=>{if(Yu.has(Rc))if(vA===-1)vA=Iu;else return Qc=Iu,!0;return!1})}if(Qc!==-1&&vA!==Qc&&Da){const Yu=Ll.slice(vA,Qc+1),Rc=[];fs?Yu.forEach(Tu=>{Ro.has(Tu)&&(Rc.push(Tu),Ro.delete(Tu))}):Yu.forEach(Tu=>{Ro.has(Tu)||(Rc.push(Tu),Ro.add(Tu))});const Iu=Array.from(Ro);$r==null||$r(!fs,Iu.map(Tu=>ko(Tu)),Rc.map(Tu=>ko(Tu))),yl(Iu,"multiple")}else{const Yu=Rl;if(Da){const Rc=fs?(0,cl._5)(Yu,_u):(0,cl.L0)(Yu,_u);cu(_u,!fs,Rc,Tc)}else{const Rc=(0,ys.S)([].concat((0,mi.Z)(Yu),[_u]),!0,rs,Is),{checkedKeys:Iu,halfCheckedKeys:Tu}=Rc;let rd=Iu;if(fs){const oA=new Set(Iu);oA.delete(_u),rd=(0,ys.S)(Array.from(oA),{checked:!1,halfCheckedKeys:Tu},rs,Is).checkedKeys}cu(_u,!fs,rd,Tc)}}oc(fs?null:_u)}})),checked:fs}};const Vu=(bl,aa,Ql)=>{const{node:yc,checked:_u}=qc(bl,aa,Ql);return _a?_a(_u,aa,Ql,yc):yc};if(!es.includes(gl))if(es.findIndex(bl=>{var aa;return((aa=bl[Sr])===null||aa===void 0?void 0:aa.columnType)==="EXPAND_COLUMN"})===0){const[bl,...aa]=es;es=[bl,gl].concat((0,mi.Z)(aa))}else es=[gl].concat((0,mi.Z)(es));const Pd=es.indexOf(gl);es=es.filter((bl,aa)=>bl!==gl||aa===Pd);const ec=es[Pd-1],Td=es[Pd+1];let to=Za;to===void 0&&((Td==null?void 0:Td.fixed)!==void 0?to=Td.fixed:(ec==null?void 0:ec.fixed)!==void 0&&(to=ec.fixed)),to&&ec&&(($o=ec[Sr])===null||$o===void 0?void 0:$o.columnType)==="EXPAND_COLUMN"&&ec.fixed===void 0&&(ec.fixed=to);const Nc=Re()(`${ro}-selection-col`,{[`${ro}-selection-col-with-dropdown`]:zi&&Ri==="checkbox"}),ZA={fixed:to,width:Yi,className:`${ro}-selection-column`,title:Rt.columnTitle||Al,render:Vu,onCell:Rt.onCell,[Sr]:{className:Nc}};return es.map(bl=>bl===gl?ZA:bl)},[ls,Ga,Rt,Rl,Bu,Su,Yi,du,Fs,ks,ms,$r,cu,Is]),Bu]},ku=de(89489),qu=de(59477),Hc=de(6848);const Cu="ascend",nA="descend";function kd(Ot){return typeof Ot.sorter=="object"&&typeof Ot.sorter.multiple=="number"?Ot.sorter.multiple:!1}function gd(Ot){return typeof Ot=="function"?Ot:Ot&&typeof Ot=="object"&&Ot.compare?Ot.compare:!1}function uf(Ot,Rt){return Rt?Ot[Ot.indexOf(Rt)+1]:Ot[0]}function ud(Ot,Rt,fn){let En=[];function Jn(Rn,mr){En.push({column:Rn,key:Er(Rn,mr),multiplePriority:kd(Rn),sortOrder:Rn.sortOrder})}return(Ot||[]).forEach((Rn,mr)=>{const hr=vi(mr,fn);Rn.children?("sortOrder"in Rn&&Jn(Rn,hr),En=[].concat((0,mi.Z)(En),(0,mi.Z)(ud(Rn.children,Rt,hr)))):Rn.sorter&&("sortOrder"in Rn?Jn(Rn,hr):Rt&&Rn.defaultSortOrder&&En.push({column:Rn,key:Er(Rn,hr),multiplePriority:kd(Rn),sortOrder:Rn.defaultSortOrder}))}),En}function pA(Ot,Rt,fn,En,Jn,Rn,mr,hr){return(Rt||[]).map((cr,Zr)=>{const hi=vi(Zr,hr);let $r=cr;if($r.sorter){const Yi=$r.sortDirections||Jn,Ri=$r.showSorterTooltip===void 0?mr:$r.showSorterTooltip,zi=Er($r,hi),Za=fn.find(Fs=>{let{key:Ao}=Fs;return Ao===zi}),_a=Za?Za.sortOrder:null,Ra=uf(Yi,_a);let Da;if(cr.sortIcon)Da=cr.sortIcon({sortOrder:_a});else{const Fs=Yi.includes(Cu)&&ve.createElement(qu.Z,{className:Re()(`${Ot}-column-sorter-up`,{active:_a===Cu})}),Ao=Yi.includes(nA)&&ve.createElement(ku.Z,{className:Re()(`${Ot}-column-sorter-down`,{active:_a===nA})});Da=ve.createElement("span",{className:Re()(`${Ot}-column-sorter`,{[`${Ot}-column-sorter-full`]:!!(Fs&&Ao)})},ve.createElement("span",{className:`${Ot}-column-sorter-inner`,"aria-hidden":"true"},Fs,Ao))}const{cancelSort:ro,triggerAsc:Qo,triggerDesc:Jo}=Rn||{};let ko=ro;Ra===nA?ko=Jo:Ra===Cu&&(ko=Qo);const ls=typeof Ri=="object"?Ri:{title:ko};$r=Object.assign(Object.assign({},$r),{className:Re()($r.className,{[`${Ot}-column-sort`]:_a}),title:Fs=>{const Ao=ve.createElement("div",{className:`${Ot}-column-sorters`},ve.createElement("span",{className:`${Ot}-column-title`},ha(cr.title,Fs)),Da);return Ri?ve.createElement(Hc.Z,Object.assign({},ls),Ao):Ao},onHeaderCell:Fs=>{const Ao=cr.onHeaderCell&&cr.onHeaderCell(Fs)||{},Po=Ao.onClick,yo=Ao.onKeyDown;Ao.onClick=ns=>{En({column:cr,key:zi,sortOrder:Ra,multiplePriority:kd(cr)}),Po==null||Po(ns)},Ao.onKeyDown=ns=>{ns.keyCode===Ki.Z.ENTER&&(En({column:cr,key:zi,sortOrder:Ra,multiplePriority:kd(cr)}),yo==null||yo(ns))};const Ba=Ia(cr.title,{}),Bo=Ba==null?void 0:Ba.toString();return _a?Ao["aria-sort"]=_a==="ascend"?"ascending":"descending":Ao["aria-label"]=Bo||"",Ao.className=Re()(Ao.className,`${Ot}-column-has-sorters`),Ao.tabIndex=0,cr.ellipsis&&(Ao.title=(Ba!=null?Ba:"").toString()),Ao}})}return"children"in $r&&($r=Object.assign(Object.assign({},$r),{children:pA(Ot,$r.children,fn,En,Jn,Rn,mr,hi)})),$r})}function lc(Ot){const{column:Rt,sortOrder:fn}=Ot;return{column:Rt,order:fn,field:Rt.dataIndex,columnKey:Rt.key}}function _d(Ot){const Rt=Ot.filter(fn=>{let{sortOrder:En}=fn;return En}).map(lc);return Rt.length===0&&Ot.length?Object.assign(Object.assign({},lc(Ot[Ot.length-1])),{column:void 0}):Rt.length<=1?Rt[0]||{}:Rt}function ki(Ot,Rt,fn){const En=Rt.slice().sort((mr,hr)=>hr.multiplePriority-mr.multiplePriority),Jn=Ot.slice(),Rn=En.filter(mr=>{let{column:{sorter:hr},sortOrder:cr}=mr;return gd(hr)&&cr});return Rn.length?Jn.sort((mr,hr)=>{for(let cr=0;cr{const hr=mr[fn];return hr?Object.assign(Object.assign({},mr),{[fn]:ki(hr,Rt,fn)}):mr}):Jn}function lo(Ot){let{prefixCls:Rt,mergedColumns:fn,onSorterChange:En,sortDirections:Jn,tableLocale:Rn,showSorterTooltip:mr}=Ot;const[hr,cr]=ve.useState(ud(fn,!0)),Zr=ve.useMemo(()=>{let zi=!0;const Za=ud(fn,!1);if(!Za.length)return hr;const _a=[];function Ra(ro){zi?_a.push(ro):_a.push(Object.assign(Object.assign({},ro),{sortOrder:null}))}let Da=null;return Za.forEach(ro=>{Da===null?(Ra(ro),ro.sortOrder&&(ro.multiplePriority===!1?zi=!1:Da=!0)):(Da&&ro.multiplePriority!==!1||(zi=!1),Ra(ro))}),_a},[fn,hr]),hi=ve.useMemo(()=>{const zi=Zr.map(Za=>{let{column:_a,sortOrder:Ra}=Za;return{column:_a,order:Ra}});return{sortColumns:zi,sortColumn:zi[0]&&zi[0].column,sortOrder:zi[0]&&zi[0].order}},[Zr]);function $r(zi){let Za;zi.multiplePriority===!1||!Zr.length||Zr[0].multiplePriority===!1?Za=[zi]:Za=[].concat((0,mi.Z)(Zr.filter(_a=>{let{key:Ra}=_a;return Ra!==zi.key})),[zi]),cr(Za),En(_d(Za),Za)}return[zi=>pA(Rt,zi,Zr,$r,Jn,Rn,mr),Zr,hi,()=>_d(Zr)]}function fi(Ot,Rt){return Ot.map(fn=>{const En=Object.assign({},fn);return En.title=ha(fn.title,Rt),"children"in En&&(En.children=fi(En.children,Rt)),En})}function To(Ot){return[ve.useCallback(fn=>fi(fn,Ot),[Ot])]}var ds=$a((Ot,Rt)=>{const{_renderTimes:fn}=Ot,{_renderTimes:En}=Rt;return fn!==En}),mu=vo((Ot,Rt)=>{const{_renderTimes:fn}=Ot,{_renderTimes:En}=Rt;return fn!==En}),gu=de(64993),_l=de(17313),Bc=de(83116),Lc=de(37613),dl=Ot=>{const{componentCls:Rt}=Ot,fn=`${Ot.lineWidth}px ${Ot.lineType} ${Ot.tableBorderColor}`,En=(Jn,Rn,mr)=>({[`&${Rt}-${Jn}`]:{[`> ${Rt}-container`]:{[`> ${Rt}-content, > ${Rt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Rt}-expanded-row-fixed`]:{margin:`-${Rn}px -${mr+Ot.lineWidth}px`}}}}}});return{[`${Rt}-wrapper`]:{[`${Rt}${Rt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Rt}-title`]:{border:fn,borderBottom:0},[`> ${Rt}-container`]:{borderInlineStart:fn,borderTop:fn,[` > ${Rt}-content, > ${Rt}-header, > ${Rt}-body, > ${Rt}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:fn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:fn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Rt}-cell-fix-right-first::after`]:{borderInlineEnd:fn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Rt}-expanded-row-fixed`]:{margin:`-${Ot.tablePaddingVertical}px -${Ot.tablePaddingHorizontal+Ot.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ot.lineWidth,bottom:0,borderInlineEnd:fn,content:'""'}}}}}},[`&${Rt}-scroll-horizontal`]:{[`> ${Rt}-container > ${Rt}-body`]:{"> table > tbody":{[` > tr${Rt}-expanded-row, > tr${Rt}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},En("middle",Ot.tablePaddingVerticalMiddle,Ot.tablePaddingHorizontalMiddle)),En("small",Ot.tablePaddingVerticalSmall,Ot.tablePaddingHorizontalSmall)),{[`> ${Rt}-footer`]:{border:fn,borderTop:0}}),[`${Rt}-cell`]:{[`${Rt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ot.lineWidth}px 0 ${Ot.lineWidth}px ${Ot.tableHeaderBg}`}},[`${Rt}-bordered ${Rt}-cell-scrollbar`]:{borderInlineEnd:fn}}}},Ms=Ot=>{const{componentCls:Rt}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-cell-ellipsis`]:Object.assign(Object.assign({},_l.vS),{wordBreak:"keep-all",[` &${Rt}-cell-fix-left-last, &${Rt}-cell-fix-right-first `]:{overflow:"visible",[`${Rt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Rt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},gc=Ot=>{const{componentCls:Rt}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-tbody > tr${Rt}-placeholder`]:{textAlign:"center",color:Ot.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ot.colorBgContainer}}}}},Zu=de(15969),vd=Ot=>{const{componentCls:Rt,antCls:fn,controlInteractiveSize:En,motionDurationSlow:Jn,lineWidth:Rn,paddingXS:mr,lineType:hr,tableBorderColor:cr,tableExpandIconBg:Zr,tableExpandColumnWidth:hi,borderRadius:$r,fontSize:Yi,fontSizeSM:Ri,lineHeight:zi,tablePaddingVertical:Za,tablePaddingHorizontal:_a,tableExpandedRowBg:Ra,paddingXXS:Da}=Ot,ro=En/2-Rn,Qo=ro*2+Rn*3,Jo=`${Rn}px ${hr} ${cr}`,ko=Da-Rn;return{[`${Rt}-wrapper`]:{[`${Rt}-expand-icon-col`]:{width:hi},[`${Rt}-row-expand-icon-cell`]:{textAlign:"center",[`${Rt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Rt}-row-indent`]:{height:1,float:"left"},[`${Rt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Zu.N)(Ot)),{position:"relative",float:"left",boxSizing:"border-box",width:Qo,height:Qo,padding:0,color:"inherit",lineHeight:`${Qo}px`,background:Zr,border:Jo,borderRadius:$r,transform:`scale(${En/Qo})`,transition:`all ${Jn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Jn} ease-out`,content:'""'},"&::before":{top:ro,insetInlineEnd:ko,insetInlineStart:ko,height:Rn},"&::after":{top:ko,bottom:ko,insetInlineStart:ro,width:Rn,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"}}),[`${Rt}-row-indent + ${Rt}-row-expand-icon`]:{marginTop:(Yi*zi-Rn*3)/2-Math.ceil((Ri*1.4-Rn*3)/2),marginInlineEnd:mr},[`tr${Rt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ra}},[`${fn}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Rt}-expanded-row-fixed`]:{position:"relative",margin:`-${Za}px -${_a}px`,padding:`${Za}px ${_a}px`}}}},ac=Ot=>{const{componentCls:Rt,antCls:fn,iconCls:En,tableFilterDropdownWidth:Jn,tableFilterDropdownSearchWidth:Rn,paddingXXS:mr,paddingXS:hr,colorText:cr,lineWidth:Zr,lineType:hi,tableBorderColor:$r,tableHeaderIconColor:Yi,fontSizeSM:Ri,tablePaddingHorizontal:zi,borderRadius:Za,motionDurationSlow:_a,colorTextDescription:Ra,colorPrimary:Da,tableHeaderFilterActiveBg:ro,colorTextDisabled:Qo,tableFilterDropdownBg:Jo,tableFilterDropdownHeight:ko,controlItemBgHover:ls,controlItemBgActive:Fs,boxShadowSecondary:Ao,filterDropdownMenuBg:Po}=Ot,yo=`${fn}-dropdown`,Ba=`${Rt}-filter-dropdown`,Bo=`${fn}-tree`,ns=`${Zr}px ${hi} ${$r}`;return[{[`${Rt}-wrapper`]:{[`${Rt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Rt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-mr,marginInline:`${mr}px ${-zi/2}px`,padding:`0 ${mr}px`,color:Yi,fontSize:Ri,borderRadius:Za,cursor:"pointer",transition:`all ${_a}`,"&:hover":{color:Ra,background:ro},"&.active":{color:Da}}}},{[`${fn}-dropdown`]:{[Ba]:Object.assign(Object.assign({},(0,_l.Wf)(Ot)),{minWidth:Jn,backgroundColor:Jo,borderRadius:Za,boxShadow:Ao,overflow:"hidden",[`${yo}-menu`]:{maxHeight:ko,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Po,"&:empty::after":{display:"block",padding:`${hr}px 0`,color:Qo,fontSize:Ri,textAlign:"center",content:'"Not Found"'}},[`${Ba}-tree`]:{paddingBlock:`${hr}px 0`,paddingInline:hr,[Bo]:{padding:0},[`${Bo}-treenode ${Bo}-node-content-wrapper:hover`]:{backgroundColor:ls},[`${Bo}-treenode-checkbox-checked ${Bo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Fs}}},[`${Ba}-search`]:{padding:hr,borderBottom:ns,"&-input":{input:{minWidth:Rn},[En]:{color:Qo}}},[`${Ba}-checkall`]:{width:"100%",marginBottom:mr,marginInlineStart:mr},[`${Ba}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${hr-Zr}px ${hr}px`,overflow:"hidden",borderTop:ns}})}},{[`${fn}-dropdown ${Ba}, ${Ba}-submenu`]:{[`${fn}-checkbox-wrapper + span`]:{paddingInlineStart:hr,color:cr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Nu=Ot=>{const{componentCls:Rt,lineWidth:fn,colorSplit:En,motionDurationSlow:Jn,zIndexTableFixed:Rn,tableBg:mr,zIndexTableSticky:hr}=Ot,cr=En;return{[`${Rt}-wrapper`]:{[` ${Rt}-cell-fix-left, ${Rt}-cell-fix-right `]:{position:"sticky !important",zIndex:Rn,background:mr},[` ${Rt}-cell-fix-left-first::after, ${Rt}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-fn,width:30,transform:"translateX(100%)",transition:`box-shadow ${Jn}`,content:'""',pointerEvents:"none"},[`${Rt}-cell-fix-left-all::after`]:{display:"none"},[` ${Rt}-cell-fix-right-first::after, ${Rt}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-fn,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Jn}`,content:'""',pointerEvents:"none"},[`${Rt}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:hr+1,width:30,transition:`box-shadow ${Jn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Rt}-ping-left`]:{[`&:not(${Rt}-has-fix-left) ${Rt}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${cr}`}},[` ${Rt}-cell-fix-left-first::after, ${Rt}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${cr}`},[`${Rt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Rt}-ping-right`]:{[`&:not(${Rt}-has-fix-right) ${Rt}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${cr}`}},[` ${Rt}-cell-fix-right-first::after, ${Rt}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${cr}`}}}}},$u=Ot=>{const{componentCls:Rt,antCls:fn}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-pagination${fn}-pagination`]:{margin:`${Ot.margin}px 0`},[`${Rt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ot.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Oc=Ot=>{const{componentCls:Rt,tableRadius:fn}=Ot;return{[`${Rt}-wrapper`]:{[Rt]:{[`${Rt}-title, ${Rt}-header`]:{borderRadius:`${fn}px ${fn}px 0 0`},[`${Rt}-title + ${Rt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Rt}-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:fn,borderStartEndRadius:fn,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:fn},"> *:last-child":{borderStartEndRadius:fn}}},"&-footer":{borderRadius:`0 0 ${fn}px ${fn}px`}}}}},nh=Ot=>{const{componentCls:Rt}=Ot;return{[`${Rt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Rt}-pagination-left`]:{justifyContent:"flex-end"},[`${Rt}-pagination-right`]:{justifyContent:"flex-start"},[`${Rt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Rt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Rt}-row-indent`]:{float:"right"}}}}},Bh=Ot=>{const{componentCls:Rt,antCls:fn,iconCls:En,fontSizeIcon:Jn,padding:Rn,paddingXS:mr,tableHeaderIconColor:hr,tableHeaderIconColorHover:cr,tableSelectionColumnWidth:Zr}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-selection-col`]:{width:Zr,[`&${Rt}-selection-col-with-dropdown`]:{width:Zr+Jn+Rn/4}},[`${Rt}-bordered ${Rt}-selection-col`]:{width:Zr+mr*2,[`&${Rt}-selection-col-with-dropdown`]:{width:Zr+Jn+Rn/4+mr*2}},[` table tr th${Rt}-selection-column, table tr td${Rt}-selection-column `]:{paddingInlineEnd:Ot.paddingXS,paddingInlineStart:Ot.paddingXS,textAlign:"center",[`${fn}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Rt}-selection-column${Rt}-cell-fix-left`]:{zIndex:Ot.zIndexTableFixed+1},[`table tr th${Rt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Rt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Rt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ot.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ot.tablePaddingHorizontal/4}px`,[En]:{color:hr,fontSize:Jn,verticalAlign:"baseline","&:hover":{color:cr}}}}}},zA=Ot=>{const{componentCls:Rt}=Ot,fn=(En,Jn,Rn,mr)=>({[`${Rt}${Rt}-${En}`]:{fontSize:mr,[` ${Rt}-title, ${Rt}-footer, ${Rt}-cell, ${Rt}-thead > tr > th, ${Rt}-tbody > tr > th, ${Rt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${Jn}px ${Rn}px`},[`${Rt}-filter-trigger`]:{marginInlineEnd:`-${Rn/2}px`},[`${Rt}-expanded-row-fixed`]:{margin:`-${Jn}px -${Rn}px`},[`${Rt}-tbody`]:{[`${Rt}-wrapper:only-child ${Rt}`]:{marginBlock:`-${Jn}px`,marginInline:`${Ot.tableExpandColumnWidth-Rn}px -${Rn}px`}},[`${Rt}-selection-column`]:{paddingInlineStart:`${Rn/4}px`}}});return{[`${Rt}-wrapper`]:Object.assign(Object.assign({},fn("middle",Ot.tablePaddingVerticalMiddle,Ot.tablePaddingHorizontalMiddle,Ot.tableFontSizeMiddle)),fn("small",Ot.tablePaddingVerticalSmall,Ot.tablePaddingHorizontalSmall,Ot.tableFontSizeSmall))}},mA=Ot=>{const{componentCls:Rt,marginXXS:fn,fontSizeIcon:En,tableHeaderIconColor:Jn,tableHeaderIconColorHover:Rn}=Ot;return{[`${Rt}-wrapper`]:{[`${Rt}-thead th${Rt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ot.motionDurationSlow}`,"&:hover":{background:Ot.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ot.colorPrimary},[` &${Rt}-cell-fix-left:hover, &${Rt}-cell-fix-right:hover `]:{background:Ot.tableFixedHeaderSortActiveBg}},[`${Rt}-thead th${Rt}-column-sort`]:{background:Ot.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Rt}-column-sort`]:{background:Ot.tableBodySortBg},[`${Rt}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Rt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Rt}-column-sorter`]:{marginInlineStart:fn,color:Jn,fontSize:0,transition:`color ${Ot.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:En,"&.active":{color:Ot.colorPrimary}},[`${Rt}-column-sorter-up + ${Rt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Rt}-column-sorters:hover ${Rt}-column-sorter`]:{color:Rn}}}},Jc=Ot=>{const{componentCls:Rt,opacityLoading:fn,tableScrollThumbBg:En,tableScrollThumbBgHover:Jn,tableScrollThumbSize:Rn,tableScrollBg:mr,zIndexTableSticky:hr,stickyScrollBarBorderRadius:cr}=Ot,Zr=`${Ot.lineWidth}px ${Ot.lineType} ${Ot.tableBorderColor}`;return{[`${Rt}-wrapper`]:{[`${Rt}-sticky`]:{"&-holder":{position:"sticky",zIndex:hr,background:Ot.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Rn}px !important`,zIndex:hr,display:"flex",alignItems:"center",background:mr,borderTop:Zr,opacity:fn,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Rn,backgroundColor:En,borderRadius:cr,transition:`all ${Ot.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Jn}}}}}}},iA=Ot=>{const{componentCls:Rt,lineWidth:fn,tableBorderColor:En}=Ot,Jn=`${fn}px ${Ot.lineType} ${En}`;return{[`${Rt}-wrapper`]:{[`${Rt}-summary`]:{position:"relative",zIndex:Ot.zIndexTableFixed,background:Ot.tableBg,"> tr":{"> th, > td":{borderBottom:Jn}}},[`div${Rt}-summary`]:{boxShadow:`0 -${fn}px 0 ${En}`}}}},WA=Ot=>{const{componentCls:Rt}=Ot,fn=`${Ot.lineWidth}px ${Ot.lineType} ${Ot.tableBorderColor}`,En=`${Rt}-expanded-row-cell`;return{[`${Rt}-wrapper`]:{[`${Rt}-tbody-virtual`]:{[`${Rt}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Rt}-cell`]:{borderBottom:fn},[`${Rt}-expanded-row`]:{[`${En}${En}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ot.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Rt}-bordered`]:{[`${Rt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:fn,position:"absolute"},[`${Rt}-cell`]:{borderInlineEnd:fn,[`&${Rt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ot.lineWidth,borderInlineStart:fn}}}}}}};const nd=Ot=>{const{componentCls:Rt,fontWeightStrong:fn,tablePaddingVertical:En,tablePaddingHorizontal:Jn,lineWidth:Rn,lineType:mr,tableBorderColor:hr,tableFontSize:cr,tableBg:Zr,tableRadius:hi,tableHeaderTextColor:$r,motionDurationMid:Yi,tableHeaderBg:Ri,tableHeaderCellSplitColor:zi,tableRowHoverBg:Za,tableSelectedRowBg:_a,tableSelectedRowHoverBg:Ra,tableFooterTextColor:Da,tableFooterBg:ro,paddingContentVerticalLG:Qo}=Ot,Jo=`${Rn}px ${mr} ${hr}`;return{[`${Rt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,_l.dF)()),{[Rt]:Object.assign(Object.assign({},(0,_l.Wf)(Ot)),{fontSize:cr,background:Zr,borderRadius:`${hi}px ${hi}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${hi}px ${hi}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${Rt}-cell, ${Rt}-thead > tr > th, ${Rt}-tbody > tr > th, ${Rt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${Qo}px ${Jn}px`,overflowWrap:"break-word"},[`${Rt}-title`]:{padding:`${En}px ${Jn}px`},[`${Rt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:$r,fontWeight:fn,textAlign:"start",background:Ri,borderBottom:Jo,transition:`background ${Yi} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Rt}-selection-column):not(${Rt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:zi,transform:"translateY(-50%)",transition:`background-color ${Yi}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Rt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Yi}, border-color ${Yi}`,borderBottom:Jo,[` > ${Rt}-wrapper:only-child, > ${Rt}-expanded-row-fixed > ${Rt}-wrapper:only-child `]:{[Rt]:{marginBlock:`-${En}px`,marginInline:`${Ot.tableExpandColumnWidth-Jn}px -${Jn}px`,[`${Rt}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:$r,fontWeight:fn,textAlign:"start",background:Ri,borderBottom:Jo,transition:`background ${Yi} ease`},[` &${Rt}-row:hover > th, &${Rt}-row:hover > td, > th${Rt}-cell-row-hover, > td${Rt}-cell-row-hover `]:{background:Za},[`&${Rt}-row-selected`]:{"> th, > td":{background:_a},"&:hover > th, &:hover > td":{background:Ra}}}},[`${Rt}-footer`]:{padding:`${En}px ${Jn}px`,color:Da,background:ro}})}};var gA=(0,Bc.Z)("Table",Ot=>{const{colorTextHeading:Rt,colorSplit:fn,colorIcon:En,colorIconHover:Jn,opacityLoading:Rn,colorBgContainer:mr,controlInteractiveSize:hr,headerBg:cr,headerColor:Zr,headerSortActiveBg:hi,headerSortHoverBg:$r,bodySortBg:Yi,rowHoverBg:Ri,rowSelectedBg:zi,rowSelectedHoverBg:Za,rowExpandedBg:_a,cellPaddingBlock:Ra,cellPaddingInline:Da,cellPaddingBlockMD:ro,cellPaddingInlineMD:Qo,cellPaddingBlockSM:Jo,cellPaddingInlineSM:ko,borderColor:ls,footerBg:Fs,footerColor:Ao,headerBorderRadius:Po,cellFontSize:yo,cellFontSizeMD:Ba,cellFontSizeSM:Bo,headerSplitColor:ns,fixedHeaderSortActiveBg:Ys,headerFilterHoverBg:rs,filterDropdownBg:Ga,expandIconBg:ms,selectionColumnWidth:Is,stickyScrollBarBg:Rl}=Ot,Ml=new gu.C(En),Bu=new gu.C(Jn),Su=2,ks=(0,Lc.TS)(Ot,{tableFontSize:yo,tableBg:mr,tableRadius:Po,tablePaddingVertical:Ra,tablePaddingHorizontal:Da,tablePaddingVerticalMiddle:ro,tablePaddingHorizontalMiddle:Qo,tablePaddingVerticalSmall:Jo,tablePaddingHorizontalSmall:ko,tableBorderColor:ls,tableHeaderTextColor:Zr,tableHeaderBg:cr,tableFooterTextColor:Ao,tableFooterBg:Fs,tableHeaderCellSplitColor:ns,tableHeaderSortBg:hi,tableHeaderSortHoverBg:$r,tableHeaderIconColor:Ml.clone().setAlpha(Ml.getAlpha()*Rn).toRgbString(),tableHeaderIconColorHover:Bu.clone().setAlpha(Bu.getAlpha()*Rn).toRgbString(),tableBodySortBg:Yi,tableFixedHeaderSortActiveBg:Ys,tableHeaderFilterActiveBg:rs,tableFilterDropdownBg:Ga,tableRowHoverBg:Ri,tableSelectedRowBg:zi,tableSelectedRowHoverBg:Za,zIndexTableFixed:Su,zIndexTableSticky:Su+1,tableFontSizeMiddle:Ba,tableFontSizeSmall:Bo,tableSelectionColumnWidth:Is,tableExpandIconBg:ms,tableExpandColumnWidth:hr+2*Ot.padding,tableExpandedRowBg:_a,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Rl,tableScrollThumbBgHover:Rt,tableScrollBg:fn});return[nd(ks),$u(ks),iA(ks),mA(ks),ac(ks),dl(ks),Oc(ks),vd(ks),iA(ks),gc(ks),Bh(ks),Nu(ks),Jc(ks),Ms(ks),zA(ks),nh(ks),WA(ks)]},Ot=>{const{colorFillAlter:Rt,colorBgContainer:fn,colorTextHeading:En,colorFillSecondary:Jn,colorFillContent:Rn,controlItemBgActive:mr,controlItemBgActiveHover:hr,padding:cr,paddingSM:Zr,paddingXS:hi,colorBorderSecondary:$r,borderRadiusLG:Yi,fontSize:Ri,controlHeight:zi,colorTextPlaceholder:Za}=Ot,_a=new gu.C(Jn).onBackground(fn).toHexShortString(),Ra=new gu.C(Rn).onBackground(fn).toHexShortString(),Da=new gu.C(Rt).onBackground(fn).toHexShortString();return{headerBg:Da,headerColor:En,headerSortActiveBg:_a,headerSortHoverBg:Ra,bodySortBg:Da,rowHoverBg:Da,rowSelectedBg:mr,rowSelectedHoverBg:hr,rowExpandedBg:Rt,cellPaddingBlock:cr,cellPaddingInline:cr,cellPaddingBlockMD:Zr,cellPaddingInlineMD:hi,cellPaddingBlockSM:hi,cellPaddingInlineSM:hi,borderColor:$r,headerBorderRadius:Yi,footerBg:Da,footerColor:En,cellFontSize:Ri,cellFontSizeMD:Ri,cellFontSizeSM:Ri,headerSplitColor:$r,fixedHeaderSortActiveBg:_a,headerFilterHoverBg:Rn,filterDropdownMenuBg:fn,filterDropdownBg:fn,expandIconBg:fn,selectionColumnWidth:zi,stickyScrollBarBg:Za,stickyScrollBarBorderRadius:100}});const rh=[],vf=(Ot,Rt)=>{const{prefixCls:fn,className:En,rootClassName:Jn,style:Rn,size:mr,bordered:hr,dropdownPrefixCls:cr,dataSource:Zr,pagination:hi,rowSelection:$r,rowKey:Yi="key",rowClassName:Ri,columns:zi,children:Za,childrenColumnName:_a,onChange:Ra,getPopupContainer:Da,loading:ro,expandIcon:Qo,expandable:Jo,expandedRowRender:ko,expandIconColumnIndex:ls,indentSize:Fs,scroll:Ao,sortDirections:Po,locale:yo,showSorterTooltip:Ba=!0,virtual:Bo}=Ot,ns=ve.useMemo(()=>zi||Dt(Za),[zi,Za]),Ys=ve.useMemo(()=>ns.some(xl=>xl.responsive),[ns]),rs=(0,as.Z)(Ys),Ga=ve.useMemo(()=>{const xl=new Set(Object.keys(rs).filter(iu=>rs[iu]));return ns.filter(iu=>!iu.responsive||iu.responsive.some(kc=>xl.has(kc)))},[ns,rs]),ms=(0,Fo.Z)(Ot,["className","style","columns"]),{locale:Is=ol.Z,direction:Rl,table:Ml,renderEmpty:Bu,getPrefixCls:Su,getPopupContainer:ks}=ve.useContext(Js.E_),oc=(0,ps.Z)(mr),yl=Object.assign(Object.assign({},Is.Table),yo),cu=Zr||rh,du=Su("table",fn),Fc=Su("dropdown",cr),So=Object.assign({childrenColumnName:_a,expandIconColumnIndex:ls},Jo),{childrenColumnName:$o="children"}=So,es=ve.useMemo(()=>cu.some(xl=>xl==null?void 0:xl[$o])?"nest":ko||Jo&&Jo.expandedRowRender?"row":null,[cu]),Ro={body:ve.useRef()},Ll=ve.useMemo(()=>typeof Yi=="function"?Yi:xl=>xl==null?void 0:xl[Yi],[Yi]),[jo]=Xo(cu,$o,Ll),ws={},nl=function(xl,iu){let kc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var au,bc,_c;const tc=Object.assign(Object.assign({},ws),xl);kc&&((au=ws.resetPagination)===null||au===void 0||au.call(ws),!((bc=tc.pagination)===null||bc===void 0)&&bc.current&&(tc.pagination.current=1),hi&&hi.onChange&&hi.onChange(1,(_c=tc.pagination)===null||_c===void 0?void 0:_c.pageSize)),Ao&&Ao.scrollToFirstRowOnChange!==!1&&Ro.body.current&&(0,Es.Z)(0,{getContainer:()=>Ro.body.current}),Ra==null||Ra(tc.pagination,tc.filters,tc.sorter,{currentDataSource:Fu(ki(cu,tc.sorterStates,$o),tc.filterStates),action:iu})},Al=(xl,iu)=>{nl({sorter:xl,sorterStates:iu},"sort",!1)},[qc,Vu,Pd,ec]=lo({prefixCls:du,mergedColumns:Ga,onSorterChange:Al,sortDirections:Po||["ascend","descend"],tableLocale:yl,showSorterTooltip:Ba}),Td=ve.useMemo(()=>ki(cu,Vu,$o),[cu,Vu]);ws.sorter=ec(),ws.sorterStates=Vu;const to=(xl,iu)=>{nl({filters:xl,filterStates:iu},"filter",!0)},[Nc,ZA,bl]=Io({prefixCls:du,locale:yl,dropdownPrefixCls:Fc,mergedColumns:Ga,onFilterChange:to,getPopupContainer:Da||ks}),aa=Fu(Td,ZA);ws.filters=bl,ws.filterStates=ZA;const Ql=ve.useMemo(()=>{const xl={};return Object.keys(bl).forEach(iu=>{bl[iu]!==null&&(xl[iu]=bl[iu])}),Object.assign(Object.assign({},Pd),{filters:xl})},[Pd,bl]),[yc]=To(Ql),_u=(xl,iu)=>{nl({pagination:Object.assign(Object.assign({},ws.pagination),{current:xl,pageSize:iu})},"paginate")},[fs,ql]=zu(aa.length,_u,hi);ws.pagination=hi===!1?{}:Wo(fs,hi),ws.resetPagination=ql;const Pc=ve.useMemo(()=>{if(hi===!1||!fs.pageSize)return aa;const{current:xl=1,total:iu,pageSize:kc=ml}=fs;return aa.lengthkc?aa.slice((xl-1)*kc,xl*kc):aa:aa.slice((xl-1)*kc,xl*kc)},[!!hi,aa,fs&&fs.current,fs&&fs.pageSize,fs&&fs.total]),[Md,bd]=Jl({prefixCls:du,data:aa,pageData:Pc,getRowKey:Ll,getRecordByKey:jo,expandType:es,childrenColumnName:$o,locale:yl,getPopupContainer:Da||ks},$r),Tc=(xl,iu,kc)=>{let au;return typeof Ri=="function"?au=Re()(Ri(xl,iu,kc)):au=Re()(Ri),Re()({[`${du}-row-selected`]:bd.has(Ll(xl,iu))},au)};So.__PARENT_RENDER_ICON__=So.expandIcon,So.expandIcon=So.expandIcon||Qo||In(yl),es==="nest"&&So.expandIconColumnIndex===void 0?So.expandIconColumnIndex=$r?1:0:So.expandIconColumnIndex>0&&$r&&(So.expandIconColumnIndex-=1),typeof So.indentSize!="number"&&(So.indentSize=typeof Fs=="number"?Fs:15);const Gu=ve.useCallback(xl=>yc(Md(Nc(qc(xl)))),[qc,Nc,Md]);let vA,Qc;if(hi!==!1&&(fs!=null&&fs.total)){let xl;fs.size?xl=fs.size:xl=oc==="small"||oc==="middle"?"small":void 0;const iu=bc=>ve.createElement(fa.Z,Object.assign({},fs,{className:Re()(`${du}-pagination ${du}-pagination-${bc}`,fs.className),size:xl})),kc=Rl==="rtl"?"left":"right",{position:au}=fs;if(au!==null&&Array.isArray(au)){const bc=au.find(bA=>bA.includes("top")),_c=au.find(bA=>bA.includes("bottom")),tc=au.every(bA=>`${bA}`=="none");!bc&&!_c&&!tc&&(Qc=iu(kc)),bc&&(vA=iu(bc.toLowerCase().replace("top",""))),_c&&(Qc=iu(_c.toLowerCase().replace("bottom","")))}else Qc=iu(kc)}let Yu;typeof ro=="boolean"?Yu={spinning:ro}:typeof ro=="object"&&(Yu=Object.assign({spinning:!0},ro));const[Rc,Iu]=gA(du),[,Tu]=(0,ia.Z)(),rd=Re()(`${du}-wrapper`,Ml==null?void 0:Ml.className,{[`${du}-wrapper-rtl`]:Rl==="rtl"},En,Jn,Iu),oA=Object.assign(Object.assign({},Ml==null?void 0:Ml.style),Rn),Rd=yo&&yo.emptyText||(Bu==null?void 0:Bu("Table"))||ve.createElement(Os.Z,{componentName:"Table"}),yA=Bo?mu:ds,VA={},Sh=ve.useMemo(()=>{const{fontSize:xl,lineHeight:iu,padding:kc,paddingXS:au,paddingSM:bc}=Tu,_c=Math.floor(xl*iu);switch(oc){case"large":return kc*2+_c;case"small":return au*2+_c;default:return bc*2+_c}},[Tu,oc]);return Bo&&(VA.listItemHeight=Sh),Rc(ve.createElement("div",{ref:Rt,className:rd,style:oA},ve.createElement(la.Z,Object.assign({spinning:!1},Yu),vA,ve.createElement(yA,Object.assign({},VA,ms,{columns:Ga,direction:Rl,expandable:So,prefixCls:du,className:Re()({[`${du}-middle`]:oc==="middle",[`${du}-small`]:oc==="small",[`${du}-bordered`]:hr,[`${du}-empty`]:cu.length===0}),data:Pc,rowKey:Ll,rowClassName:Tc,emptyText:Rd,internalHooks:Me,internalRefs:Ro,transformColumns:Gu})),Qc)))};var k0=ve.forwardRef(vf);const np=(Ot,Rt)=>{const fn=ve.useRef(0);return fn.current+=1,ve.createElement(k0,Object.assign({},Ot,{ref:Rt,_renderTimes:fn.current}))},uc=ve.forwardRef(np);uc.SELECTION_COLUMN=gl,uc.EXPAND_COLUMN=he,uc.SELECTION_ALL=kl,uc.SELECTION_INVERT=vl,uc.SELECTION_NONE=Vs,uc.Column=Sa,uc.ColumnGroup=Co,uc.Summary=$e;var aA=uc,rp=aA},99313:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return kn}});var he=de(99267),Me=de(18785),He=de(62772),ft=de(92310),Oe=de.n(ft),Le=de(60499),ve=de(18642),Ae=de(85899),xe=de(72190),fe=de(43749),Ke=de(42244),Be=de(59301),_e=de(49658),Ne=de(18929),Qe=de(77900),ke=(0,Be.createContext)(null),Pe=Be.forwardRef(function(Dt,Gt){var Wt=Dt.prefixCls,Kt=Dt.className,on=Dt.style,_n=Dt.id,lr=Dt.active,nr=Dt.tabKey,dr=Dt.children;return Be.createElement("div",{id:_n&&"".concat(_n,"-panel-").concat(nr),role:"tabpanel",tabIndex:lr?0:-1,"aria-labelledby":_n&&"".concat(_n,"-tab-").concat(nr),"aria-hidden":!lr,style:on,className:Oe()(Wt,lr&&"".concat(Wt,"-active"),Kt),ref:Gt},dr)}),Te=Pe,Ye=["key","forceRender","style","className"];function ze(Dt){var Gt=Dt.id,Wt=Dt.activeKey,Kt=Dt.animated,on=Dt.tabPosition,_n=Dt.destroyInactiveTabPane,lr=Be.useContext(ke),nr=lr.prefixCls,dr=lr.tabs,Pr=Kt.tabPane,Ur="".concat(nr,"-tabpane");return Be.createElement("div",{className:Oe()("".concat(nr,"-content-holder"))},Be.createElement("div",{className:Oe()("".concat(nr,"-content"),"".concat(nr,"-content-").concat(on),(0,ve.Z)({},"".concat(nr,"-content-animated"),Pr))},dr.map(function(ei){var er=ei.key,kr=ei.forceRender,_i=ei.style,gi=ei.className,ji=(0,Ke.Z)(ei,Ye),Mi=er===Wt;return Be.createElement(Qe.default,(0,Le.Z)({key:er,visible:Mi,forceRender:kr,removeOnLeave:!!_n,leavedClassName:"".concat(Ur,"-hidden")},Kt.tabPaneMotion),function(Ca,Jr){var ra=Ca.style,vn=Ca.className;return Be.createElement(Te,(0,Le.Z)({},ji,{prefixCls:Ur,id:Gt,tabKey:er,animated:Pr,active:Mi,style:(0,Ae.Z)((0,Ae.Z)({},_i),ra),className:Oe()(gi,vn),ref:Jr}))})})))}var qe=de(77654),We=de(29301),Ze=de(6089),et=de(8654),rt={width:0,height:0,left:0,top:0};function ht(Dt,Gt,Wt){return(0,Be.useMemo)(function(){for(var Kt,on=new Map,_n=Gt.get((Kt=Dt[0])===null||Kt===void 0?void 0:Kt.key)||rt,lr=_n.left+_n.width,nr=0;nrTi?(si=Ir,gr.current="x"):(si=Fr,gr.current="y"),Gt(-si,-si)&&br.preventDefault()}var jr=(0,Be.useRef)(null);jr.current={onTouchStart:Jr,onTouchMove:ra,onTouchEnd:vn,onWheel:Ar},Be.useEffect(function(){function br(bi){jr.current.onTouchStart(bi)}function Ir(bi){jr.current.onTouchMove(bi)}function Fr(bi){jr.current.onTouchEnd(bi)}function si(bi){jr.current.onWheel(bi)}return document.addEventListener("touchmove",Ir,{passive:!1}),document.addEventListener("touchend",Fr,{passive:!1}),Dt.current.addEventListener("touchstart",br,{passive:!1}),Dt.current.addEventListener("wheel",si),function(){document.removeEventListener("touchmove",Ir),document.removeEventListener("touchend",Fr)}},[])}var Et=de(34280);function bt(Dt){var Gt=(0,Be.useState)(0),Wt=(0,xe.Z)(Gt,2),Kt=Wt[0],on=Wt[1],_n=(0,Be.useRef)(0),lr=(0,Be.useRef)();return lr.current=Dt,(0,Et.o)(function(){var nr;(nr=lr.current)===null||nr===void 0||nr.call(lr)},[Kt]),function(){_n.current===Kt&&(_n.current+=1,on(_n.current))}}function Tt(Dt){var Gt=(0,Be.useRef)([]),Wt=(0,Be.useState)({}),Kt=(0,xe.Z)(Wt,2),on=Kt[1],_n=(0,Be.useRef)(typeof Dt=="function"?Dt():Dt),lr=bt(function(){var dr=_n.current;Gt.current.forEach(function(Pr){dr=Pr(dr)}),Gt.current=[],_n.current=dr,on({})});function nr(dr){Gt.current.push(dr),lr()}return[_n.current,nr]}var wt={width:0,height:0,left:0,top:0,right:0};function it(Dt,Gt,Wt,Kt,on,_n,lr){var nr=lr.tabs,dr=lr.tabPosition,Pr=lr.rtl,Ur,ei,er;return["top","bottom"].includes(dr)?(Ur="width",ei=Pr?"right":"left",er=Math.abs(Wt)):(Ur="height",ei="top",er=-Wt),(0,Be.useMemo)(function(){if(!nr.length)return[0,0];for(var kr=nr.length,_i=kr,gi=0;gier+Gt){_i=gi-1;break}}for(var Mi=0,Ca=kr-1;Ca>=0;Ca-=1){var Jr=Dt.get(nr[Ca].key)||wt;if(Jr[ei]=_i?[0,0]:[Mi,_i]},[Dt,Gt,Kt,on,_n,er,dr,nr.map(function(kr){return kr.key}).join("_"),Pr])}function Ue(Dt){var Gt;return Dt instanceof Map?(Gt={},Dt.forEach(function(Wt,Kt){Gt[Kt]=Wt})):Gt=Dt,JSON.stringify(Gt)}var at="TABS_DQ";function Xt(Dt){return String(Dt).replace(/"/g,at)}function Vt(Dt,Gt,Wt,Kt){return!(!Wt||Kt||Dt===!1||Dt===void 0&&(Gt===!1||Gt===null))}function xt(Dt,Gt){var Wt=Dt.prefixCls,Kt=Dt.editable,on=Dt.locale,_n=Dt.style;return!Kt||Kt.showAdd===!1?null:Be.createElement("button",{ref:Gt,type:"button",className:"".concat(Wt,"-nav-add"),style:_n,"aria-label":(on==null?void 0:on.addAriaLabel)||"Add tab",onClick:function(nr){Kt.onEdit("add",{event:nr})}},Kt.addIcon||"+")}var Qt=Be.forwardRef(xt),An=Be.forwardRef(function(Dt,Gt){var Wt=Dt.position,Kt=Dt.prefixCls,on=Dt.extra;if(!on)return null;var _n,lr={};return(0,fe.Z)(on)==="object"&&!Be.isValidElement(on)?lr=on:lr.right=on,Wt==="right"&&(_n=lr.right),Wt==="left"&&(_n=lr.left),_n?Be.createElement("div",{className:"".concat(Kt,"-extra-content"),ref:Gt},_n):null}),Tn=An,dn=de(31561),Gn=de(15285),Cn=de(10228);function mn(Dt,Gt){var Wt=Dt.prefixCls,Kt=Dt.id,on=Dt.tabs,_n=Dt.locale,lr=Dt.mobile,nr=Dt.moreIcon,dr=nr===void 0?"More":nr,Pr=Dt.moreTransitionName,Ur=Dt.style,ei=Dt.className,er=Dt.editable,kr=Dt.tabBarGutter,_i=Dt.rtl,gi=Dt.removeAriaLabel,ji=Dt.onTabClick,Mi=Dt.getPopupContainer,Ca=Dt.popupClassName,Jr=(0,Be.useState)(!1),ra=(0,xe.Z)(Jr,2),vn=ra[0],gr=ra[1],Ar=(0,Be.useState)(null),jr=(0,xe.Z)(Ar,2),br=jr[0],Ir=jr[1],Fr="".concat(Kt,"-more-popup"),si="".concat(Wt,"-dropdown"),bi=br!==null?"".concat(Fr,"-").concat(br):null,Ti=_n==null?void 0:_n.dropdownAriaLabel;function Pa(ta,ui){ta.preventDefault(),ta.stopPropagation(),er.onEdit("remove",{key:ui,event:ta})}var Ka=Be.createElement(Gn.ZP,{onClick:function(ui){var za=ui.key,no=ui.domEvent;ji(za,no),gr(!1)},prefixCls:"".concat(si,"-menu"),id:Fr,tabIndex:-1,role:"listbox","aria-activedescendant":bi,selectedKeys:[br],"aria-label":Ti!==void 0?Ti:"expanded dropdown"},on.map(function(ta){var ui=ta.closable,za=ta.disabled,no=ta.closeIcon,La=ta.key,xo=ta.label,os=Vt(ui,no,er,za);return Be.createElement(Gn.sN,{key:La,id:"".concat(Fr,"-").concat(La),role:"option","aria-controls":Kt&&"".concat(Kt,"-panel-").concat(La),disabled:za},Be.createElement("span",null,xo),os&&Be.createElement("button",{type:"button","aria-label":gi||"remove",tabIndex:0,className:"".concat(si,"-menu-item-remove"),onClick:function(Ii){Ii.stopPropagation(),Pa(Ii,La)}},no||er.removeIcon||"\xD7"))}));function $a(ta){for(var ui=on.filter(function(os){return!os.disabled}),za=ui.findIndex(function(os){return os.key===br})||0,no=ui.length,La=0;Laso?"left":"right"})}),Ti=(0,xe.Z)(bi,2),Pa=Ti[0],Ka=Ti[1],$a=dt(0,function(Na,so){!si&&Jr&&Jr({direction:Na>so?"top":"bottom"})}),Ua=(0,xe.Z)($a,2),Fa=Ua[0],ho=Ua[1],oo=(0,Be.useState)([0,0]),ta=(0,xe.Z)(oo,2),ui=ta[0],za=ta[1],no=(0,Be.useState)([0,0]),La=(0,xe.Z)(no,2),xo=La[0],os=La[1],Va=(0,Be.useState)([0,0]),Ii=(0,xe.Z)(Va,2),Ci=Ii[0],Ha=Ii[1],Oa=(0,Be.useState)([0,0]),eo=(0,xe.Z)(Oa,2),Lo=eo[0],vo=eo[1],jn=Tt(new Map),Oo=(0,xe.Z)(jn,2),Ks=Oo[0],Sa=Oo[1],ga=ht(_n,Ks,xo[0]),Co=Je(ui,si),Fo=Je(xo,si),Es=Je(Ci,si),Js=Je(Lo,si),Os=Cofa?fa:Na}var ia=(0,Be.useRef)(),Ln=(0,Be.useState)(),In=(0,xe.Z)(Ln,2),Er=In[0],vi=In[1];function ha(){vi(Date.now())}function Ia(){window.clearTimeout(ia.current)}Ht(jr,function(Na,so){function rr(Kn,Ja){Kn(function(pa){var ka=la(pa+Ja);return ka})}return Os?(si?rr(Ka,Na):rr(ho,so),Ia(),ha(),!0):!1}),(0,Be.useEffect)(function(){return Ia(),Er&&(ia.current=window.setTimeout(function(){vi(0)},100)),Ia},[Er]);var va=it(ga,ps,si?Pa:Fa,Fo,Es,Js,(0,Ae.Z)((0,Ae.Z)({},Dt),{},{tabs:_n})),Ji=(0,xe.Z)(va,2),ya=Ji[0],No=Ji[1],Vo=(0,Ze.Z)(function(){var Na=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ur,so=ga.get(Na)||{width:0,height:0,left:0,right:0,top:0};if(si){var rr=Pa;ei?so.rightPa+ps&&(rr=so.right+so.width-ps):so.left<-Pa?rr=-so.left:so.left+so.width>-Pa+ps&&(rr=-(so.left+so.width-ps)),ho(0),Ka(la(rr))}else{var Kn=Fa;so.top<-Fa?Kn=-so.top:so.top+so.height>-Fa+ps&&(Kn=-(so.top+so.height-ps)),Ka(0),ho(la(Kn))}}),cs={};gi==="top"||gi==="bottom"?cs[ei?"marginRight":"marginLeft"]=ji:cs.marginTop=ji;var Mo=_n.map(function(Na,so){var rr=Na.key;return Be.createElement(Fe,{id:dr,prefixCls:on,key:rr,tab:Na,style:so===0?void 0:cs,closable:Na.closable,editable:kr,active:rr===Ur,renderWrapper:Mi,removeAriaLabel:_i==null?void 0:_i.removeAriaLabel,onClick:function(Ja){Ca(rr,Ja)},onFocus:function(){Vo(rr),ha(),jr.current&&(ei||(jr.current.scrollLeft=0),jr.current.scrollTop=0)}})}),ul=function(){return Sa(function(){var so=new Map;return _n.forEach(function(rr){var Kn,Ja=rr.key,pa=(Kn=br.current)===null||Kn===void 0?void 0:Kn.querySelector('[data-node-key="'.concat(Xt(Ja),'"]'));pa&&so.set(Ja,{width:pa.offsetWidth,height:pa.offsetHeight,left:pa.offsetLeft,top:pa.offsetTop})}),so})};(0,Be.useEffect)(function(){ul()},[_n.map(function(Na){return Na.key}).join("_")]);var Ss=bt(function(){var Na=oe(vn),so=oe(gr),rr=oe(Ar);za([Na[0]-so[0]-rr[0],Na[1]-so[1]-rr[1]]);var Kn=oe(Fr);Ha(Kn);var Ja=oe(Ir);vo(Ja);var pa=oe(br);os([pa[0]-Kn[0],pa[1]-Kn[1]]),ul()}),vr=_n.slice(0,ya),On=_n.slice(No+1),Dn=[].concat((0,qe.Z)(vr),(0,qe.Z)(On)),wr=ga.get(Ur),ni=se({activeTabOffset:wr,horizontal:si,rtl:ei,indicatorSize:ra}),li=ni.style;(0,Be.useEffect)(function(){Vo()},[Ur,ol,fa,Ue(wr),Ue(ga),si]),(0,Be.useEffect)(function(){Ss()},[ei]);var Or=!!Dn.length,Hi="".concat(on,"-nav-wrap"),ca,uo,Wa,Ki;return si?ei?(uo=Pa>0,ca=Pa!==fa):(ca=Pa<0,uo=Pa!==ol):(Wa=Fa<0,Ki=Fa!==ol),Be.createElement(We.Z,{onResize:Ss},Be.createElement("div",{ref:(0,et.x1)(Gt,vn),role:"tablist",className:Oe()("".concat(on,"-nav"),lr),style:nr,onKeyDown:function(){ha()}},Be.createElement(Tn,{ref:gr,position:"left",extra:er,prefixCls:on}),Be.createElement(We.Z,{onResize:Ss},Be.createElement("div",{className:Oe()(Hi,(Wt={},(0,ve.Z)(Wt,"".concat(Hi,"-ping-left"),ca),(0,ve.Z)(Wt,"".concat(Hi,"-ping-right"),uo),(0,ve.Z)(Wt,"".concat(Hi,"-ping-top"),Wa),(0,ve.Z)(Wt,"".concat(Hi,"-ping-bottom"),Ki),Wt)),ref:jr},Be.createElement(We.Z,{onResize:Ss},Be.createElement("div",{ref:br,className:"".concat(on,"-nav-list"),style:{transform:"translate(".concat(Pa,"px, ").concat(Fa,"px)"),transition:Er?"none":void 0}},Mo,Be.createElement(Qt,{ref:Fr,prefixCls:on,locale:_i,editable:kr,style:(0,Ae.Z)((0,Ae.Z)({},Mo.length===0?void 0:cs),{},{visibility:Or?"hidden":null})}),Be.createElement("div",{className:Oe()("".concat(on,"-ink-bar"),(0,ve.Z)({},"".concat(on,"-ink-bar-animated"),Pr.inkBar)),style:li}))))),Be.createElement(Bn,(0,Le.Z)({},Dt,{removeAriaLabel:_i==null?void 0:_i.removeAriaLabel,ref:Ir,prefixCls:on,tabs:Dn,className:!Or&&as,tabMoving:!!Er})),Be.createElement(Tn,{ref:Ar,position:"right",extra:er,prefixCls:on})))}var $e=Be.forwardRef(vt),lt=["renderTabBar"],Pt=["label","key"];function _t(Dt){var Gt=Dt.renderTabBar,Wt=(0,Ke.Z)(Dt,lt),Kt=Be.useContext(ke),on=Kt.tabs;if(Gt){var _n=(0,Ae.Z)((0,Ae.Z)({},Wt),{},{panes:on.map(function(lr){var nr=lr.label,dr=lr.key,Pr=(0,Ke.Z)(lr,Pt);return Be.createElement(Te,(0,Le.Z)({tab:nr,key:dr,tabKey:dr},Pr))})});return Gt(_n,$e)}return Be.createElement($e,Wt)}var kt=de(48736);function $t(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Gt;return Dt===!1?Gt={inkBar:!1,tabPane:!1}:Dt===!0?Gt={inkBar:!0,tabPane:!1}:Gt=(0,Ae.Z)({inkBar:!0},(0,fe.Z)(Dt)==="object"?Dt:{}),Gt.tabPaneMotion&&Gt.tabPane===void 0&&(Gt.tabPane=!0),!Gt.tabPaneMotion&&Gt.tabPane&&(Gt.tabPane=!1),Gt}var Sn=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],St=0;function nn(Dt,Gt){var Wt,Kt=Dt.id,on=Dt.prefixCls,_n=on===void 0?"rc-tabs":on,lr=Dt.className,nr=Dt.items,dr=Dt.direction,Pr=Dt.activeKey,Ur=Dt.defaultActiveKey,ei=Dt.editable,er=Dt.animated,kr=Dt.tabPosition,_i=kr===void 0?"top":kr,gi=Dt.tabBarGutter,ji=Dt.tabBarStyle,Mi=Dt.tabBarExtraContent,Ca=Dt.locale,Jr=Dt.moreIcon,ra=Dt.moreTransitionName,vn=Dt.destroyInactiveTabPane,gr=Dt.renderTabBar,Ar=Dt.onChange,jr=Dt.onTabClick,br=Dt.onTabScroll,Ir=Dt.getPopupContainer,Fr=Dt.popupClassName,si=Dt.indicatorSize,bi=(0,Ke.Z)(Dt,Sn),Ti=Be.useMemo(function(){return(nr||[]).filter(function(vo){return vo&&(0,fe.Z)(vo)==="object"&&"key"in vo})},[nr]),Pa=dr==="rtl",Ka=$t(er),$a=(0,Be.useState)(!1),Ua=(0,xe.Z)($a,2),Fa=Ua[0],ho=Ua[1];(0,Be.useEffect)(function(){ho((0,_e.Z)())},[]);var oo=(0,Ne.Z)(function(){var vo;return(vo=Ti[0])===null||vo===void 0?void 0:vo.key},{value:Pr,defaultValue:Ur}),ta=(0,xe.Z)(oo,2),ui=ta[0],za=ta[1],no=(0,Be.useState)(function(){return Ti.findIndex(function(vo){return vo.key===ui})}),La=(0,xe.Z)(no,2),xo=La[0],os=La[1];(0,Be.useEffect)(function(){var vo=Ti.findIndex(function(Oo){return Oo.key===ui});if(vo===-1){var jn;vo=Math.max(0,Math.min(xo,Ti.length-1)),za((jn=Ti[vo])===null||jn===void 0?void 0:jn.key)}os(vo)},[Ti.map(function(vo){return vo.key}).join("_"),ui,xo]);var Va=(0,Ne.Z)(null,{value:Kt}),Ii=(0,xe.Z)(Va,2),Ci=Ii[0],Ha=Ii[1];(0,Be.useEffect)(function(){Kt||(Ha("rc-tabs-".concat(St)),St+=1)},[]);function Oa(vo,jn){jr==null||jr(vo,jn);var Oo=vo!==ui;za(vo),Oo&&(Ar==null||Ar(vo))}var eo={id:Ci,activeKey:ui,animated:Ka,tabPosition:_i,rtl:Pa,mobile:Fa},Lo=(0,Ae.Z)((0,Ae.Z)({},eo),{},{editable:ei,locale:Ca,moreIcon:Jr,moreTransitionName:ra,tabBarGutter:gi,onTabClick:Oa,onTabScroll:br,extra:Mi,style:ji,panes:null,getPopupContainer:Ir,popupClassName:Fr,indicatorSize:si});return Be.createElement(ke.Provider,{value:{tabs:Ti,prefixCls:_n}},Be.createElement("div",(0,Le.Z)({ref:Gt,id:Kt,className:Oe()(_n,"".concat(_n,"-").concat(_i),(Wt={},(0,ve.Z)(Wt,"".concat(_n,"-mobile"),Fa),(0,ve.Z)(Wt,"".concat(_n,"-editable"),ei),(0,ve.Z)(Wt,"".concat(_n,"-rtl"),Pa),Wt),lr)},bi),Be.createElement(_t,(0,Le.Z)({},Lo,{renderTabBar:gr})),Be.createElement(ze,(0,Le.Z)({destroyInactiveTabPane:vn},eo,{animated:Ka}))))}var tn=Be.forwardRef(nn),jt=tn,pt=jt,Zt=de(36355),gn=de(19716),Xn=()=>null,yr=de(62892);const Dr={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Tr(Dt){let Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Wt;return Gt===!1?Wt={inkBar:!1,tabPane:!1}:Gt===!0?Wt={inkBar:!0,tabPane:!0}:Wt=Object.assign({inkBar:!0},typeof Gt=="object"?Gt:{}),Wt.tabPane&&(Wt.tabPaneMotion=Object.assign(Object.assign({},Dr),{motionName:(0,yr.m)(Dt,"switch")})),Wt}var Rr=de(11592),Sr=function(Dt,Gt){var Wt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Gt.indexOf(Kt)<0&&(Wt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,Kt=Object.getOwnPropertySymbols(Dt);onGt)}function Vr(Dt,Gt){if(Dt)return Dt;const Wt=(0,Rr.Z)(Gt).map(Kt=>{if(Be.isValidElement(Kt)){const{key:on,props:_n}=Kt,lr=_n||{},{tab:nr}=lr,dr=Sr(lr,["tab"]);return Object.assign(Object.assign({key:String(on)},dr),{label:nr})}return null});return fr(Wt)}var Bi=de(17313),yi=de(83116),mi=de(37613),Vi=de(13826),Wr=Dt=>{const{componentCls:Gt,motionDurationSlow:Wt}=Dt;return[{[Gt]:{[`${Gt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Wt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Wt}`}}}}},[(0,Vi.oN)(Dt,"slide-up"),(0,Vi.oN)(Dt,"slide-down")]]};const Mn=Dt=>{const{componentCls:Gt,tabsCardPadding:Wt,cardBg:Kt,cardGutter:on,colorBorderSecondary:_n,itemSelectedColor:lr}=Dt;return{[`${Gt}-card`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{margin:0,padding:Wt,background:Kt,border:`${Dt.lineWidth}px ${Dt.lineType} ${_n}`,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`},[`${Gt}-tab-active`]:{color:lr,background:Dt.colorBgContainer},[`${Gt}-ink-bar`]:{visibility:"hidden"}},[`&${Gt}-top, &${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginLeft:{_skip_check_:!0,value:`${on}px`}}}},[`&${Gt}-top`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:`${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0 0`},[`${Gt}-tab-active`]:{borderBottomColor:Dt.colorBgContainer}}},[`&${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:`0 0 ${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px`},[`${Gt}-tab-active`]:{borderTopColor:Dt.colorBgContainer}}},[`&${Gt}-left, &${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginTop:`${on}px`}}},[`&${Gt}-left`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Dt.borderRadiusLG}px 0 0 ${Dt.borderRadiusLG}px`}},[`${Gt}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Dt.colorBgContainer}}}},[`&${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0`}},[`${Gt}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Dt.colorBgContainer}}}}}}},ea=Dt=>{const{componentCls:Gt,itemHoverColor:Wt,dropdownEdgeChildVerticalPadding:Kt}=Dt;return{[`${Gt}-dropdown`]:Object.assign(Object.assign({},(0,Bi.Wf)(Dt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Dt.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Gt}-dropdown-menu`]:{maxHeight:Dt.tabsDropdownHeight,margin:0,padding:`${Kt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Dt.colorBgContainer,backgroundClip:"padding-box",borderRadius:Dt.borderRadiusLG,outline:"none",boxShadow:Dt.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Bi.vS),{display:"flex",alignItems:"center",minWidth:Dt.tabsDropdownWidth,margin:0,padding:`${Dt.paddingXXS}px ${Dt.paddingSM}px`,color:Dt.colorText,fontWeight:"normal",fontSize:Dt.fontSize,lineHeight:Dt.lineHeight,cursor:"pointer",transition:`all ${Dt.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Dt.marginSM},color:Dt.colorTextDescription,fontSize:Dt.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Wt}},"&:hover":{background:Dt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Dt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ea=Dt=>{const{componentCls:Gt,margin:Wt,colorBorderSecondary:Kt,horizontalMargin:on,verticalItemPadding:_n,verticalItemMargin:lr}=Dt;return{[`${Gt}-top, ${Gt}-bottom`]:{flexDirection:"column",[`> ${Gt}-nav, > div > ${Gt}-nav`]:{margin:on,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Dt.lineWidth}px ${Dt.lineType} ${Kt}`,content:"''"},[`${Gt}-ink-bar`]:{height:Dt.lineWidthBold,"&-animated":{transition:`width ${Dt.motionDurationSlow}, left ${Dt.motionDurationSlow}, right ${Dt.motionDurationSlow}`}},[`${Gt}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Dt.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowTabsOverflowRight},[`&${Gt}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Gt}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Gt}-top`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{"&::before":{bottom:0},[`${Gt}-ink-bar`]:{bottom:0}}},[`${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{order:1,marginTop:`${Wt}px`,marginBottom:0,"&::before":{top:0},[`${Gt}-ink-bar`]:{top:0}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{order:0}},[`${Gt}-left, ${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{flexDirection:"column",minWidth:Dt.controlHeight*1.25,[`${Gt}-tab`]:{padding:_n,textAlign:"center"},[`${Gt}-tab + ${Gt}-tab`]:{margin:lr},[`${Gt}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Dt.controlHeight},"&::before":{top:0,boxShadow:Dt.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Dt.boxShadowTabsOverflowBottom},[`&${Gt}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Gt}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Gt}-ink-bar`]:{width:Dt.lineWidthBold,"&-animated":{transition:`height ${Dt.motionDurationSlow}, top ${Dt.motionDurationSlow}`}},[`${Gt}-nav-list, ${Gt}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Gt}-left`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Dt.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`},[`> ${Gt}-content > ${Gt}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Dt.paddingLG}}}},[`${Gt}-right`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{order:1,[`${Gt}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Gt}-content-holder, > div > ${Gt}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Dt.lineWidth},borderRight:{_skip_check_:!0,value:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`},[`> ${Gt}-content > ${Gt}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Dt.paddingLG}}}}}},wo=Dt=>{const{componentCls:Gt,cardPaddingSM:Wt,cardPaddingLG:Kt,horizontalItemPaddingSM:on,horizontalItemPaddingLG:_n}=Dt;return{[Gt]:{"&-small":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:on,fontSize:Dt.titleFontSizeSM}}},"&-large":{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:_n,fontSize:Dt.titleFontSizeLG}}}},[`${Gt}-card`]:{[`&${Gt}-small`]:{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:Wt}},[`&${Gt}-bottom`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:`0 0 ${Dt.borderRadius}px ${Dt.borderRadius}px`}},[`&${Gt}-top`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:`${Dt.borderRadius}px ${Dt.borderRadius}px 0 0`}},[`&${Gt}-right`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Dt.borderRadius}px ${Dt.borderRadius}px 0`}}},[`&${Gt}-left`]:{[`> ${Gt}-nav ${Gt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Dt.borderRadius}px 0 0 ${Dt.borderRadius}px`}}}},[`&${Gt}-large`]:{[`> ${Gt}-nav`]:{[`${Gt}-tab`]:{padding:Kt}}}}}},sa=Dt=>{const{componentCls:Gt,itemActiveColor:Wt,itemHoverColor:Kt,iconCls:on,tabsHorizontalItemMargin:_n,horizontalItemPadding:lr,itemSelectedColor:nr,itemColor:dr}=Dt,Pr=`${Gt}-tab`;return{[Pr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:lr,fontSize:Dt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:dr,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Wt}},(0,Bi.Qy)(Dt)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Dt.marginXXS},marginLeft:{_skip_check_:!0,value:Dt.marginXS},color:Dt.colorTextDescription,fontSize:Dt.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Dt.motionDurationSlow}`,"&:hover":{color:Dt.colorTextHeading}},"&:hover":{color:Kt},[`&${Pr}-active ${Pr}-btn`]:{color:nr,textShadow:Dt.tabsActiveTextShadow},[`&${Pr}-disabled`]:{color:Dt.colorTextDisabled,cursor:"not-allowed"},[`&${Pr}-disabled ${Pr}-btn, &${Pr}-disabled ${Gt}-remove`]:{"&:focus, &:active":{color:Dt.colorTextDisabled}},[`& ${Pr}-remove ${on}`]:{margin:0},[on]:{marginRight:{_skip_check_:!0,value:Dt.marginSM}}},[`${Pr} + ${Pr}`]:{margin:{_skip_check_:!0,value:_n}}}},Pi=Dt=>{const{componentCls:Gt,tabsHorizontalItemMarginRTL:Wt,iconCls:Kt,cardGutter:on}=Dt;return{[`${Gt}-rtl`]:{direction:"rtl",[`${Gt}-nav`]:{[`${Gt}-tab`]:{margin:{_skip_check_:!0,value:Wt},[`${Gt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Kt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Dt.marginSM}px`}},[`${Gt}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Dt.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Dt.marginXXS}px`},[Kt]:{margin:0}}}},[`&${Gt}-left`]:{[`> ${Gt}-nav`]:{order:1},[`> ${Gt}-content-holder`]:{order:0}},[`&${Gt}-right`]:{[`> ${Gt}-nav`]:{order:0},[`> ${Gt}-content-holder`]:{order:1}},[`&${Gt}-card${Gt}-top, &${Gt}-card${Gt}-bottom`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-tab + ${Gt}-tab`]:{marginRight:{_skip_check_:!0,value:on},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Gt}-dropdown-rtl`]:{direction:"rtl"},[`${Gt}-menu-item`]:{[`${Gt}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Aa=Dt=>{const{componentCls:Gt,tabsCardPadding:Wt,cardHeight:Kt,cardGutter:on,itemHoverColor:_n,itemActiveColor:lr,colorBorderSecondary:nr}=Dt;return{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Bi.Wf)(Dt)),{display:"flex",[`> ${Gt}-nav, > div > ${Gt}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Gt}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${Dt.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Gt}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Dt.motionDurationSlow}`},[`${Gt}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Gt}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Gt}-nav-more`]:{position:"relative",padding:Wt,background:"transparent",border:0,color:Dt.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Dt.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Gt}-nav-add`]:Object.assign({minWidth:Kt,marginLeft:{_skip_check_:!0,value:on},padding:`0 ${Dt.paddingXS}px`,background:"transparent",border:`${Dt.lineWidth}px ${Dt.lineType} ${nr}`,borderRadius:`${Dt.borderRadiusLG}px ${Dt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Dt.colorText,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOut}`,"&:hover":{color:_n},"&:active, &:focus:not(:focus-visible)":{color:lr}},(0,Bi.Qy)(Dt))},[`${Gt}-extra-content`]:{flex:"none"},[`${Gt}-ink-bar`]:{position:"absolute",background:Dt.inkBarColor,pointerEvents:"none"}}),sa(Dt)),{[`${Gt}-content`]:{position:"relative",width:"100%"},[`${Gt}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Gt}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Gt}-centered`]:{[`> ${Gt}-nav, > div > ${Gt}-nav`]:{[`${Gt}-nav-wrap`]:{[`&:not([class*='${Gt}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Si=(0,yi.Z)("Tabs",Dt=>{const Gt=(0,mi.TS)(Dt,{tabsCardPadding:Dt.cardPadding||`${(Dt.cardHeight-Math.round(Dt.fontSize*Dt.lineHeight))/2-Dt.lineWidth}px ${Dt.padding}px`,dropdownEdgeChildVerticalPadding:Dt.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Dt.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Dt.horizontalItemGutter}px`});return[wo(Gt),Pi(Gt),Ea(Gt),ea(Gt),Mn(Gt),Aa(Gt),Wr(Gt)]},Dt=>{const Gt=Dt.controlHeightLG;return{zIndexPopup:Dt.zIndexPopupBase+50,cardBg:Dt.colorFillAlter,cardHeight:Gt,cardPadding:"",cardPaddingSM:`${Dt.paddingXXS*1.5}px ${Dt.padding}px`,cardPaddingLG:`${Dt.paddingXS}px ${Dt.padding}px ${Dt.paddingXXS*1.5}px`,titleFontSize:Dt.fontSize,titleFontSizeLG:Dt.fontSizeLG,titleFontSizeSM:Dt.fontSize,inkBarColor:Dt.colorPrimary,horizontalMargin:`0 0 ${Dt.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Dt.paddingSM}px 0`,horizontalItemPaddingSM:`${Dt.paddingXS}px 0`,horizontalItemPaddingLG:`${Dt.padding}px 0`,verticalItemPadding:`${Dt.paddingXS}px ${Dt.paddingLG}px`,verticalItemMargin:`${Dt.margin}px 0 0 0`,itemColor:Dt.colorText,itemSelectedColor:Dt.colorPrimary,itemHoverColor:Dt.colorPrimaryHover,itemActiveColor:Dt.colorPrimaryActive,cardGutter:Dt.marginXXS/2}}),qr=function(Dt,Gt){var Wt={};for(var Kt in Dt)Object.prototype.hasOwnProperty.call(Dt,Kt)&&Gt.indexOf(Kt)<0&&(Wt[Kt]=Dt[Kt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,Kt=Object.getOwnPropertySymbols(Dt);on{const{type:Gt,className:Wt,rootClassName:Kt,size:on,onEdit:_n,hideAdd:lr,centered:nr,addIcon:dr,popupClassName:Pr,children:Ur,items:ei,animated:er,style:kr,indicatorSize:_i}=Dt,gi=qr(Dt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:ji,moreIcon:Mi=Be.createElement(Me.Z,null)}=gi,{direction:Ca,tabs:Jr,getPrefixCls:ra,getPopupContainer:vn}=Be.useContext(Zt.E_),gr=ra("tabs",ji),[Ar,jr]=Si(gr);let br;Gt==="editable-card"&&(br={onEdit:(Pa,Ka)=>{let{key:$a,event:Ua}=Ka;_n==null||_n(Pa==="add"?Ua:$a,Pa)},removeIcon:Be.createElement(he.Z,null),addIcon:dr||Be.createElement(He.Z,null),showAdd:lr!==!0});const Ir=ra(),Fr=Vr(ei,Ur),si=Tr(gr,er),bi=(0,gn.Z)(on),Ti=Object.assign(Object.assign({},Jr==null?void 0:Jr.style),kr);return Ar(Be.createElement(pt,Object.assign({direction:Ca,getPopupContainer:vn,moreTransitionName:`${Ir}-slide-up`},gi,{items:Fr,className:Oe()({[`${gr}-${bi}`]:bi,[`${gr}-card`]:["card","editable-card"].includes(Gt),[`${gr}-editable-card`]:Gt==="editable-card",[`${gr}-centered`]:nr},Jr==null?void 0:Jr.className,Wt,Kt,jr),popupClassName:Oe()(Pr,jr),style:Ti,editable:br,moreIcon:Mi,prefixCls:gr,animated:si,indicatorSize:_i!=null?_i:Jr==null?void 0:Jr.indicatorSize})))};Ma.TabPane=Xn;var kn=Ma},17574:function(Qn,Yt,de){"use strict";de.d(Yt,{default:function(){return it}});var he=de(38028),Me=de(77654),He=de(52671),ft=de(8657),Oe=de(60499),Le=de(59301),ve={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"},Ae=ve,xe=de(7657),fe=function(at,Xt){return Le.createElement(xe.Z,(0,Oe.Z)({},at,{ref:Xt,icon:Ae}))},Ke=Le.forwardRef(fe),Be=Ke,_e=de(92310),Ne=de.n(_e),Qe=de(35654),ke=de(71430),Pe=de(36355),Te=de(56082),Ye=de(62892),ze=de(20648);const qe=4;function We(Ue){const{dropPosition:at,dropLevelOffset:Xt,prefixCls:Vt,indent:xt,direction:Qt="ltr"}=Ue,An=Qt==="ltr"?"left":"right",Tn=Qt==="ltr"?"right":"left",dn={[An]:-Xt*xt+qe,[Tn]:0};switch(at){case-1:dn.top=-3;break;case 1:dn.bottom=-3;break;default:dn.bottom=-3,dn[An]=xt+qe;break}return Le.createElement("div",{style:dn,className:`${Vt}-drop-indicator`})}var Ze=de(71997),rt=Le.forwardRef((Ue,at)=>{const{getPrefixCls:Xt,direction:Vt,virtual:xt,tree:Qt}=Le.useContext(Pe.E_),{prefixCls:An,className:Tn,showIcon:dn=!1,showLine:Gn,switcherIcon:Cn,blockNode:mn=!1,children:Bn,checkable:Se=!1,selectable:Fe=!0,draggable:ie,motion:ae,style:se}=Ue,oe=Xt("tree",An),Je=Xt(),vt=ae!=null?ae:Object.assign(Object.assign({},(0,Ye.Z)(Je)),{motionAppear:!1}),$e=Object.assign(Object.assign({},Ue),{checkable:Se,selectable:Fe,showIcon:dn,motion:vt,blockNode:mn,showLine:!!Gn,dropIndicatorRender:We}),[lt,Pt]=(0,ze.ZP)(oe),_t=Le.useMemo(()=>{if(!ie)return!1;let $t={};switch(typeof ie){case"function":$t.nodeDraggable=ie;break;case"object":$t=Object.assign({},ie);break;default:break}return $t.icon!==!1&&($t.icon=$t.icon||Le.createElement(Te.Z,null)),$t},[ie]),kt=$t=>Le.createElement(Ze.Z,{prefixCls:oe,switcherIcon:Cn,treeNodeProps:$t,showLine:Gn});return lt(Le.createElement(he.Z,Object.assign({itemHeight:20,ref:at,virtual:xt},$e,{style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),se),prefixCls:oe,className:Ne()({[`${oe}-icon-hide`]:!dn,[`${oe}-block-node`]:mn,[`${oe}-unselectable`]:!Fe,[`${oe}-rtl`]:Vt==="rtl"},Qt==null?void 0:Qt.className,Tn,Pt),direction:Vt,checkable:Se&&Le.createElement("span",{className:`${oe}-checkbox-inner`}),selectable:Fe,switcherIcon:kt,draggable:_t}),Bn))}),ht;(function(Ue){Ue[Ue.None=0]="None",Ue[Ue.Start=1]="Start",Ue[Ue.End=2]="End"})(ht||(ht={}));function dt(Ue,at){function Xt(Vt){const{key:xt,children:Qt}=Vt;at(xt,Vt)!==!1&&dt(Qt||[],at)}Ue.forEach(Xt)}function Ct(Ue){let{treeData:at,expandedKeys:Xt,startKey:Vt,endKey:xt}=Ue;const Qt=[];let An=ht.None;if(Vt&&Vt===xt)return[Vt];if(!Vt||!xt)return[];function Tn(dn){return dn===Vt||dn===xt}return dt(at,dn=>{if(An===ht.End)return!1;if(Tn(dn)){if(Qt.push(dn),An===ht.None)An=ht.Start;else if(An===ht.Start)return An=ht.End,!1}else An===ht.Start&&Qt.push(dn);return Xt.includes(dn)}),Qt}function Xe(Ue,at){const Xt=(0,Me.Z)(at),Vt=[];return dt(Ue,(xt,Qt)=>{const An=Xt.indexOf(xt);return An!==-1&&(Vt.push(Qt),Xt.splice(An,1)),!!Xt.length}),Vt}var Lt=function(Ue,at){var Xt={};for(var Vt in Ue)Object.prototype.hasOwnProperty.call(Ue,Vt)&&at.indexOf(Vt)<0&&(Xt[Vt]=Ue[Vt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Vt=Object.getOwnPropertySymbols(Ue);xt{var{defaultExpandAll:Xt,defaultExpandParent:Vt,defaultExpandedKeys:xt}=Ue,Qt=Lt(Ue,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const An=Le.useRef(),Tn=Le.useRef(),dn=()=>{const{keyEntities:_t}=(0,ke.I8)(Ht(Qt));let kt;return Xt?kt=Object.keys(_t):Vt?kt=(0,Qe.r7)(Qt.expandedKeys||xt||[],_t):kt=Qt.expandedKeys||xt,kt},[Gn,Cn]=Le.useState(Qt.selectedKeys||Qt.defaultSelectedKeys||[]),[mn,Bn]=Le.useState(()=>dn());Le.useEffect(()=>{"selectedKeys"in Qt&&Cn(Qt.selectedKeys)},[Qt.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in Qt&&Bn(Qt.expandedKeys)},[Qt.expandedKeys]);const Se=(_t,kt)=>{var $t;return"expandedKeys"in Qt||Bn(_t),($t=Qt.onExpand)===null||$t===void 0?void 0:$t.call(Qt,_t,kt)},Fe=(_t,kt)=>{var $t;const{multiple:Sn}=Qt,{node:St,nativeEvent:nn}=kt,{key:tn=""}=St,jt=Ht(Qt),pt=Object.assign(Object.assign({},kt),{selected:!0}),Zt=(nn==null?void 0:nn.ctrlKey)||(nn==null?void 0:nn.metaKey),gn=nn==null?void 0:nn.shiftKey;let wn;Sn&&Zt?(wn=_t,An.current=tn,Tn.current=wn,pt.selectedNodes=Xe(jt,wn)):Sn&&gn?(wn=Array.from(new Set([].concat((0,Me.Z)(Tn.current||[]),(0,Me.Z)(Ct({treeData:jt,expandedKeys:mn,startKey:tn,endKey:An.current}))))),pt.selectedNodes=Xe(jt,wn)):(wn=[tn],An.current=tn,Tn.current=wn,pt.selectedNodes=Xe(jt,wn)),($t=Qt.onSelect)===null||$t===void 0||$t.call(Qt,wn,pt),"selectedKeys"in Qt||Cn(wn)},{getPrefixCls:ie,direction:ae}=Le.useContext(Pe.E_),{prefixCls:se,className:oe,showIcon:Je=!0,expandAction:vt="click"}=Qt,$e=Lt(Qt,["prefixCls","className","showIcon","expandAction"]),lt=ie("tree",se),Pt=Ne()(`${lt}-directory`,{[`${lt}-directory-rtl`]:ae==="rtl"},oe);return Le.createElement(rt,Object.assign({icon:Re,ref:at,blockNode:!0},$e,{showIcon:Je,expandAction:vt,prefixCls:lt,className:Pt,expandedKeys:mn,selectedKeys:Gn,onSelect:Fe,onExpand:Se}))};var Tt=Le.forwardRef(Et);const wt=rt;wt.DirectoryTree=Tt,wt.TreeNode=he.O;var it=wt},20648:function(Qn,Yt,de){"use strict";de.d(Yt,{TM:function(){return _e},Yk:function(){return Be}});var he=de(36237),Me=de(98447),He=de(17313),ft=de(8378),Oe=de(37613),Le=de(83116);const ve=new he.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ae=(Ne,Qe)=>({[`.${Ne}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Qe.motionDurationSlow}`}}}),xe=(Ne,Qe)=>({[`.${Ne}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Qe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Qe.lineWidthBold}px solid ${Qe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),fe=(Ne,Qe)=>{const{treeCls:ke,treeNodeCls:Pe,treeNodePadding:Te,titleHeight:Ye,nodeSelectedBg:ze,nodeHoverBg:qe}=Qe,We=Qe.paddingXS;return{[ke]:Object.assign(Object.assign({},(0,He.Wf)(Qe)),{background:Qe.colorBgContainer,borderRadius:Qe.borderRadius,transition:`background-color ${Qe.motionDurationSlow}`,[`&${ke}-rtl`]:{[`${ke}-switcher`]:{"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ke}-active-focused)`]:Object.assign({},(0,He.oN)(Qe)),[`${ke}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ke}-block-node`]:{[`${ke}-list-holder-inner`]:{alignItems:"stretch",[`${ke}-node-content-wrapper`]:{flex:"auto"},[`${Pe}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Te,insetInlineStart:0,border:`1px solid ${Qe.colorPrimary}`,opacity:0,animationName:ve,animationDuration:Qe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Pe}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Te}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ke}-node-content-wrapper`]:{color:Qe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ke}-node-content-wrapper`]:Object.assign({},(0,He.oN)(Qe)),[`&:not(${Pe}-disabled).filter-node ${ke}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ke}-draggable-icon`]:{flexShrink:0,width:Ye,lineHeight:`${Ye}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Qe.motionDurationSlow}`,[`${Pe}:hover &`]:{opacity:.45}},[`&${Pe}-disabled`]:{[`${ke}-draggable-icon`]:{visibility:"hidden"}}}},[`${ke}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Ye}},[`${ke}-draggable-icon`]:{visibility:"hidden"},[`${ke}-switcher`]:Object.assign(Object.assign({},Ae(Ne,Qe)),{position:"relative",flex:"none",alignSelf:"stretch",width:Ye,margin:0,lineHeight:`${Ye}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ke}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Qe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ye/2,bottom:-Te,marginInlineStart:-1,borderInlineEnd:`1px solid ${Qe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ye/2*.8,height:Ye/2,borderBottom:`1px solid ${Qe.colorBorder}`,content:'""'}}}),[`${ke}-checkbox`]:{top:"initial",marginInlineEnd:We},[`${ke}-node-content-wrapper, ${ke}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Ye,margin:0,padding:`0 ${Qe.paddingXS/2}px`,color:"inherit",lineHeight:`${Ye}px`,background:"transparent",borderRadius:Qe.borderRadius,cursor:"pointer",transition:`all ${Qe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:qe},[`&${ke}-node-selected`]:{backgroundColor:ze},[`${ke}-iconEle`]:{display:"inline-block",width:Ye,height:Ye,lineHeight:`${Ye}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ke}-unselectable ${ke}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ke}-node-content-wrapper`]:Object.assign({lineHeight:`${Ye}px`,userSelect:"none"},xe(Ne,Qe)),[`${Pe}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Qe.colorPrimary}`}},"&-show-line":{[`${ke}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ye/2,bottom:-Te,borderInlineEnd:`1px solid ${Qe.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ke}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Pe}-leaf-last`]:{[`${ke}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Ye/2}px !important`}}}}})}},Ke=Ne=>{const{treeCls:Qe,treeNodeCls:ke,treeNodePadding:Pe,directoryNodeSelectedBg:Te,directoryNodeSelectedColor:Ye}=Ne;return{[`${Qe}${Qe}-directory`]:{[ke]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Pe,insetInlineStart:0,transition:`background-color ${Ne.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Ne.controlItemBgHover}},"> *":{zIndex:1},[`${Qe}-switcher`]:{transition:`color ${Ne.motionDurationMid}`},[`${Qe}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Qe}-node-selected`]:{color:Ye,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Te},[`${Qe}-switcher`]:{color:Ye},[`${Qe}-node-content-wrapper`]:{color:Ye,background:"transparent"}}}}}},Be=(Ne,Qe)=>{const ke=`.${Ne}`,Pe=`${ke}-treenode`,Te=Qe.paddingXS/2,Ye=(0,Oe.TS)(Qe,{treeCls:ke,treeNodeCls:Pe,treeNodePadding:Te});return[fe(Ne,Ye),Ke(Ye)]},_e=Ne=>{const{controlHeightSM:Qe}=Ne;return{titleHeight:Qe,nodeHoverBg:Ne.controlItemBgHover,nodeSelectedBg:Ne.controlItemBgActive}};Yt.ZP=(0,Le.Z)("Tree",(Ne,Qe)=>{let{prefixCls:ke}=Qe;return[{[Ne.componentCls]:(0,Me.C2)(`${ke}-checkbox`,Ne)},Be(ke,Ne),(0,ft.Z)(Ne)]},Ne=>{const{colorTextLightSolid:Qe,colorPrimary:ke}=Ne;return Object.assign(Object.assign({},_e(Ne)),{directoryNodeSelectedColor:Qe,directoryNodeSelectedBg:ke})})},71997:function(Qn,Yt,de){"use strict";de.d(Yt,{Z:function(){return Pe}});var he=de(60499),Me=de(59301),He={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"},ft=He,Oe=de(7657),Le=function(Ye,ze){return Me.createElement(Oe.Z,(0,he.Z)({},Ye,{ref:ze,icon:ft}))},ve=Me.forwardRef(Le),Ae=ve,xe=de(52671),fe=de(58617),Ke=de(15075),Be=de(43531),_e=de(92310),Ne=de.n(_e),Qe=de(92343),Pe=Te=>{const{prefixCls:Ye,switcherIcon:ze,treeNodeProps:qe,showLine:We}=Te,{isLeaf:Ze,expanded:et,loading:rt}=qe;if(rt)return Me.createElement(fe.Z,{className:`${Ye}-switcher-loading-icon`});let ht;if(We&&typeof We=="object"&&(ht=We.showLeafIcon),Ze){if(!We)return null;if(typeof ht!="boolean"&&ht){const Xe=typeof ht=="function"?ht(qe):ht,Lt=`${Ye}-switcher-line-custom-icon`;return(0,Qe.l$)(Xe)?(0,Qe.Tm)(Xe,{className:Ne()(Xe.props.className||"",Lt)}):Xe}return ht?Me.createElement(xe.Z,{className:`${Ye}-switcher-line-icon`}):Me.createElement("span",{className:`${Ye}-switcher-leaf-line`})}const dt=`${Ye}-switcher-icon`,Ct=typeof ze=="function"?ze(qe):ze;return(0,Qe.l$)(Ct)?(0,Qe.Tm)(Ct,{className:Ne()(Ct.props.className||"",dt)}):Ct!==void 0?Ct:We?et?Me.createElement(Ke.Z,{className:`${Ye}-switcher-line-icon`}):Me.createElement(Be.Z,{className:`${Ye}-switcher-line-icon`}):Me.createElement(Ae,{className:dt})}},86251:function(Qn,Yt){"use strict";Yt.byteLength=ve,Yt.toByteArray=xe,Yt.fromByteArray=Be;for(var de=[],he=[],Me=typeof Uint8Array!="undefined"?Uint8Array:Array,He="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ft=0,Oe=He.length;ft0)throw new Error("Invalid string. Length must be a multiple of 4");var Qe=_e.indexOf("=");Qe===-1&&(Qe=Ne);var ke=Qe===Ne?0:4-Qe%4;return[Qe,ke]}function ve(_e){var Ne=Le(_e),Qe=Ne[0],ke=Ne[1];return(Qe+ke)*3/4-ke}function Ae(_e,Ne,Qe){return(Ne+Qe)*3/4-Qe}function xe(_e){var Ne,Qe=Le(_e),ke=Qe[0],Pe=Qe[1],Te=new Me(Ae(_e,ke,Pe)),Ye=0,ze=Pe>0?ke-4:ke,qe;for(qe=0;qe>16&255,Te[Ye++]=Ne>>8&255,Te[Ye++]=Ne&255;return Pe===2&&(Ne=he[_e.charCodeAt(qe)]<<2|he[_e.charCodeAt(qe+1)]>>4,Te[Ye++]=Ne&255),Pe===1&&(Ne=he[_e.charCodeAt(qe)]<<10|he[_e.charCodeAt(qe+1)]<<4|he[_e.charCodeAt(qe+2)]>>2,Te[Ye++]=Ne>>8&255,Te[Ye++]=Ne&255),Te}function fe(_e){return de[_e>>18&63]+de[_e>>12&63]+de[_e>>6&63]+de[_e&63]}function Ke(_e,Ne,Qe){for(var ke,Pe=[],Te=Ne;Teze?ze:Ye+Te));return ke===1?(Ne=_e[Qe-1],Pe.push(de[Ne>>2]+de[Ne<<4&63]+"==")):ke===2&&(Ne=(_e[Qe-2]<<8)+_e[Qe-1],Pe.push(de[Ne>>10]+de[Ne>>4&63]+de[Ne<<2&63]+"=")),Pe.join("")}},19208:function(Qn,Yt,de){"use strict";var he;var Me=de(86251),He=de(67467),ft=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Yt.lW=Ae,he=Ye,Yt.h2=50;var Oe=2147483647;he=Oe,Ae.TYPED_ARRAY_SUPPORT=Le(),!Ae.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Le(){try{var ie=new Uint8Array(1),ae={foo:function(){return 42}};return Object.setPrototypeOf(ae,Uint8Array.prototype),Object.setPrototypeOf(ie,ae),ie.foo()===42}catch(se){return!1}}Object.defineProperty(Ae.prototype,"parent",{enumerable:!0,get:function(){if(Ae.isBuffer(this))return this.buffer}}),Object.defineProperty(Ae.prototype,"offset",{enumerable:!0,get:function(){if(Ae.isBuffer(this))return this.byteOffset}});function ve(ie){if(ie>Oe)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ae=new Uint8Array(ie);return Object.setPrototypeOf(ae,Ae.prototype),ae}function Ae(ie,ae,se){if(typeof ie=="number"){if(typeof ae=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Be(ie)}return xe(ie,ae,se)}Ae.poolSize=8192;function xe(ie,ae,se){if(typeof ie=="string")return _e(ie,ae);if(ArrayBuffer.isView(ie))return Qe(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(Bn(ie,ArrayBuffer)||ie&&Bn(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Bn(ie,SharedArrayBuffer)||ie&&Bn(ie.buffer,SharedArrayBuffer)))return ke(ie,ae,se);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var oe=ie.valueOf&&ie.valueOf();if(oe!=null&&oe!==ie)return Ae.from(oe,ae,se);var Je=Pe(ie);if(Je)return Je;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return Ae.from(ie[Symbol.toPrimitive]("string"),ae,se);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}Ae.from=function(ie,ae,se){return xe(ie,ae,se)},Object.setPrototypeOf(Ae.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ae,Uint8Array);function fe(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function Ke(ie,ae,se){return fe(ie),ie<=0?ve(ie):ae!==void 0?typeof se=="string"?ve(ie).fill(ae,se):ve(ie).fill(ae):ve(ie)}Ae.alloc=function(ie,ae,se){return Ke(ie,ae,se)};function Be(ie){return fe(ie),ve(ie<0?0:Te(ie)|0)}Ae.allocUnsafe=function(ie){return Be(ie)},Ae.allocUnsafeSlow=function(ie){return Be(ie)};function _e(ie,ae){if((typeof ae!="string"||ae==="")&&(ae="utf8"),!Ae.isEncoding(ae))throw new TypeError("Unknown encoding: "+ae);var se=ze(ie,ae)|0,oe=ve(se),Je=oe.write(ie,ae);return Je!==se&&(oe=oe.slice(0,Je)),oe}function Ne(ie){for(var ae=ie.length<0?0:Te(ie.length)|0,se=ve(ae),oe=0;oe=Oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Oe.toString(16)+" bytes");return ie|0}function Ye(ie){return+ie!=ie&&(ie=0),Ae.alloc(+ie)}Ae.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==Ae.prototype},Ae.compare=function(ae,se){if(Bn(ae,Uint8Array)&&(ae=Ae.from(ae,ae.offset,ae.byteLength)),Bn(se,Uint8Array)&&(se=Ae.from(se,se.offset,se.byteLength)),!Ae.isBuffer(ae)||!Ae.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===se)return 0;for(var oe=ae.length,Je=se.length,vt=0,$e=Math.min(oe,Je);vt<$e;++vt)if(ae[vt]!==se[vt]){oe=ae[vt],Je=se[vt];break}return oeJe.length?Ae.from($e).copy(Je,vt):Uint8Array.prototype.set.call(Je,$e,vt);else if(Ae.isBuffer($e))$e.copy(Je,vt);else throw new TypeError('"list" argument must be an Array of Buffers');vt+=$e.length}return Je};function ze(ie,ae){if(Ae.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||Bn(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var se=ie.length,oe=arguments.length>2&&arguments[2]===!0;if(!oe&&se===0)return 0;for(var Je=!1;;)switch(ae){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return Tn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return Cn(ie).length;default:if(Je)return oe?-1:Tn(ie).length;ae=(""+ae).toLowerCase(),Je=!0}}Ae.byteLength=ze;function qe(ie,ae,se){var oe=!1;if((ae===void 0||ae<0)&&(ae=0),ae>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,ae>>>=0,se<=ae))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return wt(this,ae,se);case"utf8":case"utf-8":return Re(this,ae,se);case"ascii":return bt(this,ae,se);case"latin1":case"binary":return Tt(this,ae,se);case"base64":return Lt(this,ae,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,ae,se);default:if(oe)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),oe=!0}}Ae.prototype._isBuffer=!0;function We(ie,ae,se){var oe=ie[ae];ie[ae]=ie[se],ie[se]=oe}Ae.prototype.swap16=function(){var ae=this.length;if(ae%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var se=0;sese&&(ae+=" ... "),""},ft&&(Ae.prototype[ft]=Ae.prototype.inspect),Ae.prototype.compare=function(ae,se,oe,Je,vt){if(Bn(ae,Uint8Array)&&(ae=Ae.from(ae,ae.offset,ae.byteLength)),!Ae.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ae);if(se===void 0&&(se=0),oe===void 0&&(oe=ae?ae.length:0),Je===void 0&&(Je=0),vt===void 0&&(vt=this.length),se<0||oe>ae.length||Je<0||vt>this.length)throw new RangeError("out of range index");if(Je>=vt&&se>=oe)return 0;if(Je>=vt)return-1;if(se>=oe)return 1;if(se>>>=0,oe>>>=0,Je>>>=0,vt>>>=0,this===ae)return 0;for(var $e=vt-Je,lt=oe-se,Pt=Math.min($e,lt),_t=this.slice(Je,vt),kt=ae.slice(se,oe),$t=0;$t2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,Se(se)&&(se=Je?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Je)return-1;se=ie.length-1}else if(se<0)if(Je)se=0;else return-1;if(typeof ae=="string"&&(ae=Ae.from(ae,oe)),Ae.isBuffer(ae))return ae.length===0?-1:et(ie,ae,se,oe,Je);if(typeof ae=="number")return ae=ae&255,typeof Uint8Array.prototype.indexOf=="function"?Je?Uint8Array.prototype.indexOf.call(ie,ae,se):Uint8Array.prototype.lastIndexOf.call(ie,ae,se):et(ie,[ae],se,oe,Je);throw new TypeError("val must be string, number or Buffer")}function et(ie,ae,se,oe,Je){var vt=1,$e=ie.length,lt=ae.length;if(oe!==void 0&&(oe=String(oe).toLowerCase(),oe==="ucs2"||oe==="ucs-2"||oe==="utf16le"||oe==="utf-16le")){if(ie.length<2||ae.length<2)return-1;vt=2,$e/=2,lt/=2,se/=2}function Pt(St,nn){return vt===1?St[nn]:St.readUInt16BE(nn*vt)}var _t;if(Je){var kt=-1;for(_t=se;_t<$e;_t++)if(Pt(ie,_t)===Pt(ae,kt===-1?0:_t-kt)){if(kt===-1&&(kt=_t),_t-kt+1===lt)return kt*vt}else kt!==-1&&(_t-=_t-kt),kt=-1}else for(se+lt>$e&&(se=$e-lt),_t=se;_t>=0;_t--){for(var $t=!0,Sn=0;SnJe&&(oe=Je)):oe=Je;var vt=ae.length;oe>vt/2&&(oe=vt/2);for(var $e=0;$e>>0,isFinite(oe)?(oe=oe>>>0,Je===void 0&&(Je="utf8")):(Je=oe,oe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var vt=this.length-se;if((oe===void 0||oe>vt)&&(oe=vt),ae.length>0&&(oe<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");Je||(Je="utf8");for(var $e=!1;;)switch(Je){case"hex":return rt(this,ae,se,oe);case"utf8":case"utf-8":return ht(this,ae,se,oe);case"ascii":case"latin1":case"binary":return dt(this,ae,se,oe);case"base64":return Ct(this,ae,se,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,ae,se,oe);default:if($e)throw new TypeError("Unknown encoding: "+Je);Je=(""+Je).toLowerCase(),$e=!0}},Ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lt(ie,ae,se){return ae===0&&se===ie.length?Me.fromByteArray(ie):Me.fromByteArray(ie.slice(ae,se))}function Re(ie,ae,se){se=Math.min(ie.length,se);for(var oe=[],Je=ae;Je239?4:vt>223?3:vt>191?2:1;if(Je+lt<=se){var Pt,_t,kt,$t;switch(lt){case 1:vt<128&&($e=vt);break;case 2:Pt=ie[Je+1],(Pt&192)===128&&($t=(vt&31)<<6|Pt&63,$t>127&&($e=$t));break;case 3:Pt=ie[Je+1],_t=ie[Je+2],(Pt&192)===128&&(_t&192)===128&&($t=(vt&15)<<12|(Pt&63)<<6|_t&63,$t>2047&&($t<55296||$t>57343)&&($e=$t));break;case 4:Pt=ie[Je+1],_t=ie[Je+2],kt=ie[Je+3],(Pt&192)===128&&(_t&192)===128&&(kt&192)===128&&($t=(vt&15)<<18|(Pt&63)<<12|(_t&63)<<6|kt&63,$t>65535&&$t<1114112&&($e=$t))}}$e===null?($e=65533,lt=1):$e>65535&&($e-=65536,oe.push($e>>>10&1023|55296),$e=56320|$e&1023),oe.push($e),Je+=lt}return Et(oe)}var Ht=4096;function Et(ie){var ae=ie.length;if(ae<=Ht)return String.fromCharCode.apply(String,ie);for(var se="",oe=0;oeoe)&&(se=oe);for(var Je="",vt=ae;vtoe&&(ae=oe),se<0?(se+=oe,se<0&&(se=0)):se>oe&&(se=oe),sese)throw new RangeError("Trying to access beyond buffer length")}Ae.prototype.readUintLE=Ae.prototype.readUIntLE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||Ue(ae,se,this.length);for(var Je=this[ae],vt=1,$e=0;++$e>>0,se=se>>>0,oe||Ue(ae,se,this.length);for(var Je=this[ae+--se],vt=1;se>0&&(vt*=256);)Je+=this[ae+--se]*vt;return Je},Ae.prototype.readUint8=Ae.prototype.readUInt8=function(ae,se){return ae=ae>>>0,se||Ue(ae,1,this.length),this[ae]},Ae.prototype.readUint16LE=Ae.prototype.readUInt16LE=function(ae,se){return ae=ae>>>0,se||Ue(ae,2,this.length),this[ae]|this[ae+1]<<8},Ae.prototype.readUint16BE=Ae.prototype.readUInt16BE=function(ae,se){return ae=ae>>>0,se||Ue(ae,2,this.length),this[ae]<<8|this[ae+1]},Ae.prototype.readUint32LE=Ae.prototype.readUInt32LE=function(ae,se){return ae=ae>>>0,se||Ue(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+this[ae+3]*16777216},Ae.prototype.readUint32BE=Ae.prototype.readUInt32BE=function(ae,se){return ae=ae>>>0,se||Ue(ae,4,this.length),this[ae]*16777216+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},Ae.prototype.readIntLE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||Ue(ae,se,this.length);for(var Je=this[ae],vt=1,$e=0;++$e=vt&&(Je-=Math.pow(2,8*se)),Je},Ae.prototype.readIntBE=function(ae,se,oe){ae=ae>>>0,se=se>>>0,oe||Ue(ae,se,this.length);for(var Je=se,vt=1,$e=this[ae+--Je];Je>0&&(vt*=256);)$e+=this[ae+--Je]*vt;return vt*=128,$e>=vt&&($e-=Math.pow(2,8*se)),$e},Ae.prototype.readInt8=function(ae,se){return ae=ae>>>0,se||Ue(ae,1,this.length),this[ae]&128?(255-this[ae]+1)*-1:this[ae]},Ae.prototype.readInt16LE=function(ae,se){ae=ae>>>0,se||Ue(ae,2,this.length);var oe=this[ae]|this[ae+1]<<8;return oe&32768?oe|4294901760:oe},Ae.prototype.readInt16BE=function(ae,se){ae=ae>>>0,se||Ue(ae,2,this.length);var oe=this[ae+1]|this[ae]<<8;return oe&32768?oe|4294901760:oe},Ae.prototype.readInt32LE=function(ae,se){return ae=ae>>>0,se||Ue(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},Ae.prototype.readInt32BE=function(ae,se){return ae=ae>>>0,se||Ue(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},Ae.prototype.readFloatLE=function(ae,se){return ae=ae>>>0,se||Ue(ae,4,this.length),He.read(this,ae,!0,23,4)},Ae.prototype.readFloatBE=function(ae,se){return ae=ae>>>0,se||Ue(ae,4,this.length),He.read(this,ae,!1,23,4)},Ae.prototype.readDoubleLE=function(ae,se){return ae=ae>>>0,se||Ue(ae,8,this.length),He.read(this,ae,!0,52,8)},Ae.prototype.readDoubleBE=function(ae,se){return ae=ae>>>0,se||Ue(ae,8,this.length),He.read(this,ae,!1,52,8)};function at(ie,ae,se,oe,Je,vt){if(!Ae.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ae>Je||aeie.length)throw new RangeError("Index out of range")}Ae.prototype.writeUintLE=Ae.prototype.writeUIntLE=function(ae,se,oe,Je){if(ae=+ae,se=se>>>0,oe=oe>>>0,!Je){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var $e=1,lt=0;for(this[se]=ae&255;++lt>>0,oe=oe>>>0,!Je){var vt=Math.pow(2,8*oe)-1;at(this,ae,se,oe,vt,0)}var $e=oe-1,lt=1;for(this[se+$e]=ae&255;--$e>=0&&(lt*=256);)this[se+$e]=ae/lt&255;return se+oe},Ae.prototype.writeUint8=Ae.prototype.writeUInt8=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,1,255,0),this[se]=ae&255,se+1},Ae.prototype.writeUint16LE=Ae.prototype.writeUInt16LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,65535,0),this[se]=ae&255,this[se+1]=ae>>>8,se+2},Ae.prototype.writeUint16BE=Ae.prototype.writeUInt16BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,65535,0),this[se]=ae>>>8,this[se+1]=ae&255,se+2},Ae.prototype.writeUint32LE=Ae.prototype.writeUInt32LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,4294967295,0),this[se+3]=ae>>>24,this[se+2]=ae>>>16,this[se+1]=ae>>>8,this[se]=ae&255,se+4},Ae.prototype.writeUint32BE=Ae.prototype.writeUInt32BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,4294967295,0),this[se]=ae>>>24,this[se+1]=ae>>>16,this[se+2]=ae>>>8,this[se+3]=ae&255,se+4},Ae.prototype.writeIntLE=function(ae,se,oe,Je){if(ae=+ae,se=se>>>0,!Je){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var $e=0,lt=1,Pt=0;for(this[se]=ae&255;++$e>0)-Pt&255;return se+oe},Ae.prototype.writeIntBE=function(ae,se,oe,Je){if(ae=+ae,se=se>>>0,!Je){var vt=Math.pow(2,8*oe-1);at(this,ae,se,oe,vt-1,-vt)}var $e=oe-1,lt=1,Pt=0;for(this[se+$e]=ae&255;--$e>=0&&(lt*=256);)ae<0&&Pt===0&&this[se+$e+1]!==0&&(Pt=1),this[se+$e]=(ae/lt>>0)-Pt&255;return se+oe},Ae.prototype.writeInt8=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,1,127,-128),ae<0&&(ae=255+ae+1),this[se]=ae&255,se+1},Ae.prototype.writeInt16LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,32767,-32768),this[se]=ae&255,this[se+1]=ae>>>8,se+2},Ae.prototype.writeInt16BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,2,32767,-32768),this[se]=ae>>>8,this[se+1]=ae&255,se+2},Ae.prototype.writeInt32LE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,2147483647,-2147483648),this[se]=ae&255,this[se+1]=ae>>>8,this[se+2]=ae>>>16,this[se+3]=ae>>>24,se+4},Ae.prototype.writeInt32BE=function(ae,se,oe){return ae=+ae,se=se>>>0,oe||at(this,ae,se,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[se]=ae>>>24,this[se+1]=ae>>>16,this[se+2]=ae>>>8,this[se+3]=ae&255,se+4};function Xt(ie,ae,se,oe,Je,vt){if(se+oe>ie.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function Vt(ie,ae,se,oe,Je){return ae=+ae,se=se>>>0,Je||Xt(ie,ae,se,4,34028234663852886e22,-34028234663852886e22),He.write(ie,ae,se,oe,23,4),se+4}Ae.prototype.writeFloatLE=function(ae,se,oe){return Vt(this,ae,se,!0,oe)},Ae.prototype.writeFloatBE=function(ae,se,oe){return Vt(this,ae,se,!1,oe)};function xt(ie,ae,se,oe,Je){return ae=+ae,se=se>>>0,Je||Xt(ie,ae,se,8,17976931348623157e292,-17976931348623157e292),He.write(ie,ae,se,oe,52,8),se+8}Ae.prototype.writeDoubleLE=function(ae,se,oe){return xt(this,ae,se,!0,oe)},Ae.prototype.writeDoubleBE=function(ae,se,oe){return xt(this,ae,se,!1,oe)},Ae.prototype.copy=function(ae,se,oe,Je){if(!Ae.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(oe||(oe=0),!Je&&Je!==0&&(Je=this.length),se>=ae.length&&(se=ae.length),se||(se=0),Je>0&&Je=this.length)throw new RangeError("Index out of range");if(Je<0)throw new RangeError("sourceEnd out of bounds");Je>this.length&&(Je=this.length),ae.length-se>>0,oe=oe===void 0?this.length:oe>>>0,ae||(ae=0);var $e;if(typeof ae=="number")for($e=se;$e55295&&se<57344){if(!Je){if(se>56319){(ae-=3)>-1&&vt.push(239,191,189);continue}else if($e+1===oe){(ae-=3)>-1&&vt.push(239,191,189);continue}Je=se;continue}if(se<56320){(ae-=3)>-1&&vt.push(239,191,189),Je=se;continue}se=(Je-55296<<10|se-56320)+65536}else Je&&(ae-=3)>-1&&vt.push(239,191,189);if(Je=null,se<128){if((ae-=1)<0)break;vt.push(se)}else if(se<2048){if((ae-=2)<0)break;vt.push(se>>6|192,se&63|128)}else if(se<65536){if((ae-=3)<0)break;vt.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((ae-=4)<0)break;vt.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return vt}function dn(ie){for(var ae=[],se=0;se>8,Je=se%256,vt.push(Je),vt.push(oe);return vt}function Cn(ie){return Me.toByteArray(An(ie))}function mn(ie,ae,se,oe){for(var Je=0;Je=ae.length||Je>=ie.length);++Je)ae[Je+se]=ie[Je];return Je}function Bn(ie,ae){return ie instanceof ae||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ae.name}function Se(ie){return ie!==ie}var Fe=function(){for(var ie="0123456789abcdef",ae=new Array(256),se=0;se<16;++se)for(var oe=se*16,Je=0;Je<16;++Je)ae[oe+Je]=ie[se]+ie[Je];return ae}()},14625:function(Qn){function Yt(he){var Me,He,ft="";if(typeof he=="string"||typeof he=="number")ft+=he;else if(typeof he=="object")if(Array.isArray(he)){var Oe=he.length;for(Me=0;Me`,triples:"",explode:"[]{}"},He=he.Pos;he.defineOption("autoCloseBrackets",!1,function(Qe,ke,Pe){Pe&&Pe!=he.Init&&(Qe.removeKeyMap(Oe),Qe.state.closeBrackets=null),ke&&(Le(ft(ke,"pairs")),Qe.state.closeBrackets=ke,Qe.addKeyMap(Oe))});function ft(Qe,ke){return ke=="pairs"&&typeof Qe=="string"?Qe:typeof Qe=="object"&&Qe[ke]!=null?Qe[ke]:Me[ke]}var Oe={Backspace:xe,Enter:fe};function Le(Qe){for(var ke=0;ke=0;Ye--){var qe=Te[Ye].head;Qe.replaceRange("",He(qe.line,qe.ch-1),He(qe.line,qe.ch+1),"+delete")}}function fe(Qe){var ke=Ae(Qe),Pe=ke&&ft(ke,"explode");if(!Pe||Qe.getOption("disableInput"))return he.Pass;for(var Te=Qe.listSelections(),Ye=0;Ye0;return{anchor:new He(Qe.anchor.line,Qe.anchor.ch+(ke?-1:1)),head:new He(Qe.head.line,Qe.head.ch+(ke?1:-1))}}function Be(Qe,ke){var Pe=Ae(Qe);if(!Pe||Qe.getOption("disableInput"))return he.Pass;var Te=ft(Pe,"pairs"),Ye=Te.indexOf(ke);if(Ye==-1)return he.Pass;for(var ze=ft(Pe,"closeBefore"),qe=ft(Pe,"triples"),We=Te.charAt(Ye+1)==ke,Ze=Qe.listSelections(),et=Ye%2==0,rt,ht=0;ht=0&&Qe.getRange(Ct,He(Ct.line,Ct.ch+3))==ke+ke+ke?Xe="skipThree":Xe="skip";else if(We&&Ct.ch>1&&qe.indexOf(ke)>=0&&Qe.getRange(He(Ct.line,Ct.ch-2),Ct)==ke+ke){if(Ct.ch>2&&/\bstring/.test(Qe.getTokenTypeAt(He(Ct.line,Ct.ch-2))))return he.Pass;Xe="addFour"}else if(We){var Re=Ct.ch==0?" ":Qe.getRange(He(Ct.line,Ct.ch-1),Ct);if(!he.isWordChar(Lt)&&Re!=ke&&!he.isWordChar(Re))Xe="both";else return he.Pass}else if(et&&(Lt.length===0||/\s/.test(Lt)||ze.indexOf(Lt)>-1))Xe="both";else return he.Pass;if(!rt)rt=Xe;else if(rt!=Xe)return he.Pass}var Ht=Ye%2?Te.charAt(Ye-1):ke,Et=Ye%2?ke:Te.charAt(Ye+1);Qe.operation(function(){if(rt=="skip")Qe.execCommand("goCharRight");else if(rt=="skipThree")for(var bt=0;bt<3;bt++)Qe.execCommand("goCharRight");else if(rt=="surround"){for(var Tt=Qe.getSelections(),bt=0;bt'"]=function(_e){return ft(_e)}),xe.addKeyMap(Be)}});var Me=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],He=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function ft(xe){if(xe.getOption("disableInput"))return he.Pass;for(var fe=xe.listSelections(),Ke=[],Be=xe.getOption("autoCloseTags"),_e=0;_eNe.ch&&(Ye=Ye.slice(0,Ye.length-Qe.end+Ne.ch));var Ze=Ye.toLowerCase();if(!Ye||Qe.type=="string"&&(Qe.end!=Ne.ch||!/[\"\']/.test(Qe.string.charAt(Qe.string.length-1))||Qe.string.length==1)||Qe.type=="tag"&&Te.close||Qe.string.indexOf("/")==Ne.ch-Qe.start-1||qe&&ve(qe,Ze)>-1||Ae(xe,ke.mode.xmlCurrentContext&&ke.mode.xmlCurrentContext(Pe)||[],Ye,Ne,!0))return he.Pass;var et=typeof Be=="object"&&Be.emptyTags;if(et&&ve(et,Ye)>-1){Ke[_e]={text:"/>",newPos:he.Pos(Ne.line,Ne.ch+2)};continue}var rt=We&&ve(We,Ze)>-1;Ke[_e]={indent:rt,text:">"+(rt?` `:"")+"",newPos:rt?he.Pos(Ne.line+1,0):he.Pos(Ne.line,Ne.ch+1)}}for(var ht=typeof Be=="object"&&Be.dontIndentOnAutoClose,_e=fe.length-1;_e>=0;_e--){var dt=Ke[_e];xe.replaceRange(dt.text,fe[_e].head,fe[_e].anchor,"+insert");var Ct=xe.listSelections().slice(0);Ct[_e]={head:dt.newPos,anchor:dt.newPos},xe.setSelections(Ct),!ht&&dt.indent&&(xe.indentLine(dt.newPos.line,null,!0),xe.indentLine(dt.newPos.line+1,null,!0))}}function Oe(xe,fe){for(var Ke=xe.listSelections(),Be=[],_e=fe?"/":""&&(qe+=">"),Be[ke]=qe}if(xe.replaceSelections(Be),Ke=xe.listSelections(),!Qe)for(var ke=0;ke=0&&fe[Pe]==Ke;Pe--)++ke;Be=Qe.to;for(var Pe=1;Pe=Pe.max))return Pe.ch=0,Pe.text=Pe.cm.getLine(++Pe.line),!0}function fe(Pe){if(!(Pe.line<=Pe.min))return Pe.text=Pe.cm.getLine(--Pe.line),Pe.ch=Pe.text.length,!0}function Ke(Pe){for(;;){var Te=Pe.text.indexOf(">",Pe.ch);if(Te==-1){if(xe(Pe))continue;return}if(!Ae(Pe,Te+1)){Pe.ch=Te+1;continue}var Ye=Pe.text.lastIndexOf("/",Te),ze=Ye>-1&&!/\S/.test(Pe.text.slice(Ye+1,Te));return Pe.ch=Te+1,ze?"selfClose":"regular"}}function Be(Pe){for(;;){var Te=Pe.ch?Pe.text.lastIndexOf("<",Pe.ch-1):-1;if(Te==-1){if(fe(Pe))continue;return}if(!Ae(Pe,Te+1)){Pe.ch=Te;continue}Le.lastIndex=Te,Pe.ch=Te;var Ye=Le.exec(Pe.text);if(Ye&&Ye.index==Te)return Ye}}function _e(Pe){for(;;){Le.lastIndex=Pe.ch;var Te=Le.exec(Pe.text);if(!Te){if(xe(Pe))continue;return}if(!Ae(Pe,Te.index+1)){Pe.ch=Te.index+1;continue}return Pe.ch=Te.index+Te[0].length,Te}}function Ne(Pe){for(;;){var Te=Pe.ch?Pe.text.lastIndexOf(">",Pe.ch-1):-1;if(Te==-1){if(fe(Pe))continue;return}if(!Ae(Pe,Te+1)){Pe.ch=Te;continue}var Ye=Pe.text.lastIndexOf("/",Te),ze=Ye>-1&&!/\S/.test(Pe.text.slice(Ye+1,Te));return Pe.ch=Te+1,ze?"selfClose":"regular"}}function Qe(Pe,Te){for(var Ye=[];;){var ze=_e(Pe),qe,We=Pe.line,Ze=Pe.ch-(ze?ze[0].length:0);if(!ze||!(qe=Ke(Pe)))return;if(qe!="selfClose")if(ze[1]){for(var et=Ye.length-1;et>=0;--et)if(Ye[et]==ze[2]){Ye.length=et;break}if(et<0&&(!Te||Te==ze[2]))return{tag:ze[2],from:Me(We,Ze),to:Me(Pe.line,Pe.ch)}}else Ye.push(ze[2])}}function ke(Pe,Te){for(var Ye=[];;){var ze=Ne(Pe);if(!ze)return;if(ze=="selfClose"){Be(Pe);continue}var qe=Pe.line,We=Pe.ch,Ze=Be(Pe);if(!Ze)return;if(Ze[1])Ye.push(Ze[2]);else{for(var et=Ye.length-1;et>=0;--et)if(Ye[et]==Ze[2]){Ye.length=et;break}if(et<0&&(!Te||Te==Ze[2]))return{tag:Ze[2],from:Me(Pe.line,Pe.ch),to:Me(qe,We)}}}}he.registerHelper("fold","xml",function(Pe,Te){for(var Ye=new ve(Pe,Te.line,0);;){var ze=_e(Ye);if(!ze||Ye.line!=Te.line)return;var qe=Ke(Ye);if(!qe)return;if(!ze[1]&&qe!="selfClose"){var We=Me(Ye.line,Ye.ch),Ze=Qe(Ye,ze[2]);return Ze&&He(Ze.from,We)>0?{from:We,to:Ze.from}:null}}}),he.findMatchingTag=function(Pe,Te,Ye){var ze=new ve(Pe,Te.line,Te.ch,Ye);if(!(ze.text.indexOf(">")==-1&&ze.text.indexOf("<")==-1)){var qe=Ke(ze),We=qe&&Me(ze.line,ze.ch),Ze=qe&&Be(ze);if(!(!qe||!Ze||He(ze,Te)>0)){var et={from:Me(ze.line,ze.ch),to:We,tag:Ze[2]};return qe=="selfClose"?{open:et,close:null,at:"open"}:Ze[1]?{open:ke(ze,Ze[2]),close:et,at:"close"}:(ze=new ve(Pe,We.line,We.ch,Ye),{open:et,close:Qe(ze,Ze[2]),at:"open"})}}},he.findEnclosingTag=function(Pe,Te,Ye,ze){for(var qe=new ve(Pe,Te.line,Te.ch,Ye);;){var We=ke(qe,ze);if(!We)break;var Ze=new ve(Pe,Te.line,Te.ch,Ye),et=Qe(Ze,We.tag);if(et)return{open:We,close:et}}},he.scanForClosingTag=function(Pe,Te,Ye,ze){var qe=new ve(Pe,Te.line,Te.ch,ze?{from:0,to:ze}:null);return Qe(qe,Ye)}})},89780:function(Qn){(function(Yt,de){Qn.exports=de()})(this,function(){"use strict";var Yt=navigator.userAgent,de=navigator.platform,he=/gecko\/\d/i.test(Yt),Me=/MSIE \d/.test(Yt),He=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yt),ft=/Edge\/(\d+)/.exec(Yt),Oe=Me||He||ft,Le=Oe&&(Me?document.documentMode||6:+(ft||He)[1]),ve=!ft&&/WebKit\//.test(Yt),Ae=ve&&/Qt\/\d+\.\d+/.test(Yt),xe=!ft&&/Chrome\//.test(Yt),fe=/Opera\//.test(Yt),Ke=/Apple Computer/.test(navigator.vendor),Be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Yt),_e=/PhantomJS/.test(Yt),Ne=!ft&&/AppleWebKit/.test(Yt)&&/Mobile\/\w+/.test(Yt),Qe=/Android/.test(Yt),ke=Ne||Qe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Yt),Pe=Ne||/Mac/.test(de),Te=/\bCrOS\b/.test(Yt),Ye=/win/i.test(de),ze=fe&&Yt.match(/Version\/(\d*\.\d*)/);ze&&(ze=Number(ze[1])),ze&&ze>=15&&(fe=!1,ve=!0);var qe=Pe&&(Ae||fe&&(ze==null||ze<12.11)),We=he||Oe&&Le>=9;function Ze(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var et=function(x,ee){var ue=x.className,le=Ze(ee).exec(ue);if(le){var me=ue.slice(le.index+le[0].length);x.className=ue.slice(0,le.index)+(me?le[1]+me:"")}};function rt(x){for(var ee=x.childNodes.length;ee>0;--ee)x.removeChild(x.firstChild);return x}function ht(x,ee){return rt(x).appendChild(ee)}function dt(x,ee,ue,le){var me=document.createElement(x);if(ue&&(me.className=ue),le&&(me.style.cssText=le),typeof ee=="string")me.appendChild(document.createTextNode(ee));else if(ee)for(var Ve=0;Ve=ee)return mt+(ee-Ve);mt+=It-Ve,mt+=ue-mt%ue,Ve=It+1}}var Ue=function(){this.id=null,this.f=null,this.time=0,this.handler=Tt(this.onTimeout,this)};Ue.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Ue.prototype.set=function(x,ee){this.f=ee;var ue=+new Date+x;(!this.id||ue=ee)return le+Math.min(mt,ee-me);if(me+=Ve-le,me+=ue-me%ue,le=Ve+1,me>=ee)return le}}var dn=[""];function Gn(x){for(;dn.length<=x;)dn.push(Cn(dn)+" ");return dn[x]}function Cn(x){return x[x.length-1]}function mn(x,ee){for(var ue=[],le=0;le"\x80"&&(x.toUpperCase()!=x.toLowerCase()||ie.test(x))}function se(x,ee){return ee?ee.source.indexOf("\\w")>-1&&ae(x)?!0:ee.test(x):ae(x)}function oe(x){for(var ee in x)if(x.hasOwnProperty(ee)&&x[ee])return!1;return!0}var Je=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function vt(x){return x.charCodeAt(0)>=768&&Je.test(x)}function $e(x,ee,ue){for(;(ue<0?ee>0:eeue?-1:1;;){if(ee==ue)return ee;var me=(ee+ue)/2,Ve=le<0?Math.ceil(me):Math.floor(me);if(Ve==ee)return x(Ve)?ee:ue;x(Ve)?ue=Ve:ee=Ve+le}}function Pt(x,ee,ue,le){if(!x)return le(ee,ue,"ltr",0);for(var me=!1,Ve=0;Veee||ee==ue&&mt.to==ee)&&(le(Math.max(mt.from,ee),Math.min(mt.to,ue),mt.level==1?"rtl":"ltr",Ve),me=!0)}me||le(ee,ue,"ltr")}var _t=null;function kt(x,ee,ue){var le;_t=null;for(var me=0;meee)return me;Ve.to==ee&&(Ve.from!=Ve.to&&ue=="before"?le=me:_t=me),Ve.from==ee&&(Ve.from!=Ve.to&&ue!="before"?le=me:_t=me)}return le!=null?le:_t}var $t=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ee="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ue(Jt){return Jt<=247?x.charAt(Jt):1424<=Jt&&Jt<=1524?"R":1536<=Jt&&Jt<=1785?ee.charAt(Jt-1536):1774<=Jt&&Jt<=2220?"r":8192<=Jt&&Jt<=8203?"w":Jt==8204?"b":"L"}var le=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,me=/[stwN]/,Ve=/[LRr]/,mt=/[Lb1n]/,It=/[1n]/;function Ut(Jt,Zn,ir){this.level=Jt,this.from=Zn,this.to=ir}return function(Jt,Zn){var ir=Zn=="ltr"?"L":"R";if(Jt.length==0||Zn=="ltr"&&!le.test(Jt))return!1;for(var Yr=Jt.length,Qr=[],Oi=0;Oi-1&&(le[ee]=me.slice(0,Ve).concat(me.slice(Ve+1)))}}}function pt(x,ee){var ue=tn(x,ee);if(ue.length)for(var le=Array.prototype.slice.call(arguments,2),me=0;me0}function Xn(x){x.prototype.on=function(ee,ue){nn(this,ee,ue)},x.prototype.off=function(ee,ue){jt(this,ee,ue)}}function yr(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Dr(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Tr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Rr(x){yr(x),Dr(x)}function Sr(x){return x.target||x.srcElement}function fr(x){var ee=x.which;return ee==null&&(x.button&1?ee=1:x.button&2?ee=3:x.button&4&&(ee=2)),Pe&&x.ctrlKey&&ee==1&&(ee=3),ee}var Vr=function(){if(Oe&&Le<9)return!1;var x=dt("div");return"draggable"in x||"dragDrop"in x}(),Bi;function yi(x){if(Bi==null){var ee=dt("span","\u200B");ht(x,dt("span",[ee,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Bi=ee.offsetWidth<=1&&ee.offsetHeight>2&&!(Oe&&Le<8))}var ue=Bi?dt("span","\u200B"):dt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ue.setAttribute("cm-text",""),ue}var mi;function Vi(x){if(mi!=null)return mi;var ee=ht(x,document.createTextNode("A\u062EA")),ue=Xe(ee,0,1).getBoundingClientRect(),le=Xe(ee,1,2).getBoundingClientRect();return rt(x),!ue||ue.left==ue.right?!1:mi=le.right-ue.right<3}var ua=` b`.split(/\n/).length!=3?function(x){for(var ee=0,ue=[],le=x.length;ee<=le;){var me=x.indexOf(` `,ee);me==-1&&(me=x.length);var Ve=x.slice(ee,x.charAt(me-1)=="\r"?me-1:me),mt=Ve.indexOf("\r");mt!=-1?(ue.push(Ve.slice(0,mt)),ee+=mt+1):(ue.push(Ve),ee=me+1)}return ue}:function(x){return x.split(/\r\n?|\n/)},Wr=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(ee){return!1}}:function(x){var ee;try{ee=x.ownerDocument.selection.createRange()}catch(ue){}return!ee||ee.parentElement()!=x?!1:ee.compareEndPoints("StartToEnd",ee)!=0},Mn=function(){var x=dt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),ea=null;function Ea(x){if(ea!=null)return ea;var ee=ht(x,dt("span","x")),ue=ee.getBoundingClientRect(),le=Xe(ee,0,1).getBoundingClientRect();return ea=Math.abs(ue.left-le.left)>1}var wo={},sa={};function Pi(x,ee){arguments.length>2&&(ee.dependencies=Array.prototype.slice.call(arguments,2)),wo[x]=ee}function Aa(x,ee){sa[x]=ee}function Si(x){if(typeof x=="string"&&sa.hasOwnProperty(x))x=sa[x];else if(x&&typeof x.name=="string"&&sa.hasOwnProperty(x.name)){var ee=sa[x.name];typeof ee=="string"&&(ee={name:ee}),x=Fe(ee,x),x.name=ee.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Si("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Si("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function qr(x,ee){ee=Si(ee);var ue=wo[ee.name];if(!ue)return qr(x,"text/plain");var le=ue(x,ee);if(Ma.hasOwnProperty(ee.name)){var me=Ma[ee.name];for(var Ve in me)me.hasOwnProperty(Ve)&&(le.hasOwnProperty(Ve)&&(le["_"+Ve]=le[Ve]),le[Ve]=me[Ve])}if(le.name=ee.name,ee.helperType&&(le.helperType=ee.helperType),ee.modeProps)for(var mt in ee.modeProps)le[mt]=ee.modeProps[mt];return le}var Ma={};function kn(x,ee){var ue=Ma.hasOwnProperty(x)?Ma[x]:Ma[x]={};wt(ee,ue)}function Dt(x,ee){if(ee===!0)return ee;if(x.copyState)return x.copyState(ee);var ue={};for(var le in ee){var me=ee[le];me instanceof Array&&(me=me.concat([])),ue[le]=me}return ue}function Gt(x,ee){for(var ue;x.innerMode&&(ue=x.innerMode(ee),!(!ue||ue.mode==x));)ee=ue.state,x=ue.mode;return ue||{mode:x,state:ee}}function Wt(x,ee,ue){return x.startState?x.startState(ee,ue):!0}var Kt=function(x,ee,ue){this.pos=this.start=0,this.string=x,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ue};Kt.prototype.eol=function(){return this.pos>=this.string.length},Kt.prototype.sol=function(){return this.pos==this.lineStart},Kt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Kt.prototype.next=function(){if(this.posee},Kt.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},Kt.prototype.skipToEnd=function(){this.pos=this.string.length},Kt.prototype.skipTo=function(x){var ee=this.string.indexOf(x,this.pos);if(ee>-1)return this.pos=ee,!0},Kt.prototype.backUp=function(x){this.pos-=x},Kt.prototype.column=function(){return this.lastColumnPos0?null:(Ve&&ee!==!1&&(this.pos+=Ve[0].length),Ve)}},Kt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Kt.prototype.hideFirstChars=function(x,ee){this.lineStart+=x;try{return ee()}finally{this.lineStart-=x}},Kt.prototype.lookAhead=function(x){var ee=this.lineOracle;return ee&&ee.lookAhead(x)},Kt.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function on(x,ee){if(ee-=x.first,ee<0||ee>=x.size)throw new Error("There is no line "+(ee+x.first)+" in the document.");for(var ue=x;!ue.lines;)for(var le=0;;++le){var me=ue.children[le],Ve=me.chunkSize();if(ee=x.first&&eeue?er(ue,on(x,ue).text.length):ra(ee,on(x,ee.line).text.length)}function ra(x,ee){var ue=x.ch;return ue==null||ue>ee?er(x.line,ee):ue<0?er(x.line,0):x}function vn(x,ee){for(var ue=[],le=0;lethis.maxLookAhead&&(this.maxLookAhead=x),ee},Ar.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var ee=this.baseTokens[this.baseTokenPos+1];return{type:ee&&ee.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},Ar.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ar.fromSaved=function(x,ee,ue){return ee instanceof gr?new Ar(x,Dt(x.mode,ee.state),ue,ee.lookAhead):new Ar(x,Dt(x.mode,ee),ue)},Ar.prototype.save=function(x){var ee=x!==!1?Dt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gr(ee,this.maxLookAhead):ee};function jr(x,ee,ue,le){var me=[x.state.modeGen],Ve={};$a(x,ee.text,x.doc.mode,ue,function(Jt,Zn){return me.push(Jt,Zn)},Ve,le);for(var mt=ue.state,It=function(Jt){ue.baseTokens=me;var Zn=x.state.overlays[Jt],ir=1,Yr=0;ue.state=!0,$a(x,ee.text,Zn.mode,ue,function(Qr,Oi){for(var ma=ir;YrQr&&me.splice(ir,1,Qr,me[ir+1],qa),ir+=2,Yr=Math.min(Qr,qa)}if(Oi)if(Zn.opaque)me.splice(ma,ir-ma,Qr,"overlay "+Oi),ir=ma+2;else for(;max.options.maxHighlightLength&&Dt(x.doc.mode,le.state),Ve=jr(x,ee,le);me&&(le.state=me),ee.stateAfter=le.save(!me),ee.styles=Ve.styles,Ve.classes?ee.styleClasses=Ve.classes:ee.styleClasses&&(ee.styleClasses=null),ue===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return ee.styles}function Ir(x,ee,ue){var le=x.doc,me=x.display;if(!le.mode.startState)return new Ar(le,!0,ee);var Ve=Ua(x,ee,ue),mt=Ve>le.first&&on(le,Ve-1).stateAfter,It=mt?Ar.fromSaved(le,mt,Ve):new Ar(le,Wt(le.mode),Ve);return le.iter(Ve,ee,function(Ut){Fr(x,Ut.text,It);var Jt=It.line;Ut.stateAfter=Jt==ee-1||Jt%5==0||Jt>=me.viewFrom&&Jtee.start)return Ve}throw new Error("Mode "+x.name+" failed to advance stream.")}var Ti=function(x,ee,ue){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=ee||null,this.state=ue};function Pa(x,ee,ue,le){var me=x.doc,Ve=me.mode,mt;ee=Jr(me,ee);var It=on(me,ee.line),Ut=Ir(x,ee.line,ue),Jt=new Kt(It.text,x.options.tabSize,Ut),Zn;for(le&&(Zn=[]);(le||Jt.posx.options.maxHighlightLength?(It=!1,mt&&Fr(x,ee,le,Zn.pos),Zn.pos=ee.length,ir=null):ir=Ka(bi(ue,Zn,le.state,Yr),Ve),Yr){var Qr=Yr[0].name;Qr&&(ir="m-"+(ir?Qr+" "+ir:Qr))}if(!It||Jt!=ir){for(;Utmt;--It){if(It<=Ve.first)return Ve.first;var Ut=on(Ve,It-1),Jt=Ut.stateAfter;if(Jt&&(!ue||It+(Jt instanceof gr?Jt.lookAhead:0)<=Ve.modeFrontier))return It;var Zn=it(Ut.text,null,x.options.tabSize);(me==null||le>Zn)&&(me=It-1,le=Zn)}return me}function Fa(x,ee){if(x.modeFrontier=Math.min(x.modeFrontier,ee),!(x.highlightFrontierue;le--){var me=on(x,le).stateAfter;if(me&&(!(me instanceof gr)||le+me.lookAhead=ee:Ve.to>ee);(le||(le=[])).push(new za(mt,Ve.from,Ut?null:Ve.to))}}return le}function Va(x,ee,ue){var le;if(x)for(var me=0;me=ee:Ve.to>ee);if(It||Ve.from==ee&&mt.type=="bookmark"&&(!ue||Ve.marker.insertLeft)){var Ut=Ve.from==null||(mt.inclusiveLeft?Ve.from<=ee:Ve.from0&&It)for(var Uo=0;Uo0)){var Zn=[Ut,1],ir=kr(Jt.from,It.from),Yr=kr(Jt.to,It.to);(ir<0||!mt.inclusiveLeft&&!ir)&&Zn.push({from:Jt.from,to:It.from}),(Yr>0||!mt.inclusiveRight&&!Yr)&&Zn.push({from:It.to,to:Jt.to}),me.splice.apply(me,Zn),Ut+=Zn.length-3}}return me}function Oa(x){var ee=x.markedSpans;if(ee){for(var ue=0;ueee)&&(!le||jn(le,Ve.marker)<0)&&(le=Ve.marker)}return le}function Co(x,ee,ue,le,me){var Ve=on(x,ee),mt=oo&&Ve.markedSpans;if(mt)for(var It=0;It=0&&ir<=0||Zn<=0&&ir>=0)&&(Zn<=0&&(Ut.marker.inclusiveRight&&me.inclusiveLeft?kr(Jt.to,ue)>=0:kr(Jt.to,ue)>0)||Zn>=0&&(Ut.marker.inclusiveRight&&me.inclusiveLeft?kr(Jt.from,le)<=0:kr(Jt.from,le)<0)))return!0}}}function Fo(x){for(var ee;ee=Ks(x);)x=ee.find(-1,!0).line;return x}function Es(x){for(var ee;ee=Sa(x);)x=ee.find(1,!0).line;return x}function Js(x){for(var ee,ue;ee=Sa(x);)x=ee.find(1,!0).line,(ue||(ue=[])).push(x);return ue}function Os(x,ee){var ue=on(x,ee),le=Fo(ue);return ue==le?ee:dr(le)}function ps(x,ee){if(ee>x.lastLine())return ee;var ue=on(x,ee),le;if(!as(x,ue))return ee;for(;le=Sa(ue);)ue=le.find(1,!0).line;return dr(ue)+1}function as(x,ee){var ue=oo&&ee.markedSpans;if(ue){for(var le=void 0,me=0;meee.maxLineLength&&(ee.maxLineLength=me,ee.maxLine=le)})}var Ln=function(x,ee,ue){this.text=x,eo(this,ee),this.height=ue?ue(this):1};Ln.prototype.lineNo=function(){return dr(this)},Xn(Ln);function In(x,ee,ue,le){x.text=ee,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),Oa(x),eo(x,ue);var me=le?le(x):1;me!=x.height&&nr(x,me)}function Er(x){x.parent=null,Oa(x)}var vi={},ha={};function Ia(x,ee){if(!x||/^\s*$/.test(x))return null;var ue=ee.addModeClass?ha:vi;return ue[x]||(ue[x]=x.replace(/\S+/g,"cm-$&"))}function va(x,ee){var ue=Ct("span",null,null,ve?"padding-right: .1px":null),le={pre:Ct("pre",[ue],"CodeMirror-line"),content:ue,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};ee.measure={};for(var me=0;me<=(ee.rest?ee.rest.length:0);me++){var Ve=me?ee.rest[me-1]:ee.line,mt=void 0;le.pos=0,le.addToken=ya,Vi(x.display.measure)&&(mt=Sn(Ve,x.doc.direction))&&(le.addToken=Vo(le.addToken,mt)),le.map=[];var It=ee!=x.display.externalMeasured&&dr(Ve);Mo(Ve,le,br(x,Ve,It)),Ve.styleClasses&&(Ve.styleClasses.bgClass&&(le.bgClass=Et(Ve.styleClasses.bgClass,le.bgClass||"")),Ve.styleClasses.textClass&&(le.textClass=Et(Ve.styleClasses.textClass,le.textClass||""))),le.map.length==0&&le.map.push(0,0,le.content.appendChild(yi(x.display.measure))),me==0?(ee.measure.map=le.map,ee.measure.cache={}):((ee.measure.maps||(ee.measure.maps=[])).push(le.map),(ee.measure.caches||(ee.measure.caches=[])).push({}))}if(ve){var Ut=le.content.lastChild;(/\bcm-tab\b/.test(Ut.className)||Ut.querySelector&&Ut.querySelector(".cm-tab"))&&(le.content.className="cm-tab-wrap-hack")}return pt(x,"renderLine",x,ee.line,le.pre),le.pre.className&&(le.textClass=Et(le.pre.className,le.textClass||"")),le}function Ji(x){var ee=dt("span","\u2022","cm-invalidchar");return ee.title="\\u"+x.charCodeAt(0).toString(16),ee.setAttribute("aria-label",ee.title),ee}function ya(x,ee,ue,le,me,Ve,mt){if(ee){var It=x.splitSpaces?No(ee,x.trailingSpace):ee,Ut=x.cm.state.specialChars,Jt=!1,Zn;if(!Ut.test(ee))x.col+=ee.length,Zn=document.createTextNode(It),x.map.push(x.pos,x.pos+ee.length,Zn),Oe&&Le<9&&(Jt=!0),x.pos+=ee.length;else{Zn=document.createDocumentFragment();for(var ir=0;;){Ut.lastIndex=ir;var Yr=Ut.exec(ee),Qr=Yr?Yr.index-ir:ee.length-ir;if(Qr){var Oi=document.createTextNode(It.slice(ir,ir+Qr));Oe&&Le<9?Zn.appendChild(dt("span",[Oi])):Zn.appendChild(Oi),x.map.push(x.pos,x.pos+Qr,Oi),x.col+=Qr,x.pos+=Qr}if(!Yr)break;ir+=Qr+1;var ma=void 0;if(Yr[0]==" "){var qa=x.cm.options.tabSize,bo=qa-x.col%qa;ma=Zn.appendChild(dt("span",Gn(bo),"cm-tab")),ma.setAttribute("role","presentation"),ma.setAttribute("cm-text"," "),x.col+=bo}else Yr[0]=="\r"||Yr[0]==` `?(ma=Zn.appendChild(dt("span",Yr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ma.setAttribute("cm-text",Yr[0]),x.col+=1):(ma=x.cm.options.specialCharPlaceholder(Yr[0]),ma.setAttribute("cm-text",Yr[0]),Oe&&Le<9?Zn.appendChild(dt("span",[ma])):Zn.appendChild(ma),x.col+=1);x.map.push(x.pos,x.pos+1,ma),x.pos++}}if(x.trailingSpace=It.charCodeAt(ee.length-1)==32,ue||le||me||Jt||Ve||mt){var _o=ue||"";le&&(_o+=le),me&&(_o+=me);var po=dt("span",[Zn],_o,Ve);if(mt)for(var Uo in mt)mt.hasOwnProperty(Uo)&&Uo!="style"&&Uo!="class"&&po.setAttribute(Uo,mt[Uo]);return x.content.appendChild(po)}x.content.appendChild(Zn)}}function No(x,ee){if(x.length>1&&!/ /.test(x))return x;for(var ue=ee,le="",me=0;meJt&&ir.from<=Jt));Yr++);if(ir.to>=Zn)return x(ue,le,me,Ve,mt,It,Ut);x(ue,le.slice(0,ir.to-Jt),me,Ve,null,It,Ut),Ve=null,le=le.slice(ir.to-Jt),Jt=ir.to}}}function cs(x,ee,ue,le){var me=!le&&ue.widgetNode;me&&x.map.push(x.pos,x.pos+ee,me),!le&&x.cm.display.input.needsContentAttribute&&(me||(me=x.content.appendChild(document.createElement("span"))),me.setAttribute("cm-marker",ue.id)),me&&(x.cm.display.input.setUneditable(me),x.content.appendChild(me)),x.pos+=ee,x.trailingSpace=!1}function Mo(x,ee,ue){var le=x.markedSpans,me=x.text,Ve=0;if(!le){for(var mt=1;mtUt||Ns.collapsed&&vs.to==Ut&&vs.from==Ut)){if(vs.to!=null&&vs.to!=Ut&&Qr>vs.to&&(Qr=vs.to,ma=""),Ns.className&&(Oi+=" "+Ns.className),Ns.css&&(Yr=(Yr?Yr+";":"")+Ns.css),Ns.startStyle&&vs.from==Ut&&(qa+=" "+Ns.startStyle),Ns.endStyle&&vs.to==Qr&&(Uo||(Uo=[])).push(Ns.endStyle,vs.to),Ns.title&&((_o||(_o={})).title=Ns.title),Ns.attributes)for(var Hu in Ns.attributes)(_o||(_o={}))[Hu]=Ns.attributes[Hu];Ns.collapsed&&(!bo||jn(bo.marker,Ns)<0)&&(bo=vs)}else vs.from>Ut&&Qr>vs.from&&(Qr=vs.from)}if(Uo)for(var dd=0;dd=It)break;for(var Id=Math.min(It,Qr);;){if(Zn){var xd=Ut+Zn.length;if(!bo){var ad=xd>Id?Zn.slice(0,Id-Ut):Zn;ee.addToken(ee,ad,ir?ir+Oi:Oi,qa,Ut+ad.length==Qr?ma:"",Yr,_o)}if(xd>=Id){Zn=Zn.slice(Id-Ut),Ut=Id;break}Ut=xd,qa=""}Zn=me.slice(Ve,Ve=ue[Jt++]),ir=Ia(ue[Jt++],ee.cm.options)}}}function ul(x,ee,ue){this.line=ee,this.rest=Js(ee),this.size=this.rest?dr(Cn(this.rest))-ue+1:1,this.node=this.text=null,this.hidden=as(x,ee)}function Ss(x,ee,ue){for(var le=[],me,Ve=ee;Ve2&&Ve.push((Ut.bottom+Jt.top)/2-ue.top)}}Ve.push(ue.bottom-ue.top)}}function Xo(x,ee,ue){if(x.line==ee)return{map:x.measure.map,cache:x.measure.cache};for(var le=0;leue)return{map:x.measure.maps[me],cache:x.measure.caches[me],before:!0}}function Pl(x,ee){ee=Fo(ee);var ue=dr(ee),le=x.display.externalMeasured=new ul(x.doc,ee,ue);le.lineN=ue;var me=le.built=va(x,le);return le.text=me.pre,ht(x.display.lineMeasure,me.pre),le}function Tl(x,ee,ue,le){return js(x,Wo(x,ee),ue,le)}function ml(x,ee){if(ee>=x.display.viewFrom&&ee=ue.lineN&&eeee)&&(Ve=Ut-It,me=Ve-1,ee>=Ut&&(mt="right")),me!=null){if(le=x[Jt+2],It==Ut&&ue==(le.insertLeft?"left":"right")&&(mt=ue),ue=="left"&&me==0)for(;Jt&&x[Jt-2]==x[Jt-3]&&x[Jt-1].insertLeft;)le=x[(Jt-=3)+2],mt="left";if(ue=="right"&&me==Ut-It)for(;Jt=0&&(ue=x[me]).left==ue.right;me--);return ue}function ys(x,ee,ue,le){var me=mc(ee.map,ue,le),Ve=me.node,mt=me.start,It=me.end,Ut=me.collapse,Jt;if(Ve.nodeType==3){for(var Zn=0;Zn<4;Zn++){for(;mt&&vt(ee.line.text.charAt(me.coverStart+mt));)--mt;for(;me.coverStart+It0&&(Ut=le="right");var ir;x.options.lineWrapping&&(ir=Ve.getClientRects()).length>1?Jt=ir[le=="right"?ir.length-1:0]:Jt=Ve.getBoundingClientRect()}if(Oe&&Le<9&&!mt&&(!Jt||!Jt.left&&!Jt.right)){var Yr=Ve.parentNode.getClientRects()[0];Yr?Jt={left:Yr.left,right:Yr.left+ki(x.display),top:Yr.top,bottom:Yr.bottom}:Jt=zu}for(var Qr=Jt.top-ee.rect.top,Oi=Jt.bottom-ee.rect.top,ma=(Qr+Oi)/2,qa=ee.view.measure.heights,bo=0;bo=le.text.length?(Ut=le.text.length,Jt="before"):Ut<=0&&(Ut=0,Jt="after"),!It)return mt(Jt=="before"?Ut-1:Ut,Jt=="before");function Zn(Oi,ma,qa){var bo=It[ma],_o=bo.level==1;return mt(qa?Oi-1:Oi,_o!=qa)}var ir=kt(It,Ut,Jt),Yr=_t,Qr=Zn(Ut,ir,Jt=="before");return Yr!=null&&(Qr.other=Zn(Ut,Yr,Jt!="before")),Qr}function qu(x,ee){var ue=0;ee=Jr(x.doc,ee),x.options.lineWrapping||(ue=ki(x.display)*ee.ch);var le=on(x.doc,ee.line),me=fa(le)+tl(x.display);return{left:ue,right:ue,top:me,bottom:me+le.height}}function Hc(x,ee,ue,le,me){var Ve=er(x,ee,ue);return Ve.xRel=me,le&&(Ve.outside=le),Ve}function Cu(x,ee,ue){var le=x.doc;if(ue+=x.display.viewOffset,ue<0)return Hc(le.first,0,null,-1,-1);var me=Pr(le,ue),Ve=le.first+le.size-1;if(me>Ve)return Hc(le.first+le.size-1,on(le,Ve).text.length,null,1,1);ee<0&&(ee=0);for(var mt=on(le,me);;){var It=uf(x,mt,me,ee,ue),Ut=ga(mt,It.ch+(It.xRel>0||It.outside>0?1:0));if(!Ut)return It;var Jt=Ut.find(1);if(Jt.line==me)return Jt;mt=on(le,me=Jt.line)}}function nA(x,ee,ue,le){le-=Gl(ee);var me=ee.text.length,Ve=lt(function(mt){return js(x,ue,mt-1).bottom<=le},me,0);return me=lt(function(mt){return js(x,ue,mt).top>le},Ve,me),{begin:Ve,end:me}}function kd(x,ee,ue,le){ue||(ue=Wo(x,ee));var me=ic(x,ee,js(x,ue,le),"line").top;return nA(x,ee,ue,me)}function gd(x,ee,ue,le){return x.bottom<=ue?!1:x.top>ue?!0:(le?x.left:x.right)>ee}function uf(x,ee,ue,le,me){me-=fa(ee);var Ve=Wo(x,ee),mt=Gl(ee),It=0,Ut=ee.text.length,Jt=!0,Zn=Sn(ee,x.doc.direction);if(Zn){var ir=(x.options.lineWrapping?pA:ud)(x,ee,ue,Ve,Zn,le,me);Jt=ir.level!=1,It=Jt?ir.from:ir.to-1,Ut=Jt?ir.to:ir.from-1}var Yr=null,Qr=null,Oi=lt(function(hs){var vs=js(x,Ve,hs);return vs.top+=mt,vs.bottom+=mt,gd(vs,le,me,!1)?(vs.top<=me&&vs.left<=le&&(Yr=hs,Qr=vs),!0):!1},It,Ut),ma,qa,bo=!1;if(Qr){var _o=le-Qr.left=Uo.bottom?1:0}return Oi=$e(ee.text,Oi,1),Hc(ue,Oi,qa,bo,le-ma)}function ud(x,ee,ue,le,me,Ve,mt){var It=lt(function(ir){var Yr=me[ir],Qr=Yr.level!=1;return gd(ku(x,er(ue,Qr?Yr.to:Yr.from,Qr?"before":"after"),"line",ee,le),Ve,mt,!0)},0,me.length-1),Ut=me[It];if(It>0){var Jt=Ut.level!=1,Zn=ku(x,er(ue,Jt?Ut.from:Ut.to,Jt?"after":"before"),"line",ee,le);gd(Zn,Ve,mt,!0)&&Zn.top>mt&&(Ut=me[It-1])}return Ut}function pA(x,ee,ue,le,me,Ve,mt){var It=nA(x,ee,le,mt),Ut=It.begin,Jt=It.end;/\s/.test(ee.text.charAt(Jt-1))&&Jt--;for(var Zn=null,ir=null,Yr=0;Yr=Jt||Qr.to<=Ut)){var Oi=Qr.level!=1,ma=js(x,le,Oi?Math.min(Jt,Qr.to)-1:Math.max(Ut,Qr.from)).right,qa=maqa)&&(Zn=Qr,ir=qa)}}return Zn||(Zn=me[me.length-1]),Zn.fromJt&&(Zn={from:Zn.from,to:Jt,level:Zn.level}),Zn}var lc;function _d(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(lc==null){lc=dt("pre",null,"CodeMirror-line-like");for(var ee=0;ee<49;++ee)lc.appendChild(document.createTextNode("x")),lc.appendChild(dt("br"));lc.appendChild(document.createTextNode("x"))}ht(x.measure,lc);var ue=lc.offsetHeight/50;return ue>3&&(x.cachedTextHeight=ue),rt(x.measure),ue||1}function ki(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var ee=dt("span","xxxxxxxxxx"),ue=dt("pre",[ee],"CodeMirror-line-like");ht(x.measure,ue);var le=ee.getBoundingClientRect(),me=(le.right-le.left)/10;return me>2&&(x.cachedCharWidth=me),me||10}function lo(x){for(var ee=x.display,ue={},le={},me=ee.gutters.clientLeft,Ve=ee.gutters.firstChild,mt=0;Ve;Ve=Ve.nextSibling,++mt){var It=x.display.gutterSpecs[mt].className;ue[It]=Ve.offsetLeft+Ve.clientLeft+me,le[It]=Ve.clientWidth}return{fixedPos:fi(ee),gutterTotalWidth:ee.gutters.offsetWidth,gutterLeft:ue,gutterWidth:le,wrapperWidth:ee.wrapper.clientWidth}}function fi(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function To(x){var ee=_d(x.display),ue=x.options.lineWrapping,le=ue&&Math.max(5,x.display.scroller.clientWidth/ki(x.display)-3);return function(me){if(as(x.doc,me))return 0;var Ve=0;if(me.widgets)for(var mt=0;mt0&&(Jt=on(x.doc,Ut.line).text).length==Ut.ch){var Zn=it(Jt,Jt.length,x.options.tabSize)-Jt.length;Ut=er(Ut.line,Math.max(0,Math.round((Ve-nu(x.display).left)/ki(x.display))-Zn))}return Ut}function gu(x,ee){if(ee>=x.display.viewTo||(ee-=x.display.viewFrom,ee<0))return null;for(var ue=x.display.view,le=0;leee)&&(me.updateLineNumbers=ee),x.curOp.viewChanged=!0,ee>=me.viewTo)oo&&Os(x.doc,ee)me.viewFrom?Lc(x):(me.viewFrom+=le,me.viewTo+=le);else if(ee<=me.viewFrom&&ue>=me.viewTo)Lc(x);else if(ee<=me.viewFrom){var Ve=Sc(x,ue,ue+le,1);Ve?(me.view=me.view.slice(Ve.index),me.viewFrom=Ve.lineN,me.viewTo+=le):Lc(x)}else if(ue>=me.viewTo){var mt=Sc(x,ee,ee,-1);mt?(me.view=me.view.slice(0,mt.index),me.viewTo=mt.lineN):Lc(x)}else{var It=Sc(x,ee,ee,-1),Ut=Sc(x,ue,ue+le,1);It&&Ut?(me.view=me.view.slice(0,It.index).concat(Ss(x,It.lineN,Ut.lineN)).concat(me.view.slice(Ut.index)),me.viewTo+=le):Lc(x)}var Jt=me.externalMeasured;Jt&&(ue=me.lineN&&ee=le.viewTo)){var Ve=le.view[gu(x,ee)];if(Ve.node!=null){var mt=Ve.changes||(Ve.changes=[]);at(mt,ue)==-1&&mt.push(ue)}}}function Lc(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function Sc(x,ee,ue,le){var me=gu(x,ee),Ve,mt=x.display.view;if(!oo||ue==x.doc.first+x.doc.size)return{index:me,lineN:ue};for(var It=x.display.viewFrom,Ut=0;Ut0){if(me==mt.length-1)return null;Ve=It+mt[me].size-ee,me++}else Ve=It-ee;ee+=Ve,ue+=Ve}for(;Os(x.doc,ue)!=ue;){if(me==(le<0?0:mt.length-1))return null;ue+=le*mt[me-(le<0?1:0)].size,me+=le}return{index:me,lineN:ue}}function dl(x,ee,ue){var le=x.display,me=le.view;me.length==0||ee>=le.viewTo||ue<=le.viewFrom?(le.view=Ss(x,ee,ue),le.viewFrom=ee):(le.viewFrom>ee?le.view=Ss(x,ee,le.viewFrom).concat(le.view):le.viewFromue&&(le.view=le.view.slice(0,gu(x,ue)))),le.viewTo=ue}function Gs(x){for(var ee=x.display.view,ue=0,le=0;le=x.display.viewTo||It.to().line0?ee.blinker=setInterval(function(){x.hasFocus()||Nu(x),ee.cursorDiv.style.visibility=(ue=!ue)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(ee.cursorDiv.style.visibility="hidden")}}function cd(x){x.state.focused||(x.display.input.focus(),Dc(x))}function ac(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Nu(x))},100)}function Dc(x,ee){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(pt(x,"focus",x,ee),x.state.focused=!0,Ht(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),ve&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),vd(x))}function Nu(x,ee){x.state.delayingBlurEvent||(x.state.focused&&(pt(x,"blur",x,ee),x.state.focused=!1,et(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function Ec(x){for(var ee=x.display,ue=ee.lineDiv.offsetTop,le=0;le.005||Zn<-.005)&&(nr(me.line,mt),$u(me.line),me.rest))for(var ir=0;irx.display.sizerWidth){var Yr=Math.ceil(It/ki(x.display));Yr>x.display.maxLineLength&&(x.display.maxLineLength=Yr,x.display.maxLine=me.line,x.display.maxLineChanged=!0)}}}}function $u(x){if(x.widgets)for(var ee=0;ee=mt&&(Ve=Pr(ee,fa(on(ee,Ut))-x.wrapper.clientHeight),mt=Ut)}return{from:Ve,to:Math.max(mt,Ve+1)}}function Oc(x,ee){if(!Zt(x,"scrollCursorIntoView")){var ue=x.display,le=ue.sizer.getBoundingClientRect(),me=null;if(ee.top+le.top<0?me=!0:ee.bottom+le.top>(window.innerHeight||document.documentElement.clientHeight)&&(me=!1),me!=null&&!_e){var Ve=dt("div","\u200B",null,`position: absolute; top: `+(ee.top-ue.viewOffset-tl(x.display))+`px; height: `+(ee.bottom-ee.top+Fu(x)+ue.barHeight)+`px; left: `+ee.left+"px; width: "+Math.max(2,ee.right-ee.left)+"px;");x.display.lineSpace.appendChild(Ve),Ve.scrollIntoView(me),x.display.lineSpace.removeChild(Ve)}}}function yd(x,ee,ue,le){le==null&&(le=0);var me;!x.options.lineWrapping&&ee==ue&&(ee=ee.ch?er(ee.line,ee.sticky=="before"?ee.ch-1:ee.ch,"after"):ee,ue=ee.sticky=="before"?er(ee.line,ee.ch+1,"before"):ee);for(var Ve=0;Ve<5;Ve++){var mt=!1,It=ku(x,ee),Ut=!ue||ue==ee?It:ku(x,ue);me={left:Math.min(It.left,Ut.left),top:Math.min(It.top,Ut.top)-le,right:Math.max(It.left,Ut.left),bottom:Math.max(It.bottom,Ut.bottom)+le};var Jt=KA(x,me),Zn=x.doc.scrollTop,ir=x.doc.scrollLeft;if(Jt.scrollTop!=null&&(Jc(x,Jt.scrollTop),Math.abs(x.doc.scrollTop-Zn)>1&&(mt=!0)),Jt.scrollLeft!=null&&(iA(x,Jt.scrollLeft),Math.abs(x.doc.scrollLeft-ir)>1&&(mt=!0)),!mt)break}return me}function nh(x,ee){var ue=KA(x,ee);ue.scrollTop!=null&&Jc(x,ue.scrollTop),ue.scrollLeft!=null&&iA(x,ue.scrollLeft)}function KA(x,ee){var ue=x.display,le=_d(x.display);ee.top<0&&(ee.top=0);var me=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ue.scroller.scrollTop,Ve=Vl(x),mt={};ee.bottom-ee.top>Ve&&(ee.bottom=ee.top+Ve);var It=x.doc.height+eu(ue),Ut=ee.topIt-le;if(ee.topme+Ve){var Zn=Math.min(ee.top,(Jt?It:ee.bottom)-Ve);Zn!=me&&(mt.scrollTop=Zn)}var ir=x.options.fixedGutter?0:ue.gutters.offsetWidth,Yr=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ue.scroller.scrollLeft-ir,Qr=wl(x)-ue.gutters.offsetWidth,Oi=ee.right-ee.left>Qr;return Oi&&(ee.right=ee.left+Qr),ee.left<10?mt.scrollLeft=0:ee.leftQr+Yr-3&&(mt.scrollLeft=ee.right+(Oi?0:10)-Qr),mt}function Bh(x,ee){ee!=null&&(mA(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+ee)}function rA(x){mA(x);var ee=x.getCursor();x.curOp.scrollToPos={from:ee,to:ee,margin:x.options.cursorScrollMargin}}function zA(x,ee,ue){(ee!=null||ue!=null)&&mA(x),ee!=null&&(x.curOp.scrollLeft=ee),ue!=null&&(x.curOp.scrollTop=ue)}function am(x,ee){mA(x),x.curOp.scrollToPos=ee}function mA(x){var ee=x.curOp.scrollToPos;if(ee){x.curOp.scrollToPos=null;var ue=qu(x,ee.from),le=qu(x,ee.to);Vd(x,ue,le,ee.margin)}}function Vd(x,ee,ue,le){var me=KA(x,{left:Math.min(ee.left,ue.left),top:Math.min(ee.top,ue.top)-le,right:Math.max(ee.right,ue.right),bottom:Math.max(ee.bottom,ue.bottom)+le});zA(x,me.scrollLeft,me.scrollTop)}function Jc(x,ee){Math.abs(x.doc.scrollTop-ee)<2||(he||Ra(x,{top:ee}),ru(x,ee,!0),he&&Ra(x),Zr(x,100))}function ru(x,ee,ue){ee=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,ee)),!(x.display.scroller.scrollTop==ee&&!ue)&&(x.doc.scrollTop=ee,x.display.scrollbars.setScrollTop(ee),x.display.scroller.scrollTop!=ee&&(x.display.scroller.scrollTop=ee))}function iA(x,ee,ue,le){ee=Math.max(0,Math.min(ee,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ue?ee==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-ee)<2)&&!le)&&(x.doc.scrollLeft=ee,Jo(x),x.display.scroller.scrollLeft!=ee&&(x.display.scroller.scrollLeft=ee),x.display.scrollbars.setScrollLeft(ee))}function gf(x){var ee=x.display,ue=ee.gutters.offsetWidth,le=Math.round(x.doc.height+eu(x.display));return{clientHeight:ee.scroller.clientHeight,viewHeight:ee.wrapper.clientHeight,scrollWidth:ee.scroller.scrollWidth,clientWidth:ee.scroller.clientWidth,viewWidth:ee.wrapper.clientWidth,barLeft:x.options.fixedGutter?ue:0,docHeight:le,scrollHeight:le+Fu(x)+ee.barHeight,nativeBarWidth:ee.nativeBarWidth,gutterWidth:ue}}var WA=function(x,ee,ue){this.cm=ue;var le=this.vert=dt("div",[dt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),me=this.horiz=dt("div",[dt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");le.tabIndex=me.tabIndex=-1,x(le),x(me),nn(le,"scroll",function(){le.clientHeight&&ee(le.scrollTop,"vertical")}),nn(me,"scroll",function(){me.clientWidth&&ee(me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Oe&&Le<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};WA.prototype.update=function(x){var ee=x.scrollWidth>x.clientWidth+1,ue=x.scrollHeight>x.clientHeight+1,le=x.nativeBarWidth;if(ue){this.vert.style.display="block",this.vert.style.bottom=ee?le+"px":"0";var me=x.viewHeight-(ee?le:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+me)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ee){this.horiz.style.display="block",this.horiz.style.right=ue?le+"px":"0",this.horiz.style.left=x.barLeft+"px";var Ve=x.viewWidth-x.barLeft-(ue?le:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+Ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(le==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ue?le:0,bottom:ee?le:0}},WA.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},WA.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},WA.prototype.zeroWidthHack=function(){var x=Pe&&!Be?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ue,this.disableVert=new Ue},WA.prototype.enableZeroWidthBar=function(x,ee,ue){x.style.pointerEvents="auto";function le(){var me=x.getBoundingClientRect(),Ve=ue=="vert"?document.elementFromPoint(me.right-1,(me.top+me.bottom)/2):document.elementFromPoint((me.right+me.left)/2,me.bottom-1);Ve!=x?x.style.pointerEvents="none":ee.set(1e3,le)}ee.set(1e3,le)},WA.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var nd=function(){};nd.prototype.update=function(){return{bottom:0,right:0}},nd.prototype.setScrollLeft=function(){},nd.prototype.setScrollTop=function(){},nd.prototype.clear=function(){};function gA(x,ee){ee||(ee=gf(x));var ue=x.display.barWidth,le=x.display.barHeight;rh(x,ee);for(var me=0;me<4&&ue!=x.display.barWidth||le!=x.display.barHeight;me++)ue!=x.display.barWidth&&x.options.lineWrapping&&Ec(x),rh(x,gf(x)),ue=x.display.barWidth,le=x.display.barHeight}function rh(x,ee){var ue=x.display,le=ue.scrollbars.update(ee);ue.sizer.style.paddingRight=(ue.barWidth=le.right)+"px",ue.sizer.style.paddingBottom=(ue.barHeight=le.bottom)+"px",ue.heightForcer.style.borderBottom=le.bottom+"px solid transparent",le.right&&le.bottom?(ue.scrollbarFiller.style.display="block",ue.scrollbarFiller.style.height=le.bottom+"px",ue.scrollbarFiller.style.width=le.right+"px"):ue.scrollbarFiller.style.display="",le.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ue.gutterFiller.style.display="block",ue.gutterFiller.style.height=le.bottom+"px",ue.gutterFiller.style.width=ee.gutterWidth+"px"):ue.gutterFiller.style.display=""}var vf={native:WA,null:nd};function k0(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&et(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new vf[x.options.scrollbarStyle](function(ee){x.display.wrapper.insertBefore(ee,x.display.scrollbarFiller),nn(ee,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),ee.setAttribute("cm-not-content","true")},function(ee,ue){ue=="horizontal"?iA(x,ee):Jc(x,ee)},x),x.display.scrollbars.addClass&&Ht(x.display.wrapper,x.display.scrollbars.addClass)}var np=0;function uc(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++np},On(x.curOp)}function aA(x){var ee=x.curOp;ee&&wr(ee,function(ue){for(var le=0;le=ue.viewTo)||ue.maxLineChanged&&ee.options.lineWrapping,x.update=x.mustUpdate&&new $r(ee,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Rt(x){x.updatedDisplay=x.mustUpdate&&Za(x.cm,x.update)}function fn(x){var ee=x.cm,ue=ee.display;x.updatedDisplay&&Ec(ee),x.barMeasure=gf(ee),ue.maxLineChanged&&!ee.options.lineWrapping&&(x.adjustWidthTo=Tl(ee,ue.maxLine,ue.maxLine.text.length).left+3,ee.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ue.scroller.clientWidth,ue.sizer.offsetLeft+x.adjustWidthTo+Fu(ee)+ee.display.barWidth),x.maxScrollLeft=Math.max(0,ue.sizer.offsetLeft+x.adjustWidthTo-wl(ee))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ue.input.prepareSelection())}function En(x){var ee=x.cm;x.adjustWidthTo!=null&&(ee.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft=x.display.viewTo)){var ue=+new Date+x.options.workTime,le=Ir(x,ee.highlightFrontier),me=[];ee.iter(le.line,Math.min(ee.first+ee.size,x.display.viewTo+500),function(Ve){if(le.line>=x.display.viewFrom){var mt=Ve.styles,It=Ve.text.length>x.options.maxHighlightLength?Dt(ee.mode,le.state):null,Ut=jr(x,Ve,le,!0);It&&(le.state=It),Ve.styles=Ut.styles;var Jt=Ve.styleClasses,Zn=Ut.classes;Zn?Ve.styleClasses=Zn:Jt&&(Ve.styleClasses=null);for(var ir=!mt||mt.length!=Ve.styles.length||Jt!=Zn&&(!Jt||!Zn||Jt.bgClass!=Zn.bgClass||Jt.textClass!=Zn.textClass),Yr=0;!ir&&Yrue)return Zr(x,x.options.workDelay),!0}),ee.highlightFrontier=le.line,ee.modeFrontier=Math.max(ee.modeFrontier,le.line),me.length&&Rn(x,function(){for(var Ve=0;Ve=ue.viewFrom&&ee.visible.to<=ue.viewTo&&(ue.updateLineNumbers==null||ue.updateLineNumbers>=ue.viewTo)&&ue.renderedView==ue.view&&Gs(x)==0)return!1;ko(x)&&(Lc(x),ee.dims=lo(x));var me=le.first+le.size,Ve=Math.max(ee.visible.from-x.options.viewportMargin,le.first),mt=Math.min(me,ee.visible.to+x.options.viewportMargin);ue.viewFrommt&&ue.viewTo-mt<20&&(mt=Math.min(me,ue.viewTo)),oo&&(Ve=Os(x.doc,Ve),mt=ps(x.doc,mt));var It=Ve!=ue.viewFrom||mt!=ue.viewTo||ue.lastWrapHeight!=ee.wrapperHeight||ue.lastWrapWidth!=ee.wrapperWidth;dl(x,Ve,mt),ue.viewOffset=fa(on(x.doc,ue.viewFrom)),x.display.mover.style.top=ue.viewOffset+"px";var Ut=Gs(x);if(!It&&Ut==0&&!ee.force&&ue.renderedView==ue.view&&(ue.updateLineNumbers==null||ue.updateLineNumbers>=ue.viewTo))return!1;var Jt=Ri(x);return Ut>4&&(ue.lineDiv.style.display="none"),Da(x,ue.updateLineNumbers,ee.dims),Ut>4&&(ue.lineDiv.style.display=""),ue.renderedView=ue.view,zi(Jt),rt(ue.cursorDiv),rt(ue.selectionDiv),ue.gutters.style.height=ue.sizer.style.minHeight=0,It&&(ue.lastWrapHeight=ee.wrapperHeight,ue.lastWrapWidth=ee.wrapperWidth,Zr(x,400)),ue.updateLineNumbers=null,!0}function _a(x,ee){for(var ue=ee.viewport,le=!0;;le=!1){if(!le||!x.options.lineWrapping||ee.oldDisplayWidth==wl(x)){if(ue&&ue.top!=null&&(ue={top:Math.min(x.doc.height+eu(x.display)-Vl(x),ue.top)}),ee.visible=Pu(x.display,x.doc,ue),ee.visible.from>=x.display.viewFrom&&ee.visible.to<=x.display.viewTo)break}else le&&(ee.visible=Pu(x.display,x.doc,ue));if(!Za(x,ee))break;Ec(x);var me=gf(x);Ms(x),gA(x,me),Qo(x,me),ee.force=!1}ee.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(ee.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Ra(x,ee){var ue=new $r(x,ee);if(Za(x,ue)){Ec(x),_a(x,ue);var le=gf(x);Ms(x),gA(x,le),Qo(x,le),ue.finish()}}function Da(x,ee,ue){var le=x.display,me=x.options.lineNumbers,Ve=le.lineDiv,mt=Ve.firstChild;function It(Oi){var ma=Oi.nextSibling;return ve&&Pe&&x.display.currentWheelTarget==Oi?Oi.style.display="none":Oi.parentNode.removeChild(Oi),ma}for(var Ut=le.view,Jt=le.viewFrom,Zn=0;Zn-1&&(Qr=!1),Hi(x,ir,Jt,ue)),Qr&&(rt(ir.lineNumber),ir.lineNumber.appendChild(document.createTextNode(ei(x.options,Jt)))),mt=ir.node.nextSibling}Jt+=ir.size}for(;mt;)mt=It(mt)}function ro(x){var ee=x.gutters.offsetWidth;x.sizer.style.marginLeft=ee+"px"}function Qo(x,ee){x.display.sizer.style.minHeight=ee.docHeight+"px",x.display.heightForcer.style.top=ee.docHeight+"px",x.display.gutters.style.height=ee.docHeight+x.display.barHeight+Fu(x)+"px"}function Jo(x){var ee=x.display,ue=ee.view;if(!(!ee.alignWidgets&&(!ee.gutters.firstChild||!x.options.fixedGutter))){for(var le=fi(ee)-ee.scroller.scrollLeft+x.doc.scrollLeft,me=ee.gutters.offsetWidth,Ve=le+"px",mt=0;mtmt.clientWidth,Ut=mt.scrollHeight>mt.clientHeight;if(le&&It||me&&Ut){if(me&&Pe&&ve){e:for(var Jt=ee.target,Zn=Ve.view;Jt!=mt;Jt=Jt.parentNode)for(var ir=0;ir=0&&kr(x,le.to())<=0)return ue}return-1};var Ga=function(x,ee){this.anchor=x,this.head=ee};Ga.prototype.from=function(){return Mi(this.anchor,this.head)},Ga.prototype.to=function(){return ji(this.anchor,this.head)},Ga.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ms(x,ee,ue){var le=x&&x.options.selectionsMayTouch,me=ee[ue];ee.sort(function(Yr,Qr){return kr(Yr.from(),Qr.from())}),ue=at(ee,me);for(var Ve=1;Ve0:Ut>=0){var Jt=Mi(It.from(),mt.from()),Zn=ji(It.to(),mt.to()),ir=It.empty()?mt.from()==mt.head:It.from()==It.head;Ve<=ue&&--ue,ee.splice(--Ve,2,new Ga(ir?Zn:Jt,ir?Jt:Zn))}}return new rs(ee,ue)}function Is(x,ee){return new rs([new Ga(x,ee||x)],0)}function Rl(x){return x.text?er(x.from.line+x.text.length-1,Cn(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Ml(x,ee){if(kr(x,ee.from)<0)return x;if(kr(x,ee.to)<=0)return Rl(ee);var ue=x.line+ee.text.length-(ee.to.line-ee.from.line)-1,le=x.ch;return x.line==ee.to.line&&(le+=Rl(ee).ch-ee.to.ch),er(ue,le)}function Bu(x,ee){for(var ue=[],le=0;le1&&x.remove(It.line+1,Oi-1),x.insert(It.line+1,bo)}li(x,"change",x,ee)}function Fc(x,ee,ue){function le(me,Ve,mt){if(me.linked)for(var It=0;It1&&!x.done[x.done.length-2].ranges)return x.done.pop(),Cn(x.done)}function nl(x,ee,ue,le){var me=x.history;me.undone.length=0;var Ve=+new Date,mt,It;if((me.lastOp==le||me.lastOrigin==ee.origin&&ee.origin&&(ee.origin.charAt(0)=="+"&&me.lastModTime>Ve-(x.cm?x.cm.options.historyEventDelay:500)||ee.origin.charAt(0)=="*"))&&(mt=ws(me,me.lastOp==le)))It=Cn(mt.changes),kr(ee.from,ee.to)==0&&kr(ee.from,It.to)==0?It.to=Rl(ee):mt.changes.push(Ll(x,ee));else{var Ut=Cn(me.done);for((!Ut||!Ut.ranges)&&Vu(x.sel,me.done),mt={changes:[Ll(x,ee)],generation:me.generation},me.done.push(mt);me.done.length>me.undoDepth;)me.done.shift(),me.done[0].ranges||me.done.shift()}me.done.push(ue),me.generation=++me.maxGeneration,me.lastModTime=me.lastSelTime=Ve,me.lastOp=me.lastSelOp=le,me.lastOrigin=me.lastSelOrigin=ee.origin,It||pt(x,"historyAdded")}function Al(x,ee,ue,le){var me=ee.charAt(0);return me=="*"||me=="+"&&ue.ranges.length==le.ranges.length&&ue.somethingSelected()==le.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function qc(x,ee,ue,le){var me=x.history,Ve=le&&le.origin;ue==me.lastSelOp||Ve&&me.lastSelOrigin==Ve&&(me.lastModTime==me.lastSelTime&&me.lastOrigin==Ve||Al(x,Ve,Cn(me.done),ee))?me.done[me.done.length-1]=ee:Vu(ee,me.done),me.lastSelTime=+new Date,me.lastSelOrigin=Ve,me.lastSelOp=ue,le&&le.clearRedo!==!1&&jo(me.undone)}function Vu(x,ee){var ue=Cn(ee);ue&&ue.ranges&&ue.equals(x)||ee.push(x)}function Pd(x,ee,ue,le){var me=ee["spans_"+x.id],Ve=0;x.iter(Math.max(x.first,ue),Math.min(x.first+x.size,le),function(mt){mt.markedSpans&&((me||(me=ee["spans_"+x.id]={}))[Ve]=mt.markedSpans),++Ve})}function ec(x){if(!x)return null;for(var ee,ue=0;ue-1&&(Cn(It)[ir]=Jt[ir],delete Jt[ir])}}return le}function ZA(x,ee,ue,le){if(le){var me=x.anchor;if(ue){var Ve=kr(ee,me)<0;Ve!=kr(ue,me)<0?(me=ee,ee=ue):Ve!=kr(ee,ue)<0&&(ee=ue)}return new Ga(me,ee)}else return new Ga(ue||ee,ee)}function bl(x,ee,ue,le,me){me==null&&(me=x.cm&&(x.cm.display.shift||x.extend)),ql(x,new rs([ZA(x.sel.primary(),ee,ue,me)],0),le)}function aa(x,ee,ue){for(var le=[],me=x.cm&&(x.cm.display.shift||x.extend),Ve=0;Ve=ee.ch:It.to>ee.ch))){if(me&&(pt(Ut,"beforeCursorEnter"),Ut.explicitlyCleared))if(Ve.markedSpans){--mt;continue}else break;if(!Ut.atomic)continue;if(ue){var ir=Ut.find(le<0?1:-1),Yr=void 0;if((le<0?Zn:Jt)&&(ir=Qc(x,ir,-le,ir&&ir.line==ee.line?Ve:null)),ir&&ir.line==ee.line&&(Yr=kr(ir,ue))&&(le<0?Yr<0:Yr>0))return Gu(x,ir,ee,le,me)}var Qr=Ut.find(le<0?-1:1);return(le<0?Jt:Zn)&&(Qr=Qc(x,Qr,le,Qr.line==ee.line?Ve:null)),Qr?Gu(x,Qr,ee,le,me):null}}return ee}function vA(x,ee,ue,le,me){var Ve=le||1,mt=Gu(x,ee,ue,Ve,me)||!me&&Gu(x,ee,ue,Ve,!0)||Gu(x,ee,ue,-Ve,me)||!me&&Gu(x,ee,ue,-Ve,!0);return mt||(x.cantEdit=!0,er(x.first,0))}function Qc(x,ee,ue,le){return ue<0&&ee.ch==0?ee.line>x.first?Jr(x,er(ee.line-1)):null:ue>0&&ee.ch==(le||on(x,ee.line)).text.length?ee.line=0;--me)Tu(x,{from:le[me].from,to:le[me].to,text:me?[""]:ee.text,origin:ee.origin});else Tu(x,ee)}}function Tu(x,ee){if(!(ee.text.length==1&&ee.text[0]==""&&kr(ee.from,ee.to)==0)){var ue=Bu(x,ee);nl(x,ee,ue,x.cm?x.cm.curOp.id:NaN),Rd(x,ee,ue,Ii(x,ee));var le=[];Fc(x,function(me,Ve){!Ve&&at(le,me.history)==-1&&(iu(me.history,ee),le.push(me.history)),Rd(me,ee,null,Ii(me,ee))})}}function rd(x,ee,ue){var le=x.cm&&x.cm.state.suppressEdits;if(!(le&&!ue)){for(var me=x.history,Ve,mt=x.sel,It=ee=="undo"?me.done:me.undone,Ut=ee=="undo"?me.undone:me.done,Jt=0;Jt=0;--Qr){var Oi=Yr(Qr);if(Oi)return Oi.v}}}}function oA(x,ee){if(ee!=0&&(x.first+=ee,x.sel=new rs(mn(x.sel.ranges,function(me){return new Ga(er(me.anchor.line+ee,me.anchor.ch),er(me.head.line+ee,me.head.ch))}),x.sel.primIndex),x.cm)){_l(x.cm,x.first,x.first-ee,ee);for(var ue=x.cm.display,le=ue.viewFrom;lex.lastLine())){if(ee.from.lineVe&&(ee={from:ee.from,to:er(Ve,on(x,Ve).text.length),text:[ee.text[0]],origin:ee.origin}),ee.removed=_n(x,ee.from,ee.to),ue||(ue=Bu(x,ee)),x.cm?yA(x.cm,ee,le):du(x,ee,le),Pc(x,ue,xt),x.cantEdit&&vA(x,er(x.firstLine(),0))&&(x.cantEdit=!1)}}function yA(x,ee,ue){var le=x.doc,me=x.display,Ve=ee.from,mt=ee.to,It=!1,Ut=Ve.line;x.options.lineWrapping||(Ut=dr(Fo(on(le,Ve.line))),le.iter(Ut,mt.line+1,function(Qr){if(Qr==me.maxLine)return It=!0,!0})),le.sel.contains(ee.from,ee.to)>-1&&gn(x),du(le,ee,ue,To(x)),x.options.lineWrapping||(le.iter(Ut,Ve.line+ee.text.length,function(Qr){var Oi=la(Qr);Oi>me.maxLineLength&&(me.maxLine=Qr,me.maxLineLength=Oi,me.maxLineChanged=!0,It=!1)}),It&&(x.curOp.updateMaxLine=!0)),Fa(le,Ve.line),Zr(x,400);var Jt=ee.text.length-(mt.line-Ve.line)-1;ee.full?_l(x):Ve.line==mt.line&&ee.text.length==1&&!cu(x.doc,ee)?Bc(x,Ve.line,"text"):_l(x,Ve.line,mt.line+1,Jt);var Zn=wn(x,"changes"),ir=wn(x,"change");if(ir||Zn){var Yr={from:Ve,to:mt,text:ee.text,removed:ee.removed,origin:ee.origin};ir&&li(x,"change",x,Yr),Zn&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(Yr)}x.display.selForContextMenu=null}function VA(x,ee,ue,le,me){var Ve;le||(le=ue),kr(le,ue)<0&&(Ve=[le,ue],ue=Ve[0],le=Ve[1]),typeof ee=="string"&&(ee=x.splitLines(ee)),Iu(x,{from:ue,to:le,text:ee,origin:me})}function Sh(x,ee,ue,le){ue1||!(this.children[0]instanceof au))){var It=[];this.collapse(It),this.children=[new au(It)],this.children[0].parent=this}},collapse:function(x){for(var ee=0;ee50){for(var mt=me.lines.length%25+25,It=mt;It10);x.parent.maybeSpill()}},iterN:function(x,ee,ue){for(var le=0;lex.display.maxLineLength&&(x.display.maxLine=Jt,x.display.maxLineLength=Zn,x.display.maxLineChanged=!0)}le!=null&&x&&this.collapsed&&_l(x,le,me+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&bd(x.doc)),x&&li(x,"markerCleared",x,this,le,me),ee&&aA(x),this.parent&&this.parent.clear()}},wA.prototype.find=function(x,ee){x==null&&this.type=="bookmark"&&(x=1);for(var ue,le,me=0;me0||mt==0&&Ve.clearWhenEmpty!==!1)return Ve;if(Ve.replacedWith&&(Ve.collapsed=!0,Ve.widgetNode=Ct("span",[Ve.replacedWith],"CodeMirror-widget"),le.handleMouseEvents||Ve.widgetNode.setAttribute("cm-ignore-events","true"),le.insertLeft&&(Ve.widgetNode.insertLeft=!0)),Ve.collapsed){if(Co(x,ee.line,ee,ue,Ve)||ee.line!=ue.line&&Co(x,ue.line,ee,ue,Ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");ui()}Ve.addToHistory&&nl(x,{from:ee,to:ue,origin:"markText"},x.sel,NaN);var It=ee.line,Ut=x.cm,Jt;if(x.iter(It,ue.line+1,function(ir){Ut&&Ve.collapsed&&!Ut.options.lineWrapping&&Fo(ir)==Ut.display.maxLine&&(Jt=!0),Ve.collapsed&&It!=ee.line&&nr(ir,0),xo(ir,new za(Ve,It==ee.line?ee.ch:null,It==ue.line?ue.ch:null)),++It}),Ve.collapsed&&x.iter(ee.line,ue.line+1,function(ir){as(x,ir)&&nr(ir,0)}),Ve.clearOnEnter&&nn(Ve,"beforeCursorEnter",function(){return Ve.clear()}),Ve.readOnly&&(ta(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),Ve.collapsed&&(Ve.id=++ih,Ve.atomic=!0),Ut){if(Jt&&(Ut.curOp.updateMaxLine=!0),Ve.collapsed)_l(Ut,ee.line,ue.line+1);else if(Ve.className||Ve.startStyle||Ve.endStyle||Ve.css||Ve.attributes||Ve.title)for(var Zn=ee.line;Zn<=ue.line;Zn++)Bc(Ut,Zn,"text");Ve.atomic&&bd(Ut.doc),li(Ut,"markerAdded",Ut,Ve)}return Ve}var fl=function(x,ee){this.markers=x,this.primary=ee;for(var ue=0;ue=0;Ut--)Iu(this,le[Ut]);It?fs(this,It):this.cm&&rA(this.cm)}),undo:cr(function(){rd(this,"undo")}),redo:cr(function(){rd(this,"redo")}),undoSelection:cr(function(){rd(this,"undo",!0)}),redoSelection:cr(function(){rd(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,ee=0,ue=0,le=0;le=x.ch)&&ee.push(me.marker.parent||me.marker)}return ee},findMarks:function(x,ee,ue){x=Jr(this,x),ee=Jr(this,ee);var le=[],me=x.line;return this.iter(x.line,ee.line+1,function(Ve){var mt=Ve.markedSpans;if(mt)for(var It=0;It=Ut.to||Ut.from==null&&me!=x.line||Ut.from!=null&&me==ee.line&&Ut.from>=ee.ch)&&(!ue||ue(Ut.marker))&&le.push(Ut.marker.parent||Ut.marker)}++me}),le},getAllMarks:function(){var x=[];return this.iter(function(ee){var ue=ee.markedSpans;if(ue)for(var le=0;lex)return ee=x,!0;x-=Ve,++ue}),Jr(this,er(ue,ee))},indexFromPos:function(x){x=Jr(this,x);var ee=x.ch;if(x.lineee&&(ee=x.from),x.to!=null&&x.to-1){ee.state.draggingText(x),setTimeout(function(){return ee.display.input.focus()},20);return}try{var Zn=x.dataTransfer.getData("Text");if(Zn){var ir;if(ee.state.draggingText&&!ee.state.draggingText.copy&&(ir=ee.listSelections()),Pc(ee.doc,Is(ue,ue)),ir)for(var Yr=0;Yr=0;It--)VA(x.doc,"",le[It].from,le[It].to,"+delete");rA(x)})}function jc(x,ee,ue){var le=$e(x.text,ee+ue,ue);return le<0||le>x.text.length?null:le}function YA(x,ee,ue){var le=jc(x,ee.ch,ue);return le==null?null:new er(ee.line,le,ue<0?"after":"before")}function Cl(x,ee,ue,le,me){if(x){ee.doc.direction=="rtl"&&(me=-me);var Ve=Sn(ue,ee.doc.direction);if(Ve){var mt=me<0?Cn(Ve):Ve[0],It=me<0==(mt.level==1),Ut=It?"after":"before",Jt;if(mt.level>0||ee.doc.direction=="rtl"){var Zn=Wo(ee,ue);Jt=me<0?ue.text.length-1:0;var ir=js(ee,Zn,Jt).top;Jt=lt(function(Yr){return js(ee,Zn,Yr).top==ir},me<0==(mt.level==1)?mt.from:mt.to-1,Jt),Ut=="before"&&(Jt=jc(ue,Jt,1))}else Jt=me<0?mt.to:mt.from;return new er(le,Jt,Ut)}}return new er(le,me<0?ue.text.length:0,me<0?"before":"after")}function jl(x,ee,ue,le){var me=Sn(ee,x.doc.direction);if(!me)return YA(ee,ue,le);ue.ch>=ee.text.length?(ue.ch=ee.text.length,ue.sticky="before"):ue.ch<=0&&(ue.ch=0,ue.sticky="after");var Ve=kt(me,ue.ch,ue.sticky),mt=me[Ve];if(x.doc.direction=="ltr"&&mt.level%2==0&&(le>0?mt.to>ue.ch:mt.from=mt.from&&Yr>=Zn.begin)){var Qr=ir?"before":"after";return new er(ue.line,Yr,Qr)}}var Oi=function(bo,_o,po){for(var Uo=function(Hu,dd){return dd?new er(ue.line,It(Hu,1),"before"):new er(ue.line,Hu,"after")};bo>=0&&bo0==(hs.level!=1),Ns=vs?po.begin:It(po.end,-1);if(hs.from<=Ns&&Ns0?Zn.end:It(Zn.begin,-1);return qa!=null&&!(le>0&&qa==ee.text.length)&&(ma=Oi(le>0?0:me.length-1,le,Jt(qa)),ma)?ma:null}var wd={selectAll:Yu,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),xt)},killLine:function(x){return $c(x,function(ee){if(ee.empty()){var ue=on(x.doc,ee.head.line).text.length;return ee.head.ch==ue&&ee.head.line0)me=new er(me.line,me.ch+1),x.replaceRange(Ve.charAt(me.ch-1)+Ve.charAt(me.ch-2),er(me.line,me.ch-2),me,"+transpose");else if(me.line>x.doc.first){var mt=on(x.doc,me.line-1).text;mt&&(me=new er(me.line,1),x.replaceRange(Ve.charAt(0)+x.doc.lineSeparator()+mt.charAt(mt.length-1),er(me.line-1,mt.length-1),me,"+transpose"))}}ue.push(new Ga(me,me))}x.setSelections(ue)})},newlineAndIndent:function(x){return Rn(x,function(){for(var ee=x.listSelections(),ue=ee.length-1;ue>=0;ue--)x.replaceRange(x.doc.lineSeparator(),ee[ue].anchor,ee[ue].head,"+input");ee=x.listSelections();for(var le=0;lex&&kr(ee,this.pos)==0&&ue==this.button};var qA,Of;function ap(x,ee){var ue=+new Date;return Of&&Of.compare(ue,x,ee)?(qA=Of=null,"triple"):qA&&qA.compare(ue,x,ee)?(Of=new n0(ue,x,ee),qA=null,"double"):(qA=new n0(ue,x,ee),Of=null,"single")}function ed(x){var ee=this,ue=ee.display;if(!(Zt(ee,x)||ue.activeTouch&&ue.input.supportsTouch())){if(ue.input.ensurePolled(),ue.shift=x.shiftKey,qs(ue,x)){ve||(ue.scroller.draggable=!1,setTimeout(function(){return ue.scroller.draggable=!0},100));return}if(!Ud(ee,x)){var le=mu(ee,x),me=fr(x),Ve=le?ap(le,me):"single";window.focus(),me==1&&ee.state.selectingText&&ee.state.selectingText(x),!(le&&Nf(ee,me,le,Ve,x))&&(me==1?le?L0(ee,le,Ve,x):Sr(x)==ue.scroller&&yr(x):me==2?(le&&bl(ee.doc,le),setTimeout(function(){return ue.input.focus()},20)):me==3&&(We?ee.display.input.onContextMenu(x):ac(ee)))}}}function Nf(x,ee,ue,le,me){var Ve="Click";return le=="double"?Ve="Double"+Ve:le=="triple"&&(Ve="Triple"+Ve),Ve=(ee==1?"Left":ee==2?"Middle":"Right")+Ve,xf(x,EA(Ve,me),me,function(mt){if(typeof mt=="string"&&(mt=wd[mt]),!mt)return!1;var It=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),It=mt(x,ue)!=Vt}finally{x.state.suppressEdits=!1}return It})}function r0(x,ee,ue){var le=x.getOption("configureMouse"),me=le?le(x,ee,ue):{};if(me.unit==null){var Ve=Te?ue.shiftKey&&ue.metaKey:ue.altKey;me.unit=Ve?"rectangle":ee=="single"?"char":ee=="double"?"word":"line"}return(me.extend==null||x.doc.extend)&&(me.extend=x.doc.extend||ue.shiftKey),me.addNew==null&&(me.addNew=Pe?ue.metaKey:ue.ctrlKey),me.moveOnDrag==null&&(me.moveOnDrag=!(Pe?ue.altKey:ue.ctrlKey)),me}function L0(x,ee,ue,le){Oe?setTimeout(Tt(cd,x),0):x.curOp.focus=Re();var me=r0(x,ue,le),Ve=x.doc.sel,mt;x.options.dragDrop&&Vr&&!x.isReadOnly()&&ue=="single"&&(mt=Ve.contains(ee))>-1&&(kr((mt=Ve.ranges[mt]).from(),ee)<0||ee.xRel>0)&&(kr(mt.to(),ee)>0||ee.xRel<0)?D0(x,le,ee,me):op(x,le,ee,me)}function D0(x,ee,ue,le){var me=x.display,Ve=!1,mt=mr(x,function(Jt){ve&&(me.scroller.draggable=!1),x.state.draggingText=!1,jt(me.wrapper.ownerDocument,"mouseup",mt),jt(me.wrapper.ownerDocument,"mousemove",It),jt(me.scroller,"dragstart",Ut),jt(me.scroller,"drop",mt),Ve||(yr(Jt),le.addNew||bl(x.doc,ue,null,null,le.extend),ve&&!Ke||Oe&&Le==9?setTimeout(function(){me.wrapper.ownerDocument.body.focus({preventScroll:!0}),me.input.focus()},20):me.input.focus())}),It=function(Jt){Ve=Ve||Math.abs(ee.clientX-Jt.clientX)+Math.abs(ee.clientY-Jt.clientY)>=10},Ut=function(){return Ve=!0};ve&&(me.scroller.draggable=!0),x.state.draggingText=mt,mt.copy=!le.moveOnDrag,me.scroller.dragDrop&&me.scroller.dragDrop(),nn(me.wrapper.ownerDocument,"mouseup",mt),nn(me.wrapper.ownerDocument,"mousemove",It),nn(me.scroller,"dragstart",Ut),nn(me.scroller,"drop",mt),ac(x),setTimeout(function(){return me.input.focus()},20)}function Ih(x,ee,ue){if(ue=="char")return new Ga(ee,ee);if(ue=="word")return x.findWordAt(ee);if(ue=="line")return new Ga(er(ee.line,0),Jr(x.doc,er(ee.line+1,0)));var le=ue(x,ee);return new Ga(le.from,le.to)}function op(x,ee,ue,le){var me=x.display,Ve=x.doc;yr(ee);var mt,It,Ut=Ve.sel,Jt=Ut.ranges;if(le.addNew&&!le.extend?(It=Ve.sel.contains(ue),It>-1?mt=Jt[It]:mt=new Ga(ue,ue)):(mt=Ve.sel.primary(),It=Ve.sel.primIndex),le.unit=="rectangle")le.addNew||(mt=new Ga(ue,ue)),ue=mu(x,ee,!0,!0),It=-1;else{var Zn=Ih(x,ue,le.unit);le.extend?mt=ZA(mt,Zn.anchor,Zn.head,le.extend):mt=Zn}le.addNew?It==-1?(It=Jt.length,ql(Ve,ms(x,Jt.concat([mt]),It),{scroll:!1,origin:"*mouse"})):Jt.length>1&&Jt[It].empty()&&le.unit=="char"&&!le.extend?(ql(Ve,ms(x,Jt.slice(0,It).concat(Jt.slice(It+1)),0),{scroll:!1,origin:"*mouse"}),Ut=Ve.sel):Ql(Ve,It,mt,Qt):(It=0,ql(Ve,new rs([mt],0),Qt),Ut=Ve.sel);var ir=ue;function Yr(po){if(kr(ir,po)!=0)if(ir=po,le.unit=="rectangle"){for(var Uo=[],hs=x.options.tabSize,vs=it(on(Ve,ue.line).text,ue.ch,hs),Ns=it(on(Ve,po.line).text,po.ch,hs),Hu=Math.min(vs,Ns),dd=Math.max(vs,Ns),wc=Math.min(ue.line,po.line),Id=Math.min(x.lastLine(),Math.max(ue.line,po.line));wc<=Id;wc++){var xd=on(Ve,wc).text,ad=Tn(xd,Hu,hs);Hu==dd?Uo.push(new Ga(er(wc,ad),er(wc,ad))):xd.length>ad&&Uo.push(new Ga(er(wc,ad),er(wc,Tn(xd,dd,hs))))}Uo.length||Uo.push(new Ga(ue,ue)),ql(Ve,ms(x,Ut.ranges.slice(0,It).concat(Uo),It),{origin:"*mouse",scroll:!1}),x.scrollIntoView(po)}else{var Hd=mt,$s=Ih(x,po,le.unit),fo=Hd.anchor,Xu;kr($s.anchor,fo)>0?(Xu=$s.head,fo=Mi(Hd.from(),$s.anchor)):(Xu=$s.anchor,fo=ji(Hd.to(),$s.head));var xc=Ut.ranges.slice(0);xc[It]=Cp(x,new Ga(Jr(Ve,fo),Xu)),ql(Ve,ms(x,xc,It),Qt)}}var Qr=me.wrapper.getBoundingClientRect(),Oi=0;function ma(po){var Uo=++Oi,hs=mu(x,po,!0,le.unit=="rectangle");if(hs)if(kr(hs,ir)!=0){x.curOp.focus=Re(),Yr(hs);var vs=Pu(me,Ve);(hs.line>=vs.to||hs.lineQr.bottom?20:0;Ns&&setTimeout(mr(x,function(){Oi==Uo&&(me.scroller.scrollTop+=Ns,ma(po))}),50)}}function qa(po){x.state.selectingText=!1,Oi=1/0,po&&(yr(po),me.input.focus()),jt(me.wrapper.ownerDocument,"mousemove",bo),jt(me.wrapper.ownerDocument,"mouseup",_o),Ve.history.lastSelOrigin=null}var bo=mr(x,function(po){po.buttons===0||!fr(po)?qa(po):ma(po)}),_o=mr(x,qa);x.state.selectingText=_o,nn(me.wrapper.ownerDocument,"mousemove",bo),nn(me.wrapper.ownerDocument,"mouseup",_o)}function Cp(x,ee){var ue=ee.anchor,le=ee.head,me=on(x.doc,ue.line);if(kr(ue,le)==0&&ue.sticky==le.sticky)return ee;var Ve=Sn(me);if(!Ve)return ee;var mt=kt(Ve,ue.ch,ue.sticky),It=Ve[mt];if(It.from!=ue.ch&&It.to!=ue.ch)return ee;var Ut=mt+(It.from==ue.ch==(It.level!=1)?0:1);if(Ut==0||Ut==Ve.length)return ee;var Jt;if(le.line!=ue.line)Jt=(le.line-ue.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var Zn=kt(Ve,le.ch,le.sticky),ir=Zn-mt||(le.ch-ue.ch)*(It.level==1?-1:1);Zn==Ut-1||Zn==Ut?Jt=ir<0:Jt=ir>0}var Yr=Ve[Ut+(Jt?-1:0)],Qr=Jt==(Yr.level==1),Oi=Qr?Yr.from:Yr.to,ma=Qr?"after":"before";return ue.ch==Oi&&ue.sticky==ma?ee:new Ga(new er(ue.line,Oi,ma),le)}function O0(x,ee,ue,le){var me,Ve;if(ee.touches)me=ee.touches[0].clientX,Ve=ee.touches[0].clientY;else try{me=ee.clientX,Ve=ee.clientY}catch(Yr){return!1}if(me>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;le&&yr(ee);var mt=x.display,It=mt.lineDiv.getBoundingClientRect();if(Ve>It.bottom||!wn(x,ue))return Tr(ee);Ve-=It.top-mt.viewOffset;for(var Ut=0;Ut=me){var Zn=Pr(x.doc,Ve),ir=x.display.gutterSpecs[Ut];return pt(x,ue,x,Zn,ir.className,ee),Tr(ee)}}}function Ud(x,ee){return O0(x,ee,"gutterClick",!0)}function Pf(x,ee){qs(x.display,ee)||Lh(x,ee)||Zt(x,ee,"contextmenu")||We||x.display.input.onContextMenu(ee)}function Lh(x,ee){return wn(x,"gutterContextMenu")?O0(x,ee,"gutterContextMenu",!1):!1}function N0(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),kl(x)}var cf={toString:function(){return"CodeMirror.Init"}},lm={},sp={};function Hm(x){var ee=x.optionHandlers;function ue(le,me,Ve,mt){x.defaults[le]=me,Ve&&(ee[le]=mt?function(It,Ut,Jt){Jt!=cf&&Ve(It,Ut,Jt)}:Ve)}x.defineOption=ue,x.Init=cf,ue("value","",function(le,me){return le.setValue(me)},!0),ue("mode",null,function(le,me){le.doc.modeOption=me,oc(le)},!0),ue("indentUnit",2,oc,!0),ue("indentWithTabs",!1),ue("smartIndent",!0),ue("tabSize",4,function(le){yl(le),kl(le),_l(le)},!0),ue("lineSeparator",null,function(le,me){if(le.doc.lineSep=me,!!me){var Ve=[],mt=le.doc.first;le.doc.iter(function(Ut){for(var Jt=0;;){var Zn=Ut.text.indexOf(me,Jt);if(Zn==-1)break;Jt=Zn+me.length,Ve.push(er(mt,Zn))}mt++});for(var It=Ve.length-1;It>=0;It--)VA(le.doc,me,Ve[It],er(Ve[It].line,Ve[It].ch+me.length))}}),ue("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(le,me,Ve){le.state.specialChars=new RegExp(me.source+(me.test(" ")?"":"| "),"g"),Ve!=cf&&le.refresh()}),ue("specialCharPlaceholder",Ji,function(le){return le.refresh()},!0),ue("electricChars",!0),ue("inputStyle",ke?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ue("spellcheck",!1,function(le,me){return le.getInputField().spellcheck=me},!0),ue("autocorrect",!1,function(le,me){return le.getInputField().autocorrect=me},!0),ue("autocapitalize",!1,function(le,me){return le.getInputField().autocapitalize=me},!0),ue("rtlMoveVisually",!Ye),ue("wholeLineUpdateBefore",!0),ue("theme","default",function(le){N0(le),Ao(le)},!0),ue("keyMap","default",function(le,me,Ve){var mt=Au(me),It=Ve!=cf&&Au(Ve);It&&It.detach&&It.detach(le,mt),mt.attach&&mt.attach(le,It||null)}),ue("extraKeys",null),ue("configureMouse",null),ue("lineWrapping",!1,Bp,!0),ue("gutters",[],function(le,me){le.display.gutterSpecs=ls(me,le.options.lineNumbers),Ao(le)},!0),ue("fixedGutter",!0,function(le,me){le.display.gutters.style.left=me?fi(le.display)+"px":"0",le.refresh()},!0),ue("coverGutterNextToScrollbar",!1,function(le){return gA(le)},!0),ue("scrollbarStyle","native",function(le){k0(le),gA(le),le.display.scrollbars.setScrollTop(le.doc.scrollTop),le.display.scrollbars.setScrollLeft(le.doc.scrollLeft)},!0),ue("lineNumbers",!1,function(le,me){le.display.gutterSpecs=ls(le.options.gutters,me),Ao(le)},!0),ue("firstLineNumber",1,Ao,!0),ue("lineNumberFormatter",function(le){return le},Ao,!0),ue("showCursorWhenSelecting",!1,Ms,!0),ue("resetSelectionOnContextMenu",!0),ue("lineWiseCopyCut",!0),ue("pasteLinesPerSelection",!0),ue("selectionsMayTouch",!1),ue("readOnly",!1,function(le,me){me=="nocursor"&&(Nu(le),le.display.input.blur()),le.display.input.readOnlyChanged(me)}),ue("screenReaderLabel",null,function(le,me){me=me===""?null:me,le.display.input.screenReaderLabelChanged(me)}),ue("disableInput",!1,function(le,me){me||le.display.input.reset()},!0),ue("dragDrop",!0,Qm),ue("allowDropFileTypes",null),ue("cursorBlinkRate",530),ue("cursorScrollMargin",0),ue("cursorHeight",1,Ms,!0),ue("singleCursorHeightPerLine",!0,Ms,!0),ue("workTime",100),ue("workDelay",100),ue("flattenSpans",!0,yl,!0),ue("addModeClass",!1,yl,!0),ue("pollInterval",100),ue("undoDepth",200,function(le,me){return le.doc.history.undoDepth=me}),ue("historyEventDelay",1250),ue("viewportMargin",10,function(le){return le.refresh()},!0),ue("maxHighlightLength",1e4,yl,!0),ue("moveInputWithCursor",!0,function(le,me){me||le.display.input.resetPosition()}),ue("tabindex",null,function(le,me){return le.display.input.getField().tabIndex=me||""}),ue("autofocus",null),ue("direction","ltr",function(le,me){return le.doc.setDirection(me)},!0),ue("phrases",null)}function Qm(x,ee,ue){var le=ue&&ue!=cf;if(!ee!=!le){var me=x.display.dragFunctions,Ve=ee?nn:jt;Ve(x.display.scroller,"dragstart",me.start),Ve(x.display.scroller,"dragenter",me.enter),Ve(x.display.scroller,"dragover",me.over),Ve(x.display.scroller,"dragleave",me.leave),Ve(x.display.scroller,"drop",me.drop)}}function Bp(x){x.options.lineWrapping?(Ht(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(et(x.display.wrapper,"CodeMirror-wrap"),ia(x)),ds(x),_l(x),kl(x),setTimeout(function(){return gA(x)},100)}function Us(x,ee){var ue=this;if(!(this instanceof Us))return new Us(x,ee);this.options=ee=ee?wt(ee):{},wt(lm,ee,!1);var le=ee.value;typeof le=="string"?le=new cc(le,ee.mode,null,ee.lineSeparator,ee.direction):ee.mode&&(le.modeOption=ee.mode),this.doc=le;var me=new Us.inputStyles[ee.inputStyle](this),Ve=this.display=new Po(x,le,me,ee);Ve.wrapper.CodeMirror=this,N0(this),ee.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),k0(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Ue,keySeq:null,specialChars:null},ee.autofocus&&!ke&&Ve.input.focus(),Oe&&Le<11&&setTimeout(function(){return ue.display.input.reset(!0)},20),um(this),oh(),uc(this),this.curOp.forceUpdate=!0,So(this,le),ee.autofocus&&!ke||this.hasFocus()?setTimeout(function(){ue.hasFocus()&&!ue.state.focused&&Dc(ue)},20):Nu(this);for(var mt in sp)sp.hasOwnProperty(mt)&&sp[mt](this,ee[mt],cf);ko(this),ee.finishInit&&ee.finishInit(this);for(var It=0;It20*20}nn(ee.scroller,"touchstart",function(Ut){if(!Zt(x,Ut)&&!Ve(Ut)&&!Ud(x,Ut)){ee.input.ensurePolled(),clearTimeout(ue);var Jt=+new Date;ee.activeTouch={start:Jt,moved:!1,prev:Jt-le.end<=300?le:null},Ut.touches.length==1&&(ee.activeTouch.left=Ut.touches[0].pageX,ee.activeTouch.top=Ut.touches[0].pageY)}}),nn(ee.scroller,"touchmove",function(){ee.activeTouch&&(ee.activeTouch.moved=!0)}),nn(ee.scroller,"touchend",function(Ut){var Jt=ee.activeTouch;if(Jt&&!qs(ee,Ut)&&Jt.left!=null&&!Jt.moved&&new Date-Jt.start<300){var Zn=x.coordsChar(ee.activeTouch,"page"),ir;!Jt.prev||mt(Jt,Jt.prev)?ir=new Ga(Zn,Zn):!Jt.prev.prev||mt(Jt,Jt.prev.prev)?ir=x.findWordAt(Zn):ir=new Ga(er(Zn.line,0),Jr(x.doc,er(Zn.line+1,0))),x.setSelection(ir.anchor,ir.head),x.focus(),yr(Ut)}me()}),nn(ee.scroller,"touchcancel",me),nn(ee.scroller,"scroll",function(){ee.scroller.clientHeight&&(Jc(x,ee.scroller.scrollTop),iA(x,ee.scroller.scrollLeft,!0),pt(x,"scroll",x))}),nn(ee.scroller,"mousewheel",function(Ut){return Ys(x,Ut)}),nn(ee.scroller,"DOMMouseScroll",function(Ut){return Ys(x,Ut)}),nn(ee.wrapper,"scroll",function(){return ee.wrapper.scrollTop=ee.wrapper.scrollLeft=0}),ee.dragFunctions={enter:function(Ut){Zt(x,Ut)||Rr(Ut)},over:function(Ut){Zt(x,Ut)||(ah(x,Ut),Rr(Ut))},start:function(Ut){return If(x,Ut)},drop:mr(x,e0),leave:function(Ut){Zt(x,Ut)||Lf(x)}};var It=ee.input.getField();nn(It,"keyup",function(Ut){return om.call(x,Ut)}),nn(It,"keydown",mr(x,Mh)),nn(It,"keypress",mr(x,sm)),nn(It,"focus",function(Ut){return Dc(x,Ut)}),nn(It,"blur",function(Ut){return Nu(x,Ut)})}var lp=[];Us.defineInitHook=function(x){return lp.push(x)};function IA(x,ee,ue,le){var me=x.doc,Ve;ue==null&&(ue="add"),ue=="smart"&&(me.mode.indent?Ve=Ir(x,ee).state:ue="prev");var mt=x.options.tabSize,It=on(me,ee),Ut=it(It.text,null,mt);It.stateAfter&&(It.stateAfter=null);var Jt=It.text.match(/^\s*/)[0],Zn;if(!le&&!/\S/.test(It.text))Zn=0,ue="not";else if(ue=="smart"&&(Zn=me.mode.indent(Ve,It.text.slice(Jt.length),It.text),Zn==Vt||Zn>150)){if(!le)return;ue="prev"}ue=="prev"?ee>me.first?Zn=it(on(me,ee-1).text,null,mt):Zn=0:ue=="add"?Zn=Ut+x.options.indentUnit:ue=="subtract"?Zn=Ut-x.options.indentUnit:typeof ue=="number"&&(Zn=Ut+ue),Zn=Math.max(0,Zn);var ir="",Yr=0;if(x.options.indentWithTabs)for(var Qr=Math.floor(Zn/mt);Qr;--Qr)Yr+=mt,ir+=" ";if(Yrmt,Ut=ua(ee),Jt=null;if(It&&le.ranges.length>1)if($A&&$A.text.join(` `)==ee){if(le.ranges.length%$A.text.length==0){Jt=[];for(var Zn=0;Zn<$A.text.length;Zn++)Jt.push(Ve.splitLines($A.text[Zn]))}}else Ut.length==le.ranges.length&&x.options.pasteLinesPerSelection&&(Jt=mn(Ut,function(bo){return[bo]}));for(var ir=x.curOp.updateInput,Yr=le.ranges.length-1;Yr>=0;Yr--){var Qr=le.ranges[Yr],Oi=Qr.from(),ma=Qr.to();Qr.empty()&&(ue&&ue>0?Oi=er(Oi.line,Oi.ch-ue):x.state.overwrite&&!It?ma=er(ma.line,Math.min(on(Ve,ma.line).text.length,ma.ch+Cn(Ut).length)):It&&$A&&$A.lineWise&&$A.text.join(` `)==Ut.join(` `)&&(Oi=ma=er(Oi.line,0)));var qa={from:Oi,to:ma,text:Jt?Jt[Yr%Jt.length]:Ut,origin:me||(It?"paste":x.state.cutIncoming>mt?"cut":"+input")};Iu(x.doc,qa),li(x,"inputRead",x,qa)}ee&&!It&&i0(x,ee),rA(x),x.curOp.updateInput<2&&(x.curOp.updateInput=ir),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Dh(x,ee){var ue=x.clipboardData&&x.clipboardData.getData("Text");if(ue)return x.preventDefault(),!ee.isReadOnly()&&!ee.options.disableInput&&Rn(ee,function(){return P0(ee,ue,0,null,"paste")}),!0}function i0(x,ee){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ue=x.doc.sel,le=ue.ranges.length-1;le>=0;le--){var me=ue.ranges[le];if(!(me.head.ch>100||le&&ue.ranges[le-1].head.line==me.head.line)){var Ve=x.getModeAt(me.head),mt=!1;if(Ve.electricChars){for(var It=0;It-1){mt=IA(x,me.head.line,"smart");break}}else Ve.electricInput&&Ve.electricInput.test(on(x.doc,me.head.line).text.slice(0,me.head.ch))&&(mt=IA(x,me.head.line,"smart"));mt&&li(x,"electricInput",x,me.head.line)}}}function Oh(x){for(var ee=[],ue=[],le=0;leVe&&(IA(this,It.head.line,le,!0),Ve=It.head.line,mt==this.doc.sel.primIndex&&rA(this));else{var Ut=It.from(),Jt=It.to(),Zn=Math.max(Ve,Ut.line);Ve=Math.min(this.lastLine(),Jt.line-(Jt.ch?0:1))+1;for(var ir=Zn;ir0&&Ql(this.doc,mt,new Ga(Ut,Yr[mt].to()),xt)}}}),getTokenAt:function(le,me){return Pa(this,le,me)},getLineTokens:function(le,me){return Pa(this,er(le),me,!0)},getTokenTypeAt:function(le){le=Jr(this.doc,le);var me=br(this,on(this.doc,le.line)),Ve=0,mt=(me.length-1)/2,It=le.ch,Ut;if(It==0)Ut=me[2];else for(;;){var Jt=Ve+mt>>1;if((Jt?me[Jt*2-1]:0)>=It)mt=Jt;else if(me[Jt*2+1]Ut&&(le=Ut,mt=!0),It=on(this.doc,le)}else It=le;return ic(this,It,{top:0,left:0},me||"page",Ve||mt).top+(mt?this.doc.height-fa(It):0)},defaultTextHeight:function(){return _d(this.display)},defaultCharWidth:function(){return ki(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(le,me,Ve,mt,It){var Ut=this.display;le=ku(this,Jr(this.doc,le));var Jt=le.bottom,Zn=le.left;if(me.style.position="absolute",me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(me),Ut.sizer.appendChild(me),mt=="over")Jt=le.top;else if(mt=="above"||mt=="near"){var ir=Math.max(Ut.wrapper.clientHeight,this.doc.height),Yr=Math.max(Ut.sizer.clientWidth,Ut.lineSpace.clientWidth);(mt=="above"||le.bottom+me.offsetHeight>ir)&&le.top>me.offsetHeight?Jt=le.top-me.offsetHeight:le.bottom+me.offsetHeight<=ir&&(Jt=le.bottom),Zn+me.offsetWidth>Yr&&(Zn=Yr-me.offsetWidth)}me.style.top=Jt+"px",me.style.left=me.style.right="",It=="right"?(Zn=Ut.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(It=="left"?Zn=0:It=="middle"&&(Zn=(Ut.sizer.clientWidth-me.offsetWidth)/2),me.style.left=Zn+"px"),Ve&&nh(this,{left:Zn,top:Jt,right:Zn+me.offsetWidth,bottom:Jt+me.offsetHeight})},triggerOnKeyDown:hr(Mh),triggerOnKeyPress:hr(sm),triggerOnKeyUp:om,triggerOnMouseDown:hr(ed),execCommand:function(le){if(wd.hasOwnProperty(le))return wd[le].call(null,this)},triggerElectric:hr(function(le){i0(this,le)}),findPosH:function(le,me,Ve,mt){var It=1;me<0&&(It=-1,me=-me);for(var Ut=Jr(this.doc,le),Jt=0;Jt0&&Zn(Ve.charAt(mt-1));)--mt;for(;It.5||this.options.lineWrapping)&&ds(this),pt(this,"refresh",this)}),swapDoc:hr(function(le){var me=this.doc;return me.cm=null,this.state.selectingText&&this.state.selectingText(),So(this,le),kl(this),this.display.input.reset(),zA(this,le.scrollLeft,le.scrollTop),this.curOp.forceScroll=!0,li(this,"swapDoc",this,me),me}),phrase:function(le){var me=this.options.phrases;return me&&Object.prototype.hasOwnProperty.call(me,le)?me[le]:le},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Xn(x),x.registerHelper=function(le,me,Ve){ue.hasOwnProperty(le)||(ue[le]=x[le]={_global:[]}),ue[le][me]=Ve},x.registerGlobalHelper=function(le,me,Ve,mt){x.registerHelper(le,me,mt),ue[le]._global.push({pred:Ve,val:mt})}}function a0(x,ee,ue,le,me){var Ve=ee,mt=ue,It=on(x,ee.line),Ut=me&&x.direction=="rtl"?-ue:ue;function Jt(){var _o=ee.line+Ut;return _o=x.first+x.size?!1:(ee=new er(_o,ee.ch,ee.sticky),It=on(x,_o))}function Zn(_o){var po;if(le=="codepoint"){var Uo=It.text.charCodeAt(ee.ch+(le>0?0:-1));isNaN(Uo)?po=null:po=new er(ee.line,Math.max(0,Math.min(It.text.length,ee.ch+ue*(Uo>=55296&&Uo<56320?2:1))),-ue)}else me?po=jl(x.cm,It,ee,ue):po=YA(It,ee,ue);if(po==null)if(!_o&&Jt())ee=Cl(me,x.cm,It,ee.line,Ut);else return!1;else ee=po;return!0}if(le=="char"||le=="codepoint")Zn();else if(le=="column")Zn(!0);else if(le=="word"||le=="group")for(var ir=null,Yr=le=="group",Qr=x.cm&&x.cm.getHelper(ee,"wordChars"),Oi=!0;!(ue<0&&!Zn(!Oi));Oi=!1){var ma=It.text.charAt(ee.ch)||` `,qa=se(ma,Qr)?"w":Yr&&ma==` `?"n":!Yr||/\s/.test(ma)?null:"p";if(Yr&&!Oi&&!qa&&(qa="s"),ir&&ir!=qa){ue<0&&(ue=1,Zn(),ee.sticky="after");break}if(qa&&(ir=qa),ue>0&&!Zn(!Oi))break}var bo=vA(x,ee,Ve,mt,!0);return _i(Ve,bo)&&(bo.hitSide=!0),bo}function dm(x,ee,ue,le){var me=x.doc,Ve=ee.left,mt;if(le=="page"){var It=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ut=Math.max(It-.5*_d(x.display),3);mt=(ue>0?ee.bottom:ee.top)+ue*Ut}else le=="line"&&(mt=ue>0?ee.bottom+3:ee.top-3);for(var Jt;Jt=Cu(x,Ve,mt),!!Jt.outside;){if(ue<0?mt<=0:mt>=me.height){Jt.hitSide=!0;break}mt+=ue*5}return Jt}var Uu=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ue,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Uu.prototype.init=function(x){var ee=this,ue=this,le=ue.cm,me=ue.div=x.lineDiv;Sp(me,le.options.spellcheck,le.options.autocorrect,le.options.autocapitalize);function Ve(It){for(var Ut=It.target;Ut;Ut=Ut.parentNode){if(Ut==me)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ut.className))break}return!1}nn(me,"paste",function(It){!Ve(It)||Zt(le,It)||Dh(It,le)||Le<=11&&setTimeout(mr(le,function(){return ee.updateFromDOM()}),20)}),nn(me,"compositionstart",function(It){ee.composing={data:It.data,done:!1}}),nn(me,"compositionupdate",function(It){ee.composing||(ee.composing={data:It.data,done:!1})}),nn(me,"compositionend",function(It){ee.composing&&(It.data!=ee.composing.data&&ee.readFromDOMSoon(),ee.composing.done=!0)}),nn(me,"touchstart",function(){return ue.forceCompositionEnd()}),nn(me,"input",function(){ee.composing||ee.readFromDOMSoon()});function mt(It){if(!(!Ve(It)||Zt(le,It))){if(le.somethingSelected())Tf({lineWise:!1,text:le.getSelections()}),It.type=="cut"&&le.replaceSelection("",null,"cut");else if(le.options.lineWiseCopyCut){var Ut=Oh(le);Tf({lineWise:!0,text:Ut.text}),It.type=="cut"&&le.operation(function(){le.setSelections(Ut.ranges,0,xt),le.replaceSelection("",null,"cut")})}else return;if(It.clipboardData){It.clipboardData.clearData();var Jt=$A.text.join(` `);if(It.clipboardData.setData("Text",Jt),It.clipboardData.getData("Text")==Jt){It.preventDefault();return}}var Zn=cm(),ir=Zn.firstChild;le.display.lineSpace.insertBefore(Zn,le.display.lineSpace.firstChild),ir.value=$A.text.join(` `);var Yr=document.activeElement;bt(ir),setTimeout(function(){le.display.lineSpace.removeChild(Zn),Yr.focus(),Yr==me&&ue.showPrimarySelection()},50)}}nn(me,"copy",mt),nn(me,"cut",mt)},Uu.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Uu.prototype.prepareSelection=function(){var x=Wu(this.cm,!1);return x.focus=document.activeElement==this.div,x},Uu.prototype.showSelection=function(x,ee){!x||!this.cm.display.view.length||((x.focus||ee)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Uu.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Uu.prototype.showPrimarySelection=function(){var x=this.getSelection(),ee=this.cm,ue=ee.doc.sel.primary(),le=ue.from(),me=ue.to();if(ee.display.viewTo==ee.display.viewFrom||le.line>=ee.display.viewTo||me.line=ee.display.viewFrom&&uh(ee,le)||{node:It[0].measure.map[2],offset:0},Jt=me.linex.firstLine()&&(le=er(le.line-1,on(x.doc,le.line-1).length)),me.ch==on(x.doc,me.line).text.length&&me.lineee.viewTo-1)return!1;var Ve,mt,It;le.line==ee.viewFrom||(Ve=gu(x,le.line))==0?(mt=dr(ee.view[0].line),It=ee.view[0].node):(mt=dr(ee.view[Ve].line),It=ee.view[Ve-1].node.nextSibling);var Ut=gu(x,me.line),Jt,Zn;if(Ut==ee.view.length-1?(Jt=ee.viewTo-1,Zn=ee.lineDiv.lastChild):(Jt=dr(ee.view[Ut+1].line)-1,Zn=ee.view[Ut+1].node.previousSibling),!It)return!1;for(var ir=x.doc.splitLines(ch(x,It,Zn,mt,Jt)),Yr=_n(x.doc,er(mt,0),er(Jt,on(x.doc,Jt).text.length));ir.length>1&&Yr.length>1;)if(Cn(ir)==Cn(Yr))ir.pop(),Yr.pop(),Jt--;else if(ir[0]==Yr[0])ir.shift(),Yr.shift(),mt++;else break;for(var Qr=0,Oi=0,ma=ir[0],qa=Yr[0],bo=Math.min(ma.length,qa.length);Qrle.ch&&_o.charCodeAt(_o.length-Oi-1)==po.charCodeAt(po.length-Oi-1);)Qr--,Oi++;ir[ir.length-1]=_o.slice(0,_o.length-Oi).replace(/^\u200b+/,""),ir[0]=ir[0].slice(Qr).replace(/\u200b+$/,"");var hs=er(mt,Qr),vs=er(Jt,Yr.length?Cn(Yr).length-Oi:0);if(ir.length>1||ir[0]||kr(hs,vs))return VA(x.doc,ir,hs,vs,"+input"),!0},Uu.prototype.ensurePolled=function(){this.forceCompositionEnd()},Uu.prototype.reset=function(){this.forceCompositionEnd()},Uu.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Uu.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},Uu.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&Rn(this.cm,function(){return _l(x.cm)})},Uu.prototype.setUneditable=function(x){x.contentEditable="false"},Uu.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||mr(this.cm,P0)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Uu.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Uu.prototype.onContextMenu=function(){},Uu.prototype.resetPosition=function(){},Uu.prototype.needsContentAttribute=!0;function uh(x,ee){var ue=ml(x,ee.line);if(!ue||ue.hidden)return null;var le=on(x.doc,ee.line),me=Xo(ue,le,ee.line),Ve=Sn(le,x.doc.direction),mt="left";if(Ve){var It=kt(Ve,ee.ch);mt=It%2?"right":"left"}var Ut=mc(me.map,ee.ch,mt);return Ut.offset=Ut.collapse=="right"?Ut.end:Ut.start,Ut}function jm(x){for(var ee=x;ee;ee=ee.parentNode)if(/CodeMirror-gutter-wrapper/.test(ee.className))return!0;return!1}function dc(x,ee){return ee&&(x.bad=!0),x}function ch(x,ee,ue,le,me){var Ve="",mt=!1,It=x.doc.lineSeparator(),Ut=!1;function Jt(Qr){return function(Oi){return Oi.id==Qr}}function Zn(){mt&&(Ve+=It,Ut&&(Ve+=It),mt=Ut=!1)}function ir(Qr){Qr&&(Zn(),Ve+=Qr)}function Yr(Qr){if(Qr.nodeType==1){var Oi=Qr.getAttribute("cm-text");if(Oi){ir(Oi);return}var ma=Qr.getAttribute("cm-marker"),qa;if(ma){var bo=x.findMarks(er(le,0),er(me+1,0),Jt(+ma));bo.length&&(qa=bo[0].find(0))&&ir(_n(x.doc,qa.from,qa.to).join(It));return}if(Qr.getAttribute("contenteditable")=="false")return;var _o=/^(pre|div|p|li|table|br)$/i.test(Qr.nodeName);if(!/^br$/i.test(Qr.nodeName)&&Qr.textContent.length==0)return;_o&&Zn();for(var po=0;po=9&&ee.hasSelection&&(ee.hasSelection=null),ue.poll()}),nn(me,"paste",function(mt){Zt(le,mt)||Dh(mt,le)||(le.state.pasteIncoming=+new Date,ue.fastPoll())});function Ve(mt){if(!Zt(le,mt)){if(le.somethingSelected())Tf({lineWise:!1,text:le.getSelections()});else if(le.options.lineWiseCopyCut){var It=Oh(le);Tf({lineWise:!0,text:It.text}),mt.type=="cut"?le.setSelections(It.ranges,null,xt):(ue.prevInput="",me.value=It.text.join(` `),bt(me))}else return;mt.type=="cut"&&(le.state.cutIncoming=+new Date)}}nn(me,"cut",Ve),nn(me,"copy",Ve),nn(x.scroller,"paste",function(mt){if(!(qs(x,mt)||Zt(le,mt))){if(!me.dispatchEvent){le.state.pasteIncoming=+new Date,ue.focus();return}var It=new Event("paste");It.clipboardData=mt.clipboardData,me.dispatchEvent(It)}}),nn(x.lineSpace,"selectstart",function(mt){qs(x,mt)||yr(mt)}),nn(me,"compositionstart",function(){var mt=le.getCursor("from");ue.composing&&ue.composing.range.clear(),ue.composing={start:mt,range:le.markText(mt,le.getCursor("to"),{className:"CodeMirror-composing"})}}),nn(me,"compositionend",function(){ue.composing&&(ue.poll(),ue.composing.range.clear(),ue.composing=null)})},ou.prototype.createField=function(x){this.wrapper=cm(),this.textarea=this.wrapper.firstChild},ou.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},ou.prototype.prepareSelection=function(){var x=this.cm,ee=x.display,ue=x.doc,le=Wu(x);if(x.options.moveInputWithCursor){var me=ku(x,ue.sel.primary().head,"div"),Ve=ee.wrapper.getBoundingClientRect(),mt=ee.lineDiv.getBoundingClientRect();le.teTop=Math.max(0,Math.min(ee.wrapper.clientHeight-10,me.top+mt.top-Ve.top)),le.teLeft=Math.max(0,Math.min(ee.wrapper.clientWidth-10,me.left+mt.left-Ve.left))}return le},ou.prototype.showSelection=function(x){var ee=this.cm,ue=ee.display;ht(ue.cursorDiv,x.cursors),ht(ue.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},ou.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var ee=this.cm;if(ee.somethingSelected()){this.prevInput="";var ue=ee.getSelection();this.textarea.value=ue,ee.state.focused&&bt(this.textarea),Oe&&Le>=9&&(this.hasSelection=ue)}else x||(this.prevInput=this.textarea.value="",Oe&&Le>=9&&(this.hasSelection=null))}},ou.prototype.getField=function(){return this.textarea},ou.prototype.supportsTouch=function(){return!1},ou.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ke||Re()!=this.textarea))try{this.textarea.focus()}catch(x){}},ou.prototype.blur=function(){this.textarea.blur()},ou.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ou.prototype.receivedFocus=function(){this.slowPoll()},ou.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},ou.prototype.fastPoll=function(){var x=!1,ee=this;ee.pollingFast=!0;function ue(){var le=ee.poll();!le&&!x?(x=!0,ee.polling.set(60,ue)):(ee.pollingFast=!1,ee.slowPoll())}ee.polling.set(20,ue)},ou.prototype.poll=function(){var x=this,ee=this.cm,ue=this.textarea,le=this.prevInput;if(this.contextMenuPending||!ee.state.focused||Wr(ue)&&!le&&!this.composing||ee.isReadOnly()||ee.options.disableInput||ee.state.keySeq)return!1;var me=ue.value;if(me==le&&!ee.somethingSelected())return!1;if(Oe&&Le>=9&&this.hasSelection===me||Pe&&/[\uf700-\uf7ff]/.test(me))return ee.display.input.reset(),!1;if(ee.doc.sel==ee.display.selForContextMenu){var Ve=me.charCodeAt(0);if(Ve==8203&&!le&&(le="\u200B"),Ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,It=Math.min(le.length,me.length);mt1e3||me.indexOf(` `)>-1?ue.value=x.prevInput="":x.prevInput=me,x.composing&&(x.composing.range.clear(),x.composing.range=ee.markText(x.composing.start,ee.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ou.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ou.prototype.onKeyPress=function(){Oe&&Le>=9&&(this.hasSelection=null),this.fastPoll()},ou.prototype.onContextMenu=function(x){var ee=this,ue=ee.cm,le=ue.display,me=ee.textarea;ee.contextMenuPending&&ee.contextMenuPending();var Ve=mu(ue,x),mt=le.scroller.scrollTop;if(!Ve||fe)return;var It=ue.options.resetSelectionOnContextMenu;It&&ue.doc.sel.contains(Ve)==-1&&mr(ue,ql)(ue.doc,Is(Ve),xt);var Ut=me.style.cssText,Jt=ee.wrapper.style.cssText,Zn=ee.wrapper.offsetParent.getBoundingClientRect();ee.wrapper.style.cssText="position: static",me.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(x.clientY-Zn.top-5)+"px; left: "+(x.clientX-Zn.left-5)+`px; z-index: 1000; background: `+(Oe?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var ir;ve&&(ir=window.scrollY),le.input.focus(),ve&&window.scrollTo(null,ir),le.input.reset(),ue.somethingSelected()||(me.value=ee.prevInput=" "),ee.contextMenuPending=Qr,le.selForContextMenu=ue.doc.sel,clearTimeout(le.detectingSelectAll);function Yr(){if(me.selectionStart!=null){var ma=ue.somethingSelected(),qa="\u200B"+(ma?me.value:"");me.value="\u21DA",me.value=qa,ee.prevInput=ma?"":"\u200B",me.selectionStart=1,me.selectionEnd=qa.length,le.selForContextMenu=ue.doc.sel}}function Qr(){if(ee.contextMenuPending==Qr&&(ee.contextMenuPending=!1,ee.wrapper.style.cssText=Jt,me.style.cssText=Ut,Oe&&Le<9&&le.scrollbars.setScrollTop(le.scroller.scrollTop=mt),me.selectionStart!=null)){(!Oe||Oe&&Le<9)&&Yr();var ma=0,qa=function(){le.selForContextMenu==ue.doc.sel&&me.selectionStart==0&&me.selectionEnd>0&&ee.prevInput=="\u200B"?mr(ue,Yu)(ue):ma++<10?le.detectingSelectAll=setTimeout(qa,500):(le.selForContextMenu=null,le.input.reset())};le.detectingSelectAll=setTimeout(qa,200)}}if(Oe&&Le>=9&&Yr(),We){Rr(x);var Oi=function(){jt(window,"mouseup",Oi),setTimeout(Qr,20)};nn(window,"mouseup",Oi)}else setTimeout(Qr,50)},ou.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},ou.prototype.setUneditable=function(){},ou.prototype.needsContentAttribute=!1;function df(x,ee){if(ee=ee?wt(ee):{},ee.value=x.value,!ee.tabindex&&x.tabIndex&&(ee.tabindex=x.tabIndex),!ee.placeholder&&x.placeholder&&(ee.placeholder=x.placeholder),ee.autofocus==null){var ue=Re();ee.autofocus=ue==x||x.getAttribute("autofocus")!=null&&ue==document.body}function le(){x.value=It.getValue()}var me;if(x.form&&(nn(x.form,"submit",le),!ee.leaveSubmitMethodAlone)){var Ve=x.form;me=Ve.submit;try{var mt=Ve.submit=function(){le(),Ve.submit=me,Ve.submit(),Ve.submit=mt}}catch(Ut){}}ee.finishInit=function(Ut){Ut.save=le,Ut.getTextArea=function(){return x},Ut.toTextArea=function(){Ut.toTextArea=isNaN,le(),x.parentNode.removeChild(Ut.getWrapperElement()),x.style.display="",x.form&&(jt(x.form,"submit",le),!ee.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=me))}},x.style.display="none";var It=Us(function(Ut){return x.parentNode.insertBefore(Ut,x.nextSibling)},ee);return It}function kA(x){x.off=jt,x.on=nn,x.wheelEventPixels=ns,x.Doc=cc,x.splitLines=ua,x.countColumn=it,x.findColumn=Tn,x.isWordChar=ae,x.Pass=Vt,x.signal=pt,x.Line=Ln,x.changeEnd=Rl,x.scrollbarModel=vf,x.Pos=er,x.cmpPos=kr,x.modes=wo,x.mimeModes=sa,x.resolveMode=Si,x.getMode=qr,x.modeExtensions=Ma,x.extendMode=kn,x.copyState=Dt,x.startState=Wt,x.innerMode=Gt,x.commands=wd,x.keyMap=Lu,x.keyName=GA,x.isModifierKey=lh,x.lookupKey=SA,x.normalizeKeyMap=kh,x.StringStream=Kt,x.SharedTextMarker=fl,x.TextMarker=wA,x.LineWidget=_c,x.e_preventDefault=yr,x.e_stopPropagation=Dr,x.e_stop=Rr,x.addClass=Ht,x.contains=Lt,x.rmClass=et,x.keyNames=BA}Hm(Us),T0(Us);var Sf="iter insert remove copy getEditor constructor".split(" ");for(var ef in cc.prototype)cc.prototype.hasOwnProperty(ef)&&at(Sf,ef)<0&&(Us.prototype[ef]=function(x){return function(){return x.apply(this.doc,arguments)}}(cc.prototype[ef]));return Xn(cc),Us.inputStyles={textarea:ou,contenteditable:Uu},Us.defineMode=function(x){!Us.defaults.mode&&x!="null"&&(Us.defaults.mode=x),Pi.apply(this,arguments)},Us.defineMIME=Aa,Us.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),Us.defineMIME("text/plain","null"),Us.defineExtension=function(x,ee){Us.prototype[x]=ee},Us.defineDocExtension=function(x,ee){cc.prototype[x]=ee},Us.fromTextArea=df,kA(Us),Us.version="5.58.2",Us})},25419:function(Qn,Yt,de){(function(he){he(de(89780),de(15525),de(98101))})(function(he){"use strict";he.defineMode("markdown",function(Me,He){var ft=he.getMode(Me,"text/html"),Oe=ft.name=="null";function Le(it){if(he.findModeByName){var Ue=he.findModeByName(it);Ue&&(it=Ue.mime||Ue.mimes[0])}var at=he.getMode(Me,it);return at.name=="null"?null:at}He.highlightFormatting===void 0&&(He.highlightFormatting=!1),He.maxBlockquoteDepth===void 0&&(He.maxBlockquoteDepth=0),He.taskLists===void 0&&(He.taskLists=!1),He.strikethrough===void 0&&(He.strikethrough=!1),He.emoji===void 0&&(He.emoji=!1),He.fencedCodeBlockHighlighting===void 0&&(He.fencedCodeBlockHighlighting=!0),He.fencedCodeBlockDefaultMode===void 0&&(He.fencedCodeBlockDefaultMode="text/plain"),He.xml===void 0&&(He.xml=!0),He.tokenTypeOverrides===void 0&&(He.tokenTypeOverrides={});var ve={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ae in ve)ve.hasOwnProperty(Ae)&&He.tokenTypeOverrides[Ae]&&(ve[Ae]=He.tokenTypeOverrides[Ae]);var xe=/^([*\-_])(?:\s*\1){2,}\s*$/,fe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ke=/^\[(x| )\](?=\s)/i,Be=He.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,_e=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ne=/^[^#!\[\]*_\\<>` "'(~:]+/,Qe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ke=/^\s*\[[^\]]+?\]:.*$/,Pe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Te=" ";function Ye(it,Ue,at){return Ue.f=Ue.inline=at,at(it,Ue)}function ze(it,Ue,at){return Ue.f=Ue.block=at,at(it,Ue)}function qe(it){return!it||!/\S/.test(it.string)}function We(it){if(it.linkTitle=!1,it.linkHref=!1,it.linkText=!1,it.em=!1,it.strong=!1,it.strikethrough=!1,it.quote=0,it.indentedCode=!1,it.f==et){var Ue=Oe;if(!Ue){var at=he.innerMode(ft,it.htmlState);Ue=at.mode.name=="xml"&&at.state.tagStart===null&&!at.state.context&&at.state.tokenize.isInText}Ue&&(it.f=Ct,it.block=Ze,it.htmlState=null)}return it.trailingSpace=0,it.trailingSpaceNewLine=!1,it.prevLine=it.thisLine,it.thisLine={stream:null},null}function Ze(it,Ue){var at=it.column()===Ue.indentation,Xt=qe(Ue.prevLine.stream),Vt=Ue.indentedCode,xt=Ue.prevLine.hr,Qt=Ue.list!==!1,An=(Ue.listStack[Ue.listStack.length-1]||0)+3;Ue.indentedCode=!1;var Tn=Ue.indentation;if(Ue.indentationDiff===null&&(Ue.indentationDiff=Ue.indentation,Qt)){for(Ue.list=null;Tn=4&&(Vt||Ue.prevLine.fencedCodeEnd||Ue.prevLine.header||Xt))return it.skipToEnd(),Ue.indentedCode=!0,ve.code;if(it.eatSpace())return null;if(at&&Ue.indentation<=An&&(Cn=it.match(Be))&&Cn[1].length<=6)return Ue.quote=0,Ue.header=Cn[1].length,Ue.thisLine.header=!0,He.highlightFormatting&&(Ue.formatting="header"),Ue.f=Ue.inline,ht(Ue);if(Ue.indentation<=An&&it.eat(">"))return Ue.quote=at?1:Ue.quote+1,He.highlightFormatting&&(Ue.formatting="quote"),it.eatSpace(),ht(Ue);if(!Gn&&!Ue.setext&&at&&Ue.indentation<=An&&(Cn=it.match(fe))){var mn=Cn[1]?"ol":"ul";return Ue.indentation=Tn+it.current().length,Ue.list=!0,Ue.quote=0,Ue.listStack.push(Ue.indentation),Ue.em=!1,Ue.strong=!1,Ue.code=!1,Ue.strikethrough=!1,He.taskLists&&it.match(Ke,!1)&&(Ue.taskList=!0),Ue.f=Ue.inline,He.highlightFormatting&&(Ue.formatting=["list","list-"+mn]),ht(Ue)}else{if(at&&Ue.indentation<=An&&(Cn=it.match(Qe,!0)))return Ue.quote=0,Ue.fencedEndRE=new RegExp(Cn[1]+"+ *$"),Ue.localMode=He.fencedCodeBlockHighlighting&&Le(Cn[2]||He.fencedCodeBlockDefaultMode),Ue.localMode&&(Ue.localState=he.startState(Ue.localMode)),Ue.f=Ue.block=rt,He.highlightFormatting&&(Ue.formatting="code-block"),Ue.code=-1,ht(Ue);if(Ue.setext||(!dn||!Qt)&&!Ue.quote&&Ue.list===!1&&!Ue.code&&!Gn&&!ke.test(it.string)&&(Cn=it.lookAhead(1))&&(Cn=Cn.match(_e)))return Ue.setext?(Ue.header=Ue.setext,Ue.setext=0,it.skipToEnd(),He.highlightFormatting&&(Ue.formatting="header")):(Ue.header=Cn[0].charAt(0)=="="?1:2,Ue.setext=Ue.header),Ue.thisLine.header=!0,Ue.f=Ue.inline,ht(Ue);if(Gn)return it.skipToEnd(),Ue.hr=!0,Ue.thisLine.hr=!0,ve.hr;if(it.peek()==="[")return Ye(it,Ue,Et)}return Ye(it,Ue,Ue.inline)}function et(it,Ue){var at=ft.token(it,Ue.htmlState);if(!Oe){var Xt=he.innerMode(ft,Ue.htmlState);(Xt.mode.name=="xml"&&Xt.state.tagStart===null&&!Xt.state.context&&Xt.state.tokenize.isInText||Ue.md_inside&&it.current().indexOf(">")>-1)&&(Ue.f=Ct,Ue.block=Ze,Ue.htmlState=null)}return at}function rt(it,Ue){var at=Ue.listStack[Ue.listStack.length-1]||0,Xt=Ue.indentation=it.quote?Ue.push(ve.formatting+"-"+it.formatting[at]+"-"+it.quote):Ue.push("error"))}if(it.taskOpen)return Ue.push("meta"),Ue.length?Ue.join(" "):null;if(it.taskClosed)return Ue.push("property"),Ue.length?Ue.join(" "):null;if(it.linkHref?Ue.push(ve.linkHref,"url"):(it.strong&&Ue.push(ve.strong),it.em&&Ue.push(ve.em),it.strikethrough&&Ue.push(ve.strikethrough),it.emoji&&Ue.push(ve.emoji),it.linkText&&Ue.push(ve.linkText),it.code&&Ue.push(ve.code),it.image&&Ue.push(ve.image),it.imageAltText&&Ue.push(ve.imageAltText,"link"),it.imageMarker&&Ue.push(ve.imageMarker)),it.header&&Ue.push(ve.header,ve.header+"-"+it.header),it.quote&&(Ue.push(ve.quote),!He.maxBlockquoteDepth||He.maxBlockquoteDepth>=it.quote?Ue.push(ve.quote+"-"+it.quote):Ue.push(ve.quote+"-"+He.maxBlockquoteDepth)),it.list!==!1){var Xt=(it.listStack.length-1)%3;Xt?Xt===1?Ue.push(ve.list2):Ue.push(ve.list3):Ue.push(ve.list1)}return it.trailingSpaceNewLine?Ue.push("trailing-space-new-line"):it.trailingSpace&&Ue.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),Ue.length?Ue.join(" "):null}function dt(it,Ue){if(it.match(Ne,!0))return ht(Ue)}function Ct(it,Ue){var at=Ue.text(it,Ue);if(typeof at!="undefined")return at;if(Ue.list)return Ue.list=null,ht(Ue);if(Ue.taskList){var Xt=it.match(Ke,!0)[1]===" ";return Xt?Ue.taskOpen=!0:Ue.taskClosed=!0,He.highlightFormatting&&(Ue.formatting="task"),Ue.taskList=!1,ht(Ue)}if(Ue.taskOpen=!1,Ue.taskClosed=!1,Ue.header&&it.match(/^#+$/,!0))return He.highlightFormatting&&(Ue.formatting="header"),ht(Ue);var Vt=it.next();if(Ue.linkTitle){Ue.linkTitle=!1;var xt=Vt;Vt==="("&&(xt=")"),xt=(xt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Qt="^\\s*(?:[^"+xt+"\\\\]+|\\\\\\\\|\\\\.)"+xt;if(it.match(new RegExp(Qt),!0))return ve.linkHref}if(Vt==="`"){var An=Ue.formatting;He.highlightFormatting&&(Ue.formatting="code"),it.eatWhile("`");var Tn=it.current().length;if(Ue.code==0&&(!Ue.quote||Tn==1))return Ue.code=Tn,ht(Ue);if(Tn==Ue.code){var dn=ht(Ue);return Ue.code=0,dn}else return Ue.formatting=An,ht(Ue)}else if(Ue.code)return ht(Ue);if(Vt==="\\"&&(it.next(),He.highlightFormatting)){var Gn=ht(Ue),Cn=ve.formatting+"-escape";return Gn?Gn+" "+Cn:Cn}if(Vt==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ue.imageMarker=!0,Ue.image=!0,He.highlightFormatting&&(Ue.formatting="image"),ht(Ue);if(Vt==="["&&Ue.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ue.imageMarker=!1,Ue.imageAltText=!0,He.highlightFormatting&&(Ue.formatting="image"),ht(Ue);if(Vt==="]"&&Ue.imageAltText){He.highlightFormatting&&(Ue.formatting="image");var Gn=ht(Ue);return Ue.imageAltText=!1,Ue.image=!1,Ue.inline=Ue.f=Lt,Gn}if(Vt==="["&&!Ue.image)return Ue.linkText&&it.match(/^.*?\]/)||(Ue.linkText=!0,He.highlightFormatting&&(Ue.formatting="link")),ht(Ue);if(Vt==="]"&&Ue.linkText){He.highlightFormatting&&(Ue.formatting="link");var Gn=ht(Ue);return Ue.linkText=!1,Ue.inline=Ue.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?Lt:Ct,Gn}if(Vt==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ue.f=Ue.inline=Xe,He.highlightFormatting&&(Ue.formatting="link");var Gn=ht(Ue);return Gn?Gn+=" ":Gn="",Gn+ve.linkInline}if(Vt==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ue.f=Ue.inline=Xe,He.highlightFormatting&&(Ue.formatting="link");var Gn=ht(Ue);return Gn?Gn+=" ":Gn="",Gn+ve.linkEmail}if(He.xml&&Vt==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var mn=it.string.indexOf(">",it.pos);if(mn!=-1){var Bn=it.string.substring(it.start,mn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Bn)&&(Ue.md_inside=!0)}return it.backUp(1),Ue.htmlState=he.startState(ft),ze(it,Ue,et)}if(He.xml&&Vt==="<"&&it.match(/^\/\w*?>/))return Ue.md_inside=!1,"tag";if(Vt==="*"||Vt==="_"){for(var Se=1,Fe=it.pos==1?" ":it.string.charAt(it.pos-2);Se<3&&it.eat(Vt);)Se++;var ie=it.peek()||" ",ae=!/\s/.test(ie)&&(!Pe.test(ie)||/\s/.test(Fe)||Pe.test(Fe)),se=!/\s/.test(Fe)&&(!Pe.test(Fe)||/\s/.test(ie)||Pe.test(ie)),oe=null,Je=null;if(Se%2&&(!Ue.em&&ae&&(Vt==="*"||!se||Pe.test(Fe))?oe=!0:Ue.em==Vt&&se&&(Vt==="*"||!ae||Pe.test(ie))&&(oe=!1)),Se>1&&(!Ue.strong&&ae&&(Vt==="*"||!se||Pe.test(Fe))?Je=!0:Ue.strong==Vt&&se&&(Vt==="*"||!ae||Pe.test(ie))&&(Je=!1)),Je!=null||oe!=null){He.highlightFormatting&&(Ue.formatting=oe==null?"strong":Je==null?"em":"strong em"),oe===!0&&(Ue.em=Vt),Je===!0&&(Ue.strong=Vt);var dn=ht(Ue);return oe===!1&&(Ue.em=!1),Je===!1&&(Ue.strong=!1),dn}}else if(Vt===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return ht(Ue);it.backUp(1)}if(He.strikethrough){if(Vt==="~"&&it.eatWhile(Vt)){if(Ue.strikethrough){He.highlightFormatting&&(Ue.formatting="strikethrough");var dn=ht(Ue);return Ue.strikethrough=!1,dn}else if(it.match(/^[^\s]/,!1))return Ue.strikethrough=!0,He.highlightFormatting&&(Ue.formatting="strikethrough"),ht(Ue)}else if(Vt===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return ht(Ue);it.backUp(2)}}if(He.emoji&&Vt===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ue.emoji=!0,He.highlightFormatting&&(Ue.formatting="emoji");var vt=ht(Ue);return Ue.emoji=!1,vt}return Vt===" "&&(it.match(/^ +$/,!1)?Ue.trailingSpace++:Ue.trailingSpace&&(Ue.trailingSpaceNewLine=!0)),ht(Ue)}function Xe(it,Ue){var at=it.next();if(at===">"){Ue.f=Ue.inline=Ct,He.highlightFormatting&&(Ue.formatting="link");var Xt=ht(Ue);return Xt?Xt+=" ":Xt="",Xt+ve.linkInline}return it.match(/^[^>]+/,!0),ve.linkInline}function Lt(it,Ue){if(it.eatSpace())return null;var at=it.next();return at==="("||at==="["?(Ue.f=Ue.inline=Ht(at==="("?")":"]"),He.highlightFormatting&&(Ue.formatting="link-string"),Ue.linkHref=!0,ht(Ue)):"error"}var Re={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ht(it){return function(Ue,at){var Xt=Ue.next();if(Xt===it){at.f=at.inline=Ct,He.highlightFormatting&&(at.formatting="link-string");var Vt=ht(at);return at.linkHref=!1,Vt}return Ue.match(Re[it]),at.linkHref=!0,ht(at)}}function Et(it,Ue){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ue.f=bt,it.next(),He.highlightFormatting&&(Ue.formatting="link"),Ue.linkText=!0,ht(Ue)):Ye(it,Ue,Ct)}function bt(it,Ue){if(it.match(/^\]:/,!0)){Ue.f=Ue.inline=Tt,He.highlightFormatting&&(Ue.formatting="link");var at=ht(Ue);return Ue.linkText=!1,at}return it.match(/^([^\]\\]|\\.)+/,!0),ve.linkText}function Tt(it,Ue){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?Ue.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ue.f=Ue.inline=Ct,ve.linkHref+" url")}var wt={startState:function(){return{f:Ze,prevLine:{stream:null},thisLine:{stream:null},block:Ze,htmlState:null,indentation:0,inline:Ct,text:dt,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(it){return{f:it.f,prevLine:it.prevLine,thisLine:it.thisLine,block:it.block,htmlState:it.htmlState&&he.copyState(ft,it.htmlState),indentation:it.indentation,localMode:it.localMode,localState:it.localMode?he.copyState(it.localMode,it.localState):null,inline:it.inline,text:it.text,formatting:!1,linkText:it.linkText,linkTitle:it.linkTitle,linkHref:it.linkHref,code:it.code,em:it.em,strong:it.strong,strikethrough:it.strikethrough,emoji:it.emoji,header:it.header,setext:it.setext,hr:it.hr,taskList:it.taskList,list:it.list,listStack:it.listStack.slice(0),quote:it.quote,indentedCode:it.indentedCode,trailingSpace:it.trailingSpace,trailingSpaceNewLine:it.trailingSpaceNewLine,md_inside:it.md_inside,fencedEndRE:it.fencedEndRE}},token:function(it,Ue){if(Ue.formatting=!1,it!=Ue.thisLine.stream){if(Ue.header=0,Ue.hr=!1,it.match(/^\s*$/,!0))return We(Ue),null;if(Ue.prevLine=Ue.thisLine,Ue.thisLine={stream:it},Ue.taskList=!1,Ue.trailingSpace=0,Ue.trailingSpaceNewLine=!1,!Ue.localState&&(Ue.f=Ue.block,Ue.f!=et)){var at=it.match(/^\s*/,!0)[0].replace(/\t/g,Te).length;if(Ue.indentation=at,Ue.indentationDiff=null,at>0)return null}}return Ue.f(it,Ue)},innerMode:function(it){return it.block==et?{state:it.htmlState,mode:ft}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:wt}},indent:function(it,Ue,at){return it.block==et&&ft.indent?ft.indent(it.htmlState,Ue,at):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,Ue,at):he.Pass},blankLine:We,getType:ht,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return wt},"xml"),he.defineMIME("text/markdown","markdown"),he.defineMIME("text/x-markdown","markdown")})},98101:function(Qn,Yt,de){(function(he){he(de(89780))})(function(he){"use strict";he.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Me=0;Me-1&&ft.substring(ve+1,ft.length);if(Ae)return he.findModeByExtension(Ae)},he.findModeByName=function(ft){ft=ft.toLowerCase();for(var Oe=0;Oe0?Ne.cmdState[Ne.cmdState.length-1]:null}function Le(Ne){var Qe=Ne.cmdState.pop();Qe&&Qe.closeBracket()}function ve(Ne){for(var Qe=Ne.cmdState,ke=Qe.length-1;ke>=0;ke--){var Pe=Qe[ke];if(Pe.name!="DEFAULT")return Pe}return{styleIdentifier:function(){return null}}}function Ae(Ne,Qe,ke){return function(){this.name=Ne,this.bracketNo=0,this.style=Qe,this.styles=ke,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var xe={};xe.importmodule=Ae("importmodule","tag",["string","builtin"]),xe.documentclass=Ae("documentclass","tag",["","atom"]),xe.usepackage=Ae("usepackage","tag",["atom"]),xe.begin=Ae("begin","tag",["atom"]),xe.end=Ae("end","tag",["atom"]),xe.label=Ae("label","tag",["atom"]),xe.ref=Ae("ref","tag",["atom"]),xe.eqref=Ae("eqref","tag",["atom"]),xe.cite=Ae("cite","tag",["atom"]),xe.bibitem=Ae("bibitem","tag",["atom"]),xe.Bibitem=Ae("Bibitem","tag",["atom"]),xe.RBibitem=Ae("RBibitem","tag",["atom"]),xe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function fe(Ne,Qe){Ne.f=Qe}function Ke(Ne,Qe){var ke;if(Ne.match(/^\\[a-zA-Z@]+/)){var Pe=Ne.current().slice(1);return ke=xe.hasOwnProperty(Pe)?xe[Pe]:xe.DEFAULT,ke=new ke,ft(Qe,ke),fe(Qe,_e),ke.style}if(Ne.match(/^\\[$&%#{}_]/)||Ne.match(/^\\[,;!\/\\]/))return"tag";if(Ne.match("\\["))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"\\]")}),"keyword";if(Ne.match("\\("))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"\\)")}),"keyword";if(Ne.match("$$"))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"$$")}),"keyword";if(Ne.match("$"))return fe(Qe,function(Ye,ze){return Be(Ye,ze,"$")}),"keyword";var Te=Ne.next();if(Te=="%")return Ne.skipToEnd(),"comment";if(Te=="}"||Te=="]"){if(ke=Oe(Qe),ke)ke.closeBracket(Te),fe(Qe,_e);else return"error";return"bracket"}else return Te=="{"||Te=="["?(ke=xe.DEFAULT,ke=new ke,ft(Qe,ke),"bracket"):/\d/.test(Te)?(Ne.eatWhile(/[\w.%]/),"atom"):(Ne.eatWhile(/[\w\-_]/),ke=ve(Qe),ke.name=="begin"&&(ke.argument=Ne.current()),ke.styleIdentifier())}function Be(Ne,Qe,ke){if(Ne.eatSpace())return null;if(ke&&Ne.match(ke))return fe(Qe,Ke),"keyword";if(Ne.match(/^\\[a-zA-Z@]+/))return"tag";if(Ne.match(/^[a-zA-Z]+/))return"variable-2";if(Ne.match(/^\\[$&%#{}_]/)||Ne.match(/^\\[,;!\/]/)||Ne.match(/^[\^_&]/))return"tag";if(Ne.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ne.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Pe=Ne.next();return Pe=="{"||Pe=="}"||Pe=="["||Pe=="]"||Pe=="("||Pe==")"?"bracket":Pe=="%"?(Ne.skipToEnd(),"comment"):"error"}function _e(Ne,Qe){var ke=Ne.peek(),Pe;return ke=="{"||ke=="["?(Pe=Oe(Qe),Pe.openBracket(ke),Ne.eat(ke),fe(Qe,Ke),"bracket"):/[ \t\r]/.test(ke)?(Ne.eat(ke),null):(fe(Qe,Ke),Le(Qe),Ke(Ne,Qe))}return{startState:function(){var Ne=He.inMathMode?function(Qe,ke){return Be(Qe,ke)}:Ke;return{cmdState:[],f:Ne}},copyState:function(Ne){return{cmdState:Ne.cmdState.slice(),f:Ne.f}},token:function(Ne,Qe){return Qe.f(Ne,Qe)},blankLine:function(Ne){Ne.f=Ke,Ne.cmdState.length=0},lineComment:"%"}}),he.defineMIME("text/x-stex","stex"),he.defineMIME("text/x-latex","stex")})},15525:function(Qn,Yt,de){(function(he){he(de(89780))})(function(he){"use strict";var Me={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},He={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};he.defineMode("xml",function(ft,Oe){var Le=ft.indentUnit,ve={},Ae=Oe.htmlMode?Me:He;for(var xe in Ae)ve[xe]=Ae[xe];for(var xe in Oe)ve[xe]=Oe[xe];var fe,Ke;function Be(Xe,Lt){function Re(bt){return Lt.tokenize=bt,bt(Xe,Lt)}var Ht=Xe.next();if(Ht=="<")return Xe.eat("!")?Xe.eat("[")?Xe.match("CDATA[")?Re(Qe("atom","]]>")):null:Xe.match("--")?Re(Qe("comment","-->")):Xe.match("DOCTYPE",!0,!0)?(Xe.eatWhile(/[\w\._\-]/),Re(ke(1))):null:Xe.eat("?")?(Xe.eatWhile(/[\w\._\-]/),Lt.tokenize=Qe("meta","?>"),"meta"):(fe=Xe.eat("/")?"closeTag":"openTag",Lt.tokenize=_e,"tag bracket");if(Ht=="&"){var Et;return Xe.eat("#")?Xe.eat("x")?Et=Xe.eatWhile(/[a-fA-F\d]/)&&Xe.eat(";"):Et=Xe.eatWhile(/[\d]/)&&Xe.eat(";"):Et=Xe.eatWhile(/[\w\.\-:]/)&&Xe.eat(";"),Et?"atom":"error"}else return Xe.eatWhile(/[^&<]/),null}Be.isInText=!0;function _e(Xe,Lt){var Re=Xe.next();if(Re==">"||Re=="/"&&Xe.eat(">"))return Lt.tokenize=Be,fe=Re==">"?"endTag":"selfcloseTag","tag bracket";if(Re=="=")return fe="equals",null;if(Re=="<"){Lt.tokenize=Be,Lt.state=ze,Lt.tagName=Lt.tagStart=null;var Ht=Lt.tokenize(Xe,Lt);return Ht?Ht+" tag error":"tag error"}else return/[\'\"]/.test(Re)?(Lt.tokenize=Ne(Re),Lt.stringStartCol=Xe.column(),Lt.tokenize(Xe,Lt)):(Xe.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ne(Xe){var Lt=function(Re,Ht){for(;!Re.eol();)if(Re.next()==Xe){Ht.tokenize=_e;break}return"string"};return Lt.isInAttribute=!0,Lt}function Qe(Xe,Lt){return function(Re,Ht){for(;!Re.eol();){if(Re.match(Lt)){Ht.tokenize=Be;break}Re.next()}return Xe}}function ke(Xe){return function(Lt,Re){for(var Ht;(Ht=Lt.next())!=null;){if(Ht=="<")return Re.tokenize=ke(Xe+1),Re.tokenize(Lt,Re);if(Ht==">")if(Xe==1){Re.tokenize=Be;break}else return Re.tokenize=ke(Xe-1),Re.tokenize(Lt,Re)}return"meta"}}function Pe(Xe,Lt,Re){this.prev=Xe.context,this.tagName=Lt,this.indent=Xe.indented,this.startOfLine=Re,(ve.doNotIndent.hasOwnProperty(Lt)||Xe.context&&Xe.context.noIndent)&&(this.noIndent=!0)}function Te(Xe){Xe.context&&(Xe.context=Xe.context.prev)}function Ye(Xe,Lt){for(var Re;;){if(!Xe.context||(Re=Xe.context.tagName,!ve.contextGrabbers.hasOwnProperty(Re)||!ve.contextGrabbers[Re].hasOwnProperty(Lt)))return;Te(Xe)}}function ze(Xe,Lt,Re){return Xe=="openTag"?(Re.tagStart=Lt.column(),qe):Xe=="closeTag"?We:ze}function qe(Xe,Lt,Re){return Xe=="word"?(Re.tagName=Lt.current(),Ke="tag",rt):ve.allowMissingTagName&&Xe=="endTag"?(Ke="tag bracket",rt(Xe,Lt,Re)):(Ke="error",qe)}function We(Xe,Lt,Re){if(Xe=="word"){var Ht=Lt.current();return Re.context&&Re.context.tagName!=Ht&&ve.implicitlyClosed.hasOwnProperty(Re.context.tagName)&&Te(Re),Re.context&&Re.context.tagName==Ht||ve.matchClosing===!1?(Ke="tag",Ze):(Ke="tag error",et)}else return ve.allowMissingTagName&&Xe=="endTag"?(Ke="tag bracket",Ze(Xe,Lt,Re)):(Ke="error",et)}function Ze(Xe,Lt,Re){return Xe!="endTag"?(Ke="error",Ze):(Te(Re),ze)}function et(Xe,Lt,Re){return Ke="error",Ze(Xe,Lt,Re)}function rt(Xe,Lt,Re){if(Xe=="word")return Ke="attribute",ht;if(Xe=="endTag"||Xe=="selfcloseTag"){var Ht=Re.tagName,Et=Re.tagStart;return Re.tagName=Re.tagStart=null,Xe=="selfcloseTag"||ve.autoSelfClosers.hasOwnProperty(Ht)?Ye(Re,Ht):(Ye(Re,Ht),Re.context=new Pe(Re,Ht,Et==Re.indented)),ze}return Ke="error",rt}function ht(Xe,Lt,Re){return Xe=="equals"?dt:(ve.allowMissing||(Ke="error"),rt(Xe,Lt,Re))}function dt(Xe,Lt,Re){return Xe=="string"?Ct:Xe=="word"&&ve.allowUnquoted?(Ke="string",rt):(Ke="error",rt(Xe,Lt,Re))}function Ct(Xe,Lt,Re){return Xe=="string"?Ct:rt(Xe,Lt,Re)}return{startState:function(Xe){var Lt={tokenize:Be,state:ze,indented:Xe||0,tagName:null,tagStart:null,context:null};return Xe!=null&&(Lt.baseIndent=Xe),Lt},token:function(Xe,Lt){if(!Lt.tagName&&Xe.sol()&&(Lt.indented=Xe.indentation()),Xe.eatSpace())return null;fe=null;var Re=Lt.tokenize(Xe,Lt);return(Re||fe)&&Re!="comment"&&(Ke=null,Lt.state=Lt.state(fe||Re,Xe,Lt),Ke&&(Re=Ke=="error"?Re+" error":Ke)),Re},indent:function(Xe,Lt,Re){var Ht=Xe.context;if(Xe.tokenize.isInAttribute)return Xe.tagStart==Xe.indented?Xe.stringStartCol+1:Xe.indented+Le;if(Ht&&Ht.noIndent)return he.Pass;if(Xe.tokenize!=_e&&Xe.tokenize!=Be)return Re?Re.match(/^(\s*)/)[0].length:0;if(Xe.tagName)return ve.multilineTagIndentPastTag!==!1?Xe.tagStart+Xe.tagName.length+2:Xe.tagStart+Le*(ve.multilineTagIndentFactor||1);if(ve.alignCDATA&&/$/,blockCommentStart:"",configuration:ve.htmlMode?"html":"xml",helperType:ve.htmlMode?"html":"xml",skipAttribute:function(Xe){Xe.state==dt&&(Xe.state=rt)},xmlCurrentTag:function(Xe){return Xe.tagName?{name:Xe.tagName,close:Xe.type=="closeTag"}:null},xmlCurrentContext:function(Xe){for(var Lt=[],Re=Xe.context;Re;Re=Re.prev)Re.tagName&&Lt.push(Re.tagName);return Lt.reverse()}}}),he.defineMIME("text/xml","xml"),he.defineMIME("application/xml","xml"),he.mimeModes.hasOwnProperty("text/html")||he.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Qn,Yt,de){"use strict";Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var he=Object.assign||function(ke){for(var Pe=1;Pe0&&(rt=qe[0]),rt instanceof Error)throw rt;var ht=new Error("Unhandled error."+(rt?" ("+rt.message+")":""));throw ht.context=rt,ht}var dt=et[ze];if(dt===void 0)return!1;if(typeof dt=="function")de(dt,this,qe);else for(var Ct=dt.length,Xe=_e(dt,Ct),We=0;We0&&rt.length>Ze&&!rt.warned){rt.warned=!0;var ht=new Error("Possible EventEmitter memory leak detected. "+rt.length+" "+String(ze)+" listeners added. Use emitter.setMaxListeners() to increase limit");ht.name="MaxListenersExceededWarning",ht.emitter=Ye,ht.type=ze,ht.count=rt.length,Me(ht)}return Ye}ft.prototype.addListener=function(ze,qe){return Ae(this,ze,qe,!1)},ft.prototype.on=ft.prototype.addListener,ft.prototype.prependListener=function(ze,qe){return Ae(this,ze,qe,!0)};function xe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function fe(Ye,ze,qe){var We={fired:!1,wrapFn:void 0,target:Ye,type:ze,listener:qe},Ze=xe.bind(We);return Ze.listener=qe,We.wrapFn=Ze,Ze}ft.prototype.once=function(ze,qe){return Le(qe),this.on(ze,fe(this,ze,qe)),this},ft.prototype.prependOnceListener=function(ze,qe){return Le(qe),this.prependListener(ze,fe(this,ze,qe)),this},ft.prototype.removeListener=function(ze,qe){var We,Ze,et,rt,ht;if(Le(qe),Ze=this._events,Ze===void 0)return this;if(We=Ze[ze],We===void 0)return this;if(We===qe||We.listener===qe)--this._eventsCount===0?this._events=Object.create(null):(delete Ze[ze],Ze.removeListener&&this.emit("removeListener",ze,We.listener||qe));else if(typeof We!="function"){for(et=-1,rt=We.length-1;rt>=0;rt--)if(We[rt]===qe||We[rt].listener===qe){ht=We[rt].listener,et=rt;break}if(et<0)return this;et===0?We.shift():Ne(We,et),We.length===1&&(Ze[ze]=We[0]),Ze.removeListener!==void 0&&this.emit("removeListener",ze,ht||qe)}return this},ft.prototype.off=ft.prototype.removeListener,ft.prototype.removeAllListeners=function(ze){var qe,We,Ze;if(We=this._events,We===void 0)return this;if(We.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):We[ze]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete We[ze]),this;if(arguments.length===0){var et=Object.keys(We),rt;for(Ze=0;Ze=0;Ze--)this.removeListener(ze,qe[Ze]);return this};function Ke(Ye,ze,qe){var We=Ye._events;if(We===void 0)return[];var Ze=We[ze];return Ze===void 0?[]:typeof Ze=="function"?qe?[Ze.listener||Ze]:[Ze]:qe?Qe(Ze):_e(Ze,Ze.length)}ft.prototype.listeners=function(ze){return Ke(this,ze,!0)},ft.prototype.rawListeners=function(ze){return Ke(this,ze,!1)},ft.listenerCount=function(Ye,ze){return typeof Ye.listenerCount=="function"?Ye.listenerCount(ze):Be.call(Ye,ze)},ft.prototype.listenerCount=Be;function Be(Ye){var ze=this._events;if(ze!==void 0){var qe=ze[Ye];if(typeof qe=="function")return 1;if(qe!==void 0)return qe.length}return 0}ft.prototype.eventNames=function(){return this._eventsCount>0?he(this._events):[]};function _e(Ye,ze){for(var qe=new Array(ze),We=0;We0&&zt[zt.length-1])&&(Hr[0]===6||Hr[0]===2)){De=0;continue}if(Hr[0]===3&&(!zt||Hr[1]>zt[0]&&Hr[1]=55296&&yt<=56319&&De>10)+55296,un%1024+56320)),(yt+1===De||Ie.length>16384)&&(zt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return zt},fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ke=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Be=0;Be>4,Gr[yt++]=(un&15)<<4|Un>>2,Gr[yt++]=(Un&3)<<6|Hn&63;return Hr},Pe=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie>Ye,et=1<>Ye,dt=Ze+ht,Ct=dt,Xe=32,Lt=Ct+Xe,Re=65536>>ze,Ht=1<=0){if(be<55296||be>56319&&be<=65535)return De=this.index[be>>Ye],De=(De<>Ye)],De=(De<>ze),De=this.index[De],De+=be>>Ye&Et,De=this.index[De],De=(De<xt?(yt.push(!0),Un-=xt):yt.push(!1),["normal","auto","loose"].indexOf(be)!==-1&&[8208,8211,12316,12448].indexOf(zt)!==-1)return Ie.push(un),De.push(Je);if(Un===dn||Un===Fe){if(un===0)return Ie.push(un),De.push(Zt);var Hn=De[un-1];return Aa.indexOf(Hn)===-1?(Ie.push(Ie[un-1]),De.push(Hn)):(Ie.push(un),De.push(Zt))}if(Ie.push(un),Un===gn)return De.push(be==="strict"?_t:Rr);if(Un===yi||Un===pt)return De.push(Zt);if(Un===mi)return zt>=131072&&zt<=196605||zt>=196608&&zt<=262141?De.push(Rr):De.push(Zt);De.push(Un)}),[Ie,De,yt]},kn=function(Ee,be,De,Ie){var yt=Ie[De];if(Array.isArray(Ee)?Ee.indexOf(yt)!==-1:Ee===yt)for(var zt=De;zt<=Ie.length;){zt++;var un=Ie[zt];if(un===be)return!0;if(un!==Se)break}if(yt===Se)for(var zt=De;zt>0;){zt--;var Un=Ie[zt];if(Array.isArray(Ee)?Ee.indexOf(Un)!==-1:Ee===Un)for(var Hn=De;Hn<=Ie.length;){Hn++;var un=Ie[Hn];if(un===be)return!0;if(un!==Se)break}if(Un!==Se)break}return!1},Dt=function(Ee,be){for(var De=Ee;De>=0;){var Ie=be[De];if(Ie===Se)De--;else return Ie}return 0},Gt=function(Ee,be,De,Ie,yt){if(De[Ie]===0)return Wr;var zt=Ie-1;if(Array.isArray(yt)&&yt[zt]===!0)return Wr;var un=zt-1,Un=zt+1,Hn=be[zt],Hr=un>=0?be[un]:0,Gr=be[Un];if(Hn===An&&Gr===Tn)return Wr;if(wo.indexOf(Hn)!==-1)return ua;if(wo.indexOf(Gr)!==-1||sa.indexOf(Gr)!==-1)return Wr;if(Dt(zt,be)===mn)return Mn;if(ea.get(Ee[zt])===Fe||(Hn===wn||Hn===Xn)&&ea.get(Ee[Un])===Fe||Hn===Cn||Gr===Cn||Hn===Bn||[Se,ae,oe].indexOf(Hn)===-1&&Gr===Bn||[vt,$e,lt,Sn,jt].indexOf(Gr)!==-1||Dt(zt,be)===kt||kn($t,kt,zt,be)||kn([vt,$e],_t,zt,be)||kn(ie,ie,zt,be))return Wr;if(Hn===Se)return Mn;if(Hn===$t||Gr===$t)return Wr;if(Gr===Je||Hn===Je)return Mn;if([ae,oe,_t].indexOf(Gr)!==-1||Hn===se||Hr===Tr&&qr.indexOf(Hn)!==-1||Hn===jt&&Gr===Tr||Gr===Pt||Ea.indexOf(Gr)!==-1&&Hn===St||Ea.indexOf(Hn)!==-1&&Gr===St||Hn===tn&&[Rr,wn,Xn].indexOf(Gr)!==-1||[Rr,wn,Xn].indexOf(Hn)!==-1&&Gr===nn||Ea.indexOf(Hn)!==-1&&Pi.indexOf(Gr)!==-1||Pi.indexOf(Hn)!==-1&&Ea.indexOf(Gr)!==-1||[tn,nn].indexOf(Hn)!==-1&&(Gr===St||[kt,oe].indexOf(Gr)!==-1&&be[Un+1]===St)||[kt,oe].indexOf(Hn)!==-1&&Gr===St||Hn===St&&[St,jt,Sn].indexOf(Gr)!==-1)return Wr;if([St,jt,Sn,vt,$e].indexOf(Gr)!==-1)for(var ti=zt;ti>=0;){var Xi=be[ti];if(Xi===St)return Wr;if([jt,Sn].indexOf(Xi)!==-1)ti--;else break}if([tn,nn].indexOf(Gr)!==-1)for(var ti=[vt,$e].indexOf(Hn)!==-1?un:zt;ti>=0;){var Xi=be[ti];if(Xi===St)return Wr;if([jt,Sn].indexOf(Xi)!==-1)ti--;else break}if(Sr===Hn&&[Sr,fr,yr,Dr].indexOf(Gr)!==-1||[fr,yr].indexOf(Hn)!==-1&&[fr,Vr].indexOf(Gr)!==-1||[Vr,Dr].indexOf(Hn)!==-1&&Gr===Vr||Si.indexOf(Hn)!==-1&&[Pt,nn].indexOf(Gr)!==-1||Si.indexOf(Gr)!==-1&&Hn===tn||Ea.indexOf(Hn)!==-1&&Ea.indexOf(Gr)!==-1||Hn===Sn&&Ea.indexOf(Gr)!==-1||Ea.concat(St).indexOf(Hn)!==-1&&Gr===kt&&Vi.indexOf(Ee[Un])===-1||Ea.concat(St).indexOf(Gr)!==-1&&Hn===$e)return Wr;if(Hn===Bi&&Gr===Bi){for(var ts=De[zt],io=1;ts>0&&(ts--,be[ts]===Bi);)io++;if(io%2!==0)return Wr}return Hn===wn&&Gr===Xn?Wr:Mn},Wt=function(Ee,be){be||(be={lineBreak:"normal",wordBreak:"normal"});var De=Ma(Ee,be.lineBreak),Ie=De[0],yt=De[1],zt=De[2];(be.wordBreak==="break-all"||be.wordBreak==="break-word")&&(yt=yt.map(function(Un){return[St,Zt,yi].indexOf(Un)!==-1?Rr:Un}));var un=be.wordBreak==="keep-all"?zt.map(function(Un,Hn){return Un&&Ee[Hn]>=19968&&Ee[Hn]<=40959}):void 0;return[Ie,yt,un]},Kt=function(){function Ee(be,De,Ie,yt){this.codePoints=be,this.required=De===ua,this.start=Ie,this.end=yt}return Ee.prototype.slice=function(){return xe.apply(void 0,this.codePoints.slice(this.start,this.end))},Ee}(),on=function(Ee,be){var De=Ae(Ee),Ie=Wt(De,be),yt=Ie[0],zt=Ie[1],un=Ie[2],Un=De.length,Hn=0,Hr=0;return{next:function(){if(Hr>=Un)return{done:!0,value:null};for(var Gr=Wr;Hr=Lo&&Ee<=57},ps=function(Ee){return Ee>=55296&&Ee<=57343},as=function(Ee){return Os(Ee)||Ee>=ga&&Ee<=Fo||Ee>=vo&&Ee<=Oo},ol=function(Ee){return Ee>=vo&&Ee<=Sa},fa=function(Ee){return Ee>=ga&&Ee<=Js},la=function(Ee){return ol(Ee)||fa(Ee)},ia=function(Ee){return Ee>=ho},Ln=function(Ee){return Ee===Pr||Ee===er||Ee===kr},In=function(Ee){return la(Ee)||ia(Ee)||Ee===gr},Er=function(Ee){return In(Ee)||Os(Ee)||Ee===Ar},vi=function(Ee){return Ee>=os&&Ee<=Va||Ee===Ii||Ee>=Ci&&Ee<=Ha||Ee===Oa},ha=function(Ee,be){return Ee!==ei?!1:be!==Pr},Ia=function(Ee,be,De){return Ee===Ar?In(be)||ha(be,De):In(Ee)?!0:!!(Ee===ei&&ha(Ee,be))},va=function(Ee,be,De){return Ee===ui||Ee===Ar?Os(be)?!0:be===xo&&Os(De):Os(Ee===xo?be:Ee)},Ji=function(Ee){var be=0,De=1;(Ee[be]===ui||Ee[be]===Ar)&&(Ee[be]===Ar&&(De=-1),be++);for(var Ie=[];Os(Ee[be]);)Ie.push(Ee[be++]);var yt=Ie.length?parseInt(xe.apply(void 0,Ie),10):0;Ee[be]===xo&&be++;for(var zt=[];Os(Ee[be]);)zt.push(Ee[be++]);var un=zt.length,Un=un?parseInt(xe.apply(void 0,zt),10):0;(Ee[be]===Co||Ee[be]===jn)&&be++;var Hn=1;(Ee[be]===ui||Ee[be]===Ar)&&(Ee[be]===Ar&&(Hn=-1),be++);for(var Hr=[];Os(Ee[be]);)Hr.push(Ee[be++]);var Gr=Hr.length?parseInt(xe.apply(void 0,Hr),10):0;return De*(yt+Un*Math.pow(10,-un))*Math.pow(10,Hn*Gr)},ya={type:2},No={type:3},Vo={type:4},cs={type:13},Mo={type:8},ul={type:21},Ss={type:9},vr={type:10},On={type:11},Dn={type:12},wr={type:14},ni={type:23},li={type:1},Or={type:25},Hi={type:24},ca={type:26},uo={type:27},Wa={type:28},Ki={type:29},Na={type:31},so={type:32},rr=function(){function Ee(){this._value=[]}return Ee.prototype.write=function(be){this._value=this._value.concat(Ae(be))},Ee.prototype.read=function(){for(var be=[],De=this.consumeToken();De!==so;)be.push(De),De=this.consumeToken();return be},Ee.prototype.consumeToken=function(){var be=this.consumeCodePoint();switch(be){case _i:return this.consumeStringToken(_i);case ji:var De=this.peekCodePoint(0),Ie=this.peekCodePoint(1),yt=this.peekCodePoint(2);if(Er(De)||ha(Ie,yt)){var zt=Ia(De,Ie,yt)?lr:_n,un=this.consumeName();return{type:5,value:un,flags:zt}}break;case Mi:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),cs;break;case Jr:return this.consumeStringToken(Jr);case ra:return ya;case vn:return No;case ta:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),wr;break;case ui:if(va(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case za:return Vo;case Ar:var Un=be,Hn=this.peekCodePoint(0),Hr=this.peekCodePoint(1);if(va(Un,Hn,Hr))return this.reconsumeCodePoint(be),this.consumeNumericToken();if(Ia(Un,Hn,Hr))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();if(Hn===Ar&&Hr===Ir)return this.consumeCodePoint(),this.consumeCodePoint(),Hi;break;case xo:if(va(be,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(be),this.consumeNumericToken();break;case Ur:if(this.peekCodePoint(0)===ta)for(this.consumeCodePoint();;){var Gr=this.consumeCodePoint();if(Gr===ta&&(Gr=this.consumeCodePoint(),Gr===Ur))return this.consumeToken();if(Gr===eo)return this.consumeToken()}break;case no:return ca;case La:return uo;case br:if(this.peekCodePoint(0)===jr&&this.peekCodePoint(1)===Ar&&this.peekCodePoint(2)===Ar)return this.consumeCodePoint(),this.consumeCodePoint(),Or;break;case Fr:var ti=this.peekCodePoint(0),Xi=this.peekCodePoint(1),ts=this.peekCodePoint(2);if(Ia(ti,Xi,ts)){var un=this.consumeName();return{type:7,value:un}}break;case si:return Wa;case ei:if(ha(be,this.peekCodePoint(0)))return this.reconsumeCodePoint(be),this.consumeIdentLikeToken();break;case bi:return Ki;case Ti:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),Mo;break;case Pa:return On;case $a:return Dn;case Ks:case Es:var io=this.peekCodePoint(0),Do=this.peekCodePoint(1);return io===ui&&(as(Do)||Do===Ka)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(be),this.consumeIdentLikeToken();case Ua:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),Ss;if(this.peekCodePoint(0)===Ua)return this.consumeCodePoint(),ul;break;case Fa:if(this.peekCodePoint(0)===gi)return this.consumeCodePoint(),vr;break;case eo:return so}return Ln(be)?(this.consumeWhiteSpace(),Na):Os(be)?(this.reconsumeCodePoint(be),this.consumeNumericToken()):In(be)?(this.reconsumeCodePoint(be),this.consumeIdentLikeToken()):{type:6,value:xe(be)}},Ee.prototype.consumeCodePoint=function(){var be=this._value.shift();return typeof be=="undefined"?-1:be},Ee.prototype.reconsumeCodePoint=function(be){this._value.unshift(be)},Ee.prototype.peekCodePoint=function(be){return be>=this._value.length?-1:this._value[be]},Ee.prototype.consumeUnicodeRangeToken=function(){for(var be=[],De=this.consumeCodePoint();as(De)&&be.length<6;)be.push(De),De=this.consumeCodePoint();for(var Ie=!1;De===Ka&&be.length<6;)be.push(De),De=this.consumeCodePoint(),Ie=!0;if(Ie){var yt=parseInt(xe.apply(void 0,be.map(function(Hn){return Hn===Ka?Lo:Hn})),16),zt=parseInt(xe.apply(void 0,be.map(function(Hn){return Hn===Ka?Fo:Hn})),16);return{type:30,start:yt,end:zt}}var un=parseInt(xe.apply(void 0,be),16);if(this.peekCodePoint(0)===Ar&&as(this.peekCodePoint(1))){this.consumeCodePoint(),De=this.consumeCodePoint();for(var Un=[];as(De)&&Un.length<6;)Un.push(De),De=this.consumeCodePoint();var zt=parseInt(xe.apply(void 0,Un),16);return{type:30,start:un,end:zt}}else return{type:30,start:un,end:un}},Ee.prototype.consumeIdentLikeToken=function(){var be=this.consumeName();return be.toLowerCase()==="url"&&this.peekCodePoint(0)===ra?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ra?(this.consumeCodePoint(),{type:19,value:be}):{type:20,value:be}},Ee.prototype.consumeUrlToken=function(){var be=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===eo)return{type:22,value:""};var De=this.peekCodePoint(0);if(De===Jr||De===_i){var Ie=this.consumeStringToken(this.consumeCodePoint());return Ie.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===eo||this.peekCodePoint(0)===vn)?(this.consumeCodePoint(),{type:22,value:Ie.value}):(this.consumeBadUrlRemnants(),ni)}for(;;){var yt=this.consumeCodePoint();if(yt===eo||yt===vn)return{type:22,value:xe.apply(void 0,be)};if(Ln(yt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===eo||this.peekCodePoint(0)===vn?(this.consumeCodePoint(),{type:22,value:xe.apply(void 0,be)}):(this.consumeBadUrlRemnants(),ni);if(yt===_i||yt===Jr||yt===ra||vi(yt))return this.consumeBadUrlRemnants(),ni;if(yt===ei)if(ha(yt,this.peekCodePoint(0)))be.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ni;else be.push(yt)}},Ee.prototype.consumeWhiteSpace=function(){for(;Ln(this.peekCodePoint(0));)this.consumeCodePoint()},Ee.prototype.consumeBadUrlRemnants=function(){for(;;){var be=this.consumeCodePoint();if(be===vn||be===eo)return;ha(be,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Ee.prototype.consumeStringSlice=function(be){for(var De=5e4,Ie="";be>0;){var yt=Math.min(De,be);Ie+=xe.apply(void 0,this._value.splice(0,yt)),be-=yt}return this._value.shift(),Ie},Ee.prototype.consumeStringToken=function(be){var De="",Ie=0;do{var yt=this._value[Ie];if(yt===eo||yt===void 0||yt===be)return De+=this.consumeStringSlice(Ie),{type:0,value:De};if(yt===Pr)return this._value.splice(0,Ie),li;if(yt===ei){var zt=this._value[Ie+1];zt!==eo&&zt!==void 0&&(zt===Pr?(De+=this.consumeStringSlice(Ie),Ie=-1,this._value.shift()):ha(yt,zt)&&(De+=this.consumeStringSlice(Ie),De+=xe(this.consumeEscapedCodePoint()),Ie=-1))}Ie++}while(!0)},Ee.prototype.consumeNumber=function(){var be=[],De=nr,Ie=this.peekCodePoint(0);for((Ie===ui||Ie===Ar)&&be.push(this.consumeCodePoint());Os(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0);var yt=this.peekCodePoint(1);if(Ie===xo&&Os(yt))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=dr;Os(this.peekCodePoint(0));)be.push(this.consumeCodePoint());Ie=this.peekCodePoint(0),yt=this.peekCodePoint(1);var zt=this.peekCodePoint(2);if((Ie===Co||Ie===jn)&&((yt===ui||yt===Ar)&&Os(zt)||Os(yt)))for(be.push(this.consumeCodePoint(),this.consumeCodePoint()),De=dr;Os(this.peekCodePoint(0));)be.push(this.consumeCodePoint());return[Ji(be),De]},Ee.prototype.consumeNumericToken=function(){var be=this.consumeNumber(),De=be[0],Ie=be[1],yt=this.peekCodePoint(0),zt=this.peekCodePoint(1),un=this.peekCodePoint(2);if(Ia(yt,zt,un)){var Un=this.consumeName();return{type:15,number:De,flags:Ie,unit:Un}}return yt===Ca?(this.consumeCodePoint(),{type:16,number:De,flags:Ie}):{type:17,number:De,flags:Ie}},Ee.prototype.consumeEscapedCodePoint=function(){var be=this.consumeCodePoint();if(as(be)){for(var De=xe(be);as(this.peekCodePoint(0))&&De.length<6;)De+=xe(this.consumeCodePoint());Ln(this.peekCodePoint(0))&&this.consumeCodePoint();var Ie=parseInt(De,16);return Ie===0||ps(Ie)||Ie>1114111?oo:Ie}return be===eo?oo:be},Ee.prototype.consumeName=function(){for(var be="";;){var De=this.consumeCodePoint();if(Er(De))be+=xe(De);else if(ha(De,this.peekCodePoint(0)))be+=xe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(De),be}},Ee}(),Kn=function(){function Ee(be){this._tokens=be}return Ee.create=function(be){var De=new rr;return De.write(be),new Ee(De.read())},Ee.parseValue=function(be){return Ee.create(be).parseComponentValue()},Ee.parseValues=function(be){return Ee.create(be).parseComponentValues()},Ee.prototype.parseComponentValue=function(){for(var be=this.consumeToken();be.type===31;)be=this.consumeToken();if(be.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(be);var De=this.consumeComponentValue();do be=this.consumeToken();while(be.type===31);if(be.type===32)return De;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Ee.prototype.parseComponentValues=function(){for(var be=[];;){var De=this.consumeComponentValue();if(De.type===32)return be;be.push(De),be.push()}},Ee.prototype.consumeComponentValue=function(){var be=this.consumeToken();switch(be.type){case 11:case 28:case 2:return this.consumeSimpleBlock(be.type);case 19:return this.consumeFunction(be)}return be},Ee.prototype.consumeSimpleBlock=function(be){for(var De={type:be,values:[]},Ie=this.consumeToken();;){if(Ie.type===32||Fu(Ie,be))return De;this.reconsumeToken(Ie),De.values.push(this.consumeComponentValue()),Ie=this.consumeToken()}},Ee.prototype.consumeFunction=function(be){for(var De={name:be.value,values:[],type:18};;){var Ie=this.consumeToken();if(Ie.type===32||Ie.type===3)return De;this.reconsumeToken(Ie),De.values.push(this.consumeComponentValue())}},Ee.prototype.consumeToken=function(){var be=this._tokens.shift();return typeof be=="undefined"?so:be},Ee.prototype.reconsumeToken=function(be){this._tokens.unshift(be)},Ee}(),Ja=function(Ee){return Ee.type===15},pa=function(Ee){return Ee.type===17},ka=function(Ee){return Ee.type===20},ss=function(Ee){return Ee.type===0},qs=function(Ee,be){return ka(Ee)&&Ee.value===be},tl=function(Ee){return Ee.type!==31},eu=function(Ee){return Ee.type!==31&&Ee.type!==4},nu=function(Ee){var be=[],De=[];return Ee.forEach(function(Ie){if(Ie.type===4){if(De.length===0)throw new Error("Error parsing function args, zero tokens for arg");be.push(De),De=[];return}Ie.type!==31&&De.push(Ie)}),De.length&&be.push(De),be},Fu=function(Ee,be){return be===11&&Ee.type===12||be===28&&Ee.type===29?!0:be===2&&Ee.type===3},wl=function(Ee){return Ee.type===17||Ee.type===15},Vl=function(Ee){return Ee.type===16||wl(Ee)},Io=function(Ee){return Ee.length>1?[Ee[0],Ee[1]]:[Ee[0]]},Xo={type:17,number:0,flags:nr},Pl={type:16,number:50,flags:nr},Tl={type:16,number:100,flags:nr},ml=function(Ee,be,De){var Ie=Ee[0],yt=Ee[1];return[Wo(Ie,be),Wo(typeof yt!="undefined"?yt:Ie,De)]},Wo=function(Ee,be){if(Ee.type===16)return Ee.number/100*be;if(Ja(Ee))switch(Ee.unit){case"rem":case"em":return 16*Ee.number;case"px":default:return Ee.number}return Ee.number},js="deg",zu="grad",mc="rad",cl="turn",ys={name:"angle",parse:function(Ee,be){if(be.type===15)switch(be.unit){case js:return Math.PI*be.number/180;case zu:return Math.PI/200*be.number;case mc:return be.number;case cl:return Math.PI*2*be.number}throw new Error("Unsupported angle type")}},bs=function(Ee){return Ee.type===15&&(Ee.unit===js||Ee.unit===zu||Ee.unit===mc||Ee.unit===cl)},Xl=function(Ee){var be=Ee.filter(ka).map(function(De){return De.value}).join(" ");switch(be){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xo,Xo];case"to top":case"bottom":return gl(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xo,Tl];case"to right":case"left":return gl(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Tl,Tl];case"to bottom":case"top":return gl(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Tl,Xo];case"to left":case"right":return gl(270)}return 0},gl=function(Ee){return Math.PI*Ee/180},kl={name:"color",parse:function(Ee,be){if(be.type===18){var De=qu[be.name];if(typeof De=="undefined")throw new Error('Attempting to parse an unsupported color function "'+be.name+'"');return De(Ee,be.values)}if(be.type===5){if(be.value.length===3){var Ie=be.value.substring(0,1),yt=be.value.substring(1,2),zt=be.value.substring(2,3);return Gl(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(zt+zt,16),1)}if(be.value.length===4){var Ie=be.value.substring(0,1),yt=be.value.substring(1,2),zt=be.value.substring(2,3),un=be.value.substring(3,4);return Gl(parseInt(Ie+Ie,16),parseInt(yt+yt,16),parseInt(zt+zt,16),parseInt(un+un,16)/255)}if(be.value.length===6){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),zt=be.value.substring(4,6);return Gl(parseInt(Ie,16),parseInt(yt,16),parseInt(zt,16),1)}if(be.value.length===8){var Ie=be.value.substring(0,2),yt=be.value.substring(2,4),zt=be.value.substring(4,6),un=be.value.substring(6,8);return Gl(parseInt(Ie,16),parseInt(yt,16),parseInt(zt,16),parseInt(un,16)/255)}}if(be.type===20){var Un=Cu[be.value.toUpperCase()];if(typeof Un!="undefined")return Un}return Cu.TRANSPARENT}},vl=function(Ee){return(255&Ee)===0},Vs=function(Ee){var be=255&Ee,De=255&Ee>>8,Ie=255&Ee>>16,yt=255&Ee>>24;return be<255?"rgba("+yt+","+Ie+","+De+","+be/255+")":"rgb("+yt+","+Ie+","+De+")"},Gl=function(Ee,be,De,Ie){return(Ee<<24|be<<16|De<<8|Math.round(Ie*255)<<0)>>>0},ic=function(Ee,be){if(Ee.type===17)return Ee.number;if(Ee.type===16){var De=be===3?1:255;return be===3?Ee.number/100*De:Math.round(Ee.number/100*De)}return 0},Xc=function(Ee,be){var De=be.filter(eu);if(De.length===3){var Ie=De.map(ic),yt=Ie[0],zt=Ie[1],un=Ie[2];return Gl(yt,zt,un,1)}if(De.length===4){var Un=De.map(ic),yt=Un[0],zt=Un[1],un=Un[2],Hn=Un[3];return Gl(yt,zt,un,Hn)}return 0};function Jl(Ee,be,De){return De<0&&(De+=1),De>=1&&(De-=1),De<1/6?(be-Ee)*De*6+Ee:De<1/2?be:De<2/3?(be-Ee)*6*(2/3-De)+Ee:Ee}var ku=function(Ee,be){var De=be.filter(eu),Ie=De[0],yt=De[1],zt=De[2],un=De[3],Un=(Ie.type===17?gl(Ie.number):ys.parse(Ee,Ie))/(Math.PI*2),Hn=Vl(yt)?yt.number/100:0,Hr=Vl(zt)?zt.number/100:0,Gr=typeof un!="undefined"&&Vl(un)?Wo(un,1):1;if(Hn===0)return Gl(Hr*255,Hr*255,Hr*255,1);var ti=Hr<=.5?Hr*(Hn+1):Hr+Hn-Hr*Hn,Xi=Hr*2-ti,ts=Jl(Xi,ti,Un+1/3),io=Jl(Xi,ti,Un),Do=Jl(Xi,ti,Un-1/3);return Gl(ts*255,io*255,Do*255,Gr)},qu={hsl:ku,hsla:ku,rgb:Xc,rgba:Xc},Hc=function(Ee,be){return kl.parse(Ee,Kn.create(be).parseComponentValue())},Cu={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},nA={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(ka(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},kd={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gd=function(Ee,be){var De=kl.parse(Ee,be[0]),Ie=be[1];return Ie&&Vl(Ie)?{color:De,stop:Ie}:{color:De,stop:null}},uf=function(Ee,be){var De=Ee[0],Ie=Ee[Ee.length-1];De.stop===null&&(De.stop=Xo),Ie.stop===null&&(Ie.stop=Tl);for(var yt=[],zt=0,un=0;unzt?yt.push(Hn):yt.push(zt),zt=Hn}else yt.push(null)}for(var Hr=null,un=0;unun.optimumDistance)?{optimumCorner:Un,optimumDistance:Gr}:un},{optimumDistance:yt?1/0:-1/0,optimumCorner:null}).optimumCorner},ki=function(Ee,be,De,Ie,yt){var zt=0,un=0;switch(Ee.size){case 0:Ee.shape===0?zt=un=Math.min(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(zt=Math.min(Math.abs(be),Math.abs(be-Ie)),un=Math.min(Math.abs(De),Math.abs(De-yt)));break;case 2:if(Ee.shape===0)zt=un=Math.min(lc(be,De),lc(be,De-yt),lc(be-Ie,De),lc(be-Ie,De-yt));else if(Ee.shape===1){var Un=Math.min(Math.abs(De),Math.abs(De-yt))/Math.min(Math.abs(be),Math.abs(be-Ie)),Hn=_d(Ie,yt,be,De,!0),Hr=Hn[0],Gr=Hn[1];zt=lc(Hr-be,(Gr-De)/Un),un=Un*zt}break;case 1:Ee.shape===0?zt=un=Math.max(Math.abs(be),Math.abs(be-Ie),Math.abs(De),Math.abs(De-yt)):Ee.shape===1&&(zt=Math.max(Math.abs(be),Math.abs(be-Ie)),un=Math.max(Math.abs(De),Math.abs(De-yt)));break;case 3:if(Ee.shape===0)zt=un=Math.max(lc(be,De),lc(be,De-yt),lc(be-Ie,De),lc(be-Ie,De-yt));else if(Ee.shape===1){var Un=Math.max(Math.abs(De),Math.abs(De-yt))/Math.max(Math.abs(be),Math.abs(be-Ie)),ti=_d(Ie,yt,be,De,!1),Hr=ti[0],Gr=ti[1];zt=lc(Hr-be,(Gr-De)/Un),un=Un*zt}break}return Array.isArray(Ee.size)&&(zt=Wo(Ee.size[0],Ie),un=Ee.size.length===2?Wo(Ee.size[1],yt):zt),[zt,un]},lo=function(Ee,be){var De=gl(180),Ie=[];return nu(be).forEach(function(yt,zt){if(zt===0){var un=yt[0];if(un.type===20&&un.value==="to"){De=Xl(yt);return}else if(bs(un)){De=ys.parse(Ee,un);return}}var Un=gd(Ee,yt);Ie.push(Un)}),{angle:De,stops:Ie,type:1}},fi=function(Ee,be){var De=gl(180),Ie=[];return nu(be).forEach(function(yt,zt){if(zt===0){var un=yt[0];if(un.type===20&&["top","left","right","bottom"].indexOf(un.value)!==-1){De=Xl(yt);return}else if(bs(un)){De=(ys.parse(Ee,un)+gl(270))%gl(360);return}}var Un=gd(Ee,yt);Ie.push(Un)}),{angle:De,stops:Ie,type:1}},To=function(Ee,be){var De=gl(180),Ie=[],yt=1,zt=0,un=3,Un=[];return nu(be).forEach(function(Hn,Hr){var Gr=Hn[0];if(Hr===0){if(ka(Gr)&&Gr.value==="linear"){yt=1;return}else if(ka(Gr)&&Gr.value==="radial"){yt=2;return}}if(Gr.type===18){if(Gr.name==="from"){var ti=kl.parse(Ee,Gr.values[0]);Ie.push({stop:Xo,color:ti})}else if(Gr.name==="to"){var ti=kl.parse(Ee,Gr.values[0]);Ie.push({stop:Tl,color:ti})}else if(Gr.name==="color-stop"){var Xi=Gr.values.filter(eu);if(Xi.length===2){var ti=kl.parse(Ee,Xi[1]),ts=Xi[0];pa(ts)&&Ie.push({stop:{type:16,number:ts.number*100,flags:ts.flags},color:ti})}}}}),yt===1?{angle:(De+gl(180))%gl(360),stops:Ie,type:yt}:{size:un,shape:zt,stops:Ie,position:Un,type:yt}},ds="closest-side",mu="farthest-side",gu="closest-corner",_l="farthest-corner",Bc="circle",Lc="ellipse",Sc="cover",dl="contain",Gs=function(Ee,be){var De=0,Ie=3,yt=[],zt=[];return nu(be).forEach(function(un,Un){var Hn=!0;if(Un===0){var Hr=!1;Hn=un.reduce(function(ti,Xi){if(Hr)if(ka(Xi))switch(Xi.value){case"center":return zt.push(Pl),ti;case"top":case"left":return zt.push(Xo),ti;case"right":case"bottom":return zt.push(Tl),ti}else(Vl(Xi)||wl(Xi))&&zt.push(Xi);else if(ka(Xi))switch(Xi.value){case Bc:return De=0,!1;case Lc:return De=1,!1;case"at":return Hr=!0,!1;case ds:return Ie=0,!1;case Sc:case mu:return Ie=1,!1;case dl:case gu:return Ie=2,!1;case _l:return Ie=3,!1}else if(wl(Xi)||Vl(Xi))return Array.isArray(Ie)||(Ie=[]),Ie.push(Xi),!1;return ti},Hn)}if(Hn){var Gr=gd(Ee,un);yt.push(Gr)}}),{size:Ie,shape:De,stops:yt,position:zt,type:2}},Ms=function(Ee,be){var De=0,Ie=3,yt=[],zt=[];return nu(be).forEach(function(un,Un){var Hn=!0;if(Un===0?Hn=un.reduce(function(Gr,ti){if(ka(ti))switch(ti.value){case"center":return zt.push(Pl),!1;case"top":case"left":return zt.push(Xo),!1;case"right":case"bottom":return zt.push(Tl),!1}else if(Vl(ti)||wl(ti))return zt.push(ti),!1;return Gr},Hn):Un===1&&(Hn=un.reduce(function(Gr,ti){if(ka(ti))switch(ti.value){case Bc:return De=0,!1;case Lc:return De=1,!1;case dl:case ds:return Ie=0,!1;case mu:return Ie=1,!1;case gu:return Ie=2,!1;case Sc:case _l:return Ie=3,!1}else if(wl(ti)||Vl(ti))return Array.isArray(Ie)||(Ie=[]),Ie.push(ti),!1;return Gr},Hn)),Hn){var Hr=gd(Ee,un);yt.push(Hr)}}),{size:Ie,shape:De,stops:yt,position:zt,type:2}},Wu=function(Ee){return Ee.type===1},gc=function(Ee){return Ee.type===2},Zu={name:"image",parse:function(Ee,be){if(be.type===22){var De={url:be.value,type:0};return Ee.cache.addImage(be.value),De}if(be.type===18){var Ie=vd[be.name];if(typeof Ie=="undefined")throw new Error('Attempting to parse an unsupported image function "'+be.name+'"');return Ie(Ee,be.values)}throw new Error("Unsupported image type "+be.type)}};function vc(Ee){return!(Ee.type===20&&Ee.value==="none")&&(Ee.type!==18||!!vd[Ee.name])}var vd={"linear-gradient":lo,"-moz-linear-gradient":fi,"-ms-linear-gradient":fi,"-o-linear-gradient":fi,"-webkit-linear-gradient":fi,"radial-gradient":Gs,"-moz-radial-gradient":Ms,"-ms-radial-gradient":Ms,"-o-radial-gradient":Ms,"-webkit-radial-gradient":Ms,"-webkit-gradient":To},cd={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){if(be.length===0)return[];var De=be[0];return De.type===20&&De.value==="none"?[]:be.filter(function(Ie){return eu(Ie)&&vc(Ie)}).map(function(Ie){return Zu.parse(Ee,Ie)})}},ac={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Ee,be){return be.map(function(De){if(ka(De))switch(De.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Dc={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Ee,be){return nu(be).map(function(De){return De.filter(Vl)}).map(Io)}},Nu={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Ee,be){return nu(be).map(function(De){return De.filter(ka).map(function(Ie){return Ie.value}).join(" ")}).map(Ec)}},Ec=function(Ee){switch(Ee){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},$u;(function(Ee){Ee.AUTO="auto",Ee.CONTAIN="contain",Ee.COVER="cover"})($u||($u={}));var Pu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Ee,be){return nu(be).map(function(De){return De.filter(Oc)})}},Oc=function(Ee){return ka(Ee)||Vl(Ee)},yd=function(Ee){return{name:"border-"+Ee+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},nh=yd("top"),KA=yd("right"),Bh=yd("bottom"),rA=yd("left"),zA=function(Ee){return{name:"border-radius-"+Ee,initialValue:"0 0",prefix:!1,type:1,parse:function(be,De){return Io(De.filter(Vl))}}},am=zA("top-left"),mA=zA("top-right"),Vd=zA("bottom-right"),Jc=zA("bottom-left"),ru=function(Ee){return{name:"border-"+Ee+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(be,De){switch(De){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},iA=ru("top"),gf=ru("right"),WA=ru("bottom"),nd=ru("left"),gA=function(Ee){return{name:"border-"+Ee+"-width",initialValue:"0",type:0,prefix:!1,parse:function(be,De){return Ja(De)?De.number:0}}},rh=gA("top"),vf=gA("right"),k0=gA("bottom"),np=gA("left"),uc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},aA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"rtl":return 1;case"ltr":default:return 0}}},rp={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Ee,be){return be.filter(ka).reduce(function(De,Ie){return De|Ot(Ie.value)},0)}},Ot=function(Ee){switch(Ee){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Rt={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},fn={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Ee,be){return be.type===20&&be.value==="normal"?0:be.type===17||be.type===15?be.number:0}},En;(function(Ee){Ee.NORMAL="normal",Ee.STRICT="strict"})(En||(En={}));var Jn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"strict":return En.STRICT;case"normal":default:return En.NORMAL}}},Rn={name:"line-height",initialValue:"normal",prefix:!1,type:4},mr=function(Ee,be){return ka(Ee)&&Ee.value==="normal"?1.2*be:Ee.type===17?be*Ee.number:Vl(Ee)?Wo(Ee,be):be},hr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Ee,be){return be.type===20&&be.value==="none"?null:Zu.parse(Ee,be)}},cr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"inside":return 0;case"outside":default:return 1}}},Zr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},hi=function(Ee){return{name:"margin-"+Ee,initialValue:"0",prefix:!1,type:4}},$r=hi("top"),Yi=hi("right"),Ri=hi("bottom"),zi=hi("left"),Za={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Ee,be){return be.filter(ka).map(function(De){switch(De.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},_a={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ra=function(Ee){return{name:"padding-"+Ee,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Da=Ra("top"),ro=Ra("right"),Qo=Ra("bottom"),Jo=Ra("left"),ko={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ls={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(Ee,be){switch(be){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Fs={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Ee,be){return be.length===1&&qs(be[0],"none")?[]:nu(be).map(function(De){for(var Ie={color:Cu.TRANSPARENT,offsetX:Xo,offsetY:Xo,blur:Xo},yt=0,zt=0;zt1?1:0],this.overflowWrap=to(be,_a,De.overflowWrap),this.paddingTop=to(be,Da,De.paddingTop),this.paddingRight=to(be,ro,De.paddingRight),this.paddingBottom=to(be,Qo,De.paddingBottom),this.paddingLeft=to(be,Jo,De.paddingLeft),this.paintOrder=to(be,Al,De.paintOrder),this.position=to(be,ls,De.position),this.textAlign=to(be,ko,De.textAlign),this.textDecorationColor=to(be,Su,(Ie=De.textDecorationColor)!==null&&Ie!==void 0?Ie:De.color),this.textDecorationLine=to(be,ks,(yt=De.textDecorationLine)!==null&&yt!==void 0?yt:De.textDecoration),this.textShadow=to(be,Fs,De.textShadow),this.textTransform=to(be,Ao,De.textTransform),this.transform=to(be,Po,De.transform),this.transformOrigin=to(be,rs,De.transformOrigin),this.visibility=to(be,Ga,De.visibility),this.webkitTextStrokeColor=to(be,qc,De.webkitTextStrokeColor),this.webkitTextStrokeWidth=to(be,Vu,De.webkitTextStrokeWidth),this.wordBreak=to(be,Is,De.wordBreak),this.zIndex=to(be,Rl,De.zIndex)}return Ee.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Ee.prototype.isTransparent=function(){return vl(this.backgroundColor)},Ee.prototype.isTransformed=function(){return this.transform!==null},Ee.prototype.isPositioned=function(){return this.position!==0},Ee.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Ee.prototype.isFloating=function(){return this.float!==0},Ee.prototype.isInlineLevel=function(){return So(this.display,4)||So(this.display,33554432)||So(this.display,268435456)||So(this.display,536870912)||So(this.display,67108864)||So(this.display,134217728)},Ee}(),ec=function(){function Ee(be,De){this.content=to(be,$o,De.content),this.quotes=to(be,jo,De.quotes)}return Ee}(),Td=function(){function Ee(be,De){this.counterIncrement=to(be,es,De.counterIncrement),this.counterReset=to(be,Ro,De.counterReset)}return Ee}(),to=function(Ee,be,De){var Ie=new rr,yt=De!==null&&typeof De!="undefined"?De.toString():be.initialValue;Ie.write(yt);var zt=new Kn(Ie.read());switch(be.type){case 2:var un=zt.parseComponentValue();return be.parse(Ee,ka(un)?un.value:be.initialValue);case 0:return be.parse(Ee,zt.parseComponentValue());case 1:return be.parse(Ee,zt.parseComponentValues());case 4:return zt.parseComponentValue();case 3:switch(be.format){case"angle":return ys.parse(Ee,zt.parseComponentValue());case"color":return kl.parse(Ee,zt.parseComponentValue());case"image":return Zu.parse(Ee,zt.parseComponentValue());case"length":var Un=zt.parseComponentValue();return wl(Un)?Un:Xo;case"length-percentage":var Hn=zt.parseComponentValue();return Vl(Hn)?Hn:Xo;case"time":return Ml.parse(Ee,zt.parseComponentValue())}break}},Nc="data-html2canvas-debug",ZA=function(Ee){var be=Ee.getAttribute(Nc);switch(be){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},bl=function(Ee,be){var De=ZA(Ee);return De===1||be===De},aa=function(){function Ee(be,De){if(this.context=be,this.textNodes=[],this.elements=[],this.flags=0,bl(De,3))debugger;this.styles=new Pd(be,window.getComputedStyle(De,null)),N0(De)&&(this.styles.animationDuration.some(function(Ie){return Ie>0})&&(De.style.animationDuration="0s"),this.styles.transform!==null&&(De.style.transform="none")),this.bounds=Le(this.context,De),bl(De,4)&&(this.flags|=16)}return Ee}(),Ql="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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AIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",yc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_u=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),fs=0;fs>4,Gr[yt++]=(un&15)<<4|Un>>2,Gr[yt++]=(Un&3)<<6|Hn&63;return Hr},Pc=function(Ee){for(var be=Ee.length,De=[],Ie=0;Ie>bd,Yu=1<>bd,Tu=Qc+Iu,rd=Tu,oA=32,Rd=rd+oA,yA=65536>>Tc,VA=1<=0){if(be<55296||be>56319&&be<=65535)return De=this.index[be>>bd],De=(De<>bd)],De=(De<>Tc),De=this.index[De],De+=be>>bd&Sh,De=this.index[De],De=(De<=55296&&yt<=56319&&De>10)+55296,un%1024+56320)),(yt+1===De||Ie.length>16384)&&(zt+=String.fromCharCode.apply(String,Ie),Ie.length=0)}return zt},yf=kc(Ql),Li="\xD7",oh="\xF7",Fh=function(Ee){return yf.get(Ee)},t0=function(Ee,be,De){var Ie=De-2,yt=be[Ie],zt=be[De-1],un=be[De];if(zt===ih&&un===wA)return Li;if(zt===ih||zt===wA||zt===xA||un===ih||un===wA||un===xA)return oh;if(zt===sA&&[sA,CA,$h,cc].indexOf(un)!==-1||(zt===$h||zt===CA)&&(un===CA||un===id)||(zt===cc||zt===id)&&un===id||un===Eh||un===fl||un===Ru||zt===bA)return Li;if(zt===Eh&&un===e0){for(;yt===fl;)yt=be[--Ie];if(yt===e0)return Li}if(zt===If&&un===If){for(var Un=0;yt===If;)Un++,yt=be[--Ie];if(Un%2===0)return Li}return oh},BA=function(Ee){var be=ah(Ee),De=be.length,Ie=0,yt=0,zt=be.map(Fh);return{next:function(){if(Ie>=De)return{done:!0,value:null};for(var un=Li;Ieun.x||Gr.y>un.y;return un=Gr,Hr===0?!0:ti});return Ee.body.removeChild(be),Un},Lu=function(){return typeof new Image().crossOrigin!="undefined"},wf=function(){return typeof new XMLHttpRequest().responseType=="string"},kh=function(Ee){var be=new Image,De=Ee.createElement("canvas"),Ie=De.getContext("2d");if(!Ie)return!1;be.src="data:image/svg+xml,";try{Ie.drawImage(be,0,0),De.toDataURL()}catch(yt){return!1}return!0},SA=function(Ee){return Ee[0]===0&&Ee[1]===255&&Ee[2]===0&&Ee[3]===255},lh=function(Ee){var be=Ee.createElement("canvas"),De=100;be.width=De,be.height=De;var Ie=be.getContext("2d");if(!Ie)return Promise.reject(!1);Ie.fillStyle="rgb(0, 255, 0)",Ie.fillRect(0,0,De,De);var yt=new Image,zt=be.toDataURL();yt.src=zt;var un=EA(De,De,0,0,yt);return Ie.fillStyle="red",Ie.fillRect(0,0,De,De),GA(un).then(function(Un){Ie.drawImage(Un,0,0);var Hn=Ie.getImageData(0,0,De,De).data;Ie.fillStyle="red",Ie.fillRect(0,0,De,De);var Hr=Ee.createElement("div");return Hr.style.backgroundImage="url("+zt+")",Hr.style.height=De+"px",SA(Hn)?GA(EA(De,De,0,0,Hr)):Promise.reject(!1)}).then(function(Un){return Ie.drawImage(Un,0,0),SA(Ie.getImageData(0,0,De,De).data)}).catch(function(){return!1})},EA=function(Ee,be,De,Ie,yt){var zt="http://www.w3.org/2000/svg",un=document.createElementNS(zt,"svg"),Un=document.createElementNS(zt,"foreignObject");return un.setAttributeNS(null,"width",Ee.toString()),un.setAttributeNS(null,"height",be.toString()),Un.setAttributeNS(null,"width","100%"),Un.setAttributeNS(null,"height","100%"),Un.setAttributeNS(null,"x",De.toString()),Un.setAttributeNS(null,"y",Ie.toString()),Un.setAttributeNS(null,"externalResourcesRequired","true"),un.appendChild(Un),Un.appendChild(yt),un},GA=function(Ee){return new Promise(function(be,De){var Ie=new Image;Ie.onload=function(){return be(Ie)},Ie.onerror=De,Ie.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Ee))})},Au={get SUPPORT_RANGE_BOUNDS(){var Ee=sh(document);return Object.defineProperty(Au,"SUPPORT_RANGE_BOUNDS",{value:Ee}),Ee},get SUPPORT_WORD_BREAKING(){var Ee=Au.SUPPORT_RANGE_BOUNDS&&bf(document);return Object.defineProperty(Au,"SUPPORT_WORD_BREAKING",{value:Ee}),Ee},get SUPPORT_SVG_DRAWING(){var Ee=kh(document);return Object.defineProperty(Au,"SUPPORT_SVG_DRAWING",{value:Ee}),Ee},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Ee=typeof Array.from=="function"&&typeof window.fetch=="function"?lh(document):Promise.resolve(!1);return Object.defineProperty(Au,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Ee}),Ee},get SUPPORT_CORS_IMAGES(){var Ee=Lu();return Object.defineProperty(Au,"SUPPORT_CORS_IMAGES",{value:Ee}),Ee},get SUPPORT_RESPONSE_TYPE(){var Ee=wf();return Object.defineProperty(Au,"SUPPORT_RESPONSE_TYPE",{value:Ee}),Ee},get SUPPORT_CORS_XHR(){var Ee="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Au,"SUPPORT_CORS_XHR",{value:Ee}),Ee},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Ee=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Au,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Ee}),Ee}},$c=function(){function Ee(be,De){this.text=be,this.bounds=De}return Ee}(),jc=function(Ee,be,De,Ie){var yt=XA(be,De),zt=[],un=0;return yt.forEach(function(Un){if(De.textDecorationLine.length||Un.trim().length>0)if(Au.SUPPORT_RANGE_BOUNDS){var Hn=Cl(Ie,un,Un.length).getClientRects();if(Hn.length>1){var Hr=jl(Un),Gr=0;Hr.forEach(function(Xi){zt.push(new $c(Xi,Oe.fromDOMRectList(Ee,Cl(Ie,Gr+un,Xi.length).getClientRects()))),Gr+=Xi.length})}else zt.push(new $c(Un,Oe.fromDOMRectList(Ee,Hn)))}else{var ti=Ie.splitText(Un.length);zt.push(new $c(Un,YA(Ee,Ie))),Ie=ti}else Au.SUPPORT_RANGE_BOUNDS||(Ie=Ie.splitText(Un.length));un+=Un.length}),zt},YA=function(Ee,be){var De=be.ownerDocument;if(De){var Ie=De.createElement("html2canvaswrapper");Ie.appendChild(be.cloneNode(!0));var yt=be.parentNode;if(yt){yt.replaceChild(Ie,be);var zt=Le(Ee,Ie);return Ie.firstChild&&yt.replaceChild(Ie.firstChild,Ie),zt}}return Oe.EMPTY},Cl=function(Ee,be,De){var Ie=Ee.ownerDocument;if(!Ie)throw new Error("Node has no owner document");var yt=Ie.createRange();return yt.setStart(Ee,be),yt.setEnd(Ee,be+De),yt},jl=function(Ee){if(Au.SUPPORT_NATIVE_TEXT_SEGMENTATION){var be=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(be.segment(Ee)).map(function(De){return De.segment})}return Df(Ee)},wd=function(Ee,be){if(Au.SUPPORT_NATIVE_TEXT_SEGMENTATION){var De=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(De.segment(Ee)).map(function(Ie){return Ie.segment})}return _0(Ee,be)},XA=function(Ee,be){return be.letterSpacing!==0?jl(Ee):wd(Ee,be)},JA=[32,160,4961,65792,65793,4153,4241],_0=function(Ee,be){for(var De=on(Ee,{lineBreak:be.lineBreak,wordBreak:be.overflowWrap==="break-word"?"break-word":be.wordBreak}),Ie=[],yt,zt=function(){if(yt.value){var un=yt.value.slice(),Un=Ae(un),Hn="";Un.forEach(function(Hr){JA.indexOf(Hr)===-1?Hn+=xe(Hr):(Hn.length&&Ie.push(Hn),Ie.push(xe(Hr)),Hn="")}),Hn.length&&Ie.push(Hn)}};!(yt=De.next()).done;)zt();return Ie},Mc=function(){function Ee(be,De,Ie){this.text=FA(De.data,Ie.textTransform),this.textBounds=jc(be,this.text,Ie,De)}return Ee}(),FA=function(Ee,be){switch(be){case 1:return Ee.toLowerCase();case 3:return Ee.replace(M0,xf);case 2:return Ee.toUpperCase();default:return Ee}},M0=/(^|\s|:|-|\(|\))([a-z])/g,xf=function(Ee,be,De){return Ee.length>0?be+De.toUpperCase():Ee},I0=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.src=Ie.currentSrc||Ie.src,yt.intrinsicWidth=Ie.naturalWidth,yt.intrinsicHeight=Ie.naturalHeight,yt.context.cache.addImage(yt.src),yt}return be}(aa),Kl=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.canvas=Ie,yt.intrinsicWidth=Ie.width,yt.intrinsicHeight=Ie.height,yt}return be}(aa),_h=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this,zt=new XMLSerializer,un=Le(De,Ie);return Ie.setAttribute("width",un.width+"px"),Ie.setAttribute("height",un.height+"px"),yt.svg="data:image/svg+xml,"+encodeURIComponent(zt.serializeToString(Ie)),yt.intrinsicWidth=Ie.width.baseVal.value,yt.intrinsicHeight=Ie.height.baseVal.value,yt.context.cache.addImage(yt.svg),yt}return be}(aa),Cf=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.value=Ie.value,yt}return be}(aa),Mh=function(Ee){de(be,Ee);function be(De,Ie){var yt=Ee.call(this,De,Ie)||this;return yt.start=Ie.start,yt.reversed=typeof Ie.reversed=="boolean"&&Ie.reversed===!0,yt}return be}(aa),Ei=[{type:15,flags:0,unit:"px",number:3}],om=[{type:16,flags:0,number:50}],sm=function(Ee){return Ee.width>Ee.height?new Oe(Ee.left+(Ee.width-Ee.height)/2,Ee.top,Ee.height,Ee.height):Ee.width0)De.textNodes.push(new Mc(Ee,yt,De.styles));else if(Lh(yt))if(Oh(yt)&&yt.assignedNodes)yt.assignedNodes().forEach(function(Un){return Ih(Ee,Un,De,Ie)});else{var un=op(Ee,yt);un.styles.isVisible()&&(O0(yt,un,Ie)?un.flags|=4:Ud(un.styles)&&(un.flags|=2),D0.indexOf(yt.tagName)!==-1&&(un.flags|=8),De.elements.push(un),yt.slot,yt.shadowRoot?Ih(Ee,yt.shadowRoot,un,Ie):!Dh(yt)&&!Bp(yt)&&!i0(yt)&&Ih(Ee,yt,un,Ie))}},op=function(Ee,be){return IA(be)?new I0(Ee,be):um(be)?new Kl(Ee,be):Bp(be)?new _h(Ee,be):lm(be)?new Cf(Ee,be):sp(be)?new Mh(Ee,be):Hm(be)?new ed(Ee,be):i0(be)?new Nf(Ee,be):Dh(be)?new r0(Ee,be):$A(be)?new L0(Ee,be):new aa(Ee,be)},Cp=function(Ee,be){var De=op(Ee,be);return De.flags|=4,Ih(Ee,be,De,De),De},O0=function(Ee,be,De){return be.styles.isPositionedWithZIndex()||be.styles.opacity<1||be.styles.isTransformed()||Us(Ee)&&De.styles.isTransparent()},Ud=function(Ee){return Ee.isPositioned()||Ee.isFloating()},Pf=function(Ee){return Ee.nodeType===Node.TEXT_NODE},Lh=function(Ee){return Ee.nodeType===Node.ELEMENT_NODE},N0=function(Ee){return Lh(Ee)&&typeof Ee.style!="undefined"&&!cf(Ee)},cf=function(Ee){return typeof Ee.className=="object"},lm=function(Ee){return Ee.tagName==="LI"},sp=function(Ee){return Ee.tagName==="OL"},Hm=function(Ee){return Ee.tagName==="INPUT"},Qm=function(Ee){return Ee.tagName==="HTML"},Bp=function(Ee){return Ee.tagName==="svg"},Us=function(Ee){return Ee.tagName==="BODY"},um=function(Ee){return Ee.tagName==="CANVAS"},lp=function(Ee){return Ee.tagName==="VIDEO"},IA=function(Ee){return Ee.tagName==="IMG"},$A=function(Ee){return Ee.tagName==="IFRAME"},Tf=function(Ee){return Ee.tagName==="STYLE"},P0=function(Ee){return Ee.tagName==="SCRIPT"},Dh=function(Ee){return Ee.tagName==="TEXTAREA"},i0=function(Ee){return Ee.tagName==="SELECT"},Oh=function(Ee){return Ee.tagName==="SLOT"},Sp=function(Ee){return Ee.tagName.indexOf("-")>0},cm=function(){function Ee(){this.counters={}}return Ee.prototype.getCounterValue=function(be){var De=this.counters[be];return De&&De.length?De[De.length-1]:1},Ee.prototype.getCounterValues=function(be){var De=this.counters[be];return De||[]},Ee.prototype.pop=function(be){var De=this;be.forEach(function(Ie){return De.counters[Ie].pop()})},Ee.prototype.parse=function(be){var De=this,Ie=be.counterIncrement,yt=be.counterReset,zt=!0;Ie!==null&&Ie.forEach(function(Un){var Hn=De.counters[Un.counter];Hn&&Un.increment!==0&&(zt=!1,Hn.length||Hn.push(1),Hn[Math.max(0,Hn.length-1)]+=Un.increment)});var un=[];return zt&&yt.forEach(function(Un){var Hn=De.counters[Un.counter];un.push(Un.counter),Hn||(Hn=De.counters[Un.counter]=[]),Hn.push(Un.reset)}),un},Ee}(),T0={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},a0={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},dm={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Uu={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},uh=function(Ee,be,De,Ie,yt,zt){return EeDe?ue(Ee,yt,zt.length>0):Ie.integers.reduce(function(un,Un,Hn){for(;Ee>=Un;)Ee-=Un,un+=Ie.values[Hn];return un},"")+zt},jm=function(Ee,be,De,Ie){var yt="";do De||Ee--,yt=Ie(Ee)+yt,Ee/=be;while(Ee*be>=be);return yt},dc=function(Ee,be,De,Ie,yt){var zt=De-be+1;return(Ee<0?"-":"")+(jm(Math.abs(Ee),zt,Ie,function(un){return xe(Math.floor(un%zt)+be)})+yt)},ch=function(Ee,be,De){De===void 0&&(De=". ");var Ie=be.length;return jm(Math.abs(Ee),Ie,!1,function(yt){return be[Math.floor(yt%Ie)]})+De},Bf=1,Rf=2,ou=4,df=8,kA=function(Ee,be,De,Ie,yt,zt){if(Ee<-9999||Ee>9999)return ue(Ee,4,yt.length>0);var un=Math.abs(Ee),Un=yt;if(un===0)return be[0]+Un;for(var Hn=0;un>0&&Hn<=4;Hn++){var Hr=un%10;Hr===0&&So(zt,Bf)&&Un!==""?Un=be[Hr]+Un:Hr>1||Hr===1&&Hn===0||Hr===1&&Hn===1&&So(zt,Rf)||Hr===1&&Hn===1&&So(zt,ou)&&Ee>100||Hr===1&&Hn>1&&So(zt,df)?Un=be[Hr]+(Hn>0?De[Hn-1]:"")+Un:Hr===1&&Hn>0&&(Un=De[Hn-1]+Un),un=Math.floor(un/10)}return(Ee<0?Ie:"")+Un},Sf="\u5341\u767E\u5343\u842C",ef="\u62FE\u4F70\u4EDF\u842C",x="\u30DE\u30A4\u30CA\u30B9",ee="\uB9C8\uC774\uB108\uC2A4",ue=function(Ee,be,De){var Ie=De?". ":"",yt=De?"\u3001":"",zt=De?", ":"",un=De?" ":"";switch(be){case 0:return"\u2022"+un;case 1:return"\u25E6"+un;case 2:return"\u25FE"+un;case 5:var Un=dc(Ee,48,57,!0,Ie);return Un.length<4?"0"+Un:Un;case 4:return ch(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",yt);case 6:return uh(Ee,1,3999,T0,3,Ie).toLowerCase();case 7:return uh(Ee,1,3999,T0,3,Ie);case 8:return dc(Ee,945,969,!1,Ie);case 9:return dc(Ee,97,122,!1,Ie);case 10:return dc(Ee,65,90,!1,Ie);case 11:return dc(Ee,1632,1641,!0,Ie);case 12:case 49:return uh(Ee,1,9999,a0,3,Ie);case 35:return uh(Ee,1,9999,a0,3,Ie).toLowerCase();case 13:return dc(Ee,2534,2543,!0,Ie);case 14:case 30:return dc(Ee,6112,6121,!0,Ie);case 15:return ch(Ee,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",yt);case 16:return ch(Ee,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",yt);case 17:case 48:return kA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Sf,"\u8CA0",yt,Rf|ou|df);case 47:return kA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ef,"\u8CA0",yt,Bf|Rf|ou|df);case 42:return kA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Sf,"\u8D1F",yt,Rf|ou|df);case 41:return kA(Ee,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ef,"\u8D1F",yt,Bf|Rf|ou|df);case 26:return kA(Ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",x,yt,0);case 25:return kA(Ee,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",x,yt,Bf|Rf|ou);case 31:return kA(Ee,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ee,zt,Bf|Rf|ou);case 33:return kA(Ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ee,zt,0);case 32:return kA(Ee,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ee,zt,Bf|Rf|ou);case 18:return dc(Ee,2406,2415,!0,Ie);case 20:return uh(Ee,1,19999,Uu,3,Ie);case 21:return dc(Ee,2790,2799,!0,Ie);case 22:return dc(Ee,2662,2671,!0,Ie);case 22:return uh(Ee,1,10999,dm,3,Ie);case 23:return ch(Ee,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return ch(Ee,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return dc(Ee,3302,3311,!0,Ie);case 28:return ch(Ee,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",yt);case 29:return ch(Ee,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",yt);case 34:return dc(Ee,3792,3801,!0,Ie);case 37:return dc(Ee,6160,6169,!0,Ie);case 38:return dc(Ee,4160,4169,!0,Ie);case 39:return dc(Ee,2918,2927,!0,Ie);case 40:return dc(Ee,1776,1785,!0,Ie);case 43:return dc(Ee,3046,3055,!0,Ie);case 44:return dc(Ee,3174,3183,!0,Ie);case 45:return dc(Ee,3664,3673,!0,Ie);case 46:return dc(Ee,3872,3881,!0,Ie);case 3:default:return dc(Ee,48,57,!0,Ie)}},le="data-html2canvas-ignore",me=function(){function Ee(be,De,Ie){if(this.context=be,this.options=Ie,this.scrolledElements=[],this.referenceElement=De,this.counters=new cm,this.quoteDepth=0,!De.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(De.ownerDocument.documentElement,!1)}return Ee.prototype.toIFrame=function(be,De){var Ie=this,yt=mt(be,De);if(!yt.contentWindow)return Promise.reject("Unable to find iframe window");var zt=be.defaultView.pageXOffset,un=be.defaultView.pageYOffset,Un=yt.contentWindow,Hn=Un.document,Hr=Jt(yt).then(function(){return Me(Ie,void 0,void 0,function(){var Gr,ti;return He(this,function(Xi){switch(Xi.label){case 0:return this.scrolledElements.forEach(Oi),Un&&(Un.scrollTo(De.left,De.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Un.scrollY!==De.top||Un.scrollX!==De.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Un.scrollX-De.left,Un.scrollY-De.top,0,0))),Gr=this.options.onclone,ti=this.clonedReferenceElement,typeof ti=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hn.fonts&&Hn.fonts.ready?[4,Hn.fonts.ready]:[3,2];case 1:Xi.sent(),Xi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ut(Hn)]:[3,4];case 3:Xi.sent(),Xi.label=4;case 4:return typeof Gr=="function"?[2,Promise.resolve().then(function(){return Gr(Hn,ti)}).then(function(){return yt})]:[2,yt]}})})});return Hn.open(),Hn.write(Yr(document.doctype)+""),Qr(this.referenceElement.ownerDocument,zt,un),Hn.replaceChild(Hn.adoptNode(this.documentElement),Hn.documentElement),Hn.close(),Hr},Ee.prototype.createElementClone=function(be){if(bl(be,2))debugger;if(um(be))return this.createCanvasClone(be);if(lp(be))return this.createVideoClone(be);if(Tf(be))return this.createStyleClone(be);var De=be.cloneNode(!1);return IA(De)&&(IA(be)&&be.currentSrc&&be.currentSrc!==be.src&&(De.src=be.currentSrc,De.srcset=""),De.loading==="lazy"&&(De.loading="eager")),Sp(De)?this.createCustomElementClone(De):De},Ee.prototype.createCustomElementClone=function(be){var De=document.createElement("html2canvascustomelement");return ir(be.style,De),De},Ee.prototype.createStyleClone=function(be){try{var De=be.sheet;if(De&&De.cssRules){var Ie=[].slice.call(De.cssRules,0).reduce(function(zt,un){return un&&typeof un.cssText=="string"?zt+un.cssText:zt},""),yt=be.cloneNode(!1);return yt.textContent=Ie,yt}}catch(zt){if(this.context.logger.error("Unable to access cssRules property",zt),zt.name!=="SecurityError")throw zt}return be.cloneNode(!1)},Ee.prototype.createCanvasClone=function(be){var De;if(this.options.inlineImages&&be.ownerDocument){var Ie=be.ownerDocument.createElement("img");try{return Ie.src=be.toDataURL(),Ie}catch(Hr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",be)}}var yt=be.cloneNode(!1);try{yt.width=be.width,yt.height=be.height;var zt=be.getContext("2d"),un=yt.getContext("2d");if(un)if(!this.options.allowTaint&&zt)un.putImageData(zt.getImageData(0,0,be.width,be.height),0,0);else{var Un=(De=be.getContext("webgl2"))!==null&&De!==void 0?De:be.getContext("webgl");if(Un){var Hn=Un.getContextAttributes();(Hn==null?void 0:Hn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",be)}un.drawImage(be,0,0)}return yt}catch(Hr){this.context.logger.info("Unable to clone canvas as it is tainted",be)}return yt},Ee.prototype.createVideoClone=function(be){var De=be.ownerDocument.createElement("canvas");De.width=be.offsetWidth,De.height=be.offsetHeight;var Ie=De.getContext("2d");try{return Ie&&(Ie.drawImage(be,0,0,De.width,De.height),this.options.allowTaint||Ie.getImageData(0,0,De.width,De.height)),De}catch(zt){this.context.logger.info("Unable to clone video as it is tainted",be)}var yt=be.ownerDocument.createElement("canvas");return yt.width=be.offsetWidth,yt.height=be.offsetHeight,yt},Ee.prototype.appendChildNode=function(be,De,Ie){(!Lh(De)||!P0(De)&&!De.hasAttribute(le)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(De)))&&(!this.options.copyStyles||!Lh(De)||!Tf(De))&&be.appendChild(this.cloneNode(De,Ie))},Ee.prototype.cloneChildNodes=function(be,De,Ie){for(var yt=this,zt=be.shadowRoot?be.shadowRoot.firstChild:be.firstChild;zt;zt=zt.nextSibling)if(Lh(zt)&&Oh(zt)&&typeof zt.assignedNodes=="function"){var un=zt.assignedNodes();un.length&&un.forEach(function(Un){return yt.appendChildNode(De,Un,Ie)})}else this.appendChildNode(De,zt,Ie)},Ee.prototype.cloneNode=function(be,De){if(Pf(be))return document.createTextNode(be.data);if(!be.ownerDocument)return be.cloneNode(!1);var Ie=be.ownerDocument.defaultView;if(Ie&&Lh(be)&&(N0(be)||cf(be))){var yt=this.createElementClone(be);yt.style.transitionProperty="none";var zt=Ie.getComputedStyle(be),un=Ie.getComputedStyle(be,":before"),Un=Ie.getComputedStyle(be,":after");this.referenceElement===be&&N0(yt)&&(this.clonedReferenceElement=yt),Us(yt)&&Uo(yt);var Hn=this.counters.parse(new Td(this.context,zt)),Hr=this.resolvePseudoContent(be,yt,un,Ve.BEFORE);Sp(be)&&(De=!0),lp(be)||this.cloneChildNodes(be,yt,De),Hr&&yt.insertBefore(Hr,yt.firstChild);var Gr=this.resolvePseudoContent(be,yt,Un,Ve.AFTER);return Gr&&yt.appendChild(Gr),this.counters.pop(Hn),(zt&&(this.options.copyStyles||cf(be))&&!$A(be)||De)&&ir(zt,yt),(be.scrollTop!==0||be.scrollLeft!==0)&&this.scrolledElements.push([yt,be.scrollLeft,be.scrollTop]),(Dh(be)||i0(be))&&(Dh(yt)||i0(yt))&&(yt.value=be.value),yt}return be.cloneNode(!1)},Ee.prototype.resolvePseudoContent=function(be,De,Ie,yt){var zt=this;if(Ie){var un=Ie.content,Un=De.ownerDocument;if(!(!Un||!un||un==="none"||un==="-moz-alt-content"||Ie.display==="none")){this.counters.parse(new Td(this.context,Ie));var Hn=new ec(this.context,Ie),Hr=Un.createElement("html2canvaspseudoelement");ir(Ie,Hr),Hn.content.forEach(function(ti){if(ti.type===0)Hr.appendChild(Un.createTextNode(ti.value));else if(ti.type===22){var Xi=Un.createElement("img");Xi.src=ti.value,Xi.style.opacity="1",Hr.appendChild(Xi)}else if(ti.type===18){if(ti.name==="attr"){var ts=ti.values.filter(ka);ts.length&&Hr.appendChild(Un.createTextNode(be.getAttribute(ts[0].value)||""))}else if(ti.name==="counter"){var io=ti.values.filter(eu),Do=io[0],Bl=io[1];if(Do&&ka(Do)){var As=zt.counters.getCounterValue(Do.value),us=Bl&&ka(Bl)?Zr.parse(zt.context,Bl.value):3;Hr.appendChild(Un.createTextNode(ue(As,us,!1)))}}else if(ti.name==="counters"){var sl=ti.values.filter(eu),Do=sl[0],Hl=sl[1],Bl=sl[2];if(Do&&ka(Do)){var Xs=zt.counters.getCounterValues(Do.value),Go=Bl&&ka(Bl)?Zr.parse(zt.context,Bl.value):3,lu=Hl&&Hl.type===0?Hl.value:"",Il=Xs.map(function(Yd){return ue(Yd,Go,!1)}).join(lu);Hr.appendChild(Un.createTextNode(Il))}}}else if(ti.type===20)switch(ti.value){case"open-quote":Hr.appendChild(Un.createTextNode(ws(Hn.quotes,zt.quoteDepth++,!0)));break;case"close-quote":Hr.appendChild(Un.createTextNode(ws(Hn.quotes,--zt.quoteDepth,!1)));break;default:Hr.appendChild(Un.createTextNode(ti.value))}}),Hr.className=bo+" "+_o;var Gr=yt===Ve.BEFORE?" "+bo:" "+_o;return cf(De)?De.className.baseValue+=Gr:De.className+=Gr,Hr}}},Ee.destroy=function(be){return be.parentNode?(be.parentNode.removeChild(be),!0):!1},Ee}(),Ve;(function(Ee){Ee[Ee.BEFORE=0]="BEFORE",Ee[Ee.AFTER=1]="AFTER"})(Ve||(Ve={}));var mt=function(Ee,be){var De=Ee.createElement("iframe");return De.className="html2canvas-container",De.style.visibility="hidden",De.style.position="fixed",De.style.left="-10000px",De.style.top="0px",De.style.border="0",De.width=be.width.toString(),De.height=be.height.toString(),De.scrolling="no",De.setAttribute(le,"true"),Ee.body.appendChild(De),De},It=function(Ee){return new Promise(function(be){if(Ee.complete){be();return}if(!Ee.src){be();return}Ee.onload=be,Ee.onerror=be})},Ut=function(Ee){return Promise.all([].slice.call(Ee.images,0).map(It))},Jt=function(Ee){return new Promise(function(be,De){var Ie=Ee.contentWindow;if(!Ie)return De("No window assigned for iframe");var yt=Ie.document;Ie.onload=Ee.onload=function(){Ie.onload=Ee.onload=null;var zt=setInterval(function(){yt.body.childNodes.length>0&&yt.readyState==="complete"&&(clearInterval(zt),be(Ee))},50)}})},Zn=["all","d","content"],ir=function(Ee,be){for(var De=Ee.length-1;De>=0;De--){var Ie=Ee.item(De);Zn.indexOf(Ie)===-1&&be.style.setProperty(Ie,Ee.getPropertyValue(Ie))}return be},Yr=function(Ee){var be="";return Ee&&(be+=""),be},Qr=function(Ee,be,De){Ee&&Ee.defaultView&&(be!==Ee.defaultView.pageXOffset||De!==Ee.defaultView.pageYOffset)&&Ee.defaultView.scrollTo(be,De)},Oi=function(Ee){var be=Ee[0],De=Ee[1],Ie=Ee[2];be.scrollLeft=De,be.scrollTop=Ie},ma=":before",qa=":after",bo="___html2canvas___pseudoelement_before",_o="___html2canvas___pseudoelement_after",po=`{ content: "" !important; display: none !important; }`,Uo=function(Ee){hs(Ee,"."+bo+ma+po+` .`+_o+qa+po)},hs=function(Ee,be){var De=Ee.ownerDocument;if(De){var Ie=De.createElement("style");Ie.textContent=be,Ee.appendChild(Ie)}},vs=function(){function Ee(){}return Ee.getOrigin=function(be){var De=Ee._link;return De?(De.href=be,De.href=De.href,De.protocol+De.hostname+De.port):"about:blank"},Ee.isSameOrigin=function(be){return Ee.getOrigin(be)===Ee._origin},Ee.setContext=function(be){Ee._link=be.document.createElement("a"),Ee._origin=Ee.getOrigin(be.location.href)},Ee._origin="about:blank",Ee}(),Ns=function(){function Ee(be,De){this.context=be,this._options=De,this._cache={}}return Ee.prototype.addImage=function(be){var De=Promise.resolve();return this.has(be)||(Hd(be)||Id(be))&&(this._cache[be]=this.loadImage(be)).catch(function(){}),De},Ee.prototype.match=function(be){return this._cache[be]},Ee.prototype.loadImage=function(be){return Me(this,void 0,void 0,function(){var De,Ie,yt,zt,un=this;return He(this,function(Un){switch(Un.label){case 0:return De=vs.isSameOrigin(be),Ie=!xd(be)&&this._options.useCORS===!0&&Au.SUPPORT_CORS_IMAGES&&!De,yt=!xd(be)&&!De&&!Hd(be)&&typeof this._options.proxy=="string"&&Au.SUPPORT_CORS_XHR&&!Ie,!De&&this._options.allowTaint===!1&&!xd(be)&&!Hd(be)&&!yt&&!Ie?[2]:(zt=be,yt?[4,this.proxy(zt)]:[3,2]);case 1:zt=Un.sent(),Un.label=2;case 2:return this.context.logger.debug("Added image "+be.substring(0,256)),[4,new Promise(function(Hn,Hr){var Gr=new Image;Gr.onload=function(){return Hn(Gr)},Gr.onerror=Hr,(ad(zt)||Ie)&&(Gr.crossOrigin="anonymous"),Gr.src=zt,Gr.complete===!0&&setTimeout(function(){return Hn(Gr)},500),un._options.imageTimeout>0&&setTimeout(function(){return Hr("Timed out ("+un._options.imageTimeout+"ms) loading image")},un._options.imageTimeout)})];case 3:return[2,Un.sent()]}})})},Ee.prototype.has=function(be){return typeof this._cache[be]!="undefined"},Ee.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Ee.prototype.proxy=function(be){var De=this,Ie=this._options.proxy;if(!Ie)throw new Error("No proxy defined");var yt=be.substring(0,256);return new Promise(function(zt,un){var Un=Au.SUPPORT_RESPONSE_TYPE?"blob":"text",Hn=new XMLHttpRequest;Hn.onload=function(){if(Hn.status===200)if(Un==="text")zt(Hn.response);else{var ti=new FileReader;ti.addEventListener("load",function(){return zt(ti.result)},!1),ti.addEventListener("error",function(Xi){return un(Xi)},!1),ti.readAsDataURL(Hn.response)}else un("Failed to proxy resource "+yt+" with status code "+Hn.status)},Hn.onerror=un;var Hr=Ie.indexOf("?")>-1?"&":"?";if(Hn.open("GET",""+Ie+Hr+"url="+encodeURIComponent(be)+"&responseType="+Un),Un!=="text"&&Hn instanceof XMLHttpRequest&&(Hn.responseType=Un),De._options.imageTimeout){var Gr=De._options.imageTimeout;Hn.timeout=Gr,Hn.ontimeout=function(){return un("Timed out ("+Gr+"ms) proxying "+yt)}}Hn.send()})},Ee}(),Hu=/^data:image\/svg\+xml/i,dd=/^data:image\/.*;base64,/i,wc=/^data:image\/.*/i,Id=function(Ee){return Au.SUPPORT_SVG_DRAWING||!$s(Ee)},xd=function(Ee){return wc.test(Ee)},ad=function(Ee){return dd.test(Ee)},Hd=function(Ee){return Ee.substr(0,4)==="blob"},$s=function(Ee){return Ee.substr(-3).toLowerCase()==="svg"||Hu.test(Ee)},fo=function(){function Ee(be,De){this.type=0,this.x=be,this.y=De}return Ee.prototype.add=function(be,De){return new Ee(this.x+be,this.y+De)},Ee}(),Xu=function(Ee,be,De){return new fo(Ee.x+(be.x-Ee.x)*De,Ee.y+(be.y-Ee.y)*De)},xc=function(){function Ee(be,De,Ie,yt){this.type=1,this.start=be,this.startControl=De,this.endControl=Ie,this.end=yt}return Ee.prototype.subdivide=function(be,De){var Ie=Xu(this.start,this.startControl,be),yt=Xu(this.startControl,this.endControl,be),zt=Xu(this.endControl,this.end,be),un=Xu(Ie,yt,be),Un=Xu(yt,zt,be),Hn=Xu(un,Un,be);return De?new Ee(this.start,Ie,un,Hn):new Ee(Hn,Un,zt,this.end)},Ee.prototype.add=function(be,De){return new Ee(this.start.add(be,De),this.startControl.add(be,De),this.endControl.add(be,De),this.end.add(be,De))},Ee.prototype.reverse=function(){return new Ee(this.end,this.endControl,this.startControl,this.start)},Ee}(),Mu=function(Ee){return Ee.type===1},Nh=function(){function Ee(be){var De=be.styles,Ie=be.bounds,yt=ml(De.borderTopLeftRadius,Ie.width,Ie.height),zt=yt[0],un=yt[1],Un=ml(De.borderTopRightRadius,Ie.width,Ie.height),Hn=Un[0],Hr=Un[1],Gr=ml(De.borderBottomRightRadius,Ie.width,Ie.height),ti=Gr[0],Xi=Gr[1],ts=ml(De.borderBottomLeftRadius,Ie.width,Ie.height),io=ts[0],Do=ts[1],Bl=[];Bl.push((zt+Hn)/Ie.width),Bl.push((io+ti)/Ie.width),Bl.push((un+Do)/Ie.height),Bl.push((Hr+Xi)/Ie.height);var As=Math.max.apply(Math,Bl);As>1&&(zt/=As,un/=As,Hn/=As,Hr/=As,ti/=As,Xi/=As,io/=As,Do/=As);var us=Ie.width-Hn,sl=Ie.height-Xi,Hl=Ie.width-ti,Xs=Ie.height-Do,Go=De.borderTopWidth,lu=De.borderRightWidth,Il=De.borderBottomWidth,ll=De.borderLeftWidth,Eo=Wo(De.paddingTop,be.bounds.width),Yd=Wo(De.paddingRight,be.bounds.width),NA=Wo(De.paddingBottom,be.bounds.width),$l=Wo(De.paddingLeft,be.bounds.width);this.topLeftBorderDoubleOuterBox=zt>0||un>0?Ul(Ie.left+ll/3,Ie.top+Go/3,zt-ll/3,un-Go/3,Dl.TOP_LEFT):new fo(Ie.left+ll/3,Ie.top+Go/3),this.topRightBorderDoubleOuterBox=zt>0||un>0?Ul(Ie.left+us,Ie.top+Go/3,Hn-lu/3,Hr-Go/3,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu/3,Ie.top+Go/3),this.bottomRightBorderDoubleOuterBox=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti-lu/3,Xi-Il/3,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu/3,Ie.top+Ie.height-Il/3),this.bottomLeftBorderDoubleOuterBox=io>0||Do>0?Ul(Ie.left+ll/3,Ie.top+Xs,io-ll/3,Do-Il/3,Dl.BOTTOM_LEFT):new fo(Ie.left+ll/3,Ie.top+Ie.height-Il/3),this.topLeftBorderDoubleInnerBox=zt>0||un>0?Ul(Ie.left+ll*2/3,Ie.top+Go*2/3,zt-ll*2/3,un-Go*2/3,Dl.TOP_LEFT):new fo(Ie.left+ll*2/3,Ie.top+Go*2/3),this.topRightBorderDoubleInnerBox=zt>0||un>0?Ul(Ie.left+us,Ie.top+Go*2/3,Hn-lu*2/3,Hr-Go*2/3,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu*2/3,Ie.top+Go*2/3),this.bottomRightBorderDoubleInnerBox=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti-lu*2/3,Xi-Il*2/3,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu*2/3,Ie.top+Ie.height-Il*2/3),this.bottomLeftBorderDoubleInnerBox=io>0||Do>0?Ul(Ie.left+ll*2/3,Ie.top+Xs,io-ll*2/3,Do-Il*2/3,Dl.BOTTOM_LEFT):new fo(Ie.left+ll*2/3,Ie.top+Ie.height-Il*2/3),this.topLeftBorderStroke=zt>0||un>0?Ul(Ie.left+ll/2,Ie.top+Go/2,zt-ll/2,un-Go/2,Dl.TOP_LEFT):new fo(Ie.left+ll/2,Ie.top+Go/2),this.topRightBorderStroke=zt>0||un>0?Ul(Ie.left+us,Ie.top+Go/2,Hn-lu/2,Hr-Go/2,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu/2,Ie.top+Go/2),this.bottomRightBorderStroke=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti-lu/2,Xi-Il/2,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu/2,Ie.top+Ie.height-Il/2),this.bottomLeftBorderStroke=io>0||Do>0?Ul(Ie.left+ll/2,Ie.top+Xs,io-ll/2,Do-Il/2,Dl.BOTTOM_LEFT):new fo(Ie.left+ll/2,Ie.top+Ie.height-Il/2),this.topLeftBorderBox=zt>0||un>0?Ul(Ie.left,Ie.top,zt,un,Dl.TOP_LEFT):new fo(Ie.left,Ie.top),this.topRightBorderBox=Hn>0||Hr>0?Ul(Ie.left+us,Ie.top,Hn,Hr,Dl.TOP_RIGHT):new fo(Ie.left+Ie.width,Ie.top),this.bottomRightBorderBox=ti>0||Xi>0?Ul(Ie.left+Hl,Ie.top+sl,ti,Xi,Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width,Ie.top+Ie.height),this.bottomLeftBorderBox=io>0||Do>0?Ul(Ie.left,Ie.top+Xs,io,Do,Dl.BOTTOM_LEFT):new fo(Ie.left,Ie.top+Ie.height),this.topLeftPaddingBox=zt>0||un>0?Ul(Ie.left+ll,Ie.top+Go,Math.max(0,zt-ll),Math.max(0,un-Go),Dl.TOP_LEFT):new fo(Ie.left+ll,Ie.top+Go),this.topRightPaddingBox=Hn>0||Hr>0?Ul(Ie.left+Math.min(us,Ie.width-lu),Ie.top+Go,us>Ie.width+lu?0:Math.max(0,Hn-lu),Math.max(0,Hr-Go),Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-lu,Ie.top+Go),this.bottomRightPaddingBox=ti>0||Xi>0?Ul(Ie.left+Math.min(Hl,Ie.width-ll),Ie.top+Math.min(sl,Ie.height-Il),Math.max(0,ti-lu),Math.max(0,Xi-Il),Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-lu,Ie.top+Ie.height-Il),this.bottomLeftPaddingBox=io>0||Do>0?Ul(Ie.left+ll,Ie.top+Math.min(Xs,Ie.height-Il),Math.max(0,io-ll),Math.max(0,Do-Il),Dl.BOTTOM_LEFT):new fo(Ie.left+ll,Ie.top+Ie.height-Il),this.topLeftContentBox=zt>0||un>0?Ul(Ie.left+ll+$l,Ie.top+Go+Eo,Math.max(0,zt-(ll+$l)),Math.max(0,un-(Go+Eo)),Dl.TOP_LEFT):new fo(Ie.left+ll+$l,Ie.top+Go+Eo),this.topRightContentBox=Hn>0||Hr>0?Ul(Ie.left+Math.min(us,Ie.width+ll+$l),Ie.top+Go+Eo,us>Ie.width+ll+$l?0:Hn-ll+$l,Hr-(Go+Eo),Dl.TOP_RIGHT):new fo(Ie.left+Ie.width-(lu+Yd),Ie.top+Go+Eo),this.bottomRightContentBox=ti>0||Xi>0?Ul(Ie.left+Math.min(Hl,Ie.width-(ll+$l)),Ie.top+Math.min(sl,Ie.height+Go+Eo),Math.max(0,ti-(lu+Yd)),Xi-(Il+NA),Dl.BOTTOM_RIGHT):new fo(Ie.left+Ie.width-(lu+Yd),Ie.top+Ie.height-(Il+NA)),this.bottomLeftContentBox=io>0||Do>0?Ul(Ie.left+ll+$l,Ie.top+Xs,Math.max(0,io-(ll+$l)),Do-(Il+NA),Dl.BOTTOM_LEFT):new fo(Ie.left+ll+$l,Ie.top+Ie.height-(Il+NA))}return Ee}(),Dl;(function(Ee){Ee[Ee.TOP_LEFT=0]="TOP_LEFT",Ee[Ee.TOP_RIGHT=1]="TOP_RIGHT",Ee[Ee.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Ee[Ee.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Dl||(Dl={}));var Ul=function(Ee,be,De,Ie,yt){var zt=4*((Math.sqrt(2)-1)/3),un=De*zt,Un=Ie*zt,Hn=Ee+De,Hr=be+Ie;switch(yt){case Dl.TOP_LEFT:return new xc(new fo(Ee,Hr),new fo(Ee,Hr-Un),new fo(Hn-un,be),new fo(Hn,be));case Dl.TOP_RIGHT:return new xc(new fo(Ee,be),new fo(Ee+un,be),new fo(Hn,Hr-Un),new fo(Hn,Hr));case Dl.BOTTOM_RIGHT:return new xc(new fo(Hn,be),new fo(Hn,be+Un),new fo(Ee+un,Hr),new fo(Ee,Hr));case Dl.BOTTOM_LEFT:default:return new xc(new fo(Hn,Hr),new fo(Hn-un,Hr),new fo(Ee,be+Un),new fo(Ee,be))}},su=function(Ee){return[Ee.topLeftBorderBox,Ee.topRightBorderBox,Ee.bottomRightBorderBox,Ee.bottomLeftBorderBox]},Cd=function(Ee){return[Ee.topLeftContentBox,Ee.topRightContentBox,Ee.bottomRightContentBox,Ee.bottomLeftContentBox]},o0=function(Ee){return[Ee.topLeftPaddingBox,Ee.topRightPaddingBox,Ee.bottomRightPaddingBox,Ee.bottomLeftPaddingBox]},Ps=function(){function Ee(be,De,Ie){this.offsetX=be,this.offsetY=De,this.matrix=Ie,this.type=0,this.target=6}return Ee}(),LA=function(){function Ee(be,De){this.path=be,this.target=De,this.type=1}return Ee}(),fu=function(){function Ee(be){this.opacity=be,this.type=2,this.target=6}return Ee}(),Kc=function(Ee){return Ee.type===0},Uf=function(Ee){return Ee.type===1},od=function(Ee){return Ee.type===2},Ph=function(Ee,be){return Ee.length===be.length?Ee.some(function(De,Ie){return De===be[Ie]}):!1},Km=function(Ee,be,De,Ie,yt){return Ee.map(function(zt,un){switch(un){case 0:return zt.add(be,De);case 1:return zt.add(be+Ie,De);case 2:return zt.add(be+Ie,De+yt);case 3:return zt.add(be,De+yt)}return zt})},wa=function(){function Ee(be){this.element=be,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Ee}(),Ac=function(){function Ee(be,De){if(this.container=be,this.parent=De,this.effects=[],this.curves=new Nh(this.container),this.container.styles.opacity<1&&this.effects.push(new fu(this.container.styles.opacity)),this.container.styles.transform!==null){var Ie=this.container.bounds.left+this.container.styles.transformOrigin[0].number,yt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,zt=this.container.styles.transform;this.effects.push(new Ps(Ie,yt,zt))}if(this.container.styles.overflowX!==0){var un=su(this.curves),Un=o0(this.curves);Ph(un,Un)?this.effects.push(new LA(un,6)):(this.effects.push(new LA(un,2)),this.effects.push(new LA(Un,4)))}}return Ee.prototype.getEffects=function(be){for(var De=[2,3].indexOf(this.container.styles.position)===-1,Ie=this.parent,yt=this.effects.slice(0);Ie;){var zt=Ie.effects.filter(function(Hn){return!Uf(Hn)});if(De||Ie.container.styles.position!==0||!Ie.parent){if(yt.unshift.apply(yt,zt),De=[2,3].indexOf(Ie.container.styles.position)===-1,Ie.container.styles.overflowX!==0){var un=su(Ie.curves),Un=o0(Ie.curves);Ph(un,Un)||yt.unshift(new LA(Un,6))}}else yt.unshift.apply(yt,zt);Ie=Ie.parent}return yt.filter(function(Hn){return So(Hn.target,be)})},Ee}(),Am=function(Ee,be,De,Ie){Ee.container.elements.forEach(function(yt){var zt=So(yt.flags,4),un=So(yt.flags,2),Un=new Ac(yt,Ee);So(yt.styles.display,2048)&&Ie.push(Un);var Hn=So(yt.flags,8)?[]:Ie;if(zt||un){var Hr=zt||yt.styles.isPositioned()?De:be,Gr=new wa(Un);if(yt.styles.isPositioned()||yt.styles.opacity<1||yt.styles.isTransformed()){var ti=yt.styles.zIndex.order;if(ti<0){var Xi=0;Hr.negativeZIndex.some(function(io,Do){return ti>io.element.container.styles.zIndex.order?(Xi=Do,!1):Xi>0}),Hr.negativeZIndex.splice(Xi,0,Gr)}else if(ti>0){var ts=0;Hr.positiveZIndex.some(function(io,Do){return ti>=io.element.container.styles.zIndex.order?(ts=Do+1,!1):ts>0}),Hr.positiveZIndex.splice(ts,0,Gr)}else Hr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Gr)}else yt.styles.isFloating()?Hr.nonPositionedFloats.push(Gr):Hr.nonPositionedInlineLevel.push(Gr);Am(Un,Gr,zt?Gr:De,Hn)}else yt.styles.isInlineLevel()?be.inlineLevel.push(Un):be.nonInlineLevel.push(Un),Am(Un,be,De,Hn);So(yt.flags,8)&&fm(yt,Hn)})},fm=function(Ee,be){for(var De=Ee instanceof Mh?Ee.start:1,Ie=Ee instanceof Mh?Ee.reversed:!1,yt=0;yt0&&De.intrinsicHeight>0){var zt=Ad(De),un=o0(Ie);this.path(un),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(yt,0,0,De.intrinsicWidth,De.intrinsicHeight,zt.left,zt.top,zt.width,zt.height),this.ctx.restore()}},be.prototype.renderNodeContent=function(De){return Me(this,void 0,void 0,function(){var Ie,yt,zt,un,Un,Hn,us,us,Hr,Gr,ti,Xi,Hl,ts,io,Xs,Do,Bl,As,us,sl,Hl,Xs;return He(this,function(Go){switch(Go.label){case 0:this.applyEffects(De.getEffects(4)),Ie=De.container,yt=De.curves,zt=Ie.styles,un=0,Un=Ie.textNodes,Go.label=1;case 1:return un0&&Xd>0&&(Il=zt.ctx.createPattern(Xs,"repeat"),zt.renderRepeat(Eo,Il,MA,PA))):gc(Gr)&&(ll=_A(De,Ie,[null,null,null]),Eo=ll[0],Yd=ll[1],NA=ll[2],$l=ll[3],Xd=ll[4],Rh=Gr.position.length===0?[Pl]:Gr.position,MA=Wo(Rh[0],$l),PA=Wo(Rh[Rh.length-1],Xd),Qf=ki(Gr,MA,PA,$l,Xd),Ff=Qf[0],jf=Qf[1],Ff>0&&jf>0&&(Ah=zt.ctx.createRadialGradient(Yd+MA,NA+PA,0,Yd+MA,NA+PA,Ff),uf(Gr.stops,Ff*2).forEach(function(uA){return Ah.addColorStop(uA.stop,Vs(uA.color))}),zt.path(Eo),zt.ctx.fillStyle=Ah,Ff!==jf?(nf=De.bounds.left+.5*De.bounds.width,fh=De.bounds.top+.5*De.bounds.height,c0=jf/Ff,kf=1/c0,zt.ctx.save(),zt.ctx.translate(nf,fh),zt.ctx.transform(1,0,0,c0,0,0),zt.ctx.translate(-nf,-fh),zt.ctx.fillRect(Yd,kf*(NA-fh)+fh,$l,Xd*kf),zt.ctx.restore()):zt.ctx.fill())),Uh.label=6;case 6:return Ie--,[2]}})},zt=this,un=0,Un=De.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return un0?Gr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Gr.color,Gr.width,Un,De.curves,2)]:[3,11]):[3,13];case 4:return Xi.sent(),[3,11];case 5:return Gr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Gr.color,Gr.width,Un,De.curves,3)];case 6:return Xi.sent(),[3,11];case 7:return Gr.style!==4?[3,9]:[4,this.renderDoubleBorder(Gr.color,Gr.width,Un,De.curves)];case 8:return Xi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Gr.color,Un,De.curves)];case 10:Xi.sent(),Xi.label=11;case 11:Un++,Xi.label=12;case 12:return Hn++,[3,3];case 13:return[2]}})})},be.prototype.renderDashedDottedBorder=function(De,Ie,yt,zt,un){return Me(this,void 0,void 0,function(){var Un,Hn,Hr,Gr,ti,Xi,ts,io,Do,Bl,As,us,sl,Hl,Xs,Go,Xs,Go;return He(this,function(lu){return this.ctx.save(),Un=fg(zt,yt),Hn=Gd(zt,yt),un===2&&(this.path(Hn),this.ctx.clip()),Mu(Hn[0])?(Hr=Hn[0].start.x,Gr=Hn[0].start.y):(Hr=Hn[0].x,Gr=Hn[0].y),Mu(Hn[1])?(ti=Hn[1].end.x,Xi=Hn[1].end.y):(ti=Hn[1].x,Xi=Hn[1].y),yt===0||yt===2?ts=Math.abs(Hr-ti):ts=Math.abs(Gr-Xi),this.ctx.beginPath(),un===3?this.formatPath(Un):this.formatPath(Hn.slice(0,2)),io=Ie<3?Ie*3:Ie*2,Do=Ie<3?Ie*2:Ie,un===3&&(io=Ie,Do=Ie),Bl=!0,ts<=io*2?Bl=!1:ts<=io*2+Do?(As=ts/(2*io+Do),io*=As,Do*=As):(us=Math.floor((ts+Do)/(io+Do)),sl=(ts-us*io)/(us-1),Hl=(ts-(us+1)*io)/us,Do=Hl<=0||Math.abs(Do-sl)Tt){var it=wt;wt=Tt,Tt=it}}else if(Ct==="l"||Ct==="landscape"){if(Ct="l",Tt>wt){var it=wt;wt=Tt,Tt=it}}else throw"Invalid orientation: "+Ct;var Ue={width:wt,height:Tt,unit:Xe,k:bt};return Ue},xe.default=rt.jsPDF},"./src/plugin/pagebreaks.js":function(Ae,xe,fe){"use strict";fe.r(xe);var Ke=fe("./node_modules/core-js/modules/es.array.concat.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.array.slice.js"),Ne=fe.n(_e),Qe=fe("./node_modules/core-js/modules/es.array.join.js"),ke=fe.n(Qe),Pe=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Te=fe.n(Pe),Ye=fe("./node_modules/core-js/modules/es.object.keys.js"),ze=fe.n(Ye),qe=fe("./src/worker.js"),We=fe("./src/utils.js"),Ze={toContainer:qe.default.prototype.toContainer};qe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},qe.default.prototype.toContainer=function(){return Ze.toContainer.call(this).then(function(){var ht=this.prop.container,dt=this.prop.pageSize.inner.px.height,Ct=[].concat(this.opt.pagebreak.mode),Xe={avoidAll:Ct.indexOf("avoid-all")!==-1,css:Ct.indexOf("css")!==-1,legacy:Ct.indexOf("legacy")!==-1},Lt={},Re=this;["before","after","avoid"].forEach(function(bt){var Tt=Xe.avoidAll&&bt==="avoid";Lt[bt]=Tt?[]:[].concat(Re.opt.pagebreak[bt]||[]),Lt[bt].length>0&&(Lt[bt]=Array.prototype.slice.call(ht.querySelectorAll(Lt[bt].join(", "))))});var Ht=ht.querySelectorAll(".html2pdf__page-break");Ht=Array.prototype.slice.call(Ht);var Et=ht.querySelectorAll("*");Array.prototype.forEach.call(Et,function(Tt){var wt={before:!1,after:Xe.legacy&&Ht.indexOf(Tt)!==-1,avoid:Xe.avoidAll};if(Xe.css){var it=window.getComputedStyle(Tt),Ue=["always","page","left","right"],at=["avoid","avoid-page"];wt={before:wt.before||Ue.indexOf(it.breakBefore||it.pageBreakBefore)!==-1,after:wt.after||Ue.indexOf(it.breakAfter||it.pageBreakAfter)!==-1,avoid:wt.avoid||at.indexOf(it.breakInside||it.pageBreakInside)!==-1}}Object.keys(wt).forEach(function(Tn){wt[Tn]=wt[Tn]||Lt[Tn].indexOf(Tt)!==-1});var Xt=Tt.getBoundingClientRect();if(wt.avoid&&!wt.before){var Vt=Math.floor(Xt.top/dt),xt=Math.floor(Xt.bottom/dt),Qt=Math.abs(Xt.bottom-Xt.top)/dt;xt!==Vt&&Qt<=1&&(wt.before=!0)}if(wt.before){var An=(0,We.createElement)("div",{style:{display:"block",height:dt-Xt.top%dt+"px"}});Tt.parentNode.insertBefore(An,Tt)}if(wt.after){var An=(0,We.createElement)("div",{style:{display:"block",height:dt-Xt.bottom%dt+"px"}});Tt.parentNode.insertBefore(An,Tt.nextSibling)}})})}},"./src/utils.js":function(Ae,xe,fe){"use strict";fe.r(xe),fe.d(xe,{objType:function(){return Ct},createElement:function(){return Xe},cloneNode:function(){return Lt},unitConvert:function(){return Re},toPx:function(){return Ht}});var Ke=fe("./node_modules/core-js/modules/es.number.constructor.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.symbol.js"),Ne=fe.n(_e),Qe=fe("./node_modules/core-js/modules/es.symbol.description.js"),ke=fe.n(Qe),Pe=fe("./node_modules/core-js/modules/es.object.to-string.js"),Te=fe.n(Pe),Ye=fe("./node_modules/core-js/modules/es.symbol.iterator.js"),ze=fe.n(Ye),qe=fe("./node_modules/core-js/modules/es.array.iterator.js"),We=fe.n(qe),Ze=fe("./node_modules/core-js/modules/es.string.iterator.js"),et=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),ht=fe.n(rt);function dt(Et){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(Tt){return typeof Tt}:dt=function(Tt){return Tt&&typeof Symbol=="function"&&Tt.constructor===Symbol&&Tt!==Symbol.prototype?"symbol":typeof Tt},dt(Et)}var Ct=function(bt){var Tt=dt(bt);return Tt==="undefined"?"undefined":Tt==="string"||bt instanceof String?"string":Tt==="number"||bt instanceof Number?"number":Tt==="function"||bt instanceof Function?"function":bt&&bt.constructor===Array?"array":bt&&bt.nodeType===1?"element":Tt==="object"?"object":"unknown"},Xe=function(bt,Tt){var wt=document.createElement(bt);if(Tt.className&&(wt.className=Tt.className),Tt.innerHTML){wt.innerHTML=Tt.innerHTML;for(var it=wt.getElementsByTagName("script"),Ue=it.length;Ue-- >0;null)it[Ue].parentNode.removeChild(it[Ue])}for(var at in Tt.style)wt.style[at]=Tt.style[at];return wt},Lt=function Et(bt,Tt){for(var wt=bt.nodeType===3?document.createTextNode(bt.nodeValue):bt.cloneNode(!1),it=bt.firstChild;it;it=it.nextSibling)(Tt===!0||it.nodeType!==1||it.nodeName!=="SCRIPT")&&wt.appendChild(Et(it,Tt));return bt.nodeType===1&&(bt.nodeName==="CANVAS"?(wt.width=bt.width,wt.height=bt.height,wt.getContext("2d").drawImage(bt,0,0)):(bt.nodeName==="TEXTAREA"||bt.nodeName==="SELECT")&&(wt.value=bt.value),wt.addEventListener("load",function(){wt.scrollTop=bt.scrollTop,wt.scrollLeft=bt.scrollLeft},!0)),wt},Re=function(bt,Tt){if(Ct(bt)==="number")return bt*72/96/Tt;var wt={};for(var it in bt)wt[it]=bt[it]*72/96/Tt;return wt},Ht=function(bt,Tt){return Math.floor(bt*Tt/72*96)}},"./src/worker.js":function(Ae,xe,fe){"use strict";fe.r(xe);var Ke=fe("./node_modules/core-js/modules/es.object.assign.js"),Be=fe.n(Ke),_e=fe("./node_modules/core-js/modules/es.array.map.js"),Ne=fe.n(_e),Qe=fe("./node_modules/core-js/modules/es.object.keys.js"),ke=fe.n(Qe),Pe=fe("./node_modules/core-js/modules/es.array.concat.js"),Te=fe.n(Pe),Ye=fe("./node_modules/core-js/modules/es.object.to-string.js"),ze=fe.n(Ye),qe=fe("./node_modules/core-js/modules/es.regexp.to-string.js"),We=fe.n(qe),Ze=fe("./node_modules/core-js/modules/es.function.name.js"),et=fe.n(Ze),rt=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ht=fe.n(rt),dt=fe("jspdf"),Ct=fe.n(dt),Xe=fe("html2canvas"),Lt=fe.n(Xe),Re=fe("./src/utils.js"),Ht=fe("./node_modules/es6-promise/dist/es6-promise.js"),Et=fe.n(Ht),bt=Et().Promise,Tt=function wt(it){var Ue=Object.assign(wt.convert(bt.resolve()),JSON.parse(JSON.stringify(wt.template))),at=wt.convert(bt.resolve(),Ue);return at=at.setProgress(1,wt,1,[wt]),at=at.set(it),at};Tt.prototype=Object.create(bt.prototype),Tt.prototype.constructor=Tt,Tt.convert=function(it,Ue){return it.__proto__=Ue||Tt.prototype,it},Tt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},Tt.prototype.from=function(it,Ue){function at(Xt){switch((0,Re.objType)(Xt)){case"string":return"string";case"element":return Xt.nodeName.toLowerCase&&Xt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Ue=Ue||at(it),Ue){case"string":return this.set({src:(0,Re.createElement)("div",{innerHTML:it})});case"element":return this.set({src:it});case"canvas":return this.set({canvas:it});case"img":return this.set({img:it});default:return this.error("Unknown source type.")}})},Tt.prototype.to=function(it){switch(it){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},Tt.prototype.toContainer=function(){var it=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(it).then(function(){var at={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Xt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};at.opacity=0;var Vt=(0,Re.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Re.createElement)("div",{className:"html2pdf__overlay",style:at}),this.prop.container=(0,Re.createElement)("div",{className:"html2pdf__container",style:Xt}),this.prop.container.appendChild(Vt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Tt.prototype.toCanvas=function(){var it=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(it).then(function(){var at=Object.assign({},this.opt.html2canvas);return delete at.onrendered,Xe(this.prop.container,at)}).then(function(at){var Xt=this.opt.html2canvas.onrendered||function(){};Xt(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},Tt.prototype.toImg=function(){var it=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(it).then(function(){var at=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=at})},Tt.prototype.toPdf=function(){var it=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(it).then(function(){var at=this.prop.canvas,Xt=this.opt,Vt=at.height,xt=Math.floor(at.width*this.prop.pageSize.inner.ratio),Qt=Math.ceil(Vt/xt),An=this.prop.pageSize.inner.height,Tn=document.createElement("canvas"),dn=Tn.getContext("2d");Tn.width=at.width,Tn.height=xt,this.prop.pdf=this.prop.pdf||new dt.jsPDF(Xt.jsPDF);for(var Gn=0;Gn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/to-length.js"),_e=fe("./node_modules/core-js/internals/to-absolute-index.js"),Ne=function(Qe){return function(ke,Pe,Te){var Ye=Ke(ke),ze=Be(Ye.length),qe=_e(Te,ze),We;if(Qe&&Pe!=Pe){for(;ze>qe;)if(We=Ye[qe++],We!=We)return!0}else for(;ze>qe;qe++)if((Qe||qe in Ye)&&Ye[qe]===Pe)return Qe||qe||0;return!Qe&&-1}};Ae.exports={includes:Ne(!0),indexOf:Ne(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/function-bind-context.js"),Be=fe("./node_modules/core-js/internals/indexed-object.js"),_e=fe("./node_modules/core-js/internals/to-object.js"),Ne=fe("./node_modules/core-js/internals/to-length.js"),Qe=fe("./node_modules/core-js/internals/array-species-create.js"),ke=[].push,Pe=function(Te){var Ye=Te==1,ze=Te==2,qe=Te==3,We=Te==4,Ze=Te==6,et=Te==7,rt=Te==5||Ze;return function(ht,dt,Ct,Xe){for(var Lt=_e(ht),Re=Be(Lt),Ht=Ke(dt,Ct,3),Et=Ne(Re.length),bt=0,Tt=Xe||Qe,wt=Ye?Tt(ht,Et):ze||et?Tt(ht,0):void 0,it,Ue;Et>bt;bt++)if((rt||bt in Re)&&(it=Re[bt],Ue=Ht(it,bt,Lt),Te))if(Ye)wt[bt]=Ue;else if(Ue)switch(Te){case 3:return!0;case 5:return it;case 6:return bt;case 2:ke.call(wt,it)}else switch(Te){case 4:return!1;case 7:ke.call(wt,it)}return Ze?-1:qe||We?We:wt}};Ae.exports={forEach:Pe(0),map:Pe(1),filter:Pe(2),some:Pe(3),every:Pe(4),find:Pe(5),findIndex:Pe(6),filterReject:Pe(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/well-known-symbol.js"),_e=fe("./node_modules/core-js/internals/engine-v8-version.js"),Ne=Be("species");Ae.exports=function(Qe){return _e>=51||!Ke(function(){var ke=[],Pe=ke.constructor={};return Pe[Ne]=function(){return{foo:1}},ke[Qe](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be,_e){var Ne=[][Be];return!!Ne&&Ke(function(){Ne.call(null,_e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/is-array.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ne=_e("species");Ae.exports=function(Qe){var ke;return Be(Qe)&&(ke=Qe.constructor,typeof ke=="function"&&(ke===Array||Be(ke.prototype))?ke=void 0:Ke(ke)&&(ke=ke[Ne],ke===null&&(ke=void 0))),ke===void 0?Array:ke}},"./node_modules/core-js/internals/array-species-create.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/array-species-constructor.js");Ae.exports=function(Be,_e){return new(Ke(Be))(_e===0?0:_e)}},"./node_modules/core-js/internals/classof-raw.js":function(Ae){var xe={}.toString;Ae.exports=function(fe){return xe.call(fe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/classof-raw.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ne=_e("toStringTag"),Qe=Be(function(){return arguments}())=="Arguments",ke=function(Pe,Te){try{return Pe[Te]}catch(Ye){}};Ae.exports=Ke?Be:function(Pe){var Te,Ye,ze;return Pe===void 0?"Undefined":Pe===null?"Null":typeof(Ye=ke(Te=Object(Pe),Ne))=="string"?Ye:Qe?Be(Te):(ze=Be(Te))=="Object"&&typeof Te.callee=="function"?"Arguments":ze}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/own-keys.js"),_e=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Ne=fe("./node_modules/core-js/internals/object-define-property.js");Ae.exports=function(Qe,ke){for(var Pe=Be(ke),Te=Ne.f,Ye=_e.f,ze=0;ze"+Te+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Be=fe("./node_modules/core-js/internals/object-create.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js"),Ne=fe("./node_modules/core-js/internals/set-to-string-tag.js"),Qe=fe("./node_modules/core-js/internals/iterators.js"),ke=function(){return this};Ae.exports=function(Pe,Te,Ye){var ze=Te+" Iterator";return Pe.prototype=Be(Ke,{next:_e(1,Ye)}),Ne(Pe,ze,!1,!0),Qe[ze]=ke,Pe}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js");Ae.exports=Ke?function(Ne,Qe,ke){return Be.f(Ne,Qe,_e(1,ke))}:function(Ne,Qe,ke){return Ne[Qe]=ke,Ne}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Ae){Ae.exports=function(xe,fe){return{enumerable:!(xe&1),configurable:!(xe&2),writable:!(xe&4),value:fe}}},"./node_modules/core-js/internals/create-property.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/to-property-key.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js");Ae.exports=function(Ne,Qe,ke){var Pe=Ke(Qe);Pe in Ne?Be.f(Ne,Pe,_e(0,ke)):Ne[Pe]=ke}},"./node_modules/core-js/internals/define-iterator.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/create-iterator-constructor.js"),_e=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),Ne=fe("./node_modules/core-js/internals/object-set-prototype-of.js"),Qe=fe("./node_modules/core-js/internals/set-to-string-tag.js"),ke=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Pe=fe("./node_modules/core-js/internals/redefine.js"),Te=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ye=fe("./node_modules/core-js/internals/is-pure.js"),ze=fe("./node_modules/core-js/internals/iterators.js"),qe=fe("./node_modules/core-js/internals/iterators-core.js"),We=qe.IteratorPrototype,Ze=qe.BUGGY_SAFARI_ITERATORS,et=Te("iterator"),rt="keys",ht="values",dt="entries",Ct=function(){return this};Ae.exports=function(Xe,Lt,Re,Ht,Et,bt,Tt){Be(Re,Lt,Ht);var wt=function(dn){if(dn===Et&&Vt)return Vt;if(!Ze&&dn in at)return at[dn];switch(dn){case rt:return function(){return new Re(this,dn)};case ht:return function(){return new Re(this,dn)};case dt:return function(){return new Re(this,dn)}}return function(){return new Re(this)}},it=Lt+" Iterator",Ue=!1,at=Xe.prototype,Xt=at[et]||at["@@iterator"]||Et&&at[Et],Vt=!Ze&&Xt||wt(Et),xt=Lt=="Array"&&at.entries||Xt,Qt,An,Tn;if(xt&&(Qt=_e(xt.call(new Xe)),We!==Object.prototype&&Qt.next&&(!Ye&&_e(Qt)!==We&&(Ne?Ne(Qt,We):typeof Qt[et]!="function"&&ke(Qt,et,Ct)),Qe(Qt,it,!0,!0),Ye&&(ze[it]=Ct))),Et==ht&&Xt&&Xt.name!==ht&&(Ue=!0,Vt=function(){return Xt.call(this)}),(!Ye||Tt)&&at[et]!==Vt&&ke(at,et,Vt),ze[Lt]=Vt,Et)if(An={values:wt(ht),keys:bt?Vt:wt(rt),entries:wt(dt)},Tt)for(Tn in An)(Ze||Ue||!(Tn in at))&&Pe(at,Tn,An[Tn]);else Ke({target:Lt,proto:!0,forced:Ze||Ue},An);return An}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/path.js"),Be=fe("./node_modules/core-js/internals/has.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ne=fe("./node_modules/core-js/internals/object-define-property.js").f;Ae.exports=function(Qe){var ke=Ke.Symbol||(Ke.Symbol={});Be(ke,Qe)||Ne(ke,Qe,{value:_e.f(Qe)})}},"./node_modules/core-js/internals/descriptors.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!Ke(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/is-object.js"),_e=Ke.document,Ne=Be(_e)&&Be(_e.createElement);Ae.exports=function(Qe){return Ne?_e.createElement(Qe):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Ae){Ae.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=Ke("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/engine-user-agent.js"),_e=Ke.process,Ne=Ke.Deno,Qe=_e&&_e.versions||Ne&&Ne.version,ke=Qe&&Qe.v8,Pe,Te;ke?(Pe=ke.split("."),Te=Pe[0]<4?1:Pe[0]+Pe[1]):Be&&(Pe=Be.match(/Edge\/(\d+)/),(!Pe||Pe[1]>=74)&&(Pe=Be.match(/Chrome\/(\d+)/),Pe&&(Te=Pe[1]))),Ae.exports=Te&&+Te},"./node_modules/core-js/internals/enum-bug-keys.js":function(Ae){Ae.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,_e=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ne=fe("./node_modules/core-js/internals/redefine.js"),Qe=fe("./node_modules/core-js/internals/set-global.js"),ke=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Pe=fe("./node_modules/core-js/internals/is-forced.js");Ae.exports=function(Te,Ye){var ze=Te.target,qe=Te.global,We=Te.stat,Ze,et,rt,ht,dt,Ct;if(qe?et=Ke:We?et=Ke[ze]||Qe(ze,{}):et=(Ke[ze]||{}).prototype,et)for(rt in Ye){if(dt=Ye[rt],Te.noTargetGet?(Ct=Be(et,rt),ht=Ct&&Ct.value):ht=et[rt],Ze=Pe(qe?rt:ze+(We?".":"#")+rt,Te.forced),!Ze&&ht!==void 0){if(typeof dt==typeof ht)continue;ke(dt,ht)}(Te.sham||ht&&ht.sham)&&_e(dt,"sham",!0),Ne(et,rt,dt,Te)}}},"./node_modules/core-js/internals/fails.js":function(Ae){Ae.exports=function(xe){try{return!!xe()}catch(fe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/a-function.js");Ae.exports=function(Be,_e,Ne){if(Ke(Be),_e===void 0)return Be;switch(Ne){case 0:return function(){return Be.call(_e)};case 1:return function(Qe){return Be.call(_e,Qe)};case 2:return function(Qe,ke){return Be.call(_e,Qe,ke)};case 3:return function(Qe,ke,Pe){return Be.call(_e,Qe,ke,Pe)}}return function(){return Be.apply(_e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=function(_e){return typeof _e=="function"?_e:void 0};Ae.exports=function(_e,Ne){return arguments.length<2?Be(Ke[_e]):Ke[_e]&&Ke[_e][Ne]}},"./node_modules/core-js/internals/global.js":function(Ae){var xe=function(fe){return fe&&fe.Math==Math&&fe};Ae.exports=xe(typeof globalThis=="object"&&globalThis)||xe(typeof window=="object"&&window)||xe(typeof self=="object"&&self)||xe(typeof de.g=="object"&&de.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-object.js"),Be={}.hasOwnProperty;Ae.exports=Object.hasOwn||function(Ne,Qe){return Be.call(Ke(Ne),Qe)}},"./node_modules/core-js/internals/hidden-keys.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/html.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/get-built-in.js");Ae.exports=Ke("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/document-create-element.js");Ae.exports=!Ke&&!Be(function(){return Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/classof-raw.js"),_e="".split;Ae.exports=Ke(function(){return!Object("z").propertyIsEnumerable(0)})?function(Ne){return Be(Ne)=="String"?_e.call(Ne,""):Object(Ne)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/object-set-prototype-of.js");Ae.exports=function(_e,Ne,Qe){var ke,Pe;return Be&&typeof(ke=Ne.constructor)=="function"&&ke!==Qe&&Ke(Pe=ke.prototype)&&Pe!==Qe.prototype&&Be(_e,Pe),_e}},"./node_modules/core-js/internals/inspect-source.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/shared-store.js"),Be=Function.toString;typeof Ke.inspectSource!="function"&&(Ke.inspectSource=function(_e){return Be.call(_e)}),Ae.exports=Ke.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/native-weak-map.js"),Be=fe("./node_modules/core-js/internals/global.js"),_e=fe("./node_modules/core-js/internals/is-object.js"),Ne=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Qe=fe("./node_modules/core-js/internals/has.js"),ke=fe("./node_modules/core-js/internals/shared-store.js"),Pe=fe("./node_modules/core-js/internals/shared-key.js"),Te=fe("./node_modules/core-js/internals/hidden-keys.js"),Ye="Object already initialized",ze=Be.WeakMap,qe,We,Ze,et=function(Re){return Ze(Re)?We(Re):qe(Re,{})},rt=function(Re){return function(Ht){var Et;if(!_e(Ht)||(Et=We(Ht)).type!==Re)throw TypeError("Incompatible receiver, "+Re+" required");return Et}};if(Ke||ke.state){var ht=ke.state||(ke.state=new ze),dt=ht.get,Ct=ht.has,Xe=ht.set;qe=function(Re,Ht){if(Ct.call(ht,Re))throw new TypeError(Ye);return Ht.facade=Re,Xe.call(ht,Re,Ht),Ht},We=function(Re){return dt.call(ht,Re)||{}},Ze=function(Re){return Ct.call(ht,Re)}}else{var Lt=Pe("state");Te[Lt]=!0,qe=function(Re,Ht){if(Qe(Re,Lt))throw new TypeError(Ye);return Ht.facade=Re,Ne(Re,Lt,Ht),Ht},We=function(Re){return Qe(Re,Lt)?Re[Lt]:{}},Ze=function(Re){return Qe(Re,Lt)}}Ae.exports={set:qe,get:We,has:Ze,enforce:et,getterFor:rt}},"./node_modules/core-js/internals/is-array.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/classof-raw.js");Ae.exports=Array.isArray||function(_e){return Ke(_e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js"),Be=/#|\.prototype\./,_e=function(Te,Ye){var ze=Qe[Ne(Te)];return ze==Pe?!0:ze==ke?!1:typeof Ye=="function"?Ke(Ye):!!Ye},Ne=_e.normalize=function(Te){return String(Te).replace(Be,".").toLowerCase()},Qe=_e.data={},ke=_e.NATIVE="N",Pe=_e.POLYFILL="P";Ae.exports=_e},"./node_modules/core-js/internals/is-object.js":function(Ae){Ae.exports=function(xe){return typeof xe=="object"?xe!==null:typeof xe=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Ae){Ae.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/get-built-in.js"),Be=fe("./node_modules/core-js/internals/use-symbol-as-uid.js");Ae.exports=Be?function(_e){return typeof _e=="symbol"}:function(_e){var Ne=Ke("Symbol");return typeof Ne=="function"&&Object(_e)instanceof Ne}},"./node_modules/core-js/internals/iterators-core.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/fails.js"),Be=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),_e=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ne=fe("./node_modules/core-js/internals/has.js"),Qe=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=fe("./node_modules/core-js/internals/is-pure.js"),Pe=Qe("iterator"),Te=!1,Ye=function(){return this},ze,qe,We;[].keys&&(We=[].keys(),"next"in We?(qe=Be(Be(We)),qe!==Object.prototype&&(ze=qe)):Te=!0);var Ze=ze==null||Ke(function(){var et={};return ze[Pe].call(et)!==et});Ze&&(ze={}),(!ke||Ze)&&!Ne(ze,Pe)&&_e(ze,Pe,Ye),Ae.exports={IteratorPrototype:ze,BUGGY_SAFARI_ITERATORS:Te}},"./node_modules/core-js/internals/iterators.js":function(Ae){Ae.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/engine-v8-version.js"),Be=fe("./node_modules/core-js/internals/fails.js");Ae.exports=!!Object.getOwnPropertySymbols&&!Be(function(){var _e=Symbol();return!String(_e)||!(Object(_e)instanceof Symbol)||!Symbol.sham&&Ke&&Ke<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/inspect-source.js"),_e=Ke.WeakMap;Ae.exports=typeof _e=="function"&&/native code/.test(Be(_e))},"./node_modules/core-js/internals/object-assign.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/object-keys.js"),Ne=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Qe=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ke=fe("./node_modules/core-js/internals/to-object.js"),Pe=fe("./node_modules/core-js/internals/indexed-object.js"),Te=Object.assign,Ye=Object.defineProperty;Ae.exports=!Te||Be(function(){if(Ke&&Te({b:1},Te(Ye({},"a",{enumerable:!0,get:function(){Ye(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ze={},qe={},We=Symbol(),Ze="abcdefghijklmnopqrst";return ze[We]=7,Ze.split("").forEach(function(et){qe[et]=et}),Te({},ze)[We]!=7||_e(Te({},qe)).join("")!=Ze})?function(qe,We){for(var Ze=ke(qe),et=arguments.length,rt=1,ht=Ne.f,dt=Qe.f;et>rt;)for(var Ct=Pe(arguments[rt++]),Xe=ht?_e(Ct).concat(ht(Ct)):_e(Ct),Lt=Xe.length,Re=0,Ht;Lt>Re;)Ht=Xe[Re++],(!Ke||dt.call(Ct,Ht))&&(Ze[Ht]=Ct[Ht]);return Ze}:Te},"./node_modules/core-js/internals/object-create.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/an-object.js"),Be=fe("./node_modules/core-js/internals/object-define-properties.js"),_e=fe("./node_modules/core-js/internals/enum-bug-keys.js"),Ne=fe("./node_modules/core-js/internals/hidden-keys.js"),Qe=fe("./node_modules/core-js/internals/html.js"),ke=fe("./node_modules/core-js/internals/document-create-element.js"),Pe=fe("./node_modules/core-js/internals/shared-key.js"),Te=">",Ye="<",ze="prototype",qe="script",We=Pe("IE_PROTO"),Ze=function(){},et=function(Xe){return Ye+qe+Te+Xe+Ye+"/"+qe+Te},rt=function(Xe){Xe.write(et("")),Xe.close();var Lt=Xe.parentWindow.Object;return Xe=null,Lt},ht=function(){var Xe=ke("iframe"),Lt="java"+qe+":",Re;if(Xe.style)return Xe.style.display="none",Qe.appendChild(Xe),Xe.src=String(Lt),Re=Xe.contentWindow.document,Re.open(),Re.write(et("document.F=Object")),Re.close(),Re.F},dt,Ct=function(){try{dt=new ActiveXObject("htmlfile")}catch(Lt){}Ct=document.domain&&dt?rt(dt):ht()||rt(dt);for(var Xe=_e.length;Xe--;)delete Ct[ze][_e[Xe]];return Ct()};Ne[We]=!0,Ae.exports=Object.create||function(Lt,Re){var Ht;return Lt!==null?(Ze[ze]=Ke(Lt),Ht=new Ze,Ze[ze]=null,Ht[We]=Lt):Ht=Ct(),Re===void 0?Ht:Be(Ht,Re)}},"./node_modules/core-js/internals/object-define-properties.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-define-property.js"),_e=fe("./node_modules/core-js/internals/an-object.js"),Ne=fe("./node_modules/core-js/internals/object-keys.js");Ae.exports=Ke?Object.defineProperties:function(ke,Pe){_e(ke);for(var Te=Ne(Pe),Ye=Te.length,ze=0,qe;Ye>ze;)Be.f(ke,qe=Te[ze++],Pe[qe]);return ke}},"./node_modules/core-js/internals/object-define-property.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/ie8-dom-define.js"),_e=fe("./node_modules/core-js/internals/an-object.js"),Ne=fe("./node_modules/core-js/internals/to-property-key.js"),Qe=Object.defineProperty;xe.f=Ke?Qe:function(Pe,Te,Ye){if(_e(Pe),Te=Ne(Te),_e(Ye),Be)try{return Qe(Pe,Te,Ye)}catch(ze){}if("get"in Ye||"set"in Ye)throw TypeError("Accessors not supported");return"value"in Ye&&(Pe[Te]=Ye.value),Pe}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/descriptors.js"),Be=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),_e=fe("./node_modules/core-js/internals/create-property-descriptor.js"),Ne=fe("./node_modules/core-js/internals/to-indexed-object.js"),Qe=fe("./node_modules/core-js/internals/to-property-key.js"),ke=fe("./node_modules/core-js/internals/has.js"),Pe=fe("./node_modules/core-js/internals/ie8-dom-define.js"),Te=Object.getOwnPropertyDescriptor;xe.f=Ke?Te:function(ze,qe){if(ze=Ne(ze),qe=Qe(qe),Pe)try{return Te(ze,qe)}catch(We){}if(ke(ze,qe))return _e(!Be.f.call(ze,qe),ze[qe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-names.js").f,_e={}.toString,Ne=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Qe=function(ke){try{return Be(ke)}catch(Pe){return Ne.slice()}};Ae.exports.f=function(Pe){return Ne&&_e.call(Pe)=="[object Window]"?Qe(Pe):Be(Ke(Pe))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/object-keys-internal.js"),Be=fe("./node_modules/core-js/internals/enum-bug-keys.js"),_e=Be.concat("length","prototype");xe.f=Object.getOwnPropertyNames||function(Qe){return Ke(Qe,_e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Ae,xe){xe.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/to-object.js"),_e=fe("./node_modules/core-js/internals/shared-key.js"),Ne=fe("./node_modules/core-js/internals/correct-prototype-getter.js"),Qe=_e("IE_PROTO"),ke=Object.prototype;Ae.exports=Ne?Object.getPrototypeOf:function(Pe){return Pe=Be(Pe),Ke(Pe,Qe)?Pe[Qe]:typeof Pe.constructor=="function"&&Pe instanceof Pe.constructor?Pe.constructor.prototype:Pe instanceof Object?ke:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/has.js"),Be=fe("./node_modules/core-js/internals/to-indexed-object.js"),_e=fe("./node_modules/core-js/internals/array-includes.js").indexOf,Ne=fe("./node_modules/core-js/internals/hidden-keys.js");Ae.exports=function(Qe,ke){var Pe=Be(Qe),Te=0,Ye=[],ze;for(ze in Pe)!Ke(Ne,ze)&&Ke(Pe,ze)&&Ye.push(ze);for(;ke.length>Te;)Ke(Pe,ze=ke[Te++])&&(~_e(Ye,ze)||Ye.push(ze));return Ye}},"./node_modules/core-js/internals/object-keys.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/object-keys-internal.js"),Be=fe("./node_modules/core-js/internals/enum-bug-keys.js");Ae.exports=Object.keys||function(Ne){return Ke(Ne,Be)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Ae,xe){"use strict";var fe={}.propertyIsEnumerable,Ke=Object.getOwnPropertyDescriptor,Be=Ke&&!fe.call({1:2},1);xe.f=Be?function(Ne){var Qe=Ke(this,Ne);return!!Qe&&Qe.enumerable}:fe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/an-object.js"),Be=fe("./node_modules/core-js/internals/a-possible-prototype.js");Ae.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _e=!1,Ne={},Qe;try{Qe=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Qe.call(Ne,[]),_e=Ne instanceof Array}catch(ke){}return function(Pe,Te){return Ke(Pe),Be(Te),_e?Qe.call(Pe,Te):Pe.__proto__=Te,Pe}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/classof.js");Ae.exports=Ke?{}.toString:function(){return"[object "+Be(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-object.js");Ae.exports=function(Be,_e){var Ne,Qe;if(_e==="string"&&typeof(Ne=Be.toString)=="function"&&!Ke(Qe=Ne.call(Be))||typeof(Ne=Be.valueOf)=="function"&&!Ke(Qe=Ne.call(Be))||_e!=="string"&&typeof(Ne=Be.toString)=="function"&&!Ke(Qe=Ne.call(Be)))return Qe;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/get-built-in.js"),Be=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),_e=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ne=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=Ke("Reflect","ownKeys")||function(ke){var Pe=Be.f(Ne(ke)),Te=_e.f;return Te?Pe.concat(Te(ke)):Pe}},"./node_modules/core-js/internals/path.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js");Ae.exports=Ke},"./node_modules/core-js/internals/redefine.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),_e=fe("./node_modules/core-js/internals/has.js"),Ne=fe("./node_modules/core-js/internals/set-global.js"),Qe=fe("./node_modules/core-js/internals/inspect-source.js"),ke=fe("./node_modules/core-js/internals/internal-state.js"),Pe=ke.get,Te=ke.enforce,Ye=String(String).split("String");(Ae.exports=function(ze,qe,We,Ze){var et=Ze?!!Ze.unsafe:!1,rt=Ze?!!Ze.enumerable:!1,ht=Ze?!!Ze.noTargetGet:!1,dt;if(typeof We=="function"&&(typeof qe=="string"&&!_e(We,"name")&&Be(We,"name",qe),dt=Te(We),dt.source||(dt.source=Ye.join(typeof qe=="string"?qe:""))),ze===Ke){rt?ze[qe]=We:Ne(qe,We);return}else et?!ht&&ze[qe]&&(rt=!0):delete ze[qe];rt?ze[qe]=We:Be(ze,qe,We)})(Function.prototype,"toString",function(){return typeof this=="function"&&Pe(this).source||Qe(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/an-object.js");Ae.exports=function(){var Be=Ke(this),_e="";return Be.global&&(_e+="g"),Be.ignoreCase&&(_e+="i"),Be.multiline&&(_e+="m"),Be.dotAll&&(_e+="s"),Be.unicode&&(_e+="u"),Be.sticky&&(_e+="y"),_e}},"./node_modules/core-js/internals/require-object-coercible.js":function(Ae){Ae.exports=function(xe){if(xe==null)throw TypeError("Can't call method on "+xe);return xe}},"./node_modules/core-js/internals/set-global.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js");Ae.exports=function(Be,_e){try{Object.defineProperty(Ke,Be,{value:_e,configurable:!0,writable:!0})}catch(Ne){Ke[Be]=_e}return _e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/object-define-property.js").f,Be=fe("./node_modules/core-js/internals/has.js"),_e=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ne=_e("toStringTag");Ae.exports=function(Qe,ke,Pe){Qe&&!Be(Qe=Pe?Qe:Qe.prototype,Ne)&&Ke(Qe,Ne,{configurable:!0,value:ke})}},"./node_modules/core-js/internals/shared-key.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/shared.js"),Be=fe("./node_modules/core-js/internals/uid.js"),_e=Ke("keys");Ae.exports=function(Ne){return _e[Ne]||(_e[Ne]=Be(Ne))}},"./node_modules/core-js/internals/shared-store.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/set-global.js"),_e="__core-js_shared__",Ne=Ke[_e]||Be(_e,{});Ae.exports=Ne},"./node_modules/core-js/internals/shared.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-pure.js"),Be=fe("./node_modules/core-js/internals/shared-store.js");(Ae.exports=function(_e,Ne){return Be[_e]||(Be[_e]=Ne!==void 0?Ne:{})})("versions",[]).push({version:"3.16.0",mode:Ke?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/fails.js");Ae.exports=function(Be){return Ke(function(){var _e=""[Be]('"');return _e!==_e.toLowerCase()||_e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-integer.js"),Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/require-object-coercible.js"),Ne=function(Qe){return function(ke,Pe){var Te=Be(_e(ke)),Ye=Ke(Pe),ze=Te.length,qe,We;return Ye<0||Ye>=ze?Qe?"":void 0:(qe=Te.charCodeAt(Ye),qe<55296||qe>56319||Ye+1===ze||(We=Te.charCodeAt(Ye+1))<56320||We>57343?Qe?Te.charAt(Ye):qe:Qe?Te.slice(Ye,Ye+2):(qe-55296<<10)+(We-56320)+65536)}};Ae.exports={codeAt:Ne(!1),charAt:Ne(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/require-object-coercible.js"),Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/whitespaces.js"),Ne="["+_e+"]",Qe=RegExp("^"+Ne+Ne+"*"),ke=RegExp(Ne+Ne+"*$"),Pe=function(Te){return function(Ye){var ze=Be(Ke(Ye));return Te&1&&(ze=ze.replace(Qe,"")),Te&2&&(ze=ze.replace(ke,"")),ze}};Ae.exports={start:Pe(1),end:Pe(2),trim:Pe(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.max,_e=Math.min;Ae.exports=function(Ne,Qe){var ke=Ke(Ne);return ke<0?Be(ke+Qe,0):_e(ke,Qe)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/indexed-object.js"),Be=fe("./node_modules/core-js/internals/require-object-coercible.js");Ae.exports=function(_e){return Ke(Be(_e))}},"./node_modules/core-js/internals/to-integer.js":function(Ae){var xe=Math.ceil,fe=Math.floor;Ae.exports=function(Ke){return isNaN(Ke=+Ke)?0:(Ke>0?fe:xe)(Ke)}},"./node_modules/core-js/internals/to-length.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-integer.js"),Be=Math.min;Ae.exports=function(_e){return _e>0?Be(Ke(_e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/require-object-coercible.js");Ae.exports=function(Be){return Object(Ke(Be))}},"./node_modules/core-js/internals/to-primitive.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-object.js"),Be=fe("./node_modules/core-js/internals/is-symbol.js"),_e=fe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Ne=fe("./node_modules/core-js/internals/well-known-symbol.js"),Qe=Ne("toPrimitive");Ae.exports=function(ke,Pe){if(!Ke(ke)||Be(ke))return ke;var Te=ke[Qe],Ye;if(Te!==void 0){if(Pe===void 0&&(Pe="default"),Ye=Te.call(ke,Pe),!Ke(Ye)||Be(Ye))return Ye;throw TypeError("Can't convert object to primitive value")}return Pe===void 0&&(Pe="number"),_e(ke,Pe)}},"./node_modules/core-js/internals/to-property-key.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-primitive.js"),Be=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(_e){var Ne=Ke(_e,"string");return Be(Ne)?Ne:String(Ne)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/well-known-symbol.js"),Be=Ke("toStringTag"),_e={};_e[Be]="z",Ae.exports=String(_e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/is-symbol.js");Ae.exports=function(Be){if(Ke(Be))throw TypeError("Cannot convert a Symbol value to a string");return String(Be)}},"./node_modules/core-js/internals/uid.js":function(Ae){var xe=0,fe=Math.random();Ae.exports=function(Ke){return"Symbol("+String(Ke===void 0?"":Ke)+")_"+(++xe+fe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/native-symbol.js");Ae.exports=Ke&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/well-known-symbol.js");xe.f=Ke},"./node_modules/core-js/internals/well-known-symbol.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/shared.js"),_e=fe("./node_modules/core-js/internals/has.js"),Ne=fe("./node_modules/core-js/internals/uid.js"),Qe=fe("./node_modules/core-js/internals/native-symbol.js"),ke=fe("./node_modules/core-js/internals/use-symbol-as-uid.js"),Pe=Be("wks"),Te=Ke.Symbol,Ye=ke?Te:Te&&Te.withoutSetter||Ne;Ae.exports=function(ze){return(!_e(Pe,ze)||!(Qe||typeof Pe[ze]=="string"))&&(Qe&&_e(Te,ze)?Pe[ze]=Te[ze]:Pe[ze]=Ye("Symbol."+ze)),Pe[ze]}},"./node_modules/core-js/internals/whitespaces.js":function(Ae){Ae.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/fails.js"),_e=fe("./node_modules/core-js/internals/is-array.js"),Ne=fe("./node_modules/core-js/internals/is-object.js"),Qe=fe("./node_modules/core-js/internals/to-object.js"),ke=fe("./node_modules/core-js/internals/to-length.js"),Pe=fe("./node_modules/core-js/internals/create-property.js"),Te=fe("./node_modules/core-js/internals/array-species-create.js"),Ye=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=fe("./node_modules/core-js/internals/well-known-symbol.js"),qe=fe("./node_modules/core-js/internals/engine-v8-version.js"),We=ze("isConcatSpreadable"),Ze=9007199254740991,et="Maximum allowed index exceeded",rt=qe>=51||!Be(function(){var Xe=[];return Xe[We]=!1,Xe.concat()[0]!==Xe}),ht=Ye("concat"),dt=function(Xe){if(!Ne(Xe))return!1;var Lt=Xe[We];return Lt!==void 0?!!Lt:_e(Xe)},Ct=!rt||!ht;Ke({target:"Array",proto:!0,forced:Ct},{concat:function(Lt){var Re=Qe(this),Ht=Te(Re,0),Et=0,bt,Tt,wt,it,Ue;for(bt=-1,wt=arguments.length;btZe)throw TypeError(et);for(Tt=0;Tt=Ze)throw TypeError(et);Pe(Ht,Et++,Ue)}return Ht.length=Et,Ht}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/to-indexed-object.js"),Be=fe("./node_modules/core-js/internals/add-to-unscopables.js"),_e=fe("./node_modules/core-js/internals/iterators.js"),Ne=fe("./node_modules/core-js/internals/internal-state.js"),Qe=fe("./node_modules/core-js/internals/define-iterator.js"),ke="Array Iterator",Pe=Ne.set,Te=Ne.getterFor(ke);Ae.exports=Qe(Array,"Array",function(Ye,ze){Pe(this,{type:ke,target:Ke(Ye),index:0,kind:ze})},function(){var Ye=Te(this),ze=Ye.target,qe=Ye.kind,We=Ye.index++;return!ze||We>=ze.length?(Ye.target=void 0,{value:void 0,done:!0}):qe=="keys"?{value:We,done:!1}:qe=="values"?{value:ze[We],done:!1}:{value:[We,ze[We]],done:!1}},"values"),_e.Arguments=_e.Array,Be("keys"),Be("values"),Be("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/indexed-object.js"),_e=fe("./node_modules/core-js/internals/to-indexed-object.js"),Ne=fe("./node_modules/core-js/internals/array-method-is-strict.js"),Qe=[].join,ke=Be!=Object,Pe=Ne("join",",");Ke({target:"Array",proto:!0,forced:ke||!Pe},{join:function(Ye){return Qe.call(_e(this),Ye===void 0?",":Ye)}})},"./node_modules/core-js/modules/es.array.map.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/array-iteration.js").map,_e=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ne=_e("map");Ke({target:"Array",proto:!0,forced:!Ne},{map:function(ke){return Be(this,ke,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/is-object.js"),_e=fe("./node_modules/core-js/internals/is-array.js"),Ne=fe("./node_modules/core-js/internals/to-absolute-index.js"),Qe=fe("./node_modules/core-js/internals/to-length.js"),ke=fe("./node_modules/core-js/internals/to-indexed-object.js"),Pe=fe("./node_modules/core-js/internals/create-property.js"),Te=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ye=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=Ye("slice"),qe=Te("species"),We=[].slice,Ze=Math.max;Ke({target:"Array",proto:!0,forced:!ze},{slice:function(rt,ht){var dt=ke(this),Ct=Qe(dt.length),Xe=Ne(rt,Ct),Lt=Ne(ht===void 0?Ct:ht,Ct),Re,Ht,Et;if(_e(dt)&&(Re=dt.constructor,typeof Re=="function"&&(Re===Array||_e(Re.prototype))?Re=void 0:Be(Re)&&(Re=Re[qe],Re===null&&(Re=void 0)),Re===Array||Re===void 0))return We.call(dt,Xe,Lt);for(Ht=new(Re===void 0?Array:Re)(Ze(Lt-Xe,0)),Et=0;Xe2){if(wt=rt(wt),it=wt.charCodeAt(0),it===43||it===45){if(Ue=wt.charCodeAt(2),Ue===88||Ue===120)return NaN}else if(it===48){switch(wt.charCodeAt(1)){case 66:case 98:at=2,Xt=49;break;case 79:case 111:at=8,Xt=55;break;default:return+wt}for(Vt=wt.slice(2),xt=Vt.length,Qt=0;QtXt)return NaN;return parseInt(Vt,at)}}return+wt};if(_e(ht,!dt(" 0o1")||!dt("0b1")||dt("+0x1"))){for(var Re=function(wt){var it=arguments.length<1?0:wt,Ue=this;return Ue instanceof Re&&(Xe?ze(function(){Ct.valueOf.call(Ue)}):ke(Ue)!=ht)?Pe(new dt(Lt(it)),Ue,Re):Lt(it)},Ht=Ke?We(dt):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Et=0,bt;Ht.length>Et;Et++)Qe(dt,bt=Ht[Et])&&!Qe(Re,bt)&&et(Re,bt,Ze(dt,bt));Re.prototype=Ct,Ct.constructor=Re,Ne(Be,ht,Re)}},"./node_modules/core-js/modules/es.object.assign.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/object-assign.js");Ke({target:"Object",stat:!0,forced:Object.assign!==Be},{assign:Be})},"./node_modules/core-js/modules/es.object.keys.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/to-object.js"),_e=fe("./node_modules/core-js/internals/object-keys.js"),Ne=fe("./node_modules/core-js/internals/fails.js"),Qe=Ne(function(){_e(1)});Ke({target:"Object",stat:!0,forced:Qe},{keys:function(Pe){return _e(Be(Pe))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/to-string-tag-support.js"),Be=fe("./node_modules/core-js/internals/redefine.js"),_e=fe("./node_modules/core-js/internals/object-to-string.js");Ke||Be(Object.prototype,"toString",_e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/redefine.js"),Be=fe("./node_modules/core-js/internals/an-object.js"),_e=fe("./node_modules/core-js/internals/to-string.js"),Ne=fe("./node_modules/core-js/internals/fails.js"),Qe=fe("./node_modules/core-js/internals/regexp-flags.js"),ke="toString",Pe=RegExp.prototype,Te=Pe[ke],Ye=Ne(function(){return Te.call({source:"a",flags:"b"})!="/a/b"}),ze=Te.name!=ke;(Ye||ze)&&Ke(RegExp.prototype,ke,function(){var We=Be(this),Ze=_e(We.source),et=We.flags,rt=_e(et===void 0&&We instanceof RegExp&&!("flags"in Pe)?Qe.call(We):et);return"/"+Ze+"/"+rt},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/string-multibyte.js").charAt,Be=fe("./node_modules/core-js/internals/to-string.js"),_e=fe("./node_modules/core-js/internals/internal-state.js"),Ne=fe("./node_modules/core-js/internals/define-iterator.js"),Qe="String Iterator",ke=_e.set,Pe=_e.getterFor(Qe);Ne(String,"String",function(Te){ke(this,{type:Qe,string:Be(Te),index:0})},function(){var Ye=Pe(this),ze=Ye.string,qe=Ye.index,We;return qe>=ze.length?{value:void 0,done:!0}:(We=Ke(ze,qe),Ye.index+=We.length,{value:We,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/create-html.js"),_e=fe("./node_modules/core-js/internals/string-html-forced.js");Ke({target:"String",proto:!0,forced:_e("link")},{link:function(Qe){return Be(this,"a","href",Qe)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/descriptors.js"),_e=fe("./node_modules/core-js/internals/global.js"),Ne=fe("./node_modules/core-js/internals/has.js"),Qe=fe("./node_modules/core-js/internals/is-object.js"),ke=fe("./node_modules/core-js/internals/object-define-property.js").f,Pe=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),Te=_e.Symbol;if(Be&&typeof Te=="function"&&(!("description"in Te.prototype)||Te().description!==void 0)){var Ye={},ze=function(){var ht=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),dt=this instanceof ze?new Te(ht):ht===void 0?Te():Te(ht);return ht===""&&(Ye[dt]=!0),dt};Pe(ze,Te);var qe=ze.prototype=Te.prototype;qe.constructor=ze;var We=qe.toString,Ze=String(Te("test"))=="Symbol(test)",et=/^Symbol\((.*)\)[^)]+$/;ke(qe,"description",{configurable:!0,get:function(){var ht=Qe(this)?this.valueOf():this,dt=We.call(ht);if(Ne(Ye,ht))return"";var Ct=Ze?dt.slice(7,-1):dt.replace(et,"$1");return Ct===""?void 0:Ct}}),Ke({global:!0,forced:!0},{Symbol:ze})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/define-well-known-symbol.js");Ke("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Ae,xe,fe){"use strict";var Ke=fe("./node_modules/core-js/internals/export.js"),Be=fe("./node_modules/core-js/internals/global.js"),_e=fe("./node_modules/core-js/internals/get-built-in.js"),Ne=fe("./node_modules/core-js/internals/is-pure.js"),Qe=fe("./node_modules/core-js/internals/descriptors.js"),ke=fe("./node_modules/core-js/internals/native-symbol.js"),Pe=fe("./node_modules/core-js/internals/fails.js"),Te=fe("./node_modules/core-js/internals/has.js"),Ye=fe("./node_modules/core-js/internals/is-array.js"),ze=fe("./node_modules/core-js/internals/is-object.js"),qe=fe("./node_modules/core-js/internals/is-symbol.js"),We=fe("./node_modules/core-js/internals/an-object.js"),Ze=fe("./node_modules/core-js/internals/to-object.js"),et=fe("./node_modules/core-js/internals/to-indexed-object.js"),rt=fe("./node_modules/core-js/internals/to-property-key.js"),ht=fe("./node_modules/core-js/internals/to-string.js"),dt=fe("./node_modules/core-js/internals/create-property-descriptor.js"),Ct=fe("./node_modules/core-js/internals/object-create.js"),Xe=fe("./node_modules/core-js/internals/object-keys.js"),Lt=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),Re=fe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Ht=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Et=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),bt=fe("./node_modules/core-js/internals/object-define-property.js"),Tt=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),wt=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),it=fe("./node_modules/core-js/internals/redefine.js"),Ue=fe("./node_modules/core-js/internals/shared.js"),at=fe("./node_modules/core-js/internals/shared-key.js"),Xt=fe("./node_modules/core-js/internals/hidden-keys.js"),Vt=fe("./node_modules/core-js/internals/uid.js"),xt=fe("./node_modules/core-js/internals/well-known-symbol.js"),Qt=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),An=fe("./node_modules/core-js/internals/define-well-known-symbol.js"),Tn=fe("./node_modules/core-js/internals/set-to-string-tag.js"),dn=fe("./node_modules/core-js/internals/internal-state.js"),Gn=fe("./node_modules/core-js/internals/array-iteration.js").forEach,Cn=at("hidden"),mn="Symbol",Bn="prototype",Se=xt("toPrimitive"),Fe=dn.set,ie=dn.getterFor(mn),ae=Object[Bn],se=Be.Symbol,oe=_e("JSON","stringify"),Je=Et.f,vt=bt.f,$e=Re.f,lt=Tt.f,Pt=Ue("symbols"),_t=Ue("op-symbols"),kt=Ue("string-to-symbol-registry"),$t=Ue("symbol-to-string-registry"),Sn=Ue("wks"),St=Be.QObject,nn=!St||!St[Bn]||!St[Bn].findChild,tn=Qe&&Pe(function(){return Ct(vt({},"a",{get:function(){return vt(this,"a",{value:7}).a}})).a!=7})?function(Rr,Sr,fr){var Vr=Je(ae,Sr);Vr&&delete ae[Sr],vt(Rr,Sr,fr),Vr&&Rr!==ae&&vt(ae,Sr,Vr)}:vt,jt=function(Rr,Sr){var fr=Pt[Rr]=Ct(se[Bn]);return Fe(fr,{type:mn,tag:Rr,description:Sr}),Qe||(fr.description=Sr),fr},pt=function(Sr,fr,Vr){Sr===ae&&pt(_t,fr,Vr),We(Sr);var Bi=rt(fr);return We(Vr),Te(Pt,Bi)?(Vr.enumerable?(Te(Sr,Cn)&&Sr[Cn][Bi]&&(Sr[Cn][Bi]=!1),Vr=Ct(Vr,{enumerable:dt(0,!1)})):(Te(Sr,Cn)||vt(Sr,Cn,dt(1,{})),Sr[Cn][Bi]=!0),tn(Sr,Bi,Vr)):vt(Sr,Bi,Vr)},Zt=function(Sr,fr){We(Sr);var Vr=et(fr),Bi=Xe(Vr).concat(Dr(Vr));return Gn(Bi,function(yi){(!Qe||wn.call(Vr,yi))&&pt(Sr,yi,Vr[yi])}),Sr},gn=function(Sr,fr){return fr===void 0?Ct(Sr):Zt(Ct(Sr),fr)},wn=function(Sr){var fr=rt(Sr),Vr=lt.call(this,fr);return this===ae&&Te(Pt,fr)&&!Te(_t,fr)?!1:Vr||!Te(this,fr)||!Te(Pt,fr)||Te(this,Cn)&&this[Cn][fr]?Vr:!0},Xn=function(Sr,fr){var Vr=et(Sr),Bi=rt(fr);if(!(Vr===ae&&Te(Pt,Bi)&&!Te(_t,Bi))){var yi=Je(Vr,Bi);return yi&&Te(Pt,Bi)&&!(Te(Vr,Cn)&&Vr[Cn][Bi])&&(yi.enumerable=!0),yi}},yr=function(Sr){var fr=$e(et(Sr)),Vr=[];return Gn(fr,function(Bi){!Te(Pt,Bi)&&!Te(Xt,Bi)&&Vr.push(Bi)}),Vr},Dr=function(Sr){var fr=Sr===ae,Vr=$e(fr?_t:et(Sr)),Bi=[];return Gn(Vr,function(yi){Te(Pt,yi)&&(!fr||Te(ae,yi))&&Bi.push(Pt[yi])}),Bi};if(ke||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var Sr=!arguments.length||arguments[0]===void 0?void 0:ht(arguments[0]),fr=Vt(Sr),Vr=function(Bi){this===ae&&Vr.call(_t,Bi),Te(this,Cn)&&Te(this[Cn],fr)&&(this[Cn][fr]=!1),tn(this,fr,dt(1,Bi))};return Qe&&nn&&tn(ae,fr,{configurable:!0,set:Vr}),jt(fr,Sr)},it(se[Bn],"toString",function(){return ie(this).tag}),it(se,"withoutSetter",function(Rr){return jt(Vt(Rr),Rr)}),Tt.f=wn,bt.f=pt,Et.f=Xn,Lt.f=Re.f=yr,Ht.f=Dr,Qt.f=function(Rr){return jt(xt(Rr),Rr)},Qe&&(vt(se[Bn],"description",{configurable:!0,get:function(){return ie(this).description}}),Ne||it(ae,"propertyIsEnumerable",wn,{unsafe:!0}))),Ke({global:!0,wrap:!0,forced:!ke,sham:!ke},{Symbol:se}),Gn(Xe(Sn),function(Rr){An(Rr)}),Ke({target:mn,stat:!0,forced:!ke},{for:function(Rr){var Sr=ht(Rr);if(Te(kt,Sr))return kt[Sr];var fr=se(Sr);return kt[Sr]=fr,$t[fr]=Sr,fr},keyFor:function(Sr){if(!qe(Sr))throw TypeError(Sr+" is not a symbol");if(Te($t,Sr))return $t[Sr]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),Ke({target:"Object",stat:!0,forced:!ke,sham:!Qe},{create:gn,defineProperty:pt,defineProperties:Zt,getOwnPropertyDescriptor:Xn}),Ke({target:"Object",stat:!0,forced:!ke},{getOwnPropertyNames:yr,getOwnPropertySymbols:Dr}),Ke({target:"Object",stat:!0,forced:Pe(function(){Ht.f(1)})},{getOwnPropertySymbols:function(Sr){return Ht.f(Ze(Sr))}}),oe){var Tr=!ke||Pe(function(){var Rr=se();return oe([Rr])!="[null]"||oe({a:Rr})!="{}"||oe(Object(Rr))!="{}"});Ke({target:"JSON",stat:!0,forced:Tr},{stringify:function(Sr,fr,Vr){for(var Bi=[Sr],yi=1,mi;arguments.length>yi;)Bi.push(arguments[yi++]);if(mi=fr,!(!ze(fr)&&Sr===void 0||qe(Sr)))return Ye(fr)||(fr=function(Vi,ua){if(typeof mi=="function"&&(ua=mi.call(this,Vi,ua)),!qe(ua))return ua}),Bi[1]=fr,oe.apply(null,Bi)}})}se[Bn][Se]||wt(se[Bn],Se,se[Bn].valueOf),Tn(se,mn),Xt[Cn]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/dom-iterables.js"),_e=fe("./node_modules/core-js/internals/array-for-each.js"),Ne=fe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Qe in Be){var ke=Ke[Qe],Pe=ke&&ke.prototype;if(Pe&&Pe.forEach!==_e)try{Ne(Pe,"forEach",_e)}catch(Te){Pe.forEach=_e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Ae,xe,fe){var Ke=fe("./node_modules/core-js/internals/global.js"),Be=fe("./node_modules/core-js/internals/dom-iterables.js"),_e=fe("./node_modules/core-js/modules/es.array.iterator.js"),Ne=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Qe=fe("./node_modules/core-js/internals/well-known-symbol.js"),ke=Qe("iterator"),Pe=Qe("toStringTag"),Te=_e.values;for(var Ye in Be){var ze=Ke[Ye],qe=ze&&ze.prototype;if(qe){if(qe[ke]!==Te)try{Ne(qe,ke,Te)}catch(Ze){qe[ke]=Te}if(qe[Pe]||Ne(qe,Pe,Ye),Be[Ye]){for(var We in _e)if(qe[We]!==_e[We])try{Ne(qe,We,_e[We])}catch(Ze){qe[We]=_e[We]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Ae){(function(xe,fe){Ae.exports=fe()})(this,function(){"use strict";function xe(St){var nn=typeof St;return St!==null&&(nn==="object"||nn==="function")}function fe(St){return typeof St=="function"}var Ke=void 0;Array.isArray?Ke=Array.isArray:Ke=function(St){return Object.prototype.toString.call(St)==="[object Array]"};var Be=Ke,_e=0,Ne=void 0,Qe=void 0,ke=function(nn,tn){Xe[_e]=nn,Xe[_e+1]=tn,_e+=2,_e===2&&(Qe?Qe(Lt):Ht())};function Pe(St){Qe=St}function Te(St){ke=St}var Ye=typeof window!="undefined"?window:void 0,ze=Ye||{},qe=ze.MutationObserver||ze.WebKitMutationObserver,We=typeof self=="undefined"&&typeof he!="undefined"&&{}.toString.call(he)==="[object process]",Ze=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function et(){return function(){return he.nextTick(Lt)}}function rt(){return typeof Ne!="undefined"?function(){Ne(Lt)}:Ct()}function ht(){var St=0,nn=new qe(Lt),tn=document.createTextNode("");return nn.observe(tn,{characterData:!0}),function(){tn.data=St=++St%2}}function dt(){var St=new MessageChannel;return St.port1.onmessage=Lt,function(){return St.port2.postMessage(0)}}function Ct(){var St=setTimeout;return function(){return St(Lt,1)}}var Xe=new Array(1e3);function Lt(){for(var St=0;St<_e;St+=2){var nn=Xe[St],tn=Xe[St+1];nn(tn),Xe[St]=void 0,Xe[St+1]=void 0}_e=0}function Re(){try{var St=Function("return this")().require("vertx");return Ne=St.runOnLoop||St.runOnContext,rt()}catch(nn){return Ct()}}var Ht=void 0;We?Ht=et():qe?Ht=ht():Ze?Ht=dt():Ye===void 0?Ht=Re():Ht=Ct();function Et(St,nn){var tn=this,jt=new this.constructor(wt);jt[Tt]===void 0&&oe(jt);var pt=tn._state;if(pt){var Zt=arguments[pt-1];ke(function(){return Fe(pt,jt,Zt,tn._result)})}else Bn(tn,jt,St,nn);return jt}function bt(St){var nn=this;if(St&&typeof St=="object"&&St.constructor===nn)return St;var tn=new nn(wt);return dn(tn,St),tn}var Tt=Math.random().toString(36).substring(2);function wt(){}var it=void 0,Ue=1,at=2;function Xt(){return new TypeError("You cannot resolve a promise with itself")}function Vt(){return new TypeError("A promises callback cannot return that same promise.")}function xt(St,nn,tn,jt){try{St.call(nn,tn,jt)}catch(pt){return pt}}function Qt(St,nn,tn){ke(function(jt){var pt=!1,Zt=xt(tn,nn,function(gn){pt||(pt=!0,nn!==gn?dn(jt,gn):Cn(jt,gn))},function(gn){pt||(pt=!0,mn(jt,gn))},"Settle: "+(jt._label||" unknown promise"));!pt&&Zt&&(pt=!0,mn(jt,Zt))},St)}function An(St,nn){nn._state===Ue?Cn(St,nn._result):nn._state===at?mn(St,nn._result):Bn(nn,void 0,function(tn){return dn(St,tn)},function(tn){return mn(St,tn)})}function Tn(St,nn,tn){nn.constructor===St.constructor&&tn===Et&&nn.constructor.resolve===bt?An(St,nn):tn===void 0?Cn(St,nn):fe(tn)?Qt(St,nn,tn):Cn(St,nn)}function dn(St,nn){if(St===nn)mn(St,Xt());else if(xe(nn)){var tn=void 0;try{tn=nn.then}catch(jt){mn(St,jt);return}Tn(St,nn,tn)}else Cn(St,nn)}function Gn(St){St._onerror&&St._onerror(St._result),Se(St)}function Cn(St,nn){St._state===it&&(St._result=nn,St._state=Ue,St._subscribers.length!==0&&ke(Se,St))}function mn(St,nn){St._state===it&&(St._state=at,St._result=nn,ke(Gn,St))}function Bn(St,nn,tn,jt){var pt=St._subscribers,Zt=pt.length;St._onerror=null,pt[Zt]=nn,pt[Zt+Ue]=tn,pt[Zt+at]=jt,Zt===0&&St._state&&ke(Se,St)}function Se(St){var nn=St._subscribers,tn=St._state;if(nn.length!==0){for(var jt=void 0,pt=void 0,Zt=St._result,gn=0;gn>1,fe=-7,Ke=Me?ft-1:0,Be=Me?-1:1,_e=de[he+Ke];for(Ke+=Be,Oe=_e&(1<<-fe)-1,_e>>=-fe,fe+=ve;fe>0;Oe=Oe*256+de[he+Ke],Ke+=Be,fe-=8);for(Le=Oe&(1<<-fe)-1,Oe>>=-fe,fe+=He;fe>0;Le=Le*256+de[he+Ke],Ke+=Be,fe-=8);if(Oe===0)Oe=1-xe;else{if(Oe===Ae)return Le?NaN:(_e?-1:1)*(1/0);Le=Le+Math.pow(2,He),Oe=Oe-xe}return(_e?-1:1)*Le*Math.pow(2,Oe-He)},Yt.write=function(de,he,Me,He,ft,Oe){var Le,ve,Ae,xe=Oe*8-ft-1,fe=(1<>1,Be=ft===23?Math.pow(2,-24)-Math.pow(2,-77):0,_e=He?0:Oe-1,Ne=He?1:-1,Qe=he<0||he===0&&1/he<0?1:0;for(he=Math.abs(he),isNaN(he)||he===1/0?(ve=isNaN(he)?1:0,Le=fe):(Le=Math.floor(Math.log(he)/Math.LN2),he*(Ae=Math.pow(2,-Le))<1&&(Le--,Ae*=2),Le+Ke>=1?he+=Be/Ae:he+=Be*Math.pow(2,1-Ke),he*Ae>=2&&(Le++,Ae/=2),Le+Ke>=fe?(ve=0,Le=fe):Le+Ke>=1?(ve=(he*Ae-1)*Math.pow(2,ft),Le=Le+Ke):(ve=he*Math.pow(2,Ke-1)*Math.pow(2,ft),Le=0));ft>=8;de[Me+_e]=ve&255,_e+=Ne,ve/=256,ft-=8);for(Le=Le<0;de[Me+_e]=Le&255,_e+=Ne,Le/=256,xe-=8);de[Me+_e-Ne]|=Qe*128}},53307:function(Qn,Yt,de){"use strict";de.r(Yt),de.d(Yt,{AcroForm:function(){return NA},AcroFormAppearance:function(){return Eo},AcroFormButton:function(){return sl},AcroFormCheckBox:function(){return lu},AcroFormChoiceField:function(){return Do},AcroFormComboBox:function(){return As},AcroFormEditBox:function(){return us},AcroFormListBox:function(){return Bl},AcroFormPasswordField:function(){return ll},AcroFormPushButton:function(){return Hl},AcroFormRadioButton:function(){return Xs},AcroFormTextField:function(){return Il},GState:function(){return Fp},ShadingPattern:function(){return s0},TilingPattern:function(){return l0},default:function(){return _s},jsPDF:function(){return _s}});var he=de(43749),Me={},He=function(E,ne,te,ce,ge){var Ce=new Worker(Me[ne]||(Me[ne]=URL.createObjectURL(new Blob([E+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Ce.onmessage=function(nt){var Ge=nt.data,ot=Ge.$e$;if(ot){var At=new Error(ot[0]);At.code=ot[1],At.stack=ot[2],ge(At,null)}else ge(null,Ge)},Ce.postMessage(te,ce),Ce},ft=Uint8Array,Oe=Uint16Array,Le=Int32Array,ve=new ft([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ae=new ft([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),xe=new ft([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fe=function(E,ne){for(var te=new Oe(31),ce=0;ce<31;++ce)te[ce]=ne+=1<>1|(Te&21845)<<1;Ye=(Ye&52428)>>2|(Ye&13107)<<2,Ye=(Ye&61680)>>4|(Ye&3855)<<4,Pe[Te]=((Ye&65280)>>8|(Ye&255)<<8)>>1}for(var ze=function(E,ne,te){for(var ce=E.length,ge=0,Ce=new Oe(ne);ge>ot]=At}else for(Ge=new Oe(ce),ge=0;ge>15-E[ge]);return Ge},qe=new ft(288),Te=0;Te<144;++Te)qe[Te]=8;for(var Te=144;Te<256;++Te)qe[Te]=9;for(var Te=256;Te<280;++Te)qe[Te]=7;for(var Te=280;Te<288;++Te)qe[Te]=8;for(var We=new ft(32),Te=0;Te<32;++Te)We[Te]=5;var Ze=ze(qe,9,0),et=null,rt=ze(We,5,0),ht=null,dt=function(E){for(var ne=E[0],te=1;tene&&(ne=E[te]);return ne},Ct=function(E,ne,te){var ce=ne/8|0;return(E[ce]|E[ce+1]<<8)>>(ne&7)&te},Xe=function(E,ne){var te=ne/8|0;return(E[te]|E[te+1]<<8|E[te+2]<<16)>>(ne&7)},Lt=function(E){return(E+7)/8|0},Re=function(E,ne,te){return(ne==null||ne<0)&&(ne=0),(te==null||te>E.length)&&(te=E.length),new ft(E.subarray(ne,te))},Ht={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Et=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],bt=function(E,ne,te){var ce=new Error(ne||Et[E]);if(ce.code=E,Error.captureStackTrace&&Error.captureStackTrace(ce,bt),!te)throw ce;return ce},Tt=function(E,ne,te,ce){var ge=E.length,Ce=ce?ce.length:0;if(!ge||ne.f&&!ne.l)return te||new ft(0);var nt=!te,Ge=nt||ne.i!=2,ot=ne.i;nt&&(te=new ft(ge*3));var At=function(co){var Ho=te.length;if(co>Ho){var Ko=new ft(Math.max(Ho*2,co));Ko.set(te),te=Ko}},Ft=ne.f||0,en=ne.p||0,sn=ne.b||0,Bt=ne.l,zn=ne.d,Nn=ne.m,Yn=ne.n,xn=ge*8;do{if(!Bt){Ft=Ct(E,en,1);var Lr=Ct(E,en+1,3);if(en+=3,Lr)if(Lr==1)Bt=et,zn=ht,Nn=9,Yn=5;else if(Lr==2){var qi=Ct(E,en,31)+257,Qi=Ct(E,en+10,15)+4,zr=qi+Ct(E,en+5,31)+1;en+=14;for(var ur=new ft(zr),ci=new ft(19),yn=0;yn>4;if(xr<16)ur[yn++]=xr;else{var Ui=0,Gi=0;for(xr==16?(Gi=3+Ct(E,en,3),en+=2,Ui=ur[yn-1]):xr==17?(Gi=3+Ct(E,en,7),en+=3):xr==18&&(Gi=11+Ct(E,en,127),en+=7);Gi--;)ur[yn++]=Ui}}var xi=ur.subarray(0,qi),Wi=ur.subarray(qi);Nn=dt(xi),Yn=dt(Wi),Bt=ze(xi,Nn,1),zn=ze(Wi,Yn,1)}else bt(1);else{var xr=Lt(en)+4,sr=E[xr-4]|E[xr-3]<<8,wi=xr+sr;if(wi>ge){ot&&bt(0);break}Ge&&At(sn+sr),te.set(E.subarray(xr,wi),sn),ne.b=sn+=sr,ne.p=en=wi*8,ne.f=Ft;continue}if(en>xn){ot&&bt(0);break}}Ge&&At(sn+131072);for(var mo=(1<>4;if(en+=Ui&15,en>xn){ot&&bt(0);break}if(Ui||bt(2),or<256)te[sn++]=or;else if(or==256){hn=en,Bt=null;break}else{var pr=or-254;if(or>264){var yn=or-257,Nr=ve[yn];pr=Ct(E,en,(1<>4;Xr||bt(3),en+=Xr&15;var Wi=Qe[pi];if(pi>3){var Nr=Ae[pi];Wi+=Xe(E,en)&(1<xn){ot&&bt(0);break}Ge&&At(sn+131072);var Di=sn+pr;if(sn>8},it=function(E,ne,te){te<<=ne&7;var ce=ne/8|0;E[ce]|=te,E[ce+1]|=te>>8,E[ce+2]|=te>>16},Ue=function(E,ne){for(var te=[],ce=0;cesn&&(sn=Ce[ce].s);var Bt=new Oe(sn+1),zn=at(te[Ft-1],Bt,0);if(zn>ne){var ce=0,Nn=0,Yn=zn-ne,xn=1<ne)Nn+=xn-(1<>=Yn;Nn>0;){var xr=Ce[ce].s;Bt[xr]=0&&Nn;--ce){var sr=Ce[ce].s;Bt[sr]==ne&&(--Bt[sr],++Nn)}zn=ne}return{t:new ft(Bt),l:zn}},at=function(E,ne,te){return E.s==-1?Math.max(at(E.l,ne,te+1),at(E.r,ne,te+1)):ne[E.s]=te},Xt=function(E){for(var ne=E.length;ne&&!E[--ne];);for(var te=new Oe(++ne),ce=0,ge=E[0],Ce=1,nt=function(ot){te[ce++]=ot},Ge=1;Ge<=ne;++Ge)if(E[Ge]==ge&&Ge!=ne)++Ce;else{if(!ge&&Ce>2){for(;Ce>138;Ce-=138)nt(32754);Ce>2&&(nt(Ce>10?Ce-11<<5|28690:Ce-3<<5|12305),Ce=0)}else if(Ce>3){for(nt(ge),--Ce;Ce>6;Ce-=6)nt(8304);Ce>2&&(nt(Ce-3<<5|8208),Ce=0)}for(;Ce--;)nt(ge);Ce=1,ge=E[Ge]}return{c:te.subarray(0,ce),n:ne}},Vt=function(E,ne){for(var te=0,ce=0;ce>8,E[ge+2]=E[ge]^255,E[ge+3]=E[ge+1]^255;for(var Ce=0;Ce4&&!ci[xe[qn-1]];--qn);var Mr=At+5<<3,Br=Vt(ge,qe)+Vt(Ce,We)+nt,Fi=Vt(ge,sn)+Vt(Ce,Nn)+nt+14+3*qn+Vt(Qi,ci)+2*Qi[16]+3*Qi[17]+7*Qi[18];if(ot>=0&&Mr<=Br&&Mr<=Fi)return xt(ne,Ft,E.subarray(ot,ot+At));var Ui,Gi,xi,Wi;if(wt(ne,Ft,1+(Fi15&&(wt(ne,Ft,or[zr]>>5&127),Ft+=or[zr]>>12)}}else Ui=Ze,Gi=qe,xi=rt,Wi=We;for(var zr=0;zr255){var pr=Nr>>18&31;it(ne,Ft,Ui[pr+257]),Ft+=Gi[pr+257],pr>7&&(wt(ne,Ft,Nr>>23&31),Ft+=ve[pr]);var Xr=Nr&31;it(ne,Ft,xi[Xr]),Ft+=Wi[Xr],Xr>3&&(it(ne,Ft,Nr>>5&8191),Ft+=Ae[Xr])}else it(ne,Ft,Ui[Nr]),Ft+=Gi[Nr]}return it(ne,Ft,Ui[256]),Ft+Gi[256]},An=new Le([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Tn=new ft(0),dn=function(E,ne,te,ce,ge,Ce){var nt=Ce.z||E.length,Ge=new ft(ce+nt+5*(1+Math.ceil(nt/7e3))+ge),ot=Ge.subarray(ce,Ge.length-ge),At=Ce.l,Ft=(Ce.r||0)&7;if(ne){Ft&&(ot[0]=Ce.r>>3);for(var en=An[ne-1],sn=en>>13,Bt=en&8191,zn=(1<7e3||ci>24576)&&(Ui>423||!At)){Ft=Qt(E,ot,0,sr,wi,qi,zr,ci,qn,ur-qn,Ft),ci=Qi=zr=0,qn=ur;for(var Gi=0;Gi<286;++Gi)wi[Gi]=0;for(var Gi=0;Gi<30;++Gi)qi[Gi]=0}var xi=2,Wi=0,mo=Bt,Ta=Br-Fi&32767;if(Ui>2&&Mr==xr(ur-Ta))for(var hn=Math.min(sn,Ui)-1,or=Math.min(32767,ur),pr=Math.min(258,Ui);Ta<=or&&--mo&&Br!=Fi;){if(E[ur+xi]==E[ur+xi-Ta]){for(var Nr=0;Nrxi){if(xi=Nr,Wi=Ta,Nr>hn)break;for(var Xr=Math.min(Ta,Nr-2),pi=0,Gi=0;Gipi&&(pi=ba,Fi=Di)}}}Br=Fi,Fi=Nn[Br],Ta+=Br-Fi&32767}if(Wi){sr[ci++]=268435456|_e[xi]<<18|ke[Wi];var co=_e[xi]&31,Ho=ke[Wi]&31;zr+=ve[co]+Ae[Ho],++wi[257+co],++qi[Ho],yn=ur+xi,++Qi}else sr[ci++]=E[ur],++wi[E[ur]]}}for(ur=Math.max(ur,yn);ur=nt&&(ot[Ft/8|0]=At,Ko=nt),Ft=xt(ot,Ft+1,E.subarray(ur,Ko))}Ce.i=nt}return Re(Ge,0,ce+Lt(Ft)+ge)},Gn=null,Cn=function(){var E=-1;return{p:function(ne){for(var te=E,ce=0;ce>>8;E=te},d:function(){return~E}}},mn=function(){var E=1,ne=0;return{p:function(te){for(var ce=E,ge=ne,Ce=te.length|0,nt=0;nt!=Ce;){for(var Ge=Math.min(nt+2655,Ce);nt>16),ge=(ge&65535)+15*(ge>>16)}E=ce,ne=ge},d:function(){return E%=65521,ne%=65521,(E&255)<<24|(E&65280)<<8|(ne&255)<<8|ne>>8}}},Bn=function(E,ne,te,ce,ge){if(!ge&&(ge={l:1},ne.dictionary)){var Ce=ne.dictionary.subarray(-32768),nt=new ft(Ce.length+E.length);nt.set(Ce),nt.set(E,Ce.length),E=nt,ge.w=Ce.length}return dn(E,ne.level==null?6:ne.level,ne.mem==null?ge.l?Math.ceil(Math.max(8,Math.min(13,Math.log(E.length)))*1.5):20:12+ne.mem,te,ce,ge)},Se=function(E,ne){var te={};for(var ce in E)te[ce]=E[ce];for(var ce in ne)te[ce]=ne[ce];return te},Fe=function(E,ne,te){for(var ce=E(),ge=E.toString(),Ce=ge.slice(ge.indexOf("[")+1,ge.lastIndexOf("]")).replace(/\s+/g,"").split(","),nt=0;nt>>0},jt=function(E,ne){return tn(E,ne)+tn(E,ne+4)*4294967296},pt=function(E,ne,te){for(;te;++ne)E[ne]=te,te>>>=8},Zt=function(E,ne){var te=ne.filename;if(E[0]=31,E[1]=139,E[2]=8,E[8]=ne.level<2?4:ne.level==9?2:0,E[9]=3,ne.mtime!=0&&pt(E,4,Math.floor(new Date(ne.mtime||Date.now())/1e3)),te){E[3]=8;for(var ce=0;ce<=te.length;++ce)E[ce+10]=te.charCodeAt(ce)}},gn=function(E){(E[0]!=31||E[1]!=139||E[2]!=8)&&bt(6,"invalid gzip data");var ne=E[3],te=10;ne&4&&(te+=(E[10]|E[11]<<8)+2);for(var ce=(ne>>3&1)+(ne>>4&1);ce>0;ce-=!E[te++]);return te+(ne&2)},wn=function(E){var ne=E.length;return(E[ne-4]|E[ne-3]<<8|E[ne-2]<<16|E[ne-1]<<24)>>>0},Xn=function(E){return 10+(E.filename?E.filename.length+1:0)},yr=function(E,ne){var te=ne.level,ce=te==0?0:te<6?1:te==9?3:2;if(E[0]=120,E[1]=ce<<6|(ne.dictionary&&32),E[1]|=31-(E[0]<<8|E[1])%31,ne.dictionary){var ge=mn();ge.p(ne.dictionary),pt(E,2,ge.d())}},Dr=function(E,ne){return((E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31)&&bt(6,"invalid zlib data"),(E[1]>>5&1)==+!ne&&bt(6,"invalid zlib data: "+(E[1]&32?"need":"unexpected")+" dictionary"),(E[1]>>3&4)+2};function Tr(E,ne){return typeof E=="function"&&(ne=E,E={}),this.ondata=ne,E}var Rr=null,Sr=null;function fr(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Je],function(ce){return _t(Vr(ce.data[0],ce.data[1]))},0,te)}function Vr(E,ne){return Bn(E,ne||{},0,0)}var Bi=null,yi=null;function mi(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe],function(ce){return _t(Vi(ce.data[0],kt(ce.data[1])))},1,te)}function Vi(E,ne){return Tt(E,{i:2},ne&&ne.out,ne&&ne.dictionary)}var ua=null,Wr=null;function Mn(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Je,vt,function(){return[ea]}],function(ce){return _t(ea(ce.data[0],ce.data[1]))},2,te)}function ea(E,ne){ne||(ne={});var te=Cn(),ce=E.length;te.p(E);var ge=Bn(E,ne,Xn(ne),8),Ce=ge.length;return Zt(ge,ne),pt(ge,Ce-8,te.d()),pt(ge,Ce-4,ce),ge}var Ea=null,wo=null;function sa(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe,$e,function(){return[Pi]}],function(ce){return _t(Pi(ce.data[0],ce.data[1]))},3,te)}function Pi(E,ne){var te=gn(E);return te+8>E.length&&bt(6,"invalid gzip data"),Tt(E.subarray(te,-8),{i:2},ne&&ne.out||new ft(wn(E)),ne&&ne.dictionary)}var Aa=null,Si=null;function qr(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[Je,lt,function(){return[Ma]}],function(ce){return _t(Ma(ce.data[0],ce.data[1]))},4,te)}function Ma(E,ne){ne||(ne={});var te=mn();te.p(E);var ce=Bn(E,ne,ne.dictionary?6:2,4);return yr(ce,ne),pt(ce,ce.length-4,te.d()),ce}var kn=null,Dt=null;function Gt(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),$t(E,ne,[oe,Pt,function(){return[Wt]}],function(ce){return _t(Wt(ce.data[0],kt(ce.data[1])))},5,te)}function Wt(E,ne){return Tt(E.subarray(Dr(E,ne&&ne.dictionary),-4),{i:2},ne&&ne.out,ne&&ne.dictionary)}var Kt=null,on=null;function _n(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&bt(7),E[0]==31&&E[1]==139&&E[2]==8?sa(E,ne,te):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?mi(E,ne,te):Gt(E,ne,te)}function lr(E,ne){return E[0]==31&&E[1]==139&&E[2]==8?Pi(E,ne):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?Vi(E,ne):Wt(E,ne)}var nr=function(E,ne,te,ce){for(var ge in E){var Ce=E[ge],nt=ne+ge,Ge=ce;Array.isArray(Ce)&&(Ge=Se(ce,Ce[1]),Ce=Ce[0]),Ce instanceof ft?te[nt]=[Ce,Ge]:(te[nt+="/"]=[new ft(0),Ge],nr(Ce,nt,te,ce))}},dr=typeof TextEncoder!="undefined"&&new TextEncoder,Pr=typeof TextDecoder!="undefined"&&new TextDecoder,Ur=0;try{Pr.decode(Tn,{stream:!0}),Ur=1}catch(E){}var ei=function(E){for(var ne="",te=0;;){var ce=E[te++],ge=(ce>127)+(ce>223)+(ce>239);if(te+ge>E.length)return{s:ne,r:Re(E,te-1)};ge?ge==3?(ce=((ce&15)<<18|(E[te++]&63)<<12|(E[te++]&63)<<6|E[te++]&63)-65536,ne+=String.fromCharCode(55296|ce>>10,56320|ce&1023)):ge&1?ne+=String.fromCharCode((ce&31)<<6|E[te++]&63):ne+=String.fromCharCode((ce&15)<<12|(E[te++]&63)<<6|E[te++]&63):ne+=String.fromCharCode(ce)}},er=null,kr=null;function _i(E,ne){if(ne){for(var te=new ft(E.length),ce=0;ce>1)),nt=0,Ge=function(Ft){Ce[nt++]=Ft},ce=0;ceCe.length){var ot=new ft(nt+8+(ge-ce<<1));ot.set(Ce),Ce=ot}var At=E.charCodeAt(ce);At<128||ne?Ge(At):At<2048?(Ge(192|At>>6),Ge(128|At&63)):At>55295&&At<57344?(At=65536+(At&1047552)|E.charCodeAt(++ce)&1023,Ge(240|At>>18),Ge(128|At>>12&63),Ge(128|At>>6&63),Ge(128|At&63)):(Ge(224|At>>12),Ge(128|At>>6&63),Ge(128|At&63))}return Re(Ce,0,nt)}function gi(E,ne){if(ne){for(var te="",ce=0;ce65535&&bt(9),ne+=ce+4}return ne},vn=function(E,ne,te,ce,ge,Ce,nt,Ge){var ot=ce.length,At=te.extra,Ft=Ge&&Ge.length,en=ra(At);pt(E,ne,nt!=null?33639248:67324752),ne+=4,nt!=null&&(E[ne++]=20,E[ne++]=te.os),E[ne]=20,ne+=2,E[ne++]=te.flag<<1|(Ce<0&&8),E[ne++]=ge&&8,E[ne++]=te.compression&255,E[ne++]=te.compression>>8;var sn=new Date(te.mtime==null?Date.now():te.mtime),Bt=sn.getFullYear()-1980;if((Bt<0||Bt>119)&&bt(10),pt(E,ne,Bt<<25|sn.getMonth()+1<<21|sn.getDate()<<16|sn.getHours()<<11|sn.getMinutes()<<5|sn.getSeconds()>>1),ne+=4,Ce!=-1&&(pt(E,ne,te.crc),pt(E,ne+4,Ce<0?-Ce-2:Ce),pt(E,ne+8,te.size)),pt(E,ne+12,ot),pt(E,ne+14,en),ne+=16,nt!=null&&(pt(E,ne,Ft),pt(E,ne+6,te.attrs),pt(E,ne+10,nt),ne+=14),E.set(ce,ne),ne+=ot,en)for(var zn in At){var Nn=At[zn],Yn=Nn.length;pt(E,ne,+zn),pt(E,ne+2,Yn),E.set(Nn,ne+4),ne+=4+Yn}return Ft&&(E.set(Ge,ne),ne+=Ft),ne},gr=function(E,ne,te,ce,ge){pt(E,ne,101010256),pt(E,ne+8,te),pt(E,ne+10,te),pt(E,ne+12,ce),pt(E,ne+16,ge)},Ar=null,jr=null,br=null,Ir=null;function Fr(E,ne,te){te||(te=ne,ne={}),typeof te!="function"&&bt(7);var ce={};nr(E,"",ce,ne);var ge=Object.keys(ce),Ce=ge.length,nt=0,Ge=0,ot=Ce,At=new Array(Ce),Ft=[],en=function(){for(var Yn=0;Yn65535&&Br(bt(11,0,1),null),!Mr)Br(null,xr);else if(qi<16e4)try{Br(null,Vr(xr,sr))}catch(Fi){Br(Fi,null)}else Ft.push(fr(xr,sr,Br))},Nn=0;Nn65535&&bt(11);var xn=Ft?Vr(ot,At):ot,Lr=xn.length,xr=Cn();xr.p(ot),ce.push(Se(At,{size:ot.length,crc:xr.d(),c:xn,f:en,m:zn,u:sn!=nt.length||zn&&Bt.length!=Nn,o:ge,compression:Ft})),ge+=30+sn+Yn+Lr,Ce+=76+2*(sn+Yn)+(Nn||0)+Lr}for(var sr=new ft(Ce+22),wi=ge,qi=Ce-ge,Qi=0;Qi65558)return nt(bt(13,0,1),null),ge;var ot=nn(E,Ge+8);if(ot){var At=ot,Ft=tn(E,Ge+16),en=Ft==4294967295||At==65535;if(en){var sn=tn(E,Ge-12);en=tn(E,sn)==101075792,en&&(At=ot=tn(E,sn+32),Ft=tn(E,sn+48))}for(var Bt=ne&&ne.filter,zn=function(Yn){var xn=Ca(E,Ft,en),Lr=xn[0],xr=xn[1],sr=xn[2],wi=xn[3],qi=xn[4],Qi=xn[5],zr=Mi(E,Qi);Ft=qi;var ur=function(yn,qn){yn?(ge(),nt(yn,null)):(qn&&(Ce[wi]=qn),--ot||nt(null,Ce))};if(!Bt||Bt({name:wi,size:xr,originalSize:sr,compression:Lr}))if(!Lr)ur(null,Re(E,zr,zr+xr));else if(Lr==8){var ci=E.subarray(zr,zr+xr);if(sr<524288||xr>.8*sr)try{ur(null,Vi(ci,{out:new ft(sr)}))}catch(yn){ur(yn,null)}else ce.push(mi(ci,{size:sr},ur))}else ur(bt(14,"unknown compression type "+Lr,1),null);else ur(null,null)},Nn=0;Nn65558)&&bt(13);var ge=nn(E,ce+8);if(!ge)return{};var Ce=tn(E,ce+16),nt=Ce==4294967295||ge==65535;if(nt){var Ge=tn(E,ce-12);nt=tn(E,Ge)==101075792,nt&&(ge=tn(E,Ge+32),Ce=tn(E,Ge+48))}for(var ot=ne&&ne.filter,At=0;At{const E=new Uint8Array(4),ne=new Uint32Array(E.buffer);return!((ne[0]=1)&E[0])})(),La={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class xo{constructor(ne=za,te={}){pc(this,"buffer");pc(this,"byteLength");pc(this,"byteOffset");pc(this,"length");pc(this,"offset");pc(this,"lastWrittenByte");pc(this,"littleEndian");pc(this,"_data");pc(this,"_mark");pc(this,"_marks");let ce=!1;typeof ne=="number"?ne=new ArrayBuffer(ne):(ce=!0,this.lastWrittenByte=ne.byteLength);const ge=te.offset?te.offset>>>0:0,Ce=ne.byteLength-ge;let nt=ge;(ArrayBuffer.isView(ne)||ne instanceof xo)&&(ne.byteLength!==ne.buffer.byteLength&&(nt=ne.byteOffset+ge),ne=ne.buffer),ce?this.lastWrittenByte=Ce:this.lastWrittenByte=0,this.buffer=ne,this.length=Ce,this.byteLength=Ce,this.byteOffset=nt,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,nt,Ce),this._mark=0,this._marks=[]}available(ne=1){return this.offset+ne<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(ne=1){return this.offset+=ne,this}back(ne=1){return this.offset-=ne,this}seek(ne){return this.offset=ne,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const ne=this._marks.pop();if(ne===void 0)throw new Error("Mark stack empty");return this.seek(ne),this}rewind(){return this.offset=0,this}ensureAvailable(ne=1){if(!this.available(ne)){const ce=(this.offset+ne)*2,ge=new Uint8Array(ce);ge.set(new Uint8Array(this.buffer)),this.buffer=ge.buffer,this.length=ce,this.byteLength=ce,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(ne=1){return this.readArray(ne,"uint8")}readArray(ne,te){const ce=La[te].BYTES_PER_ELEMENT*ne,ge=this.byteOffset+this.offset,Ce=this.buffer.slice(ge,ge+ce);if(this.littleEndian===no&&te!=="uint8"&&te!=="int8"){const Ge=new Uint8Array(this.buffer.slice(ge,ge+ce));Ge.reverse();const ot=new La[te](Ge.buffer);return this.offset+=ce,ot.reverse(),ot}const nt=new La[te](Ce);return this.offset+=ce,nt}readInt16(){const ne=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,ne}readUint16(){const ne=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,ne}readInt32(){const ne=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,ne}readUint32(){const ne=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat32(){const ne=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat64(){const ne=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigInt64(){const ne=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigUint64(){const ne=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,ne}readChar(){return String.fromCharCode(this.readInt8())}readChars(ne=1){let te="";for(let ce=0;cethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const os=4,Va=0,Ii=1,Ci=2;function Ha(E){let ne=E.length;for(;--ne>=0;)E[ne]=0}const Oa=0,eo=1,Lo=2,vo=3,jn=258,Oo=29,Ks=256,Sa=Ks+1+Oo,ga=30,Co=19,Fo=2*Sa+1,Es=15,Js=16,Os=7,ps=256,as=16,ol=17,fa=18,la=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ia=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),Ln=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),In=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Er=512,vi=new Array((Sa+2)*2);Ha(vi);const ha=new Array(ga*2);Ha(ha);const Ia=new Array(Er);Ha(Ia);const va=new Array(jn-vo+1);Ha(va);const Ji=new Array(Oo);Ha(Ji);const ya=new Array(ga);Ha(ya);function No(E,ne,te,ce,ge){this.static_tree=E,this.extra_bits=ne,this.extra_base=te,this.elems=ce,this.max_length=ge,this.has_stree=E&&E.length}let Vo,cs,Mo;function ul(E,ne){this.dyn_tree=E,this.max_code=0,this.stat_desc=ne}const Ss=E=>E<256?Ia[E]:Ia[256+(E>>>7)],vr=(E,ne)=>{E.pending_buf[E.pending++]=ne&255,E.pending_buf[E.pending++]=ne>>>8&255},On=(E,ne,te)=>{E.bi_valid>Js-te?(E.bi_buf|=ne<>Js-E.bi_valid,E.bi_valid+=te-Js):(E.bi_buf|=ne<{On(E,te[ne*2],te[ne*2+1])},wr=(E,ne)=>{let te=0;do te|=E&1,E>>>=1,te<<=1;while(--ne>0);return te>>>1},ni=E=>{E.bi_valid===16?(vr(E,E.bi_buf),E.bi_buf=0,E.bi_valid=0):E.bi_valid>=8&&(E.pending_buf[E.pending++]=E.bi_buf&255,E.bi_buf>>=8,E.bi_valid-=8)},li=(E,ne)=>{const te=ne.dyn_tree,ce=ne.max_code,ge=ne.stat_desc.static_tree,Ce=ne.stat_desc.has_stree,nt=ne.stat_desc.extra_bits,Ge=ne.stat_desc.extra_base,ot=ne.stat_desc.max_length;let At,Ft,en,sn,Bt,zn,Nn=0;for(sn=0;sn<=Es;sn++)E.bl_count[sn]=0;for(te[E.heap[E.heap_max]*2+1]=0,At=E.heap_max+1;Atot&&(sn=ot,Nn++),te[Ft*2+1]=sn,!(Ft>ce)&&(E.bl_count[sn]++,Bt=0,Ft>=Ge&&(Bt=nt[Ft-Ge]),zn=te[Ft*2],E.opt_len+=zn*(sn+Bt),Ce&&(E.static_len+=zn*(ge[Ft*2+1]+Bt)));if(Nn!==0){do{for(sn=ot-1;E.bl_count[sn]===0;)sn--;E.bl_count[sn]--,E.bl_count[sn+1]+=2,E.bl_count[ot]--,Nn-=2}while(Nn>0);for(sn=ot;sn!==0;sn--)for(Ft=E.bl_count[sn];Ft!==0;)en=E.heap[--At],!(en>ce)&&(te[en*2+1]!==sn&&(E.opt_len+=(sn-te[en*2+1])*te[en*2],te[en*2+1]=sn),Ft--)}},Or=(E,ne,te)=>{const ce=new Array(Es+1);let ge=0,Ce,nt;for(Ce=1;Ce<=Es;Ce++)ge=ge+te[Ce-1]<<1,ce[Ce]=ge;for(nt=0;nt<=ne;nt++){let Ge=E[nt*2+1];Ge!==0&&(E[nt*2]=wr(ce[Ge]++,Ge))}},Hi=()=>{let E,ne,te,ce,ge;const Ce=new Array(Es+1);for(te=0,ce=0;ce>=7;ce{let ne;for(ne=0;ne{E.bi_valid>8?vr(E,E.bi_buf):E.bi_valid>0&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0},Wa=(E,ne,te,ce)=>{const ge=ne*2,Ce=te*2;return E[ge]{const ce=E.heap[te];let ge=te<<1;for(;ge<=E.heap_len&&(ge{let ce,ge,Ce=0,nt,Ge;if(E.sym_next!==0)do ce=E.pending_buf[E.sym_buf+Ce++]&255,ce+=(E.pending_buf[E.sym_buf+Ce++]&255)<<8,ge=E.pending_buf[E.sym_buf+Ce++],ce===0?Dn(E,ge,ne):(nt=va[ge],Dn(E,nt+Ks+1,ne),Ge=la[nt],Ge!==0&&(ge-=Ji[nt],On(E,ge,Ge)),ce--,nt=Ss(ce),Dn(E,nt,te),Ge=ia[nt],Ge!==0&&(ce-=ya[nt],On(E,ce,Ge)));while(Ce{const te=ne.dyn_tree,ce=ne.stat_desc.static_tree,ge=ne.stat_desc.has_stree,Ce=ne.stat_desc.elems;let nt,Ge,ot=-1,At;for(E.heap_len=0,E.heap_max=Fo,nt=0;nt>1;nt>=1;nt--)Ki(E,te,nt);At=Ce;do nt=E.heap[1],E.heap[1]=E.heap[E.heap_len--],Ki(E,te,1),Ge=E.heap[1],E.heap[--E.heap_max]=nt,E.heap[--E.heap_max]=Ge,te[At*2]=te[nt*2]+te[Ge*2],E.depth[At]=(E.depth[nt]>=E.depth[Ge]?E.depth[nt]:E.depth[Ge])+1,te[nt*2+1]=te[Ge*2+1]=At,E.heap[1]=At++,Ki(E,te,1);while(E.heap_len>=2);E.heap[--E.heap_max]=E.heap[1],li(E,ne),Or(te,ot,E.bl_count)},rr=(E,ne,te)=>{let ce,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,At=4;for(nt===0&&(ot=138,At=3),ne[(te+1)*2+1]=65535,ce=0;ce<=te;ce++)Ce=nt,nt=ne[(ce+1)*2+1],!(++Ge{let ce,ge=-1,Ce,nt=ne[0*2+1],Ge=0,ot=7,At=4;for(nt===0&&(ot=138,At=3),ce=0;ce<=te;ce++)if(Ce=nt,nt=ne[(ce+1)*2+1],!(++Ge{let ne;for(rr(E,E.dyn_ltree,E.l_desc.max_code),rr(E,E.dyn_dtree,E.d_desc.max_code),so(E,E.bl_desc),ne=Co-1;ne>=3&&E.bl_tree[In[ne]*2+1]===0;ne--);return E.opt_len+=3*(ne+1)+5+5+4,ne},pa=(E,ne,te,ce)=>{let ge;for(On(E,ne-257,5),On(E,te-1,5),On(E,ce-4,4),ge=0;ge{let ne=4093624447,te;for(te=0;te<=31;te++,ne>>>=1)if(ne&1&&E.dyn_ltree[te*2]!==0)return Va;if(E.dyn_ltree[9*2]!==0||E.dyn_ltree[10*2]!==0||E.dyn_ltree[13*2]!==0)return Ii;for(te=32;te{ss||(Hi(),ss=!0),E.l_desc=new ul(E.dyn_ltree,Vo),E.d_desc=new ul(E.dyn_dtree,cs),E.bl_desc=new ul(E.bl_tree,Mo),E.bi_buf=0,E.bi_valid=0,ca(E)},tl=(E,ne,te,ce)=>{On(E,(Oa<<1)+(ce?1:0),3),uo(E),vr(E,te),vr(E,~te),te&&E.pending_buf.set(E.window.subarray(ne,ne+te),E.pending),E.pending+=te},eu=E=>{On(E,eo<<1,3),Dn(E,ps,vi),ni(E)},nu=(E,ne,te,ce)=>{let ge,Ce,nt=0;E.level>0?(E.strm.data_type===Ci&&(E.strm.data_type=ka(E)),so(E,E.l_desc),so(E,E.d_desc),nt=Ja(E),ge=E.opt_len+3+7>>>3,Ce=E.static_len+3+7>>>3,Ce<=ge&&(ge=Ce)):ge=Ce=te+5,te+4<=ge&&ne!==-1?tl(E,ne,te,ce):E.strategy===os||Ce===ge?(On(E,(eo<<1)+(ce?1:0),3),Na(E,vi,ha)):(On(E,(Lo<<1)+(ce?1:0),3),pa(E,E.l_desc.max_code+1,E.d_desc.max_code+1,nt+1),Na(E,E.dyn_ltree,E.dyn_dtree)),ca(E),ce&&uo(E)},Fu=(E,ne,te)=>(E.pending_buf[E.sym_buf+E.sym_next++]=ne,E.pending_buf[E.sym_buf+E.sym_next++]=ne>>8,E.pending_buf[E.sym_buf+E.sym_next++]=te,ne===0?E.dyn_ltree[te*2]++:(E.matches++,ne--,E.dyn_ltree[(va[te]+Ks+1)*2]++,E.dyn_dtree[Ss(ne)*2]++),E.sym_next===E.sym_end);var wl=qs,Vl=tl,Io=nu,Xo=Fu,Pl=eu,Tl={_tr_init:wl,_tr_stored_block:Vl,_tr_flush_block:Io,_tr_tally:Xo,_tr_align:Pl},Wo=(E,ne,te,ce)=>{let ge=E&65535|0,Ce=E>>>16&65535|0,nt=0;for(;te!==0;){nt=te>2e3?2e3:te,te-=nt;do ge=ge+ne[ce++]|0,Ce=Ce+ge|0;while(--nt);ge%=65521,Ce%=65521}return ge|Ce<<16|0};const js=()=>{let E,ne=[];for(var te=0;te<256;te++){E=te;for(var ce=0;ce<8;ce++)E=E&1?3988292384^E>>>1:E>>>1;ne[te]=E}return ne},zu=new Uint32Array(js());var cl=(E,ne,te,ce)=>{const ge=zu,Ce=ce+te;E^=-1;for(let nt=ce;nt>>8^ge[(E^ne[nt])&255];return E^-1},ys={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},bs={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Xl,_tr_stored_block:gl,_tr_flush_block:kl,_tr_tally:vl,_tr_align:Vs}=Tl,{Z_NO_FLUSH:Gl,Z_PARTIAL_FLUSH:ic,Z_FULL_FLUSH:Xc,Z_FINISH:Jl,Z_BLOCK:ku,Z_OK:qu,Z_STREAM_END:Hc,Z_STREAM_ERROR:Cu,Z_DATA_ERROR:nA,Z_BUF_ERROR:kd,Z_DEFAULT_COMPRESSION:gd,Z_FILTERED:uf,Z_HUFFMAN_ONLY:ud,Z_RLE:pA,Z_FIXED:lc,Z_DEFAULT_STRATEGY:_d,Z_UNKNOWN:ki,Z_DEFLATED:lo}=bs,fi=9,To=15,ds=8,_l=256+1+29,Bc=30,Lc=19,Sc=2*_l+1,dl=15,Gs=3,Ms=258,Wu=Ms+Gs+1,gc=32,Zu=42,vc=57,vd=69,cd=73,ac=91,Dc=103,Nu=113,Ec=666,$u=1,Pu=2,Oc=3,yd=4,nh=3,KA=(E,ne)=>(E.msg=ys[ne],ne),Bh=E=>E*2-(E>4?9:0),rA=E=>{let ne=E.length;for(;--ne>=0;)E[ne]=0},zA=E=>{let ne,te,ce,ge=E.w_size;ne=E.hash_size,ce=ne;do te=E.head[--ce],E.head[ce]=te>=ge?te-ge:0;while(--ne);ne=ge,ce=ne;do te=E.prev[--ce],E.prev[ce]=te>=ge?te-ge:0;while(--ne)};let mA=(E,ne,te)=>(ne<{const ne=E.state;let te=ne.pending;te>E.avail_out&&(te=E.avail_out),te!==0&&(E.output.set(ne.pending_buf.subarray(ne.pending_out,ne.pending_out+te),E.next_out),E.next_out+=te,ne.pending_out+=te,E.total_out+=te,E.avail_out-=te,ne.pending-=te,ne.pending===0&&(ne.pending_out=0))},Jc=(E,ne)=>{kl(E,E.block_start>=0?E.block_start:-1,E.strstart-E.block_start,ne),E.block_start=E.strstart,Vd(E.strm)},ru=(E,ne)=>{E.pending_buf[E.pending++]=ne},iA=(E,ne)=>{E.pending_buf[E.pending++]=ne>>>8&255,E.pending_buf[E.pending++]=ne&255},gf=(E,ne,te,ce)=>{let ge=E.avail_in;return ge>ce&&(ge=ce),ge===0?0:(E.avail_in-=ge,ne.set(E.input.subarray(E.next_in,E.next_in+ge),te),E.state.wrap===1?E.adler=Wo(E.adler,ne,ge,te):E.state.wrap===2&&(E.adler=cl(E.adler,ne,ge,te)),E.next_in+=ge,E.total_in+=ge,ge)},WA=(E,ne)=>{let te=E.max_chain_length,ce=E.strstart,ge,Ce,nt=E.prev_length,Ge=E.nice_match;const ot=E.strstart>E.w_size-Wu?E.strstart-(E.w_size-Wu):0,At=E.window,Ft=E.w_mask,en=E.prev,sn=E.strstart+Ms;let Bt=At[ce+nt-1],zn=At[ce+nt];E.prev_length>=E.good_match&&(te>>=2),Ge>E.lookahead&&(Ge=E.lookahead);do if(ge=ne,!(At[ge+nt]!==zn||At[ge+nt-1]!==Bt||At[ge]!==At[ce]||At[++ge]!==At[ce+1])){ce+=2,ge++;do;while(At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&At[++ce]===At[++ge]&&cent){if(E.match_start=ne,nt=Ce,Ce>=Ge)break;Bt=At[ce+nt-1],zn=At[ce+nt]}}while((ne=en[ne&Ft])>ot&&--te!==0);return nt<=E.lookahead?nt:E.lookahead},nd=E=>{const ne=E.w_size;let te,ce,ge;do{if(ce=E.window_size-E.lookahead-E.strstart,E.strstart>=ne+(ne-Wu)&&(E.window.set(E.window.subarray(ne,ne+ne-ce),0),E.match_start-=ne,E.strstart-=ne,E.block_start-=ne,E.insert>E.strstart&&(E.insert=E.strstart),zA(E),ce+=ne),E.strm.avail_in===0)break;if(te=gf(E.strm,E.window,E.strstart+E.lookahead,ce),E.lookahead+=te,E.lookahead+E.insert>=Gs)for(ge=E.strstart-E.insert,E.ins_h=E.window[ge],E.ins_h=mA(E,E.ins_h,E.window[ge+1]);E.insert&&(E.ins_h=mA(E,E.ins_h,E.window[ge+Gs-1]),E.prev[ge&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=ge,ge++,E.insert--,!(E.lookahead+E.insert{let te=E.pending_buf_size-5>E.w_size?E.w_size:E.pending_buf_size-5,ce,ge,Ce,nt=0,Ge=E.strm.avail_in;do{if(ce=65535,Ce=E.bi_valid+42>>3,E.strm.avail_outge+E.strm.avail_in&&(ce=ge+E.strm.avail_in),ce>Ce&&(ce=Ce),ce>8,E.pending_buf[E.pending-2]=~ce,E.pending_buf[E.pending-1]=~ce>>8,Vd(E.strm),ge&&(ge>ce&&(ge=ce),E.strm.output.set(E.window.subarray(E.block_start,E.block_start+ge),E.strm.next_out),E.strm.next_out+=ge,E.strm.avail_out-=ge,E.strm.total_out+=ge,E.block_start+=ge,ce-=ge),ce&&(gf(E.strm,E.strm.output,E.strm.next_out,ce),E.strm.next_out+=ce,E.strm.avail_out-=ce,E.strm.total_out+=ce)}while(nt===0);return Ge-=E.strm.avail_in,Ge&&(Ge>=E.w_size?(E.matches=2,E.window.set(E.strm.input.subarray(E.strm.next_in-E.w_size,E.strm.next_in),0),E.strstart=E.w_size,E.insert=E.strstart):(E.window_size-E.strstart<=Ge&&(E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,E.insert>E.strstart&&(E.insert=E.strstart)),E.window.set(E.strm.input.subarray(E.strm.next_in-Ge,E.strm.next_in),E.strstart),E.strstart+=Ge,E.insert+=Ge>E.w_size-E.insert?E.w_size-E.insert:Ge),E.block_start=E.strstart),E.high_waterCe&&E.block_start>=E.w_size&&(E.block_start-=E.w_size,E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,Ce+=E.w_size,E.insert>E.strstart&&(E.insert=E.strstart)),Ce>E.strm.avail_in&&(Ce=E.strm.avail_in),Ce&&(gf(E.strm,E.window,E.strstart,Ce),E.strstart+=Ce,E.insert+=Ce>E.w_size-E.insert?E.w_size-E.insert:Ce),E.high_water>3,Ce=E.pending_buf_size-Ce>65535?65535:E.pending_buf_size-Ce,te=Ce>E.w_size?E.w_size:Ce,ge=E.strstart-E.block_start,(ge>=te||(ge||ne===Jl)&&ne!==Gl&&E.strm.avail_in===0&&ge<=Ce)&&(ce=ge>Ce?Ce:ge,nt=ne===Jl&&E.strm.avail_in===0&&ce===ge?1:0,gl(E,E.block_start,ce,nt),E.block_start+=ce,Vd(E.strm)),nt?Oc:$u)},rh=(E,ne)=>{let te,ce;for(;;){if(E.lookahead=Gs&&(E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),te!==0&&E.strstart-te<=E.w_size-Wu&&(E.match_length=WA(E,te)),E.match_length>=Gs)if(ce=vl(E,E.strstart-E.match_start,E.match_length-Gs),E.lookahead-=E.match_length,E.match_length<=E.max_lazy_match&&E.lookahead>=Gs){E.match_length--;do E.strstart++,E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart;while(--E.match_length!==0);E.strstart++}else E.strstart+=E.match_length,E.match_length=0,E.ins_h=E.window[E.strstart],E.ins_h=mA(E,E.ins_h,E.window[E.strstart+1]);else ce=vl(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++;if(ce&&(Jc(E,!1),E.strm.avail_out===0))return $u}return E.insert=E.strstart{let te,ce,ge;for(;;){if(E.lookahead=Gs&&(E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),E.prev_length=E.match_length,E.prev_match=E.match_start,E.match_length=Gs-1,te!==0&&E.prev_length4096)&&(E.match_length=Gs-1)),E.prev_length>=Gs&&E.match_length<=E.prev_length){ge=E.strstart+E.lookahead-Gs,ce=vl(E,E.strstart-1-E.prev_match,E.prev_length-Gs),E.lookahead-=E.prev_length-1,E.prev_length-=2;do++E.strstart<=ge&&(E.ins_h=mA(E,E.ins_h,E.window[E.strstart+Gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart);while(--E.prev_length!==0);if(E.match_available=0,E.match_length=Gs-1,E.strstart++,ce&&(Jc(E,!1),E.strm.avail_out===0))return $u}else if(E.match_available){if(ce=vl(E,0,E.window[E.strstart-1]),ce&&Jc(E,!1),E.strstart++,E.lookahead--,E.strm.avail_out===0)return $u}else E.match_available=1,E.strstart++,E.lookahead--}return E.match_available&&(ce=vl(E,0,E.window[E.strstart-1]),E.match_available=0),E.insert=E.strstart{let te,ce,ge,Ce;const nt=E.window;for(;;){if(E.lookahead<=Ms){if(nd(E),E.lookahead<=Ms&&ne===Gl)return $u;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=Gs&&E.strstart>0&&(ge=E.strstart-1,ce=nt[ge],ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge])){Ce=E.strstart+Ms;do;while(ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&ce===nt[++ge]&&geE.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=Gs?(te=vl(E,1,E.match_length-Gs),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(te=vl(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),te&&(Jc(E,!1),E.strm.avail_out===0))return $u}return E.insert=0,ne===Jl?(Jc(E,!0),E.strm.avail_out===0?Oc:yd):E.sym_next&&(Jc(E,!1),E.strm.avail_out===0)?$u:Pu},np=(E,ne)=>{let te;for(;;){if(E.lookahead===0&&(nd(E),E.lookahead===0)){if(ne===Gl)return $u;break}if(E.match_length=0,te=vl(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,te&&(Jc(E,!1),E.strm.avail_out===0))return $u}return E.insert=0,ne===Jl?(Jc(E,!0),E.strm.avail_out===0?Oc:yd):E.sym_next&&(Jc(E,!1),E.strm.avail_out===0)?$u:Pu};function uc(E,ne,te,ce,ge){this.good_length=E,this.max_lazy=ne,this.nice_length=te,this.max_chain=ce,this.func=ge}const aA=[new uc(0,0,0,0,gA),new uc(4,4,8,4,rh),new uc(4,5,16,8,rh),new uc(4,6,32,32,rh),new uc(4,4,16,16,vf),new uc(8,16,32,32,vf),new uc(8,16,128,128,vf),new uc(8,32,128,256,vf),new uc(32,128,258,1024,vf),new uc(32,258,258,4096,vf)],rp=E=>{E.window_size=2*E.w_size,rA(E.head),E.max_lazy_match=aA[E.level].max_lazy,E.good_match=aA[E.level].good_length,E.nice_match=aA[E.level].nice_length,E.max_chain_length=aA[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=Gs-1,E.match_available=0,E.ins_h=0};function Ot(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=lo,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Sc*2),this.dyn_dtree=new Uint16Array((2*Bc+1)*2),this.bl_tree=new Uint16Array((2*Lc+1)*2),rA(this.dyn_ltree),rA(this.dyn_dtree),rA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(dl+1),this.heap=new Uint16Array(2*_l+1),rA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*_l+1),rA(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Rt=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.status!==Zu&&ne.status!==vc&&ne.status!==vd&&ne.status!==cd&&ne.status!==ac&&ne.status!==Dc&&ne.status!==Nu&&ne.status!==Ec?1:0},fn=E=>{if(Rt(E))return KA(E,Cu);E.total_in=E.total_out=0,E.data_type=ki;const ne=E.state;return ne.pending=0,ne.pending_out=0,ne.wrap<0&&(ne.wrap=-ne.wrap),ne.status=ne.wrap===2?vc:ne.wrap?Zu:Nu,E.adler=ne.wrap===2?0:1,ne.last_flush=-2,Xl(ne),qu},En=E=>{const ne=fn(E);return ne===qu&&rp(E.state),ne},Jn=(E,ne)=>Rt(E)||E.state.wrap!==2?Cu:(E.state.gzhead=ne,qu),Rn=(E,ne,te,ce,ge,Ce)=>{if(!E)return Cu;let nt=1;if(ne===gd&&(ne=6),ce<0?(nt=0,ce=-ce):ce>15&&(nt=2,ce-=16),ge<1||ge>fi||te!==lo||ce<8||ce>15||ne<0||ne>9||Ce<0||Ce>lc||ce===8&&nt!==1)return KA(E,Cu);ce===8&&(ce=9);const Ge=new Ot;return E.state=Ge,Ge.strm=E,Ge.status=Zu,Ge.wrap=nt,Ge.gzhead=null,Ge.w_bits=ce,Ge.w_size=1<Rn(E,ne,lo,To,ds,_d),hr=(E,ne)=>{if(Rt(E)||ne>ku||ne<0)return E?KA(E,Cu):Cu;const te=E.state;if(!E.output||E.avail_in!==0&&!E.input||te.status===Ec&&ne!==Jl)return KA(E,E.avail_out===0?kd:Cu);const ce=te.last_flush;if(te.last_flush=ne,te.pending!==0){if(Vd(E),E.avail_out===0)return te.last_flush=-1,qu}else if(E.avail_in===0&&Bh(ne)<=Bh(ce)&&ne!==Jl)return KA(E,kd);if(te.status===Ec&&E.avail_in!==0)return KA(E,kd);if(te.status===Zu&&te.wrap===0&&(te.status=Nu),te.status===Zu){let ge=lo+(te.w_bits-8<<4)<<8,Ce=-1;if(te.strategy>=ud||te.level<2?Ce=0:te.level<6?Ce=1:te.level===6?Ce=2:Ce=3,ge|=Ce<<6,te.strstart!==0&&(ge|=gc),ge+=31-ge%31,iA(te,ge),te.strstart!==0&&(iA(te,E.adler>>>16),iA(te,E.adler&65535)),E.adler=1,te.status=Nu,Vd(E),te.pending!==0)return te.last_flush=-1,qu}if(te.status===vc){if(E.adler=0,ru(te,31),ru(te,139),ru(te,8),te.gzhead)ru(te,(te.gzhead.text?1:0)+(te.gzhead.hcrc?2:0)+(te.gzhead.extra?4:0)+(te.gzhead.name?8:0)+(te.gzhead.comment?16:0)),ru(te,te.gzhead.time&255),ru(te,te.gzhead.time>>8&255),ru(te,te.gzhead.time>>16&255),ru(te,te.gzhead.time>>24&255),ru(te,te.level===9?2:te.strategy>=ud||te.level<2?4:0),ru(te,te.gzhead.os&255),te.gzhead.extra&&te.gzhead.extra.length&&(ru(te,te.gzhead.extra.length&255),ru(te,te.gzhead.extra.length>>8&255)),te.gzhead.hcrc&&(E.adler=cl(E.adler,te.pending_buf,te.pending,0)),te.gzindex=0,te.status=vd;else if(ru(te,0),ru(te,0),ru(te,0),ru(te,0),ru(te,0),ru(te,te.level===9?2:te.strategy>=ud||te.level<2?4:0),ru(te,nh),te.status=Nu,Vd(E),te.pending!==0)return te.last_flush=-1,qu}if(te.status===vd){if(te.gzhead.extra){let ge=te.pending,Ce=(te.gzhead.extra.length&65535)-te.gzindex;for(;te.pending+Ce>te.pending_buf_size;){let Ge=te.pending_buf_size-te.pending;if(te.pending_buf.set(te.gzhead.extra.subarray(te.gzindex,te.gzindex+Ge),te.pending),te.pending=te.pending_buf_size,te.gzhead.hcrc&&te.pending>ge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex+=Ge,Vd(E),te.pending!==0)return te.last_flush=-1,qu;ge=0,Ce-=Ge}let nt=new Uint8Array(te.gzhead.extra);te.pending_buf.set(nt.subarray(te.gzindex,te.gzindex+Ce),te.pending),te.pending+=Ce,te.gzhead.hcrc&&te.pending>ge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=cd}if(te.status===cd){if(te.gzhead.name){let ge=te.pending,Ce;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge)),Vd(E),te.pending!==0)return te.last_flush=-1,qu;ge=0}te.gzindexge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge)),te.gzindex=0}te.status=ac}if(te.status===ac){if(te.gzhead.comment){let ge=te.pending,Ce;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge)),Vd(E),te.pending!==0)return te.last_flush=-1,qu;ge=0}te.gzindexge&&(E.adler=cl(E.adler,te.pending_buf,te.pending-ge,ge))}te.status=Dc}if(te.status===Dc){if(te.gzhead.hcrc){if(te.pending+2>te.pending_buf_size&&(Vd(E),te.pending!==0))return te.last_flush=-1,qu;ru(te,E.adler&255),ru(te,E.adler>>8&255),E.adler=0}if(te.status=Nu,Vd(E),te.pending!==0)return te.last_flush=-1,qu}if(E.avail_in!==0||te.lookahead!==0||ne!==Gl&&te.status!==Ec){let ge=te.level===0?gA(te,ne):te.strategy===ud?np(te,ne):te.strategy===pA?k0(te,ne):aA[te.level].func(te,ne);if((ge===Oc||ge===yd)&&(te.status=Ec),ge===$u||ge===Oc)return E.avail_out===0&&(te.last_flush=-1),qu;if(ge===Pu&&(ne===ic?Vs(te):ne!==ku&&(gl(te,0,0,!1),ne===Xc&&(rA(te.head),te.lookahead===0&&(te.strstart=0,te.block_start=0,te.insert=0))),Vd(E),E.avail_out===0))return te.last_flush=-1,qu}return ne!==Jl?qu:te.wrap<=0?Hc:(te.wrap===2?(ru(te,E.adler&255),ru(te,E.adler>>8&255),ru(te,E.adler>>16&255),ru(te,E.adler>>24&255),ru(te,E.total_in&255),ru(te,E.total_in>>8&255),ru(te,E.total_in>>16&255),ru(te,E.total_in>>24&255)):(iA(te,E.adler>>>16),iA(te,E.adler&65535)),Vd(E),te.wrap>0&&(te.wrap=-te.wrap),te.pending!==0?qu:Hc)},cr=E=>{if(Rt(E))return Cu;const ne=E.state.status;return E.state=null,ne===Nu?KA(E,nA):qu},Zr=(E,ne)=>{let te=ne.length;if(Rt(E))return Cu;const ce=E.state,ge=ce.wrap;if(ge===2||ge===1&&ce.status!==Zu||ce.lookahead)return Cu;if(ge===1&&(E.adler=Wo(E.adler,ne,te,0)),ce.wrap=0,te>=ce.w_size){ge===0&&(rA(ce.head),ce.strstart=0,ce.block_start=0,ce.insert=0);let ot=new Uint8Array(ce.w_size);ot.set(ne.subarray(te-ce.w_size,te),0),ne=ot,te=ce.w_size}const Ce=E.avail_in,nt=E.next_in,Ge=E.input;for(E.avail_in=te,E.next_in=0,E.input=ne,nd(ce);ce.lookahead>=Gs;){let ot=ce.strstart,At=ce.lookahead-(Gs-1);do ce.ins_h=mA(ce,ce.ins_h,ce.window[ot+Gs-1]),ce.prev[ot&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ot,ot++;while(--At);ce.strstart=ot,ce.lookahead=Gs-1,nd(ce)}return ce.strstart+=ce.lookahead,ce.block_start=ce.strstart,ce.insert=ce.lookahead,ce.lookahead=0,ce.match_length=ce.prev_length=Gs-1,ce.match_available=0,E.next_in=nt,E.input=Ge,E.avail_in=Ce,ce.wrap=ge,qu};var hi=mr,$r=Rn,Yi=En,Ri=fn,zi=Jn,Za=hr,_a=cr,Ra=Zr,Da="pako deflate (from Nodeca project)",ro={deflateInit:hi,deflateInit2:$r,deflateReset:Yi,deflateResetKeep:Ri,deflateSetHeader:zi,deflate:Za,deflateEnd:_a,deflateSetDictionary:Ra,deflateInfo:Da};const Qo=(E,ne)=>Object.prototype.hasOwnProperty.call(E,ne);var Jo=function(E){const ne=Array.prototype.slice.call(arguments,1);for(;ne.length;){const te=ne.shift();if(te){if(typeof te!="object")throw new TypeError(te+"must be non-object");for(const ce in te)Qo(te,ce)&&(E[ce]=te[ce])}}return E},ko=E=>{let ne=0;for(let ce=0,ge=E.length;ce=252?6:E>=248?5:E>=240?4:E>=224?3:E>=192?2:1;Ao[254]=Ao[254]=1;var Po=E=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(E);let ne,te,ce,ge,Ce,nt=E.length,Ge=0;for(ge=0;ge>>6,ne[Ce++]=128|te&63):te<65536?(ne[Ce++]=224|te>>>12,ne[Ce++]=128|te>>>6&63,ne[Ce++]=128|te&63):(ne[Ce++]=240|te>>>18,ne[Ce++]=128|te>>>12&63,ne[Ce++]=128|te>>>6&63,ne[Ce++]=128|te&63);return ne};const yo=(E,ne)=>{if(ne<65534&&E.subarray&&Fs)return String.fromCharCode.apply(null,E.length===ne?E:E.subarray(0,ne));let te="";for(let ce=0;ce{const te=ne||E.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(E.subarray(0,ne));let ce,ge;const Ce=new Array(te*2);for(ge=0,ce=0;ce4){Ce[ge++]=65533,ce+=Ge-1;continue}for(nt&=Ge===2?31:Ge===3?15:7;Ge>1&&ce1){Ce[ge++]=65533;continue}nt<65536?Ce[ge++]=nt:(nt-=65536,Ce[ge++]=55296|nt>>10&1023,Ce[ge++]=56320|nt&1023)}return yo(Ce,ge)},Bo=(E,ne)=>{ne=ne||E.length,ne>E.length&&(ne=E.length);let te=ne-1;for(;te>=0&&(E[te]&192)===128;)te--;return te<0||te===0?ne:te+Ao[E[te]]>ne?te:ne},ns={string2buf:Po,buf2string:Ba,utf8border:Bo};function Ys(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var rs=Ys;const Ga=Object.prototype.toString,{Z_NO_FLUSH:ms,Z_SYNC_FLUSH:Is,Z_FULL_FLUSH:Rl,Z_FINISH:Ml,Z_OK:Bu,Z_STREAM_END:Su,Z_DEFAULT_COMPRESSION:ks,Z_DEFAULT_STRATEGY:oc,Z_DEFLATED:yl}=bs;function cu(E){this.options=ls.assign({level:ks,method:yl,chunkSize:16384,windowBits:15,memLevel:8,strategy:oc},E||{});let ne=this.options;ne.raw&&ne.windowBits>0?ne.windowBits=-ne.windowBits:ne.gzip&&ne.windowBits>0&&ne.windowBits<16&&(ne.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rs,this.strm.avail_out=0;let te=ro.deflateInit2(this.strm,ne.level,ne.method,ne.windowBits,ne.memLevel,ne.strategy);if(te!==Bu)throw new Error(ys[te]);if(ne.header&&ro.deflateSetHeader(this.strm,ne.header),ne.dictionary){let ce;if(typeof ne.dictionary=="string"?ce=ns.string2buf(ne.dictionary):Ga.call(ne.dictionary)==="[object ArrayBuffer]"?ce=new Uint8Array(ne.dictionary):ce=ne.dictionary,te=ro.deflateSetDictionary(this.strm,ce),te!==Bu)throw new Error(ys[te]);this._dict_set=!0}}cu.prototype.push=function(E,ne){const te=this.strm,ce=this.options.chunkSize;let ge,Ce;if(this.ended)return!1;for(ne===~~ne?Ce=ne:Ce=ne===!0?Ml:ms,typeof E=="string"?te.input=ns.string2buf(E):Ga.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){if(te.avail_out===0&&(te.output=new Uint8Array(ce),te.next_out=0,te.avail_out=ce),(Ce===Is||Ce===Rl)&&te.avail_out<=6){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(ge=ro.deflate(te,Ce),ge===Su)return te.next_out>0&&this.onData(te.output.subarray(0,te.next_out)),ge=ro.deflateEnd(this.strm),this.onEnd(ge),this.ended=!0,ge===Bu;if(te.avail_out===0){this.onData(te.output);continue}if(Ce>0&&te.next_out>0){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(te.avail_in===0)break}return!0},cu.prototype.onData=function(E){this.chunks.push(E)},cu.prototype.onEnd=function(E){E===Bu&&(this.result=ls.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function du(E,ne){const te=new cu(ne);if(te.push(E,!0),te.err)throw te.msg||ys[te.err];return te.result}function Fc(E,ne){return ne=ne||{},ne.raw=!0,du(E,ne)}function So(E,ne){return ne=ne||{},ne.gzip=!0,du(E,ne)}var $o=cu,es=du,Ro=Fc,Ll=So,jo=bs,ws={Deflate:$o,deflate:es,deflateRaw:Ro,gzip:Ll,constants:jo};const nl=16209,Al=16191;var qc=function(ne,te){let ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn,xn,Lr,xr,sr,wi,qi,Qi,zr,ur,ci;const yn=ne.state;ce=ne.next_in,ur=ne.input,ge=ce+(ne.avail_in-5),Ce=ne.next_out,ci=ne.output,nt=Ce-(te-ne.avail_out),Ge=Ce+(ne.avail_out-257),ot=yn.dmax,At=yn.wsize,Ft=yn.whave,en=yn.wnext,sn=yn.window,Bt=yn.hold,zn=yn.bits,Nn=yn.lencode,Yn=yn.distcode,xn=(1<>>24,Bt>>>=sr,zn-=sr,sr=xr>>>16&255,sr===0)ci[Ce++]=xr&65535;else if(sr&16){wi=xr&65535,sr&=15,sr&&(zn>>=sr,zn-=sr),zn<15&&(Bt+=ur[ce++]<>>24,Bt>>>=sr,zn-=sr,sr=xr>>>16&255,sr&16){if(qi=xr&65535,sr&=15,znot){ne.msg="invalid distance too far back",yn.mode=nl;break e}if(Bt>>>=sr,zn-=sr,sr=Ce-nt,qi>sr){if(sr=qi-sr,sr>Ft&&yn.sane){ne.msg="invalid distance too far back",yn.mode=nl;break e}if(Qi=0,zr=sn,en===0){if(Qi+=At-sr,sr2;)ci[Ce++]=zr[Qi++],ci[Ce++]=zr[Qi++],ci[Ce++]=zr[Qi++],wi-=3;wi&&(ci[Ce++]=zr[Qi++],wi>1&&(ci[Ce++]=zr[Qi++]))}else{Qi=Ce-qi;do ci[Ce++]=ci[Qi++],ci[Ce++]=ci[Qi++],ci[Ce++]=ci[Qi++],wi-=3;while(wi>2);wi&&(ci[Ce++]=ci[Qi++],wi>1&&(ci[Ce++]=ci[Qi++]))}}else if(sr&64){ne.msg="invalid distance code",yn.mode=nl;break e}else{xr=Yn[(xr&65535)+(Bt&(1<>3,ce-=wi,zn-=wi<<3,Bt&=(1<{const ot=Ge.bits;let At=0,Ft=0,en=0,sn=0,Bt=0,zn=0,Nn=0,Yn=0,xn=0,Lr=0,xr,sr,wi,qi,Qi,zr=null,ur;const ci=new Uint16Array(Vu+1),yn=new Uint16Array(Vu+1);let qn=null,Mr,Br,Fi;for(At=0;At<=Vu;At++)ci[At]=0;for(Ft=0;Ft=1&&ci[sn]===0;sn--);if(Bt>sn&&(Bt=sn),sn===0)return ge[Ce++]=1<<24|64<<16|0,ge[Ce++]=1<<24|64<<16|0,Ge.bits=1,0;for(en=1;en0&&(E===Td||sn!==1))return-1;for(yn[1]=0,At=1;AtPd||E===Nc&&xn>ec)return 1;for(;;){Mr=At-Nn,nt[Ft]+1=ur?(Br=qn[nt[Ft]-ur],Fi=zr[nt[Ft]-ur]):(Br=96,Fi=0),xr=1<>Nn)+sr]=Mr<<24|Br<<16|Fi|0;while(sr!==0);for(xr=1<>=1;if(xr!==0?(Lr&=xr-1,Lr+=xr):Lr=0,Ft++,--ci[At]===0){if(At===sn)break;At=ne[te+nt[Ft]]}if(At>Bt&&(Lr&qi)!==wi){for(Nn===0&&(Nn=Bt),Qi+=en,zn=At-Nn,Yn=1<Pd||E===Nc&&xn>ec)return 1;wi=Lr&qi,ge[wi]=Bt<<24|zn<<16|Qi-Ce|0}}return Lr!==0&&(ge[Qi+Lr]=At-Nn<<24|64<<16|0),Ge.bits=Bt,0};const fs=0,ql=1,Pc=2,{Z_FINISH:Md,Z_BLOCK:bd,Z_TREES:Tc,Z_OK:Gu,Z_STREAM_END:vA,Z_NEED_DICT:Qc,Z_STREAM_ERROR:Yu,Z_DATA_ERROR:Rc,Z_MEM_ERROR:Iu,Z_BUF_ERROR:Tu,Z_DEFLATED:rd}=bs,oA=16180,Rd=16181,yA=16182,VA=16183,Sh=16184,xl=16185,iu=16186,kc=16187,au=16188,bc=16189,_c=16190,tc=16191,bA=16192,ih=16193,wA=16194,xA=16195,fl=16196,Ru=16197,sA=16198,CA=16199,id=16200,$h=16201,cc=16202,Eh=16203,e0=16204,If=16205,ah=16206,Lf=16207,yf=16208,Li=16209,oh=16210,Fh=16211,t0=852,BA=592,sh=15,bf=E=>(E>>>24&255)+(E>>>8&65280)+((E&65280)<<8)+((E&255)<<24);function Lu(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const wf=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.modeFh?1:0},kh=E=>{if(wf(E))return Yu;const ne=E.state;return E.total_in=E.total_out=ne.total=0,E.msg="",ne.wrap&&(E.adler=ne.wrap&1),ne.mode=oA,ne.last=0,ne.havedict=0,ne.flags=-1,ne.dmax=32768,ne.head=null,ne.hold=0,ne.bits=0,ne.lencode=ne.lendyn=new Int32Array(t0),ne.distcode=ne.distdyn=new Int32Array(BA),ne.sane=1,ne.back=-1,Gu},SA=E=>{if(wf(E))return Yu;const ne=E.state;return ne.wsize=0,ne.whave=0,ne.wnext=0,kh(E)},lh=(E,ne)=>{let te;if(wf(E))return Yu;const ce=E.state;return ne<0?(te=0,ne=-ne):(te=(ne>>4)+5,ne<48&&(ne&=15)),ne&&(ne<8||ne>15)?Yu:(ce.window!==null&&ce.wbits!==ne&&(ce.window=null),ce.wrap=te,ce.wbits=ne,SA(E))},EA=(E,ne)=>{if(!E)return Yu;const te=new Lu;E.state=te,te.strm=E,te.window=null,te.mode=oA;const ce=lh(E,ne);return ce!==Gu&&(E.state=null),ce},GA=E=>EA(E,sh);let Au=!0,$c,jc;const YA=E=>{if(Au){$c=new Int32Array(512),jc=new Int32Array(32);let ne=0;for(;ne<144;)E.lens[ne++]=8;for(;ne<256;)E.lens[ne++]=9;for(;ne<280;)E.lens[ne++]=7;for(;ne<288;)E.lens[ne++]=8;for(_u(ql,E.lens,0,288,$c,0,E.work,{bits:9}),ne=0;ne<32;)E.lens[ne++]=5;_u(Pc,E.lens,0,32,jc,0,E.work,{bits:5}),Au=!1}E.lencode=$c,E.lenbits=9,E.distcode=jc,E.distbits=5},Cl=(E,ne,te,ce)=>{let ge;const Ce=E.state;return Ce.window===null&&(Ce.wsize=1<=Ce.wsize?(Ce.window.set(ne.subarray(te-Ce.wsize,te),0),Ce.wnext=0,Ce.whave=Ce.wsize):(ge=Ce.wsize-Ce.wnext,ge>ce&&(ge=ce),Ce.window.set(ne.subarray(te-ce,te-ce+ge),Ce.wnext),ce-=ge,ce?(Ce.window.set(ne.subarray(te-ce,te),0),Ce.wnext=ce,Ce.whave=Ce.wsize):(Ce.wnext+=ge,Ce.wnext===Ce.wsize&&(Ce.wnext=0),Ce.whave{let te,ce,ge,Ce,nt,Ge,ot,At,Ft,en,sn,Bt,zn,Nn,Yn=0,xn,Lr,xr,sr,wi,qi,Qi,zr;const ur=new Uint8Array(4);let ci,yn;const qn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(wf(E)||!E.output||!E.input&&E.avail_in!==0)return Yu;te=E.state,te.mode===tc&&(te.mode=bA),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,ce=E.input,Ge=E.avail_in,At=te.hold,Ft=te.bits,en=Ge,sn=ot,zr=Gu;e:for(;;)switch(te.mode){case oA:if(te.wrap===0){te.mode=bA;break}for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>8&255,te.check=cl(te.check,ur,2,0),At=0,Ft=0,te.mode=Rd;break}if(te.head&&(te.head.done=!1),!(te.wrap&1)||(((At&255)<<8)+(At>>8))%31){E.msg="incorrect header check",te.mode=Li;break}if((At&15)!==rd){E.msg="unknown compression method",te.mode=Li;break}if(At>>>=4,Ft-=4,Qi=(At&15)+8,te.wbits===0&&(te.wbits=Qi),Qi>15||Qi>te.wbits){E.msg="invalid window size",te.mode=Li;break}te.dmax=1<>8&1),te.flags&512&&te.wrap&4&&(ur[0]=At&255,ur[1]=At>>>8&255,te.check=cl(te.check,ur,2,0)),At=0,Ft=0,te.mode=yA;case yA:for(;Ft<32;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>8&255,ur[2]=At>>>16&255,ur[3]=At>>>24&255,te.check=cl(te.check,ur,4,0)),At=0,Ft=0,te.mode=VA;case VA:for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>8),te.flags&512&&te.wrap&4&&(ur[0]=At&255,ur[1]=At>>>8&255,te.check=cl(te.check,ur,2,0)),At=0,Ft=0,te.mode=Sh;case Sh:if(te.flags&1024){for(;Ft<16;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>8&255,te.check=cl(te.check,ur,2,0)),At=0,Ft=0}else te.head&&(te.head.extra=null);te.mode=xl;case xl:if(te.flags&1024&&(Bt=te.length,Bt>Ge&&(Bt=Ge),Bt&&(te.head&&(Qi=te.head.extra_len-te.length,te.head.extra||(te.head.extra=new Uint8Array(te.head.extra_len)),te.head.extra.set(ce.subarray(Ce,Ce+Bt),Qi)),te.flags&512&&te.wrap&4&&(te.check=cl(te.check,ce,Bt,Ce)),Ge-=Bt,Ce+=Bt,te.length-=Bt),te.length))break e;te.length=0,te.mode=iu;case iu:if(te.flags&2048){if(Ge===0)break e;Bt=0;do Qi=ce[Ce+Bt++],te.head&&Qi&&te.length<65536&&(te.head.name+=String.fromCharCode(Qi));while(Qi&&Bt>9&1,te.head.done=!0),E.adler=te.check=0,te.mode=tc;break;case bc:for(;Ft<32;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>=Ft&7,Ft-=Ft&7,te.mode=ah;break}for(;Ft<3;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>=1,Ft-=1,At&3){case 0:te.mode=ih;break;case 1:if(YA(te),te.mode=CA,ne===Tc){At>>>=2,Ft-=2;break e}break;case 2:te.mode=fl;break;case 3:E.msg="invalid block type",te.mode=Li}At>>>=2,Ft-=2;break;case ih:for(At>>>=Ft&7,Ft-=Ft&7;Ft<32;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>16^65535)){E.msg="invalid stored block lengths",te.mode=Li;break}if(te.length=At&65535,At=0,Ft=0,te.mode=wA,ne===Tc)break e;case wA:te.mode=xA;case xA:if(Bt=te.length,Bt){if(Bt>Ge&&(Bt=Ge),Bt>ot&&(Bt=ot),Bt===0)break e;ge.set(ce.subarray(Ce,Ce+Bt),nt),Ge-=Bt,Ce+=Bt,ot-=Bt,nt+=Bt,te.length-=Bt;break}te.mode=tc;break;case fl:for(;Ft<14;){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>=5,Ft-=5,te.ndist=(At&31)+1,At>>>=5,Ft-=5,te.ncode=(At&15)+4,At>>>=4,Ft-=4,te.nlen>286||te.ndist>30){E.msg="too many length or distance symbols",te.mode=Li;break}te.have=0,te.mode=Ru;case Ru:for(;te.have>>=3,Ft-=3}for(;te.have<19;)te.lens[qn[te.have++]]=0;if(te.lencode=te.lendyn,te.lenbits=7,ci={bits:te.lenbits},zr=_u(fs,te.lens,0,19,te.lencode,0,te.work,ci),te.lenbits=ci.bits,zr){E.msg="invalid code lengths set",te.mode=Li;break}te.have=0,te.mode=sA;case sA:for(;te.have>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>=xn,Ft-=xn,te.lens[te.have++]=xr;else{if(xr===16){for(yn=xn+2;Ft>>=xn,Ft-=xn,te.have===0){E.msg="invalid bit length repeat",te.mode=Li;break}Qi=te.lens[te.have-1],Bt=3+(At&3),At>>>=2,Ft-=2}else if(xr===17){for(yn=xn+3;Ft>>=xn,Ft-=xn,Qi=0,Bt=3+(At&7),At>>>=3,Ft-=3}else{for(yn=xn+7;Ft>>=xn,Ft-=xn,Qi=0,Bt=11+(At&127),At>>>=7,Ft-=7}if(te.have+Bt>te.nlen+te.ndist){E.msg="invalid bit length repeat",te.mode=Li;break}for(;Bt--;)te.lens[te.have++]=Qi}}if(te.mode===Li)break;if(te.lens[256]===0){E.msg="invalid code -- missing end-of-block",te.mode=Li;break}if(te.lenbits=9,ci={bits:te.lenbits},zr=_u(ql,te.lens,0,te.nlen,te.lencode,0,te.work,ci),te.lenbits=ci.bits,zr){E.msg="invalid literal/lengths set",te.mode=Li;break}if(te.distbits=6,te.distcode=te.distdyn,ci={bits:te.distbits},zr=_u(Pc,te.lens,te.nlen,te.ndist,te.distcode,0,te.work,ci),te.distbits=ci.bits,zr){E.msg="invalid distances set",te.mode=Li;break}if(te.mode=CA,ne===Tc)break e;case CA:te.mode=id;case id:if(Ge>=6&&ot>=258){E.next_out=nt,E.avail_out=ot,E.next_in=Ce,E.avail_in=Ge,te.hold=At,te.bits=Ft,qc(E,sn),nt=E.next_out,ge=E.output,ot=E.avail_out,Ce=E.next_in,ce=E.input,Ge=E.avail_in,At=te.hold,Ft=te.bits,te.mode===tc&&(te.back=-1);break}for(te.back=0;Yn=te.lencode[At&(1<>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>sr)],xn=Yn>>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(sr+xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>=sr,Ft-=sr,te.back+=sr}if(At>>>=xn,Ft-=xn,te.back+=xn,te.length=xr,Lr===0){te.mode=If;break}if(Lr&32){te.back=-1,te.mode=tc;break}if(Lr&64){E.msg="invalid literal/length code",te.mode=Li;break}te.extra=Lr&15,te.mode=$h;case $h:if(te.extra){for(yn=te.extra;Ft>>=te.extra,Ft-=te.extra,te.back+=te.extra}te.was=te.length,te.mode=cc;case cc:for(;Yn=te.distcode[At&(1<>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>sr)],xn=Yn>>>24,Lr=Yn>>>16&255,xr=Yn&65535,!(sr+xn<=Ft);){if(Ge===0)break e;Ge--,At+=ce[Ce++]<>>=sr,Ft-=sr,te.back+=sr}if(At>>>=xn,Ft-=xn,te.back+=xn,Lr&64){E.msg="invalid distance code",te.mode=Li;break}te.offset=xr,te.extra=Lr&15,te.mode=Eh;case Eh:if(te.extra){for(yn=te.extra;Ft>>=te.extra,Ft-=te.extra,te.back+=te.extra}if(te.offset>te.dmax){E.msg="invalid distance too far back",te.mode=Li;break}te.mode=e0;case e0:if(ot===0)break e;if(Bt=sn-ot,te.offset>Bt){if(Bt=te.offset-Bt,Bt>te.whave&&te.sane){E.msg="invalid distance too far back",te.mode=Li;break}Bt>te.wnext?(Bt-=te.wnext,zn=te.wsize-Bt):zn=te.wnext-Bt,Bt>te.length&&(Bt=te.length),Nn=te.window}else Nn=ge,zn=nt-te.offset,Bt=te.length;Bt>ot&&(Bt=ot),ot-=Bt,te.length-=Bt;do ge[nt++]=Nn[zn++];while(--Bt);te.length===0&&(te.mode=id);break;case If:if(ot===0)break e;ge[nt++]=te.length,ot--,te.mode=id;break;case ah:if(te.wrap){for(;Ft<32;){if(Ge===0)break e;Ge--,At|=ce[Ce++]<{if(wf(E))return Yu;let ne=E.state;return ne.window&&(ne.window=null),E.state=null,Gu},XA=(E,ne)=>{if(wf(E))return Yu;const te=E.state;return te.wrap&2?(te.head=ne,ne.done=!1,Gu):Yu},JA=(E,ne)=>{const te=ne.length;let ce,ge,Ce;return wf(E)||(ce=E.state,ce.wrap!==0&&ce.mode!==_c)?Yu:ce.mode===_c&&(ge=1,ge=Wo(ge,ne,te,0),ge!==ce.check)?Rc:(Ce=Cl(E,ne,te,te),Ce?(ce.mode=oh,Iu):(ce.havedict=1,Gu))};var _0=SA,Mc=lh,FA=kh,M0=GA,xf=EA,I0=jl,Kl=wd,_h=XA,Cf=JA,Mh="pako inflate (from Nodeca project)",Ei={inflateReset:_0,inflateReset2:Mc,inflateResetKeep:FA,inflateInit:M0,inflateInit2:xf,inflate:I0,inflateEnd:Kl,inflateGetHeader:_h,inflateSetDictionary:Cf,inflateInfo:Mh};function om(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var sm=om;const ip=Object.prototype.toString,{Z_NO_FLUSH:n0,Z_FINISH:qA,Z_OK:Of,Z_STREAM_END:ap,Z_NEED_DICT:ed,Z_STREAM_ERROR:Nf,Z_DATA_ERROR:r0,Z_MEM_ERROR:L0}=bs;function D0(E){this.options=ls.assign({chunkSize:1024*64,windowBits:15,to:""},E||{});const ne=this.options;ne.raw&&ne.windowBits>=0&&ne.windowBits<16&&(ne.windowBits=-ne.windowBits,ne.windowBits===0&&(ne.windowBits=-15)),ne.windowBits>=0&&ne.windowBits<16&&!(E&&E.windowBits)&&(ne.windowBits+=32),ne.windowBits>15&&ne.windowBits<48&&(ne.windowBits&15||(ne.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rs,this.strm.avail_out=0;let te=Ei.inflateInit2(this.strm,ne.windowBits);if(te!==Of)throw new Error(ys[te]);if(this.header=new sm,Ei.inflateGetHeader(this.strm,this.header),ne.dictionary&&(typeof ne.dictionary=="string"?ne.dictionary=ns.string2buf(ne.dictionary):ip.call(ne.dictionary)==="[object ArrayBuffer]"&&(ne.dictionary=new Uint8Array(ne.dictionary)),ne.raw&&(te=Ei.inflateSetDictionary(this.strm,ne.dictionary),te!==Of)))throw new Error(ys[te])}D0.prototype.push=function(E,ne){const te=this.strm,ce=this.options.chunkSize,ge=this.options.dictionary;let Ce,nt,Ge;if(this.ended)return!1;for(ne===~~ne?nt=ne:nt=ne===!0?qA:n0,ip.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){for(te.avail_out===0&&(te.output=new Uint8Array(ce),te.next_out=0,te.avail_out=ce),Ce=Ei.inflate(te,nt),Ce===ed&&ge&&(Ce=Ei.inflateSetDictionary(te,ge),Ce===Of?Ce=Ei.inflate(te,nt):Ce===r0&&(Ce=ed));te.avail_in>0&&Ce===ap&&te.state.wrap>0&&E[te.next_in]!==0;)Ei.inflateReset(te),Ce=Ei.inflate(te,nt);switch(Ce){case Nf:case r0:case ed:case L0:return this.onEnd(Ce),this.ended=!0,!1}if(Ge=te.avail_out,te.next_out&&(te.avail_out===0||Ce===ap))if(this.options.to==="string"){let ot=ns.utf8border(te.output,te.next_out),At=te.next_out-ot,Ft=ns.buf2string(te.output,ot);te.next_out=At,te.avail_out=ce-At,At&&te.output.set(te.output.subarray(ot,ot+At),0),this.onData(Ft)}else this.onData(te.output.length===te.next_out?te.output:te.output.subarray(0,te.next_out));if(!(Ce===Of&&Ge===0)){if(Ce===ap)return Ce=Ei.inflateEnd(this.strm),this.onEnd(Ce),this.ended=!0,!0;if(te.avail_in===0)break}}return!0},D0.prototype.onData=function(E){this.chunks.push(E)},D0.prototype.onEnd=function(E){E===Of&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ls.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function Ih(E,ne){const te=new D0(ne);if(te.push(E),te.err)throw te.msg||ys[te.err];return te.result}function op(E,ne){return ne=ne||{},ne.raw=!0,Ih(E,ne)}var Cp=D0,O0=Ih,Ud=op,Pf=Ih,Lh=bs,N0={Inflate:Cp,inflate:O0,inflateRaw:Ud,ungzip:Pf,constants:Lh};const{Deflate:cf,deflate:lm,deflateRaw:sp,gzip:Hm}=ws,{Inflate:Qm,inflate:Bp,inflateRaw:Us,ungzip:um}=N0;var lp=cf,IA=lm,$A=sp,Tf=Hm,P0=Qm,Dh=Bp,i0=Us,Oh=um,Sp=bs,cm={Deflate:lp,deflate:IA,deflateRaw:$A,gzip:Tf,Inflate:P0,inflate:Dh,inflateRaw:i0,ungzip:Oh,constants:Sp};const T0=[];for(let E=0;E<256;E++){let ne=E;for(let te=0;te<8;te++)ne&1?ne=3988292384^ne>>>1:ne=ne>>>1;T0[E]=ne}const a0=4294967295;function dm(E,ne,te){let ce=E;for(let ge=0;ge>>8;return ce}function Uu(E,ne){return(dm(a0,E,ne)^a0)>>>0}function uh(E,ne,te){const ce=E.readUint32(),ge=Uu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne-4,ne),ne);if(ge!==ce)throw new Error(`CRC mismatch for chunk ${te}. Expected ${ce}, found ${ge}`)}function jm(E,ne){E.writeUint32(Uu(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne,ne),ne))}function dc(E,ne,te){for(let ce=0;ce>1)&255}else{for(;Ce>1)&255;for(;Ce>1)&255}}function ou(E,ne,te,ce,ge){let Ce=0;if(te.length===0){for(;Ce=te||qi>=ce))for(let Qi=0;Qi>8&255}const le=new Uint16Array([255]),Ve=new Uint8Array(le.buffer)[0]===255,mt=new Uint8Array(0);function It(E){const{data:ne,width:te,height:ce,channels:ge,depth:Ce}=E,nt=Math.ceil(Ce/8)*ge,Ge=Math.ceil(Ce/8*ge*te),ot=new Uint8Array(ce*Ge);let At=mt,Ft=0,en,sn;for(let Bt=0;Bt>8&255}const Jt=Uint8Array.of(137,80,78,71,13,10,26,10);function Zn(E){E.writeBytes(Jt)}function ir(E){if(!Yr(E.readBytes(Jt.length)))throw new Error("wrong PNG signature")}function Yr(E){if(E.length79)throw new Error("keyword length must be between 1 and 79")}const bo=/^[\u0000-\u00FF]*$/;function _o(E){if(!bo.test(E))throw new Error("invalid latin1 text")}function po(E,ne,te){const ce=hs(ne);E[ce]=vs(ne,te-ce.length-1)}function Uo(E,ne,te){qa(ne),_o(te);const ce=ne.length+1+te.length;E.writeUint32(ce),E.writeChars(Qr),E.writeChars(ne),E.writeByte(Oi),E.writeChars(te),writeCrc(E,ce+4)}function hs(E){for(E.mark();E.readByte()!==Oi;);const ne=E.offset;E.reset();const te=ma.decode(E.readBytes(ne-E.offset-1));return E.skip(1),qa(te),te}function vs(E,ne){return ma.decode(E.readBytes(ne))}const Ns={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Hu={UNKNOWN:-1,DEFLATE:0},dd={UNKNOWN:-1,ADAPTIVE:0},wc={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Id={NONE:0,BACKGROUND:1,PREVIOUS:2},xd={SOURCE:0,OVER:1};class ad extends xo{constructor(te,ce={}){super(te);pc(this,"_checkCrc");pc(this,"_inflator");pc(this,"_png");pc(this,"_apng");pc(this,"_end");pc(this,"_hasPalette");pc(this,"_palette");pc(this,"_hasTransparency");pc(this,"_transparency");pc(this,"_compressionMethod");pc(this,"_filterMethod");pc(this,"_interlaceMethod");pc(this,"_colorType");pc(this,"_isAnimated");pc(this,"_numberOfFrames");pc(this,"_numberOfPlays");pc(this,"_frames");pc(this,"_writingDataChunks");const{checkCrc:ge=!1}=ce;this._checkCrc=ge,this._inflator=new P0,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Hu.UNKNOWN,this._filterMethod=dd.UNKNOWN,this._interlaceMethod=wc.UNKNOWN,this._colorType=Ns.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(ir(this);!this._end;){const te=this.readUint32(),ce=this.readChars(4);this.decodeChunk(te,ce)}return this.decodeImage(),this._png}decodeApng(){for(ir(this);!this._end;){const te=this.readUint32(),ce=this.readChars(4);this.decodeApngChunk(te,ce)}return this.decodeApngImage(),this._apng}decodeChunk(te,ce){const ge=this.offset;switch(ce){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(te);break;case"IDAT":this.decodeIDAT(te);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(te);break;case"iCCP":this.decodeiCCP(te);break;case Qr:po(this._png.text,this,te);break;case"pHYs":this.decodepHYs();break;default:this.skip(te);break}if(this.offset-ge!==te)throw new Error(`Length mismatch while decoding chunk ${ce}`);this._checkCrc?uh(this,te+4,ce):this.skip(4)}decodeApngChunk(te,ce){const ge=this.offset;switch(ce!=="fdAT"&&ce!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),ce){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(te);break;default:this.decodeChunk(te,ce),this.offset=ge+te;break}if(this.offset-ge!==te)throw new Error(`Length mismatch while decoding chunk ${ce}`);this._checkCrc?uh(this,te+4,ce):this.skip(4)}decodeIHDR(){const te=this._png;te.width=this.readUint32(),te.height=this.readUint32(),te.depth=Hd(this.readUint8());const ce=this.readUint8();this._colorType=ce;let ge;switch(ce){case Ns.GREYSCALE:ge=1;break;case Ns.TRUECOLOUR:ge=3;break;case Ns.INDEXED_COLOUR:ge=1;break;case Ns.GREYSCALE_ALPHA:ge=2;break;case Ns.TRUECOLOUR_ALPHA:ge=4;break;case Ns.UNKNOWN:default:throw new Error(`Unknown color type: ${ce}`)}if(this._png.channels=ge,this._compressionMethod=this.readUint8(),this._compressionMethod!==Hu.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const te={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(te)}decodePLTE(te){if(te%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${te}`);const ce=te/3;this._hasPalette=!0;const ge=[];this._palette=ge;for(let Ce=0;Cethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${te/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(te/2);for(let ce=0;cethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${te} vs ${this._palette.length})`);let ce=0;for(;ce{const ot=((nt+ce.yOffset)*this._png.width+ce.xOffset+Ge)*this._png.channels,At=(nt*ce.width+Ge)*this._png.channels;return{index:ot,frameIndex:At}};switch(ce.blendOp){case xd.SOURCE:for(let nt=0;ntce.at(-1)!==255);this.writeUint32(te.length),this.writeChars("tRNS");for(const ce of te)this.writeByte(ce.at(-1));writeCrc(this,4+te.length)}encodeIDAT(te){this.writeUint32(te.length),this.writeChars("IDAT"),this.writeBytes(te),writeCrc(this,te.length+4)}encodeData(){const{width:te,height:ce,channels:ge,depth:Ce,data:nt}=this._png,Ge=Ce<=8?Math.ceil(te*Ce/8)*ge:Math.ceil(te*Ce/8*ge/2),ot=new IOBuffer().setBigEndian();let At=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let sn=0;sn0)return E;throw new TypeError(`${ne} must be a positive integer`)}function xc(E,ne){const{channels:te=4,depth:ce=8}=E;if(te!==4&&te!==3&&te!==2&&te!==1)throw new RangeError(`unsupported number of channels: ${te}`);const ge={channels:te,depth:ce,colorType:ColorType.UNKNOWN};switch(te){case 4:ge.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ge.colorType=ColorType.TRUECOLOUR;break;case 1:ne?ge.colorType=ColorType.INDEXED_COLOUR:ge.colorType=ColorType.GREYSCALE;break;case 2:ge.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ge}function Mu(E,ne,te,ce){for(let ge=0;ge>8&255),te.writeByte(xr&255)}}return ce}function Dl(E,ne,te,ce){for(let ge=0;ge=200&&ne.status<=299}function od(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(te){var ne=document.createEvent("MouseEvents");ne.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(ne)}}var Ph=Ps.saveAs||((typeof window=="undefined"?"undefined":(0,he.Z)(window))!=="object"||window!==Ps?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(E,ne,te){var ce=Ps.URL||Ps.webkitURL,ge=document.createElement("a");ne=ne||E.name||"download",ge.download=ne,ge.rel="noopener",typeof E=="string"?(ge.href=E,ge.origin!==location.origin?Uf(ge.href)?Kc(E,ne,te):od(ge,ge.target="_blank"):od(ge)):(ge.href=ce.createObjectURL(E),setTimeout(function(){ce.revokeObjectURL(ge.href)},4e4),setTimeout(function(){od(ge)},0))}:"msSaveOrOpenBlob"in navigator?function(E,ne,te){if(ne=ne||E.name||"download",typeof E=="string")if(Uf(E))Kc(E,ne,te);else{var ce=document.createElement("a");ce.href=E,ce.target="_blank",setTimeout(function(){od(ce)})}else navigator.msSaveOrOpenBlob(function(ge,Ce){return Ce===void 0?Ce={autoBom:!1}:(0,he.Z)(Ce)!=="object"&&(fu.warn("Deprecated: Expected third argument to be a object"),Ce={autoBom:!Ce}),Ce.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ge.type)?new Blob(["\uFEFF",ge],{type:ge.type}):ge}(E,te),ne)}:function(E,ne,te,ce){if((ce=ce||open("","_blank"))&&(ce.document.title=ce.document.body.innerText="downloading..."),typeof E=="string")return Kc(E,ne,te);var ge=E.type==="application/octet-stream",Ce=/constructor/i.test(Ps.HTMLElement)||Ps.safari,nt=/CriOS\/[\d]+/.test(navigator.userAgent);if((nt||ge&&Ce)&&(typeof FileReader=="undefined"?"undefined":(0,he.Z)(FileReader))==="object"){var Ge=new FileReader;Ge.onloadend=function(){var Ft=Ge.result;Ft=nt?Ft:Ft.replace(/^data:[^;]*;/,"data:attachment/file;"),ce?ce.location.href=Ft:location=Ft,ce=null},Ge.readAsDataURL(E)}else{var ot=Ps.URL||Ps.webkitURL,At=ot.createObjectURL(E);ce?ce.location=At:location.href=At,ce=null,setTimeout(function(){ot.revokeObjectURL(At)},4e4)}});function Km(E){var ne;E=E||"",this.ok=!1,E.charAt(0)=="#"&&(E=E.substr(1,6)),E={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[E=(E=E.replace(/ /g,"")).toLowerCase()]||E;for(var te=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Ge){return[parseInt(Ge[1]),parseInt(Ge[2]),parseInt(Ge[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ge){return[parseInt(Ge[1],16),parseInt(Ge[2],16),parseInt(Ge[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ge){return[parseInt(Ge[1]+Ge[1],16),parseInt(Ge[2]+Ge[2],16),parseInt(Ge[3]+Ge[3],16)]}}],ce=0;ce255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Ge=this.r.toString(16),ot=this.g.toString(16),At=this.b.toString(16);return Ge.length==1&&(Ge="0"+Ge),ot.length==1&&(ot="0"+ot),At.length==1&&(At="0"+At),"#"+Ge+ot+At}}var wa=Ps.atob.bind(Ps),Ac=Ps.btoa.bind(Ps);function Am(E,ne){var te=E[0],ce=E[1],ge=E[2],Ce=E[3];te=lA(te,ce,ge,Ce,ne[0],7,-680876936),Ce=lA(Ce,te,ce,ge,ne[1],12,-389564586),ge=lA(ge,Ce,te,ce,ne[2],17,606105819),ce=lA(ce,ge,Ce,te,ne[3],22,-1044525330),te=lA(te,ce,ge,Ce,ne[4],7,-176418897),Ce=lA(Ce,te,ce,ge,ne[5],12,1200080426),ge=lA(ge,Ce,te,ce,ne[6],17,-1473231341),ce=lA(ce,ge,Ce,te,ne[7],22,-45705983),te=lA(te,ce,ge,Ce,ne[8],7,1770035416),Ce=lA(Ce,te,ce,ge,ne[9],12,-1958414417),ge=lA(ge,Ce,te,ce,ne[10],17,-42063),ce=lA(ce,ge,Ce,te,ne[11],22,-1990404162),te=lA(te,ce,ge,Ce,ne[12],7,1804603682),Ce=lA(Ce,te,ce,ge,ne[13],12,-40341101),ge=lA(ge,Ce,te,ce,ne[14],17,-1502002290),te=Gd(te,ce=lA(ce,ge,Ce,te,ne[15],22,1236535329),ge,Ce,ne[1],5,-165796510),Ce=Gd(Ce,te,ce,ge,ne[6],9,-1069501632),ge=Gd(ge,Ce,te,ce,ne[11],14,643717713),ce=Gd(ce,ge,Ce,te,ne[0],20,-373897302),te=Gd(te,ce,ge,Ce,ne[5],5,-701558691),Ce=Gd(Ce,te,ce,ge,ne[10],9,38016083),ge=Gd(ge,Ce,te,ce,ne[15],14,-660478335),ce=Gd(ce,ge,Ce,te,ne[4],20,-405537848),te=Gd(te,ce,ge,Ce,ne[9],5,568446438),Ce=Gd(Ce,te,ce,ge,ne[14],9,-1019803690),ge=Gd(ge,Ce,te,ce,ne[3],14,-187363961),ce=Gd(ce,ge,Ce,te,ne[8],20,1163531501),te=Gd(te,ce,ge,Ce,ne[13],5,-1444681467),Ce=Gd(Ce,te,ce,ge,ne[2],9,-51403784),ge=Gd(ge,Ce,te,ce,ne[7],14,1735328473),te=Ld(te,ce=Gd(ce,ge,Ce,te,ne[12],20,-1926607734),ge,Ce,ne[5],4,-378558),Ce=Ld(Ce,te,ce,ge,ne[8],11,-2022574463),ge=Ld(ge,Ce,te,ce,ne[11],16,1839030562),ce=Ld(ce,ge,Ce,te,ne[14],23,-35309556),te=Ld(te,ce,ge,Ce,ne[1],4,-1530992060),Ce=Ld(Ce,te,ce,ge,ne[4],11,1272893353),ge=Ld(ge,Ce,te,ce,ne[7],16,-155497632),ce=Ld(ce,ge,Ce,te,ne[10],23,-1094730640),te=Ld(te,ce,ge,Ce,ne[13],4,681279174),Ce=Ld(Ce,te,ce,ge,ne[0],11,-358537222),ge=Ld(ge,Ce,te,ce,ne[3],16,-722521979),ce=Ld(ce,ge,Ce,te,ne[6],23,76029189),te=Ld(te,ce,ge,Ce,ne[9],4,-640364487),Ce=Ld(Ce,te,ce,ge,ne[12],11,-421815835),ge=Ld(ge,Ce,te,ce,ne[15],16,530742520),te=Qd(te,ce=Ld(ce,ge,Ce,te,ne[2],23,-995338651),ge,Ce,ne[0],6,-198630844),Ce=Qd(Ce,te,ce,ge,ne[7],10,1126891415),ge=Qd(ge,Ce,te,ce,ne[14],15,-1416354905),ce=Qd(ce,ge,Ce,te,ne[5],21,-57434055),te=Qd(te,ce,ge,Ce,ne[12],6,1700485571),Ce=Qd(Ce,te,ce,ge,ne[3],10,-1894986606),ge=Qd(ge,Ce,te,ce,ne[10],15,-1051523),ce=Qd(ce,ge,Ce,te,ne[1],21,-2054922799),te=Qd(te,ce,ge,Ce,ne[8],6,1873313359),Ce=Qd(Ce,te,ce,ge,ne[15],10,-30611744),ge=Qd(ge,Ce,te,ce,ne[6],15,-1560198380),ce=Qd(ce,ge,Ce,te,ne[13],21,1309151649),te=Qd(te,ce,ge,Ce,ne[4],6,-145523070),Ce=Qd(Ce,te,ce,ge,ne[11],10,-1120210379),ge=Qd(ge,Ce,te,ce,ne[2],15,718787259),ce=Qd(ce,ge,Ce,te,ne[9],21,-343485551),E[0]=_A(te,E[0]),E[1]=_A(ce,E[1]),E[2]=_A(ge,E[2]),E[3]=_A(Ce,E[3])}function fm(E,ne,te,ce,ge,Ce){return ne=_A(_A(ne,E),_A(ce,Ce)),_A(ne<>>32-ge,te)}function lA(E,ne,te,ce,ge,Ce,nt){return fm(ne&te|~ne&ce,E,ne,ge,Ce,nt)}function Gd(E,ne,te,ce,ge,Ce,nt){return fm(ne&ce|te&~ce,E,ne,ge,Ce,nt)}function Ld(E,ne,te,ce,ge,Ce,nt){return fm(ne^te^ce,E,ne,ge,Ce,nt)}function Qd(E,ne,te,ce,ge,Ce,nt){return fm(te^(ne|~ce),E,ne,ge,Ce,nt)}function fg(E){var ne,te=E.length,ce=[1732584193,-271733879,-1732584194,271733878];for(ne=64;ne<=E.length;ne+=64)Am(ce,hm(E.substring(ne-64,ne)));E=E.substring(ne-64);var ge=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ne=0;ne>2]|=E.charCodeAt(ne)<<(ne%4<<3);if(ge[ne>>2]|=128<<(ne%4<<3),ne>55)for(Am(ce,ge),ne=0;ne<16;ne++)ge[ne]=0;return ge[14]=8*te,Am(ce,ge),ce}function hm(E){var ne,te=[];for(ne=0;ne<64;ne+=4)te[ne>>2]=E.charCodeAt(ne)+(E.charCodeAt(ne+1)<<8)+(E.charCodeAt(ne+2)<<16)+(E.charCodeAt(ne+3)<<24);return te}var tf="0123456789abcdef".split("");function R0(E){for(var ne="",te=0;te<4;te++)ne+=tf[E>>8*te+4&15]+tf[E>>8*te&15];return ne}function Ad(E){return String.fromCharCode(255&E,(65280&E)>>8,(16711680&E)>>16,(4278190080&E)>>24)}function U0(E){return fg(E).map(Ad).join("")}var zm=function(E){for(var ne=0;ne>16)+(ne>>16)+(te>>16)<<16|65535&te}return E+ne&4294967295}function jd(E,ne){var te,ce,ge,Ce;if(E!==te){for(var nt=(ge=E,Ce=1+(256/E.length|0),new Array(Ce+1).join(ge)),Ge=[],ot=0;ot<256;ot++)Ge[ot]=ot;var At=0;for(ot=0;ot<256;ot++){var Ft=Ge[ot];At=(At+Ft+nt.charCodeAt(ot))%256,Ge[ot]=Ge[At],Ge[At]=Ft}te=E,ce=Ge}else Ge=ce;var en=ne.length,sn=0,Bt=0,zn="";for(ot=0;ot\x80/\f\xA9\xFEdSiz";var Ce=(ne+this.padding).substr(0,32),nt=(te+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ce,nt),this.P=-(1+(255^ge)),this.encryptionKey=U0(Ce+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(ce)).substr(0,5),this.U=jd(this.encryptionKey,this.padding)}function DA(E){if(/[^\u0000-\u00ff]/.test(E))throw new Error("Invalid PDF Name Object: "+E+", Only accept ASCII characters.");for(var ne="",te=E.length,ce=0;ce126?"#"+("0"+ge.toString(16)).slice(-2):E[ce]}return ne}function Wm(E){if((0,he.Z)(E)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ne={};this.subscribe=function(te,ce,ge){if(ge=ge||!1,typeof te!="string"||typeof ce!="function"||typeof ge!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ne.hasOwnProperty(te)||(ne[te]={});var Ce=Math.random().toString(35);return ne[te][Ce]=[ce,!!ge],Ce},this.unsubscribe=function(te){for(var ce in ne)if(ne[ce][te])return delete ne[ce][te],Object.keys(ne[ce]).length===0&&delete ne[ce],!0;return!1},this.publish=function(te){if(ne.hasOwnProperty(te)){var ce=Array.prototype.slice.call(arguments,1),ge=[];for(var Ce in ne[te]){var nt=ne[te][Ce];try{nt[0].apply(E,ce)}catch(Ge){Ps.console&&fu.error("jsPDF PubSub Error",Ge.message,Ge)}nt[1]&&ge.push(Ce)}ge.length&&ge.forEach(this.unsubscribe)}},this.getTopics=function(){return ne}}function Fp(E){if(!(this instanceof Fp))return new Fp(E);var ne="opacity,stroke-opacity".split(",");for(var te in E)E.hasOwnProperty(te)&&ne.indexOf(te)>=0&&(this[te]=E[te]);this.id="",this.objectNumber=-1}function up(E,ne){this.gState=E,this.matrix=ne,this.id="",this.objectNumber=-1}function s0(E,ne,te,ce,ge){if(!(this instanceof s0))return new s0(E,ne,te,ce,ge);this.type=E==="axial"?2:3,this.coords=ne,this.colors=te,up.call(this,ce,ge)}function l0(E,ne,te,ce,ge){if(!(this instanceof l0))return new l0(E,ne,te,ce,ge);this.boundingBox=E,this.xStep=ne,this.yStep=te,this.stream="",this.cloneIndex=0,up.call(this,ce,ge)}function _s(E){var ne,te=typeof arguments[0]=="string"?arguments[0]:"p",ce=arguments[1],ge=arguments[2],Ce=arguments[3],nt=[],Ge=1,ot=16,At="S",Ft=null;(0,he.Z)(E=E||{})==="object"&&(te=E.orientation,ce=E.unit||ce,ge=E.format||ge,Ce=E.compress||E.compressPdf||Ce,(Ft=E.encryption||null)!==null&&(Ft.userPassword=Ft.userPassword||"",Ft.ownerPassword=Ft.ownerPassword||"",Ft.userPermissions=Ft.userPermissions||[]),Ge=typeof E.userUnit=="number"?Math.abs(E.userUnit):1,E.precision!==void 0&&(ne=E.precision),E.floatPrecision!==void 0&&(ot=E.floatPrecision),At=E.defaultPathOperation||"S"),nt=E.filters||(Ce===!0?["FlateEncode"]:nt),ce=ce||"mm",te=(""+(te||"P")).toLowerCase();var en=E.putOnlyUsedFonts||!1,sn={},Bt={internal:{},__private__:{}};Bt.__private__.PubSub=Wm;var zn="1.3",Nn=Bt.__private__.getPdfVersion=function(){return zn};Bt.__private__.setPdfVersion=function(ct){zn=ct};var Yn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};Bt.__private__.getPageFormats=function(){return Yn};var xn=Bt.__private__.getPageFormat=function(ct){return Yn[ct]};ge=ge||"a4";var Lr="compat",xr="advanced",sr=Lr;function wi(){this.saveGraphicsState(),Wn(new pl(tu,0,0,-tu,0,Ap()*tu).toString()+" cm"),this.setFontSize(this.getFontSize()/tu),At="n",sr=xr}function qi(){this.restoreGraphicsState(),At="S",sr=Lr}var Qi=Bt.__private__.combineFontStyleAndFontWeight=function(ct,an){if(ct=="bold"&&an=="normal"||ct=="bold"&&an==400||ct=="normal"&&an=="italic"||ct=="bold"&&an=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return an&&(ct=an==400||an==="normal"?ct==="italic"?"italic":"normal":an!=700&&an!=="bold"||ct!=="normal"?(an==700?"bold":an)+""+ct:"bold"),ct};Bt.advancedAPI=function(ct){var an=sr===Lr;return an&&wi.call(this),typeof ct!="function"||(ct(this),an&&qi.call(this)),this},Bt.compatAPI=function(ct){var an=sr===xr;return an&&qi.call(this),typeof ct!="function"||(ct(this),an&&wi.call(this)),this},Bt.isAdvancedAPI=function(){return sr===xr};var zr,ur=function(ct){if(sr!==xr)throw new Error(ct+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ci=Bt.roundToPrecision=Bt.__private__.roundToPrecision=function(ct,an){var tr=ne||an;if(isNaN(ct)||isNaN(tr))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ct.toFixed(tr).replace(/0+$/,"")};zr=Bt.hpf=Bt.__private__.hpf=typeof ot=="number"?function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,ot)}:ot==="smart"?function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,ct>-1&&ct<1?16:5)}:function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.hpf");return ci(ct,16)};var yn=Bt.f2=Bt.__private__.f2=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f2");return ci(ct,2)},qn=Bt.__private__.f3=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.f3");return ci(ct,3)},Mr=Bt.scale=Bt.__private__.scale=function(ct){if(isNaN(ct))throw new Error("Invalid argument passed to jsPDF.scale");return sr===Lr?ct*tu:sr===xr?ct:void 0},Br=function(ct){return Mr(function(an){return sr===Lr?Ap()-an:sr===xr?an:void 0}(ct))};Bt.__private__.setPrecision=Bt.setPrecision=function(ct){typeof parseInt(ct,10)=="number"&&(ne=parseInt(ct,10))};var Fi,Ui="00000000000000000000000000000000",Gi=Bt.__private__.getFileId=function(){return Ui},xi=Bt.__private__.setFileId=function(ct){return Ui=ct!==void 0&&/^[a-fA-F0-9]{32}$/.test(ct)?ct.toUpperCase():Ui.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ft!==null&&(dA=new dh(Ft.userPermissions,Ft.userPassword,Ft.ownerPassword,Ui)),Ui};Bt.setFileId=function(ct){return xi(ct),this},Bt.getFileId=function(){return Gi()};var Wi=Bt.__private__.convertDateToPDFDate=function(ct){var an=ct.getTimezoneOffset(),tr=an<0?"+":"-",_r=Math.floor(Math.abs(an/60)),ii=Math.abs(an%60),da=[tr,pr(_r),"'",pr(ii),"'"].join("");return["D:",ct.getFullYear(),pr(ct.getMonth()+1),pr(ct.getDate()),pr(ct.getHours()),pr(ct.getMinutes()),pr(ct.getSeconds()),da].join("")},mo=Bt.__private__.convertPDFDateToDate=function(ct){var an=parseInt(ct.substr(2,4),10),tr=parseInt(ct.substr(6,2),10)-1,_r=parseInt(ct.substr(8,2),10),ii=parseInt(ct.substr(10,2),10),da=parseInt(ct.substr(12,2),10),Qa=parseInt(ct.substr(14,2),10);return new Date(an,tr,_r,ii,da,Qa,0)},Ta=Bt.__private__.setCreationDate=function(ct){var an;if(ct===void 0&&(ct=new Date),ct instanceof Date)an=Wi(ct);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(ct))throw new Error("Invalid argument passed to jsPDF.setCreationDate");an=ct}return Fi=an},hn=Bt.__private__.getCreationDate=function(ct){var an=Fi;return ct==="jsDate"&&(an=mo(Fi)),an};Bt.setCreationDate=function(ct){return Ta(ct),this},Bt.getCreationDate=function(ct){return hn(ct)};var or,pr=Bt.__private__.padd2=function(ct){return("0"+parseInt(ct)).slice(-2)},Nr=Bt.__private__.padd2Hex=function(ct){return("00"+(ct=ct.toString())).substr(ct.length)},Xr=0,pi=[],Di=[],Ni=0,ba=[],co=[],Ho=!1,Ko=Di;Bt.__private__.setCustomOutputDestination=function(ct){Ho=!0,Ko=ct};var zs=function(ct){Ho||(Ko=ct)};Bt.__private__.resetCustomOutputDestination=function(){Ho=!1,Ko=Di};var Wn=Bt.__private__.out=function(ct){return ct=ct.toString(),Ni+=ct.length+1,Ko.push(ct),Ko},Yo=Bt.__private__.write=function(ct){return Wn(arguments.length===1?ct.toString():Array.prototype.join.call(arguments," "))},hu=Bt.__private__.getArrayBuffer=function(ct){for(var an=ct.length,tr=new ArrayBuffer(an),_r=new Uint8Array(tr);an--;)_r[an]=ct.charCodeAt(an);return tr},hl=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];Bt.__private__.getStandardFonts=function(){return hl};var ao=E.fontSize||16;Bt.__private__.setFontSize=Bt.setFontSize=function(ct){return ao=sr===xr?ct/tu:ct,this};var il,qo=Bt.__private__.getFontSize=Bt.getFontSize=function(){return sr===Lr?ao:ao*tu},Hs=E.R2L||!1;Bt.__private__.setR2L=Bt.setR2L=function(ct){return Hs=ct,this},Bt.__private__.getR2L=Bt.getR2L=function(){return Hs};var el,Du=Bt.__private__.setZoomMode=function(ct){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ct))il=ct;else if(isNaN(ct)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(ct)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ct+'" is not recognized.');il=ct}else il=parseInt(ct,10)};Bt.__private__.getZoomMode=function(){return il};var Ou,Sl=Bt.__private__.setPageMode=function(ct){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ct)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ct+'" is not recognized.');el=ct};Bt.__private__.getPageMode=function(){return el};var Eu=Bt.__private__.setLayoutMode=function(ct){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ct)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ct+'" is not recognized.');Ou=ct};Bt.__private__.getLayoutMode=function(){return Ou},Bt.__private__.setDisplayMode=Bt.setDisplayMode=function(ct,an,tr){return Du(ct),Eu(an),Sl(tr),this};var vu={title:"",subject:"",author:"",keywords:"",creator:""};Bt.__private__.getDocumentProperty=function(ct){if(Object.keys(vu).indexOf(ct)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return vu[ct]},Bt.__private__.getDocumentProperties=function(){return vu},Bt.__private__.setDocumentProperties=Bt.setProperties=Bt.setDocumentProperties=function(ct){for(var an in vu)vu.hasOwnProperty(an)&&ct[an]&&(vu[an]=ct[an]);return this},Bt.__private__.setDocumentProperty=function(ct,an){if(Object.keys(vu).indexOf(ct)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return vu[ct]=an};var Ls,tu,Qs,Kd,Ju,pu={},yu={},fd=[],Ws={},zc={},El={},zl={},Ic=null,Ol=0,al=[],fc=new Wm(Bt),Lp=E.hotfixes||[],cA={},Q0={},d0=[],pl=function ct(an,tr,_r,ii,da,Qa){if(!(this instanceof ct))return new ct(an,tr,_r,ii,da,Qa);isNaN(an)&&(an=1),isNaN(tr)&&(tr=0),isNaN(_r)&&(_r=0),isNaN(ii)&&(ii=1),isNaN(da)&&(da=0),isNaN(Qa)&&(Qa=0),this._matrix=[an,tr,_r,ii,da,Qa]};Object.defineProperty(pl.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(pl.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(pl.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(pl.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(pl.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(pl.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(pl.prototype,"a",{get:function(){return this._matrix[0]},set:function(ct){this._matrix[0]=ct}}),Object.defineProperty(pl.prototype,"b",{get:function(){return this._matrix[1]},set:function(ct){this._matrix[1]=ct}}),Object.defineProperty(pl.prototype,"c",{get:function(){return this._matrix[2]},set:function(ct){this._matrix[2]=ct}}),Object.defineProperty(pl.prototype,"d",{get:function(){return this._matrix[3]},set:function(ct){this._matrix[3]=ct}}),Object.defineProperty(pl.prototype,"e",{get:function(){return this._matrix[4]},set:function(ct){this._matrix[4]=ct}}),Object.defineProperty(pl.prototype,"f",{get:function(){return this._matrix[5]},set:function(ct){this._matrix[5]=ct}}),Object.defineProperty(pl.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(pl.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(pl.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(pl.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),pl.prototype.join=function(ct){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(zr).join(ct)},pl.prototype.multiply=function(ct){var an=ct.sx*this.sx+ct.shy*this.shx,tr=ct.sx*this.shy+ct.shy*this.sy,_r=ct.shx*this.sx+ct.sy*this.shx,ii=ct.shx*this.shy+ct.sy*this.sy,da=ct.tx*this.sx+ct.ty*this.shx+this.tx,Qa=ct.tx*this.shy+ct.ty*this.sy+this.ty;return new pl(an,tr,_r,ii,da,Qa)},pl.prototype.decompose=function(){var ct=this.sx,an=this.shy,tr=this.shx,_r=this.sy,ii=this.tx,da=this.ty,Qa=Math.sqrt(ct*ct+an*an),xs=(ct/=Qa)*tr+(an/=Qa)*_r;tr-=ct*xs,_r-=an*xs;var Ds=Math.sqrt(tr*tr+_r*_r);return xs/=Ds,ct*(_r/=Ds)>16&255,_r=Ds>>8&255,ii=255&Ds}if(_r===void 0||da===void 0&&tr===_r&&_r===ii)an=typeof tr=="string"?tr+" "+Qa[0]:ct.precision===2?yn(tr/255)+" "+Qa[0]:qn(tr/255)+" "+Qa[0];else if(da===void 0||(0,he.Z)(da)==="object"){if(da&&!isNaN(da.a)&&da.a===0)return["1.","1.","1.",Qa[1]].join(" ");an=typeof tr=="string"?[tr,_r,ii,Qa[1]].join(" "):ct.precision===2?[yn(tr/255),yn(_r/255),yn(ii/255),Qa[1]].join(" "):[qn(tr/255),qn(_r/255),qn(ii/255),Qa[1]].join(" ")}else an=typeof tr=="string"?[tr,_r,ii,da,Qa[2]].join(" "):ct.precision===2?[yn(tr),yn(_r),yn(ii),yn(da),Qa[2]].join(" "):[qn(tr),qn(_r),qn(ii),qn(da),Qa[2]].join(" ");return an},Yf=Bt.__private__.getFilters=function(){return nt},ph=Bt.__private__.putStream=function(ct){var an=(ct=ct||{}).data||"",tr=ct.filters||Yf(),_r=ct.alreadyAppliedFilters||[],ii=ct.addLength1||!1,da=an.length,Qa=ct.objectId,xs=function(Zc){return Zc};if(Ft!==null&&Qa===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ft!==null&&(xs=dA.encryptor(Qa,0));var Ds={};tr===!0&&(tr=["FlateEncode"]);var Fl=ct.additionalKeyValues||[],Zl=(Ds=_s.API.processDataByFilters!==void 0?_s.API.processDataByFilters(an,tr):{data:an,reverseChain:[]}).reverseChain+(Array.isArray(_r)?_r.join(" "):_r.toString());if(Ds.data.length!==0&&(Fl.push({key:"Length",value:Ds.data.length}),ii===!0&&Fl.push({key:"Length1",value:da})),Zl.length!=0)if(Zl.split("/").length-1==1)Fl.push({key:"Filter",value:Zl});else{Fl.push({key:"Filter",value:"["+Zl+"]"});for(var Cs=0;Cs>"),Ds.data.length!==0&&(Wn("stream"),Wn(xs(Ds.data)),Wn("endstream"))},Dp=Bt.__private__.putPage=function(ct){var an=ct.number,tr=ct.data,_r=ct.objId,ii=ct.contentsObjId;Wc(_r,!0),Wn("<>"),Wn("endobj");var da=tr.join(` `);return sr===xr&&(da+=` Q`),Wc(ii,!0),ph({data:da,filters:Yf(),objectId:ii}),Wn("endobj"),_r},h0=Bt.__private__.putPages=function(){var ct,an,tr=[];for(ct=1;ct<=Ol;ct++)al[ct].objId=nc(),al[ct].contentsObjId=nc();for(ct=1;ct<=Ol;ct++)tr.push(Dp({number:ct,data:co[ct],objId:al[ct].objId,contentsObjId:al[ct].contentsObjId,mediaBox:al[ct].mediaBox,cropBox:al[ct].cropBox,bleedBox:al[ct].bleedBox,trimBox:al[ct].trimBox,artBox:al[ct].artBox,userUnit:al[ct].userUnit,rootDictionaryObjId:f0,resourceDictionaryObjId:hh}));Wc(f0,!0),Wn("<>"),Wn("endobj"),fc.publish("postPutPages")},Op=function(ct){fc.publish("putFont",{font:ct,out:Wn,newObject:Dd,putStream:ph}),ct.isAlreadyPutted!==!0&&(ct.objectNumber=Dd(),Wn("<<"),Wn("/Type /Font"),Wn("/BaseFont /"+DA(ct.postScriptName)),Wn("/Subtype /Type1"),typeof ct.encoding=="string"&&Wn("/Encoding /"+ct.encoding),Wn("/FirstChar 32"),Wn("/LastChar 255"),Wn(">>"),Wn("endobj"))},Np=function(ct){ct.objectNumber=Dd();var an=[];an.push({key:"Type",value:"/XObject"}),an.push({key:"Subtype",value:"/Form"}),an.push({key:"BBox",value:"["+[zr(ct.x),zr(ct.y),zr(ct.x+ct.width),zr(ct.y+ct.height)].join(" ")+"]"}),an.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"});var tr=ct.pages[1].join(` `);ph({data:tr,additionalKeyValues:an,objectId:ct.objectNumber}),Wn("endobj")},gm=function(ct,an){an||(an=21);var tr=Dd(),_r=function(Qa,xs){var Ds,Fl=[],Zl=1/(xs-1);for(Ds=0;Ds<1;Ds+=Zl)Fl.push(Ds);if(Fl.push(1),Qa[0].offset!=0){var Cs={offset:0,color:Qa[0].color};Qa.unshift(Cs)}if(Qa[Qa.length-1].offset!=1){var Sd={offset:1,color:Qa[Qa.length-1].color};Qa.push(Sd)}for(var Jd="",td=0,Zc=0;ZcQa[td+1].offset;)td++;var qd=Qa[td].offset,UA=(Ds-qd)/(Qa[td+1].offset-qd),G0=Qa[td].color,zh=Qa[td+1].color;Jd+=Nr(Math.round((1-UA)*G0[0]+UA*zh[0]).toString(16))+Nr(Math.round((1-UA)*G0[1]+UA*zh[1]).toString(16))+Nr(Math.round((1-UA)*G0[2]+UA*zh[2]).toString(16))}return Jd.trim()}(ct.colors,an),ii=[];ii.push({key:"FunctionType",value:"0"}),ii.push({key:"Domain",value:"[0.0 1.0]"}),ii.push({key:"Size",value:"["+an+"]"}),ii.push({key:"BitsPerSample",value:"8"}),ii.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ii.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ph({data:_r,additionalKeyValues:ii,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:tr}),Wn("endobj"),ct.objectNumber=Dd(),Wn("<< /ShadingType "+ct.type),Wn("/ColorSpace /DeviceRGB");var da="/Coords ["+zr(parseFloat(ct.coords[0]))+" "+zr(parseFloat(ct.coords[1]))+" ";ct.type===2?da+=zr(parseFloat(ct.coords[2]))+" "+zr(parseFloat(ct.coords[3])):da+=zr(parseFloat(ct.coords[2]))+" "+zr(parseFloat(ct.coords[3]))+" "+zr(parseFloat(ct.coords[4]))+" "+zr(parseFloat(ct.coords[5])),Wn(da+="]"),ct.matrix&&Wn("/Matrix ["+ct.matrix.toString()+"]"),Wn("/Function "+tr+" 0 R"),Wn("/Extend [true true]"),Wn(">>"),Wn("endobj")},Pp=function(ct,an){var tr=nc(),_r=Dd();an.push({resourcesOid:tr,objectOid:_r}),ct.objectNumber=_r;var ii=[];ii.push({key:"Type",value:"/Pattern"}),ii.push({key:"PatternType",value:"1"}),ii.push({key:"PaintType",value:"1"}),ii.push({key:"TilingType",value:"1"}),ii.push({key:"BBox",value:"["+ct.boundingBox.map(zr).join(" ")+"]"}),ii.push({key:"XStep",value:zr(ct.xStep)}),ii.push({key:"YStep",value:zr(ct.yStep)}),ii.push({key:"Resources",value:tr+" 0 R"}),ct.matrix&&ii.push({key:"Matrix",value:"["+ct.matrix.toString()+"]"}),ph({data:ct.stream,additionalKeyValues:ii,objectId:ct.objectNumber}),Wn("endobj")},Ym=function(ct){for(var an in ct.objectNumber=Dd(),Wn("<<"),ct)switch(an){case"opacity":Wn("/ca "+yn(ct[an]));break;case"stroke-opacity":Wn("/CA "+yn(ct[an]))}Wn(">>"),Wn("endobj")},Xm=function(ct){Wc(ct.resourcesOid,!0),Wn("<<"),Wn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var an in Wn("/Font <<"),pu)pu.hasOwnProperty(an)&&(en===!1||en===!0&&sn.hasOwnProperty(an))&&Wn("/"+an+" "+pu[an].objectNumber+" 0 R");Wn(">>")}(),function(){if(Object.keys(Ws).length>0){for(var an in Wn("/Shading <<"),Ws)Ws.hasOwnProperty(an)&&Ws[an]instanceof s0&&Ws[an].objectNumber>=0&&Wn("/"+an+" "+Ws[an].objectNumber+" 0 R");fc.publish("putShadingPatternDict"),Wn(">>")}}(),function(an){if(Object.keys(Ws).length>0){for(var tr in Wn("/Pattern <<"),Ws)Ws.hasOwnProperty(tr)&&Ws[tr]instanceof Bt.TilingPattern&&Ws[tr].objectNumber>=0&&Ws[tr].objectNumber>")}}(ct.objectOid),function(){if(Object.keys(El).length>0){var an;for(an in Wn("/ExtGState <<"),El)El.hasOwnProperty(an)&&El[an].objectNumber>=0&&Wn("/"+an+" "+El[an].objectNumber+" 0 R");fc.publish("putGStateDict"),Wn(">>")}}(),function(){for(var an in Wn("/XObject <<"),cA)cA.hasOwnProperty(an)&&cA[an].objectNumber>=0&&Wn("/"+an+" "+cA[an].objectNumber+" 0 R");fc.publish("putXobjectDict"),Wn(">>")}(),Wn(">>"),Wn("endobj")},wg=function(ct){yu[ct.fontName]=yu[ct.fontName]||{},yu[ct.fontName][ct.fontStyle]=ct.id},xg=function(ct,an,tr,_r,ii){var da={id:"F"+(Object.keys(pu).length+1).toString(10),postScriptName:ct,fontName:an,fontStyle:tr,encoding:_r,isStandardFont:ii||!1,metadata:{}};return fc.publish("addFont",{font:da,instance:this}),pu[da.id]=da,wg(da),da.id},_f=Bt.__private__.pdfEscape=Bt.pdfEscape=function(ct,an){return function(tr,_r){var ii,da,Qa,xs,Ds,Fl,Zl,Cs,Sd;if(Qa=(_r=_r||{}).sourceEncoding||"Unicode",Ds=_r.outputEncoding,(_r.autoencode||Ds)&&pu[Ls].metadata&&pu[Ls].metadata[Qa]&&pu[Ls].metadata[Qa].encoding&&(xs=pu[Ls].metadata[Qa].encoding,!Ds&&pu[Ls].encoding&&(Ds=pu[Ls].encoding),!Ds&&xs.codePages&&(Ds=xs.codePages[0]),typeof Ds=="string"&&(Ds=xs[Ds]),Ds)){for(Zl=!1,Fl=[],ii=0,da=tr.length;ii>8&&(Zl=!0);tr=Fl.join("")}for(ii=tr.length;Zl===void 0&&ii!==0;)tr.charCodeAt(ii-1)>>8&&(Zl=!0),ii--;if(!Zl)return tr;for(Fl=_r.noBOM?[]:[254,255],ii=0,da=tr.length;ii>8)>>8)throw new Error("Character at position "+ii+" of string '"+tr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Fl.push(Sd),Fl.push(Cs-(Sd<<8))}return String.fromCharCode.apply(void 0,Fl)}(ct,an).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Tp=Bt.__private__.beginPage=function(ct){co[++Ol]=[],al[Ol]={objId:0,contentsObjId:0,userUnit:Number(Ge),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ct[0]),topRightY:Number(ct[1])}},vm(Ol),zs(co[or])},Jm=function(ct,an){var tr,_r,ii;switch(te=an||te,typeof ct=="string"&&(tr=xn(ct.toLowerCase()),Array.isArray(tr)&&(_r=tr[0],ii=tr[1])),Array.isArray(ct)&&(_r=ct[0]*tu,ii=ct[1]*tu),isNaN(_r)&&(_r=ge[0],ii=ge[1]),(_r>14400||ii>14400)&&(fu.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),_r=Math.min(14400,_r),ii=Math.min(14400,ii)),ge=[_r,ii],te.substr(0,1)){case"l":ii>_r&&(ge=[ii,_r]);break;case"p":_r>ii&&(ge=[ii,_r])}Tp(ge),Wl(Bm),Wn(Sm),jp!==0&&Wn(jp+" J"),ng!==0&&Wn(ng+" j"),fc.publish("addPage",{pageNumber:Ol})},qm=function(ct){ct>0&&ct<=Ol&&(co.splice(ct,1),al.splice(ct,1),Ol--,or>Ol&&(or=Ol),this.setPage(or))},vm=function(ct){ct>0&&ct<=Ol&&(or=ct)},ym=Bt.__private__.getNumberOfPages=Bt.getNumberOfPages=function(){return co.length-1},$m=function(ct,an,tr){var _r,ii=void 0;return tr=tr||{},ct=ct!==void 0?ct:pu[Ls].fontName,an=an!==void 0?an:pu[Ls].fontStyle,_r=ct.toLowerCase(),yu[_r]!==void 0&&yu[_r][an]!==void 0?ii=yu[_r][an]:yu[ct]!==void 0&&yu[ct][an]!==void 0?ii=yu[ct][an]:tr.disableWarning===!1&&fu.warn("Unable to look up font label for font '"+ct+"', '"+an+"'. Refer to getFontList() for available fonts."),ii||tr.noFallback||(ii=yu.times[an])==null&&(ii=yu.times.normal),ii},af=Bt.__private__.putInfo=function(){var ct=Dd(),an=function(_r){return _r};for(var tr in Ft!==null&&(an=dA.encryptor(ct,0)),Wn("<<"),Wn("/Producer ("+_f(an("jsPDF "+_s.version))+")"),vu)vu.hasOwnProperty(tr)&&vu[tr]&&Wn("/"+tr.substr(0,1).toUpperCase()+tr.substr(1)+" ("+_f(an(vu[tr]))+")");Wn("/CreationDate ("+_f(an(Fi))+")"),Wn(">>"),Wn("endobj")},p0=Bt.__private__.putCatalog=function(ct){var an=(ct=ct||{}).rootDictionaryObjId||f0;switch(Dd(),Wn("<<"),Wn("/Type /Catalog"),Wn("/Pages "+an+" 0 R"),il||(il="fullwidth"),il){case"fullwidth":Wn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Wn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Wn("/OpenAction [3 0 R /Fit]");break;case"original":Wn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var tr=""+il;tr.substr(tr.length-1)==="%"&&(il=parseInt(il)/100),typeof il=="number"&&Wn("/OpenAction [3 0 R /XYZ null null "+yn(il)+"]")}switch(Ou||(Ou="continuous"),Ou){case"continuous":Wn("/PageLayout /OneColumn");break;case"single":Wn("/PageLayout /SinglePage");break;case"two":case"twoleft":Wn("/PageLayout /TwoColumnLeft");break;case"tworight":Wn("/PageLayout /TwoColumnRight")}el&&Wn("/PageMode /"+el),fc.publish("putCatalog"),Wn(">>"),Wn("endobj")},bm=Bt.__private__.putTrailer=function(){Wn("trailer"),Wn("<<"),Wn("/Size "+(Xr+1)),Wn("/Root "+Xr+" 0 R"),Wn("/Info "+(Xr-1)+" 0 R"),Ft!==null&&Wn("/Encrypt "+dA.oid+" 0 R"),Wn("/ID [ <"+Ui+"> <"+Ui+"> ]"),Wn(">>")},Od=Bt.__private__.putHeader=function(){Wn("%PDF-"+zn),Wn("%\xBA\xDF\xAC\xE0")},eg=Bt.__private__.putXRef=function(){var ct="0000000000";Wn("xref"),Wn("0 "+(Xr+1)),Wn("0000000000 65535 f ");for(var an=1;an<=Xr;an++)typeof pi[an]=="function"?Wn((ct+pi[an]()).slice(-10)+" 00000 n "):pi[an]!==void 0?Wn((ct+pi[an]).slice(-10)+" 00000 n "):Wn("0000000000 00000 n ")},m0=Bt.__private__.buildDocument=function(){var ct;Xr=0,Ni=0,Di=[],pi=[],ba=[],f0=nc(),hh=nc(),zs(Di),fc.publish("buildDocument"),Od(),h0(),function(){fc.publish("putAdditionalObjects");for(var tr=0;tr"),Wn("/O <"+dA.toHexString(dA.O)+">"),Wn("/P "+dA.P),Wn(">>"),Wn("endobj")),af(),p0();var an=Ni;return eg(),bm(),Wn("startxref"),Wn(""+an),Wn("%%EOF"),zs(co[or]),Di.join(` `)},Rp=Bt.__private__.getBlob=function(ct){return new Blob([hu(ct)],{type:"application/pdf"})},Cg=Bt.output=Bt.__private__.output=(Vf=function(ct,an){switch(typeof(an=an||{})=="string"?an={filename:an}:an.filename=an.filename||"generated.pdf",ct){case void 0:return m0();case"save":Bt.save(an.filename);break;case"arraybuffer":return hu(m0());case"blob":return Rp(m0());case"bloburi":case"bloburl":if(Ps.URL!==void 0&&typeof Ps.URL.createObjectURL=="function")return Ps.URL&&Ps.URL.createObjectURL(Rp(m0()))||void 0;fu.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var tr="",_r=m0();try{tr=Ac(_r)}catch(Jd){tr=Ac(unescape(encodeURIComponent(_r)))}return"data:application/pdf;filename="+an.filename+";base64,"+tr;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ps)==="[object Window]"){var ii="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",da=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';an.pdfObjectUrl&&(ii=an.pdfObjectUrl,da="");var Qa='