|
|
(self.webpackChunk=self.webpackChunk||[]).push([[4856],{27812:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},89489:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},59477:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},40001:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},26227:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},67921:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},49198:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},41464:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},87169:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},73331:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},15277:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},52671:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},8657:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},56082:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},61481:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},33853:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},63524:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},15075:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},43531:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},61485:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},47472:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},87395:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(54476),We=E(59301),de={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"},Ke=de,De=E(7657),ve=function(ue,Fe){return We.createElement(De.Z,(0,b.Z)({},ue,{ref:Fe,icon:Ke}))},ye=We.forwardRef(ve),fe=ye},3706:function(){"use strict"},96772:function(){"use strict"},50718:function(wn,zt){"use strict";zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},97549:function(wn,zt){"use strict";zt.Z={poor_rating:"poor_rating___h5Pkz",title:"title___Kt7fx",content:"content___uWG5Y",row_sty:"row_sty___VNKxj",bottom_line:"bottom_line___o6CYn",row_sty1:"row_sty1___gzdZR",lable_name:"lable_name___XcFiQ",fenzu:"fenzu___zWsIa",h_lh_40:"h_lh_40___rY3ds",tooltip_icon:"tooltip_icon___Yv0p3",lable_name1:"lable_name1___g8Eds",title_icon:"title_icon___tSQED"}},92522:function(wn,zt){"use strict";zt.Z={flex_box_center:"flex_box_center___iIik3",flex_space_between:"flex_space_between___Q7wj5",flex_box_vertical_center:"flex_box_vertical_center___LFAxO",flex_box_center_end:"flex_box_center_end___SFNWP",flex_box_column:"flex_box_column___aq5d_",form:"form___z6oqV",efficiency:"efficiency___VZgt9",configWorkContainer:"configWorkContainer___gQ6ac",tips:"tips___PkPgo",total:"total___c2k9V",tip1:"tip1___BUn8c",tip2:"tip2___Q8WSw",configworksContainer:"configworksContainer___P0ZE6",content:"content___Mow99",pubColSty:"pubColSty___YePTJ",selectSty:"selectSty___AGg4a",borderSty:"borderSty___qYL9U",delSty:"delSty___kbXe4",delBorder:"delBorder___wV7XA",copHover:"copHover___R3G_x",title_icon:"title_icon___eT6qQ",title:"title___uXYiB",multiple_select:"multiple_select___aCIWH"}},43197:function(wn,zt){"use strict";zt.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY",disabled_link:"disabled_link___usmze",myselect:"myselect___QgOHu"}},80067:function(wn,zt){"use strict";zt.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},45936: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 wn={},zt="5.0",E={},b=null,We=!1,de=!1,Ke=null,De=!1,ve=null,ye=null,fe=0;fe<arguments.length;fe++){var xe=arguments[fe];if(xe!==null)switch(typeof xe){case"number":zt=xe.toFixed(1);break;case"string":xe.match(new RegExp("^[0-9]\\.[0-9]+$"))?zt=xe:Ke=xe;break;case"object":typeof xe.is3D!="undefined"?b=xe:E=xe;break;case"boolean":We=xe,de=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},E.material_id!==void 0&&!de&&(We=!0)),Ke!==null&&E.id===void 0&&(E.id=Ke);var ue="",Fe="",Ce=!1,Te=null,we=null,Me=null,ge=!1,Ae=null,Pe=null,Re=null,tt=null,ce=null;E.height!==void 0&&(E.height=Math.round(E.height)),E.width!==void 0&&(E.width=Math.round(E.width));var Oe=function(Ee){return parseFloat(Ee)>4?parseFloat(Ee):5};wn.setHTML5Codebase=function(Ee,je){ye=Ee,Be(Ee,je)},wn.setJavaCodebase=wn.setJavaCodebaseVersion=wn.isCompiledInstalled=wn.setPreCompiledScriptPath=wn.setPreCompiledResourcePath=function(){},wn.setHTML5CodebaseVersion=function(Ee,je){var rt=parseFloat(Ee);if(rt!==NaN&&rt<5){console.log("The GeoGebra HTML5 codebase version "+rt+" is deprecated. Using version latest instead.");return}ve=Ee,se(Ee,je)},wn.getHTML5CodebaseVersion=function(){return we},wn.getParameters=function(){return E},wn.setFontsCSSURL=function(Ee){tt=Ee},wn.setGiacJSURL=function(Ee){},wn.setJNLPFile=function(Ee){ue=Ee},wn.setJNLPBaseDir=function(Ee){},wn.inject=function(){function Ee(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var je="auto",rt=E.id,xt,ct=!1,wt=0;wt<arguments.length;wt++){var ft=arguments[wt];typeof ft=="string"?(ft=ft.toLowerCase(),ft.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?je=ft:rt=arguments[wt]):typeof ft=="boolean"?ct=ft:ft instanceof HTMLElement&&(xt=ft)}It();function It(){if(!De){setTimeout(It,200);return}je=bt(je);var Dt=xt||document.getElementById(rt);if(!Dt){console.log("possibly bug on ajax loading? ");return}if(wn.removeExistingApplet(Dt,!1),E.width===void 0&&Dt.clientWidth&&(E.width=Dt.clientWidth),E.height===void 0&&Dt.clientHeight&&(E.height=Dt.clientHeight),!(E.width&&E.height)&&je==="html5"&&(delete E.width,delete E.height),Te=je,je==="screenshot")pe(Dt,E);else{var oe=!1;E.hasOwnProperty("playButton")&&E.playButton||E.hasOwnProperty("clickToLoad")&&E.clickToLoad?oe=!0:E.hasOwnProperty("playButtonAutoDecide")&&E.playButtonAutoDecide&&(oe=(!Ue()||Ee())&&ze()),oe?(Te="screenshot",gt(Dt,E,ct,je)):qe(Dt,E,ct)}}};function Ue(){try{return window.self!==window.top}catch(Ee){return!0}}function ze(){return E.hasOwnProperty("screenshotGenerator")&&E.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}wn.getViews=function(){return b},wn.isJavaInstalled=function(){return!1};var nt=function(Ee){var je=function(wt){var ft=JSON.parse(wt),It=function(ae){return ae.type=="G"||ae.type=="E"},Dt=ft.elements?ft.elements.filter(It)[0]:ft;if(!Dt||!Dt.url){rt();return}E.fileName=Dt.url,ke(Dt.settings||{}),b.is3D=!0;var oe="https://www.geogebra.org/images/";wn.setPreviewImage(Ae||Dt.previewUrl,oe+"GeoGebra_loading.png",oe+"applet_play.png"),Ee()},rt=function(){E.onError&&E.onError(),Je("Error: Fetching material (id "+E.material_id+") failed.",E)},xt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ct="/materials/"+E.material_id+"?scope=basic";Ve("https://"+xt+"/api/proxy.php?path="+encodeURIComponent(ct),je,rt)};function ke(Ee){var je=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(rt){Ee[rt]=!!Ee[rt]}),je.forEach(function(rt){E[rt]===void 0&&Ee[rt]!==void 0&&(E[rt]=Ee[rt])}),E.showToolBarHelp===void 0&&(E.showToolBarHelp=E.showToolBar)}function Ve(Ee,je,rt){var xt=new XMLHttpRequest;xt.open("GET",Ee),xt.onload=function(){je(xt.responseText)},xt.onerror=rt,xt.send()}wn.isHTML5Installed=function(){return!0},wn.getLoadedAppletType=function(){return Te},wn.setPreviewImage=function(Ee,je,rt){Ae=Ee,Pe=je,Re=rt},wn.removeExistingApplet=function(Ee,je){var rt;typeof Ee=="string"&&(Ee=document.getElementById(Ee)),Te=null;var xt=null;for(rt=0;rt<Ee.childNodes.length;rt++){var ct=Ee.childNodes[rt],wt=ct.className;wt==="applet_screenshot"?je?(ct.style.display="block",Te="screenshot"):ct.style.display="none":wt!=="applet_scaler prerender"&&(Ee.removeChild(ct),xt=wt&&wt.indexOf("appletParameters")!=-1?ct.id:null,rt--)}var ft=E.id!==void 0?E.id:xt,It=window[ft];It&&typeof It.getBase64=="function"&&(It.remove(),window[ft]=null)},wn.refreshHitPoints=function(){if(Oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ee=wn.getAppletObject();return Ee&&typeof Ee.recalculateEnvironments=="function"?(Ee.recalculateEnvironments(),!0):!1},wn.startAnimation=function(){var Ee=wn.getAppletObject();return Ee&&typeof Ee.startAnimation=="function"?(Ee.startAnimation(),!0):!1},wn.stopAnimation=function(){var Ee=wn.getAppletObject();return Ee&&typeof Ee.stopAnimation=="function"?(Ee.stopAnimation(),!0):!1},wn.getAppletObject=function(){var Ee=E.id!==void 0?E.id:"ggbApplet";return window[Ee]},wn.resize=function(){};var et=function(Ee,je,rt){var xt=document.createElement("param");xt.setAttribute("name",je),xt.setAttribute("value",rt),Ee.appendChild(xt)},Se=function(Ee){return Ee&&Ee!=="false"},qe=function(Ee,je,rt){Oe(we)<=4.2&&(rt=!0);var xt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==we||ggbHTML5LoadedCodebaseIsWebSimple&&!ge)&&(xt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ct=document.createElement("div");ct.classList.add("appletParameters","notranslate");var wt=je.width,ft=je.height;if(je.disableAutoScale=je.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():je.disableAutoScale,je.width!==void 0)if(Oe(we)<=4.4)Se(je.showToolBar)&&(je.height-=7),Se(je.showAlgebraInput)&&(je.height-=37),je.width<605&&Se(je.showToolBar)&&(je.width=605,wt=605);else{var It=100;(Se(je.showToolBar)||Se(je.showMenuBar))&&(je.hasOwnProperty("customToolBar")&&(je.customToolbar=je.customToolBar),It=Se(je.showMenuBar)?245:155),wt<It&&(je.width=It,wt=It)}ct.style.border="none",ct.style.display="inline-block";for(var Dt in je)je.hasOwnProperty(Dt)&&Dt!=="appletOnLoad"&&ct.setAttribute("data-param-"+Dt,je[Dt]);tt&&ct.setAttribute("data-param-fontscssurl",tt),wn.resize=function(){GGBAppletUtils.responsiveResize(Ee,je)},window.addEventListener("resize",function(dt){wn.resize()});var oe=typeof je.appletOnLoad=="function"?je.appletOnLoad:function(){};if(!rt&&je.width!==void 0){je.hasOwnProperty("showSplash")||ct.setAttribute("data-param-showSplash","false");var ae=Ee.querySelector(".applet_scaler.prerender"),te=ae!==null;if(te)var x=ae.querySelector(".ggb_preview");else{var x=at(wt,ft,je.borderColor,!1);ae=document.createElement("div"),ae.className="applet_scaler",ae.style.position="relative",ae.style.display="block",ae.style.width=wt+"px",ae.style.height=ft+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ae,"66%"),Oe(we)>=5?(je.appletOnLoad=function(dt){var yt=Ee.querySelector(".ggb_preview");yt&&yt.parentNode.removeChild(yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ae),window.GGBT_wsf_view&&$(window).trigger("resize"),oe(dt)},te||ae.appendChild(x)):ct.appendChild(x),ae.appendChild(ct),te||Ee.appendChild(ae),setTimeout(function(){wn.resize()},1)}else{var re=document.createElement("div");re.className="applet_scaler",re.style.position="relative",re.style.display="block",re.appendChild(ct),Ee.appendChild(re),je.appletOnLoad=function(dt){wn.resize(),oe(dt)}}function ne(dt,yt){yt&&typeof yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(dt,yt.appletOnLoad):renderGGBElement(dt),Je("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yt)}function le(dt,yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:dt,params:yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ot){ne(ot.article,ot.params)}),html5AppletsToProcess=null)},Oe(we)<5&&(dt.className+=" geogebraweb")):ne(dt,yt)}if(xt){scriptLoadStarted=!0;for(var Ie=0;Ie<ct.childNodes.length;Ie++){var Le=ct.childNodes[Ie].tagName;Le==="TABLE"&&(ct.removeChild(ct.childNodes[Ie]),Ie--)}if(ggbHTML5LoadedScript!==null){var Ye=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ye!=null&&Ye.parentNode.removeChild(Ye)}var Ge=document.createElement("script"),it=function(){le(ct,je)};Ge.src=Fe+Me,ggbHTML5LoadedCodebaseIsWebSimple=ge,ggbHTML5LoadedCodebaseVersion=we,ggbHTML5LoadedScript=Ge.src,Je("GeoGebra HTML5 codebase loaded: '"+Fe+"'.",je),!ye&&(!ve||ve=="5.0")?(ge?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),it()):Fe.requirejs?__webpack_require__.e(2667).then(function(){var dt=[__webpack_require__(72667)];it.apply(null,dt)}.bind(this)).catch(__webpack_require__.oe):(Ge.onload=it,Ee.appendChild(Ge))}else le(ct,je);je.height=ft,je.width=wt},pe=function(Ee,je,rt){var xt=at(je.width,je.height,je.borderColor,rt),ct=document.createElement("div");ct.style.position="relative",ct.style.display="block",ct.style.width=je.width+"px",ct.style.height=je.height+"px",ct.className="applet_screenshot applet_scaler"+(rt?" applet_screenshot_play":""),ct.appendChild(xt);var wt=GGBAppletUtils.getScale(je,Ee,rt);rt?(Ee.appendChild($e()),window.GGBT_wsf_view||(Ee.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ct,"66%"),Ee.appendChild(ct),wt!==1&&!isNaN(wt)&&(GGBAppletUtils.scaleElement(ct,wt),ct.style.width=je.width+"px",ct.style.height=je.height+"px",ct.parentNode.style.width=je.width*wt+"px",ct.parentNode.style.height=je.height*wt+"px"),wn.resize=function(){be(Ee,xt,ct,rt)},window.addEventListener("resize",function(ft){wn.resize()}),wn.resize()};function be(Ee,je,rt,xt){if(Ee.contains(je)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ee.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ee)}var ct=GGBAppletUtils.getScale(E,Ee,xt);rt.parentNode!==null&&(!isNaN(ct)&&ct!==1?(GGBAppletUtils.scaleElement(rt,ct),rt.parentNode.style.width=E.width*ct+"px",rt.parentNode.style.height=E.height*ct+"px"):(GGBAppletUtils.scaleElement(rt,1),rt.parentNode.style.width=E.width+"px",rt.parentNode.style.height=E.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ee),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}wn.onExitFullscreen=function(Ee,je){je.appendChild(Ee)};var gt=function(Ee,je,rt,xt){pe(Ee,je,!0);for(var ct=function(){var It=[];for(ft=0;ft<Ee.childNodes.length;ft++)It.push(Ee.childNodes[ft]);if(window.GGBT_wsf_view){var Dt=window.GGBT_wsf_view.renderFullScreen(Ee,je.id),oe=document.getElementById("fullscreencontainer"),ae=jQuery(Ee).find(".fullscreencontent");ae.length>0?(Dt.remove(),ae.attr("id","fullscreencontent").show(),jQuery(oe).append(ae),window.dispatchEvent(new Event("resize"))):qe(Dt,je,!1),window.GGBT_wsf_view.launchFullScreen(oe)}else Te=xt,qe(Ee,je,!1);if(!window.GGBT_wsf_view)for(ft=0;ft<It.length;ft++)Ee.removeChild(It[ft])},wt=Ee.getElementsByClassName("ggb_preview_play"),ft=0;ft<wt.length;ft++)wt[ft].addEventListener("click",ct,!1),wt[ft].addEventListener("ontouchstart",ct,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ee),ze()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},$e=function(){var Ee=document.createElement("div");if(Ee.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var je='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',rt=document.createElement("style");rt.styleSheet?rt.styleSheet.cssText=je:rt.appendChild(document.createTextNode(je)),document.getElementsByTagName("head")[0].appendChild(rt)}return Ee},at=function(Ee,je,rt,xt){var ct=document.createElement("div");ct.className="ggb_preview",ct.style.position="absolute",ct.style.zIndex="90",ct.style.width=Ee-2+"px",ct.style.height=je-2+"px",ct.style.top="0px",ct.style.left="0px",ct.style.overflow="hidden",ct.style.backgroundColor="white";var wt="lightgrey";rt!==void 0&&(rt==="none"?wt="transparent":wt=rt),ct.style.border="1px solid "+wt;var ft=document.createElement("img");if(ft.style.position="relative",ft.style.zIndex="1000",ft.style.top="-1px",ft.style.left="-1px",Ae!==null&&ft.setAttribute("src",Ae),ft.style.opacity=.7,Pe!==null){var It,Dt,oe;if(!xt){It=document.createElement("img"),It.style.position="absolute",It.style.zIndex="1001",It.style.opacity=1,ft.style.opacity=.3,Dt=360,Dt>Ee/4*3&&(Dt=Ee/4*3),oe=Dt/5.8,It.setAttribute("src",Pe),It.setAttribute("width",Dt),It.setAttribute("height",oe);var ae=(Ee-Dt)/2,te=(je-oe)/2;It.style.left=ae+"px",It.style.top=te+"px",ct.appendChild(It)}}return ct.appendChild(ft),ct},bt=function(Ee){return Ee=Ee.toLowerCase(),Ee==="html5"||Ee==="screenshot"?Ee:"html5"},Ze=["web","webSimple","web3d","tablet","tablet3d","phone"],se=function(Ee,je){if(we=Ee,je){Be(we,!0);return}var rt=!We;if(rt){var xt=Oe(we);!isNaN(xt)&&xt<4.4&&(rt=!1)}var ct,wt;window.location.protocol.substr(0,4)==="http"?ct=window.location.protocol:ct="http:";var ft=we.indexOf("//");ft>0?wt=we:ft===0?wt=ct+we:wt="https://www.geogebra.org/apps/5.2.814.0/";for(var It in Ze)if(we.slice(Ze[It].length*-1)===Ze[It]||we.slice((Ze[It].length+1)*-1)===Ze[It]+"/"){Be(wt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&rt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Se(E.showToolBar)&&!Se(E.showMenuBar)&&!Se(E.showAlgebraInput)&&!Se(E.enableRightClick)&&(!E.appName||E.appName=="classic")?wt+="webSimple/":wt+="web3d/",Be(wt,!1)},Be=function(Ee,je){if(Ee.requirejs){Fe=Ee;return}Ee.slice(-1)!=="/"&&(Ee+="/"),Fe=Ee,je===null&&(je=Ee.indexOf("http")===-1),Ce=je,Me="web.nocache.js",ge=!1;var rt=Fe.split("/");rt.length>1&&(!je&&rt[rt.length-2]==="webSimple"?(Me="webSimple.nocache.js",ge=!0):Ze.indexOf(rt[rt.length-2])>=0&&(Me=rt[rt.length-2]+".nocache.js")),rt=Ee.split("/"),we=rt[rt.length-3],we.substr(0,4)==="test"?we=we.substr(4,1)+"."+we.substr(5,1):(we.substr(0,3)==="war"||we.substr(0,4)==="beta")&&(we="5.0");var xt=parseFloat(we);xt!==NaN&&xt<5&&Ee.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+xt+" is deprecated. Using version latest instead."),se("5.0",je))},Je=function(Ee,je){window.console&&window.console.log&&(!je||typeof je.showLogging=="undefined"||je.showLogging&&je.showLogging!=="false")&&console.log(Ee)};E.material_id!==void 0?nt(lt):lt();function lt(){var Ee=zt;ve!==null?Ee=ve:parseFloat(Ee)<5&&(Ee="5.0"),se(Ee,!1),ye!==null&&Be(ye,Ce),De=!0}return wn},GGBAppletUtils=function(){"use strict";function wn(){return window.GGBT_wsf_edit!==void 0}function zt(De,ve){ve!=1?(De.style.transformOrigin="0% 0% 0px",De.style.webkitTransformOrigin="0% 0% 0px",De.style.transform="scale("+ve+","+ve+")",De.style.webkitTransform="scale("+ve+","+ve+")",De.style.maxWidth="initial",De.querySelector(".ggb_preview")!==null&&(De.querySelector(".ggb_preview").style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[0]!==void 0&&(De.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[1]!==void 0&&(De.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(De.style.transform="none",De.style.webkitTransform="none")}function E(De,ve,ye,fe,xe,ue){var Fe=null;if(ue!=null&&ue!="")for(var Ce=De.parentNode;Ce!=null;)if((" "+Ce.className+" ").indexOf(" "+ue+" ")>-1){Fe=Ce;break}else Ce=Ce.parentNode;var Te=0,we=0,Me=0,ge=0,Ae=0,Pe=0,Re=0;if(Fe)Te=Fe.offsetWidth,we=Math.max(fe?Fe.offsetWidth:0,Fe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Te=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),Me=Te):(Te=window.innerWidth,we=window.innerHeight,Me=window.innerWidth),De){var tt=De.getBoundingClientRect();tt.left>0&&tt.left<=Te&&(xe===void 0||!xe)&&(document.dir==="rtl"?(Ae=Te-tt.width-tt.left,Pe=Me<=480?10:30):(Pe=tt.left,Ae=Me<=480?10:30),ge=Pe+Ae)}if(De&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=De.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ge=40,Re=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ge=0,Re=40)}}return De&&((ye===void 0||!ye)&&ve>0&&ve+ge<Te?Te=ve:Te-=ge,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ye===void 0||!ye)&&(we-=Re)),{width:Te,height:we}}function b(De,ve,ye,fe,xe){if(De.isScreenshoGenerator)return 1;var ue=fe!==void 0&&fe,Fe=De.noScaleMargin!=null&&De.noScaleMargin,Ce=function(ce){return ce&&ce!=="false"},Te=Ce(De.autoHeight),we=E(ve,De.width,ye,Te,ue&&window.GGBT_wsf_view||Fe,xe),Me=parseInt(we.width),ge=De.width,Ae=De.height;if(ge===void 0){var Pe=ve.querySelector(".appletParameters");Pe&&(ge=Pe.offsetWidth,Ae=Pe.offsetHeight)}var Re=Me/ge,tt=ue?1:we.height/Ae;return ye!==void 0&&!ye&&(Re=Math.min(1,Re),tt=Math.min(1,tt)),Math.min(Re,tt)}function We(De,ve,ye){var fe=1,xe,ue=!1;if(De.hasOwnProperty("allowUpscale")&&(ue=De.allowUpscale),De.hasOwnProperty("scale")&&(fe=parseFloat(De.scale),(isNaN(fe)||fe===null||fe===0)&&(fe=1),fe>1&&(ue=!0)),ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(De.hasOwnProperty("disableAutoScale")&&De.disableAutoScale))xe=b(De,ve,ue,ye,De.scaleContainerClass);else return fe;return ue&&(!De.hasOwnProperty("scale")||fe===1)?xe:Math.min(fe,xe)}function de(De){var ve=Math.min(window.innerWidth,document.documentElement.clientWidth),ye=Math.min(window.innerHeight,document.documentElement.clientHeight),fe=De.getBoundingClientRect(),xe=(ve-fe.width)/2,ue=(ye-fe.height)/2;ue<0&&(ue=0),De.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(xe<40?De.style.left="40px":De.style.left=xe+"px",De.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?De.style.top="40px":De.style.top=ue+"px",De.style.left=xe+"px")}function Ke(De,ve){var ye=De.querySelector(".appletParameters");if(ye){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ve.id!==ye.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(De)}if(ye.parentElement&&/fullscreen/.test(ye.parentElement.className))return;var fe=We(ve,De);wn()&&ye.setAttribute("data-param-scale",fe);for(var xe=null,ue=0;ue<De.childNodes.length;ue++)if(De.childNodes[ue].className!==void 0&&De.childNodes[ue].className.match(/^applet_scaler/)){xe=De.childNodes[ue];break}if(xe!==null&&xe.querySelector(".noscale")!==null)return;var Fe=ve.id!==void 0?ve.id:"ggbApplet",Ce=window[Fe];(Ce==null||!Ce.recalculateEnvironments)&&xe!==null&&!xe.className.match(/fullscreen/)&&(xe.parentNode.style.transform="",!isNaN(fe)&&fe!==1?(xe.parentNode.style.width=ve.width*fe+"px",xe.parentNode.style.height=ve.height*fe+"px",zt(xe,fe)):(zt(xe,1),xe.parentNode.style.width=ve.width+"px",xe.parentNode.style.height=ve.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&de(De),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ye).parents(".content-added-content"))}}return{responsiveResize:Ke,isFlexibleWorksheetEditor:wn,positionCenter:de,getScale:We,scaleElement:zt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var wn=n.location.search;return wn.indexOf(J)!=-1||wn.indexOf(K)!=-1}function q(wn,zt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(wn){var zt=s[L].bindings;s[L].bindings=function(){for(var E=zt?zt():{},b=wn[webModule.__softPermutationId],We=O;We<b.length;We++){var de=b[We];E[de[O]]=de[P]}return E}};var t;function u(){return v(),t}function v(){if(!t){var wn=o.createElement(Q);if(wn.id=L,wn.style.cssText=R+S,wn.tabIndex=-1,o.body.appendChild(wn),t=wn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var zt=document.compatMode==U?V:W;t.write(zt+X),t.close()}}}function w(wn){function zt(b){function We(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var de=We();if(de){b();return}function Ke(){if(!de){if(!We())return;de=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ke,!1),De&&clearInterval(De)}}o.addEventListener&&o.addEventListener(Z,Ke,!1);var De=setInterval(function(){Ke()},$)}function E(b){var We=u(),de=We.body,Ke=We.createElement(_);Ke.language=ab,Ke.crossOrigin=W,Ke.src=b,webModule.__errFn&&(Ke.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),de.appendChild(Ke)}zt(function(){E(wn)})}webModule.__startLoadingFragment=function(wn){return C(wn)},webModule.__installRunAsyncCode=function(wn){var zt=u(),E=zt.body,b=zt.createElement(_);b.language=ab,b.text=wn,E.appendChild(b),E.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(wn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(wn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(wn){var zt=c[wn];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function wn(De){var ve=De.lastIndexOf(rb);ve==-1&&(ve=De.length);var ye=De.indexOf(sb);ye==-1&&(ye=De.length);var fe=De.lastIndexOf(tb,Math.min(ye,ve));return fe>=O?De.substring(O,fe+P):W}function zt(De){if(!De.match(/^\w+:\/\//)){var ve=o.createElement(ub);ve.src=De+vb,De=wn(ve.src)}return De}function E(){var De=__gwt_getMetaProperty(wb);return De!=null?De:W}function b(){for(var De=o.getElementsByTagName(_),ve=O;ve<De.length;++ve)if(De[ve].src.indexOf(xb)!=-1)return wn(De[ve].src);return W}function We(){var De=o.getElementsByTagName(yb);return De.length>O?De[De.length-P].href:W}function de(){var De=o.location;return De.href==De.protocol+zb+De.host+De.pathname+De.search+De.hash}var Ke=E();return Ke==W&&(Ke=b()),Ke==W&&(Ke=We()),Ke==W&&de()&&(Ke=wn(o.location.href)),Ke=zt(Ke),Ke}function C(wn){return wn.match(/^\//)||wn.match(/^[a-zA-Z]+:\/\//)?wn:webModule.__moduleBase+wn}function D(){var wn=[],zt=O,E=[],b=[];function We(De){var ve=b[De](),ye=E[De];if(ve in ye)return ve;var fe=[];for(var xe in ye)fe[ye[xe]]=xe;throw r&&r(De,fe,ve),null}if(__gwt_isKnownPropertyValue=function(De,ve){return ve in E[De]},webModule.__getPropMap=function(){var De={};for(var ve in E)E.hasOwnProperty(ve)&&(De[ve]=We(ve));return De},webModule.__computePropValue=We,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var de;try{de=Cb;var Ke=de.indexOf(Db);Ke!=-1&&(zt=parseInt(de.substring(Ke+P),$),de=de.substring(O,Ke))}catch(De){}return webModule.__softPermutationId=zt,C(de+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8240:function(wn,zt,E){"use strict";E.d(zt,{Ax:function(){return Ke},Ds:function(){return De},KI:function(){return ye},SI:function(){return de},f1:function(){return We}});var b=E(35783);function We(fe){let xe=!0;if(fe.length>0){for(let ue=0;ue<fe.length;ue++)if(fe[ue].compile_success==0||!fe[ue].compile_success){xe=!1;break}}else xe=!1;return xe}function de(fe,xe=""){let ue=[];for(let Fe=0;Fe<fe.length;Fe++){let Ce=fe[Fe],Te=xe?`${xe}/${Ce.name}`:`${Ce.name}`;ue.push({title:Ce.name,type:Ce.type,isLeaf:Ce.type!=="tree",key:Te})}return ue}function Ke(fe,xe,ue){for(let Fe=0;Fe<fe.length;Fe++){let Ce=fe[Fe];if(Ce.key===xe){Ce.children=ue;break}Ce.children&&Ke(Ce.children,xe,ue)}return fe}function De(fe,xe,ue){let Fe;return function(){let Ce=this,Te=arguments,we=function(){Fe=null,ue||fe.apply(Ce,Te)},Me=ue&&!Fe;clearTimeout(Fe),Fe=setTimeout(we,xe),Me&&fe.apply(Ce,Te)}}const ve=!0,ye=b.Z.API_SERVER},99050:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return we}});var b=E(7939),We=E(59301),de=Object.defineProperty,Ke=Object.defineProperties,De=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,xe=(Me,ge,Ae)=>ge in Me?de(Me,ge,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Me[ge]=Ae,ue=(Me,ge)=>{for(var Ae in ge||(ge={}))ye.call(ge,Ae)&&xe(Me,Ae,ge[Ae]);if(ve)for(var Ae of ve(ge))fe.call(ge,Ae)&&xe(Me,Ae,ge[Ae]);return Me},Fe=(Me,ge)=>Ke(Me,De(ge)),Ce=(Me,ge)=>{var Ae={};for(var Pe in Me)ye.call(Me,Pe)&&ge.indexOf(Pe)<0&&(Ae[Pe]=Me[Pe]);if(Me!=null&&ve)for(var Pe of ve(Me))ge.indexOf(Pe)<0&&fe.call(Me,Pe)&&(Ae[Pe]=Me[Pe]);return Ae},Te=(Me,ge,Ae)=>new Promise((Pe,Re)=>{var tt=Ue=>{try{Oe(Ae.next(Ue))}catch(ze){Re(ze)}},ce=Ue=>{try{Oe(Ae.throw(Ue))}catch(ze){Re(ze)}},Oe=Ue=>Ue.done?Pe(Ue.value):Promise.resolve(Ue.value).then(tt,ce);Oe((Ae=Ae.apply(Me,ge)).next())});const we=Me=>{var ge=Me,{children:Ae}=ge,Pe=Ce(ge,["children"]);const[Re,tt]=(0,We.useState)(!1);return We.createElement(b.ZP,Fe(ue({},Pe),{loading:Re,onClick:ce=>Te(void 0,null,function*(){try{tt(!0),yield Pe.onClick(ce),tt(!1)}catch(Oe){console.error(Oe),tt(!1)}})}),Ae)}},34731:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Re}});var b=E(59301),We=E(28284),de=E(6767),Ke=E(62957),De=E(24017),ve=E(37568),ye=E(70858),fe=E(77019),xe=E(5269),ue=E(66649),Fe=E.n(ue),Ce=E(68911),Te=E(63823),we={tips:"tips___e8J4O",homeworkType:"homeworkType___ZjN2X",antdTable:"antdTable___amDdp",modalWrapper:"modalWrapper___XPojI"},Me=E(89923),ge=E(64322),Ae=(tt,ce,Oe)=>new Promise((Ue,ze)=>{var nt=et=>{try{Ve(Oe.next(et))}catch(Se){ze(Se)}},ke=et=>{try{Ve(Oe.throw(et))}catch(Se){ze(Se)}},Ve=et=>et.done?Ue(et.value):Promise.resolve(et.value).then(nt,ke);Ve((Oe=Oe.apply(tt,ce)).next())});const Pe=({dispatch:tt,courseEndTime:ce,classroomList:Oe,successCallback:Ue=()=>{},visible:ze,homeworkIds:nt,courseId:ke,isBatch:Ve,shixunHomeworks:et})=>{const[Se]=We.default.useForm(),[qe,pe]=(0,b.useState)(!1),[be,gt]=(0,b.useState)(!1),[$e,at]=(0,b.useState)(!1),[bt,Ze]=(0,b.useState)([]),[se,Be]=(0,b.useState)([]),[Je,lt]=(0,b.useState)([]),[Ee,je]=(0,b.useState)([]),[rt,xt]=(0,b.useState)([]),[ct,wt]=(0,b.useState)([]),[ft,It]=(0,b.useState)([]),[Dt,oe]=(0,b.useState)([]),[ae,te]=(0,b.useState)([]);(0,b.useEffect)(()=>{ze?x():ne()},[ze]);const x=()=>Ae(void 0,null,function*(){pe(!0);const le=yield(0,Me.oR)(nt[0],{course_id:ke});at(le.no_group),Ve?(It(le.all_course_groups),oe(le.all_course_groups)):(je(le.late_course_groups),xt(le.late_course_groups),Ze(le.submit_course_groups),Be(le.submit_course_groups)),pe(!1),Se.setFieldsValue({end_time:Fe()()})}),re=()=>Ae(void 0,null,function*(){const le=Se.getFieldsValue(),Ie=Fe()(le.end_time).format("YYYY-MM-DD HH:mm");if((Ve?ae.length===0:Je.length===0&&ct.length===0)&&!$e){de.ZP.warning("\u8BF7\u9009\u62E9\u9700\u8981\u64CD\u4F5C\u7684\u73ED\u7EA7");return}gt(!0);const Ye=yield(0,Me.Mc)(ke,{no_group:$e,homework_ids:nt,group_ids:Ve?ae:Je,end_time:Ie,late_group_ids:Ve?ae:ct});gt(!1),Ye.status===0&&(ne(),de.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ue(),tt({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}))}),ne=()=>{lt([]),wt([]),Be([]),xt([])};return b.createElement(Ke.default,{centered:!0,title:"\u7ACB\u5373\u622A\u6B62",className:we.modalWrapper,width:Ve||$e?520:760,open:ze,confirmLoading:be,destroyOnClose:!0,okText:"\u622A\u6B62",cancelText:"\u53D6\u6D88",onOk:()=>re(),onCancel:()=>{ne(),tt({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",{className:we.tips},b.createElement("div",null,"1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"),b.createElement("div",null,"2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002")),b.createElement(We.default,{form:Se,layout:"vertical"},b.createElement(We.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},b.createElement(De.default,{style:{width:"100%"},disabledDate:le=>(0,ge.Q8)(le,ce),disabledTime:le=>(0,ge.d0)(le),placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Fe()((0,Ce.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),!$e&&b.createElement(b.Fragment,null,Ve?b.createElement("div",null,b.createElement(ve.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:le=>{oe(ft.filter(Ie=>Ie.name.indexOf(le.target.value)>-1))}}),b.createElement(ye.default,{style:{marginTop:"10px",height:"300px",overflow:"auto"},className:we.antdTable,rowSelection:{type:"checkbox",onChange:le=>{te(le)}},rowKey:"id",pagination:!1,dataSource:Dt,loading:qe,columns:[{title:"\u73ED\u7EA7",dataIndex:"name"}]})):b.createElement(fe.Z,{gutter:24},b.createElement(xe.Z,{span:14},b.createElement("div",{className:we.homeworkType},"\u4F5C\u4E1A\u622A\u6B62"),b.createElement(ve.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:le=>{Be(bt.filter(Ie=>Ie.name.indexOf(le.target.value)>-1))}}),b.createElement("div",{className:we.tableWrapper},b.createElement(ye.default,{style:{marginTop:"10px",height:"260px",overflow:"auto"},className:we.antdTable,rowSelection:{type:"checkbox",onChange:le=>{lt(le)}},rowKey:"id",pagination:!1,dataSource:se,loading:qe,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0},{title:"\u53D1\u5E03\u65F6\u95F4",dataIndex:"publish_time"},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time"}]}))),b.createElement(xe.Z,{flex:10,style:{maxWidth:"280px"}},b.createElement("div",{className:we.homeworkType},"\u8865\u4EA4\u622A\u6B62"),b.createElement(ve.default,{placeholder:"\u641C\u7D22\u73ED\u7EA7",onChange:le=>{xt(Ee.filter(Ie=>Ie.name.indexOf(le.target.value)>-1))}}),b.createElement("div",{className:we.tableWrapper},b.createElement(ye.default,{style:{marginTop:"10px",height:"260px",overflow:"auto",maxWidth:"280px"},className:we.antdTable,rowSelection:{type:"checkbox",onChange:le=>{wt(le)}},rowKey:"id",pagination:!1,loading:qe,dataSource:rt,columns:[{title:"\u73ED\u7EA7",dataIndex:"name",ellipsis:!0,width:120},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"late_time"}]}))))))};var Re=(0,Te.connect)(({shixunHomeworks:tt,classroomList:ce})=>({shixunHomeworks:tt,classroomList:ce}))(Pe)},59667:function(wn,zt,E){"use strict";var b=E(59301),We=E(62957),de=E(6767),Ke=E(7939),De=E(86129),ve=E.n(De),ye=E(35783),fe=E(68911),xe=E(22972),ue=E(59301),Fe=Object.defineProperty,Ce=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Ae=(Oe,Ue,ze)=>Ue in Oe?Fe(Oe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Oe[Ue]=ze,Pe=(Oe,Ue)=>{for(var ze in Ue||(Ue={}))Me.call(Ue,ze)&&Ae(Oe,ze,Ue[ze]);if(we)for(var ze of we(Ue))ge.call(Ue,ze)&&Ae(Oe,ze,Ue[ze]);return Oe},Re=(Oe,Ue)=>Ce(Oe,Te(Ue)),tt=(Oe,Ue,ze)=>new Promise((nt,ke)=>{var Ve=qe=>{try{Se(ze.next(qe))}catch(pe){ke(pe)}},et=qe=>{try{Se(ze.throw(qe))}catch(pe){ke(pe)}},Se=qe=>qe.done?nt(qe.value):Promise.resolve(qe.value).then(Ve,et);Se((ze=ze.apply(Oe,Ue)).next())});const ce=({files:Oe=[],name:Ue,buttonProps:ze={},hide:nt,onOk:ke=()=>{}},Ve)=>{const[et,Se]=(0,b.useState)(!1);let qe=(0,b.useRef)(new(ve()));(0,b.useImperativeHandle)(Ve,()=>({exportReport:pe,exportAndCreateUserFolder:gt,exportGroupingReport:be}));const pe=(se,Be="\u9644\u4EF6")=>tt(void 0,null,function*(){const Je=se||Oe;Se(!0);let lt=0,Ee=0,je=0,rt=We.default.info({width:460,title:ue.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",Be,",",ue.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:ue.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ue.createElement("span",{className:"c-blue"},lt+1),"/",Je==null?void 0:Je.length),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{}});function xt(){return tt(this,null,function*(){var ct,wt;at({},`${ye.Z.API_SERVER}/api/attachments/${(0,fe.Jn)((ct=Je==null?void 0:Je[lt])==null?void 0:ct.id)}?t=${(0,fe.Jn)((wt=Je==null?void 0:Je[lt])==null?void 0:wt.id,Date.now())}`,(ft,It)=>tt(this,null,function*(){var Dt,oe;if(((Dt=ft.target.response)==null?void 0:Dt.type)==="application/json"){let x=yield $e(ft.target.response);if(x.message){de.ZP.warning((x==null?void 0:x.message)||"\u4E0B\u8F7D\u51FA\u9519, \u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"),Se(!1);return}}let ae=new Blob([ft.target.response],{type:"application/vnd.ms-excel;charset=utf-8"});Ee=Ee+ae.size;let te=(oe=Je==null?void 0:Je[lt])==null?void 0:oe.filename;setTimeout(()=>tt(this,null,function*(){qe.current.file(te,ae),rt.update({content:ue.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ue.createElement("span",{className:"c-blue"},lt+1),"/",Je==null?void 0:Je.length,je>0?ue.createElement("span",null,"(\u5DF2\u62C6\u5206",je,"\u4E2Azip\u5305)"):"")}),lt===(Je==null?void 0:Je.length)-1?Ze(rt,je>0?je+1:0):Ee>900*1024*1024?(je++,Ee=0,bt(je,()=>{lt++,xt()})):(lt++,xt())}),2600)}))})}xt()}),be=(se,Be,Je="\u9644\u4EF6")=>tt(void 0,null,function*(){var lt;Se(!0);let Ee=0,je=0,rt=1;const xt=se.flat().length,ct=We.default.info({width:460,title:ue.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",Je,",",ue.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:ue.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ue.createElement("span",{className:"c-blue"},Ee),"/",xt),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function wt(ft,It){return tt(this,null,function*(){const Dt=yield(0,xe.ZP)(`${ye.Z.API_SERVER}/api/attachments/${ft.id}`,{method:"get"});let oe=new Blob([Dt],{type:"application/vnd.ms-excel;charset=utf-8"});je+=oe.size;let ae=ft.filename;if(It.file(ae,oe),je>900*1024*1024){je=0,rt++;const te=yield qe.current.generateAsync({type:"blob"}),x=document.createElement("a");x.href=window.URL.createObjectURL(te),x.download=`${Ue}-${rt}.zip`,document.body.appendChild(x),x.click(),document.body.removeChild(x),window.URL.revokeObjectURL(x.href),qe.current=new(ve())}Ee+=1,ct.update({content:ue.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ue.createElement("span",{className:"c-blue"},Ee),"/",xt)})})}for(const ft of se){const It=`${ft[0].group_name}\u2014\u2014\u7EC4\u957F_${ft[0].user_name}`,Dt=qe.current.folder(It);for(const oe of ft)yield wt(oe,Dt)}if(Object.keys((lt=qe.current)==null?void 0:lt.files).length!==0){const ft=yield qe.current.generateAsync({type:"blob"}),It=document.createElement("a");It.href=window.URL.createObjectURL(ft),It.download=rt>1?`${Ue}-${rt+1}.zip`:`${Ue}.zip`,document.body.appendChild(It),It.click(),document.body.removeChild(It),window.URL.revokeObjectURL(It.href)}ct.destroy(),Se(!1),ke(),qe.current=new(ve()),rt=1,Ee=0}),gt=(se,Be="\u9644\u4EF6",Je)=>tt(void 0,null,function*(){Se(!0);let lt=0;const Ee=se.flat().length,je=We.default.info({width:460,title:ue.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA",Be,",",ue.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:ue.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ue.createElement("span",{className:"c-blue"},lt),"/",Ee),maskClosable:!1,okText:"\u6211\u77E5\u9053\u4E86"});function rt(wt,ft){return tt(this,null,function*(){const It=yield(0,xe.ZP)(`${ye.Z.API_SERVER}/api/attachments/${wt.id}`,{method:"get"});let Dt=new Blob([It],{type:"application/vnd.ms-excel;charset=utf-8"}),oe=wt.filename;ft.file(oe,Dt),lt+=1,je.update({content:ue.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ue.createElement("span",{className:"c-blue"},lt),"/",Ee)})})}for(const wt of se){const ft=`${wt[0].user_name}-${wt[0].student_id}`,It=qe.current.folder(ft);for(const Dt of wt)yield rt(Dt,It)}const xt=yield qe.current.generateAsync({type:"blob"}),ct=document.createElement("a");ct.href=window.URL.createObjectURL(xt),ct.download=`${Je||Ue}.zip`,document.body.appendChild(ct),ct.click(),document.body.removeChild(ct),window.URL.revokeObjectURL(ct.href),je.destroy(),Se(!1),ke(),qe.current=new(ve())});function $e(se){return new Promise(Be=>{let Je=new FileReader;Je.readAsText(se,"utf-8"),Je.addEventListener("loadend",()=>{const lt=JSON.parse(Je.result);Be(lt)})})}const at=(se,Be,Je,lt)=>{const Ee=Be,je=new window.XMLHttpRequest;return je.withCredentials=!0,je.addEventListener("load",function(rt){Je(rt,je)},!1),je.addEventListener("error",function(rt){lt&<(rt)},!1),je.responseType="blob",je.open("GET",Ee),je.send(null),je},bt=(se,Be)=>{qe.current.generateAsync({type:"blob"}).then(function(Je){const lt=document.createElement("a");lt.href=window.URL.createObjectURL(Je),lt.download=Ue+`-${se}.zip`,document.body.appendChild(lt);const Ee=document.createEvent("MouseEvents");Ee.initEvent("click",!1,!1),lt.dispatchEvent(Ee),document.body.removeChild(lt),qe.current=new(ve()),Be()})},Ze=(se,Be)=>{qe.current.generateAsync({type:"blob"}).then(function(Je){const lt=document.createElement("a");lt.href=window.URL.createObjectURL(Je),Be>0?lt.download=Ue+`-${Be}.zip`:lt.download=Ue+".zip",document.body.appendChild(lt);const Ee=document.createEvent("MouseEvents");Ee.initEvent("click",!1,!1),lt.dispatchEvent(Ee),document.body.removeChild(lt),se.destroy(),Se(!1),ke(),qe.current=new(ve())})};return nt?ue.createElement(ue.Fragment,null):ue.createElement(Ke.ZP,Re(Pe({},ze),{onClick:()=>pe(),loading:et}),"\u4E0B\u8F7D")};zt.Z=(0,b.forwardRef)(ce)},82930:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Me}});var b=E(59301),We={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},de=E(92310),Ke=E.n(de),De=E(98893),ve=E(78265),ye=E(68911),fe=E(35783),xe=E(22972),ue=E(10102),Fe=E(63823),Ce=E(6767),Te=(ge,Ae,Pe)=>new Promise((Re,tt)=>{var ce=ze=>{try{Ue(Pe.next(ze))}catch(nt){tt(nt)}},Oe=ze=>{try{Ue(Pe.throw(ze))}catch(nt){tt(nt)}},Ue=ze=>ze.done?Re(ze.value):Promise.resolve(ze.value).then(ce,Oe);Ue((Pe=Pe.apply(ge,Ae)).next())});const we=({className:ge,style:Ae,dataSource:Pe=[],authority:Re=!1,callback:tt,showDimensions:ce=!0,classroomList:Oe})=>{var Ue;const[ze,nt]=(0,b.useState)({content:"",type:""}),[ke,Ve]=(0,b.useState)({}),[et,Se]=(0,b.useState)(!1),[qe,pe]=(0,b.useState)({title:"",visible:!1,src:"",snapshotData:{}}),be=(0,b.useRef)(),gt=Ze=>Te(void 0,null,function*(){if(Ve(Ze),Ze.file_type==="txt"){const se=yield(0,xe.ZP)(Ze.url,{method:"get",headers:{"Content-Type":"application/xml"}});be.current=se}nt({type:Ze.file_type,content:fe.Z.API_SERVER+Ze.url})}),$e=Ze=>{var se;pe({visible:!0,src:fe.Z.API_SERVER+Ze.url,id:Ze.id,title:Ze.title,snapshotData:(se=Ze==null?void 0:Ze.subitem)==null?void 0:se.settings})},at=Ze=>Te(void 0,null,function*(){var se;nt({type:Ze.file_type,content:fe.Z.API_SERVER+((se=Ze==null?void 0:Ze.subitem)==null?void 0:se.url)})}),bt=()=>{tt(),pe({visible:!1})};return Pe!=null&&Pe.length?b.createElement(b.Fragment,null,b.createElement("div",{className:Ke()(We.list,ge),style:Ae},Pe.map((Ze,se)=>{var Be,Je,lt;return b.createElement("div",{key:se,className:We.row},b.createElement("div",{className:We.title,onClick:()=>gt(Ze)},b.createElement("i",{className:"iconfont icon-fujian1"}),b.createElement("span",{title:Ze.title},Ze.title)),b.createElement("div",{className:We.size},Ze.filesize),b.createElement("div",{className:We.download,onClick:()=>{var Ee,je;if((0,ue.Rm)()&&!((Ee=Oe.AssistantObject.normal)!=null&&Ee.can_download)){Ce.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}(0,ye.Nd)("",`${fe.Z.API_SERVER}${(je=Ze.url)==null?void 0:je.replace("disposition=inline","")}`)}},b.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(Ze==null?void 0:Ze.file_type)&&b.createElement("div",{className:We.preview,onClick:()=>gt(Ze)},b.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(Ze==null?void 0:Ze.file_type)&&ce&&(Re?b.createElement("div",{className:We.annotation,onClick:()=>$e(Ze)},b.createElement("i",{className:"iconfont icon-pizhu"}),(Be=Ze.subitem)!=null&&Be.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Je=Ze.subitem)==null?void 0:Je.id)&&b.createElement("div",{className:We.annotation,onClick:()=>at(Ze)},b.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(Ze==null?void 0:Ze.file_type)&&((lt=Ze.subitem)==null?void 0:lt.id)&&b.createElement("div",{className:We.download,style:{marginLeft:20},onClick:()=>{var Ee,je;(0,ye.Nd)("",`${fe.Z.API_SERVER}${(je=(Ee=Ze==null?void 0:Ze.subitem)==null?void 0:Ee.url)==null?void 0:je.replace("disposition=inline","")}`)}},b.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(Ze==null?void 0:Ze.file_type)&&(0,ue.eB)()&&["xlsx","docx","pptx"].includes(Ze==null?void 0:Ze.file_sub)&&ce&&b.createElement("div",{className:We.annotation,onClick:()=>{Se(!0),gt(Ze)}},b.createElement("i",{className:"iconfont icon-pizhu"}),Ze.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),Ze.is_edit&&(0,ue.dE)()&&ce&&b.createElement("div",{className:We.annotation,onClick:()=>{gt(Ze)}},b.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),b.createElement(De.Z,{close:!0,data:ze==null?void 0:ze.content,type:ze==null?void 0:ze.type,hasMask:!0,disabledDownload:(0,ue.Rm)()&&!((Ue=Oe.AssistantObject.normal)!=null&&Ue.can_download),editOffice:et?"edit":"view",monacoEditor:{value:be.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:Re&&ce&&ze.type==="image"?()=>$e(ke):null,onClose:()=>{tt(),Se(!1),nt({content:"",type:""})}}),b.createElement(ve.Z,{onOk:bt,onClose:()=>pe({visible:!1}),data:qe,showFullTools:!0})):null};var Me=(0,Fe.connect)(({classroomList:ge})=>({classroomList:ge}))(we)},78265:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Fe}});var b=E(59301),We={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},de=E(92310),Ke=E.n(de),De=E(29787),ve=E(2859),ye=E(22972),fe=E(68911),xe=(Ce,Te,we)=>new Promise((Me,ge)=>{var Ae=tt=>{try{Re(we.next(tt))}catch(ce){ge(ce)}},Pe=tt=>{try{Re(we.throw(tt))}catch(ce){ge(ce)}},Re=tt=>tt.done?Me(tt.value):Promise.resolve(tt.value).then(Ae,Pe);Re((we=we.apply(Ce,Te)).next())}),Fe=({data:Ce,className:Te,fullWidth:we,style:Me={},onClose:ge,onOk:Ae,showFullTools:Pe,noAssociationId:Re})=>{const tt=(0,b.useRef)(null),ce=(0,b.useRef)(null),Oe=(0,b.useRef)(null),Ue=(0,b.useRef)(null),[ze,nt]=(0,b.useState)(!1),[ke,Ve]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(Oe.current||(Oe.current=document.createElement("style"),document.head.appendChild(Oe.current)),Ce!=null&&Ce.visible?(document.body.setAttribute("data-custom","y-hidden"),Oe.current.innerHTML=" html { overflow-y: hidden; }",Ce!=null&&Ce.src&&et()):(document.body.removeAttribute("data-custom"),Oe.current&&(document.head.removeChild(Oe.current),Oe.current=null)),()=>{document.body.removeAttribute("data-custom"),Oe.current&&(document.head.removeChild(Oe.current),Oe.current=null)}),[Ce==null?void 0:Ce.visible]);const et=()=>xe(void 0,null,function*(){nt(!0),Ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const be=yield(0,fe.ZJ)(Ce==null?void 0:Ce.src);tt.current.src="",tt.current.src=be,tt.current.onload=function(){pe()},nt(!1),Ve("")}),Se=be=>xe(void 0,null,function*(){nt(!0),Ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const gt=yield(0,ye.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ce.title,file:be.dataUrl}});gt!=null&>.id&&!Re?(yield(0,ye.ZP)(`/api/attachments/${Ce.id}/add_subitem.json`,{method:"post",body:{subitem_id:gt==null?void 0:gt.id,settings:JSON.stringify(be.state)}})).status===0&&Ae():gt!=null&>.id&&Ae(gt),nt(!1),Ve("")}),qe=()=>{const be=document.querySelector('a[href="https://markerjs.com/"]');be&&be.parentNode&&(be.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($e=>{const at=document.querySelector($e.name);at&&at.setAttribute("title",$e.title)})},pe=()=>{ce.current=new ve.hP(tt.current),ce.current.targetRoot=Ue.current,ce.current.addEventListener("render",Se),ce.current.addEventListener("beforeclose",ge),Pe&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),Ce!=null&&Ce.snapshotData&&ce.current.restoreState(Ce.snapshotData),setTimeout(()=>{window.scrollTo(0,0),qe()},300)};return b.createElement(b.Fragment,null,(Ce==null?void 0:Ce.visible)&&b.createElement(De.Z,{spinning:ze,tip:ke,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:Ue,className:Ke()(We.imageDimensions,Te,we?We.fullWidth:""),style:Me},b.createElement("img",{className:We.img,ref:tt}))))}},9043:function(wn,zt,E){"use strict";var b=E(59301),We=E(77019),de=E(5269),Ke=E(31691),De=E(7939),ve=E(56375),ye=E(50718),fe=E(48136),xe=E(59301);const ue=(0,b.forwardRef)(({callback:Fe,showSaveButton:Ce,value:Te=""},we)=>{const Me=(0,b.useRef)(),ge=[{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 "}]}]}],Ae=[{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}`}]}]}],Pe=ce=>{Me.current.setValue(Me.current.getValue()+" "+ce.value+" ")},Re=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:xe.createElement(We.Z,{className:ye.Z.lists,gutter:[10,10]},ge.map((ce,Oe)=>xe.createElement(de.Z,{flex:"110px",className:ye.Z.item},xe.createElement("div",null,xe.createElement(ve.Z,{value:`$$${ce.value}$$`}),ce.name),xe.createElement("div",{className:ye.Z.children},ce.children.map((Ue,ze)=>xe.createElement("div",{key:ze},xe.createElement("h1",null,Ue.name),xe.createElement(We.Z,{gutter:[10,10]},Ue.data.map((nt,ke)=>xe.createElement(de.Z,{key:ke,onClick:()=>Pe(nt),className:ye.Z.diamond},xe.createElement(ve.Z,{value:"`$$"+nt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:xe.createElement(We.Z,{className:ye.Z.lists,gutter:[10,10]},Ae.map((ce,Oe)=>xe.createElement(de.Z,{flex:"110px",className:ye.Z.item},xe.createElement("div",null,xe.createElement(ve.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),xe.createElement("div",{className:ye.Z.children},ce.children.map((Ue,ze)=>xe.createElement("div",{key:ze},Ue.name&&xe.createElement("h1",null,Ue.name),xe.createElement(We.Z,{gutter:[10,10]},Ue.data.map((nt,ke)=>xe.createElement(de.Z,{key:ke,onClick:()=>Pe(nt),className:ye.Z.diamond},xe.createElement(ve.Z,{value:"`$$"+nt.value+"$$`"}))))))))))}],tt=()=>{var ce=document.createElement("div");ce.innerHTML=Me.current.getValue();var Oe=ce.innerText;return Fe&&Fe(Oe),Oe};return(0,b.useImperativeHandle)(we,()=>({getData:tt})),xe.createElement("div",{className:ye.Z.mathWrap},xe.createElement(Ke.default,{defaultActiveKey:"1",items:Re}),xe.createElement("math-field",{locale:"zh_cn",className:ye.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Me,style:{width:800,marginTop:30,fontSize:18}},Te||""),Ce&&xe.createElement("div",{className:ye.Z.button},xe.createElement(De.ZP,{size:"large",onClick:tt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});zt.Z=ue},28349:function(wn,zt,E){"use strict";E.d(zt,{z:function(){return bt},Z:function(){return Ze}});var b=E(59301),We=E(94968),de=E(6767),Ke=E(62957),De=E(7939),ve=E(35783),ye=E(26386),fe=Object.defineProperty,xe=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,Ce=(se,Be,Je)=>Be in se?fe(se,Be,{enumerable:!0,configurable:!0,writable:!0,value:Je}):se[Be]=Je,Te=(se,Be)=>{for(var Je in Be||(Be={}))ue.call(Be,Je)&&Ce(se,Je,Be[Je]);if(xe)for(var Je of xe(Be))Fe.call(Be,Je)&&Ce(se,Je,Be[Je]);return se},we=(se,Be,Je)=>new Promise((lt,Ee)=>{var je=ct=>{try{xt(Je.next(ct))}catch(wt){Ee(wt)}},rt=ct=>{try{xt(Je.throw(ct))}catch(wt){Ee(wt)}},xt=ct=>ct.done?lt(ct.value):Promise.resolve(ct.value).then(je,rt);xt((Je=Je.apply(se,Be)).next())});const Me="\u3000\u3000";function ge(se){var Be=["Bytes","KB","MB","GB","TB"];if(se==0)return"0 Byte";var Je=parseInt(""+Math.floor(Math.log(se)/Math.log(1024)),10);return(se/Math.pow(1024,Je)).toFixed(1)+" "+Be[Je]}var Ae=({value:se=[],action:Be,onChange:Je,className:lt,maxSize:Ee=150,title:je="\u6587\u4EF6\u4E0A\u4F20",accept:rt=null})=>{const xt={multiple:!1,fileList:se,accept:rt,withCredentials:!0,beforeUpload:wt=>wt.size/1024/1024<Ee?!0:(message.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${Ee}MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20`),Promise.reject()),action:`${ENV.API_SERVER}/api/attachments.json`,onChange(wt){var ft,It,Dt,oe;let ae=[...wt.fileList];if(ae=ae.map(te=>(te.name.indexOf(Me)===-1&&(te.name=`${te.name}${Me}${ge(te.size)}`),Te({},te))),wt.file.status==="done"&&((It=(ft=wt.file)==null?void 0:ft.response)==null?void 0:It.status)===-1){message.error((oe=(Dt=wt.file)==null?void 0:Dt.response)==null?void 0:oe.message),Je([]);return}Je(ae)},onRemove:wt=>we(void 0,null,function*(){const ft=wt.size/1024/1024;return wt.status==="uploading"?!0:ft<Ee&&(wt.response?wt.response.id:wt.uid)?yield removeAttachment(wt.response?wt.response.id:wt.id):!0})};function ct(wt){wt.preventDefault(),wt.stopPropagation()}return React.createElement("div",{className:`single-upload ${lt||""}`},React.createElement(Upload,Te({},xt),React.createElement(Button,{type:"primary",title:se.length>0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:se.length>0,ghost:!0},je),React.createElement("span",{onClick:ct,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",Ee,"M)"," ")))},Pe=E(61481),Re=E(89392),tt=Object.defineProperty,ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,ze=(se,Be,Je)=>Be in se?tt(se,Be,{enumerable:!0,configurable:!0,writable:!0,value:Je}):se[Be]=Je,nt=(se,Be)=>{for(var Je in Be||(Be={}))Oe.call(Be,Je)&&ze(se,Je,Be[Je]);if(ce)for(var Je of ce(Be))Ue.call(Be,Je)&&ze(se,Je,Be[Je]);return se};const ke=se=>React.createElement("svg",nt({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},se),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ve="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",et=Object.defineProperty,Se=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,be=(se,Be,Je)=>Be in se?et(se,Be,{enumerable:!0,configurable:!0,writable:!0,value:Je}):se[Be]=Je,gt=(se,Be)=>{for(var Je in Be||(Be={}))qe.call(Be,Je)&&be(se,Je,Be[Je]);if(Se)for(var Je of Se(Be))pe.call(Be,Je)&&be(se,Je,Be[Je]);return se},$e=(se,Be,Je)=>new Promise((lt,Ee)=>{var je=ct=>{try{xt(Je.next(ct))}catch(wt){Ee(wt)}},rt=ct=>{try{xt(Je.throw(ct))}catch(wt){Ee(wt)}},xt=ct=>ct.done?lt(ct.value):Promise.resolve(ct.value).then(je,rt);xt((Je=Je.apply(se,Be)).next())});const{Dragger:at}=We.default;function bt(se){let Be=[];return se&&se.length>0&&(Be=se.map(Je=>({uid:Je.id,id:Je.id,name:Je.title+Me+Je.filesize,url:Je.url,filesize:Je.filesize,status:"done",response:{id:Je.id}}))),Be}var Ze=({value:se,onChange:Be,action:Je,data:lt,className:Ee,maxSize:je=150,title:rt="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:xt=!1,accept:ct="",additionalText:wt,isDragger:ft,number:It=1e3,aloneClear:Dt=!1,realTimeRemove:oe=!0,uploadText:ae,setFileProgress:te,showFileProgress:x})=>{const[re,ne]=(0,b.useState)(!1);let[le,Ie]=(0,b.useState)(se||[]),[Le,Ye]=(0,b.useState)(1);(0,b.useEffect)(()=>{se&&(Le===1&&Ie([...se]),Ye(2),It===(se==null?void 0:se.length)&&ne(!0))},[se]);const Ge=()=>{setTimeout(()=>{le.pop(),Ie([...le])},500)};x&&te(le.some(yt=>yt.status==="uploading"));const it={multiple:!0,disabled:re,accept:ct,withCredentials:!0,fileList:le,beforeUpload:(yt,ot)=>{const st=yt.size/1024/1024;return le.concat(ot).length>It?(le.pop(),Ie([...le]),de.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${It}\u4E2A\u6587\u4EF6`),Dt?Promise.reject():(Ge(),!1)):st<je?!0:(de.ZP.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${je}MB).`),Dt?Promise.reject():(Ge(),!1))},data:lt,action:Je||`${ve.Z.API_SERVER}/api/attachments.json`,onChange(yt){var ot,st,Vt,kt;if(yt.file.status==="removed"?le=yt.fileList:le=(0,Re.uniqBy)([...yt.fileList,...le],"uid"),yt.file.status==="done"&&((st=(ot=yt.file)==null?void 0:ot.response)==null?void 0:st.status)===-1){de.ZP.error((kt=(Vt=yt.file)==null?void 0:Vt.response)==null?void 0:kt.message);return}le.length>=It?ne(!0):ne(!1),Ie([...le]),le=le.map(un=>{var $t,Rt;return($t=un==null?void 0:un.response)!=null&&$t.id&&(un.url=(Rt=un==null?void 0:un.response)==null?void 0:Rt.url),un.name.indexOf(Me)===-1&&(un.name=`${un.name}${Me}${ge(un.size)}`),gt({},un)}),console.log("info:",yt,le),Be(le)},onRemove:yt=>$e(void 0,null,function*(){if(!oe)return!0;const ot=()=>$e(void 0,null,function*(){if(yt.response?yt.response.id:yt.id){let Vt=yield(0,ye.JZ)(yt.response?yt.response.id:yt.uid);return Promise.resolve(Vt)}else return!0});return xt?new Promise((st,Vt)=>{Ke.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>$e(void 0,null,function*(){const kt=yield ot();de.ZP.success("\u5220\u9664\u6210\u529F"),st(!0)}),onCancel:()=>st(!1)})}):yield ot()})};function dt(yt){yt.preventDefault(),yt.stopPropagation()}return b.createElement("div",{className:`multi-upload ${Ee||""}`},ft&&b.createElement(at,gt({},it),b.createElement("p",{className:"ant-upload-drag-icon"},b.createElement(Pe.Z,null)),b.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",b.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",je,"MB)"," "),wt),!ft&&b.createElement(We.default,gt({},it),b.createElement(De.ZP,{disabled:re,className:"upload_button"},b.createElement("img",{className:"aBtn_img",src:Ve}),rt),b.createElement("span",{onClick:dt,className:"upload_text"},ae||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${je}MB)`)))}},71347:function(wn,zt,E){"use strict";var b=E(59301),We=E(93314),de=E(7939),Ke=Object.defineProperty,De=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ue=(we,Me,ge)=>Me in we?Ke(we,Me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):we[Me]=ge,Fe=(we,Me)=>{for(var ge in Me||(Me={}))fe.call(Me,ge)&&ue(we,ge,Me[ge]);if(ye)for(var ge of ye(Me))xe.call(Me,ge)&&ue(we,ge,Me[ge]);return we},Ce=(we,Me)=>De(we,ve(Me));const Te=({img:we,buttonProps:Me={},styles:ge={},customText:Ae,ButtonText:Pe,ButtonClick:Re,Buttonclass:tt,ButtonTwo:ce,imgStyles:Oe,loading:Ue=!1,className:ze=""})=>b.createElement("section",{className:`tc animated fadeIn ${ze}`,style:Fe({color:"#999",margin:"100px auto",visibility:Ue?"hidden":"visible"},ge)},b.createElement("img",{src:we||We,style:Ce(Fe({},Oe),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},Ae||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Pe&&b.createElement(de.ZP,Fe({className:tt,onClick:Re},Me),Pe),ce&&ce);zt.Z=Te},2356:function(wn,zt,E){"use strict";E.d(zt,{Q:function(){return ve}});var b=E(59301),We=E(82326),de=E(47889),Ke=E(4875),De=E(59301),ve=(fe=>(fe[fe.Number=1]="Number",fe[fe.Percent=2]="Percent",fe))(ve||{});const ye=({value:fe,onChange:xe,disabled:ue,hidePercentOption:Fe=!1,percentType:Ce="select"})=>{const Te=(0,b.useMemo)(()=>Fe?1:2,[Fe]),[we,Me]=(0,b.useState)(Te);console.log(we);const ge=Pe=>fe.type===1?`${Pe}\u5206`:`${Pe}%`,Ae=(0,b.useCallback)(Pe=>{if(we===1){const Re=Pe.replace("\u5206","");return isNaN(parseInt(Re,10))?0:Re}else return Pe.replace("%","")},[we]);return(0,b.useEffect)(()=>{Me(fe.type)},[fe]),De.createElement("div",{style:{display:"flex",alignItems:"center"}},Ce=="select"&&De.createElement(We.default,{size:"large",onChange:Pe=>{Me(Pe),xe({type:Pe,inputValue:Pe===1?5:20})},value:we||Te,style:{width:100},options:Fe?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:ue}),Ce=="radio"&&De.createElement(de.ZP.Group,{size:"large",onChange:Pe=>{const Re=Pe.target.value;Me(Re),xe({type:Re,inputValue:Re===1?5:20})},value:we||Te,disabled:ue},!Fe&&De.createElement(de.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),De.createElement(de.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Ce=="radio"&&De.createElement("div",{style:{marginRight:"10px",color:"#000000"}},fe.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),De.createElement(Ke.Z,{size:"large",disabled:ue,value:fe.inputValue,style:{width:"120px"},parser:Ae,addonAfter:fe.type===1?"\u5206":"%",max:we===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:Pe=>{xe({type:we,inputValue:Pe})}}),Ce=="radio"&&fe.type==2&&De.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};zt.Z=ye},98893:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return tt}});var b=E(59301),We={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},de=E(7939),Ke=E(70557),De=E(94871),ve=E(25399),ye=E(68911),fe=E(58870),xe=E(71347),ue=E(35783),Fe=E(25341),Ce=E(59301),Te=Object.defineProperty,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Ae=(ce,Oe,Ue)=>Oe in ce?Te(ce,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ce[Oe]=Ue,Pe=(ce,Oe)=>{for(var Ue in Oe||(Oe={}))Me.call(Oe,Ue)&&Ae(ce,Ue,Oe[Ue]);if(we)for(var Ue of we(Oe))ge.call(Oe,Ue)&&Ae(ce,Ue,Oe[Ue]);return ce},Re=(ce,Oe,Ue)=>new Promise((ze,nt)=>{var ke=Se=>{try{et(Ue.next(Se))}catch(qe){nt(qe)}},Ve=Se=>{try{et(Ue.throw(Se))}catch(qe){nt(qe)}},et=Se=>Se.done?ze(Se.value):Promise.resolve(Se.value).then(ke,Ve);et((Ue=Ue.apply(ce,Oe)).next())}),tt=({editOffice:ce="view",data:Oe,issaver:Ue,onSaver:ze,theme:nt,type:ke,filename:Ve,monacoEditor:et,className:Se,style:qe,close:pe,onClose:be,hasMask:gt,disabledDownload:$e,onImgDimensions:at,showNodata:bt,recordInfo:Ze})=>{const[se,Be]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Je,lt]=(0,b.useState)(""),[Ee,je]=(0,b.useState)(),rt=window.ENV==="build"?"/react/build":"",xt=location.host.startsWith("localhost")?ue.Z.PROXY_SERVER:ue.Z.API_SERVER,wt=10*(1024*1024),ft=(0,b.useRef)();Oe!=null&&Oe.startsWith("/api")&&ke!=="txt"&&(Oe=ue.Z.API_SERVER+Oe);const It=re=>re.substring(re.lastIndexOf("/")+1).split(".").pop();Ve&&et&&(et.filename=Ve),(0,b.useEffect)(()=>{var re,ne;const le=(ne=(re=document.cookie)==null?void 0:re.replace(/\s/g,""))==null?void 0:ne.split(";");le==null||le.map(Ie=>{let Le=Ie.split("=");Le[0]==="_educoder_session"&<(Le[1])})},[]),(0,b.useEffect)(()=>{ke==="office"&&(Oe.indexOf("bigfilescdn.")>-1||Oe.indexOf("bigfiles1")>-1?je({url:Oe,fileType:It(Oe),model:Oe.indexOf("model=edit")?"edit":"view"}):Oe.indexOf("coze")>-1?je({url:Oe,fileType:"doc",model:"view"}):oe())},[ke,Oe]);function Dt(re){return Re(this,null,function*(){re.data.type==="pdfdata"&&(ze(re.data.data),window.removeEventListener("message",Dt,!1)),console.log("mess---:",re.data)})}const oe=()=>Re(void 0,null,function*(){console.log("data:",Oe);let re=Oe;Oe.startsWith("http")||(re=location.origin+re);let ne=new URL(re).pathname.split("/").pop();const le=yield(0,fe.gJ)({attachment_id:ne});le.url=xt+le.url,je(le)}),ae=()=>{if(Oe.startsWith("http")||Oe.startsWith("blob:")){te();return}(0,ye.Sv)(Ve||"educoder",Oe,Ve)},te=()=>{Ze&&(0,Fe.fc)({id:Ze==null?void 0:Ze.id,watch_type:1,course_id:Ze==null?void 0:Ze.course_id}),(0,ye.Nd)(Ve||"educoder",decodeURIComponent(Oe))};(0,b.useEffect)(()=>(window.addEventListener("message",x),()=>{window.removeEventListener("message",x)}),[]);const x=re=>{var ne;((ne=re==null?void 0:re.data)==null?void 0:ne.type)==="closePop"&&be()};return Ce.createElement("div",{style:Pe({},qe||{}),className:`${gt&&We.bgBlack} ${ke?We.wrp:"hide"}`},!!ke&&pe&&Ce.createElement("div",{id:"closePop",className:We.close,ref:ft},!!at&&Ce.createElement(ve.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ft.current},Ce.createElement("span",{onClick:()=>{be(),at()}},Ce.createElement("i",{className:"icon-yulanpizhu"}))),!$e&&window.parent===window&&Ce.createElement(ve.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ft.current},Ce.createElement("span",{onClick:te},Ce.createElement("i",{className:"icon-quxiaozhiding"}))),Ue&&Ce.createElement(ve.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ft.current},Ce.createElement("span",{className:"",onClick:()=>{const re=document.getElementById("pdfiframe");window.addEventListener("message",Dt,!1),setTimeout(()=>{re.contentWindow.postMessage("getData","*")},300)}},Ce.createElement("i",{className:"icon-baocun"}))),Ce.createElement(ve.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ft.current},Ce.createElement("span",{className:"",onClick:()=>{be()}},Ce.createElement("i",{className:"icon-guanbi1"})))),Ce.createElement("div",{className:`${We[Se]} ${Se} ${We.monaco} ${ke==="txt"?"show":"hide"}`},ke==="txt"&&Ce.createElement(Ce.Fragment,null,Ce.createElement(De.ZP,Pe({},et)))),ke==="audio"&&Ce.createElement("audio",{src:`${(Oe==null?void 0:Oe.indexOf("http://"))>-1||(Oe==null?void 0:Oe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Oe}`,autoPlay:!0}),ke==="video"&&Ce.createElement(Ce.Fragment,null,(Oe==null?void 0:Oe.indexOf("http"))>-1?Ce.createElement("video",{controls:!0,src:`${Oe}`,autoPlay:!0}):Ce.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Oe}`,autoPlay:!0})),ke==="office"&&Ee&&Ce.createElement("iframe",{src:`${rt}/office.html?key=${Ee.key}&url=${btoa(Ee.url)}&callbackUrl=${xt+(Ee.callbackUrl||"")}&fileType=${Ee.fileType}&title=${Ee.title||""}&model=${ce}&officeServer=${ue.Z.ONLYOFFICE}&disabledDownload=${!!$e}`}),ke==="html"&&Ce.createElement("iframe",{src:Oe+"&disposition=inline"}),ke==="pdf"&&Ce.createElement("iframe",{id:"pdfiframe",src:`${rt}/js/pdf/index.html?filename=${Ve||"educoder.pdf"}&url=${encodeURIComponent(Oe)}&disabledDownload=${!!$e}&model=${ce}`}),ke==="image"&&Ce.createElement("img",{src:`${(Oe==null?void 0:Oe.indexOf("http://"))>-1||(Oe==null?void 0:Oe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Oe}`}),(ke==="other"||ke==="download")&&Ce.createElement(Ce.Fragment,null,bt?Ce.createElement(xe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Ce.createElement(de.ZP,{icon:Ce.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ae,disabled:$e},"\u4E0B\u8F7D")}):Ce.createElement(de.ZP,{type:"primary",size:"middle",onClick:ae,disabled:$e},Ce.createElement(Ke.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),ke==="flowChart"&&Ce.createElement("div",{className:"embed"},Ce.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Oe||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},56375:function(wn,zt,E){"use strict";E.d(zt,{z:function(){return et},Z:function(){return Se}});var b=E(59301),We=E(64310),de=E(74410),Ke=E(64018),De=E(16471),ve=E(35783),ye=E(68911),fe=E(15342),xe=E(44104),ue=E(7939),Fe=E(1012),Ce=E(98893),Te=E(59301),Me=({html:qe})=>{const pe=(0,b.useRef)(null),be=(0,b.useRef)(null),gt=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 56px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,b.useEffect)(()=>{const $e=pe.current.attachShadow({mode:"open"});be.current=document.createElement("div"),be.current.className="markdown-body",be.current.innerHTML=qe,$e.appendChild(be.current);const at=document.createElement("style");return at.textContent=gt,$e.appendChild(at),()=>{$e.innerHTML=""}},[]),(0,b.useEffect)(()=>{be.current&&(be.current.innerHTML=qe)},[qe]),Te.createElement("div",{ref:pe})};function ge(qe){const pe=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],be=new RegExp(`\\b(${pe.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),gt=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return qe.replace(be,"").replace(gt,"").trim()}var Ae={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Pe=Object.defineProperty,Re=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,Oe=(qe,pe,be)=>pe in qe?Pe(qe,pe,{enumerable:!0,configurable:!0,writable:!0,value:be}):qe[pe]=be,Ue=(qe,pe)=>{for(var be in pe||(pe={}))tt.call(pe,be)&&Oe(qe,be,pe[be]);if(Re)for(var be of Re(pe))ce.call(pe,be)&&Oe(qe,be,pe[be]);return qe};const ze="@\u2581\u2581@",nt="@\u2581@",ke=/<pre[^>]*>/g;function Ve(qe){let pe=document.createElement("div");return pe.innerHTML=qe,pe.childNodes.length===0?"":pe.childNodes[0].nodeValue}const et=(qe,pe)=>{qe=qe||"";const be=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,gt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,$e=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,at=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return pe?qe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(be,(bt,Ze,se,Be,Je,lt,Ee)=>{const je=Ze||Be||lt,rt=se||Je||Ee||"?";return ve.Z.API_SERVER+"/api/attachments/"+je+rt+"&t="+(0,ye.Jn)(je,Date.now())+(bt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(qe=qe.replace(at,(bt,Ze,se,Be,Je,lt,Ee)=>{const je=Ze||Be||lt,rt=se||Je||Ee||"?";return ve.Z.API_SERVER+"/attachments/download/"+je+rt+"&t="+(0,ye.Jn)(je,Date.now())+(bt.indexOf(")")>-1?")":"&")}).replace(be,(bt,Ze,se,Be,Je,lt,Ee)=>{const je=Ze||Be||lt,rt=se||Je||Ee||"?";return ve.Z.API_SERVER+"/api/attachments/"+je+rt+"&t="+(0,ye.Jn)(je,Date.now())+(bt.indexOf(")")>-1?")":"&")}).replace(gt,(bt,Ze,se,Be,Je)=>{const lt=Ze||Be,Ee=se||Je||"";return'"'+ve.Z.API_SERVER+"/api/attachments/"+lt+Ee+lt+Ee+"&t="+(0,ye.Jn)(lt,Date.now())}).replace($e,(bt,Ze,se,Be,Je)=>{const lt=Ze||Be,Ee=se||Je||"";return"("+ve.Z.API_SERVER+"/files/uploads/"+lt+Ee+lt+Ee+"&t="+(0,ye.Jn)(lt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),qe)};var Se=({value:qe="",edit:pe=!1,className:be,showTextOnly:gt,showLines:$e,style:at={},stylesPrev:bt={},highlightKeywords:Ze,showProgramFill:se,isProgramFill:Be,disabledFill:Je=!1,programFillValue:lt,openEditor:Ee=()=>{},onFillChange:je=ct=>{},onFillBlur:rt=()=>{},onFillFocus:xt=()=>{}})=>{let ct=ge(String(qe||""));const wt=(0,b.useRef)(),ft=(0,b.useRef)(),[It,Dt]=(0,b.useState)(""),[oe,ae]=(0,b.useState)("office"),[te,x]=(0,b.useState)([]),re=(0,b.useRef)("a"+(0,Fe.Z)()),ne={},le=Rt=>/<style[\s\S]*?>/i.test(Rt||""),Ie=(Rt,Kt,qt)=>{const Et=document.createElement(Rt===nt?"input":"textarea");Et.style.width="100%",Et.style.height=Rt===nt?"40px":"151px",Et.rows=5,Et.spellcheck=!1,Et.name="edu-program-fill",Et.placeholder="\u8BF7\u8F93\u5165",Et.dataset.id=Kt;const Tt=Object.keys(ne).length;return ne[Tt]=Et,`<span class="edu-program-fill-wrap ${Rt===nt?"":"show"}" style="width:${Rt===nt?"600px":"100%"}" title=${qt||""}><span>${Et.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Le(Rt){return Rt=Rt.replace(/!\[.*?\]\(.*?\)/g,""),Rt=Rt.replace(/\[.*?\]\(.*?\)/g,""),Rt=Rt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Rt=Rt.replace(/<embed.*?>/g,""),Rt=Rt.replace(/<img.*?>/g,""),Rt=Rt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Rt=Rt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Rt=Rt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Rt=Rt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Rt}const Ye=Rt=>!gt&&le(ct)?Rt:Rt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Kt,qt){let Et=qt.replace(/(\n|\r)/g,"").split("}"),Tt=[];return Et.map(on=>{on!=""&&Tt.push(`.${re.current} ${on}`)}),`<style>${Tt.join("}")}</style>`}),Ge=(0,b.useMemo)(()=>{(0,de.Iy)();try{const Et=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Tt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,on=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,mn=/\(\/attachments\/download\//g;ct=ct.replace(mn,"("+ve.Z.API_SERVER+"/attachments/download/").replace(Et,"("+ve.Z.API_SERVER+"/api/attachments/").replace(Tt,'"'+ve.Z.API_SERVER+"/api/attachments/").replace(on,'"'+ve.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),wt.current.style.display="none"}catch(Et){}if(se){let Et=-1;return ct=ct.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Tt,on,mn){var vt;return++Et,Ie(Tt,Et,(vt=lt==null?void 0:lt[Et])==null?void 0:vt.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Ye(ct||"")}</pre>`}let Rt=Ye(ct);Rt=(0,de.ZP)(Rt);const Kt=(0,de.ez)();ct.match(/\[TOC\]/)&&(Rt=Rt.replace("<p>[TOC]</p>",(0,de.Qv)()),(0,de.Iy)()),Rt=Rt.replace(/(__special_katext_id_\d+__)/g,(Et,Tt)=>{const{type:on,expression:mn}=Kt[Tt];return(0,fe.renderToString)(Ve(mn)||"",{displayMode:on==="block",throwOnError:!1,output:"html"})}),Rt=Rt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,de.AL)();const qt=document.createElement("div");if(qt.innerHTML=Rt,gt)return qt.innerText;if(Ze){const Et=Ze.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return ot(qt,Et),qt.innerHTML}return setTimeout(()=>kt(),500),qt.innerHTML},[ct,Ze]);(0,b.useEffect)(()=>{st.current&&st.current.querySelectorAll(["input","textarea"]).forEach(Kt=>{Kt.oninput=it,Kt.onblur=dt,Kt.onfocus=yt})},[te]),(0,b.useEffect)(()=>{var Rt,Kt,qt,Et,Tt;if(lt!=null&<.length)try{const on=st.current.querySelectorAll(".edu-program-fill-score"),mn=st.current.querySelectorAll('[name="edu-program-fill"]');for(const[vt,Mt]of mn.entries())Mt.value=((Rt=lt==null?void 0:lt[vt])==null?void 0:Rt.value)||"",((Kt=lt==null?void 0:lt[vt])==null?void 0:Kt.type)==="warning"?Mt.className="program-fill-warning":((qt=lt==null?void 0:lt[vt])==null?void 0:qt.type)==="success"?Mt.className="program-fill-success":Mt.className="";for(const[vt,Mt]of on.entries())Mt.innerHTML=(Et=lt==null?void 0:lt[vt])!=null&&Et.score?`${(Tt=lt==null?void 0:lt[vt])==null?void 0:Tt.score}\u5206`:"";x(lt)}catch(on){console.log(on,"error")}},[lt]);const it=Rt=>{te[Rt.target.dataset.id]=te[Rt.target.dataset.id]||{},te[Rt.target.dataset.id].value=Rt.target.value,x([...te]),je(te,Rt.target.dataset.id)},dt=Rt=>{te[Rt.target.dataset.id]=te[Rt.target.dataset.id]||{},te[Rt.target.dataset.id].value=Rt.target.value,x([...te]),rt(te,Rt.target.dataset.id)},yt=Rt=>{te[Rt.target.dataset.id]=te[Rt.target.dataset.id]||{},te[Rt.target.dataset.id].value=Rt.target.value,x([...te]),xt(te,Rt.target.dataset.id)};function ot(Rt,Kt){return Rt.childNodes.forEach(qt=>{var Et;if(qt.childNodes.length>0)ot(qt,Kt);else if(qt.nodeName!=="IMG")if(qt.innerHTML)qt.innerHTML=(Et=qt.innerHTML)==null?void 0:Et.replace(new RegExp(Kt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Tt=document.createElement("span");Tt.innerHTML=qt.textContent.replace(new RegExp(Kt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),qt.replaceWith(Tt)}})}const st=(0,b.useRef)();de.jb.WebkitLineClamp=$e,$e&&(at=Ue(Ue({},at),de.jb));function Vt(Rt){let Kt=Rt.target;if(Kt.tagName.toUpperCase()==="A"){let qt=Kt.getAttribute("href");if(qt.indexOf("office")>-1)Rt.preventDefault(),Dt(qt),ae("office");else if(qt.indexOf("application/pdf")>-1)Rt.preventDefault(),Dt(qt),ae("pdf");else if(qt.indexOf("text/html")>-1)Rt.preventDefault(),Dt(qt),ae("html");else if(qt.startsWith("#")){Rt.preventDefault();let Et=document.getElementById(qt.replace("#",""));Et&&Et.scrollIntoView(!0)}}}const kt=()=>{var Rt;const Kt=(Rt=st.current)==null?void 0:Rt.querySelectorAll("video");Kt==null||Kt.forEach(qt=>{if(qt.oncontextmenu=()=>!1,qt.src.indexOf(".m3u8")>-1&&!qt.canPlayType("application/vnd.apple.mpegurl")){if(De.ZP.isSupported()){var Et=new De.ZP;Et.loadSource(qt.src),Et.attachMedia(qt)}}})};(0,b.useEffect)(()=>{if(st.current&&Ge&&Ge.match(ke)&&window.PR.prettyPrint(),st.current)return st.current.addEventListener("click",Vt),()=>{var Rt;(Rt=st.current)==null||Rt.removeEventListener("click",Vt),(0,de.AL)(),(0,de.Iy)()}},[Ge,st.current,Vt]);const un=Rt=>{Rt.target.nodeName==="IMG"&&Rt.target.className.indexOf("draw-flowchart")>-1?(wt.current.style.zIndex=1,wt.current.style.display="flex",wt.current.style.width=Rt.target.clientWidth+"px",wt.current.style.height=Rt.target.clientHeight+"px",wt.current.style.top=Rt.target.offsetTop+"px",wt.current.style.left=Rt.target.offsetLeft+"px",Rt.target.id&&(ft.current=Rt.target.id)):wt.current.style.display="none"},$t=()=>{wt.current.style.display="none"};return(0,b.useEffect)(()=>{var Rt;const Kt=qt=>{qt.preventDefault(),qt.clipboardData.setData("text",window.getSelection().toString())};return(Rt=st.current)==null||Rt.addEventListener("copy",Kt),()=>{var qt;(qt=st.current)==null||qt.removeEventListener("copy",Kt)}},[st.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:$t},gt&&b.createElement("div",{ref:st,className:`${Ae.mdBody} `},Ge),!gt&&!le(Ge)&&b.createElement("div",{ref:st,style:Ue({},at),onMouseOver:un,className:`${be||""} ${Je?"disabled-fill":""} markdown-body ${Ae.mdBody} ${re.current}`,dangerouslySetInnerHTML:{__html:Ge}}),!gt&&le(Ge)&&b.createElement(Me,{html:Ge}),b.createElement("div",{ref:wt,className:`${Ae.button} ${pe?"":Ae.previewFlowChart}`},b.createElement(xe.Z,null,b.createElement(ue.ZP,{onClick:()=>{pe?Ee(ft.current):(Dt(ft.current),ae("flowChart"))}},pe?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Ce.Z,{close:!0,data:It,type:It!=null&&It.length?oe:"",style:Ue({},bt),onClose:()=>Dt("")}))}},15567:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(59301),We={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},de=E(62957),Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ve=(xe,ue,Fe)=>new Promise((Ce,Te)=>{var we=Ae=>{try{ge(Fe.next(Ae))}catch(Pe){Te(Pe)}},Me=Ae=>{try{ge(Fe.throw(Ae))}catch(Pe){Te(Pe)}},ge=Ae=>Ae.done?Ce(Ae.value):Promise.resolve(Ae.value).then(we,Me);ge((Fe=Fe.apply(xe,ue)).next())}),fe=({type:xe,resdata:ue,onok:Fe,oktext:Ce,okloading:Te})=>{const[we,Me]=(0,b.useState)(!1),{can_copy_list:ge,can_copy_num:Ae,challenge_type:Pe,course_data_list:Re,no_copy_list:tt,no_copy_num:ce,no_use_list:Oe,no_use_num:Ue,repeat_shixun_num:ze,student_count:nt,total_num:ke,use_num:Ve}=ue;let et=Ae>0||xe==="exercise";(0,b.useEffect)(()=>{(ue==null?void 0:ue.student_count)>0&&Me(!0)},[ue]),console.log("---11",Te),(0,b.useEffect)(()=>{Te||Me(!1)},[Te]);const Se=()=>{if(xe==="exercise"&&Pe===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:We.orangeColor},Ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(xe==="exercise"&&Pe===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:We.orangeColor},Ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(xe==="shixun"&&Pe===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(xe==="shixun"&&Pe===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(xe==="subject"&&Pe===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:We.orangeColor},Ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(xe==="subject"&&Pe===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:We.orangeColor},nt)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:We.orangeColor},Ve)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(xe==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:We.orangeColor},Ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(xe==="shixunpush"&&Pe===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:We.orangeColor},Ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(xe==="shixunpush"&&Pe===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:We.orangeColor},nt),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:We.orangeColor},Ve),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:We.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},qe=()=>{if(xe==="exercise"||xe==="subject"||xe==="exercisepush"||xe==="shixunpush")return b.createElement("div",{style:{marginTop:20}},ce>0&&b.createElement("div",null,b.createElement("span",{className:We.flex},b.createElement("img",{src:De,style:{width:14}}),b.createElement("span",{className:We.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:We.statusbody},xe==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:We.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(xe==="subject"||xe==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",et&&b.createElement("span",{className:We.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),xe==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",et&&b.createElement("span",{className:We.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,tt==null?void 0:tt.map((pe,be)=>b.createElement("a",{href:`/shixuns/${pe.identifier}/challenges`,target:"_blank"},"\u300A",pe==null?void 0:pe.name,"\u300B",be+1!==ce&&"\u3001"))))),Ae>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:We.flex},b.createElement("img",{src:Ke,style:{width:14}}),b.createElement("span",{className:We.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:We.statusbody},xe==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(xe==="subject"||xe==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),xe==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,ge==null?void 0:ge.map((pe,be)=>b.createElement("a",{href:`/shixuns/${pe.identifier}/challenges`,target:"_blank"},"\u300A",pe==null?void 0:pe.name,"\u300B",be+1!==Ae&&"\u3001"))))));if(xe==="shixun")return b.createElement("div",{style:{marginTop:20}},Ae>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(de.default,{open:we,onCancel:()=>{Me(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!et&&"none"}},zIndex:1003,confirmLoading:Te,okText:et?Ce:"\u6211\u77E5\u9053\u4E86",onOk:()=>ve(void 0,null,function*(){et?yield Fe([...ge,...Oe]):Me(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Se(),qe()))}},75388:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Te}});var b=E(59301),We=E(25399),de=E(63823),Ke=E(10102),De=E(68911),ve=Object.defineProperty,ye=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ue=(we,Me,ge)=>Me in we?ve(we,Me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):we[Me]=ge,Fe=(we,Me)=>{for(var ge in Me||(Me={}))fe.call(Me,ge)&&ue(we,ge,Me[ge]);if(ye)for(var ge of ye(Me))xe.call(Me,ge)&&ue(we,ge,Me[ge]);return we},Te=({children:we,customContent:Me,disableWhenCommunity:ge=!1,tooltipProps:Ae={}})=>{const Pe=(0,de.useDispatch)(),Re=b.createElement("div",null,"\u60A8\u5F53\u524D\u7684\u8D26\u53F7\u7248\u672C\u6682\u65E0\u6B64\u529F\u80FD\u6743\u9650\u3002\u5982\u9700\u4F7F\u7528\uFF0C\u8BF7",b.createElement("span",{style:{color:"#6594FF",cursor:"pointer"},onClick:()=>{var ce;(0,De.xg)(`/users/${(ce=(0,Ke.eY)())==null?void 0:ce.login}/memberCenter`)}},"\u5347\u7EA7\u81F3\u66F4\u9AD8\u7248\u672C\u8D26\u53F7"),"\u3002"),tt=ce=>{var Oe;if(!b.isValidElement(ce))return ce;const Ue={};Ue.disabled=!0,Ue.onChange=ke=>{var Ve,et;(Ve=ke==null?void 0:ke.preventDefault)==null||Ve.call(ke),(et=ke==null?void 0:ke.stopPropagation)==null||et.call(ke)};const ze=(Oe=ce.props)==null?void 0:Oe.children,nt=ze&&b.Children.map(ze,tt);return b.cloneElement(ce,Ue,nt)};return(0,Ke.k5)()&&ge?b.createElement(We.Z,Fe({placement:"topLeft",title:Me||Re},Ae),tt(we)):b.createElement(b.Fragment,null,we)}},56383:function(wn,zt,E){"use strict";E.d(zt,{h:function(){return ce}});var b=E(59301),We=E(82326),de=E(28284),Ke=E(7939),De=E(89780),ve=E.n(De),ye=E(3706),fe=E(96772),xe=Object.defineProperty,ue=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Me=(Oe,Ue,ze)=>Ue in Oe?xe(Oe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Oe[Ue]=ze,ge=(Oe,Ue)=>{for(var ze in Ue||(Ue={}))Te.call(Ue,ze)&&Me(Oe,ze,Ue[ze]);if(Ce)for(var ze of Ce(Ue))we.call(Ue,ze)&&Me(Oe,ze,Ue[ze]);return Oe},Ae=(Oe,Ue)=>ue(Oe,Fe(Ue));const Pe=We.default.Option,Re={labelCol:{span:4},wrapperCol:{span:20}},tt={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"]};zt.Z=({callback:Oe,onCancel:Ue})=>{const[ze,nt]=(0,b.useState)("python");function ke(et){nt(tt[et][1])}function Ve(et){Oe(et)}return b.createElement(de.default,Ae(ge({},Re),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ve,style:{width:500}}),b.createElement(de.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(We.default,{getPopupContainer:et=>et.parentNode,onChange:ke},Object.keys(tt).map(et=>b.createElement(Pe,{key:et,value:et},tt[et][0])))),b.createElement(de.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ce,{mode:ze})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ke.ZP,{type:"ghost",onClick:Ue},"\u53D6\u6D88")))};function ce({value:Oe,onChange:Ue,mode:ze,options:nt={}}){const ke=(0,b.useRef)(),[Ve,et]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ve){let Se=function(qe){const pe=qe.getValue();Ue&&Ue(pe)};return Ve.on("change",Se),()=>{Ve.off("change",Se)}}},[Ve,Ue]),(0,b.useEffect)(()=>{Ve&&Ve.setOption("mode",ze)},[Ve,ze]),(0,b.useEffect)(()=>{Ve&&(Oe!==Ve.getValue()||Oe==="")&&setTimeout(()=>{Ve.setValue(Oe||"")},300)},[Ve,Oe]),(0,b.useEffect)(()=>{if(ke.current&&!Ve){const Se=ve().fromTextArea(ke.current,ge({mode:ze,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},nt));et(Se)}},[ke.current,Ve]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:ke}))}},32862:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return en}});var b=E(59301),We=E(63823),de=E(89780),Ke=E.n(de),De=E(76374),ve=E(3706),ye=E(6313),fe=E(25717),xe=E(99498),ue=E(25419),Fe=E(67549),Ce=E(56375),Te=({value:Jt="",className:Sn,showTextOnly:yn,showLines:Mn,style:Yn={}})=>{const Wn=(0,b.useMemo)(()=>"",[Jt]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Wn}}))},we=Object.defineProperty,Me=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,tt=(Jt,Sn,yn)=>Sn in Jt?we(Jt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:yn}):Jt[Sn]=yn,ce=(Jt,Sn)=>{for(var yn in Sn||(Sn={}))Pe.call(Sn,yn)&&tt(Jt,yn,Sn[yn]);if(Ae)for(var yn of Ae(Sn))Re.call(Sn,yn)&&tt(Jt,yn,Sn[yn]);return Jt},Oe=(Jt,Sn)=>Me(Jt,ge(Sn));let Ue=[{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\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",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 ze({onActionCallback:Jt,title:Sn,icon:yn,actionName:Mn,className:Yn="",children:Wn}){function In(){Jt(Mn)}return b.createElement("a",{title:Sn,className:Yn,onClick:In},b.createElement("i",{className:`${yn}`}),Wn)}var nt=({watch:Jt,showNullButton:Sn,showNullProgramButton:yn,onActionCallback:Mn,fullScreen:Yn,insertTemp:Wn,hidetoolBar:In,extraUse:ar})=>{const tr=[...Ue,{title:`${Jt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Jt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!In&&tr.map((Rr,Ir)=>b.createElement("li",{key:Ir},Rr.actionName?b.createElement(ze,Oe(ce({},Rr),{onActionCallback:Mn})):b.createElement("span",{className:"v-line"}))),Sn?b.createElement("li",null,b.createElement(ze,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Mn},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,yn?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(ze,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Mn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(ze,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Mn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Wn&&b.createElement("li",null,b.createElement(ze,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Wn}`,onActionCallback:Mn},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ar&&b.createElement("li",null,ar),b.createElement("li",{className:"btn-full-screen"},b.createElement(ze,{icon:`${Yn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Mn})))},ke=E(88969),Ve=E(28284),et=E(37568),Se=E(7939),qe=Object.defineProperty,pe=Object.defineProperties,be=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,bt=(Jt,Sn,yn)=>Sn in Jt?qe(Jt,Sn,{enumerable:!0,configurable:!0,writable:!0,value:yn}):Jt[Sn]=yn,Ze=(Jt,Sn)=>{for(var yn in Sn||(Sn={}))$e.call(Sn,yn)&&bt(Jt,yn,Sn[yn]);if(gt)for(var yn of gt(Sn))at.call(Sn,yn)&&bt(Jt,yn,Sn[yn]);return Jt},se=(Jt,Sn)=>pe(Jt,be(Sn));const Be={labelCol:{span:4},wrapperCol:{span:20}};var Je=({callback:Jt,onCancel:Sn})=>{function yn(Mn){Jt(Mn)}return b.createElement(Ve.default,se(Ze({},Be),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:yn,style:{width:500}}),b.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(et.default,null)),b.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(et.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Se.ZP,{type:"ghost",onClick:Sn},"\u53D6\u6D88")))},lt=E(56383),Ee=E(79203),je=E(62957),rt=E(77019),xt=E(78265),ct=E(59301),wt=({callback:Jt,onCancel:Sn})=>{const yn=document.createElement("canvas"),Mn=yn.getContext("2d");yn.width=1e3,yn.height=800,Mn.fillStyle="#ffffff",Mn.fillRect(0,0,yn.width,yn.height);const Yn=yn.toDataURL("image/png");return ct.createElement(je.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ct.createElement(rt.Z,{style:{height:"100vh"}},ct.createElement(xt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yn,visible:!0,title:String(Date.now())},onOk:Wn=>{Jt({src:Wn.url})},onClose:Sn})))},ft=E(36207),It=E(5269),Dt=E(6767),oe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ae=E(59301),x=(0,b.forwardRef)(({onCancel:Jt,editImgId:Sn,callback:yn},Mn)=>{let Yn=(0,b.useRef)(),Wn=(0,b.useRef)(),In=(0,b.useRef)(),ar=(0,b.useRef)(!1);const tr=(0,b.useRef)(!1);console.log("ref:",Mn);const[Rr,Ir]=(0,b.useState)(0),[En,kn]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Ir(1)},[]),(0,b.useImperativeHandle)(Mn,()=>({setHeight:kn})),ae.createElement("div",{ref:tr,className:"body-overflow-initial"},ae.createElement(ft.Z,{width:"100vw",height:En,footer:null,closable:!0,placement:"bottom",open:!!Rr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${oe.drawerWrap}`,onClose:()=>{window.saveDrawData(nr=>{yn({src:`/api/attachments/${nr}`,id:nr})})},title:ae.createElement(rt.Z,{align:"middle"},ae.createElement(It.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ae.createElement(It.Z,{onClick:()=>{kn(En==="60px"?"100vh":"60px")}},ae.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ae.createElement(It.Z,{onClick:()=>{window.saveDrawData(nr=>{if(nr===null){Dt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Dt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),yn({src:`/api/attachments/${nr}`,id:nr,disabledClose:!0})})}},ae.createElement(Se.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ae.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Sn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Wn})))}),re=E(35783),ne=E(47889),le=E(4875);const Ie=ne.ZP.Group,Le={margin:"0 8px"};var Ye=({callback:Jt,onCancel:Sn})=>{function yn(Mn){Jt(Mn)}return b.createElement(Ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:yn},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:Le},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:Le},"\u884C\u6570"),b.createElement(Ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(le.Z,null)),b.createElement("span",{style:Le},"\u5217\u6570"),b.createElement(Ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(le.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:Le},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ve.default.Item,{name:"align"},b.createElement(Ie,null,b.createElement(ne.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(ne.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(ne.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(ne.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Se.ZP,{type:"ghost",onClick:Sn},"\u53D6\u6D88")))},Ge=E(58755),it=E(45936),dt=E.n(it),ot=(0,b.forwardRef)(({use3d:Jt,width:Sn,height:yn,callback:Mn,showSaveButton:Yn},Wn)=>{const In=(0,b.useRef)(),ar=(0,b.useRef)(),[tr,Rr]=(0,b.useState)(!1),Ir=(0,b.useRef)({id:In,appName:"graphing",width:Sn||1e3,height:yn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{ar.current=new(dt())(Ir.current,!0),window.onload=function(){ar.current.inject("applet_container")}},[]);const En=()=>{var kn=window.ggbApplet.getPNGBase64(1,!0,72);return Mn&&Mn(kn),kn};return(0,b.useEffect)(()=>{Ir.current.appName=tr?"3D":"graphing",ar.current.inject("applet_container")},[tr]),(0,b.useEffect)(()=>{Rr(Jt)},[Jt]),(0,b.useImperativeHandle)(Wn,()=>({getImgData:En})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:In}),b.createElement(rt.Z,{align:"middle"},b.createElement(It.Z,{flex:1},b.createElement(Ge.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:tr,onChange:kn=>Rr(kn)})),b.createElement(It.Z,null,b.createElement(Se.ZP,{size:"large",onClick:En,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),st=E(9043);const Vt="link",kt="upload-image",un="add-flowchart",$t="draw-image",Rt="add-flowchart",Kt="code-block",qt="add-table",Et="------------",Tt={default:Et,left:`:${Et}`,center:`:${Et}:`,right:`${Et}:`};var on=E(2408),mn=E(68911);function vt(){}let Mt=0;const Yt=1e4,sn="\u2581",xn="@\u2581\u2581@",Ln="@\u2581@",Xn=`
|
|
|
**\u6A21\u677F\u6807\u9898**
|
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Jn=["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 Bn(Jt){return/^\d+$/.test(Jt)?`${Jt}px`:Jt}const Wt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ot={[Wt+"-B"]:"bold",[Wt+"-I"]:"italic"},ln={[Vt]:"\u6DFB\u52A0\u94FE\u63A5",[Kt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[kt]:"\u6DFB\u52A0\u56FE\u7247",[$t]:"\u6DFB\u52A0\u753B\u56FE",[un]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[qt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var en=({defaultValue:Jt="",onChange:Sn,width:yn="100%",height:Mn=400,miniToolbar:Yn=!1,isFocus:Wn=!1,watch:In,insertTemp:ar,mode:tr="markdown",id:Rr="markdown-editor-id",showResizeBar:Ir=!1,noStorage:En=!1,showNullButton:kn=!1,showNullProgramButton:nr=!1,hidetoolBar:rr=!1,fullScreen:Lt=!1,onBlur:Qt,onCMBeforeChange:St,onFullScreen:Zt,className:At="",disablePaste:Ht=!1,disabled:ht=!1,disabledFill:Xt=!1,placeholder:tn="",values:dn="",extraUse:Ut,onAddBlank:jt})=>{const[Gt,an]=(0,b.useState)(null),[zn,Rn]=(0,b.useState)(Jt),[Vn,Mr]=(0,b.useState)(In),[zr,Xr]=(0,b.useState)(Lt),[Pr,gr]=(0,b.useState)(""),[Ar,Vr]=(0,b.useState)(0),[ni,ri]=(0,b.useState)(Mn),[ai,Dr]=(0,b.useState)(!1),[Jr,$r]=(0,b.useState)(0),[Ri,Hi]=(0,b.useState)(0),Zi=(0,b.useRef)(),zi=(0,b.useRef)(),Ji=(0,b.useRef)(),wi=(0,b.useRef)(),Mi=(0,b.useRef)(),fi=(0,b.useRef)(),$i=(0,We.useDispatch)();(0,b.useEffect)(()=>{const ir=window.scrollY||window.pageYOffset;Rn(dn),Gt==null||Gt.setValue(dn),window.scrollTo(0,ir)},[dn]),(0,b.useEffect)(()=>{Zt==null||Zt(zr)},[zr]),(0,b.useEffect)(()=>{if(Zi.current){let ir=function(Cr,Zr){var ji;if(Ht){Zr.preventDefault();return}const vo=Zr.clipboardData;if(vo){const ao=vo.types.toString(),Bo=vo.items;if(ao==="Files"||vo.types.indexOf("Files")>-1){if(Zr.preventDefault(),tr=="stex")return;try{let wo=Bo[1];((ji=Bo[0])==null?void 0:ji.kind)==="file"&&(wo=Bo[0]);const Co=wo.getAsFile(),ko=Co.name.split(".").pop();(0,Ee.I)(Co,Oo=>{var Mo,ha,Aa;Oo.id?((Mo=Co==null?void 0:Co.type)==null?void 0:Mo.indexOf("image"))>-1?Gn.replaceSelection(`<img width="100%" src="/api/attachments/${Oo.id}?type=${Oo.content_type})" alt="" />`):((ha=Co==null?void 0:Co.type)==null?void 0:ha.indexOf("video"))>-1?Gn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Oo.id}"></video>`):((Aa=Co==null?void 0:Co.type)==null?void 0:Aa.indexOf("pdf"))>-1?Gn.replaceSelection(`<a href="/api/attachments/${Oo.id}?type=${Co.type}&disposition=inline" target="_blank">${Co.name}</a>`):Jn.includes(ko)?Gn.replaceSelection(`<a href="/api/attachments/${Oo.id}?type=office&disposition=inline" target="_blank">${Co.name}</a>`):Gn.replaceSelection(`[${Co.name}](/api/attachments/${Oo.id}?type=${Oo.content_type})`):(Oo==null?void 0:Oo.status)===401&&(document.location.href="/user/login")})}catch(wo){Dt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Gn=Ke().fromTextArea(Zi.current,{mode:tr,lineNumbers:!Yn,lineWrapping:!0,value:Jt,autoCloseTags:!0,autoCloseBrackets:!0});return Gn.on("keyup",function(Cr,Zr){Zr.keyCode===8&&(Cr.getValue()==""?Gn.setOption("placeholder",tn):Gn.setOption("placeholder",null))}),Gn.on("keydown",function(Cr,Zr){if(Zr.keyCode===8){var ji=Ro(Cr);ji&&Zr.preventDefault()}}),Wn&&Gn.focus(),Gn.on("paste",ir),ht&&Gn.on("beforeChange",function(Cr,Zr){(Zr.origin==="paste"||Zr.origin==="+input")&&Zr.cancel()}),an(Gn),()=>{Gn.off("paste",ir)}}},[]);const oo=(0,b.useCallback)(()=>{if(zi.current)try{}catch(ir){console.log(ir,"---- to set md editor body height")}},[ni,zi,zr]);(0,b.useEffect)(()=>{function ir(){let Gn=new De.Z(Cr=>{for(let Zr of Cr)(Zr.target.offsetHeight>0||Zr.target.offsetWidth>0)&&(oo(),Gt.setSize("100%","100%"),Gt.refresh())});return Gn.observe(Zi.current.parentElement),Gn}if(Gt){const Gn=ir();return()=>{var Cr,Zr;(Cr=Zi.current)!=null&&Cr.parentElement&&Gn.unobserve((Zr=Zi.current)==null?void 0:Zr.parentElement)}}},[Gt,oo]),(0,b.useEffect)(()=>{if(Gt){let ir=[];for(const[Gn,Cr]of Object.entries(Ot)){let Zr={[Gn]:()=>{fo(Cr)}};ir.push(Zr),Gt.addKeyMap(Zr)}return()=>{for(let Gn of ir)Gt.removeKeyMap(Gn)}}},[Gt]),(0,b.useEffect)(()=>{Lt!==zr&&Xr(Lt)},[Lt]),(0,on.Z)(()=>{if(!En&&Ar>0){let ir=new Date().getTime(),Gn=window.sessionStorage.getItem(Rr);ir>=Ar+Yt&&(!Gn||Gn!==zn)&&(window.sessionStorage.setItem(Rr,zn),Dr(!0))}},Yt),(0,b.useEffect)(()=>{Mr(In)},[Gt,In]),(0,b.useEffect)(()=>{Gt&&Wn&&Gt.focus()},[Gt,Wn]),(0,b.useEffect)(()=>{if(Vn&&Gt){let ir=function(Cr){let Zr=Cr.target;if(wi.current){let ji=Zr.scrollTop/Zr.scrollHeight;wi.current.scrollTop=wi.current.scrollHeight*ji}};const Gn=Gt.getScrollerElement();return Gn.addEventListener("scroll",ir),()=>{Gn.removeEventListener("scroll",ir)}}},[Gt,Vn]),(0,b.useEffect)(()=>{if(Gt&&St){let ir=function(Gn,Cr){St(Gn,Cr)};return Gt.on("beforeChange",ir),()=>{Gt.off("beforeChange",ir)}}},[Gt,St]),(0,b.useEffect)(()=>{if(Gt&&Qt){let ir=function(){Qt(Gt.getValue())};return Gt.on("blur",ir),()=>{Gt.off("blur",ir)}}},[Gt,Qt]);function Ro(ir,Gn){var Cr=ir.getDoc(),Zr=Cr.getCursor(),ji=Cr.getLine(Zr.line),vo=ji.charAt(Zr.ch-1),ao=ji.lastIndexOf("@\u2581@",Zr.ch),Bo=ji.lastIndexOf("@\u2581\u2581@",Zr.ch),wo=ao>Bo?ao:Bo,Co=ao>Bo?3:4;if(xn.indexOf(vo)===-1)return null;if(console.log("change1:",Gn,ir,ji,Zr,wo,ao,Bo,vo),wo>=0&&Zr.ch-wo<5){var ko=wo+Co;return Cr.replaceRange("",{line:Zr.line,ch:wo},{line:Zr.line,ch:ko}),{line:Zr.line,ch:ko}}return null}(0,b.useEffect)(()=>{if(Gt){let ir=function(Gn,Cr){const Zr=Gn.getValue();Rn(Zr),Vr(new Date().getTime()),Gn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Sn&&(nr?Sn(Zr,lr(Zr)):Sn(Zr))};return Gt.on("change",ir),()=>{Gt.off("change",ir)}}},[Gt,Sn]),(0,b.useEffect)(()=>{if(Gt)if(Jt==null)Gt.setValue(""),Rn("");else{const ir=window.scrollY||window.pageYOffset;Jt!==Gt.getValue()&&(Gt.setValue(Jt),Rn(Jt),Gt.setCursor(ht?1:Gt.lineCount(),0),window.scrollTo(0,ir))}},[Gt,Jt]);const fo=(0,b.useCallback)(ir=>{const Gn=Gt.getCursor(),Cr=Gt.getSelection();let Zr=Cr.split(`
|
|
|
`);switch(ir){case"bold":return Gt.replaceSelection("**"+Cr+"**"),Cr===""&&Gt.setCursor(Gn.line,Gn.ch+2),Gt.focus();case"italic":return Gt.replaceSelection("*"+Cr+"*"),Cr===""&&Gt.setCursor(Gn.line,Gn.ch+1),Gt.focus();case"code":return Gt.replaceSelection("`"+Cr+"`"),Cr===""&&Gt.setCursor(Gn.line,Gn.ch+1),Gt.focus();case"inline-latex":return(0,mn.Ye)($i)?void 0:(gr("inline-latex"),Gt.focus());case"latex":return Gt.replaceSelection("```latex\n"+Cr+"\n```"),Gt.setCursor(Gn.line+1,Cr.length+1),Gt.focus();case"line-break":return Gt.replaceSelection(`<br/>
|
|
|
`),Gt.focus();case"list-ul":return Cr===""?Gt.replaceSelection("- "+Cr):Gt.replaceSelection(Zr.map(ji=>ji===""?"":`- ${ji}`).join(`
|
|
|
`)),Gt.focus();case"list-ol":return Cr===""?Gt.replaceSelection("1. "+Cr):Gt.replaceSelection(Zr.map((ji,vo)=>ji===""?"":`${vo+1}. ${ji}`).join(`
|
|
|
`)),Gt.focus();case"add-null-ch":jt==null||jt();return;case"add-signal":return Cr===""&&Gt.setCursor(Gn.line,Gn.ch),Gt.replaceSelection(Ln),Gt.focus();case"add-multiple":return Cr===""&&Gt.setCursor(Gn.line,Gn.ch),Gt.replaceSelection(xn),Gt.focus();case"inster-template-1":return Cr===""&&Gt.setCursor(Gn.line,Gn.ch),Gt.replaceSelection(Xn),Gt.focus();case"eraser":return Gt.setValue(""),Gt.focus();case"trigger-watch":return Mr(!Vn),Gt.focus();case"trigger-full-screen":return Xr(!zr),Gt.focus();case Vt:gr(Vt);return;case Kt:gr(Kt);return;case kt:gr(kt);return;case $t:gr($t);return;case"maths-latex":if((0,mn.Ye)($i))return;gr("maths-latex");return;case un:Mi.current="",sessionStorage.removeItem("file_id"),gr(un);return;case qt:gr(qt);return;default:throw new Error}},[Gt,Vn,zr]),bo=(0,b.useCallback)((ir,Gn)=>{var Cr,Zr,ji,vo,ao,Bo;ir!=null&&ir.disabledClose||gr("");const{src:wo,alt:Co,id:ko}=ir||{};switch(Pr){case Vt:const{title:xa,link:Ia}=ir;return Gt.replaceSelection(`[${xa}](${Ia})`),Gt.focus();case Kt:const{language:Da,content:Yi}=ir;return Gt.replaceSelection(["```"+Da,Yi,"```"].join(`
|
|
|
`)),Gt.focus();case"maths-latex":for(var Oo=atob(ir),Mo=new Uint8Array(Oo.length),ha=0;ha<Oo.length;ha++)Mo[ha]=Oo.charCodeAt(ha);var Aa=new Blob([Mo],{type:"image/png"});(0,Ee.I)(Aa,ho=>{ho.id?Gt.replaceSelection(``):(ho==null?void 0:ho.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,mn.Ye)($i))return;Gt.replaceSelection("`$$"+ir+"$$`");break;case Rt:if(!ko)return;Gt.getValue().indexOf(wo)===-1?Gt.replaceSelection(`<center><img id="${ko}" width="80%" src="${wo}" class="draw-flowchart" alt="${Co||""}" /></center>`):document.getElementById(ko).src=re.Z.API_SERVER+wo+"?t="+Date.now();break;case kt:case $t:const Ti=Gn,ea=(ji=(Zr=(Cr=Ti==null?void 0:Ti.name)==null?void 0:Cr.split("."))==null?void 0:Zr.pop)==null?void 0:ji.call(Zr);return((vo=Ti==null?void 0:Ti.type)==null?void 0:vo.indexOf("image"))>-1||!(Ti!=null&&Ti.type)?Ti!=null&&Ti.align||Ti!=null&&Ti.width?Gt.replaceSelection(`<p style="text-align:${Ti.align||"initial"}"><img width="${Ti.width?Ti.width+"%":"initial"}" src="${wo}" alt="${Co||""}" /></p>`):Gt.replaceSelection(`<img width="100%" src="${wo}" alt="${Co||""}" />`):((ao=Ti==null?void 0:Ti.type)==null?void 0:ao.indexOf("video"))>-1?Gt.replaceSelection(`<video width="100%" controls src="${wo}"></video>`):((Bo=Ti==null?void 0:Ti.type)==null?void 0:Bo.indexOf("pdf"))>-1?Gt.replaceSelection(`<a href="${wo}?type=${Ti.type}&disposition=inline" target="_blank">${Ti.name}</a>`):Jn.includes(ea)?Gt.replaceSelection(`<a href="${wo}?type=office&disposition=inline" target="_blank">${Ti.name}</a>`):Gt.replaceSelection(`[${Ti.name}](${wo})`),Gt.focus();case qt:const{row:ta,col:Gi,align:Wo}=ir;let Jo=`
|
|
|
`;for(let ho=0;ho<ta;ho++){let Zo=[],Fo=[];for(let ka=0;ka<Gi;ka++)ho===1&&Fo.push(Tt[Wo]),Zo.push(" ");ho===1&&(Jo+=`| ${Fo.join(" | ")} |
|
|
|
`),Jo+=`| ${Zo.join(Gi===1?"":" | ")} |
|
|
|
`}return Gt.replaceSelection(Jo+`
|
|
|
`),Gt.focus();default:throw new Error}},[Gt,Pr]),co=(0,b.useMemo)(()=>{switch(Pr){case Vt:return b.createElement(Je,{callback:bo,onCancel:yo});case Kt:return b.createElement(lt.Z,{callback:bo,onCancel:yo});case kt:return b.createElement(Ee.Z,{callback:bo,onCancel:yo});case un:return b.createElement(x,{editImgId:Mi.current,callback:bo,onCancel:yo});case qt:return b.createElement(Ye,{callback:bo,onCancel:yo});case"maths-latex":return b.createElement(ot,{showSaveButton:!0,callback:bo});case"inline-latex":return b.createElement(st.Z,{showSaveButton:!0,callback:bo});default:return null}},[Pr]);function yo(){gr("")}(0,b.useEffect)(()=>{if(Ji.current){let ir=function(ao){ji=!0,vo=ao.pageY},Gn=function(){ji=!1},Cr=function(ao){if(ji){let Bo=ao.pageY-vo;Bo<0&&(Bo=0),Bo>300&&(Bo=300);let wo=Mn+Bo+"px";ri(wo)}},Zr=Ji.current,ji=!1,vo=0;return Zr.addEventListener("mousedown",ir),document.addEventListener("mousemove",Cr),document.addEventListener("mouseup",Gn),()=>{Zr.removeEventListener("mousedown",ir),document.removeEventListener("mousemove",Cr),document.removeEventListener("mouseup",Gn)}}},[Gt,Ji]),(0,b.useEffect)(()=>{ri(Mn)},[Mn]);const Fi=Bn(yn),Ai=Bn(ni),Yr={width:Fi,height:Ai},jn=(0,b.useMemo)(()=>{if(Ar){let ir=new Date(Ar),Gn=ir.getHours(),Cr=ir.getMinutes(),Zr=ir.getSeconds();return Gn=Gn<10?"0"+Gn:Gn,Cr=Cr<10?"0"+Cr:Cr,Zr=Zr<10?"0"+Zr:Zr,`${Gn}:${Cr}:${Zr}`}return 0},[Ar]),lr=ir=>{const Gn=[];if(nr){let Cr=-1;ir=ir.replace(/(@▁▁@|@▁@)/g,function(Zr,ji,vo){Gn.push({multiLine:Zr!==Ln})})}return Gn};function cr(){window.sessionStorage.removeItem(Rr),Dr(!1),Vr(0)}function Qn(){Dr(!1),Vr(0),Gt.setValue(window.sessionStorage.getItem(Rr))}(0,b.useEffect)(()=>{ln[Pr]&&Pr!==$t&&Pr!==un&&setTimeout(()=>{const ir=document.getElementsByClassName("markdown-popup-form")[0],Gn=window.innerWidth/2-ir.offsetWidth/2,Cr=window.innerHeight/2-ir.offsetHeight/2;$r(Gn),Hi(Cr)},0)},[Pr]);const Wr=ir=>{ir.preventDefault();const Gn=ir.clientX-Jr,Cr=ir.clientY-Ri;document.body.onmousemove=Zr=>{let ji=Zr.clientX-Gn,vo=Zr.clientY-Cr;const ao=document.getElementsByClassName("markdown-popup-form")[0],Bo=window.innerWidth-ao.offsetWidth,wo=window.innerHeight-ao.offsetHeight;ji=Math.max(0,Math.min(ji,Bo)),vo=Math.max(0,Math.min(vo,wo)),qr(Zr.clientX,Zr.clientY,Gn,Cr)&&($r(ji),Hi(vo))},document.body.onmouseup=function(){document.body.onmousemove=null}},qr=(ir,Gn,Cr,Zr)=>{const ji=document.body.clientHeight,vo=document.body.clientWidth;return ir<20&&Cr>ir||ir>vo-20&&Cr<ir||Gn<20&&Zr>Gn||Gn>ji-20&&Zr<Gn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:zi},b.createElement("div",{className:`markdown-editor-container ${At} ${Vn?"on-preview":""} ${Yn?"mini":""} ${zr?"full-screen":""}`,style:Yr},b.createElement(nt,{insertTemp:ar,watch:Vn,fullScreen:zr,showNullButton:kn,showNullProgramButton:nr,onActionCallback:fo,hidetoolBar:rr,extraUse:Ut}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:Zi,placeholder:tn})),Vn?b.createElement("div",{ref:wi,className:"preview-container"},tr==="stex"&&b.createElement(Te,{value:zn}),tr!=="stex"&&b.createElement(Ce.Z,{edit:!0,disabledFill:Xt,showProgramFill:nr,value:zn,openEditor:ir=>{var Gn;Mi.current=ir,(Gn=fi.current)==null||Gn.setHeight("100vh"),setTimeout(()=>{gr("add-flowchart")},150)}})):null))),Ir?b.createElement("a",{ref:Ji,className:"editor-resize"}):null,Pr===$t&&b.createElement(wt,{callback:bo,onCancel:yo}),Pr===un&&b.createElement(x,{ref:fi,editImgId:Mi.current,callback:bo,onCancel:yo}),b.createElement(ke.Z,null,ln[Pr]&&Pr!==$t&&Pr!==un?b.createElement(je.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Jr,top:Ri},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Wr},ln[Pr]),open:!0,onCancel:yo,footer:null,destroyOnClose:!0,width:Pr===un?"1200px":null,height:Pr===un?"80vh":null,className:"markdown-popup-form"},co):null))}},79203:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Ue},I:function(){return nt}});var b=E(28284),We=E(6767),de=E(37568),Ke=E(44104),De=E(4875),ve=E(47889),ye=E(7939),fe=E(8240),xe=E(59301),ue=E(59301),Fe=Object.defineProperty,Ce=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Ae=(ke,Ve,et)=>Ve in ke?Fe(ke,Ve,{enumerable:!0,configurable:!0,writable:!0,value:et}):ke[Ve]=et,Pe=(ke,Ve)=>{for(var et in Ve||(Ve={}))Me.call(Ve,et)&&Ae(ke,et,Ve[et]);if(we)for(var et of we(Ve))ge.call(Ve,et)&&Ae(ke,et,Ve[et]);return ke},Re=(ke,Ve)=>Ce(ke,Te(Ve));const{useForm:tt}=b.default,ce={width:280,marginRight:10},Oe={labelCol:{span:5},wrapperCol:{span:19}};var Ue=({callback:ke,onCancel:Ve})=>{const[et]=tt();let Se=(0,xe.useRef)();function qe(gt){Se.current.width=et.getFieldValue("width"),Se.current.align=et.getFieldValue("align"),ke(gt,Se.current)}function pe(gt,$e){if(gt.status===-1){We.ZP.error(gt.message);return}et.setFieldsValue({src:`/api/attachments/${gt.id}`,type:$e.type})}function be(gt){let $e=gt.target.files[0];Se.current=$e,nt($e,pe)}return ue.createElement(b.default,Re(Pe({form:et},Oe),{className:"upload-image-panel",onFinish:qe,style:{width:470,overflow:"hidden"}}),ue.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ue.createElement("div",{className:"flex-container"},ue.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ue.createElement(de.default,{style:ce})),ue.createElement(ze,{onFileChange:be}))),ue.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ue.createElement(de.default,{style:{width:264}})),ue.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ue.createElement(Ke.Z,null,ue.createElement(b.default.Item,{name:"width",style:{margin:0}},ue.createElement(De.Z,{style:{width:264}})),ue.createElement("span",{className:"ml8"},"%"))),ue.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ue.createElement(ve.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ue.createElement("aside",null,ue.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ue.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(ye.ZP,{type:"default",onClick:Ve},"\u53D6\u6D88"))))};function ze({onFileChange:ke}){return ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ue.createElement("input",{type:"file",onChange:ke}))}function nt(ke,Ve){if(!ke)throw new String("\u6CA1\u6709\u6587\u4EF6");let et=new FormData;et.append("editormd-image-file",ke),et.append("file_param_name","editormd-image-file"),et.append("byxhr","true");var Se=new window.XMLHttpRequest;Se.withCredentials=!0,Se.addEventListener("load",function(qe){Ve(JSON.parse(qe.target.responseText),ke)},!1),Se.addEventListener("error",function(qe){console.error(qe)},!1),Se.open("POST",`${fe.KI}/api/attachments.json`),Se.send(et)}},88969:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return de}});var b=E(59301),We=E(4676);class de extends b.Component{constructor(De){super(De);const ve=window.document;this.node=ve.createElement("div"),ve.body.appendChild(this.node)}render(){const{children:De}=this.props;return(0,We.createPortal)(De,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},94871:function(wn,zt,E){"use strict";E.d(zt,{SV:function(){return wt},ZP:function(){return ct}});var b=E(59301),We=E(76374);const de={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ke={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},De={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std",content:["using namespace std"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},ve={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},ye={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var fe=E(53184),xe=E.n(fe),ue=(ft,It,Dt)=>new Promise((oe,ae)=>{var te=ne=>{try{re(Dt.next(ne))}catch(le){ae(le)}},x=ne=>{try{re(Dt.throw(ne))}catch(le){ae(le)}},re=ne=>ne.done?oe(ne.value):Promise.resolve(ne.value).then(te,x);re((Dt=Dt.apply(ft,It)).next())});const Fe={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Ce=(ft,It,Dt,oe)=>{const ae=It.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Dt.lineNumber,endColumn:Dt.column});return Array.from(new Set(ae.match(/\b\w{2,}\b/g)||[])).map(x=>({label:x,kind:ft.languages.CompletionItemKind.Text,insertText:x,range:oe}))},Te=(ft,It,Dt,oe)=>{ft.languages.registerCompletionItemProvider(It,{provideCompletionItems(ae,te){const x=ae.getWordUntilPosition(te),re={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:x.startColumn,endColumn:x.endColumn},ne=ae.getLineContent(te.lineNumber).substring(x.startColumn-2,x.endColumn);return{suggestions:[...Ce(ft,ae,te,re),...Dt.map(Ie=>({label:Ie,kind:ft.languages.CompletionItemKind.Keyword,documentation:Ie,insertText:Ie,insertTextRules:ft.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:re})),...oe.map(Ie=>({label:Ie.label,kind:ft.languages.CompletionItemKind.Snippet,documentation:Ie.content,insertText:ne.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ft.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:re}))]}}})};var we=ft=>{Fe.languages.forEach(It=>{ft.languages.registerDocumentFormattingEditProvider(It,{provideDocumentFormattingEdits(Dt){return ue(this,null,function*(){const oe=xe()(Dt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Dt.getFullModelRange(),text:oe}]})}})}),Te(ft,"java",Ke.keywords,Ke.quickKey),Te(ft,"cpp",De.keywords,De.quickKey),Te(ft,"c",de.keywords,[]),Te(ft,"python",ve.keywords,ve.quickKey),Te(ft,"scala",ye.keywords,ye.quickKey)};const Me="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ge=Object.defineProperty,Ae=(ft,It,Dt)=>It in ft?ge(ft,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):ft[It]=Dt,Pe=(ft,It,Dt)=>Ae(ft,typeof It!="symbol"?It+"":It,Dt);const Re=class Hu{constructor(It,Dt,oe){this.placeholder=It,this.editor=Dt,this.monaco=oe,Dt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Hu.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Pe(Re,"ID","editor.widget.placeholderHint");var ce=Re,Oe=E(96236),Ue=E(6767),ze=E(25399),nt=E(89392),ke=E(99936),Ve=E(56102),et=Object.defineProperty,Se=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,$e=(ft,It,Dt)=>It in ft?et(ft,It,{enumerable:!0,configurable:!0,writable:!0,value:Dt}):ft[It]=Dt,at=(ft,It)=>{for(var Dt in It||(It={}))be.call(It,Dt)&&$e(ft,Dt,It[Dt]);if(pe)for(var Dt of pe(It))gt.call(It,Dt)&&$e(ft,Dt,It[Dt]);return ft},bt=(ft,It)=>Se(ft,qe(It)),Ze=(ft,It)=>{var Dt={};for(var oe in ft)be.call(ft,oe)&&It.indexOf(oe)<0&&(Dt[oe]=ft[oe]);if(ft!=null&&pe)for(var oe of pe(ft))It.indexOf(oe)<0&>.call(ft,oe)&&(Dt[oe]=ft[oe]);return Dt},se=(ft,It,Dt)=>new Promise((oe,ae)=>{var te=ne=>{try{re(Dt.next(ne))}catch(le){ae(le)}},x=ne=>{try{re(Dt.throw(ne))}catch(le){ae(le)}},re=ne=>ne.done?oe(ne.value):Promise.resolve(ne.value).then(te,x);re((Dt=Dt.apply(ft,It)).next())});function Be(ft){return/^\d+$/.test(ft)?`${ft}px`:ft}function Je(){}let lt=!1;const Ee={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function je(ft=[]){let It=ft;if(Array.isArray(ft)){for(let Dt=0;Dt<ft.length;Dt++){let oe=Ee[ft[Dt]];if(oe)return oe}return It[0]}return Ee[It]||It}let rt=null;const xt=()=>se(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ft){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ft)}});var ct=ft=>{var It=ft,{width:Dt="100%",height:oe="100%",value:ae,language:te="javascript",style:x={},options:re={},overrideServices:ne={},theme:le="vs-dark",onEditBlur:Ie,isCopy:Le=!1,onSave:Ye,autoHeight:Ge=!1,forbidCopy:it=!1,forbidCopyTips:dt,onChange:yt=Je,editorDidMount:ot=Je,onFocus:st=Je,onBreakPoint:Vt=Je,breakPointValue:kt=[],filename:un="educoder.txt",errorLine:$t,errorContent:Rt="",highlightLine:Kt,openBreakPoint:qt=!1,placeholder:Et="",showMiniMap:Tt=!0}=It,on=Ze(It,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const mn=(0,b.useRef)(),vt=(0,b.useRef)({}),Mt=(0,b.useRef)(),Yt=(0,b.useRef)(),sn=(0,b.useRef)([]),xn=(0,b.useRef)(!1),Ln=(0,b.useRef)(),Xn=(0,b.useRef)(),Jn=(0,b.useRef)(!1),[Bn,Un]=(0,b.useState)(!1);function Wt(){let En;return mn.current&&(En=new We.Z(kn=>{for(let nr of kn)(nr.target.offsetHeight>0||nr.target.offsetWidth>0)&&vt.current.instance.layout()}),En.observe(mn.current)),En}function Ot(){Ue.ZP.warning({content:decodeURIComponent(dt||Me),key:"monaco-editor-tip"})}const ln=()=>{let En=vt.current.instance;if(ae!=null&&En&&Bn){const kn=En.getModel();kn&&ae!==kn.getValue()&&(lt=!0,kn.setValue(ae),En.layout(),lt=!1)}};(0,b.useEffect)(()=>{const En=ke.Z.subscribe("formatDocument",kn=>{var nr;let rr=vt.current.instance;(nr=rr==null?void 0:rr.getAction)==null||nr.call(rr,"editor.action.formatDocument").run()});return window.updateMonacoValue=kn=>{yt(kn)},En},[]),(0,b.useEffect)(()=>{var En;let kn=vt.current.instance;Yt.current&&clearTimeout(Yt.current),Yt.current=setTimeout(()=>{ln()},500),ae&&(ae!=null&&ae.length)&&((En=kn==null?void 0:kn.updateOptions)==null||En.call(kn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ae.split(/\r\n|\r|\n/g).length))+3,5)}))},[ae,Bn,vt.current]),(0,b.useEffect)(()=>{if($t&&vt.current&&vt.current.instance){let kn=vt.current.instance;kn.changeViewZones(function(nr){var rr=document.createElement("div");rr.style.padding="10px 20px",rr.style.width="calc(100% - 20px)",rr.className="my-error-line-wrp",rr.innerHTML=Rt,nr.addZone({afterLineNumber:$t||11,heightInLines:3,domNode:rr})});var En={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};kn.addOverlayWidget(En),kn.revealPositionInCenter({lineNumber:20,column:1})}},[$t,vt.current,Bn]);const en=(En="",kn)=>{if(!En||En.trim()==="")return!0;const rr=vt.current.instance.getModel().getLineTokens(kn);let Lt=!1;for(let Qt=0;Qt<2;Qt++)rr.getStandardTokenType(Qt)===1&&(Lt=!0);return Lt};(0,b.useEffect)(()=>{var En;const kn=(En=vt.current)==null?void 0:En.instance;if(kn&&Bn&&it){const nr=kn.onDidBlurEditorWidget(()=>{Jn.current=!1}),rr=kn.onDidFocusEditorText(()=>{Jn.current=!0});return()=>{nr.dispose(),rr.dispose()}}},[vt.current,Bn,it]),(0,b.useEffect)(()=>{var En;if((En=vt.current)!=null&&En.instance&&Bn&&qt){let kn=vt.current.instance,nr=kn.getModel();if(!nr)return;(()=>{var Ut;let jt=[],Gt=[];const an=nr.getAllDecorations();for(let Rn of an)Rn.options.className==="highlighted-line"&&(jt.push((Ut=Rn==null?void 0:Rn.range)==null?void 0:Ut.startLineNumber),Gt.push(Rn==null?void 0:Rn.id));if(Kt===jt[0])return;nr.deltaDecorations(Gt,[]);const zn=nr.getLineCount();Kt&&Kt<=zn&&(kn.deltaDecorations([],[{range:new rt.Range(Kt,1,Kt,nr.getLineMaxColumn(Kt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),kn.revealLineInCenter(Kt))})();const Lt=(Ut=!1)=>{var jt;let Gt=[],an=[];const zn=nr.getAllDecorations();for(let Rn of zn)Rn.options.linesDecorationsClassName==="breakpoints-select"&&(Gt.push((jt=Rn==null?void 0:Rn.range)==null?void 0:jt.startLineNumber),an.push(Rn==null?void 0:Rn.id));if(Ut)return{lines:Gt,ids:an};Vt(Gt)},Qt=Ut=>se(void 0,null,function*(){let jt={range:new rt.Range(Ut,1,Ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield nr.deltaDecorations([],[jt]),Lt()}),St=Ut=>se(void 0,null,function*(){let jt=[];const Gt=kn.getLineDecorations(Ut);for(let an of Gt)an.options.linesDecorationsClassName==="breakpoints-select"&&jt.push(an.id);yield nr.deltaDecorations(jt,[]),Lt()}),Zt=Ut=>{let jt=kn.getLineDecorations(Ut);for(let Gt of jt)if(Gt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,nt.isEqual)(kt,Lt(!0).lines)){nr.deltaDecorations(Lt(!0).ids,[]);const Ut=kt.map(jt=>({range:new rt.Range(jt,1,jt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));nr.deltaDecorations([],Ut)}const At=kn.onDidChangeModelContent(Ut=>{let jt=kn.getPosition();if(jt){let Gt=jt.lineNumber;clearTimeout(Xn.current),Xn.current=setTimeout(()=>{en(nr.getLineContent(Gt),Gt)?St(Gt):Zt(Gt)?(St(Gt),Qt(Gt)):Lt()},100)}}),Ht=kn.onMouseDown(Ut=>{var jt,Gt,an;if(Ut.target.detail&&((an=(Gt=(jt=Ut.target)==null?void 0:jt.element)==null?void 0:Gt.className)!=null&&an.includes("line-numbers"))){let zn=Ut.target.position.lineNumber;if(en(nr.getLineContent(zn),zn))return;Zt(zn)?St(zn):Qt(zn)}}),ht=Ut=>{let jt={range:new rt.Range(Ut,1,Ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};sn.current=kn.deltaDecorations(sn.current,[jt])},Xt=()=>{sn.current=kn.deltaDecorations(sn.current,[])},tn=kn.onMouseMove(Ut=>{var jt,Gt,an;if(Xt(),Ut.target.detail&&((an=(Gt=(jt=Ut.target)==null?void 0:jt.element)==null?void 0:Gt.className)!=null&&an.includes("line-numbers"))){let zn=Ut.target.position.lineNumber;if(en(nr.getLineContent(zn),zn))return;ht(zn)}}),dn=kn.onMouseLeave(()=>{Xt()});return()=>{At.dispose(),Ht.dispose(),tn.dispose(),dn.dispose()}}},[vt.current,Bn,kt,Kt,qt,te]),(0,b.useEffect)(()=>{var En;(En=vt.current)!=null&&En.instance&&qt&&vt.current.instance.setPosition({lineNumber:0,column:0})},[Kt]);function Jt(){let En=vt.current.instance;if(En){const kn=En.getSelection(),nr=vt.current.pastePos||{},rr=new rt.Range(nr.startLineNumber||kn.endLineNumber,nr.startColumn||kn.endColumn,nr.endLineNumber||kn.endLineNumber,nr.endColumn||kn.endColumn);setTimeout(()=>{En.executeEdits("",[{range:rr,text:""}])},300)}}function Sn(En){(window.navigator.platform.match("Mac")?En.metaKey:En.ctrlKey)&&En.keyCode==83&&(En.preventDefault(),Ye())}const yn=()=>{if(Ge&&vt.current.instance){const En=vt.current.instance.getContentHeight();Rr(En<oe?oe:En)}else Rr(oe)};function Mn(En){var kn=document.createEvent("MouseEvents");kn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),En.dispatchEvent(kn)}const Yn=En=>{if(!Jn.current)return;const{keyCode:kn,ctrlKey:nr,metaKey:rr,target:Lt,type:Qt}=En;return(Qt==="paste"||(kn===67||kn===86)&&(rr||nr))&&Lt.nodeName==="TEXTAREA"&&(Ot(),En.preventDefault()),!1};function Wn(En,kn){var nr=window.URL||window.webkitURL||window,rr=new Blob([kn]),Lt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Lt.href=nr.createObjectURL(rr),Lt.download=En,Mn(Lt)}(0,b.useEffect)(()=>{yn()},[yn]),(0,b.useEffect)(()=>{mn.current&&!Bn&&Promise.all([E.e(8909),E.e(1859)]).then(E.bind(E,71448)).then(En=>{try{rt=En,vt.current.instance=rt.editor.create(mn.current,{value:ae,language:je(te),theme:le,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Tt||!1}},ne);const kn=vt.current.instance;let Lt=[...Oe.BH._menuItems].find(At=>At[0]._debugName=="EditorContext")[1],Qt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],St=(At,Ht)=>{var ht,Xt;let tn=At._first;do Ht.includes((Xt=(ht=tn.element)==null?void 0:ht.command)==null?void 0:Xt.id)&&At._remove(tn);while(tn=tn.next)};if(ot(kn,rt),setTimeout(()=>{yn(),vt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Wn(un||"educoder.txt",kn.getValue())}})},500),vt.current.subscription=kn.onDidChangeModelContent(At=>{xn.current?clearTimeout(Ln.current):(yn(),yt(kn.getValue(),At)),Ln.current=setTimeout(()=>{xn.current=!1},500)}),window.Monaco||we(rt,je(te)),it&&(St(Lt,Qt),mn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Yn),window.removeEventListener("paste",Yn),window.addEventListener("keydown",Yn),window.addEventListener("paste",Yn)),window.Monaco=rt,Ie&&kn.onDidBlurEditorWidget(()=>{Ie(kn.getValue())}),st&&kn.onDidFocusEditorText(()=>{it&&xt(),st(kn.getValue())}),it){xt();try{kn.onDidPaste(At=>{const Ht=kn.getSelection(),ht=vt.current.pastePos||{},Xt=new rt.Range(ht.startLineNumber||Ht.endLineNumber,ht.startColumn||Ht.endColumn,ht.endLineNumber||Ht.endLineNumber,ht.endColumn||Ht.endColumn);kn.executeEdits("",[{range:At.range,text:""}])})}catch(At){}}let Zt=Wt();return Et&&typeof Et=="string"&&new ce(Et,kn,rt),Un(!0),()=>{const At=vt.current.instance;At.dispose();const Ht=At.getModel();Ht&&Ht.dispose(),vt.current.subscription&&vt.current.subscription.dispose(),Zt.unobserve(mn.current)}}catch(kn){}})},[]),(0,b.useEffect)(()=>{if(vt.current.instance&&Bn)return document.addEventListener("keydown",Sn,!1),()=>{document.removeEventListener("keydown",Sn)}},[Ye,Bn]),(0,b.useEffect)(()=>{let En=vt.current.instance;if(En&&Bn){let kn=je(te);rt.editor.setModelLanguage(En.getModel(),kn)}},[te,Bn]),(0,b.useEffect)(()=>{vt.current.instance&&Bn&&rt.editor.setTheme(le)},[le,Bn]),(0,b.useEffect)(()=>{let En=vt.current.instance;Mt.current=re,En&&Bn&&(En.updateOptions(at({},re)),setTimeout(()=>{En.getModel().updateOptions(at({},re))},200))},[JSON.stringify(re),Bn]),(0,b.useEffect)(()=>{let En=vt.current.instance;En&&Bn&&En.layout()},[Dt,oe,Bn]);const[In,ar]=(0,b.useState)(Be(Dt)),[tr,Rr]=(0,b.useState)(Be(oe)),Ir=bt(at({},x),{width:In,height:tr,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:mn,style:Ir,onFocus:()=>{it&&xt()}},Le&&b.createElement(Ve.CopyToClipboard,{text:ae,onCopy:()=>Ue.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(ze.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function wt({width:ft="100%",height:It="100%",original:Dt,modified:oe,language:ae,options:te={}}){const x=(0,b.useRef)(),[re,ne]=(0,b.useState)(null);function le(Ge){let it;return x.current&&(it=new We.Z(dt=>{for(let yt of dt)(yt.target.offsetHeight>0||yt.target.offsetWidth>0)&&Ge.layout()}),it.observe(x.current)),it}(0,b.useEffect)(()=>(x.current&&Promise.all([E.e(8909),E.e(9404)]).then(E.bind(E,2550)).then(Ge=>{rt=Ge;const it=rt.editor.createDiffEditor(x.current,bt(at({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},te),{wordWrap:!0}));ne(it);let dt=le(it);return()=>{it.dispose();const yt=it.getModel();yt&&yt.dispose(),dt.unobserve(x.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{re&&re.setModel({original:rt.editor.createModel(Dt,ae),modified:rt.editor.createModel(oe,ae)})},[Dt,oe,ae,re]);const Ie=Be(ft),Le=Be(It),Ye={width:Ie,height:Le};return b.createElement("div",{className:"my-diff-editor",ref:x,style:Ye})}},64194:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Fe}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},We=E(29787),de=E(25399),Ke=E(89787),De=E(92310),ve=E.n(De),ye=E(68911),fe=E(71347),xe=E(59301),Fe=({className:Ce,dataSource:Te=[],col:we=4,right:Me,bottom:ge=23,precision:Ae=0,wrapWidth:Pe=1200,trackEventItems:Re,loading:tt,onRemove:ce=()=>{},isCurrent:Oe=!0,showProgress:Ue=!1,showAlias:ze=!1,category:nt,hiddenClick:ke})=>{const Ve=Math.floor((Pe-(we-1)*Me)/we),et=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return xe.createElement(We.Z,{spinning:tt},xe.createElement("div",{className:ve()(b.list,Ce)},!!(Te!=null&&Te.length)&&(Te==null?void 0:Te.map((Se,qe)=>{var pe,be,gt,$e,at,bt,Ze,se,Be,Je,lt,Ee,je;const{name:rt,id:xt,identifier:ct,featured:wt,school_name:ft,image_url:It,excellent:Dt,is_plan:oe}=Se;return xe.createElement("div",{key:xt,className:Oe&&Ue?b.wrapisCurrent:b.wrap,style:{width:Ve,marginRight:(1+qe)%we===0?0:Me+Ae,marginBottom:ge}},xe.createElement("a",{className:b.li,onClick:ae=>{ae.preventDefault(),ae.stopPropagation(),Re&&(0,ye.L9)([Re]),(0,ye.xg)(`/paths/${ct}`)}},xe.createElement("div",{className:b.img},xe.createElement("img",{className:b.cover,src:`${It}`}),(pe=Se==null?void 0:Se.subject_tags)==null?void 0:pe.map((ae,te)=>{var x,re;if(te===0){const le=(x=et.find(Ie=>Ie.name==ae))==null?void 0:x.swclass;return xe.createElement("span",{className:`sprite ${le} ${b.sign}`,style:{left:"-4px"}})}const ne=(re=et.find(le=>le.name==ae))==null?void 0:re.ptclass;return xe.createElement("span",{className:`sprite ${ne} ${b.sign}`,style:{left:`${48+52*(te-1)+2*te}px`}})}),xe.createElement("div",{className:b.tagsDom},xe.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(Se==null?void 0:Se.excellent)&&xe.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((be=Se==null?void 0:Se.custom_tags)==null?void 0:be.length)>0&&xe.createElement(de.Z,{title:(at=($e=Se==null?void 0:Se.custom_tags)==null?void 0:$e[((gt=Se==null?void 0:Se.custom_tags)==null?void 0:gt.length)-1])==null?void 0:at.tag_name},xe.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},xe.createElement("span",{className:"multi-llipsis1e text-10px"},(se=(Ze=Se==null?void 0:Se.custom_tags)==null?void 0:Ze[((bt=Se==null?void 0:Se.custom_tags)==null?void 0:bt.length)-1])==null?void 0:se.tag_name))))),nt=="hide"&&(Se==null?void 0:Se.studying)&&Oe&&xe.createElement("div",{className:`${b.movebq} user-path-items`,onClick:ae=>{ae.stopPropagation(),ce(Se)}},xe.createElement("i",{className:"iconfont icon-yichu1 font12"}),xe.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(nt)&&Oe&&xe.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:ae=>{ae.stopPropagation(),ke(Se)}},xe.createElement("i",{className:`iconfont ${nt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),xe.createElement("span",null,nt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),xe.createElement("div",{className:b.name},xe.createElement(de.Z,{title:ze&&(Se!=null&&Se.excellent_alias_name)?xe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${rt}`,xe.createElement("br",null),xe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Se==null?void 0:Se.excellent_alias_name}`)):rt},xe.createElement("span",{className:b.e},ze&&(Se==null?void 0:Se.excellent_alias_name)||rt))),Oe&&Ue&&((Be=Se==null?void 0:Se.progress)==null?void 0:Be.all_score)!=0&&xe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},xe.createElement(Ke.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Je=Se==null?void 0:Se.progress)==null?void 0:Je.my_score)/((lt=Se==null?void 0:Se.progress)==null?void 0:lt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ee=Se==null?void 0:Se.progress)==null?void 0:Ee.my_score,"/",(je=Se==null?void 0:Se.progress)==null?void 0:je.all_score),(!Oe||!Ue)&&xe.createElement(de.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${ft}`},xe.createElement("div",{className:b.unit},xe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),ft)),(!Oe||!Ue)&&xe.createElement("div",{className:b.tags},xe.createElement("div",null,xe.createElement(de.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),xe.createElement("span",null,Se.stages_count))),xe.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),xe.createElement("span",null,Se.members_count)))))))})),!Te.length&&xe.createElement(fe.Z,null)))}},29596:function(wn,zt,E){"use strict";E.d(zt,{jL:function(){return Ke},w9:function(){return se},QD:function(){return kt},cQ:function(){return qe.Z},op:function(){return it},O5:function(){return Wt},_b:function(){return Et},t7:function(){return Ae},Gi:function(){return rt},YG:function(){return Ee},qp:function(){return ue},vr:function(){return Rt},qE:function(){return ot},Je:function(){return tt},wb:function(){return Se},cq:function(){return Dt},tp:function(){return Te}});var b=E(59301),We={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"},Ke=({dataSource:Ot=[],img:ln,imgWidth:en=346,title:Jt,sunTitle:Sn,bannerExtraContent:yn})=>b.createElement("div",{className:We.banner},b.createElement("div",{className:We.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Jt),b.createElement("span",null,Sn)),Ot.length>0&&b.createElement("div",{className:We.btns},Ot.map((Mn,Yn)=>b.createElement("div",{key:Yn,onClick:Mn.click},Mn.name,Mn.sign?b.createElement("span",{className:"sprite sprite-33"}):null))),yn),ln&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:ln,width:en}))),De={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=E(92310),ye=E.n(ve),fe=E(89392),ue=({dataSource:Ot=[],value:ln,onChange:en,onTitleChange:Jt,className:Sn,title:yn,titleWidth:Mn=41,style:Yn={},fontColor:Wn="#6A7283",showCount:In})=>{const[ar,tr]=(0,b.useState)(1),[Rr,Ir]=(0,b.useState)(!1),En=(0,b.useRef)(null),kn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var nr;Ot.length!==0&&(((nr=En==null?void 0:En.current)==null?void 0:nr.clientHeight)>97?tr(1):tr(0)),Ot.length===0&&tr(0),Ir(!1)},[Ot]),b.createElement("div",{className:ye()(De.row,Sn,"fadeIn","animated"),style:Yn},b.createElement("div",{onClick:(0,fe.throttle)(()=>Jt==null?void 0:Jt(),2e3),style:{width:Mn,marginTop:Rr?12:4},className:`${De.title} ${Jt?"current":""}`},yn),b.createElement("div",{className:Rr?`${De.tagsWrap} ${De.tagsBorderWrap}`:De.tagsWrap},b.createElement("div",{className:De.bar,ref:kn,style:ar>0?{height:ar===1?97:"auto",overflow:ar===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:De.tag,ref:En},Ot==null?void 0:Ot.map(nr=>b.createElement("span",{onClick:()=>en(nr.id),key:nr.id,style:{color:Wn},className:ln===nr.id?De.active:""},b.createElement("span",{title:nr.name,className:De.name},nr.name),!!In&&b.createElement("span",{className:De.num},nr.count))))),!!ar&&b.createElement(b.Fragment,null,ar===1?b.createElement("div",{onClick:()=>{var nr;tr(2),((nr=En==null?void 0:En.current)==null?void 0:nr.clientHeight)>245?Ir(!0):Ir(!1)},className:De.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{kn.current.scrollTop=0,tr(1),Ir(!1)},className:De.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Fe={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"},Te=({dataSource:Ot=[],value:ln,onChange:en,className:Jt,style:Sn={}})=>b.createElement("div",{style:Sn,className:ye()(Fe.tabs,Jt)},Ot.map(yn=>b.createElement("span",{onClick:()=>en(yn.id),className:ln===yn.id?Fe.active:"",key:yn.id},yn.name))),we={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"},Me=E(37568),Ae=({dataSource:Ot=[],value:ln="",onChange:en,onInputChange:Jt=()=>{},className:Sn,style:yn={},placeholder:Mn,allowClear:Yn=!1})=>{var Wn;const[In,ar]=(0,b.useState)(""),[tr,Rr]=(0,b.useState)("");(0,b.useEffect)(()=>{var kn;let nr=ln;(kn=JSON.stringify(ln))!=null&&kn.includes("{")&&(ar(ln.id),nr=ln.value||"");try{Rr(decodeURIComponent(nr||""))}catch(rr){Rr(decodeURIComponent(nr||""))}},[ln]);const Ir=()=>{en(encodeURIComponent(tr),In||null)},En=kn=>{kn!==In&&(ar(kn),en(encodeURIComponent(tr),kn))};return b.createElement("div",{className:ye()(we.input,Sn),style:yn},!!Ot.length&&b.createElement("div",{className:we.dropdown},b.createElement("div",{className:we.text},(Wn=Ot.find(kn=>kn.id===In))==null?void 0:Wn.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:we.b1}),b.createElement("b",{className:we.b2})),b.createElement("div",{className:we.menu},Ot.map((kn,nr)=>b.createElement("div",{key:nr,onClick:()=>En(kn.id)},kn.name)))),b.createElement(Me.default,{onPressEnter:Ir,value:tr,onChange:kn=>{Rr(kn.target.value),Jt(encodeURIComponent(kn.target.value),In||null)},placeholder:Mn,variant:"borderless",allowClear:Yn,onClear:()=>en("",In||null)}),b.createElement("i",{onClick:Ir,className:"iconfont icon-sousuo9 font14 current"}))},Pe={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"},tt=({value:Ot,onChange:ln,className:en,total:Jt,pageSize:Sn,style:yn={}})=>{const Mn=Ot<2,Yn=Ot>=Math.ceil(Jt/Sn);return Jt<=Sn?b.createElement(b.Fragment,null):b.createElement("div",{className:ye()(Pe.quickPager,en),style:yn},b.createElement("div",{onClick:()=>{Mn||ln(Ot-1,"prev")},className:Mn?Pe.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Yn||ln(Ot+1,"next")},className:Yn?Pe.disabled:""},"\u4E0B\u4E00\u9875"))},ce={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"},Oe=E(29787),Ue=E(25399),ze=E(63139),nt=E(35783),ke=E(68911),Ve=E(71347),Se=({className:Ot,dataSource:ln=[],col:en=4,right:Jt,bottom:Sn=23,precision:yn=0,wrapWidth:Mn=1200,trackEventItems:Yn,loading:Wn})=>{const In=Math.floor((Mn-(en-1)*Jt)/en);return b.createElement(Oe.Z,{spinning:Wn},b.createElement("div",{className:ye()(ce.list,Ot)},!!ln.length&&ln.map((ar,tr)=>{const{name:Rr,id:Ir,identifier:En,power:kn,cover_image_id:nr,pic:rr}=ar;return b.createElement("div",{className:ce.wrap,key:Ir,style:{width:In,marginRight:(1+tr)%en===0?0:Jt+yn,marginBottom:Sn}},b.createElement("a",{target:"_blank",href:`/shixuns/${En}/challenges`,className:ce.li,onClick:Lt=>{Lt.preventDefault(),Yn&&(0,ke.L9)([Yn]),kn&&(0,ke.xg)(`/shixuns/${En}/challenges`)}},b.createElement("div",{className:ce.img},b.createElement("img",{className:ce.cover,src:`${rr}`}),ar.is_jupyter&&b.createElement("span",{className:`sprite sprite-43 ${ce.sign}`}),ar.is_jupyter_lab&&b.createElement("span",{className:`sprite sprite-42 ${ce.sign}`}),ar.is_unity_3d&&b.createElement("span",{className:`sprite sprite-44 ${ce.sign}`})),b.createElement("div",{className:ce.name},b.createElement(Ue.Z,{title:Rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ce.e},Rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ce.tags},b.createElement(Ue.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,ar.challenges_count))),!!ar.myshixuns_count&&b.createElement(Ue.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,ar.myshixuns_count))),b.createElement(Ue.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,ar.level))),b.createElement("div",{className:ce.rate},b.createElement(ze.Z,{allowHalf:!0,disabled:!0,defaultValue:ar.score_info}),b.createElement("span",null,"\xA0",ar.score_info?`${ar.score_info}\u5206`:"5\u5206")))),!kn&&b.createElement("div",{className:ce.lockWrap},b.createElement("img",{src:`${nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ln.length&&b.createElement(Ve.Z,null)))},qe=E(64194),pe={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",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},be=E(62957),gt=E(96599),$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYG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>{try{Yn(en.next(Wn))}catch(In){Sn(In)}},Mn=Wn=>{try{Yn(en.throw(Wn))}catch(In){Sn(In)}},Yn=Wn=>Wn.done?Jt(Wn.value):Promise.resolve(Wn.value).then(yn,Mn);Yn((en=en.apply(Ot,ln)).next())}),se=({className:Ot,dataSource:ln=[],col:en=4,right:Jt,bottom:Sn=23,precision:yn=0,wrapWidth:Mn=1200,trackEventItems:Yn,loading:Wn,category:In,hiddenClick:ar,handleVery:tr=()=>!0,isCurrent:Rr})=>{const[Ir,En]=be.default.useModal(),kn=Math.floor((Mn-(en-1)*Jt)/en),nr=rr=>bt(void 0,null,function*(){Ir.confirm({title:"\u7F6E\u9876",width:500,content:at.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",at.createElement("span",{className:"c-blue"},"\u201C",rr.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return at.createElement(Oe.Z,{spinning:Wn},En,at.createElement("div",{className:ye()(pe.list,Ot)},!!ln.length&&ln.map((rr,Lt)=>{const{subject_identifier:Qt,id:St,identifier:Zt,power:At}=rr,Ht=rr.is_public!=0&&rr.is_public;return at.createElement("div",{className:pe.wrap,key:St,style:{width:kn,marginRight:(1+Lt)%en===0?0:Jt+yn,marginBottom:Sn}},rr.homepage_show&&at.createElement("div",{className:pe.btnsTop},at.createElement(gt.default,{color:"red"},"\u7F6E\u9876")),at.createElement("a",{className:pe.li,onClick:ht=>{ht.preventDefault(),tr(rr==null?void 0:rr.first_category_url)&&(Yn&&(0,ke.L9)([Yn]),(0,ke.xg)(rr.first_category_url))}},at.createElement("div",{className:pe.top},at.createElement(Ue.Z,{title:rr.name},at.createElement("div",{className:pe.name},rr.name)),at.createElement("img",{className:pe.img,src:nt.Z.IMG_SERVER+"/images/"+rr.avatar_url}),at.createElement("div",{className:pe.text,title:rr.creator},rr.creator),Qt&&at.createElement("div",{className:pe.btns},at.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),at.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ht&&at.createElement("div",{className:pe.sign},"\u516C\u5F00"),Rr&&at.createElement("div",{className:pe.hidden,onClick:ht=>{ht.stopPropagation(),ar(rr)}},at.createElement("i",{className:`iconfont ${In=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),In=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),at.createElement("div",{className:pe.bottom},rr.visits>0&&at.createElement(Ue.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-liulanyan"}),at.createElement("span",null,rr.visits))),rr.course_members_count>0&&at.createElement(Ue.Z,{title:"\u6210\u5458",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-chengyuan"}),rr.course_members_count)),rr.tasks_count>0&&at.createElement(Ue.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-zuoye"}),rr.tasks_count)),rr.is_end?at.createElement("div",{style:{color:"#6B758B"}}):at.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!rr.is_accessible&&at.createElement("div",{className:pe.lockWrap},at.createElement("img",{src:`${nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),at.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ln.length&&at.createElement(Ve.Z,null)))},Be={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"},Je=E(63823),Ee=({dataSource:Ot=[],value:ln,onChange:en,className:Jt,style:Sn={},tabBarExtraContent:yn})=>b.createElement("div",{className:ye()(Be.tabs,Jt),style:Sn},b.createElement("div",{className:Be.tabsWrap},Ot.map((Mn,Yn)=>!(Mn!=null&&Mn.hide)&&b.createElement("aside",{className:Be.tab,onClick:()=>{en(Mn.id),Mn.link&&Je.history.push(Mn.link)},key:Yn},b.createElement("div",{className:ln===Mn.id?Be.active:""},Mn.name),(Mn==null?void 0:Mn.resetCount)==null&&(Mn==null?void 0:Mn.total)!==void 0&&b.createElement("span",null,"\uFF08",Mn==null?void 0:Mn.total,"\uFF09"),(Mn==null?void 0:Mn.resetCount)!==void 0&&(Mn==null?void 0:Mn.total)!==void 0&&b.createElement(Ue.Z,{title:(Mn==null?void 0:Mn.tip)!=null?Mn==null?void 0:Mn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Mn==null?void 0:Mn.resetCount),"/",b.createElement("span",null,Mn==null?void 0:Mn.total),"\uFF09"))))),b.createElement("div",{className:Be.tabBar},yn)),rt=({className:Ot,style:ln={},children:en})=>b.createElement("div",{className:ye()(Ot),style:ln},en),xt={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"},ct=E(75727),wt=E(93041);const ft=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Dt=({sortValue:Ot,dropValue:ln,className:en,onSort:Jt,onDrop:Sn,dataSource:yn=ft})=>{var Mn;return b.createElement("div",{className:ye()(xt.orderWrap,en)},b.createElement(ct.Z,{dropdownRender:()=>b.createElement(wt.default,null,yn.map((Yn,Wn)=>b.createElement(wt.default.Item,{key:Wn,onClick:()=>Sn(Yn.id)},Yn.name)))},b.createElement("span",{className:xt.orderTextWrap},(Mn=yn.find(Yn=>ln===Yn.id))==null?void 0:Mn.name)),b.createElement("span",{className:xt.orderIconWrap},b.createElement("span",{className:xt.orderAsc},b.createElement("i",{className:Ot==="asc"?`iconfont icon-sanjiaoxing-up font12 ${xt.cursorPointer} ${xt.active}`:`iconfont icon-sanjiaoxing-up font12 ${xt.cursorPointer}`,onClick:()=>Jt(Ot==="asc"?"desc":"asc")})),b.createElement("span",{className:xt.orderDesc},b.createElement("i",{className:Ot==="desc"?`iconfont icon-sanjiaoxing-down font12 ${xt.cursorPointer} ${xt.active}`:`iconfont icon-sanjiaoxing-down font12 ${xt.cursorPointer}`,onClick:()=>Jt(Ot==="asc"?"desc":"asc")}))))},oe={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"},ae=E(7939),te=Object.defineProperty,x=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,le=(Ot,ln,en)=>ln in Ot?te(Ot,ln,{enumerable:!0,configurable:!0,writable:!0,value:en}):Ot[ln]=en,Ie=(Ot,ln)=>{for(var en in ln||(ln={}))re.call(ln,en)&&le(Ot,en,ln[en]);if(x)for(var en of x(ln))ne.call(ln,en)&&le(Ot,en,ln[en]);return Ot},Le=(Ot,ln)=>{var en={};for(var Jt in Ot)re.call(Ot,Jt)&&ln.indexOf(Jt)<0&&(en[Jt]=Ot[Jt]);if(Ot!=null&&x)for(var Jt of x(Ot))ln.indexOf(Jt)<0&&ne.call(Ot,Jt)&&(en[Jt]=Ot[Jt]);return en},Ye=(Ot,ln,en)=>new Promise((Jt,Sn)=>{var yn=Wn=>{try{Yn(en.next(Wn))}catch(In){Sn(In)}},Mn=Wn=>{try{Yn(en.throw(Wn))}catch(In){Sn(In)}},Yn=Wn=>Wn.done?Jt(Wn.value):Promise.resolve(Wn.value).then(yn,Mn);Yn((en=en.apply(Ot,ln)).next())}),it=Ot=>{var ln=Ot,{className:en,style:Jt,children:Sn,loading:yn=!1,openLoading:Mn,onClick:Yn=()=>{},size:Wn="middle",shape:In="round"}=ln,ar=Le(ln,["className","style","children","loading","openLoading","onClick","size","shape"]);const[tr,Rr]=(0,b.useState)(!1);return b.createElement(ae.ZP,Ie({onClick:(0,fe.throttle)(Ir=>Ye(void 0,null,function*(){Mn&&Rr(!0);try{yield Yn(Ir)}catch(En){console.log("error",En)}Mn&&Rr(!1)}),2e3,{leading:!0,trailing:!1}),className:ye()(oe.btn,oe[`${Wn}-${In}`],en),style:Jt,size:Wn,shape:In,loading:tr||yn},ar),Sn)},dt={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"},ot=({className:Ot,style:ln,children:en=null,onClick:Jt,title:Sn})=>b.createElement("div",{className:ye()(dt.head,Ot),style:ln},b.createElement("span",{className:"primary-hover",onClick:Jt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Sn},Sn),b.createElement("div",{className:dt.node},en)),st={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"},kt=({confirmShow:Ot=!0,confirmTitle:ln,confirmClick:en,cancelShow:Jt=!0,cancelTitle:Sn,cancelClick:yn,className:Mn,style:Yn,confirmLoading:Wn=!1})=>b.createElement("div",{className:ye()(st.btns,Mn),style:Yn},Ot&&b.createElement(ae.ZP,{loading:Wn,onClick:en,type:"primary",className:st.confirm},ln),Jt&&b.createElement(ae.ZP,{onClick:yn,className:st.cancel},Sn)),un={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"},Rt=({className:Ot,style:ln={},LeftContent:en,children:Jt,RightContent:Sn})=>b.createElement("div",{className:ye()(un.fixedBottom,Ot),style:ln},b.createElement("div",{className:un.wrap},b.createElement("div",{className:un.left},en),b.createElement("div",{className:un.center},Jt),b.createElement("div",{className:un.right},Sn))),Kt={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"},Et=({className:Ot,style:ln={},dataSource:en=[]})=>b.createElement("div",{className:ye()(Kt.crumbs,Ot),style:ln},en.map((Jt,Sn)=>Sn<en.length-1?b.createElement(b.Fragment,{key:Sn},Jt.path||Jt.onClick?b.createElement("span",{className:Kt.hover,onClick:Jt!=null&&Jt.onClick?Jt.onClick:()=>Je.history.push(Jt.path)},Jt.name):b.createElement("span",null,Jt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Sn,style:{color:"#5F6368"}},Jt.name))),Tt=E(11938),on=Object.defineProperty,mn=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,xn=(Ot,ln,en)=>ln in Ot?on(Ot,ln,{enumerable:!0,configurable:!0,writable:!0,value:en}):Ot[ln]=en,Ln=(Ot,ln)=>{for(var en in ln||(ln={}))Yt.call(ln,en)&&xn(Ot,en,ln[en]);if(Mt)for(var en of Mt(ln))sn.call(ln,en)&&xn(Ot,en,ln[en]);return Ot},Xn=(Ot,ln)=>mn(Ot,vt(ln)),Jn=(Ot,ln)=>{var en={};for(var Jt in Ot)Yt.call(Ot,Jt)&&ln.indexOf(Jt)<0&&(en[Jt]=Ot[Jt]);if(Ot!=null&&Mt)for(var Jt of Mt(Ot))ln.indexOf(Jt)<0&&sn.call(Ot,Jt)&&(en[Jt]=Ot[Jt]);return en};const{Countdown:Bn}=Tt.default;var Wt=Ot=>{var ln=Ot,{onChange:en}=ln,Jt=Jn(ln,["onChange"]);const[Sn,yn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Sn=="number"&&Sn>=0&&en(Sn)},[Sn]);const Mn=Yn=>{const Wn=Math.floor(Yn/1e3);yn(Wn)};return b.createElement(Bn,Xn(Ln({},Jt),{onChange:Mn}))}},2408:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return We}});var b=E(59301);function We(de,Ke){const De=(0,b.useRef)();(0,b.useEffect)(()=>{De.current=de}),(0,b.useEffect)(()=>{function ve(){De.current()}if(Ke!==null){let ye=setInterval(ve,Ke);return()=>clearInterval(ye)}},[Ke])}},93495:function(wn,zt,E){"use strict";var b=E(59301),We=E(28284),de=E(77019),Ke=E(5269),De=E(82326),ve=E(4875),ye=E(25399),fe=E(24017),xe=E(37568),ue=E(63823),Fe=E(64322),Ce=E(92522),Te=E(59301),we=Object.defineProperty,Me=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,tt=(nt,ke,Ve)=>ke in nt?we(nt,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):nt[ke]=Ve,ce=(nt,ke)=>{for(var Ve in ke||(ke={}))Pe.call(ke,Ve)&&tt(nt,Ve,ke[Ve]);if(Ae)for(var Ve of Ae(ke))Re.call(ke,Ve)&&tt(nt,Ve,ke[Ve]);return nt},Oe=(nt,ke)=>Me(nt,ge(ke)),Ue=(nt,ke)=>{var Ve={};for(var et in nt)Pe.call(nt,et)&&ke.indexOf(et)<0&&(Ve[et]=nt[et]);if(nt!=null&&Ae)for(var et of Ae(nt))ke.indexOf(et)<0&&Re.call(nt,et)&&(Ve[et]=nt[et]);return Ve};const ze=({disabled:nt,shixunHomeworks:ke,selectOptions:Ve,form:et})=>{const{workSetting:Se}=ke,[qe,pe]=(0,b.useState)([]),be=(0,b.useMemo)(()=>Ve==null?void 0:Ve.filter(gt=>!qe.includes(gt.value)),[qe,Ve]);return(0,b.useEffect)(()=>{var gt;const $e=((gt=Se==null?void 0:Se.anonymous_appeal_settings)==null?void 0:gt.filter(at=>at.appeal_time))||[];pe($e.map(at=>at.group_name))},[Se]),Te.createElement(We.default.List,{name:"anonymous_appeal_settings"},(gt,{add:$e,remove:at})=>Te.createElement(Te.Fragment,null,gt.map(bt=>{var Ze;const se=bt,{key:Be,name:Je}=se,lt=Ue(se,["key","name"]),je=et.getFieldValue(["anonymous_appeal_settings",Je]).deleteflag;return Te.createElement("div",{key:Be},Te.createElement(de.Z,{align:"middle",style:{background:"#F6F7F9",padding:"5px 30px"}},Te.createElement(Ke.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left",marginLeft:"54px",color:"#666"}},"\u7533\u8BC9\u89C4\u5219",Be+1),Te.createElement(Ke.Z,null,Te.createElement(We.default.Item,Oe(ce({},lt),{name:[bt.name,"group_name"]}),Te.createElement(De.default,{mode:"multiple",disabled:nt||!je,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",style:{width:"245px"},className:Ce.Z.multiple_select,options:be||[],onSelect:rt=>{pe(xt=>[...xt,rt])},onDeselect:rt=>{pe(xt=>xt.filter(ct=>ct!==rt))}}))),Te.createElement(Ke.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),Te.createElement(Ke.Z,null,Te.createElement(We.default.Item,Oe(ce({},lt),{label:"",name:[bt.name,"appeal_penalty"]}),Te.createElement(ve.Z,{min:0,disabled:nt,size:"large",addonAfter:"\u5206",style:{width:"120px"}}))),Te.createElement(ye.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},Te.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${Ce.Z.title_icon}`})),Te.createElement(Ke.Z,{style:{marginLeft:"40px",color:"#666",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),Te.createElement(Ke.Z,null,Te.createElement(We.default.Item,Oe(ce({},lt),{label:"",name:[bt.name,"appeal_time"]}),Te.createElement(fe.default,{allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",disabled:nt,size:"large",disabledDate:rt=>(0,Fe.Q8)(rt,Se==null?void 0:Se.course_end_date),disabledTime:rt=>(0,Fe.d0)(rt),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm"}))),Te.createElement(We.default.Item,Oe(ce({},lt),{name:[Je,"deleteflag"]}),Te.createElement(xe.default,{type:"hidden"})),!nt&>.length<((Ze=Se==null?void 0:Se.anonymous_appeal_settings)==null?void 0:Ze.length)&&Te.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{$e({deleteflag:!0})}}),Be!==0&&!nt&&je&&Te.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const rt=et.getFieldValue(["anonymous_appeal_settings",Je,"group_name"])||[];pe(xt=>xt.filter(ct=>!rt.includes(ct))),at(Je)}})))})))};zt.Z=(0,ue.connect)(({shixunHomeworks:nt})=>({shixunHomeworks:nt}))(ze)},76548:function(wn,zt,E){"use strict";var b=E(59301),We=E(24017),de=E(28284),Ke=E(77019),De=E(5269),ve=E(82326),ye=E(6767),fe=E(37568),xe=E(4875),ue=E(25399),Fe=E(62673),Ce=E(66649),Te=E.n(Ce),we=E(63823),Me=E(64322),ge=E(10102),Ae=E(92522),Pe=E(59301),Re=Object.defineProperty,tt=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,nt=(pe,be,gt)=>be in pe?Re(pe,be,{enumerable:!0,configurable:!0,writable:!0,value:gt}):pe[be]=gt,ke=(pe,be)=>{for(var gt in be||(be={}))Ue.call(be,gt)&&nt(pe,gt,be[gt]);if(Oe)for(var gt of Oe(be))ze.call(be,gt)&&nt(pe,gt,be[gt]);return pe},Ve=(pe,be)=>tt(pe,ce(be)),et=(pe,be)=>{var gt={};for(var $e in pe)Ue.call(pe,$e)&&be.indexOf($e)<0&&(gt[$e]=pe[$e]);if(pe!=null&&Oe)for(var $e of Oe(pe))be.indexOf($e)<0&&ze.call(pe,$e)&&(gt[$e]=pe[$e]);return gt};const{RangePicker:Se}=We.default,qe=({disabled:pe,shixunHomeworks:be,selectOptions:gt,form:$e,data:at,classroomList:bt})=>{const{workSetting:Ze}=be,[se,Be]=(0,b.useState)([]),Je=(0,b.useMemo)(()=>gt==null?void 0:gt.filter(Ee=>!se.includes(Ee.value)),[se,gt]);(0,b.useEffect)(()=>{var Ee;const je=((Ee=Ze==null?void 0:Ze.anonymous_comment_settings)==null?void 0:Ee.filter(rt=>rt.evaluation_end))||[];Be(je.map(rt=>rt.group_name))},[Ze]);const lt=Ee=>{var je;const rt=(je=Ze==null?void 0:Ze.anonymous_appeal_settings)==null?void 0:je.find(xt=>xt.group_id===Ee);return at.anonymous_appeal&&rt&&(rt==null?void 0:rt.appeal_time)!==null};return Pe.createElement(de.default.List,{name:"anonymous_comment_settings"},(Ee,{add:je,remove:rt})=>Pe.createElement(Pe.Fragment,null,Ee.map(xt=>{var ct,wt;const ft=xt,{key:It,name:Dt}=ft,oe=et(ft,["key","name"]),ae=$e.getFieldValue(["anonymous_comment_settings",Dt]),te=ae.deleteflag,x=Te()((ct=ae.evaluation_start)==null?void 0:ct[0])<=Te()(),re=!te&&x?[!0,lt(ae==null?void 0:ae.group_id)]:[!1,!1];return Pe.createElement("div",{key:It,style:{background:"#F6F7F9",padding:"5px 30px"}},Pe.createElement(Ke.Z,{align:"top",style:{marginLeft:"53px"}},Pe.createElement(De.Z,{style:{height:"40px",lineHeight:"40px",width:"80px",textAlign:"left"}},"\u533F\u8BC4\u89C4\u5219",It+1),Pe.createElement(De.Z,{flex:1},Pe.createElement(Ke.Z,{align:"middle",style:{marginBottom:10}},Pe.createElement(De.Z,{span:8},Pe.createElement(de.default.Item,Ve(ke({},oe),{name:[Dt,"group_name"]}),Pe.createElement(ve.default,{mode:"multiple",disabled:pe||!te,className:Ae.Z.multiple_select,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",options:Je||[],onSelect:ne=>{Be(le=>[...le,ne])},onDeselect:ne=>{Be(le=>le.filter(Ie=>Ie!==ne))}}))),Pe.createElement(De.Z,{className:"ml20"},Pe.createElement(de.default.Item,Ve(ke({},oe),{name:[Dt,"evaluation_start"]}),Pe.createElement(Se,{ranges:{\u6B64\u523B:()=>{var ne;const le=(ne=ae==null?void 0:ae.evaluation_start)==null?void 0:ne[0];return[le?Te()(le):Te()(),Te()()]}},size:"large",style:{width:"500px"},disabled:pe||re,allowClear:!1,disabledDate:ne=>(0,Me.Q8)(ne,Ze==null?void 0:Ze.course_end_date),disabledTime:ne=>(0,Me.d0)(ne),showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",onChange:()=>{var ne;if((0,ge.Rm)()&&!((ne=bt.AssistantObject.group)!=null&&ne.can_anonymous_comment)){ye.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}}}))),Pe.createElement(de.default.Item,Ve(ke({},oe),{name:[Dt,"deleteflag"]}),Pe.createElement(fe.default,{type:"hidden"})),!pe&&Ee.length<((wt=Ze==null?void 0:Ze.anonymous_comment_settings)==null?void 0:wt.length)&&Pe.createElement("i",{className:"iconfont icon-zengjia1 ml20",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{je({deleteflag:!0})}}),It!==0&&!pe&&te&&Pe.createElement("i",{className:"iconfont icon-shanjian1 ml20",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const ne=$e.getFieldValue(["anonymous_comment_settings",Dt,"group_name"])||[];Be(le=>le.filter(Ie=>!ne.includes(Ie))),rt(Dt)}})))),Pe.createElement(Ke.Z,{align:"middle",style:{marginLeft:"53px"}},Pe.createElement(De.Z,{style:{width:"75px"}},"\u533F\u8BC4\u6570\u91CF"),Pe.createElement(De.Z,null,Pe.createElement(de.default.Item,Ve(ke({},oe),{label:"",colon:!1,name:[Dt,"evaluation_num"]}),Pe.createElement(xe.Z,{min:0,size:"large",style:{marginLeft:"5px"},disabled:pe||!te&&x}))),Pe.createElement(ue.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},Pe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${Ae.Z.title_icon}`})),Pe.createElement(De.Z,{style:{width:"75px",marginLeft:"40px"}},"\u7F3A\u8BC4\u6263\u5206"),Pe.createElement(De.Z,null,Pe.createElement(de.default.Item,Ve(ke({},oe),{label:"",colon:!1,name:[Dt,"absence_penalty"]}),Pe.createElement(xe.Z,{min:0,size:"large",addonAfter:"\u5206",style:{width:"120px"},disabled:pe,onChange:ne=>{var le;if((0,ge.Rm)()&&!((le=bt.AssistantObject.group)!=null&&le.can_anonymous_comment)){ye.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}}}))),Pe.createElement(De.Z,{style:{marginLeft:"40px"}},Pe.createElement(de.default.Item,Ve(ke({},oe),{name:[Dt,"student_comment"],valuePropName:"checked"}),Pe.createElement(Fe.default,{disabled:pe,onChange:()=>{var ne;if((0,ge.Rm)()&&!((ne=bt.AssistantObject.group)!=null&&ne.can_anonymous_comment)){ye.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}}}))),Pe.createElement(De.Z,{className:"ml10"},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605")))})))};zt.Z=(0,we.connect)(({shixunHomeworks:pe,classroomList:be})=>({shixunHomeworks:pe,classroomList:be}))(qe)},77402:function(wn,zt,E){"use strict";var b=E(63823),We=E(77019),de=E(5269),Ke=E(24017),De=E(4875),ve=E(25399),ye=E(66649),fe=E.n(ye),xe=E(64322),ue=E(92522),Fe=E(59301);const Ce=({data:Te,disabled:we,setData:Me,shixunHomeworks:ge})=>{const{workSetting:Ae,workList:Pe}=ge;return Fe.createElement("div",null,Fe.createElement(We.Z,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},Fe.createElement(de.Z,{style:{marginLeft:"54px",marginRight:"20px",color:"#666666"}},"\u7ED3\u675F\u65F6\u95F4"),Fe.createElement(de.Z,null,Fe.createElement(Ke.default,{allowClear:!1,style:{width:250},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},size:"large",format:"YYYY-MM-DD HH:mm",disabled:we,disabledDate:Re=>(0,xe.Q8)(Re,Ae==null?void 0:Ae.course_end_date),disabledTime:Re=>(0,xe.d0)(Re),value:Te.appeal_time?fe()(Te.appeal_time):"",onChange:(Re,tt)=>{Te.appeal_time=tt,Me(Object.assign({},Te))}})),Fe.createElement(de.Z,{style:{margin:"0 20px 0 60px",color:"#666666"}},"\u8FDD\u89C4\u533F\u8BC4\u6263\u5206"),Fe.createElement(de.Z,null,Fe.createElement(De.Z,{size:"large",disabled:we,value:Te.appeal_penalty,min:0,addonAfter:"\u5206",style:{width:"120px"},onChange:Re=>{Te.appeal_penalty=Re,Me(Object.assign({},Te))}})),Fe.createElement(ve.Z,{title:"\u5B66\u751F\u8FDD\u89C4\u533F\u8BC4\u5176\u4ED6\u540C\u5B66\u7684\u4F5C\u54C1\u65F6\uFF0C\u5176\u6210\u7EE9\u5C06\u88AB\u6263\u51CF\u7684\u5206\u503C"},Fe.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${ue.Z.title_icon}`}))))};zt.Z=(0,b.connect)(({shixunHomeworks:Te})=>({shixunHomeworks:Te}))(Ce)},93068:function(wn,zt,E){"use strict";var b=E(24017),We=E(4875),de=E(25399),Ke=E(62673),De=E(66649),ve=E.n(De),ye=E(63823),fe=E(64322),xe=E(92522),ue=E(59301);const Fe=({data:Ce,setData:Te,disabled:we,shixunHomeworks:Me})=>{const{workSetting:ge}=Me,Ae=ve()(ge==null?void 0:ge.evaluation_start)<=ve()(),Pe=Ce.anonymous_appeal;return ue.createElement("div",null,ue.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",marginTop:"1px"}},ue.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u5F00\u59CB\u65F6\u95F4"),ue.createElement(b.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:Re=>(0,fe.Q8)(Re,ge==null?void 0:ge.course_end_date),disabledTime:Re=>(0,fe.d0)(Re),disabled:we||Ae||Pe,value:Ce.evaluation_start?ve()(Ce.evaluation_start):"",onChange:(Re,tt)=>{Ce.evaluation_start=tt,Te(Object.assign({},Ce))}}),ue.createElement("div",{style:{color:"#666666",marginLeft:"60px",marginRight:"20px"}},"\u7ED3\u675F\u65F6\u95F4"),ue.createElement(b.default,{allowClear:!1,style:{width:200},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",size:"large",disabledDate:Re=>(0,fe.Q8)(Re,ge==null?void 0:ge.course_end_date,Ce.evaluation_start),disabledTime:Re=>(0,fe.d0)(Re,ve()(Ce.evaluation_start)),disabled:we||Pe,value:Ce.evaluation_end?ve()(Ce.evaluation_end):"",onChange:(Re,tt)=>{Ce.evaluation_end=tt,Te(Object.assign({},Ce))}})),ue.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center"}},ue.createElement("div",{style:{color:"#666666",marginLeft:"53px",marginRight:"20px"}},"\u533F\u8BC4\u6570\u91CF"),ue.createElement(We.Z,{disabled:we||Ae||Pe,value:Ce.evaluation_num,min:0,style:{width:"150px"},size:"large",onChange:Re=>{Ce.evaluation_num=Re,Te(Object.assign({},Ce))}}),ue.createElement(de.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u5C06\u88AB\u5206\u914D\u7684\u533F\u8BC4\u4F5C\u54C1\u6570\u91CF\u3002\u5982\u5168\u73ED\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u5C0F\u4E8E\u672C\u6570\u503C\uFF0C\u5219\u4EE5\u5B9E\u9645\u63D0\u4EA4\u4F5C\u4E1A\u6570\u91CF\u4E3A\u51C6"},ue.createElement("i",{className:`iconfont icon-tishixiaowenhao ml10 ${xe.Z.title_icon}`})),ue.createElement("div",{style:{color:"#666666",marginLeft:"84px",marginRight:"20px"}},"\u7F3A\u8BC4\u6263\u5206"),ue.createElement(We.Z,{min:0,disabled:we,style:{width:"150px"},size:"large",addonAfter:"\u5206",value:Ce.absence_penalty,onChange:Re=>{Ce.absence_penalty=Re,Te(Object.assign({},Ce))}})),Ce.anonymous_comment&&ue.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px 13px 83px",display:"flex",alignItems:"center"}},ue.createElement(Ke.default,{checked:Ce.student_comment,disabled:we,onChange:()=>{Ce.student_comment=!Ce.student_comment,Te(Object.assign({},Ce))}},ue.createElement("span",{style:{fontSize:"14px",color:"#000"}},"\u533F\u8BC4\u8BA1\u5165\u5DF2\u8BC4\u9605"))))};zt.Z=(0,ye.connect)(({shixunHomeworks:Ce})=>({shixunHomeworks:Ce}))(Fe)},40657:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Oe}});var b=E(59301),We=E(62957),de=E(6767),Ke=E(77019),De=E(5269),ve=E(7939),ye=E(94968),fe=E(70858),xe={achieveSty:"achieveSty___Joqdh",tip:"tip___qAo3r",labolIcon:"labolIcon___QZ4oX"},ue=E(29596),Fe=E(35783),Ce=E(22972),Te=E(68911),we=Object.defineProperty,Me=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Pe=(Ue,ze,nt)=>ze in Ue?we(Ue,ze,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ue[ze]=nt,Re=(Ue,ze)=>{for(var nt in ze||(ze={}))ge.call(ze,nt)&&Pe(Ue,nt,ze[nt]);if(Me)for(var nt of Me(ze))Ae.call(ze,nt)&&Pe(Ue,nt,ze[nt]);return Ue},tt=(Ue,ze,nt)=>new Promise((ke,Ve)=>{var et=pe=>{try{qe(nt.next(pe))}catch(be){Ve(be)}},Se=pe=>{try{qe(nt.throw(pe))}catch(be){Ve(be)}},qe=pe=>pe.done?ke(pe.value):Promise.resolve(pe.value).then(et,Se);qe((nt=nt.apply(Ue,ze)).next())}),Oe=({visible:Ue,categoryId:ze,getData:nt,onCancle:ke})=>{var Ve,et;const[Se,qe]=(0,b.useState)([]),[pe,be]=(0,b.useState)(!1),[gt,$e]=(0,b.useState)(!1),[at,bt]=(0,b.useState)({success_size:0,error_list:[]}),Ze={withCredentials:!0,maxCount:1,multiple:!1,onRemove:()=>{qe([])},beforeUpload:se=>tt(void 0,null,function*(){return qe([se]),!1}),fileList:Se,accept:".xlsx"};return b.createElement(b.Fragment,null,b.createElement(We.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",width:690,open:Ue,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:gt,onOk:()=>tt(void 0,null,function*(){if(Se.length===0){de.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u6587\u4EF6\uFF01");return}$e(!0);const se=new FormData;se.append("file",Se[0]);const Be=yield(0,Ce.ZP)(`/api/homework_commons/${ze}/import_external_score.json`,{method:"post",body:se},!0);(Be==null?void 0:Be.status)===0&&(bt(Be),ke(),nt(),be(!0),qe([])),$e(!1)}),onCancel:()=>{qe([]),ke()}},b.createElement("div",{className:xe.achieveSty},b.createElement("div",{className:xe.tip},b.createElement("div",null,"1.\u4E0D\u5728\u5B66\u751F\u5217\u8868\u5185\u7684\u5B66\u751F\u4E0D\u652F\u6301\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\uFF1B"),b.createElement("div",null,"2.\u672A\u63D0\u4EA4\u4F5C\u54C1\u7684\u5B66\u751F\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4E4B\u540E\u5C06\u89C6\u4E3A\u5DF2\u5728\u7EBF\u4E0B\u63D0\u4EA4\u4F5C\u4E1A\uFF1B"),b.createElement("div",null,"3.\u5BFC\u5165\u5916\u90E8\u6210\u7EE9\u4F1A\u5C06\u5DF2\u8BC4\u9605\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u8FDB\u884C\u66F4\u65B0\u3002")),b.createElement(Ke.Z,{align:"middle",className:"mt20"},b.createElement(De.Z,{className:"mr10"},b.createElement("span",{className:xe.labolIcon},"*"),b.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),b.createElement(De.Z,null,b.createElement(ve.ZP,{shape:"default",style:{backgroundColor:"#3061D0",color:"#fff"}},b.createElement("a",{className:xe.downloadbutton,onClick:se=>{se.stopPropagation(),se.preventDefault(),(0,Te.FH)("",Fe.Z.API_SERVER+`/api/homework_commons/${ze}/get_example_excel.json`)}},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C")),b.createElement("span",{className:"ml10",style:{color:"#9096A3"}},"\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9"))),b.createElement("div",{className:"mt10",style:{marginLeft:"74px",height:"120px"}},b.createElement(ye.default.Dragger,Re({style:{border:"1px dashed rgba(48,97,208,0.3)",backgroundColor:"rgba(48,97,208,0.06)"}},Ze),b.createElement("div",null,b.createElement(ue.op,{shape:"default"},"\u9009\u62E9\u6587\u4EF6")),b.createElement("div",{className:"font12 mt10",style:{color:"#9096A3"}},"\u4E0B\u8F7D\u6A21\u7248\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xlsx"))))),b.createElement(We.default,{centered:!0,maskClosable:!1,title:"\u5BFC\u5165\u7ED3\u679C",width:508,open:pe,onCancel:()=>{be(!1)},footer:null},b.createElement("div",null,b.createElement("div",{style:{marginTop:"5px",marginBottom:"15px"}},b.createElement("span",null,"\u5BFC\u5165\u6210\u529F",b.createElement("span",{style:{color:"#19CB70"}}," ",at==null?void 0:at.success_size," "),"\u4E2A\u5B66\u751F"),b.createElement("span",{style:{marginLeft:"30px"}},"\u5BFC\u5165\u5931\u8D25",b.createElement("span",{style:{color:"#E30000"}}," ",(Ve=at==null?void 0:at.error_list)==null?void 0:Ve.length," "),"\u4E2A\u5B66\u751F")),!!((et=at==null?void 0:at.error_list)!=null&&et.length)&&b.createElement("div",{className:"mb20"},b.createElement(fe.default,{columns:[{title:"\u59D3\u540D",dataIndex:"name",key:"name",ellipsis:!0,width:120,render:se=>b.createElement("span",{style:{color:"#000"}},se)},{title:"\u5B66\u53F7/\u5DE5\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,width:120,render:se=>b.createElement("span",{style:{color:"#666"}},se)},{title:"\u5931\u8D25\u539F\u56E0",dataIndex:"info",key:"info",ellipsis:!0,align:"end",render:se=>b.createElement("span",{style:{color:"#000"}},se)}],dataSource:at==null?void 0:at.error_list,pagination:!1,scroll:{y:47*8}})))))}},47158:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return nt}});var b=E(59301),We={anchorNavigation:"anchorNavigation___qD4R0",tabs:"tabs___hVMvA",box:"box___Qz1lW",head:"head___WZZdl"},de=Object.defineProperty,Ke=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,ye=(ke,Ve,et)=>Ve in ke?de(ke,Ve,{enumerable:!0,configurable:!0,writable:!0,value:et}):ke[Ve]=et,fe=(ke,Ve)=>{for(var et in Ve||(Ve={}))De.call(Ve,et)&&ye(ke,et,Ve[et]);if(Ke)for(var et of Ke(Ve))ve.call(Ve,et)&&ye(ke,et,Ve[et]);return ke};const xe=ke=>React.createElement("svg",fe({width:17,height:18,xmlns:"http://www.w3.org/2000/svg"},ke),React.createElement("title",null,"\u88C5\u9970\u70B9"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"100%",y1:"50%",x2:"0%",y2:"50%",id:"dot_svg__a"},React.createElement("stop",{stopColor:"#5EC7EA",offset:"0%"}),React.createElement("stop",{stopColor:"#3055D0",offset:"100%"}))),React.createElement("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m4.342 2.005 11.896 7.138a1 1 0 0 1 0 1.714L4.342 17.995a1 1 0 0 1-1.378-1.362L6.834 10l-3.87-6.633a1 1 0 0 1 1.378-1.362Z",fill:"url(#dot_svg__a)"}),React.createElement("circle",{fill:"#3061D0",cx:2,cy:10,r:2})));var ue="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUVDN0VBIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMwNTVEMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0ibTQuMzQyIDIuMDA1IDExLjg5NiA3LjEzOGExIDEgMCAwIDEgMCAxLjcxNEw0LjM0MiAxNy45OTVhMSAxIDAgMCAxLTEuMzc4LTEuMzYyTDYuODM0IDEwbC0zLjg3LTYuNjMzYTEgMSAwIDAgMSAxLjM3OC0xLjM2MloiIGZpbGw9InVybCgjYSkiLz48Y2lyY2xlIGZpbGw9IiMzMDYxRDAiIGN4PSIyIiBjeT0iMTAiIHI9IjIiLz48L2c+PC9zdmc+",Fe=E(31691),Ce=E(92310),Te=E.n(Ce),we=E(59301),Me=Object.defineProperty,ge=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,ce=(ke,Ve,et)=>Ve in ke?Me(ke,Ve,{enumerable:!0,configurable:!0,writable:!0,value:et}):ke[Ve]=et,Oe=(ke,Ve)=>{for(var et in Ve||(Ve={}))Re.call(Ve,et)&&ce(ke,et,Ve[et]);if(Pe)for(var et of Pe(Ve))tt.call(Ve,et)&&ce(ke,et,Ve[et]);return ke},Ue=(ke,Ve)=>ge(ke,Ae(Ve)),nt=({dataSource:ke,className:Ve,style:et})=>{const[Se,qe]=(0,b.useState)([]),[pe,be]=(0,b.useState)(""),gt=(0,b.useRef)(""),$e=(0,b.useRef)(String(Math.random()).slice(-6));(0,b.useEffect)(()=>{if(ke!=null&&ke.length){const Ze=ke.map(se=>Ue(Oe({},se),{key:`${$e}-${se.key}`}));qe(Ze),be(Ze[0].key)}},[ke.length]);const at=Ze=>{be(Ze),gt.current=Ze;const se=document.getElementById(Ze);if(se){const Be=se.getBoundingClientRect().top+window.scrollY-50;window.scrollTo({top:Be,behavior:"smooth"})}},bt=()=>{const Ze=Se.map(Be=>document.getElementById(Be.key)),se=window.innerHeight/2;for(const Be of Ze)if(Be){const Je=Be.getBoundingClientRect();if(Je.top>=0&&Je.top<se){if(gt.current===Be.id){gt.current="";return}if(gt.current)return;be(Be.id);break}}};return(0,b.useEffect)(()=>(window.addEventListener("scroll",bt),()=>{window.removeEventListener("scroll",bt)}),[Se]),we.createElement("div",{className:Te()(We.anchorNavigation,Ve),style:et},we.createElement(Fe.default,{items:Se,tabBarGutter:60,className:We.tabs,activeKey:pe,onChange:at}),Se.map(Ze=>we.createElement("div",{key:Ze.key,id:Ze.key,className:We.box},we.createElement("div",{className:We.head},we.createElement("img",{className:"mr10",src:ue,alt:"Dot"}),Ze.label),we.createElement("div",{className:We.element},Ze.element))))}},64322:function(wn,zt,E){"use strict";E.d(zt,{Q8:function(){return se},d0:function(){return Be},w6:function(){return Ze}});var b=E(59301),We=E(24017),de=E(82326),Ke=E(6767),De=E(62957),ve=E(47889),ye=E(77019),fe=E(5269),xe=E(25399),ue=E(62673),Fe=E(7939),Ce=E(66649),Te=E.n(Ce),we=E(10102),Me=E(22972),ge=E(89392),Ae=E.n(ge),Pe=E(68911),Re=E(43197),tt=E(63823),ce=E(2356),Oe=E(17958),Ue=E(40782),ze=E(15567),nt=E(52123),ke=E(59301),Ve=Object.defineProperty,et=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,gt=(rt,xt,ct)=>xt in rt?Ve(rt,xt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):rt[xt]=ct,$e=(rt,xt)=>{for(var ct in xt||(xt={}))pe.call(xt,ct)&>(rt,ct,xt[ct]);if(qe)for(var ct of qe(xt))be.call(xt,ct)&>(rt,ct,xt[ct]);return rt},at=(rt,xt)=>et(rt,Se(xt)),bt=(rt,xt,ct)=>new Promise((wt,ft)=>{var It=ae=>{try{oe(ct.next(ae))}catch(te){ft(te)}},Dt=ae=>{try{oe(ct.throw(ae))}catch(te){ft(te)}},oe=ae=>ae.done?wt(ae.value):Promise.resolve(ae.value).then(It,Dt);oe((ct=ct.apply(rt,xt)).next())});function Ze(rt,xt){const ct=[];for(let wt=rt;wt<xt;wt++)ct.push(wt);return ct}const se=(rt,xt,ct)=>{const wt=rt<Te()().startOf("day"),ft=rt>Te()(xt).endOf("day"),It=rt<Te()(ct).startOf("day");return xt?ct?Te()()<=Te()(ct)?It||ft:wt||ft:rt&&wt||ft:ct&&Te()()<=Te()(ct)?It:wt},Be=(rt,xt)=>{const ct=parseInt(Te()(rt).format("HH")),wt=parseInt(Te()().format("HH")),ft=parseInt(Te()().format("mm"));if(!rt)return{disabledHours:()=>Ze(0,wt),disabledMinutes:()=>Ze(0,ft)};if(xt){const It=parseInt(Te()(xt).format("HH")),Dt=parseInt(Te()(xt).format("mm"));return Te()(rt).isSame(Te()(xt),"day")?{disabledHours:()=>Ze(0,It),disabledMinutes:()=>ct<=It?Ze(0,Dt):[]}:void 0}if(Te()(rt).isSame(Te()(),"day"))return{disabledHours:()=>Ze(0,wt),disabledMinutes:()=>Te()(rt).isSame(Te()(),"hour")&&ct<=wt?Ze(0,ft):[]}},Je=(rt,xt)=>rt==null?void 0:rt.map(ct=>{var wt;return(wt=xt==null?void 0:xt.find(ft=>ft.value===ct))==null?void 0:wt.id}),{RangePicker:lt}=We.default,{Option:Ee}=de.default,je=({shixunHomeworks:rt,loading:xt,dispatch:ct,classroomList:wt,user:ft})=>{var It,Dt,oe,ae,te,x,re,ne,le;const Ie=(0,tt.useParams)(),{workSetting:Le,workList:Ye,shixunWorkList:Ge,headerInfo:it,changeData:dt}=rt,[yt,ot]=(0,b.useState)(!1),[st,Vt]=(0,b.useState)(!1);let[kt,un]=(0,b.useState)([]),[$t,Rt]=(0,b.useState)([]),[Kt,qt]=(0,b.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ce.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[Et,Tt]=(0,b.useState)({}),[on,mn]=(0,b.useState)({});(0,b.useEffect)(()=>()=>{un([])},[]),(0,b.useEffect)(()=>{ot(!(0,we.GJ)())},[(0,we.GJ)()]);const vt=()=>{ct({type:"shixunHomeworks/getWorkSetting",payload:$e({},Ie)})};(0,b.useEffect)(()=>{if(!(Le!=null&&Le.course_id))return;Object.keys(Kt).map(function(Ot){Kt[Ot]=Le[Ot]}),(!Kt.allow_late||!Kt.unified_late)&&(Kt.late_penalty=20,Kt.penalty_type=ce.Q.Percent),Kt.unified_setting||(Kt.unified_late=!1,Kt.unified_anonymous_comment=!1,Kt.unified_anonymous_appeal=!1),kt=JSON.parse(JSON.stringify(Le.group_settings.map(Ot=>at($e({},Ot),{group_name:[Ot.group_name]})).filter(Ot=>Ot.publish_time!==null))),$t=JSON.parse(JSON.stringify(Le.allow_late_settings.map(Ot=>at($e({},Ot),{group_name:[Ot.group_name]})).filter(Ot=>Ot.late_time!==null))),qt($e({},Kt));const Wt=(0,Pe.QE)((kt==null?void 0:kt.length)>0?kt:[]);un([...Wt]),($t==null?void 0:$t.length)<=0?Rt([{penalty_type:ce.Q.Percent,late_penalty:20}]):Rt([...$t])},[Le]);const Mt=()=>bt(void 0,null,function*(){var Wt,Ot,ln,en,Jt,Sn,yn,Mn;if(((ln=(Ot=(Wt=ft==null?void 0:ft.userInfo)==null?void 0:Wt.course)==null?void 0:Ot.shixun_homework_info)==null?void 0:ln.shixun_homework_remaining_count)===0&&((Jt=(en=rt==null?void 0:rt.headerInfo)==null?void 0:en.homework_status)!=null&&Jt.includes("\u672A\u53D1\u5E03"))){(0,Pe.bR)(`\u60A8\u4ECA\u65E5\u5728\u3010${(yn=(Sn=(0,we.eY)())==null?void 0:Sn.course)==null?void 0:yn.course_name}\u3011\u7684\u8BFE\u5802\u5B9E\u9A8C\u4F5C\u4E1A\u53D1\u5E03\u989D\u5EA6\u5DF2\u7528\u5B8C\u3002\u989D\u5EA6\u5C06\u4E8E\u6BCF\u65E524\u70B9\u91CD\u7F6E\uFF0C\u5C4A\u65F6\u5373\u53EF\u7EE7\u7EED\u53D1\u5E03\u3002\u5982\u9700\u7ACB\u5373\u53D1\u5E03\u66F4\u591A\u4F5C\u4E1A\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u6269\u5BB9\u3002`);return}if(((Mn=ft==null?void 0:ft.userInfo)==null?void 0:Mn.user_status)===2){(0,Oe.Rd)();return}const Yn=JSON.parse(JSON.stringify(Kt));if(Yn.challenge_settings.filter(In=>!In.hide),Yn.categoryId=Ie.categoryId,console.log(kt),!Kt.unified_setting)kt=kt==null?void 0:kt.map(In=>{var ar;if(!In.publish_time||!In.end_time)throw Ke.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!In.group_name)throw Ke.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return In.group_name=typeof(In==null?void 0:In.group_name)=="string"?[In==null?void 0:In.group_name]:In==null?void 0:In.group_name,In.group_id=(ar=Le.group_settings)==null?void 0:ar.filter(tr=>{var Rr;return(Rr=In==null?void 0:In.group_name)==null?void 0:Rr.includes(tr.group_name)}).map(tr=>tr.group_id||tr.id).toString().split(","),In});else if(!Kt.publish_time||!Kt.end_time)throw Ke.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(Yn.group_settings=kt,Kt.allow_late)if(Kt.unified_late){if(Kt.late_penalty===null||Kt.late_penalty===void 0||Kt.late_penalty<0||Kt.late_penalty>100)throw Ke.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Kt.late_time)throw Ke.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else $t=$t==null?void 0:$t.map(In=>{var ar,tr;if(In.late_penalty===null||In.late_penalty===void 0||In.late_penalty<0||In.late_penalty>100)throw Ke.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!In.late_time)throw Ke.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!In.group_name)throw Ke.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return In.group_name=typeof(In==null?void 0:In.group_name)=="string"?[In==null?void 0:In.group_name]:In==null?void 0:In.group_name,In.group_id=(tr=(ar=In==null?void 0:In.group_name)==null?void 0:ar.map(Rr=>{var Ir,En;let kn=(En=(Ir=Le.group_settings)==null?void 0:Ir.filter(nr=>(nr==null?void 0:nr.group_name)===Rr))==null?void 0:En[0];return kn==null?void 0:kn.group_id}))==null?void 0:tr.toString().split(","),In}),Yn.allow_late_settings=$t;let Wn=yield(0,nt.Tr)({homework_common_ids:[parseInt(Ie.categoryId)],course_id:Ie.coursesId,type:"homework_common"});(Wn==null?void 0:Wn.student_count)===0?Yt(Yn):(mn(Yn),Tt(Wn))}),Yt=Wt=>{if(Wt.total_score===null){Ke.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Wt!=null&&Wt.work_efficiency&&Wt.eff_score===null){Ke.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Ot=Wt.challenge_settings.reduce((Jt,Sn)=>Jt+Number(Sn.challenge_score),0),ln={shixun_evaluation:Wt.shixun_evaluation,challenge_settings:Wt.challenge_settings};let en=()=>{var Jt;const Sn=()=>bt(void 0,null,function*(){Vt(!0),(yield(0,Me.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_setting.json`,{method:"post",body:$e({},Wt)})).status===0&&(Ke.ZP.success("\u66F4\u65B0\u6210\u529F"),vt(),ct({type:"user/getUserInfo",payload:{course_id:Ie.coursesId}}),ct({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:$e({},Ie)})),Vt(!1)});!(0,ge.isEqual)(dt,ln)&&!((Jt=it==null?void 0:it.homework_status)!=null&&Jt.includes("\u672A\u53D1\u5E03"))?De.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Sn}):Sn()};Le!=null&&Le.high_resources_consume&&!(Le!=null&&Le.high_resources_consume_permission)?ct({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Ie.coursesId,type:"shixun",type_id:Ie.categoryId,name:Le.homework_name,fn:()=>{en()}}}):en()},sn=(Wt,Ot,ln="group_id")=>{var en;return Ot?Ot.find(Jt=>Jt[ln]===Wt):(en=Le==null?void 0:Le.group_settings)==null?void 0:en.find(Jt=>Jt.group_id[0]===Wt)},xn=(Le==null?void 0:Le.allow_late)||(Le==null?void 0:Le.anonymous_comment),Ln=Wt=>{var Ot,ln;const en=sn(Wt,Le==null?void 0:Le.allow_late_settings,"id"),Jt=sn(Wt,Le==null?void 0:Le.anonymous_comment_settings),Sn=sn(Wt);return(Le==null?void 0:Le.allow_late)&&en&&Te()(en==null?void 0:en.late_time)<=Te()()||(Le==null?void 0:Le.anonymous_comment)&&Jt&&(Jt==null?void 0:Jt.evaluation_start)!==null||((ln=(Te()(Sn==null?void 0:Sn.end_time)<=Te()()&&((Ot=Le==null?void 0:Le.allow_late_settings)==null?void 0:Ot.filter(yn=>yn.group_id.includes(Wt))))[0])==null?void 0:ln.late_time)!=null},Xn=(0,b.useMemo)(()=>(Le==null?void 0:Le.allow_late)||(Le==null?void 0:Le.all_group_late),[Le,it]),Jn=Le==null?void 0:Le.anonymous_comment,Bn=Wt=>{if(!Wt)return!1;const Ot=sn(Wt,Le==null?void 0:Le.anonymous_comment_settings);return(Le==null?void 0:Le.anonymous_comment)&&Ot&&(Ot==null?void 0:Ot.evaluation_start)!==null},Un=(Wt,Ot)=>{var ln,en,Jt,Sn,yn;Wt!=null&&Wt.group_id||(Wt.group_id=Je(Wt==null?void 0:Wt.group_name,Le==null?void 0:Le.group_settings)),ct({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Wt,index:Ot,rangePickerDisabled:(en=(ln=Wt==null?void 0:Wt.group_id)==null?void 0:ln[0])!=null&&en.publish_time?yt||(Te()()<=Te()((Sn=sn((Jt=Wt==null?void 0:Wt.group_id)==null?void 0:Jt[0]))==null?void 0:Sn.publish_time)?!1:[!0,Ln((yn=Wt==null?void 0:Wt.group_id)==null?void 0:yn[0])]):!1,disabledDate:Le==null?void 0:Le.course_end_date}})};return ke.createElement("section",{className:Re.Z.form},ke.createElement("div",{className:Re.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",ke.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),ke.createElement("div",null,ke.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ke.createElement(ve.ZP.Group,{disabled:yt||!((It=it==null?void 0:it.homework_status)!=null&&It.includes("\u672A\u53D1\u5E03"))||(0,we.Rm)()&&!((Dt=wt.AssistantObject.practice)!=null&&Dt.can_publish),value:Kt.unified_setting,onChange:Wt=>{var Ot;if(!((Ot=it==null?void 0:it.homework_status)!=null&&Ot.includes("\u672A\u53D1\u5E03"))){Ke.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Kt.unified_setting=!Kt.unified_setting,Kt.unified_setting||(Kt.unified_late=!1,Rt([{late_penalty:5}])),qt(Object.assign({},Kt)),Kt.unified_setting===!1&&kt==""){un(kt.concat({}));return}Kt.unified_setting&&(un([]),Rt([{late_penalty:5}]))}},ke.createElement(ve.ZP,{value:!0,disabled:yt||!(Le!=null&&Le.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),ke.createElement(ve.ZP,{disabled:yt||!((oe=Le==null?void 0:Le.group_settings)!=null&&oe.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ae=Le==null?void 0:Le.group_settings)==null?void 0:ae.length)===0&&ke.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),Kt.unified_setting&&ke.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},ke.createElement(ye.Z,{align:"middle"},ke.createElement(fe.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),ke.createElement(fe.Z,{className:"ml10"},ke.createElement(We.default,{size:"large",disabled:yt||!((te=it==null?void 0:it.homework_status)!=null&&te.includes("\u672A\u53D1\u5E03")||(x=it==null?void 0:it.homework_status)!=null&&x.includes("\u672A\u5F00\u59CB"))||(0,we.Rm)()&&!((re=wt.AssistantObject.practice)!=null&&re.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Wt=>se(Wt,Le==null?void 0:Le.course_end_date),disabledTime:Wt=>Be(Wt),value:Kt.publish_time?Te()(Kt.publish_time):"",onChange:(Wt,Ot)=>{Kt.publish_time=Ot,(Kt.end_time==""||!Kt.end_time)&&Kt.unified_setting&&(Kt.end_time=Te()(Wt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),qt(Object.assign({},Kt))}}))),ke.createElement(ye.Z,{align:"middle",className:"pl30"},ke.createElement(fe.Z,null,"\u622A\u6B62\u65F6\u95F4"),ke.createElement(fe.Z,{className:"ml10"},ke.createElement(We.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Te()((0,Pe.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Le==null?void 0:Le.allow_late)&&(Le==null?void 0:Le.homework_status.includes("\u5DF2\u622A\u6B62"))||yt||(Le==null?void 0:Le.allow_late)&&Te()()>=Te()(Le==null?void 0:Le.end_time)||(0,we.Rm)()&&!((ne=wt.AssistantObject.practice)!=null&&ne.can_publish),disabledDate:Wt=>se(Wt,Le==null?void 0:Le.course_end_date,Kt.publish_time),disabledTime:Wt=>Be(Wt,Kt.publish_time),value:Kt.end_time?Te()(Kt.end_time):"",onChange:(Wt,Ot)=>{Kt.end_time=Ot,qt(Object.assign({},Kt))}})))),!Kt.unified_setting&&(kt==null?void 0:kt.length)>0&&ke.createElement(ye.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},kt&&kt.map(function(Wt,Ot){var ln,en,Jt,Sn,yn,Mn,Yn;return ke.createElement(fe.Z,{span:24,key:Ot},ke.createElement(ye.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ot==(kt==null?void 0:kt.length)-1?"0px":"10px"}},ke.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Ot+1),ke.createElement(de.default,{disabled:yt||((ln=it==null?void 0:it.homework_status)!=null&&ln.includes("\u672A\u53D1\u5E03")&&Wt.id||Te()()<Te()(Wt==null?void 0:Wt.publish_time)?!1:!!(Wt!=null&&Wt.publish_time))||(0,we.Rm)()&&!((en=wt.AssistantObject.practice)!=null&&en.can_publish),mode:"multiple",className:Re.Z.multiple_select,style:{width:"250px"},value:Wt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Wn=>{var In;if((0,we.Rm)()&&!((In=wt.AssistantObject.practice)!=null&&In.can_publish)){Ke.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}kt[Ot].group_name=Wn,kt[Ot].group_id=Wt.group_id;const ar=(0,ge.flattenDeep)(kt.map(Rr=>Rr.group_name)),tr=$t.map(Rr=>{let Ir=(Rr==null?void 0:Rr.group_name)||[];return at($e({},Rr),{group_name:(0,ge.remove)(Ir,En=>ar.includes(En))})});Rt(tr),un(kt.slice())},maxTagCount:4,maxTagPlaceholder:Wn=>ke.createElement("div",{style:{cursor:"pointer"},onClick:()=>Un(Wt,Ot)},"+",Wn==null?void 0:Wn.length)},Le.group_settings&&Le.group_settings.map(function(Wn){if(!kt.map(ar=>ar.group_name).flat().includes(Wn.group_name))return ke.createElement(Ee,{value:Wn.group_name,key:Wn.id},Wn.group_name)})),ke.createElement("div",{className:"ml20"},ke.createElement(lt,{size:"large",ranges:{\u6B64\u523B:[Wt.publish_time?Te()(Wt.publish_time):Te()(),Te()()]},allowClear:!1,disabled:yt||(Te()()<=Te()((Sn=sn((Jt=Wt==null?void 0:Wt.group_id)==null?void 0:Jt[0]))==null?void 0:Sn.publish_time)?!1:[!0,Ln((yn=Wt==null?void 0:Wt.group_id)==null?void 0:yn[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Wn=>se(Wn,Le==null?void 0:Le.course_end_date),disabledTime:Wn=>Be(Wn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Te()((0,Pe.U6)(),"HH:mm"),Te()((0,Pe.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[Wt.publish_time?Te()(Wt.publish_time):void 0,Wt.end_time?Te()(Wt.end_time):void 0],onChange:(Wn,In)=>{var ar;if((0,we.Rm)()&&!((ar=wt.AssistantObject.practice)!=null&&ar.can_publish)){Ke.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}kt[Ot].publish_time=In[0],!Wt.end_time&&In[0]?kt[Ot].end_time=Te()(In[0]).add(7,"days"):kt[Ot].end_time=In[1],un([...kt])},onCalendarChange:(Wn,In,ar)=>{if(In!=null&&In[0]&&!In[1]){const tr=Te()(In[0]).add(7,"days");kt[Ot].publish_time=In[0],kt[Ot].end_time=tr,un([...kt])}}})),!yt&&ke.createElement("div",{style:{display:"flex",width:"50px"}},((Mn=Wt==null?void 0:Wt.group_id)==null?void 0:Mn.length)>1&&ke.createElement(xe.Z,{title:"\u89C4\u5219\u62C6\u5206"},ke.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Un(Wt,Ot)})),kt.length<((Yn=Le==null?void 0:Le.group_settings)==null?void 0:Yn.length)&&ke.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Wn;if((0,we.Rm)()&&!((Wn=wt.AssistantObject.practice)!=null&&Wn.can_publish)){Ke.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}un(kt.concat({}))}}),((Wt==null?void 0:Wt.publish_time)&&Te()()<Te()(Wt==null?void 0:Wt.publish_time)||!(Wt!=null&&Wt.publish_time))&&Ot!=0&&ke.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Wn=(0,ge.cloneDeep)($t);Wn.forEach((In,ar)=>{In.group_name&&(In.group_name=In.group_name.filter(tr=>{var Rr;return!((Rr=kt[Ot].group_name)!=null&&Rr.includes(tr))}))}),kt=kt.filter((In,ar)=>Ot!==ar),Rt(Wn),un(kt.slice()),setTimeout(()=>un(kt.slice()),10)}}))))}))),ke.createElement(ye.Z,null,ke.createElement(fe.Z,null,ke.createElement("div",{className:Re.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",ke.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),ke.createElement(fe.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},ke.createElement(ue.default,{checked:Kt.allow_late,disabled:yt||Xn,onChange:Wt=>{var Ot;if((0,we.Rm)()&&!((Ot=wt.AssistantObject.practice)!=null&&Ot.can_late)){Ke.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}Wt.target.checked&&De.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:ke.createElement("div",{style:{padding:10,background:"#f5f6f9"}},ke.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),ke.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),ke.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Kt.allow_late=!Kt.allow_late,$t==""&&Rt([{late_penalty:5}]),qt(Object.assign({},Kt))}},ke.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Kt==null?void 0:Kt.allow_late)&&ke.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},ke.createElement("div",{style:{display:"flex"}},ke.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),ke.createElement(ve.ZP.Group,{style:{marginLeft:"20px"},disabled:yt||(Le==null?void 0:Le.anonymous_comment)||(Le==null?void 0:Le.allow_late),value:Kt.unified_late,onChange:Wt=>{var Ot;if((0,we.Rm)()&&!((Ot=wt.AssistantObject.practice)!=null&&Ot.can_late)){Ke.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}Kt.unified_late=Wt.target.value,$t==""&&!Wt.target.value&&Rt([{penalty_type:ce.Q.Percent,late_penalty:20}]),qt($e({},Kt))}},(Kt==null?void 0:Kt.unified_setting)&&ke.createElement(ve.ZP,{value:!0,disabled:!(Le!=null&&Le.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((le=Le==null?void 0:Le.group_settings)==null?void 0:le.length)>0&&ke.createElement(ve.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Kt!=null&&Kt.unified_late?ke.createElement(ke.Fragment,null,ke.createElement(ye.Z,{align:"middle",style:{marginTop:"10px"}},ke.createElement(fe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),ke.createElement(fe.Z,{className:"ml20"},ke.createElement(ce.Z,{disabled:yt||Jn,value:{type:Kt.penalty_type,inputValue:Kt.late_penalty},onChange:Wt=>{var Ot;if((0,we.Rm)()&&!((Ot=wt.AssistantObject.practice)!=null&&Ot.can_late)){Ke.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}qt(at($e({},Kt),{late_penalty:Wt.inputValue,penalty_type:Wt.type}))}})),ke.createElement(fe.Z,{flex:"1",className:"ml5"},ke.createElement("span",{className:"c-grey-c ml10"},Kt.penalty_type===ce.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),ke.createElement(ye.Z,{align:"middle",style:{marginTop:"15px"}},ke.createElement(fe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ke.createElement(fe.Z,{className:"ml20"},ke.createElement(We.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Te()((0,Pe.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:yt||Jn,value:Kt.late_time?Te()(Kt.late_time):"",disabledDate:Wt=>se(Wt,Le==null?void 0:Le.course_end_date),onChange:(Wt,Ot)=>{var ln;if((0,we.Rm)()&&!((ln=wt.AssistantObject.practice)!=null&&ln.can_late)){Ke.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}Kt.late_time=Ot,qt(Object.assign({},Kt))}})))):$t.map(function(Wt,Ot){var ln;return ke.createElement(fe.Z,{span:24,key:Ot},ke.createElement(ye.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},ke.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Ot+1),ke.createElement(de.default,{disabled:yt||!((ln=it==null?void 0:it.homework_status)!=null&&ln.includes("\u672A\u53D1\u5E03"))&&Wt.id||(Le==null?void 0:Le.anonymous_comment),mode:"multiple",className:Re.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Wt.group_name=="string"?[Wt.group_name]:Wt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:en=>{var Jt;if((0,we.Rm)()&&!((Jt=wt.AssistantObject.practice)!=null&&Jt.can_late)){Ke.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}$t[Ot].group_name=en,$t[Ot].group_id=Wt.group_id,Rt($t.slice())}},Le.group_settings&&Le.group_settings.map(function(en){const Jt=$t.map(yn=>yn.group_name).flat(),Sn=kt.map(yn=>yn.group_name).flat();if(Kt!=null&&Kt.unified_setting){if(!Jt.includes(en.group_name))return ke.createElement(Ee,{value:en.group_name,key:en.id},en.group_name)}else if(Sn.includes(en.group_name)&&!Jt.includes(en.group_name))return ke.createElement(Ee,{value:en.group_name,key:en.id},en.group_name)})),ke.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),ke.createElement(ce.Z,{disabled:yt||Bn(Wt.id),value:{type:Wt.penalty_type,inputValue:Wt.late_penalty},onChange:en=>{var Jt;if((0,we.Rm)()&&!((Jt=wt.AssistantObject.practice)!=null&&Jt.can_late)){Ke.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}$t[Ot].late_penalty=en.inputValue,$t[Ot].penalty_type=en.type,Rt([...$t])}}),ke.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),ke.createElement(We.default,{size:"large",disabled:yt||Bn(Wt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Te()((0,Pe.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:en=>se(en,Le==null?void 0:Le.course_end_date),format:"YYYY-MM-DD HH:mm",value:Wt!=null&&Wt.late_time?Te()(Wt.late_time):void 0,onChange:(en,Jt)=>{var Sn;if((0,we.Rm)()&&!((Sn=wt.AssistantObject.practice)!=null&&Sn.can_late)){Ke.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}$t[Ot].late_time=Jt,Rt([...$t])}}),!yt&&ke.createElement("div",{style:{display:"flex",width:"50px"}},ke.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var en;if((0,we.Rm)()&&!((en=wt.AssistantObject.practice)!=null&&en.can_late)){Ke.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}Rt($t.concat({penalty_type:ce.Q.Percent,late_penalty:20}))}}),Ot>0&&!Wt.id&&ke.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var en;if((0,we.Rm)()&&!((en=wt.AssistantObject.practice)!=null&&en.can_late)){Ke.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}$t=$t.filter((Jt,Sn)=>Ot!==Sn),Rt($t.slice()),setTimeout(()=>Rt($t.slice()),10)}}))))})),!yt&&ke.createElement(ke.Fragment,null,ke.createElement(Fe.ZP,{type:"primary",size:"large",loading:st,style:{width:"138px",marginTop:"30px"},onClick:()=>Mt()},"\u4FDD\u5B58")),ke.createElement(Ue.Z,{onConfirm:(Wt,Ot)=>{kt.splice(Wt,0,...Ot),kt.splice(Wt+Ot.length,1);const ln=(0,Pe.QE)([...kt]);un([...ln])}}),ke.createElement(ze.Z,{resdata:Et,type:"shixun",okloading:st,oktext:(Et==null?void 0:Et.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Wt=>bt(void 0,null,function*(){Vt(!0);let Ot=yield(0,Me.ZP)(`/api/courses/${Ie.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Ie.categoryId)]}});Vt(!1),(Ot==null?void 0:Ot.status)===0&&Yt(on)})}))};zt.ZP=(0,tt.connect)(({shixunHomeworks:rt,classroomList:xt,loading:ct,user:wt})=>({shixunHomeworks:rt,classroomList:xt,loading:ct.effects,user:wt}))(je)},28104:function(wn,zt,E){"use strict";var b=E(59301),We=E(94968),de=E(28284),Ke=E(62957),De=E(6767),ve=E(70858),ye=E(63823),fe=E(35783),xe=E(80067),ue=E(22972),Fe=E(66649),Ce=E.n(Fe),Te=E(68911),we=E(59301),Me=Object.defineProperty,ge=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Re=(ze,nt,ke)=>nt in ze?Me(ze,nt,{enumerable:!0,configurable:!0,writable:!0,value:ke}):ze[nt]=ke,tt=(ze,nt)=>{for(var ke in nt||(nt={}))Ae.call(nt,ke)&&Re(ze,ke,nt[ke]);if(ge)for(var ke of ge(nt))Pe.call(nt,ke)&&Re(ze,ke,nt[ke]);return ze},ce=(ze,nt,ke)=>new Promise((Ve,et)=>{var Se=be=>{try{pe(ke.next(be))}catch(gt){et(gt)}},qe=be=>{try{pe(ke.throw(be))}catch(gt){et(gt)}},pe=be=>be.done?Ve(be.value):Promise.resolve(be.value).then(Se,qe);pe((ke=ke.apply(ze,nt)).next())});const{Dragger:Oe}=We.default,Ue=({classroomList:ze,dispatch:nt,onOk:ke})=>{const Ve=(0,ye.useParams)(),[et]=de.default.useForm(),[Se,qe]=(0,b.useState)(),[pe,be]=(0,b.useState)(!1),gt={height:100,onRemove:()=>{qe("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:$e=>ce(void 0,null,function*(){return qe($e),!1})};return(0,b.useEffect)(()=>{et.setFieldsValue({publish_time:Ce()(Ce()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ce()(Ce()(new Date((0,Te.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),we.createElement(Ke.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:ze.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:pe},onOk:()=>ce(void 0,null,function*(){et.submit()}),onCancel:()=>{et.resetFields(),nt({type:"classroomList/setActionTabs",payload:{}})}},we.createElement(de.default,{form:et,onFinish:$e=>ce(void 0,null,function*(){var at,bt,Ze;if(!(Se!=null&&Se.size)){De.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}be(!0);let se=new FormData;se.append("type",ze.actionTabs.type),se.append("file",Se);let Be;window.location.href.indexOf("exercise")>-1?Be=`/api/exercises/${ze.actionTabs.id}/supplement_score.json`:Be=`/api/homework_commons/${ze.actionTabs.id}/supplement_score.json`;let Je=yield(0,ue.ZP)(Be,{method:"post",body:se},!0);be(!1),(Je==null?void 0:Je.status)===0&&(ke(),et.resetFields(),nt({type:"classroomList/setActionTabs",payload:{}}),((bt=(at=Je==null?void 0:Je.data)==null?void 0:at.fail)==null?void 0:bt.length)>0&&Ke.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:we.createElement(ve.default,{pagination:!1,dataSource:(Ze=Je==null?void 0:Je.data)==null?void 0:Ze.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Te.FH)("",fe.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${ze.actionTabs.type}`)}}))})},we.createElement(de.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},ze.actionTabs.name),we.createElement(de.default.Item,{style:{marginBottom:0},label:we.createElement("div",null,we.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),we.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},we.createElement("div",null,we.createElement("a",{download:"\u6A21\u7248.xlsx",className:xe.Z.downloadbutton,href:fe.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${ze.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),we.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),we.createElement(de.default.Item,{style:{marginBottom:0}},we.createElement(Oe,tt({},gt),we.createElement("a",{className:xe.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),we.createElement("br",null),we.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};zt.Z=(0,ye.connect)(({classroomList:ze})=>({classroomList:ze}))(Ue)},39653:function(wn,zt,E){"use strict";var b=E(59301),We=E(94968),de=E(28284),Ke=E(62957),De=E(4875),ve=E(63823),ye=E(22972),fe=E(66649),xe=E.n(fe),ue=E(68911),Fe=E(59301),Ce=Object.defineProperty,Te=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Pe=(ze,nt,ke)=>nt in ze?Ce(ze,nt,{enumerable:!0,configurable:!0,writable:!0,value:ke}):ze[nt]=ke,Re=(ze,nt)=>{for(var ke in nt||(nt={}))ge.call(nt,ke)&&Pe(ze,ke,nt[ke]);if(Me)for(var ke of Me(nt))Ae.call(nt,ke)&&Pe(ze,ke,nt[ke]);return ze},tt=(ze,nt)=>Te(ze,we(nt)),ce=(ze,nt,ke)=>new Promise((Ve,et)=>{var Se=be=>{try{pe(ke.next(be))}catch(gt){et(gt)}},qe=be=>{try{pe(ke.throw(be))}catch(gt){et(gt)}},pe=be=>be.done?Ve(be.value):Promise.resolve(be.value).then(Se,qe);pe((ke=ke.apply(ze,nt)).next())});const{Dragger:Oe}=We.default,Ue=({classroomList:ze,dispatch:nt,onOk:ke})=>{const Ve=(0,ve.useParams)(),[et]=de.default.useForm(),[Se,qe]=(0,b.useState)(),[pe,be]=(0,b.useState)(!1),gt={height:100,onRemove:()=>{qe("")},accept:".xls,.xlsx",multiple:!1,beforeUpload:$e=>ce(void 0,null,function*(){return qe($e),!1})};return(0,b.useEffect)(()=>{et.setFieldsValue({publish_time:xe()(xe()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:xe()(xe()(new Date((0,ue.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),Fe.createElement(Ke.default,{centered:!0,title:"\u4FEE\u6539\u6210\u7EE9",open:ze.actionTabs.key==="\u4FEE\u6539\u6210\u7EE9",okText:"\u786E\u5B9A",width:600,cancelText:"\u53D6\u6D88",okButtonProps:{loading:pe},onOk:()=>ce(void 0,null,function*(){et.submit()}),onCancel:()=>{et.resetFields(),nt({type:"classroomList/setActionTabs",payload:{}})}},Fe.createElement(de.default,{form:et,onFinish:$e=>ce(void 0,null,function*(){var at,bt;console.log("---",ze.actionTabs,$e,Ve);let Ze=((at=ze==null?void 0:ze.actionTabs)==null?void 0:at.type)==="exercise"?`/api/exercises/${Ve==null?void 0:Ve.category}/exercise_user/edit_score.json`:`/api/student_works/${ze.actionTabs.id}/edit_score.json`;be(!0);let se=yield(0,ye.ZP)(Ze,{method:"post",body:tt(Re({},$e),{exercise_user_id:((bt=ze==null?void 0:ze.actionTabs)==null?void 0:bt.type)==="exercise"?ze.actionTabs.id:""})});be(!1),et.resetFields(),nt({type:"classroomList/setActionTabs",payload:{}}),ke()})},Fe.createElement(de.default.Item,{label:"\u6700\u7EC8\u6210\u7EE9",style:{marginBottom:0},name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u7EC8\u6210\u7EE9"}]},Fe.createElement(De.Z,{min:0,style:{width:"100%"}}))))};zt.Z=(0,ve.connect)(({classroomList:ze})=>({classroomList:ze}))(Ue)},93346:function(wn,zt,E){"use strict";var b=E(59301),We=E(94968),de=E(28284),Ke=E(7939),De=E(77019),ve=E(44104),ye=E(24017),fe=E(63823),xe=E(66649),ue=E.n(xe),Fe=E(64322),Ce=E(22972),Te=E(59301),we=(Ae,Pe,Re)=>new Promise((tt,ce)=>{var Oe=nt=>{try{ze(Re.next(nt))}catch(ke){ce(ke)}},Ue=nt=>{try{ze(Re.throw(nt))}catch(ke){ce(ke)}},ze=nt=>nt.done?tt(nt.value):Promise.resolve(nt.value).then(Oe,Ue);ze((Re=Re.apply(Ae,Pe)).next())});const{Dragger:Me}=We.default,ge=({})=>{const Ae=(0,fe.useParams)(),[Pe]=de.default.useForm(),[Re,tt]=(0,b.useState)(!0),[ce,Oe]=(0,b.useState)(!1);console.log("----",Ae);function Ue(){return we(this,null,function*(){var ze,nt;let ke;window.location.href.indexOf("exercise")>-1?ke=`/api/exercises/${Ae==null?void 0:Ae.categoryId}/get_time_setting.json`:ke=`/api/homework_commons/${Ae==null?void 0:Ae.categoryId}/get_time_setting.json`;let Ve=yield(0,Ce.ZP)(ke,{method:"get"});(Ve==null?void 0:Ve.status)===0&&Pe.setFieldsValue({publish_time:ue()(ue()((ze=Ve==null?void 0:Ve.data)==null?void 0:ze.publish_time).format("YYYY-MM-DD HH:mm")),end_time:ue()(ue()((nt=Ve==null?void 0:Ve.data)==null?void 0:nt.end_time).format("YYYY-MM-DD HH:mm"))})})}return(0,b.useEffect)(()=>{Ue()},[]),Te.createElement("div",{style:{padding:"50px 30px",background:"#fff"}},Te.createElement("div",{style:{textAlign:"end"}},Re&&Te.createElement(Ke.ZP,{onClick:()=>{tt(!1)}},"\u7F16\u8F91\u8BBE\u7F6E"),!Re&&Te.createElement("div",null,Te.createElement(Ke.ZP,{type:"primary",loading:ce,onClick:()=>{Pe.submit()}},"\u63D0\u4EA4"),Te.createElement(Ke.ZP,{style:{marginLeft:20},onClick:()=>{tt(!0)}},"\u53D6\u6D88"))),Te.createElement(de.default,{form:Pe,disabled:Re,onFinish:ze=>we(void 0,null,function*(){Oe(!0),console.log("---",window.location.href);let nt;window.location.href.indexOf("exercise")>-1?nt=`/api/exercises/${Ae==null?void 0:Ae.categoryId}/time_setting.json`:nt=`/api/homework_commons/${Ae==null?void 0:Ae.categoryId}/time_setting.json`;let ke=yield(0,Ce.ZP)(nt,{method:"post",body:{publish_time:ue()(ze.publish_time).format("YYYY-MM-DD HH:mm"),end_time:ue()(ze.end_time).format("YYYY-MM-DD HH:mm")}});Oe(!1),(ke==null?void 0:ke.status)===0&&tt(!0)})},Te.createElement(De.Z,null,Te.createElement(ve.Z,null,Te.createElement(de.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},Te.createElement(ye.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ze=>(0,Fe.Q8)(ze),disabledTime:ze=>(0,Fe.d0)(ze),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),Te.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u7684\u65F6\u95F4\uFF09"))),Te.createElement(De.Z,null,Te.createElement(ve.Z,null,Te.createElement(de.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},Te.createElement(ye.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:260},size:"large",disabledDate:ze=>(0,Fe.Q8)(ze,"",Pe.getFieldValue("publish_time")),disabledTime:ze=>(0,Fe.d0)(ze,Pe.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})),Te.createElement("span",{style:{color:"#999999",fontSize:"14px",height:40,marginBottom:8,display:"block"}},"\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u7684\u65F6\u95F4\u622A\u70B9\uFF09")))))};zt.Z=(0,fe.connect)(({classroomList:Ae})=>({classroomList:Ae}))(ge)},45900:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return ue}});var b=E(59301),We=E(37568),de=E(62673),Ke=E(77019),De={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ye=E(71347),fe=(Fe,Ce,Te)=>new Promise((we,Me)=>{var ge=Re=>{try{Pe(Te.next(Re))}catch(tt){Me(tt)}},Ae=Re=>{try{Pe(Te.throw(Re))}catch(tt){Me(tt)}},Pe=Re=>Re.done?we(Re.value):Promise.resolve(Re.value).then(ge,Ae);Pe((Te=Te.apply(Fe,Ce)).next())}),ue=({data:Fe,value:Ce=[],handleChangePage:Te,className:we="",setSelectedRowKeys:Me,selectedRowKeys:ge,onChange:Ae=()=>{}})=>{const[Pe,Re]=(0,b.useState)([]),[tt,ce]=(0,b.useState)([]),[Oe,Ue]=(0,b.useState)([]);let[ze,nt]=(0,b.useState)(1),[ke,Ve]=(0,b.useState)();return(0,b.useEffect)(()=>{Re(Fe),ce([]),Ue([])},[Fe]),(0,b.useEffect)(()=>{Me&&(ce(ge),Ue(ge))},[ge]),b.createElement("div",{className:`flex justify-between w-full ${we}`},b.createElement("div",{className:De.leftdiv},b.createElement(We.default.Search,{size:"middle",style:{marginBottom:"10rem"},onChange:et=>fe(void 0,null,function*(){Re(Fe.filter(Se=>{var qe;return(qe=Se==null?void 0:Se.name)==null?void 0:qe.includes(et.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Pe.length===0&&b.createElement(ye.Z,{styles:{margin:"70rem auto"},customText:"\u6682\u65E0\u5206\u73ED"}),b.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},b.createElement(de.default.Group,{value:tt.map(et=>`${et.id}`),onChange:et=>{Me(Pe.filter(Se=>et.includes(`${Se.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},Pe.map((et,Se)=>b.createElement(Ke.Z,{key:et.id,style:{marginTop:"10rem",lineHeight:"24rem",display:"flex",width:"200rem"}},b.createElement(de.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:et.is_published,value:`${et.id}`},b.createElement("div",{className:De.listClass},b.createElement("span",{className:De.spantitle,style:{width:et.is_published?"108px":"170px"}},et.name),et.is_published&&b.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),b.createElement("div",{className:De.rightdiv},b.createElement(We.default.Search,{onChange:et=>{Ue(tt.filter(Se=>Se.name.includes(et.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Oe.length===0&&b.createElement(ye.Z,{imgStyles:{width:"200rem"},styles:{margin:"70rem auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Oe.length>0&&b.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},b.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Oe.map((et,Se)=>b.createElement("div",{className:"flex justify-between item-center",style:{marginTop:"10rem"},key:et.id},b.createElement("div",{className:"multi_ellipsis1 flex-1 minW-0",style:{margin:"0 5rem"}},et.name),b.createElement("img",{src:ve,className:"current",style:{height:"16rem",marginRight:"17rem"},onClick:()=>{Me(tt.filter(qe=>`${qe.id}`!=`${et.id}`))}})))))))}},57058:function(wn,zt,E){"use strict";E.d(zt,{Ei:function(){return Pe},rU:function(){return Re},ZP:function(){return ce}});var b=E(59301),We={wrap:"wrap___W3YuU",title:"title___OzKge",sub_title:"sub_title___mweTZ",flex_box:"flex_box___ywhFC",exhibition:"exhibition___ugphm",title_icon:"title_icon___QGbm6"},de=E(28284),Ke=E(47889),De=E(4875),ve=E(62673),ye=E(25399),fe=E(5269),xe=E(92310),ue=E.n(xe),Fe=E(59301),Ce=Object.defineProperty,Te=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ge=(Oe,Ue,ze)=>Ue in Oe?Ce(Oe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Oe[Ue]=ze,Ae=(Oe,Ue)=>{for(var ze in Ue||(Ue={}))we.call(Ue,ze)&&ge(Oe,ze,Ue[ze]);if(Te)for(var ze of Te(Ue))Me.call(Ue,ze)&&ge(Oe,ze,Ue[ze]);return Oe};const Pe=({value:Oe,className:Ue,style:ze})=>{const[nt,ke]=(0,b.useState)("0");(0,b.useEffect)(()=>{if(Oe){const{submit_limit:et,must_file:Se}=Oe;if(et&&Se){ke("1");return}if(et&&!Se){ke("2");return}if(!et&&Se){ke("3");return}}},[Oe]);const Ve={1:Fe.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",Fe.createElement("span",{className:"ml5 mr5 c-light-primary"},Oe==null?void 0:Oe.submit_limit_num),"\u5B57\u7B26\uFF0C\u5E76\u4E14\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002"),2:Fe.createElement("span",null,"\u4F5C\u4E1A\u5185\u5BB9\u81F3\u5C11\u586B\u5199",Fe.createElement("span",{className:"ml5 mr5 c-light-primary"},Oe==null?void 0:Oe.submit_limit_num),"\u5B57\u7B26"),3:Fe.createElement("span",null,"\u5FC5\u987B\u4E0A\u4F20\u76F8\u5173\u9644\u4EF6\u3002")};return nt==="0"?Fe.createElement(Fe.Fragment,null):Fe.createElement("section",{className:ue()(We.exhibition,Ue),style:ze},Fe.createElement("span",{className:"c-grey-666 mr10"},"\u63D0\u4EA4\u4F5C\u4E1A\u8981\u6C42\uFF1A"),Ve==null?void 0:Ve[nt])},Re=({className:Oe,style:Ue,form:ze})=>{const nt=de.default.useWatch("submit_limit",ze),ke=de.default.useWatch("can_submit",ze),Ve=de.default.useWatch("submit_num",ze);return Fe.createElement("section",{className:ue()(We.wrap,Oe),style:Ue},Fe.createElement("div",{className:`${We.title}`},Fe.createElement("span",null,"\u4F5C\u4E1A\u63D0\u4EA4\u6B21\u6570")),Fe.createElement(de.default.Item,{name:"can_submit",style:{lineHeight:"40px"}},Fe.createElement(Ke.ZP.Group,{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Fe.createElement(Ke.ZP,{value:!1,style:{marginRight:"40px"}},Fe.createElement("span",{style:{color:"#000000"}},"\u4E0D\u9650\u5236\u6B21\u6570")),Fe.createElement("br",null),Fe.createElement(Ke.ZP,{value:!0},Fe.createElement("span",{style:{color:"#000000"}},"\u9650\u5236\u6B21\u6570")))),Fe.createElement("div",null,ke?Fe.createElement("div",{style:{background:"#F6F7F9",padding:"18px 0px 18px 197px",display:"flex",marginTop:"1px"}},Fe.createElement(de.default.Item,{name:"submit_num",rules:ke?[{required:!0,message:"\u8BF7\u586B\u5199\u4F5C\u54C1\u6B21\u6570"}]:[]},Fe.createElement(De.Z,{precision:0,min:1,disabled:!ke,size:"large",addonAfter:"\u6B21",style:{width:133}})),Fe.createElement("div",{className:"flex flex-col ml15",style:{gap:"5px"}},Fe.createElement("span",{style:{color:"#666",fontSize:12}},Fe.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u8BF4\u660E\uFF1A"),"\u5B66\u751F\u5728\u622A\u6B62\u65F6\u95F4\u524D\u6700\u591A\u63D0\u4EA4\u4F5C\u4E1A ",Fe.createElement("span",{style:{color:"#FF6500"}},Ve)," \u6B21\uFF08\u542B\u4FEE\u6539\u548C\u66F4\u65B0\uFF09\uFF0C\u8FBE\u5230\u4E0A\u9650\u540E\u5C06\u65E0\u6CD5\u7EE7\u7EED\u63D0\u4EA4\u6216\u66F4\u65B0\u4F5C\u4E1A"),Fe.createElement("span",{style:{color:"#666",fontSize:12}},Fe.createElement("span",{style:{fontWeight:500}},"\u7279\u6B8A\u8BF4\u660E\uFF1A"),"\u82E5\u4F5C\u4E1A\u5F00\u542F\u8865\u4EA4\u4E14\u5B66\u751F\u6B21\u6570\u5DF2\u7528\u5B8C\uFF0C\u53EF\u989D\u5916\u63D0\u4EA4 ",Fe.createElement("span",{style:{color:"#FF6500"}},1)," \u6B21\uFF1B\u6559\u5E08\u6253\u56DE\u4F5C\u4E1A\u91CD\u505A\u65F6\uFF0C\u5B66\u751F\u5C06\u83B7\u5F97 ",Fe.createElement("span",{style:{color:"#FF6500"}},1)," \u6B21\u91CD\u65B0\u63D0\u4EA4\u673A\u4F1A\uFF08\u4E0D\u6D88\u8017\u539F\u6709\u6B21\u6570\uFF09"))):Fe.createElement("div",{style:{background:"#F6F7F9",padding:"18px 30px 18px 54px",display:"flex",alignItems:"center",color:"#666",marginTop:"1px"}},"\u89C4\u5219\u8BF4\u660E\uFF1A\u5141\u8BB8\u5B66\u751F\u5728\u622A\u6B62\u65F6\u95F4\u524D\u65E0\u9650\u6B21\u4FEE\u6539\u5E76\u91CD\u65B0\u63D0\u4EA4\u4F5C\u4E1A\uFF08\u6700\u7EC8\u6210\u7EE9\u4EE5\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u4E3A\u51C6\uFF09")),Fe.createElement("div",{className:`${We.title} mt30`},Fe.createElement("span",null,"\u4F5C\u4E1A\u63D0\u4EA4\u89C4\u5219")),Fe.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px"}},Fe.createElement(de.default.Item,{name:"submit_limit",valuePropName:"checked",style:{lineHeight:"40px"}},Fe.createElement(ve.default,null,"\u586B\u5199\u5185\u5BB9\u81F3\u5C11")),Fe.createElement(de.default.Item,{className:"mr10",name:"submit_limit_num",rules:nt?[{required:!0,message:"\u5B57\u6570\u4E0D\u80FD\u4E3A\u7A7A"}]:[]},Fe.createElement(De.Z,{precision:0,min:1,disabled:!nt,size:"large",addonAfter:"\u5B57",style:{width:223,marginRight:100}}))),Fe.createElement("div",{style:{background:"#F6F7F9",marginTop:1,padding:"5px 30px"}},Fe.createElement(de.default.Item,{name:"must_file",valuePropName:"checked",style:{marginLeft:0,lineHeight:"40px"}},Fe.createElement(ve.default,null,"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6"))),Fe.createElement("div",{style:{display:"flex",marginTop:1,background:"#F6F7F9",padding:"5px 30px",alignItems:"center"}},Fe.createElement(de.default.Item,{name:"can_deadline_submit",valuePropName:"checked",style:{lineHeight:"40px"}},Fe.createElement(ve.default,null,"\u4F5C\u4E1A\u622A\u6B62\u540E\u5141\u8BB8\u4FEE\u6539\u9644\u4EF6")),Fe.createElement("span",{style:{color:"#666",fontSize:12}},"\uFF08\u5F00\u542F\u540E\uFF0C\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5C06\u53EF\u4EE5\u4FEE\u6539\u9644\u4EF6\uFF0C\u672A\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u5219\u4E0D\u80FD\u4E0A\u4F20\u6216\u4FEE\u6539\u9644\u4EF6\uFF09")))};var ce=({value:Oe,onChange:Ue,className:ze,style:nt,disabled:ke=!1,checkMarginLeft:Ve=0})=>{const et={submit_limit:!1,submit_limit_num:200,must_file:!1},[Se,qe]=(0,b.useState)({});(0,b.useEffect)(()=>{if(console.log(Oe,"value"),!Oe)return;const be={submit_limit:Oe==null?void 0:Oe.submit_limit,submit_limit_num:Oe==null?void 0:Oe.submit_limit_num,must_file:Oe==null?void 0:Oe.must_file,can_submit:Oe==null?void 0:Oe.can_submit,submit_num:Oe==null?void 0:Oe.submit_num};qe(Ae({},be))},[Oe]);const pe=be=>{const gt=Ae(Ae({},Se),be);Ue(gt)};return Fe.createElement("section",{className:ue()(We.wrap,ze),style:nt},Fe.createElement("div",{className:`${We.sub_title} mt20`},Fe.createElement("span",null,"\u4F5C\u4E1A\u63D0\u4EA4\u6B21\u6570")),Fe.createElement(Ke.ZP.Group,{style:{background:"#F6F7F9",display:"flex",flexDirection:"column"},value:Se==null?void 0:Se.can_submit,onChange:be=>pe({can_submit:be.target.value})},Fe.createElement(Ke.ZP,{value:!1,style:{padding:"14px 20px",borderBottom:"1px solid #fff"}},Fe.createElement("span",{style:{color:"#000000"}},"\u4E0D\u9650\u5236\u6B21\u6570"),Fe.createElement("div",{style:{position:"relative",display:"inline-block"}},Fe.createElement(ye.Z,{placement:"topLeft",getPopupContainer:be=>be.parentNode,arrow:{pointAtCenter:!0},overlayInnerStyle:{width:"max-content",fontSize:14,transform:"translateX(-15%)"},title:"\u89C4\u5219\u8BF4\u660E\uFF1A\u5141\u8BB8\u5B66\u751F\u5728\u622A\u6B62\u65F6\u95F4\u524D\u65E0\u9650\u6B21\u4FEE\u6539\u5E76\u91CD\u65B0\u63D0\u4EA4\u4F5C\u4E1A\uFF08\u6700\u7EC8\u6210\u7EE9\u4EE5\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u4E3A\u51C6\uFF09"},Fe.createElement("i",{className:`iconfont icon-tishixiaowenhao ${We.title_icon} c-grey-666`})))),Fe.createElement("br",null),Fe.createElement(Ke.ZP,{className:We.flex_box,value:!0,style:{padding:"5px 0px 5px 20px",height:50}},Fe.createElement("div",{className:"flex-container"},Fe.createElement("span",{style:{color:"#000000"}},"\u9650\u5236\u6B21\u6570"),Fe.createElement("div",{style:{position:"relative",display:"inline-block"}},Fe.createElement(ye.Z,{placement:"topLeft",arrow:{pointAtCenter:!0},overlayInnerStyle:{width:700,transform:"translateX(-13%)"},title:Fe.createElement("div",{className:"flex flex-col ml10",style:{gap:"5px"}},Fe.createElement("span",{style:{color:"#fff",fontSize:14}},"\u89C4\u5219\u8BF4\u660E\uFF1A\u5B66\u751F\u5728\u622A\u6B62\u65F6\u95F4\u524D\u6700\u591A\u63D0\u4EA4\u4F5C\u4E1A ",Fe.createElement("span",{style:{color:"#FFB83A"}},Se==null?void 0:Se.submit_num)," \u6B21\uFF08\u542B\u4FEE\u6539\u548C\u66F4\u65B0\uFF09\uFF0C\u8FBE\u5230\u4E0A\u9650\u540E\u5C06\u65E0\u6CD5\u7EE7\u7EED\u63D0\u4EA4\u6216\u66F4\u65B0\u4F5C\u4E1A"),Fe.createElement("span",{style:{color:"#fff",fontSize:14}},"\u7279\u6B8A\u8BF4\u660E\uFF1A\u82E5\u4F5C\u4E1A\u5F00\u542F\u8865\u4EA4\u4E14\u5B66\u751F\u6B21\u6570\u5DF2\u7528\u5B8C\uFF0C\u53EF\u989D\u5916\u63D0\u4EA4 ",Fe.createElement("span",{style:{color:"#FFB83A"}},1)," \u6B21\uFF1B\u6559\u5E08\u6253\u56DE\u4F5C\u4E1A\u91CD\u505A\u65F6\uFF0C\u5B66\u751F\u5C06\u83B7\u5F97 ",Fe.createElement("span",{style:{color:"#FFB83A"}},1)," \u6B21\u91CD\u65B0\u63D0\u4EA4\u673A\u4F1A\uFF08\u4E0D\u6D88\u8017\u539F\u6709\u6B21\u6570\uFF09"))},Fe.createElement("i",{className:`iconfont icon-tishixiaowenhao ${We.title_icon} c-grey-666`}))),(Se==null?void 0:Se.can_submit)&&Fe.createElement(De.Z,{size:"large",addonAfter:"\u6B21",style:{width:143,marginLeft:14},precision:0,min:1,disabled:ke||!(Se!=null&&Se.can_submit),value:Se==null?void 0:Se.submit_num,onChange:be=>pe({submit_num:be})})))),Fe.createElement("div",{className:`${We.sub_title} mt20`},Fe.createElement("span",null,"\u4F5C\u4E1A\u63D0\u4EA4\u89C4\u5219")),Fe.createElement(fe.Z,{style:{lineHeight:"40px",marginTop:"1px",background:"#F6F7F9",padding:"5px 20px"}},Fe.createElement(ve.default,{style:{marginLeft:Ve},disabled:ke,checked:Se==null?void 0:Se.submit_limit,onChange:be=>pe({submit_limit:be.target.checked})}),Fe.createElement("span",{style:{marginRight:6,marginLeft:8}},"\u586B\u5199\u5185\u5BB9\u81F3\u5C11"),Fe.createElement(De.Z,{size:"large",addonAfter:"\u5B57",style:{width:143,marginRight:100},precision:0,min:1,disabled:ke||!(Se!=null&&Se.submit_limit),value:Se==null?void 0:Se.submit_limit_num,onChange:be=>pe({submit_limit_num:be})})),Fe.createElement(fe.Z,{style:{lineHeight:"40px",marginTop:"1px",background:"#F6F7F9",padding:"14px 20px"}},Fe.createElement(ve.default,{style:{marginLeft:Ve},disabled:ke,checked:Se==null?void 0:Se.must_file,onChange:be=>pe({must_file:be.target.checked})}),Fe.createElement("span",{style:{marginLeft:8}},"\u63D0\u4EA4\u4F5C\u4E1A\u5FC5\u987B\u4E0A\u4F20\u9644\u4EF6")))}},40782:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Ae}});var b=E(59301),We=E(63823),de=E(24017),Ke=E(62957),De=E(37568),ve=E(6767),ye=E(77019),fe=E(5269),xe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},ue=E(66649),Fe=E.n(ue),Ce=E(68911),Te=E(71347),we=E(59301);const{RangePicker:Me}=de.default,ge=({dispatch:Pe,classroomList:Re,onConfirm:tt})=>{const[ce,Oe]=(0,b.useState)([]),[Ue,ze]=(0,b.useState)([]),[nt,ke]=(0,b.useState)(""),[Ve,et]=(0,b.useState)([!1,!1]);(0,b.useEffect)(()=>{var pe,be,gt,$e;if(Re.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((pe=Re.actionTabs)==null?void 0:pe.rangePickerDisabled),(be=Re.actionTabs)!=null&&be.rangePickerDisabled?et((gt=Re.actionTabs)==null?void 0:gt.rangePickerDisabled):et([!1,!1]);let at=Re.actionTabs.data,bt=($e=at==null?void 0:at.group_name)==null?void 0:$e.map((Ze,se)=>{var Be;return{group_id:at==null?void 0:at.group_id[se],group_name:at==null?void 0:at.group_name[se],is_admin:at==null?void 0:at.is_admin,end_time:at==null?void 0:at.end_time,publish_time:Array.isArray(at==null?void 0:at.publish_time)?(Be=at==null?void 0:at.publish_time)==null?void 0:Be[0]:at==null?void 0:at.publish_time}});bt&&(Oe([...bt]),ze([...bt]))}},[Re.actionTabs]);const Se=()=>{Pe({type:"classroomList/setActionTabs",payload:{}}),ke("")},qe=pe=>{if(pe){const be=Ue==null?void 0:Ue.filter(gt=>{var $e,at;return(at=($e=gt==null?void 0:gt.group_name)==null?void 0:$e.toLowerCase())==null?void 0:at.includes(pe==null?void 0:pe.toLowerCase())});Oe(be)}else Oe(Ue)};return we.createElement(Ke.default,{width:980,title:we.createElement("div",{style:{fontWeight:"bold",display:"flex"}},we.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",we.createElement("span",{className:xe.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),we.createElement(De.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:nt,onChange:pe=>{ke(pe.target.value.trim()),qe(pe.target.value.trim())}})),centered:!0,maskClosable:!1,open:Re.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Se(),onOk:()=>{var pe;if(Ue.some(gt=>!gt.end_time||!gt.publish_time)){ve.ZP.warning("\u8BF7\u5C06\u5217\u8868\u6570\u636E\u4E2D\u7684\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u8865\u5145\u5B8C\u6574\uFF01");return}tt((pe=Re.actionTabs)==null?void 0:pe.index,Ue),Se()}},we.createElement("div",{className:xe.modal_con},we.createElement(ye.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(ce==null?void 0:ce.length)>0?ce.map(function(pe,be){return we.createElement(fe.Z,{span:24,key:be},we.createElement(ye.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:be==(ce==null?void 0:ce.length)-1?"0px":"10px"}},we.createElement("div",{className:xe.multiple_select,title:pe==null?void 0:pe.group_name},pe==null?void 0:pe.group_name),we.createElement("div",{className:"ml20"},we.createElement(Me,{size:"large",allowClear:!1,disabled:Ve,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:gt=>{var $e;return(0,Ce.Q8)(gt,($e=Re.actionTabs)==null?void 0:$e.disabledDate)},disabledTime:gt=>(0,Ce.d0)(gt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Fe()((0,Ce.U6)(),"HH:mm"),Fe()((0,Ce.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(pe==null?void 0:pe.publish_time)&&[Fe()(pe==null?void 0:pe.publish_time),pe!=null&&pe.end_time?Fe()(pe==null?void 0:pe.end_time):void 0],onChange:(gt,$e)=>{ce[be].publish_time=$e[0],ce[be].end_time=$e[1],Oe([...ce]),Ue.forEach(at=>{at.group_id===(pe==null?void 0:pe.group_id)&&(at.publish_time=$e[0],at.end_time=$e[1])}),ze([...Ue])},onCalendarChange:(gt,$e,at)=>{if($e!=null&&$e[0]&&!$e[1]){const bt=Fe()($e[0]).add(7,"days");ce[be].publish_time=$e[0],ce[be].end_time=bt,Oe([...ce]),Ue.forEach(Ze=>{Ze.group_id===(pe==null?void 0:pe.group_id)&&(Ze.publish_time=$e[0],Ze.end_time=bt)}),ze([...Ue])}}})),Ve[0]?we.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):we.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{ce.splice(be,1),Oe([...ce]),Ue.forEach((gt,$e)=>{gt.group_id===(pe==null?void 0:pe.group_id)&&Ue.splice($e,1)}),ze([...Ue])}})))}):we.createElement(Te.Z,null))))};var Ae=(0,We.connect)(({classroomList:Pe})=>({classroomList:Pe}))(ge)},26386:function(wn,zt,E){"use strict";E.d(zt,{$J:function(){return de},JZ:function(){return De},bN:function(){return ye},jP:function(){return ve},rO:function(){return Ke}});var b=E(22972),We=(fe,xe,ue)=>new Promise((Fe,Ce)=>{var Te=ge=>{try{Me(ue.next(ge))}catch(Ae){Ce(Ae)}},we=ge=>{try{Me(ue.throw(ge))}catch(Ae){Ce(Ae)}},Me=ge=>ge.done?Fe(ge.value):Promise.resolve(ge.value).then(Te,we);Me((ue=ue.apply(fe,xe)).next())});function de(fe){return(0,b.U2)(`libraries/${fe}.json`)}function Ke(){return(0,b.U2)("library_tags.json")}function De(fe){return We(this,null,function*(){return(yield(0,b.IV)(`attachments/${fe}.json`)).status===0})}function ve(fe){return(0,b.v_)("libraries.json",fe)}function ye(fe,xe){return(0,b.gz)(`libraries/${fe}.json`,xe)}},35518:function(wn,zt,E){"use strict";E.d(zt,{AD:function(){return be},BA:function(){return te},D9:function(){return Be},Hp:function(){return Ue},IM:function(){return lt},Iy:function(){return nt},KM:function(){return ae},KU:function(){return xt},MJ:function(){return ze},Ne:function(){return Je},ON:function(){return wt},Uj:function(){return Dt},VY:function(){return rt},YO:function(){return It},YX:function(){return ft},Zn:function(){return Me},_g:function(){return tt},_k:function(){return Ze},c6:function(){return qe},cr:function(){return ge},eV:function(){return pe},fi:function(){return Ae},gh:function(){return et},hS:function(){return Ee},iA:function(){return Pe},j6:function(){return ce},je:function(){return at},jj:function(){return Oe},kS:function(){return ct},lS:function(){return bt},o6:function(){return Se},pO:function(){return oe},rQ:function(){return gt},sA:function(){return Ve},xm:function(){return se},xo:function(){return je},y8:function(){return $e},yd:function(){return Re}});var b=E(89923),We=E(63823),de=E(68911),Ke=E(6767),De=E(35783),ve=Object.defineProperty,ye=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ue=(x,re,ne)=>re in x?ve(x,re,{enumerable:!0,configurable:!0,writable:!0,value:ne}):x[re]=ne,Fe=(x,re)=>{for(var ne in re||(re={}))fe.call(re,ne)&&ue(x,ne,re[ne]);if(ye)for(var ne of ye(re))xe.call(re,ne)&&ue(x,ne,re[ne]);return x},Ce=(x,re,ne)=>new Promise((le,Ie)=>{var Le=it=>{try{Ge(ne.next(it))}catch(dt){Ie(dt)}},Ye=it=>{try{Ge(ne.throw(it))}catch(dt){Ie(dt)}},Ge=it=>it.done?le(it.value):Promise.resolve(it.value).then(Le,Ye);Ge((ne=ne.apply(x,re)).next())});const Te=()=>{(0,We.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},we=()=>{(0,We.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},Me=x=>Ce(void 0,null,function*(){Te(),(yield(0,b.YR)(Fe({},x))).status===0&&(yield(0,de.QH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/courses/${x.coursesId}/export_couser_info.json`,query:x}))),we()}),ge=x=>Ce(void 0,null,function*(){const re=yield(0,b.yS)(Fe({},x));if(re.status===0)Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_member_act_score`);else{if(re.status===-2)return re;re.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_member_act_score`))}}),Ae=x=>Ce(void 0,null,function*(){const re=yield(0,b.W0)(Fe({},x));if(re.status===0)Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_score`);else{if(re.status===-4)return re;re.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_score`))}}),Pe=x=>Ce(void 0,null,function*(){const re=yield(0,b.Nl)(Fe({},x));if(re.status===0)Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_exercise_and_other`);else{if(re.status===-4)return re;re.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_exercise_and_other`))}}),Re=x=>Ce(void 0,null,function*(){const re=yield(0,b.IU)(Fe({},x));if(re.status===0)Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/export_star_user`);else{if(re.status===-4)return re;re.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/export_star_user`))}}),tt=x=>Ce(void 0,null,function*(){const re=yield(0,b.td)(Fe({},x));if(re.status===0)Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_exercise_and_other`);else{if(re.status===-2)return re;if(re.status===-3)(0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_exercise_and_other`);else if(re.status===-4)return re}}),ce=x=>Ce(void 0,null,function*(){const re=yield(0,b.QX)(Fe({},x));if(re.status===0)Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_homework`);else{if(re.status===-4)return re;re.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/course_total_homework`))}}),Oe=(x,re)=>Ce(void 0,null,function*(){const ne=yield(0,b.o_)(Fe({},x));ne.status===0?(Ke.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"),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`)):ne.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`))}),Ue=(x,re)=>Ce(void 0,null,function*(){const ne=yield(0,b.ZL)(Fe({},x));ne.status===0?(Ke.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"),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`)):ne.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`))}),ze=(x,re)=>Ce(void 0,null,function*(){const ne=yield(0,b.vV)(Fe({},x));ne.status===0?(Ke.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"),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`)):ne.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`))}),nt=(x,re)=>Ce(void 0,null,function*(){const ne=yield(0,b.aP)(Fe({},x));ne.status===0?(Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`)):ne.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/${re}`))}),ke=x=>Ce(void 0,null,function*(){Te(),(yield exportCourseWorkListAppendix(Fe({},x))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${x.categoryId}/works_list.zip`,query:x}))),we()}),Ve=x=>Ce(void 0,null,function*(){Te(),yield(0,de.FH)("",De.Z.API_SERVER+`/api/polls/${x.categoryId}/commit_result.xlsx`),we()}),et=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/courses/${x.coursesId}/attendances/export_xlsx_data.xlsx`,query:x}))}),Se=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/courses/${x.coursesId}/video_study_statics.xlsx`,query:x}))}),qe=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/courses/${x.coursesId}/export_video_study.xlsx`,query:x}))}),pe=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/courses/${x.coursesId}/export_course_students_info.xlsx`,query:x}))}),be=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+"/api/school_manages/students.xlsx",query:x}))}),gt=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+"/api/item_banks/export.xlsx",query:x}))}),$e=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:x}))}),at=x=>Ce(void 0,null,function*(){const re=yield(0,b.Uy)(Fe({},x));re.status===0?(Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/exercise_score,export_exercise_users`)):re.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/exercise_score,export_exercise_users`))}),bt=x=>Ce(void 0,null,function*(){const re=yield(0,b.tg)(Fe({},x));re.status===0?(Ke.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),We.history.push(`/classrooms/${x.coursesId}/exportlist/exercise_score,export_exercise_report`)):re.status===-3&&((0,We.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),We.history.push(`/classrooms/${x.coursesId}/exportlist/exercise_score,export_exercise_report`))}),Ze=x=>Ce(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/export_records/${x.id}.xlsx`,query:x}))}),se=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:x}))}),Be=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/courses/${x==null?void 0:x.coursesId}/${x.menuKey}_statistic.xlsx?${x.checkedList.map(re=>`course_group_id[]=${re}`).join("&")}`,query:x}))}),Je=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/ec_years/${x==null?void 0:x.ec_year_id}/ec_training_objectives.xlsx`,query:x}))}),lt=x=>Ce(void 0,null,function*(){yield(0,de.FH)(x==null?void 0:x.name,(0,de.NY)({url:De.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:x}))}),Ee=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/ec_years/${x==null?void 0:x.ec_year_id}/ec_courses.xlsx`,query:x}))}),je=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/ec_years/${x==null?void 0:x.ec_year_id}/ec_graduation_requirements.xlsx`,query:x}))}),rt=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:x}))}),xt=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/exercises/${x.categoryId}/rank_list.xlsx`,query:x}))}),ct=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:x}))}),wt=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/examination_banks/${x.id}.json`,query:x}))}),ft=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/exercises/${x.categoryId}.json`,query:x}))}),It=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/polls/${x==null?void 0:x.id}/commit_result.json`,query:x}))}),Dt=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+"/api/paths/get_task_pass.json",query:x}))}),oe=(x,re)=>Ce(void 0,null,function*(){yield(0,de.FH)(re||"",(0,de.NY)({url:De.Z.API_SERVER+`/api/exercises/${x==null?void 0:x.exercise_id}/consult_exercise.json`,query:x}))}),ae=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/competitions/${x==null?void 0:x.identifier}/competition_commit_records/member_works.xlsx`,query:x}))}),te=x=>Ce(void 0,null,function*(){yield(0,de.FH)("",(0,de.NY)({url:De.Z.API_SERVER+`/api/courses/${x==null?void 0:x.coursesId}/group_homeworks/import_group_template.xlsx`,query:x}))})},90816:function(wn,zt,E){"use strict";E.d(zt,{M:function(){return ve},Y:function(){return De}});var b=E(66649),We=E.n(b),de=E(89392),Ke=E.n(de);const De=(ye,fe="YYYY-MM-DD")=>(0,de.cloneDeepWith)(ye,ue=>{if(ue instanceof We())return ue.format(fe)}),ve=(ye,fe,xe)=>{const ue=Fe=>Reflect.toString.call(Fe)==="[object Object]";if(!ue(ye)&&!Array.isArray(ye))return ye;for(const Fe of Object.keys(ye))Array.isArray(ye[Fe])?ye[Fe]=ye[Fe].map(Ce=>ve(Ce,fe,xe)):ue(ye[Fe])?ye[Fe]=ve(ye[Fe],fe,xe):fe.includes(Fe)&&typeof ye[Fe]=="string"&&(ye[Fe]=xe?We()(ye[Fe],xe):We()(ye[Fe]));return ye}},63596:function(wn,zt,E){"use strict";E.d(zt,{U:function(){return xe}});var b=E(59301),We=Object.defineProperty,de=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ve=(ue,Fe,Ce)=>Fe in ue?We(ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):ue[Fe]=Ce,ye=(ue,Fe)=>{for(var Ce in Fe||(Fe={}))Ke.call(Fe,Ce)&&ve(ue,Ce,Fe[Ce]);if(de)for(var Ce of de(Fe))De.call(Fe,Ce)&&ve(ue,Ce,Fe[Ce]);return ue},fe=(ue,Fe,Ce)=>new Promise((Te,we)=>{var Me=Pe=>{try{Ae(Ce.next(Pe))}catch(Re){we(Re)}},ge=Pe=>{try{Ae(Ce.throw(Pe))}catch(Re){we(Re)}},Ae=Pe=>Pe.done?Te(Pe.value):Promise.resolve(Pe.value).then(Me,ge);Ae((Ce=Ce.apply(ue,Fe)).next())});function xe(ue,Fe){const[Ce,Te]=(0,b.useState)(Fe),[we,Me]=(0,b.useState)(!1),[ge,Ae]=(0,b.useState)();return[Ce,we,(Re,tt=!1)=>fe(this,null,function*(){const ce=tt?Fe:ye(ye({},Ce),Re);Me(!0),Te(ce);const Oe=yield ue(ce);return Me(!1),Ae(Oe),Oe}),ge,Ae]}},74410:function(wn,zt,E){"use strict";E.d(zt,{AL:function(){return ce},Iy:function(){return Fe},Qv:function(){return we},ez:function(){return tt},jb:function(){return Ce}});var b=E(32834),We=E.n(b),de=E(11690),Ke=E.n(de);let De=1;function ve(ke,Ve){const et=ke.match(/^(\s+)(?:```)/);if(et===null)return Ve;const Se=et[1];return Ve.split(`
|
|
|
`).map(qe=>{const pe=qe.match(/^\s+/);if(pe===null)return qe;const[be]=pe;return be.length>=Se.length?qe.slice(Se.length):qe}).join(`
|
|
|
`)}let ye=[],fe=["<ul>"];const xe=new(We()).Renderer,ue=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Fe(){ye.length=0,fe=["<ul>"]}const Ce={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Te(ke,Ve,et,Se){if(Ve>=ke.length||ke[Ve].level<=et)return Ve;var qe=ke[Ve];Se.push("<li><a href='#"+De+qe.anchor+"'>"+qe.text+"</a>"),Ve++;var pe=[];return Ve=Te(ke,Ve,qe.level,pe),pe.length>0&&(Se.push("<ul>"),pe.forEach(function(be){Se.push(be)}),Se.push("</ul>")),Se.push("</li>"),Ve=Te(ke,Ve,et,Se),Ve}function we(){return Te(ye,0,0,fe),fe.push("</ul>"),fe.join("")}const Me={heading(ke){const Ve=ue.exec(ke);if(De+=1,Ve)return{type:"heading",raw:Ve[0],depth:Ve[1].length,text:Ve[2]}},fences(ke){const Ve=this.rules.block.fences.exec(ke);if(Ve){const et=Ve[0];let Se=ve(et,Ve[3]||"");const qe=Ve[2]?Ve[2].trim():Ve[2];if(["latex","katex","math"].indexOf(qe)>=0){const pe=Pe(),be=Se;Se=pe,Re[pe]={type:"block",expression:be}}return{type:"code",raw:et,lang:qe,text:Se}}}},ge=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Ae=0;const Pe=()=>`__special_katext_id_${Ae++}__`;let Re={};function tt(){return Re}function ce(){Ae=0,Re={}}function Oe(ke){return ke=ke.replace(ge,(Ve,et)=>{const Se=Pe();return Re[Se]={type:"inline",expression:et},Se}),ke}const Ue=xe.listitem;xe.listitem=function(ke){return Ue(Oe(ke))};const ze=xe.paragraph;xe.paragraph=function(ke){return ze(Oe(ke))};const nt=xe.tablecell;xe.tablecell=function(ke,Ve){return nt(Oe(ke),Ve)},xe.code=function(ke,Ve,et){const Se=(Ve||"").match(/\S*/)[0];return Se?["latex","katex","math"].indexOf(Se)>=0?`<p class='editormd-tex'>${ke}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ve}">${et?ke:(0,de.escape)(ke,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(et?ke:(0,de.escape)(ke,!0))+"</code></pre>"},xe.heading=function(ke,Ve,et){let Se=this.options.headerPrefix+et.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ye.push({anchor:Se,level:Ve,text:ke}),"<h"+Ve+' id="'+De+Se+'">'+ke+"</h"+Ve+">"},We().setOptions({silent:!0,gfm:!0,pedantic:!1}),We().use({tokenizer:Me,renderer:xe}),zt.ZP=We()},17958:function(wn,zt,E){"use strict";E.d(zt,{rX:function(){return Oe},pW:function(){return Ue},gy:function(){return ze},xY:function(){return ce},O5:function(){return tt},hs:function(){return ge},tJ:function(){return we},o1:function(){return Me},Rd:function(){return Re}});var b=E(63823),We=E(62957),de=E(37285),Ke=E(6767),De=E(10102),ve=E(68911),ye=E(87169),fe=E(25510),xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk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+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",ue=E.p+"static/newqrcode.a8740efb.png",Fe=E(32637),Ce=E(59301),Te=(nt,ke,Ve)=>new Promise((et,Se)=>{var qe=gt=>{try{be(Ve.next(gt))}catch($e){Se($e)}},pe=gt=>{try{be(Ve.throw(gt))}catch($e){Se($e)}},be=gt=>gt.done?et(gt.value):Promise.resolve(gt.value).then(qe,pe);be((Ve=Ve.apply(nt,ke)).next())});const we=(nt,ke=!1,Ve=!1,et="",Se=!1)=>!!(Me(nt)&&Ae(nt,ke,Ve,et,Se)),Me=nt=>(0,De.bg)()?!0:(nt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ge=nt=>{var ke,Ve,et;const{user:Se}=(0,b.getDvaApp)()._store.getState();(0,De.bg)()&&!((Ve=(ke=Se==null?void 0:Se.userInfo)==null?void 0:ke.course)!=null&&Ve.course_public)&&!((et=Se==null?void 0:Se.userInfo)!=null&&et.profile_completed)&&nt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},Ae=(nt,ke=!1,Ve=!0,et="",Se=!1)=>{var qe;const{user:pe}=(0,b.getDvaApp)()._store.getState();return(qe=pe.userInfo)!=null&&qe.profile_completed?!0:(Ve?nt({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:et,isCurrentPage:Se}}):We.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ve.xg)("/account/profile/edit"),Pe()}}),!1)},Pe=()=>{We.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},Re=()=>{We.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Ce.createElement("div",{style:{textAlign:"center"}},Ce.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Ce.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Fe}),Ce.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},tt=()=>{var nt;const{user:ke}=(0,b.getDvaApp)()._store.getState();return(nt=ke.userInfo)!=null&&nt.professional_certification?!0:(We.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ce.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ve.xg)("/account/certification")}}),!1)},ce=()=>(0,De.V9)()?!0:(We.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ce.createElement("div",{className:"tc",style:{marginLeft:-38}},Ce.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ce.createElement("img",{src:ue,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Oe=(nt,ke)=>nt?!0:(We.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ce.createElement("div",null,Ce.createElement("p",null,ke||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Ce.createElement("div",{style:{marginLeft:"110px"}},Ce.createElement("img",{src:xe,width:200}),Ce.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ve.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Ue=nt=>{We.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ce.createElement("div",null,Ce.createElement("div",null,Ce.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Ce.createElement(de.Z,null),Ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ce.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Ce.createElement("a",null,nt),"\u5929\u3002"),Ce.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ce.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Ce.createElement("div",{style:{textAlign:"center",marginTop:30}},Ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:fe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ze=(nt,ke="")=>{const{shixunsDetail:{detail:Ve}}=(0,b.getDvaApp)()._store.getState();if((Ve==null?void 0:Ve.public)===2||(Ve==null?void 0:Ve.public)===1||(Ve==null?void 0:Ve.shixun_status)===3){let et="";return(Ve==null?void 0:Ve.public)===2&&(et="\u5DF2\u516C\u5F00"),(Ve==null?void 0:Ve.public)===1&&(et="\u5F85\u5BA1\u6838"),(Ve==null?void 0:Ve.shixun_status)===3&&(et="\u5DF2\u5173\u95ED"),We.default.info({centered:!0,icon:Ce.createElement(ye.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ce.createElement("div",{className:"tc",style:{marginLeft:-38}},Ce.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",et,"\uFF0C",ke,"\u3002"),Ce.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ce.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:fe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ve==null?void 0:Ve.shixun_status)===2?(We.default.confirm({centered:!0,icon:Ce.createElement(ye.Z,null),title:"\u63D0\u793A",content:Ce.createElement("div",null,Ce.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ke,"\u3002"),Ce.createElement("br",null),Ce.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{We.default.confirm({width:440,centered:!0,icon:Ce.createElement(ye.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Te(void 0,null,function*(){(yield nt({type:"shixunsDetail/cancelRelease",payload:{id:Ve==null?void 0:Ve.identifier}})).status!==401&&(Ke.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),nt({type:"shixunsDetail/getShixunsDetail",payload:{id:Ve==null?void 0:Ve.identifier}}),nt({type:"practiceSetting/getCommonData",payload:{id:Ve==null?void 0:Ve.identifier}}))})})}}),!0):!1}},9981:function(wn,zt){"use strict";const E=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let We=1;We<arguments.length;We++){const de=We<0||arguments.length<=We?void 0:arguments[We];de&&Object.keys(de).forEach(Ke=>{const De=de[Ke];De!==void 0&&(b[Ke]=De)})}return b};zt.Z=E},86013:function(wn,zt,E){"use strict";var b=E(59301),We=E(19248);const de=Ke=>{let De;return typeof Ke=="object"&&(Ke!=null&&Ke.clearIcon)?De=Ke:Ke&&(De={clearIcon:b.createElement(We.Z,null)}),De};zt.Z=de},97224:function(wn,zt,E){"use strict";E.d(zt,{F:function(){return b}});function b(de){return de!=null&&de===de.window}const We=de=>{var Ke,De;if(typeof window=="undefined")return 0;let ve=0;return b(de)?ve=de.pageYOffset:de instanceof Document?ve=de.documentElement.scrollTop:(de instanceof HTMLElement||de)&&(ve=de.scrollTop),de&&!b(de)&&typeof ve!="number"&&(ve=(De=((Ke=de.ownerDocument)!==null&&Ke!==void 0?Ke:de).documentElement)===null||De===void 0?void 0:De.scrollTop),ve};zt.Z=We},83010:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Ke}});var b=E(16089);function We(De,ve,ye,fe){const xe=ye-ve;return De/=fe/2,De<1?xe/2*De*De*De+ve:xe/2*((De-=2)*De*De+2)+ve}var de=E(97224);function Ke(De){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ye=()=>window,callback:fe,duration:xe=450}=ve,ue=ye(),Fe=(0,de.Z)(ue),Ce=Date.now(),Te=()=>{const Me=Date.now()-Ce,ge=We(Me>xe?xe:Me,Fe,De,xe);(0,de.F)(ue)?ue.scrollTo(window.pageXOffset,ge):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=ge:ue.scrollTop=ge,Me<xe?(0,b.Z)(Te):typeof fe=="function"&&fe()};(0,b.Z)(Te)}},88390:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Ze}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(77900),De=E(29509),ve=E(22703),ye=E(48755),fe=E(36237),xe=E(63356),ue=E(93427),Fe=E(51636),Ce=E(16931);const Te=new fe.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),we=new fe.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),Me=new fe.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),ge=new fe.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),Ae=new fe.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),Pe=new fe.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),Re=se=>{const{componentCls:Be,iconCls:Je,antCls:lt,badgeShadowSize:Ee,textFontSize:je,textFontSizeSM:rt,statusSize:xt,dotSize:ct,textFontWeight:wt,indicatorHeight:ft,indicatorHeightSM:It,marginXS:Dt,calc:oe}=se,ae=`${lt}-scroll-number`,te=(0,ue.Z)(se,(x,re)=>{let{darkColor:ne}=re;return{[`&${Be} ${Be}-color-${x}`]:{background:ne,[`&:not(${Be}-count)`]:{color:ne},"a:hover &":{background:ne}}}});return{[Be]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(se)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${Be}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:se.indicatorZIndex,minWidth:ft,height:ft,color:se.badgeTextColor,fontWeight:wt,fontSize:je,lineHeight:(0,fe.unit)(ft),whiteSpace:"nowrap",textAlign:"center",background:se.badgeColor,borderRadius:oe(ft).div(2).equal(),boxShadow:`0 0 0 ${(0,fe.unit)(Ee)} ${se.badgeShadowColor}`,transition:`background ${se.motionDurationMid}`,a:{color:se.badgeTextColor},"a:hover":{color:se.badgeTextColor},"a:hover &":{background:se.badgeColorHover}},[`${Be}-count-sm`]:{minWidth:It,height:It,fontSize:rt,lineHeight:(0,fe.unit)(It),borderRadius:oe(It).div(2).equal()},[`${Be}-multiple-words`]:{padding:`0 ${(0,fe.unit)(se.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${Be}-dot`]:{zIndex:se.indicatorZIndex,width:ct,minWidth:ct,height:ct,background:se.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,fe.unit)(Ee)} ${se.badgeShadowColor}`},[`${Be}-count, ${Be}-dot, ${ae}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${Je}-spin`]:{animationName:Pe,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${Be}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${Be}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:xt,height:xt,verticalAlign:"middle",borderRadius:"50%"},[`${Be}-status-success`]:{backgroundColor:se.colorSuccess},[`${Be}-status-processing`]:{overflow:"visible",color:se.colorInfo,backgroundColor:se.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:Ee,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:Te,animationDuration:se.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${Be}-status-default`]:{backgroundColor:se.colorTextPlaceholder},[`${Be}-status-error`]:{backgroundColor:se.colorError},[`${Be}-status-warning`]:{backgroundColor:se.colorWarning},[`${Be}-status-text`]:{marginInlineStart:Dt,color:se.colorText,fontSize:se.fontSize}}}),te),{[`${Be}-zoom-appear, ${Be}-zoom-enter`]:{animationName:we,animationDuration:se.motionDurationSlow,animationTimingFunction:se.motionEaseOutBack,animationFillMode:"both"},[`${Be}-zoom-leave`]:{animationName:Me,animationDuration:se.motionDurationSlow,animationTimingFunction:se.motionEaseOutBack,animationFillMode:"both"},[`&${Be}-not-a-wrapper`]:{[`${Be}-zoom-appear, ${Be}-zoom-enter`]:{animationName:ge,animationDuration:se.motionDurationSlow,animationTimingFunction:se.motionEaseOutBack},[`${Be}-zoom-leave`]:{animationName:Ae,animationDuration:se.motionDurationSlow,animationTimingFunction:se.motionEaseOutBack},[`&:not(${Be}-status)`]:{verticalAlign:"middle"},[`${ae}-custom-component, ${Be}-count`]:{transform:"none"},[`${ae}-custom-component, ${ae}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[ae]:{overflow:"hidden",transition:`all ${se.motionDurationMid} ${se.motionEaseOutBack}`,[`${ae}-only`]:{position:"relative",display:"inline-block",height:ft,transition:`all ${se.motionDurationSlow} ${se.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${ae}-only-unit`]:{height:ft,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${ae}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${Be}-count, ${Be}-dot, ${ae}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},tt=se=>{const{fontHeight:Be,lineWidth:Je,marginXS:lt,colorBorderBg:Ee}=se,je=Be,rt=Je,xt=se.colorTextLightSolid,ct=se.colorError,wt=se.colorErrorHover;return(0,Fe.mergeToken)(se,{badgeFontHeight:je,badgeShadowSize:rt,badgeTextColor:xt,badgeColor:ct,badgeColorHover:wt,badgeShadowColor:Ee,badgeProcessingDuration:"1.2s",badgeRibbonOffset:lt,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},ce=se=>{const{fontSize:Be,lineHeight:Je,fontSizeSM:lt,lineWidth:Ee}=se;return{indicatorZIndex:"auto",indicatorHeight:Math.round(Be*Je)-2*Ee,indicatorHeightSM:Be,dotSize:lt/2,textFontSize:lt,textFontSizeSM:lt,textFontWeight:"normal",statusSize:lt/2}};var Oe=(0,Ce.I$)("Badge",se=>{const Be=tt(se);return Re(Be)},ce);const Ue=se=>{const{antCls:Be,badgeFontHeight:Je,marginXS:lt,badgeRibbonOffset:Ee,calc:je}=se,rt=`${Be}-ribbon`,xt=`${Be}-ribbon-wrapper`,ct=(0,ue.Z)(se,(wt,ft)=>{let{darkColor:It}=ft;return{[`&${rt}-color-${wt}`]:{background:It,color:It}}});return{[xt]:{position:"relative"},[rt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(se)),{position:"absolute",top:lt,padding:`0 ${(0,fe.unit)(se.paddingXS)}`,color:se.colorPrimary,lineHeight:(0,fe.unit)(Je),whiteSpace:"nowrap",backgroundColor:se.colorPrimary,borderRadius:se.borderRadiusSM,[`${rt}-text`]:{color:se.badgeTextColor},[`${rt}-corner`]:{position:"absolute",top:"100%",width:Ee,height:Ee,color:"currentcolor",border:`${(0,fe.unit)(je(Ee).div(2).equal())} solid`,transform:se.badgeRibbonCornerTransform,transformOrigin:"top",filter:se.badgeRibbonCornerFilter}}),ct),{[`&${rt}-placement-end`]:{insetInlineEnd:je(Ee).mul(-1).equal(),borderEndEndRadius:0,[`${rt}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${rt}-placement-start`]:{insetInlineStart:je(Ee).mul(-1).equal(),borderEndStartRadius:0,[`${rt}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var ze=(0,Ce.I$)(["Badge","Ribbon"],se=>{const Be=tt(se);return Ue(Be)},ce),ke=se=>{const{className:Be,prefixCls:Je,style:lt,color:Ee,children:je,text:rt,placement:xt="end",rootClassName:ct}=se,{getPrefixCls:wt,direction:ft}=b.useContext(ye.E_),It=wt("ribbon",Je),Dt=`${It}-wrapper`,[oe,ae,te]=ze(It,Dt),x=(0,De.o2)(Ee,!1),re=de()(It,`${It}-placement-${xt}`,{[`${It}-rtl`]:ft==="rtl",[`${It}-color-${Ee}`]:x},Be),ne={},le={};return Ee&&!x&&(ne.background=Ee,le.color=Ee),oe(b.createElement("div",{className:de()(Dt,ct,ae,te)},je,b.createElement("div",{className:de()(re,ae),style:Object.assign(Object.assign({},ne),lt)},b.createElement("span",{className:`${It}-text`},rt),b.createElement("div",{className:`${It}-corner`,style:le}))))};const Ve=se=>{const{prefixCls:Be,value:Je,current:lt,offset:Ee=0}=se;let je;return Ee&&(je={position:"absolute",top:`${Ee}00%`,left:0}),b.createElement("span",{style:je,className:de()(`${Be}-only-unit`,{current:lt})},Je)};function et(se,Be,Je){let lt=se,Ee=0;for(;(lt+10)%10!==Be;)lt+=Je,Ee+=Je;return Ee}var qe=se=>{const{prefixCls:Be,count:Je,value:lt}=se,Ee=Number(lt),je=Math.abs(Je),[rt,xt]=b.useState(Ee),[ct,wt]=b.useState(je),ft=()=>{xt(Ee),wt(je)};b.useEffect(()=>{const oe=setTimeout(ft,1e3);return()=>clearTimeout(oe)},[Ee]);let It,Dt;if(rt===Ee||Number.isNaN(Ee)||Number.isNaN(rt))It=[b.createElement(Ve,Object.assign({},se,{key:Ee,current:!0}))],Dt={transition:"none"};else{It=[];const oe=Ee+10,ae=[];for(let ne=Ee;ne<=oe;ne+=1)ae.push(ne);const te=ct<je?1:-1,x=ae.findIndex(ne=>ne%10===rt);It=(te<0?ae.slice(0,x+1):ae.slice(x)).map((ne,le)=>{const Ie=ne%10;return b.createElement(Ve,Object.assign({},se,{key:ne,value:Ie,offset:te<0?le-x:le,current:le===x}))}),Dt={transform:`translateY(${-et(rt,Ee,te)}00%)`}}return b.createElement("span",{className:`${Be}-only`,style:Dt,onTransitionEnd:ft},It)},pe=function(se,Be){var Je={};for(var lt in se)Object.prototype.hasOwnProperty.call(se,lt)&&Be.indexOf(lt)<0&&(Je[lt]=se[lt]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,lt=Object.getOwnPropertySymbols(se);Ee<lt.length;Ee++)Be.indexOf(lt[Ee])<0&&Object.prototype.propertyIsEnumerable.call(se,lt[Ee])&&(Je[lt[Ee]]=se[lt[Ee]]);return Je},gt=b.forwardRef((se,Be)=>{const{prefixCls:Je,count:lt,className:Ee,motionClassName:je,style:rt,title:xt,show:ct,component:wt="sup",children:ft}=se,It=pe(se,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:Dt}=b.useContext(ye.E_),oe=Dt("scroll-number",Je),ae=Object.assign(Object.assign({},It),{"data-show":ct,style:rt,className:de()(oe,Ee,je),title:xt});let te=lt;if(lt&&Number(lt)%1===0){const x=String(lt).split("");te=b.createElement("bdi",null,x.map((re,ne)=>b.createElement(qe,{prefixCls:oe,count:Number(lt),value:re,key:x.length-ne})))}return rt!=null&&rt.borderColor&&(ae.style=Object.assign(Object.assign({},rt),{boxShadow:`0 0 0 1px ${rt.borderColor} inset`})),ft?(0,ve.Tm)(ft,x=>({className:de()(`${oe}-custom-component`,x==null?void 0:x.className,je)})):b.createElement(wt,Object.assign({},ae,{ref:Be}),te)}),$e=function(se,Be){var Je={};for(var lt in se)Object.prototype.hasOwnProperty.call(se,lt)&&Be.indexOf(lt)<0&&(Je[lt]=se[lt]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,lt=Object.getOwnPropertySymbols(se);Ee<lt.length;Ee++)Be.indexOf(lt[Ee])<0&&Object.prototype.propertyIsEnumerable.call(se,lt[Ee])&&(Je[lt[Ee]]=se[lt[Ee]]);return Je};const bt=b.forwardRef((se,Be)=>{var Je,lt,Ee,je,rt;const{prefixCls:xt,scrollNumberPrefixCls:ct,children:wt,status:ft,text:It,color:Dt,count:oe=null,overflowCount:ae=99,dot:te=!1,size:x="default",title:re,offset:ne,style:le,className:Ie,rootClassName:Le,classNames:Ye,styles:Ge,showZero:it=!1}=se,dt=$e(se,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:yt,direction:ot,badge:st}=b.useContext(ye.E_),Vt=yt("badge",xt),[kt,un,$t]=Oe(Vt),Rt=oe>ae?`${ae}+`:oe,Kt=Rt==="0"||Rt===0,qt=oe===null||Kt&&!it,Et=(ft!=null||Dt!=null)&&qt,Tt=te&&!Kt,on=Tt?"":Rt,mn=(0,b.useMemo)(()=>(on==null||on===""||Kt&&!it)&&!Tt,[on,Kt,it,Tt]),vt=(0,b.useRef)(oe);mn||(vt.current=oe);const Mt=vt.current,Yt=(0,b.useRef)(on);mn||(Yt.current=on);const sn=Yt.current,xn=(0,b.useRef)(Tt);mn||(xn.current=Tt);const Ln=(0,b.useMemo)(()=>{if(!ne)return Object.assign(Object.assign({},st==null?void 0:st.style),le);const en={marginTop:ne[1]};return ot==="rtl"?en.left=parseInt(ne[0],10):en.right=-parseInt(ne[0],10),Object.assign(Object.assign(Object.assign({},en),st==null?void 0:st.style),le)},[ot,ne,le,st==null?void 0:st.style]),Xn=re!=null?re:typeof Mt=="string"||typeof Mt=="number"?Mt:void 0,Jn=mn||!It?null:b.createElement("span",{className:`${Vt}-status-text`},It),Bn=!Mt||typeof Mt!="object"?void 0:(0,ve.Tm)(Mt,en=>({style:Object.assign(Object.assign({},Ln),en.style)})),Un=(0,De.o2)(Dt,!1),Wt=de()(Ye==null?void 0:Ye.indicator,(Je=st==null?void 0:st.classNames)===null||Je===void 0?void 0:Je.indicator,{[`${Vt}-status-dot`]:Et,[`${Vt}-status-${ft}`]:!!ft,[`${Vt}-color-${Dt}`]:Un}),Ot={};Dt&&!Un&&(Ot.color=Dt,Ot.background=Dt);const ln=de()(Vt,{[`${Vt}-status`]:Et,[`${Vt}-not-a-wrapper`]:!wt,[`${Vt}-rtl`]:ot==="rtl"},Ie,Le,st==null?void 0:st.className,(lt=st==null?void 0:st.classNames)===null||lt===void 0?void 0:lt.root,Ye==null?void 0:Ye.root,un,$t);if(!wt&&Et){const en=Ln.color;return kt(b.createElement("span",Object.assign({},dt,{className:ln,style:Object.assign(Object.assign(Object.assign({},Ge==null?void 0:Ge.root),(Ee=st==null?void 0:st.styles)===null||Ee===void 0?void 0:Ee.root),Ln)}),b.createElement("span",{className:Wt,style:Object.assign(Object.assign(Object.assign({},Ge==null?void 0:Ge.indicator),(je=st==null?void 0:st.styles)===null||je===void 0?void 0:je.indicator),Ot)}),It&&b.createElement("span",{style:{color:en},className:`${Vt}-status-text`},It)))}return kt(b.createElement("span",Object.assign({ref:Be},dt,{className:ln,style:Object.assign(Object.assign({},(rt=st==null?void 0:st.styles)===null||rt===void 0?void 0:rt.root),Ge==null?void 0:Ge.root)}),wt,b.createElement(Ke.default,{visible:!mn,motionName:`${Vt}-zoom`,motionAppear:!1,motionDeadline:1e3},en=>{let{className:Jt}=en;var Sn,yn;const Mn=yt("scroll-number",ct),Yn=xn.current,Wn=de()(Ye==null?void 0:Ye.indicator,(Sn=st==null?void 0:st.classNames)===null||Sn===void 0?void 0:Sn.indicator,{[`${Vt}-dot`]:Yn,[`${Vt}-count`]:!Yn,[`${Vt}-count-sm`]:x==="small",[`${Vt}-multiple-words`]:!Yn&&sn&&sn.toString().length>1,[`${Vt}-status-${ft}`]:!!ft,[`${Vt}-color-${Dt}`]:Un});let In=Object.assign(Object.assign(Object.assign({},Ge==null?void 0:Ge.indicator),(yn=st==null?void 0:st.styles)===null||yn===void 0?void 0:yn.indicator),Ln);return Dt&&!Un&&(In=In||{},In.background=Dt),b.createElement(gt,{prefixCls:Mn,show:!mn,motionClassName:Jt,className:Wn,count:sn,title:Xn,style:In,key:"scrollNumber"},Bn)}),Jn))});bt.Ribbon=ke;var Ze=bt},91882:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return $e}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(11592),De=E(26112),ve=E(22703),ye=E(48755),fe=E(84105),xe=E(19563);const ue=at=>{let{children:bt}=at;const{getPrefixCls:Ze}=b.useContext(ye.E_),se=Ze("breadcrumb");return b.createElement("li",{className:`${se}-separator`,"aria-hidden":"true"},bt===""?bt:bt||"/")};ue.__ANT_BREADCRUMB_SEPARATOR=!0;var Fe=ue,Ce=function(at,bt){var Ze={};for(var se in at)Object.prototype.hasOwnProperty.call(at,se)&&bt.indexOf(se)<0&&(Ze[se]=at[se]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,se=Object.getOwnPropertySymbols(at);Be<se.length;Be++)bt.indexOf(se[Be])<0&&Object.prototype.propertyIsEnumerable.call(at,se[Be])&&(Ze[se[Be]]=at[se[Be]]);return Ze};function Te(at,bt){if(at.title===void 0||at.title===null)return null;const Ze=Object.keys(bt).join("|");return typeof at.title=="object"?at.title:String(at.title).replace(new RegExp(`:(${Ze})`,"g"),(se,Be)=>bt[Be]||se)}function we(at,bt,Ze,se){if(Ze==null)return null;const{className:Be,onClick:Je}=bt,lt=Ce(bt,["className","onClick"]),Ee=Object.assign(Object.assign({},(0,De.Z)(lt,{data:!0,aria:!0})),{onClick:Je});return se!==void 0?b.createElement("a",Object.assign({},Ee,{className:de()(`${at}-link`,Be),href:se}),Ze):b.createElement("span",Object.assign({},Ee,{className:de()(`${at}-link`,Be)}),Ze)}function Me(at,bt){return(se,Be,Je,lt,Ee)=>{if(bt)return bt(se,Be,Je,lt);const je=Te(se,Be);return we(at,se,je,Ee)}}var ge=function(at,bt){var Ze={};for(var se in at)Object.prototype.hasOwnProperty.call(at,se)&&bt.indexOf(se)<0&&(Ze[se]=at[se]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,se=Object.getOwnPropertySymbols(at);Be<se.length;Be++)bt.indexOf(se[Be])<0&&Object.prototype.propertyIsEnumerable.call(at,se[Be])&&(Ze[se[Be]]=at[se[Be]]);return Ze};const Ae=at=>{const{prefixCls:bt,separator:Ze="/",children:se,menu:Be,overlay:Je,dropdownProps:lt,href:Ee}=at,rt=(xt=>{if(Be||Je){const ct=Object.assign({},lt);if(Be){const wt=Be||{},{items:ft}=wt,It=ge(wt,["items"]);ct.menu=Object.assign(Object.assign({},It),{items:ft==null?void 0:ft.map((Dt,oe)=>{var{key:ae,title:te,label:x,path:re}=Dt,ne=ge(Dt,["key","title","label","path"]);let le=x!=null?x:te;return re&&(le=b.createElement("a",{href:`${Ee}${re}`},le)),Object.assign(Object.assign({},ne),{key:ae!=null?ae:oe,label:le})})})}else Je&&(ct.overlay=Je);return b.createElement(xe.Z,Object.assign({placement:"bottom"},ct),b.createElement("span",{className:`${bt}-overlay-link`},xt,b.createElement(fe.Z,null)))}return xt})(se);return rt!=null?b.createElement(b.Fragment,null,b.createElement("li",null,rt),Ze&&b.createElement(Fe,null,Ze)):null},Pe=at=>{const{prefixCls:bt,children:Ze,href:se}=at,Be=ge(at,["prefixCls","children","href"]),{getPrefixCls:Je}=b.useContext(ye.E_),lt=Je("breadcrumb",bt);return b.createElement(Ae,Object.assign({},Be,{prefixCls:lt}),we(lt,Be,Ze,se))};Pe.__ANT_BREADCRUMB_ITEM=!0;var Re=Pe,tt=E(36237),ce=E(63356),Oe=E(16931),Ue=E(51636);const ze=at=>{const{componentCls:bt,iconCls:Ze,calc:se}=at;return{[bt]:Object.assign(Object.assign({},(0,ce.Wf)(at)),{color:at.itemColor,fontSize:at.fontSize,[Ze]:{fontSize:at.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:at.linkColor,transition:`color ${at.motionDurationMid}`,padding:`0 ${(0,tt.unit)(at.paddingXXS)}`,borderRadius:at.borderRadiusSM,height:at.fontHeight,display:"inline-block",marginInline:se(at.marginXXS).mul(-1).equal(),"&:hover":{color:at.linkHoverColor,backgroundColor:at.colorBgTextHover}},(0,ce.Qy)(at)),"li:last-child":{color:at.lastItemColor},[`${bt}-separator`]:{marginInline:at.separatorMargin,color:at.separatorColor},[`${bt}-link`]:{[`
|
|
|
> ${Ze} + span,
|
|
|
> ${Ze} + a
|
|
|
`]:{marginInlineStart:at.marginXXS}},[`${bt}-overlay-link`]:{borderRadius:at.borderRadiusSM,height:at.fontHeight,display:"inline-block",padding:`0 ${(0,tt.unit)(at.paddingXXS)}`,marginInline:se(at.marginXXS).mul(-1).equal(),[`> ${Ze}`]:{marginInlineStart:at.marginXXS,fontSize:at.fontSizeIcon},"&:hover":{color:at.linkHoverColor,backgroundColor:at.colorBgTextHover,a:{color:at.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${at.componentCls}-rtl`]:{direction:"rtl"}})}},nt=at=>({itemColor:at.colorTextDescription,lastItemColor:at.colorText,iconFontSize:at.fontSize,linkColor:at.colorTextDescription,linkHoverColor:at.colorText,separatorColor:at.colorTextDescription,separatorMargin:at.marginXS});var ke=(0,Oe.I$)("Breadcrumb",at=>{const bt=(0,Ue.mergeToken)(at,{});return ze(bt)},nt),Ve=function(at,bt){var Ze={};for(var se in at)Object.prototype.hasOwnProperty.call(at,se)&&bt.indexOf(se)<0&&(Ze[se]=at[se]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,se=Object.getOwnPropertySymbols(at);Be<se.length;Be++)bt.indexOf(se[Be])<0&&Object.prototype.propertyIsEnumerable.call(at,se[Be])&&(Ze[se[Be]]=at[se[Be]]);return Ze};function et(at){const{breadcrumbName:bt,children:Ze}=at,se=Ve(at,["breadcrumbName","children"]),Be=Object.assign({title:bt},se);return Ze&&(Be.menu={items:Ze.map(Je=>{var{breadcrumbName:lt}=Je,Ee=Ve(Je,["breadcrumbName"]);return Object.assign(Object.assign({},Ee),{title:lt})})}),Be}function Se(at,bt){return(0,b.useMemo)(()=>at||(bt?bt.map(et):null),[at,bt])}var qe=function(at,bt){var Ze={};for(var se in at)Object.prototype.hasOwnProperty.call(at,se)&&bt.indexOf(se)<0&&(Ze[se]=at[se]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,se=Object.getOwnPropertySymbols(at);Be<se.length;Be++)bt.indexOf(se[Be])<0&&Object.prototype.propertyIsEnumerable.call(at,se[Be])&&(Ze[se[Be]]=at[se[Be]]);return Ze};const pe=(at,bt)=>{if(bt===void 0)return bt;let Ze=(bt||"").replace(/^\//,"");return Object.keys(at).forEach(se=>{Ze=Ze.replace(`:${se}`,at[se])}),Ze},be=at=>{const{prefixCls:bt,separator:Ze="/",style:se,className:Be,rootClassName:Je,routes:lt,items:Ee,children:je,itemRender:rt,params:xt={}}=at,ct=qe(at,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:wt,direction:ft,breadcrumb:It}=b.useContext(ye.E_);let Dt;const oe=wt("breadcrumb",bt),[ae,te,x]=ke(oe),re=Se(Ee,lt),ne=Me(oe,rt);if(re&&re.length>0){const Le=[],Ye=Ee||lt;Dt=re.map((Ge,it)=>{const{path:dt,key:yt,type:ot,menu:st,overlay:Vt,onClick:kt,className:un,separator:$t,dropdownProps:Rt}=Ge,Kt=pe(xt,dt);Kt!==void 0&&Le.push(Kt);const qt=yt!=null?yt:it;if(ot==="separator")return b.createElement(Fe,{key:qt},$t);const Et={},Tt=it===re.length-1;st?Et.menu=st:Vt&&(Et.overlay=Vt);let{href:on}=Ge;return Le.length&&Kt!==void 0&&(on=`#/${Le.join("/")}`),b.createElement(Ae,Object.assign({key:qt},Et,(0,De.Z)(Ge,{data:!0,aria:!0}),{className:un,dropdownProps:Rt,href:on,separator:Tt?"":Ze,onClick:kt,prefixCls:oe}),ne(Ge,xt,Ye,Le,on))})}else if(je){const Le=(0,Ke.Z)(je).length;Dt=(0,Ke.Z)(je).map((Ye,Ge)=>{if(!Ye)return Ye;const it=Ge===Le-1;return(0,ve.Tm)(Ye,{separator:it?"":Ze,key:Ge})})}const le=de()(oe,It==null?void 0:It.className,{[`${oe}-rtl`]:ft==="rtl"},Be,Je,te,x),Ie=Object.assign(Object.assign({},It==null?void 0:It.style),se);return ae(b.createElement("nav",Object.assign({className:le,style:Ie},ct),b.createElement("ol",null,Dt)))};be.Item=Re,be.Separator=Fe;var gt=be,$e=gt},62673:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return ke}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(16632),De=E(8654),ve=E(12919),ye=E(63872),fe=E(48755),xe=E(2171),ue=E(83397),Fe=E(56553),Te=b.createContext(null),we=E(36170),Me=E(74632),ge=function(Ve,et){var Se={};for(var qe in Ve)Object.prototype.hasOwnProperty.call(Ve,qe)&&et.indexOf(qe)<0&&(Se[qe]=Ve[qe]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,qe=Object.getOwnPropertySymbols(Ve);pe<qe.length;pe++)et.indexOf(qe[pe])<0&&Object.prototype.propertyIsEnumerable.call(Ve,qe[pe])&&(Se[qe[pe]]=Ve[qe[pe]]);return Se};const Ae=(Ve,et)=>{var Se;const{prefixCls:qe,className:pe,rootClassName:be,children:gt,indeterminate:$e=!1,style:at,onMouseEnter:bt,onMouseLeave:Ze,skipGroup:se=!1,disabled:Be}=Ve,Je=ge(Ve,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:lt,direction:Ee,checkbox:je}=b.useContext(fe.E_),rt=b.useContext(Te),{isFormItemInput:xt}=b.useContext(Fe.aM),ct=b.useContext(xe.Z),wt=(Se=(rt==null?void 0:rt.disabled)||Be)!==null&&Se!==void 0?Se:ct,ft=b.useRef(Je.value),It=b.useRef(null),Dt=(0,De.sQ)(et,It);b.useEffect(()=>{rt==null||rt.registerValue(Je.value)},[]),b.useEffect(()=>{if(!se)return Je.value!==ft.current&&(rt==null||rt.cancelValue(ft.current),rt==null||rt.registerValue(Je.value),ft.current=Je.value),()=>rt==null?void 0:rt.cancelValue(Je.value)},[Je.value]),b.useEffect(()=>{var Ge;!((Ge=It.current)===null||Ge===void 0)&&Ge.input&&(It.current.input.indeterminate=$e)},[$e]);const oe=lt("checkbox",qe),ae=(0,ue.Z)(oe),[te,x,re]=(0,we.ZP)(oe,ae),ne=Object.assign({},Je);rt&&!se&&(ne.onChange=function(){Je.onChange&&Je.onChange.apply(Je,arguments),rt.toggleOption&&rt.toggleOption({label:gt,value:Je.value})},ne.name=rt.name,ne.checked=rt.value.includes(Je.value));const le=de()(`${oe}-wrapper`,{[`${oe}-rtl`]:Ee==="rtl",[`${oe}-wrapper-checked`]:ne.checked,[`${oe}-wrapper-disabled`]:wt,[`${oe}-wrapper-in-form-item`]:xt},je==null?void 0:je.className,pe,be,re,ae,x),Ie=de()({[`${oe}-indeterminate`]:$e},ye.A,x),[Le,Ye]=(0,Me.Z)(ne.onClick);return te(b.createElement(ve.Z,{component:"Checkbox",disabled:wt},b.createElement("label",{className:le,style:Object.assign(Object.assign({},je==null?void 0:je.style),at),onMouseEnter:bt,onMouseLeave:Ze,onClick:Le},b.createElement(Ke.Z,Object.assign({},ne,{onClick:Ye,prefixCls:oe,className:Ie,disabled:wt,ref:Dt})),gt!==void 0&&b.createElement("span",{className:`${oe}-label`},gt))))};var Re=b.forwardRef(Ae),tt=E(94480),ce=E(2738),Oe=function(Ve,et){var Se={};for(var qe in Ve)Object.prototype.hasOwnProperty.call(Ve,qe)&&et.indexOf(qe)<0&&(Se[qe]=Ve[qe]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,qe=Object.getOwnPropertySymbols(Ve);pe<qe.length;pe++)et.indexOf(qe[pe])<0&&Object.prototype.propertyIsEnumerable.call(Ve,qe[pe])&&(Se[qe[pe]]=Ve[qe[pe]]);return Se},ze=b.forwardRef((Ve,et)=>{const{defaultValue:Se,children:qe,options:pe=[],prefixCls:be,className:gt,rootClassName:$e,style:at,onChange:bt}=Ve,Ze=Oe(Ve,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:se,direction:Be}=b.useContext(fe.E_),[Je,lt]=b.useState(Ze.value||Se||[]),[Ee,je]=b.useState([]);b.useEffect(()=>{"value"in Ze&<(Ze.value||[])},[Ze.value]);const rt=b.useMemo(()=>pe.map(Ie=>typeof Ie=="string"||typeof Ie=="number"?{label:Ie,value:Ie}:Ie),[pe]),xt=Ie=>{je(Le=>Le.filter(Ye=>Ye!==Ie))},ct=Ie=>{je(Le=>[].concat((0,tt.Z)(Le),[Ie]))},wt=Ie=>{const Le=Je.indexOf(Ie.value),Ye=(0,tt.Z)(Je);Le===-1?Ye.push(Ie.value):Ye.splice(Le,1),"value"in Ze||lt(Ye),bt==null||bt(Ye.filter(Ge=>Ee.includes(Ge)).sort((Ge,it)=>{const dt=rt.findIndex(ot=>ot.value===Ge),yt=rt.findIndex(ot=>ot.value===it);return dt-yt}))},ft=se("checkbox",be),It=`${ft}-group`,Dt=(0,ue.Z)(ft),[oe,ae,te]=(0,we.ZP)(ft,Dt),x=(0,ce.Z)(Ze,["value","disabled"]),re=pe.length?rt.map(Ie=>b.createElement(Re,{prefixCls:ft,key:Ie.value.toString(),disabled:"disabled"in Ie?Ie.disabled:Ze.disabled,value:Ie.value,checked:Je.includes(Ie.value),onChange:Ie.onChange,className:`${It}-item`,style:Ie.style,title:Ie.title,id:Ie.id,required:Ie.required},Ie.label)):qe,ne={toggleOption:wt,value:Je,disabled:Ze.disabled,name:Ze.name,registerValue:ct,cancelValue:xt},le=de()(It,{[`${It}-rtl`]:Be==="rtl"},gt,$e,te,Dt,ae);return oe(b.createElement("div",Object.assign({className:le,style:at},x,{ref:et}),b.createElement(Te.Provider,{value:ne},re)))});const nt=Re;nt.Group=ze,nt.__ANT_CHECKBOX=!0;var ke=nt},36170:function(wn,zt,E){"use strict";E.d(zt,{C2:function(){return ve}});var b=E(36237),We=E(63356),de=E(51636),Ke=E(16931);const De=ye=>{const{checkboxCls:fe}=ye,xe=`${fe}-wrapper`;return[{[`${fe}-group`]:Object.assign(Object.assign({},(0,We.Wf)(ye)),{display:"inline-flex",flexWrap:"wrap",columnGap:ye.marginXS,[`> ${ye.antCls}-row`]:{flex:1}}),[xe]:Object.assign(Object.assign({},(0,We.Wf)(ye)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[fe]:Object.assign(Object.assign({},(0,We.Wf)(ye)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ye.borderRadiusSM,alignSelf:"center",[`${fe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${fe}-inner`]:Object.assign({},(0,We.oN)(ye))},[`${fe}-inner`]:{boxSizing:"border-box",display:"block",width:ye.checkboxSize,height:ye.checkboxSize,direction:"ltr",backgroundColor:ye.colorBgContainer,border:`${(0,b.unit)(ye.lineWidth)} ${ye.lineType} ${ye.colorBorder}`,borderRadius:ye.borderRadiusSM,borderCollapse:"separate",transition:`all ${ye.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:ye.calc(ye.checkboxSize).div(14).mul(5).equal(),height:ye.calc(ye.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(ye.lineWidthBold)} solid ${ye.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ye.motionDurationFast} ${ye.motionEaseInBack}, opacity ${ye.motionDurationFast}`}},"& + span":{paddingInlineStart:ye.paddingXS,paddingInlineEnd:ye.paddingXS}})},{[`
|
|
|
${xe}:not(${xe}-disabled),
|
|
|
${fe}:not(${fe}-disabled)
|
|
|
`]:{[`&:hover ${fe}-inner`]:{borderColor:ye.colorPrimary}},[`${xe}:not(${xe}-disabled)`]:{[`&:hover ${fe}-checked:not(${fe}-disabled) ${fe}-inner`]:{backgroundColor:ye.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${fe}-checked:not(${fe}-disabled):after`]:{borderColor:ye.colorPrimaryHover}}},{[`${fe}-checked`]:{[`${fe}-inner`]:{backgroundColor:ye.colorPrimary,borderColor:ye.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ye.motionDurationMid} ${ye.motionEaseOutBack} ${ye.motionDurationFast}`}}},[`
|
|
|
${xe}-checked:not(${xe}-disabled),
|
|
|
${fe}-checked:not(${fe}-disabled)
|
|
|
`]:{[`&:hover ${fe}-inner`]:{backgroundColor:ye.colorPrimaryHover,borderColor:"transparent"}}},{[fe]:{"&-indeterminate":{[`${fe}-inner`]:{backgroundColor:`${ye.colorBgContainer} !important`,borderColor:`${ye.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:ye.calc(ye.fontSizeLG).div(2).equal(),height:ye.calc(ye.fontSizeLG).div(2).equal(),backgroundColor:ye.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${fe}-inner`]:{backgroundColor:`${ye.colorBgContainer} !important`,borderColor:`${ye.colorPrimary} !important`}}}},{[`${xe}-disabled`]:{cursor:"not-allowed"},[`${fe}-disabled`]:{[`&, ${fe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${fe}-inner`]:{background:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,"&:after":{borderColor:ye.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ye.colorTextDisabled},[`&${fe}-indeterminate ${fe}-inner::after`]:{background:ye.colorTextDisabled}}}]};function ve(ye,fe){const xe=(0,de.mergeToken)(fe,{checkboxCls:`.${ye}`,checkboxSize:fe.controlInteractiveSize});return[De(xe)]}zt.ZP=(0,Ke.I$)("Checkbox",(ye,fe)=>{let{prefixCls:xe}=fe;return[ve(xe,ye)]})},38406:function(wn,zt,E){"use strict";var b=E(59301),We=E(48755),de=E(584);const Ke=De=>{const{componentName:ve}=De,{getPrefixCls:ye}=(0,b.useContext)(We.E_),fe=ye("empty");switch(ve){case"Table":case"List":return b.createElement(de.Z,{image:de.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(de.Z,{image:de.Z.PRESENTED_IMAGE_SIMPLE,className:`${fe}-small`});case"Table.filter":return null;default:return b.createElement(de.Z,null)}};zt.Z=Ke},24017:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return os}});var b=E(66649),We=E.n(b),de=E(9007),Ke=E.n(de),De=E(50991),ve=E.n(De),ye=E(9084),fe=E.n(ye),xe=E(58626),ue=E.n(xe),Fe=E(13477),Ce=E.n(Fe),Te=E(64796),we=E.n(Te);We().extend(we()),We().extend(Ce()),We().extend(Ke()),We().extend(ve()),We().extend(fe()),We().extend(ue()),We().extend(function(me,Xe){var mt=Xe.prototype,Ft=mt.format;mt.format=function(fn){var bn=(fn||"").replace("Wo","wo");return Ft.bind(this)(bn)}});var Me={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},ge=function(Xe){var mt=Me[Xe];return mt||Xe.split("_")[0]},Ae=function(){},Pe={getNow:function(){var Xe=We()();return typeof Xe.tz=="function"?Xe.tz():Xe},getFixedDate:function(Xe){return We()(Xe,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Xe){return Xe.endOf("month")},getWeekDay:function(Xe){var mt=Xe.locale("en");return mt.weekday()+mt.localeData().firstDayOfWeek()},getYear:function(Xe){return Xe.year()},getMonth:function(Xe){return Xe.month()},getDate:function(Xe){return Xe.date()},getHour:function(Xe){return Xe.hour()},getMinute:function(Xe){return Xe.minute()},getSecond:function(Xe){return Xe.second()},getMillisecond:function(Xe){return Xe.millisecond()},addYear:function(Xe,mt){return Xe.add(mt,"year")},addMonth:function(Xe,mt){return Xe.add(mt,"month")},addDate:function(Xe,mt){return Xe.add(mt,"day")},setYear:function(Xe,mt){return Xe.year(mt)},setMonth:function(Xe,mt){return Xe.month(mt)},setDate:function(Xe,mt){return Xe.date(mt)},setHour:function(Xe,mt){return Xe.hour(mt)},setMinute:function(Xe,mt){return Xe.minute(mt)},setSecond:function(Xe,mt){return Xe.second(mt)},setMillisecond:function(Xe,mt){return Xe.millisecond(mt)},isAfter:function(Xe,mt){return Xe.isAfter(mt)},isValidate:function(Xe){return Xe.isValid()},locale:{getWeekFirstDay:function(Xe){return We()().locale(ge(Xe)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Xe,mt){return mt.locale(ge(Xe)).weekday(0)},getWeek:function(Xe,mt){return mt.locale(ge(Xe)).week()},getShortWeekDays:function(Xe){return We()().locale(ge(Xe)).localeData().weekdaysMin()},getShortMonths:function(Xe){return We()().locale(ge(Xe)).localeData().monthsShort()},format:function(Xe,mt,Ft){return mt.locale(ge(Xe)).format(Ft)},parse:function(Xe,mt,Ft){for(var Bt=ge(Xe),fn=0;fn<Ft.length;fn+=1){var bn=Ft[fn],An=mt;if(bn.includes("wo")||bn.includes("Wo")){for(var Zn=An.split("-")[0],Kn=An.split("-")[1],Dn=We()(Zn,"YYYY").startOf("year").locale(Bt),qn=0;qn<=52;qn+=1){var sr=Dn.add(qn,"week");if(sr.format("Wo")===Kn)return sr}return Ae(),null}var or=We()(An,bn,!0).locale(Bt);if(or.isValid())return or}return mt&&Ae(),null}}},Re=Pe,tt=E(45915),ce=E(59301),Oe=E(54476),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},ze=Ue,nt=E(7657),ke=function(Xe,mt){return ce.createElement(nt.Z,(0,Oe.Z)({},Xe,{ref:mt,icon:ze}))},Ve=ce.forwardRef(ke),et=Ve,Se={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},qe=Se,pe=function(Xe,mt){return ce.createElement(nt.Z,(0,Oe.Z)({},Xe,{ref:mt,icon:qe}))},be=ce.forwardRef(pe),gt=be,$e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},at=$e,bt=function(Xe,mt){return ce.createElement(nt.Z,(0,Oe.Z)({},Xe,{ref:mt,icon:at}))},Ze=ce.forwardRef(bt),se=Ze,Be=E(92310),Je=E.n(Be),lt=E(94480),Ee=E(33885),je=E(42978),rt=E(70425),xt=E(34280),ct=E(2738),wt=E(26112),ft=E(48736),It=E(20068),Dt=E(65030);function oe(me,Xe){return me!==void 0?me:Xe?"bottomRight":"bottomLeft"}var ae=ce.createContext(null),te=ae,x={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function re(me){var Xe=me.popupElement,mt=me.popupStyle,Ft=me.popupClassName,Bt=me.popupAlign,fn=me.transitionName,bn=me.getPopupContainer,An=me.children,Zn=me.range,Kn=me.placement,Dn=me.builtinPlacements,qn=Dn===void 0?x:Dn,sr=me.direction,or=me.visible,er=me.onClose,dr=ce.useContext(te),hr=dr.prefixCls,mr="".concat(hr,"-dropdown"),_r=oe(Kn,sr==="rtl");return ce.createElement(Dt.Z,{showAction:[],hideAction:["click"],popupPlacement:_r,builtinPlacements:qn,prefixCls:mr,popupTransitionName:fn,popup:Xe,popupAlign:Bt,popupVisible:or,popupClassName:Je()(Ft,(0,It.Z)((0,It.Z)({},"".concat(mr,"-range"),Zn),"".concat(mr,"-rtl"),sr==="rtl")),popupStyle:mt,stretch:"minWidth",getPopupContainer:bn,onPopupVisibleChange:function(xr){xr||er()}},An)}var ne=re;function le(me,Xe){for(var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ft=String(me);Ft.length<Xe;)Ft="".concat(mt).concat(Ft);return Ft}function Ie(me){return me==null?[]:Array.isArray(me)?me:[me]}function Le(me,Xe,mt){var Ft=(0,lt.Z)(me);return Ft[Xe]=mt,Ft}function Ye(me,Xe){var mt={},Ft=Xe||Object.keys(me);return Ft.forEach(function(Bt){me[Bt]!==void 0&&(mt[Bt]=me[Bt])}),mt}function Ge(me,Xe,mt){if(mt)return mt;switch(me){case"time":return Xe.fieldTimeFormat;case"datetime":return Xe.fieldDateTimeFormat;case"month":return Xe.fieldMonthFormat;case"year":return Xe.fieldYearFormat;case"quarter":return Xe.fieldQuarterFormat;case"week":return Xe.fieldWeekFormat;default:return Xe.fieldDateFormat}}function it(me,Xe,mt){var Ft=mt!==void 0?mt:Xe[Xe.length-1],Bt=Xe.find(function(fn){return me[fn]});return Ft!==Bt?me[Bt]:void 0}function dt(me){return Ye(me,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function yt(me,Xe,mt,Ft){var Bt=ce.useMemo(function(){return me||function(bn,An){var Zn=bn;return Xe&&An.type==="date"?Xe(Zn,An.today):mt&&An.type==="month"?mt(Zn,An.locale):An.originNode}},[me,mt,Xe]),fn=ce.useCallback(function(bn,An){return Bt(bn,(0,Ee.Z)((0,Ee.Z)({},An),{},{range:Ft}))},[Bt,Ft]);return fn}function ot(me,Xe){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ft=ce.useState([!1,!1]),Bt=(0,je.Z)(Ft,2),fn=Bt[0],bn=Bt[1],An=function(Dn,qn){bn(function(sr){return Le(sr,qn,Dn)})},Zn=ce.useMemo(function(){return fn.map(function(Kn,Dn){if(Kn)return!0;var qn=me[Dn];return qn?!!(!mt[Dn]&&!qn||qn&&Xe(qn,{activeIndex:Dn})):!1})},[me,fn,Xe,mt]);return[Zn,An]}function st(me,Xe,mt,Ft,Bt){var fn="",bn=[];return me&&bn.push(Bt?"hh":"HH"),Xe&&bn.push("mm"),mt&&bn.push("ss"),fn=bn.join(":"),Ft&&(fn+=".SSS"),Bt&&(fn+=" A"),fn}function Vt(me,Xe,mt,Ft,Bt,fn){var bn=me.fieldDateTimeFormat,An=me.fieldDateFormat,Zn=me.fieldTimeFormat,Kn=me.fieldMonthFormat,Dn=me.fieldYearFormat,qn=me.fieldWeekFormat,sr=me.fieldQuarterFormat,or=me.yearFormat,er=me.cellYearFormat,dr=me.cellQuarterFormat,hr=me.dayFormat,mr=me.cellDateFormat,_r=st(Xe,mt,Ft,Bt,fn);return(0,Ee.Z)((0,Ee.Z)({},me),{},{fieldDateTimeFormat:bn||"YYYY-MM-DD ".concat(_r),fieldDateFormat:An||"YYYY-MM-DD",fieldTimeFormat:Zn||_r,fieldMonthFormat:Kn||"YYYY-MM",fieldYearFormat:Dn||"YYYY",fieldWeekFormat:qn||"gggg-wo",fieldQuarterFormat:sr||"YYYY-[Q]Q",yearFormat:or||"YYYY",cellYearFormat:er||"YYYY",cellQuarterFormat:dr||"[Q]Q",cellDateFormat:mr||hr||"D"})}function kt(me,Xe){var mt=Xe.showHour,Ft=Xe.showMinute,Bt=Xe.showSecond,fn=Xe.showMillisecond,bn=Xe.use12Hours;return ce.useMemo(function(){return Vt(me,mt,Ft,Bt,fn,bn)},[me,mt,Ft,Bt,fn,bn])}var un=E(76190);function $t(me,Xe,mt){return mt!=null?mt:Xe.some(function(Ft){return me.includes(Ft)})}var Rt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Kt(me){var Xe=Ye(me,Rt),mt=me.format,Ft=me.picker,Bt=null;return mt&&(Bt=mt,Array.isArray(Bt)&&(Bt=Bt[0]),Bt=(0,un.Z)(Bt)==="object"?Bt.format:Bt),Ft==="time"&&(Xe.format=Bt),[Xe,Bt]}function qt(me){return me&&typeof me=="string"}function Et(me,Xe,mt,Ft){return[me,Xe,mt,Ft].some(function(Bt){return Bt!==void 0})}function Tt(me,Xe,mt,Ft,Bt){var fn=Xe,bn=mt,An=Ft;if(!me&&!fn&&!bn&&!An&&!Bt)fn=!0,bn=!0,An=!0;else if(me){var Zn,Kn,Dn,qn=[fn,bn,An].some(function(er){return er===!1}),sr=[fn,bn,An].some(function(er){return er===!0}),or=qn?!0:!sr;fn=(Zn=fn)!==null&&Zn!==void 0?Zn:or,bn=(Kn=bn)!==null&&Kn!==void 0?Kn:or,An=(Dn=An)!==null&&Dn!==void 0?Dn:or}return[fn,bn,An,Bt]}function on(me){var Xe=me.showTime,mt=Kt(me),Ft=(0,je.Z)(mt,2),Bt=Ft[0],fn=Ft[1],bn=Xe&&(0,un.Z)(Xe)==="object"?Xe:{},An=(0,Ee.Z)((0,Ee.Z)({defaultOpenValue:bn.defaultOpenValue||bn.defaultValue},Bt),bn),Zn=An.showMillisecond,Kn=An.showHour,Dn=An.showMinute,qn=An.showSecond,sr=Et(Kn,Dn,qn,Zn),or=Tt(sr,Kn,Dn,qn,Zn),er=(0,je.Z)(or,3);return Kn=er[0],Dn=er[1],qn=er[2],[An,(0,Ee.Z)((0,Ee.Z)({},An),{},{showHour:Kn,showMinute:Dn,showSecond:qn,showMillisecond:Zn}),An.format,fn]}function mn(me,Xe,mt,Ft,Bt){var fn=me==="time";if(me==="datetime"||fn){for(var bn=Ft,An=Ge(me,Bt,null),Zn=An,Kn=[Xe,mt],Dn=0;Dn<Kn.length;Dn+=1){var qn=Ie(Kn[Dn])[0];if(qt(qn)){Zn=qn;break}}var sr=bn.showHour,or=bn.showMinute,er=bn.showSecond,dr=bn.showMillisecond,hr=bn.use12Hours,mr=$t(Zn,["a","A","LT","LLL","LTS"],hr),_r=Et(sr,or,er,dr);_r||(sr=$t(Zn,["H","h","k","LT","LLL"]),or=$t(Zn,["m","LT","LLL"]),er=$t(Zn,["s","LTS"]),dr=$t(Zn,["SSS"]));var kr=Tt(_r,sr,or,er,dr),xr=(0,je.Z)(kr,3);sr=xr[0],or=xr[1],er=xr[2];var Qr=Xe||st(sr,or,er,dr,mr);return(0,Ee.Z)((0,Ee.Z)({},bn),{},{format:Qr,showHour:sr,showMinute:or,showSecond:er,showMillisecond:dr,use12Hours:mr})}return null}function vt(me,Xe,mt){if(Xe===!1)return null;var Ft=Xe&&(0,un.Z)(Xe)==="object"?Xe:{};return Ft.clearIcon||mt||ce.createElement("span",{className:"".concat(me,"-clear-btn")})}var Mt=7;function Yt(me,Xe,mt){return!me&&!Xe||me===Xe?!0:!me||!Xe?!1:mt()}function sn(me,Xe,mt){return Yt(Xe,mt,function(){var Ft=Math.floor(me.getYear(Xe)/10),Bt=Math.floor(me.getYear(mt)/10);return Ft===Bt})}function xn(me,Xe,mt){return Yt(Xe,mt,function(){return me.getYear(Xe)===me.getYear(mt)})}function Ln(me,Xe){var mt=Math.floor(me.getMonth(Xe)/3);return mt+1}function Xn(me,Xe,mt){return Yt(Xe,mt,function(){return xn(me,Xe,mt)&&Ln(me,Xe)===Ln(me,mt)})}function Jn(me,Xe,mt){return Yt(Xe,mt,function(){return xn(me,Xe,mt)&&me.getMonth(Xe)===me.getMonth(mt)})}function Bn(me,Xe,mt){return Yt(Xe,mt,function(){return xn(me,Xe,mt)&&Jn(me,Xe,mt)&&me.getDate(Xe)===me.getDate(mt)})}function Un(me,Xe,mt){return Yt(Xe,mt,function(){return me.getHour(Xe)===me.getHour(mt)&&me.getMinute(Xe)===me.getMinute(mt)&&me.getSecond(Xe)===me.getSecond(mt)})}function Wt(me,Xe,mt){return Yt(Xe,mt,function(){return Bn(me,Xe,mt)&&Un(me,Xe,mt)&&me.getMillisecond(Xe)===me.getMillisecond(mt)})}function Ot(me,Xe,mt,Ft){return Yt(mt,Ft,function(){var Bt=me.locale.getWeekFirstDate(Xe,mt),fn=me.locale.getWeekFirstDate(Xe,Ft);return xn(me,Bt,fn)&&me.locale.getWeek(Xe,mt)===me.locale.getWeek(Xe,Ft)})}function ln(me,Xe,mt,Ft,Bt){switch(Bt){case"date":return Bn(me,mt,Ft);case"week":return Ot(me,Xe.locale,mt,Ft);case"month":return Jn(me,mt,Ft);case"quarter":return Xn(me,mt,Ft);case"year":return xn(me,mt,Ft);case"decade":return sn(me,mt,Ft);case"time":return Un(me,mt,Ft);default:return Wt(me,mt,Ft)}}function en(me,Xe,mt,Ft){return!Xe||!mt||!Ft?!1:me.isAfter(Ft,Xe)&&me.isAfter(mt,Ft)}function Jt(me,Xe,mt,Ft,Bt){return ln(me,Xe,mt,Ft,Bt)?!0:me.isAfter(mt,Ft)}function Sn(me,Xe,mt){var Ft=Xe.locale.getWeekFirstDay(me),Bt=Xe.setDate(mt,1),fn=Xe.getWeekDay(Bt),bn=Xe.addDate(Bt,Ft-fn);return Xe.getMonth(bn)===Xe.getMonth(mt)&&Xe.getDate(bn)>1&&(bn=Xe.addDate(bn,-7)),bn}function yn(me,Xe){var mt=Xe.generateConfig,Ft=Xe.locale,Bt=Xe.format;return me?typeof Bt=="function"?Bt(me):mt.locale.format(Ft.locale,me,Bt):""}function Mn(me,Xe,mt){var Ft=Xe,Bt=["getHour","getMinute","getSecond","getMillisecond"],fn=["setHour","setMinute","setSecond","setMillisecond"];return fn.forEach(function(bn,An){mt?Ft=me[bn](Ft,me[Bt[An]](mt)):Ft=me[bn](Ft,0)}),Ft}function Yn(me,Xe,mt,Ft,Bt){var fn=(0,rt.zX)(function(bn,An){return!!(mt&&mt(bn,An)||Ft&&me.isAfter(Ft,bn)&&!ln(me,Xe,Ft,bn,An.type)||Bt&&me.isAfter(bn,Bt)&&!ln(me,Xe,Bt,bn,An.type))});return fn}function Wn(me,Xe,mt){return ce.useMemo(function(){var Ft=Ge(me,Xe,mt),Bt=Ie(Ft),fn=Bt[0],bn=(0,un.Z)(fn)==="object"&&fn.type==="mask"?fn.format:null;return[Bt.map(function(An){return typeof An=="string"||typeof An=="function"?An:An.format}),bn]},[me,Xe,mt])}function In(me,Xe,mt){return typeof me[0]=="function"||mt?!0:Xe}function ar(me,Xe,mt,Ft){var Bt=(0,rt.zX)(function(fn,bn){var An=(0,Ee.Z)({type:Xe},bn);if(delete An.activeIndex,!me.isValidate(fn)||mt&&mt(fn,An))return!0;if((Xe==="date"||Xe==="time")&&Ft){var Zn,Kn=bn&&bn.activeIndex===1?"end":"start",Dn=((Zn=Ft.disabledTime)===null||Zn===void 0?void 0:Zn.call(Ft,fn,Kn,{from:An.from}))||{},qn=Dn.disabledHours,sr=Dn.disabledMinutes,or=Dn.disabledSeconds,er=Dn.disabledMilliseconds,dr=Ft.disabledHours,hr=Ft.disabledMinutes,mr=Ft.disabledSeconds,_r=qn||dr,kr=sr||hr,xr=or||mr,Qr=me.getHour(fn),Br=me.getMinute(fn),Nr=me.getSecond(fn),Bi=me.getMillisecond(fn);if(_r&&_r().includes(Qr)||kr&&kr(Qr).includes(Br)||xr&&xr(Qr,Br).includes(Nr)||er&&er(Qr,Br,Nr).includes(Bi))return!0}return!1});return Bt}function tr(me){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt=ce.useMemo(function(){var Ft=me&&Ie(me);return Xe&&Ft&&(Ft[1]=Ft[1]||Ft[0]),Ft},[me,Xe]);return mt}function Rr(me,Xe){var mt=me.generateConfig,Ft=me.locale,Bt=me.picker,fn=Bt===void 0?"date":Bt,bn=me.prefixCls,An=bn===void 0?"rc-picker":bn,Zn=me.styles,Kn=Zn===void 0?{}:Zn,Dn=me.classNames,qn=Dn===void 0?{}:Dn,sr=me.order,or=sr===void 0?!0:sr,er=me.components,dr=er===void 0?{}:er,hr=me.inputRender,mr=me.allowClear,_r=me.clearIcon,kr=me.needConfirm,xr=me.multiple,Qr=me.format,Br=me.inputReadOnly,Nr=me.disabledDate,Bi=me.minDate,pi=me.maxDate,yi=me.showTime,di=me.value,Li=me.defaultValue,xi=me.pickerValue,ii=me.defaultPickerValue,Gr=tr(di),si=tr(Li),li=tr(xi),Vi=tr(ii),Ni=fn==="date"&&yi?"datetime":fn,vi=Ni==="time"||Ni==="datetime",Si=vi||xr,oi=kr!=null?kr:vi,bi=on(me),gi=(0,je.Z)(bi,4),Ki=gi[0],lo=gi[1],uo=gi[2],_e=gi[3],He=kt(Ft,lo),Ct=ce.useMemo(function(){return mn(Ni,uo,_e,Ki,He)},[Ni,uo,_e,Ki,He]),Pt=ce.useMemo(function(){return(0,Ee.Z)((0,Ee.Z)({},me),{},{prefixCls:An,locale:He,picker:fn,styles:Kn,classNames:qn,order:or,components:(0,Ee.Z)({input:hr},dr),clearIcon:vt(An,mr,_r),showTime:Ct,value:Gr,defaultValue:si,pickerValue:li,defaultPickerValue:Vi},Xe==null?void 0:Xe())},[me]),Nt=Wn(Ni,He,Qr),_t=(0,je.Z)(Nt,2),cn=_t[0],rn=_t[1],pn=In(cn,Br,xr),vn=Yn(mt,Ft,Nr,Bi,pi),Tn=ar(mt,fn,vn,Ct),Fn=ce.useMemo(function(){return(0,Ee.Z)((0,Ee.Z)({},Pt),{},{needConfirm:oi,inputReadOnly:pn,disabledDate:vn})},[Pt,oi,pn,vn]);return[Fn,Ni,Si,cn,rn,Tn]}var Ir=E(16089);function En(me,Xe,mt){var Ft=(0,rt.C8)(Xe,{value:me}),Bt=(0,je.Z)(Ft,2),fn=Bt[0],bn=Bt[1],An=ce.useRef(me),Zn=ce.useRef(),Kn=function(){Ir.Z.cancel(Zn.current)},Dn=(0,rt.zX)(function(){bn(An.current),mt&&fn!==An.current&&mt(An.current)}),qn=(0,rt.zX)(function(sr,or){Kn(),An.current=sr,sr||or?Dn():Zn.current=(0,Ir.Z)(Dn)});return ce.useEffect(function(){return Kn},[]),[fn,qn]}function kn(me,Xe){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ft=arguments.length>3?arguments[3]:void 0,Bt=mt.every(function(Dn){return Dn})?!1:me,fn=En(Bt,Xe||!1,Ft),bn=(0,je.Z)(fn,2),An=bn[0],Zn=bn[1];function Kn(Dn){var qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!qn.inherit||An)&&Zn(Dn,qn.force)}return[An,Kn]}function nr(me){var Xe=ce.useRef();return ce.useImperativeHandle(me,function(){var mt;return{nativeElement:(mt=Xe.current)===null||mt===void 0?void 0:mt.nativeElement,focus:function(Bt){var fn;(fn=Xe.current)===null||fn===void 0||fn.focus(Bt)},blur:function(){var Bt;(Bt=Xe.current)===null||Bt===void 0||Bt.blur()}}}),Xe}function rr(me,Xe){return ce.useMemo(function(){return me||(Xe?((0,ft.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Xe).map(function(mt){var Ft=(0,je.Z)(mt,2),Bt=Ft[0],fn=Ft[1];return{label:Bt,value:fn}})):[])},[me,Xe])}function Lt(me,Xe){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ft=ce.useRef(Xe);Ft.current=Xe,(0,xt.o)(function(){if(me)Ft.current(me);else{var Bt=(0,Ir.Z)(function(){Ft.current(me)},mt);return function(){Ir.Z.cancel(Bt)}}},[me])}function Qt(me){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ft=ce.useState(0),Bt=(0,je.Z)(Ft,2),fn=Bt[0],bn=Bt[1],An=ce.useState(!1),Zn=(0,je.Z)(An,2),Kn=Zn[0],Dn=Zn[1],qn=ce.useRef([]),sr=ce.useRef(null),or=ce.useRef(null),er=function(xr){sr.current=xr},dr=function(xr){return sr.current===xr},hr=function(xr){Dn(xr)},mr=function(xr){return xr&&(or.current=xr),or.current},_r=function(xr){var Qr=qn.current,Br=new Set(Qr.filter(function(Bi){return xr[Bi]||Xe[Bi]})),Nr=Qr[Qr.length-1]===0?1:0;return Br.size>=2||me[Nr]?null:Nr};return Lt(Kn||mt,function(){Kn||(qn.current=[],er(null))}),ce.useEffect(function(){Kn&&qn.current.push(fn)},[Kn,fn]),[Kn,hr,mr,fn,bn,_r,qn.current,er,dr]}function St(me,Xe,mt,Ft,Bt,fn){var bn=mt[mt.length-1],An=function(Kn,Dn){var qn=(0,je.Z)(me,2),sr=qn[0],or=qn[1],er=(0,Ee.Z)((0,Ee.Z)({},Dn),{},{from:it(me,mt)});return bn===1&&Xe[0]&&sr&&!ln(Ft,Bt,sr,Kn,er.type)&&Ft.isAfter(sr,Kn)||bn===0&&Xe[1]&&or&&!ln(Ft,Bt,or,Kn,er.type)&&Ft.isAfter(Kn,or)?!0:fn==null?void 0:fn(Kn,er)};return An}function Zt(me,Xe,mt,Ft){switch(Xe){case"date":case"week":return me.addMonth(mt,Ft);case"month":case"quarter":return me.addYear(mt,Ft);case"year":return me.addYear(mt,Ft*10);case"decade":return me.addYear(mt,Ft*100);default:return mt}}var At=[];function Ht(me,Xe,mt,Ft,Bt,fn,bn,An){var Zn=arguments.length>8&&arguments[8]!==void 0?arguments[8]:At,Kn=arguments.length>9&&arguments[9]!==void 0?arguments[9]:At,Dn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:At,qn=arguments.length>11?arguments[11]:void 0,sr=arguments.length>12?arguments[12]:void 0,or=arguments.length>13?arguments[13]:void 0,er=bn==="time",dr=fn||0,hr=function(li){var Vi=me.getNow();return er&&(Vi=Mn(me,Vi)),Zn[li]||mt[li]||Vi},mr=(0,je.Z)(Kn,2),_r=mr[0],kr=mr[1],xr=(0,rt.C8)(function(){return hr(0)},{value:_r}),Qr=(0,je.Z)(xr,2),Br=Qr[0],Nr=Qr[1],Bi=(0,rt.C8)(function(){return hr(1)},{value:kr}),pi=(0,je.Z)(Bi,2),yi=pi[0],di=pi[1],Li=ce.useMemo(function(){var si=[Br,yi][dr];return er?si:Mn(me,si,Dn[dr])},[er,Br,yi,dr,me,Dn]),xi=function(li){var Vi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",Ni=[Nr,di][dr];Ni(li);var vi=[Br,yi];vi[dr]=li,qn&&(!ln(me,Xe,Br,vi[0],bn)||!ln(me,Xe,yi,vi[1],bn))&&qn(vi,{source:Vi,range:dr===1?"end":"start",mode:Ft})},ii=function(li,Vi){if(An){var Ni={date:"month",week:"month",month:"year",quarter:"year"},vi=Ni[bn];if(vi&&!ln(me,Xe,li,Vi,vi))return Zt(me,bn,Vi,-1);if(bn==="year"&&li){var Si=Math.floor(me.getYear(li)/10),oi=Math.floor(me.getYear(Vi)/10);if(Si!==oi)return Zt(me,bn,Vi,-1)}}return Vi},Gr=ce.useRef(null);return(0,xt.Z)(function(){if(Bt&&!Zn[dr]){var si=er?null:me.getNow();if(Gr.current!==null&&Gr.current!==dr?si=[Br,yi][dr^1]:mt[dr]?si=dr===0?mt[0]:ii(mt[0],mt[1]):mt[dr^1]&&(si=mt[dr^1]),si){sr&&me.isAfter(sr,si)&&(si=sr);var li=An?Zt(me,bn,si,1):si;or&&me.isAfter(li,or)&&(si=An?Zt(me,bn,or,-1):or),xi(si,"reset")}}},[Bt,dr,mt[dr]]),ce.useEffect(function(){Bt?Gr.current=dr:Gr.current=null},[Bt,dr]),(0,xt.Z)(function(){Bt&&Zn&&Zn[dr]&&xi(Zn[dr],"reset")},[Bt,dr]),[Li,xi]}function ht(me,Xe){var mt=ce.useRef(me),Ft=ce.useState({}),Bt=(0,je.Z)(Ft,2),fn=Bt[1],bn=function(Kn){return Kn&&Xe!==void 0?Xe:mt.current},An=function(Kn){mt.current=Kn,fn({})};return[bn,An,bn(!0)]}var Xt=[];function tn(me,Xe,mt){var Ft=function(bn){return bn.map(function(An){return yn(An,{generateConfig:me,locale:Xe,format:mt[0]})})},Bt=function(bn,An){for(var Zn=Math.max(bn.length,An.length),Kn=-1,Dn=0;Dn<Zn;Dn+=1){var qn=bn[Dn]||null,sr=An[Dn]||null;if(qn!==sr&&!Wt(me,qn,sr)){Kn=Dn;break}}return[Kn<0,Kn!==0]};return[Ft,Bt]}function dn(me,Xe){return(0,lt.Z)(me).sort(function(mt,Ft){return Xe.isAfter(mt,Ft)?1:-1})}function Ut(me){var Xe=ht(me),mt=(0,je.Z)(Xe,2),Ft=mt[0],Bt=mt[1],fn=(0,rt.zX)(function(){Bt(me)});return ce.useEffect(function(){fn()},[me]),[Ft,Bt]}function jt(me,Xe,mt,Ft,Bt,fn,bn,An,Zn){var Kn=(0,rt.C8)(fn,{value:bn}),Dn=(0,je.Z)(Kn,2),qn=Dn[0],sr=Dn[1],or=qn||Xt,er=Ut(or),dr=(0,je.Z)(er,2),hr=dr[0],mr=dr[1],_r=tn(me,Xe,mt),kr=(0,je.Z)(_r,2),xr=kr[0],Qr=kr[1],Br=(0,rt.zX)(function(Bi){var pi=(0,lt.Z)(Bi);if(Ft)for(var yi=0;yi<2;yi+=1)pi[yi]=pi[yi]||null;else Bt&&(pi=dn(pi.filter(function(si){return si}),me));var di=Qr(hr(),pi),Li=(0,je.Z)(di,2),xi=Li[0],ii=Li[1];if(!xi&&(mr(pi),An)){var Gr=xr(pi);An(pi,Gr,{range:ii?"end":"start"})}}),Nr=function(){Zn&&Zn(hr())};return[or,sr,hr,Br,Nr]}function Gt(me,Xe,mt,Ft,Bt,fn,bn,An,Zn,Kn){var Dn=me.generateConfig,qn=me.locale,sr=me.picker,or=me.onChange,er=me.allowEmpty,dr=me.order,hr=fn.some(function(xi){return xi})?!1:dr,mr=tn(Dn,qn,bn),_r=(0,je.Z)(mr,2),kr=_r[0],xr=_r[1],Qr=ht(Xe),Br=(0,je.Z)(Qr,2),Nr=Br[0],Bi=Br[1],pi=(0,rt.zX)(function(){Bi(Xe)});ce.useEffect(function(){pi()},[Xe]);var yi=(0,rt.zX)(function(xi){var ii=xi===null,Gr=(0,lt.Z)(xi||Nr());if(ii)for(var si=Math.max(fn.length,Gr.length),li=0;li<si;li+=1)fn[li]||(Gr[li]=null);hr&&Gr[0]&&Gr[1]&&(Gr=dn(Gr,Dn)),Bt(Gr);var Vi=Gr,Ni=(0,je.Z)(Vi,2),vi=Ni[0],Si=Ni[1],oi=!vi,bi=!Si,gi=er?(!oi||er[0])&&(!bi||er[1]):!0,Ki=!dr||oi||bi||ln(Dn,qn,vi,Si,sr)||Dn.isAfter(Si,vi),lo=(fn[0]||!vi||!Kn(vi,{activeIndex:0}))&&(fn[1]||!Si||!Kn(Si,{from:vi,activeIndex:1})),uo=ii||gi&&Ki&&lo;if(uo){mt(Gr);var _e=xr(Gr,Xe),He=(0,je.Z)(_e,1),Ct=He[0];or&&!Ct&&or(ii&&Gr.every(function(Pt){return!Pt})?null:Gr,kr(Gr))}return uo}),di=(0,rt.zX)(function(xi,ii){var Gr=Le(Nr(),xi,Ft()[xi]);Bi(Gr),ii&&yi()}),Li=!An&&!Zn;return Lt(!Li,function(){Li&&(yi(),Bt(Xe),pi())},2),[di,yi]}function an(me,Xe,mt,Ft,Bt){return Xe!=="date"&&Xe!=="time"?!1:mt!==void 0?mt:Ft!==void 0?Ft:!Bt&&(me==="date"||me==="time")}var zn=E(29301);function Rn(me,Xe,mt,Ft,Bt,fn){var bn=me;function An(qn,sr,or){var er=fn[qn](bn),dr=or.find(function(kr){return kr.value===er});if(!dr||dr.disabled){var hr=or.filter(function(kr){return!kr.disabled}),mr=(0,lt.Z)(hr).reverse(),_r=mr.find(function(kr){return kr.value<=er})||hr[0];_r&&(er=_r.value,bn=fn[sr](bn,er))}return er}var Zn=An("getHour","setHour",Xe()),Kn=An("getMinute","setMinute",mt(Zn)),Dn=An("getSecond","setSecond",Ft(Zn,Kn));return An("getMillisecond","setMillisecond",Bt(Zn,Kn,Dn)),bn}function Vn(){return[]}function Mr(me,Xe){for(var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Bt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],fn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,bn=[],An=mt>=1?mt|0:1,Zn=me;Zn<=Xe;Zn+=An){var Kn=Bt.includes(Zn);(!Kn||!Ft)&&bn.push({label:le(Zn,fn),value:Zn,disabled:Kn})}return bn}function zr(me){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=arguments.length>2?arguments[2]:void 0,Ft=Xe||{},Bt=Ft.use12Hours,fn=Ft.hourStep,bn=fn===void 0?1:fn,An=Ft.minuteStep,Zn=An===void 0?1:An,Kn=Ft.secondStep,Dn=Kn===void 0?1:Kn,qn=Ft.millisecondStep,sr=qn===void 0?100:qn,or=Ft.hideDisabledOptions,er=Ft.disabledTime,dr=Ft.disabledHours,hr=Ft.disabledMinutes,mr=Ft.disabledSeconds,_r=ce.useMemo(function(){return mt||me.getNow()},[mt,me]);if(0)var kr,xr,Qr;var Br=ce.useCallback(function(Si){var oi=(er==null?void 0:er(Si))||{};return[oi.disabledHours||dr||Vn,oi.disabledMinutes||hr||Vn,oi.disabledSeconds||mr||Vn,oi.disabledMilliseconds||Vn]},[er,dr,hr,mr]),Nr=ce.useMemo(function(){return Br(_r)},[_r,Br]),Bi=(0,je.Z)(Nr,4),pi=Bi[0],yi=Bi[1],di=Bi[2],Li=Bi[3],xi=ce.useCallback(function(Si,oi,bi,gi){var Ki=Mr(0,23,bn,or,Si()),lo=Bt?Ki.map(function(Ct){return(0,Ee.Z)((0,Ee.Z)({},Ct),{},{label:le(Ct.value%12||12,2)})}):Ki,uo=function(Pt){return Mr(0,59,Zn,or,oi(Pt))},_e=function(Pt,Nt){return Mr(0,59,Dn,or,bi(Pt,Nt))},He=function(Pt,Nt,_t){return Mr(0,999,sr,or,gi(Pt,Nt,_t),3)};return[lo,uo,_e,He]},[or,bn,Bt,sr,Zn,Dn]),ii=ce.useMemo(function(){return xi(pi,yi,di,Li)},[xi,pi,yi,di,Li]),Gr=(0,je.Z)(ii,4),si=Gr[0],li=Gr[1],Vi=Gr[2],Ni=Gr[3],vi=function(oi,bi){var gi=function(){return si},Ki=li,lo=Vi,uo=Ni;if(bi){var _e=Br(bi),He=(0,je.Z)(_e,4),Ct=He[0],Pt=He[1],Nt=He[2],_t=He[3],cn=xi(Ct,Pt,Nt,_t),rn=(0,je.Z)(cn,4),pn=rn[0],vn=rn[1],Tn=rn[2],Fn=rn[3];gi=function(){return pn},Ki=vn,lo=Tn,uo=Fn}var Pn=Rn(oi,gi,Ki,lo,uo,me);return Pn};return[vi,si,li,Vi,Ni]}function Xr(me){var Xe=me.mode,mt=me.internalMode,Ft=me.renderExtraFooter,Bt=me.showNow,fn=me.showTime,bn=me.onSubmit,An=me.onNow,Zn=me.invalid,Kn=me.needConfirm,Dn=me.generateConfig,qn=me.disabledDate,sr=ce.useContext(te),or=sr.prefixCls,er=sr.locale,dr=sr.button,hr=dr===void 0?"button":dr,mr=Dn.getNow(),_r=zr(Dn,fn,mr),kr=(0,je.Z)(_r,1),xr=kr[0],Qr=Ft==null?void 0:Ft(Xe),Br=qn(mr,{type:Xe}),Nr=function(){if(!Br){var ii=xr(mr);An(ii)}},Bi="".concat(or,"-now"),pi="".concat(Bi,"-btn"),yi=Bt&&ce.createElement("li",{className:Bi},ce.createElement("a",{className:Je()(pi,Br&&"".concat(pi,"-disabled")),"aria-disabled":Br,onClick:Nr},mt==="date"?er.today:er.now)),di=Kn&&ce.createElement("li",{className:"".concat(or,"-ok")},ce.createElement(hr,{disabled:Zn,onClick:bn},er.ok)),Li=(yi||di)&&ce.createElement("ul",{className:"".concat(or,"-ranges")},yi,di);return!Qr&&!Li?null:ce.createElement("div",{className:"".concat(or,"-footer")},Qr&&ce.createElement("div",{className:"".concat(or,"-footer-extra")},Qr),Li)}function Pr(me,Xe,mt){function Ft(Bt,fn){var bn=Bt.findIndex(function(Zn){return ln(me,Xe,Zn,fn,mt)});if(bn===-1)return[].concat((0,lt.Z)(Bt),[fn]);var An=(0,lt.Z)(Bt);return An.splice(bn,1),An}return Ft}var gr=ce.createContext(null);function Ar(){return ce.useContext(gr)}function Vr(me,Xe){var mt=me.prefixCls,Ft=me.generateConfig,Bt=me.locale,fn=me.disabledDate,bn=me.minDate,An=me.maxDate,Zn=me.cellRender,Kn=me.hoverValue,Dn=me.hoverRangeValue,qn=me.onHover,sr=me.values,or=me.pickerValue,er=me.onSelect,dr=me.prevIcon,hr=me.nextIcon,mr=me.superPrevIcon,_r=me.superNextIcon,kr=Ft.getNow(),xr={now:kr,values:sr,pickerValue:or,prefixCls:mt,disabledDate:fn,minDate:bn,maxDate:An,cellRender:Zn,hoverValue:Kn,hoverRangeValue:Dn,onHover:qn,locale:Bt,generateConfig:Ft,onSelect:er,panelType:Xe,prevIcon:dr,nextIcon:hr,superPrevIcon:mr,superNextIcon:_r};return[xr,kr]}var ni=ce.createContext({});function ri(me){for(var Xe=me.rowNum,mt=me.colNum,Ft=me.baseDate,Bt=me.getCellDate,fn=me.prefixColumn,bn=me.rowClassName,An=me.titleFormat,Zn=me.getCellText,Kn=me.getCellClassName,Dn=me.headerCells,qn=me.cellSelection,sr=qn===void 0?!0:qn,or=me.disabledDate,er=Ar(),dr=er.prefixCls,hr=er.panelType,mr=er.now,_r=er.disabledDate,kr=er.cellRender,xr=er.onHover,Qr=er.hoverValue,Br=er.hoverRangeValue,Nr=er.generateConfig,Bi=er.values,pi=er.locale,yi=er.onSelect,di=or||_r,Li="".concat(dr,"-cell"),xi=ce.useContext(ni),ii=xi.onCellDblClick,Gr=function(bi){return Bi.some(function(gi){return gi&&ln(Nr,pi,bi,gi,hr)})},si=[],li=0;li<Xe;li+=1){for(var Vi=[],Ni=void 0,vi=function(){var bi=li*mt+Si,gi=Bt(Ft,bi),Ki=di==null?void 0:di(gi,{type:hr});Si===0&&(Ni=gi,fn&&Vi.push(fn(Ni)));var lo=!1,uo=!1,_e=!1;if(sr&&Br){var He=(0,je.Z)(Br,2),Ct=He[0],Pt=He[1];lo=en(Nr,Ct,Pt,gi),uo=ln(Nr,pi,gi,Ct,hr),_e=ln(Nr,pi,gi,Pt,hr)}var Nt=An?yn(gi,{locale:pi,format:An,generateConfig:Nr}):void 0,_t=ce.createElement("div",{className:"".concat(Li,"-inner")},Zn(gi));Vi.push(ce.createElement("td",{key:Si,title:Nt,className:Je()(Li,(0,Ee.Z)((0,It.Z)((0,It.Z)((0,It.Z)((0,It.Z)((0,It.Z)((0,It.Z)({},"".concat(Li,"-disabled"),Ki),"".concat(Li,"-hover"),(Qr||[]).some(function(cn){return ln(Nr,pi,gi,cn,hr)})),"".concat(Li,"-in-range"),lo&&!uo&&!_e),"".concat(Li,"-range-start"),uo),"".concat(Li,"-range-end"),_e),"".concat(dr,"-cell-selected"),!Br&&hr!=="week"&&Gr(gi)),Kn(gi))),onClick:function(){Ki||yi(gi)},onDoubleClick:function(){!Ki&&ii&&ii()},onMouseEnter:function(){Ki||xr==null||xr(gi)},onMouseLeave:function(){Ki||xr==null||xr(null)}},kr?kr(gi,{prefixCls:dr,originNode:_t,today:mr,type:hr,locale:pi}):_t))},Si=0;Si<mt;Si+=1)vi();si.push(ce.createElement("tr",{key:li,className:bn==null?void 0:bn(Ni)},Vi))}return ce.createElement("div",{className:"".concat(dr,"-body")},ce.createElement("table",{className:"".concat(dr,"-content")},Dn&&ce.createElement("thead",null,ce.createElement("tr",null,Dn)),ce.createElement("tbody",null,si)))}var ai={visibility:"hidden"};function Dr(me){var Xe=me.offset,mt=me.superOffset,Ft=me.onChange,Bt=me.getStart,fn=me.getEnd,bn=me.children,An=Ar(),Zn=An.prefixCls,Kn=An.prevIcon,Dn=Kn===void 0?"\u2039":Kn,qn=An.nextIcon,sr=qn===void 0?"\u203A":qn,or=An.superPrevIcon,er=or===void 0?"\xAB":or,dr=An.superNextIcon,hr=dr===void 0?"\xBB":dr,mr=An.minDate,_r=An.maxDate,kr=An.generateConfig,xr=An.locale,Qr=An.pickerValue,Br=An.panelType,Nr="".concat(Zn,"-header"),Bi=ce.useContext(ni),pi=Bi.hidePrev,yi=Bi.hideNext,di=Bi.hideHeader,Li=ce.useMemo(function(){if(!mr||!Xe||!fn)return!1;var oi=fn(Xe(-1,Qr));return!Jt(kr,xr,oi,mr,Br)},[mr,Xe,Qr,fn,kr,xr,Br]),xi=ce.useMemo(function(){if(!mr||!mt||!fn)return!1;var oi=fn(mt(-1,Qr));return!Jt(kr,xr,oi,mr,Br)},[mr,mt,Qr,fn,kr,xr,Br]),ii=ce.useMemo(function(){if(!_r||!Xe||!Bt)return!1;var oi=Bt(Xe(1,Qr));return!Jt(kr,xr,_r,oi,Br)},[_r,Xe,Qr,Bt,kr,xr,Br]),Gr=ce.useMemo(function(){if(!_r||!mt||!Bt)return!1;var oi=Bt(mt(1,Qr));return!Jt(kr,xr,_r,oi,Br)},[_r,mt,Qr,Bt,kr,xr,Br]),si=function(bi){Xe&&Ft(Xe(bi,Qr))},li=function(bi){mt&&Ft(mt(bi,Qr))};if(di)return null;var Vi="".concat(Nr,"-prev-btn"),Ni="".concat(Nr,"-next-btn"),vi="".concat(Nr,"-super-prev-btn"),Si="".concat(Nr,"-super-next-btn");return ce.createElement("div",{className:Nr},mt&&ce.createElement("button",{type:"button","aria-label":xr.previousYear,onClick:function(){return li(-1)},tabIndex:-1,className:Je()(vi,xi&&"".concat(vi,"-disabled")),disabled:xi,style:pi?ai:{}},er),Xe&&ce.createElement("button",{type:"button","aria-label":xr.previousMonth,onClick:function(){return si(-1)},tabIndex:-1,className:Je()(Vi,Li&&"".concat(Vi,"-disabled")),disabled:Li,style:pi?ai:{}},Dn),ce.createElement("div",{className:"".concat(Nr,"-view")},bn),Xe&&ce.createElement("button",{type:"button","aria-label":xr.nextMonth,onClick:function(){return si(1)},tabIndex:-1,className:Je()(Ni,ii&&"".concat(Ni,"-disabled")),disabled:ii,style:yi?ai:{}},sr),mt&&ce.createElement("button",{type:"button","aria-label":xr.nextYear,onClick:function(){return li(1)},tabIndex:-1,className:Je()(Si,Gr&&"".concat(Si,"-disabled")),disabled:Gr,style:yi?ai:{}},hr))}var Jr=Dr;function $r(me){var Xe=me.prefixCls,mt=me.panelName,Ft=mt===void 0?"date":mt,Bt=me.locale,fn=me.generateConfig,bn=me.pickerValue,An=me.onPickerValueChange,Zn=me.onModeChange,Kn=me.mode,Dn=Kn===void 0?"date":Kn,qn=me.disabledDate,sr=me.onSelect,or=me.onHover,er=me.showWeek,dr="".concat(Xe,"-").concat(Ft,"-panel"),hr="".concat(Xe,"-cell"),mr=Dn==="week",_r=Vr(me,Dn),kr=(0,je.Z)(_r,2),xr=kr[0],Qr=kr[1],Br=fn.locale.getWeekFirstDay(Bt.locale),Nr=fn.setDate(bn,1),Bi=Sn(Bt.locale,fn,Nr),pi=fn.getMonth(bn),yi=er===void 0?mr:er,di=yi?function(oi){var bi=qn==null?void 0:qn(oi,{type:"week"});return ce.createElement("td",{key:"week",className:Je()(hr,"".concat(hr,"-week"),(0,It.Z)({},"".concat(hr,"-disabled"),bi)),onClick:function(){bi||sr(oi)},onMouseEnter:function(){bi||or==null||or(oi)},onMouseLeave:function(){bi||or==null||or(null)}},ce.createElement("div",{className:"".concat(hr,"-inner")},fn.locale.getWeek(Bt.locale,oi)))}:null,Li=[],xi=Bt.shortWeekDays||(fn.locale.getShortWeekDays?fn.locale.getShortWeekDays(Bt.locale):[]);di&&Li.push(ce.createElement("th",{key:"empty"},ce.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},Bt.week)));for(var ii=0;ii<Mt;ii+=1)Li.push(ce.createElement("th",{key:ii},xi[(ii+Br)%Mt]));var Gr=function(bi,gi){return fn.addDate(bi,gi)},si=function(bi){return yn(bi,{locale:Bt,format:Bt.cellDateFormat,generateConfig:fn})},li=function(bi){var gi=(0,It.Z)((0,It.Z)({},"".concat(Xe,"-cell-in-view"),Jn(fn,bi,bn)),"".concat(Xe,"-cell-today"),Bn(fn,bi,Qr));return gi},Vi=Bt.shortMonths||(fn.locale.getShortMonths?fn.locale.getShortMonths(Bt.locale):[]),Ni=ce.createElement("button",{type:"button","aria-label":Bt.yearSelect,key:"year",onClick:function(){Zn("year",bn)},tabIndex:-1,className:"".concat(Xe,"-year-btn")},yn(bn,{locale:Bt,format:Bt.yearFormat,generateConfig:fn})),vi=ce.createElement("button",{type:"button","aria-label":Bt.monthSelect,key:"month",onClick:function(){Zn("month",bn)},tabIndex:-1,className:"".concat(Xe,"-month-btn")},Bt.monthFormat?yn(bn,{locale:Bt,format:Bt.monthFormat,generateConfig:fn}):Vi[pi]),Si=Bt.monthBeforeYear?[vi,Ni]:[Ni,vi];return ce.createElement(gr.Provider,{value:xr},ce.createElement("div",{className:Je()(dr,er&&"".concat(dr,"-show-week"))},ce.createElement(Jr,{offset:function(bi){return fn.addMonth(bn,bi)},superOffset:function(bi){return fn.addYear(bn,bi)},onChange:An,getStart:function(bi){return fn.setDate(bi,1)},getEnd:function(bi){var gi=fn.setDate(bi,1);return gi=fn.addMonth(gi,1),fn.addDate(gi,-1)}},Si),ce.createElement(ri,(0,Oe.Z)({titleFormat:Bt.fieldDateFormat},me,{colNum:Mt,rowNum:6,baseDate:Bi,headerCells:Li,getCellDate:Gr,getCellText:si,getCellClassName:li,prefixColumn:di,cellSelection:!mr}))))}var Ri=E(29194),Hi=1/3;function Zi(me,Xe){var mt=ce.useRef(!1),Ft=ce.useRef(null),Bt=ce.useRef(null),fn=function(){return mt.current},bn=function(){Ir.Z.cancel(Ft.current),mt.current=!1},An=ce.useRef(),Zn=function(){var qn=me.current;if(Bt.current=null,An.current=0,qn){var sr=qn.querySelector('[data-value="'.concat(Xe,'"]')),or=qn.querySelector("li"),er=function dr(){bn(),mt.current=!0,An.current+=1;var hr=qn.scrollTop,mr=or.offsetTop,_r=sr.offsetTop,kr=_r-mr;if(_r===0&&sr!==or||!(0,Ri.Z)(qn)){An.current<=5&&(Ft.current=(0,Ir.Z)(dr));return}var xr=hr+(kr-hr)*Hi,Qr=Math.abs(kr-xr);if(Bt.current!==null&&Bt.current<Qr){bn();return}if(Bt.current=Qr,Qr<=1){qn.scrollTop=kr,bn();return}qn.scrollTop=xr,Ft.current=(0,Ir.Z)(dr)};sr&&or&&er()}},Kn=(0,rt.zX)(Zn);return[Kn,bn,fn]}var zi=300;function Ji(me){return me.map(function(Xe){var mt=Xe.value,Ft=Xe.label,Bt=Xe.disabled;return[mt,Ft,Bt].join(",")}).join(";")}function wi(me){var Xe=me.units,mt=me.value,Ft=me.optionalValue,Bt=me.type,fn=me.onChange,bn=me.onHover,An=me.onDblClick,Zn=me.changeOnScroll,Kn=Ar(),Dn=Kn.prefixCls,qn=Kn.cellRender,sr=Kn.now,or=Kn.locale,er="".concat(Dn,"-time-panel"),dr="".concat(Dn,"-time-panel-cell"),hr=ce.useRef(null),mr=ce.useRef(),_r=function(){clearTimeout(mr.current)},kr=Zi(hr,mt!=null?mt:Ft),xr=(0,je.Z)(kr,3),Qr=xr[0],Br=xr[1],Nr=xr[2];(0,xt.Z)(function(){return Qr(),_r(),function(){Br(),_r()}},[mt,Ft,Ji(Xe)]);var Bi=function(di){_r();var Li=di.target;!Nr()&&Zn&&(mr.current=setTimeout(function(){var xi=hr.current,ii=xi.querySelector("li").offsetTop,Gr=Array.from(xi.querySelectorAll("li")),si=Gr.map(function(Si){return Si.offsetTop-ii}),li=si.map(function(Si,oi){return Xe[oi].disabled?Number.MAX_SAFE_INTEGER:Math.abs(Si-Li.scrollTop)}),Vi=Math.min.apply(Math,(0,lt.Z)(li)),Ni=li.findIndex(function(Si){return Si===Vi}),vi=Xe[Ni];vi&&!vi.disabled&&fn(vi.value)},zi))},pi="".concat(er,"-column");return ce.createElement("ul",{className:pi,ref:hr,"data-type":Bt,onScroll:Bi},Xe.map(function(yi){var di=yi.label,Li=yi.value,xi=yi.disabled,ii=ce.createElement("div",{className:"".concat(dr,"-inner")},di);return ce.createElement("li",{key:Li,className:Je()(dr,(0,It.Z)((0,It.Z)({},"".concat(dr,"-selected"),mt===Li),"".concat(dr,"-disabled"),xi)),onClick:function(){xi||fn(Li)},onDoubleClick:function(){!xi&&An&&An()},onMouseEnter:function(){bn(Li)},onMouseLeave:function(){bn(null)},"data-value":Li},qn?qn(Li,{prefixCls:Dn,originNode:ii,today:sr,type:"time",subType:Bt,locale:or}):ii)}))}function Mi(me){return me<12}function fi(me){var Xe=me.showHour,mt=me.showMinute,Ft=me.showSecond,Bt=me.showMillisecond,fn=me.use12Hours,bn=me.changeOnScroll,An=Ar(),Zn=An.prefixCls,Kn=An.values,Dn=An.generateConfig,qn=An.locale,sr=An.onSelect,or=An.onHover,er=or===void 0?function(){}:or,dr=An.pickerValue,hr=(Kn==null?void 0:Kn[0])||null,mr=ce.useContext(ni),_r=mr.onCellDblClick,kr=zr(Dn,me,hr),xr=(0,je.Z)(kr,5),Qr=xr[0],Br=xr[1],Nr=xr[2],Bi=xr[3],pi=xr[4],yi=function(_n){var Fr=hr&&Dn[_n](hr),jr=dr&&Dn[_n](dr);return[Fr,jr]},di=yi("getHour"),Li=(0,je.Z)(di,2),xi=Li[0],ii=Li[1],Gr=yi("getMinute"),si=(0,je.Z)(Gr,2),li=si[0],Vi=si[1],Ni=yi("getSecond"),vi=(0,je.Z)(Ni,2),Si=vi[0],oi=vi[1],bi=yi("getMillisecond"),gi=(0,je.Z)(bi,2),Ki=gi[0],lo=gi[1],uo=xi===null?null:Mi(xi)?"am":"pm",_e=ce.useMemo(function(){return fn?Mi(xi)?Br.filter(function($n){return Mi($n.value)}):Br.filter(function($n){return!Mi($n.value)}):Br},[xi,Br,fn]),He=function(_n,Fr){var jr,ei=_n.filter(function(Ei){return!Ei.disabled});return Fr!=null?Fr:ei==null||(jr=ei[0])===null||jr===void 0?void 0:jr.value},Ct=He(Br,xi),Pt=ce.useMemo(function(){return Nr(Ct)},[Nr,Ct]),Nt=He(Pt,li),_t=ce.useMemo(function(){return Bi(Ct,Nt)},[Bi,Ct,Nt]),cn=He(_t,Si),rn=ce.useMemo(function(){return pi(Ct,Nt,cn)},[pi,Ct,Nt,cn]),pn=He(rn,Ki),vn=ce.useMemo(function(){if(!fn)return[];var $n=Dn.getNow(),_n=Dn.setHour($n,6),Fr=Dn.setHour($n,18),jr=function(Ei,Kr){var so=qn.cellMeridiemFormat;return so?yn(Ei,{generateConfig:Dn,locale:qn,format:so}):Kr};return[{label:jr(_n,"AM"),value:"am",disabled:Br.every(function(ei){return ei.disabled||!Mi(ei.value)})},{label:jr(Fr,"PM"),value:"pm",disabled:Br.every(function(ei){return ei.disabled||Mi(ei.value)})}]},[Br,fn,Dn,qn]),Tn=function(_n){var Fr=Qr(_n);sr(Fr)},Fn=ce.useMemo(function(){var $n=hr||dr||Dn.getNow(),_n=function(jr){return jr!=null};return _n(xi)?($n=Dn.setHour($n,xi),$n=Dn.setMinute($n,li),$n=Dn.setSecond($n,Si),$n=Dn.setMillisecond($n,Ki)):_n(ii)?($n=Dn.setHour($n,ii),$n=Dn.setMinute($n,Vi),$n=Dn.setSecond($n,oi),$n=Dn.setMillisecond($n,lo)):_n(Ct)&&($n=Dn.setHour($n,Ct),$n=Dn.setMinute($n,Nt),$n=Dn.setSecond($n,cn),$n=Dn.setMillisecond($n,pn)),$n},[hr,dr,xi,li,Si,Ki,Ct,Nt,cn,pn,ii,Vi,oi,lo,Dn]),Pn=function(_n,Fr){return _n===null?null:Dn[Fr](Fn,_n)},Cn=function(_n){return Pn(_n,"setHour")},gn=function(_n){return Pn(_n,"setMinute")},ur=function(_n){return Pn(_n,"setSecond")},Hn=function(_n){return Pn(_n,"setMillisecond")},vr=function(_n){return _n===null?null:_n==="am"&&!Mi(xi)?Dn.setHour(Fn,xi-12):_n==="pm"&&Mi(xi)?Dn.setHour(Fn,xi+12):Fn},fr=function(_n){Tn(Cn(_n))},wr=function(_n){Tn(gn(_n))},yr=function(_n){Tn(ur(_n))},Er=function(_n){Tn(Hn(_n))},Tr=function(_n){Tn(vr(_n))},Hr=function(_n){er(Cn(_n))},Ur=function(_n){er(gn(_n))},Ci=function(_n){er(ur(_n))},Sr=function(_n){er(Hn(_n))},br=function(_n){er(vr(_n))},Or={onDblClick:_r,changeOnScroll:bn};return ce.createElement("div",{className:"".concat(Zn,"-content")},Xe&&ce.createElement(wi,(0,Oe.Z)({units:_e,value:xi,optionalValue:ii,type:"hour",onChange:fr,onHover:Hr},Or)),mt&&ce.createElement(wi,(0,Oe.Z)({units:Pt,value:li,optionalValue:Vi,type:"minute",onChange:wr,onHover:Ur},Or)),Ft&&ce.createElement(wi,(0,Oe.Z)({units:_t,value:Si,optionalValue:oi,type:"second",onChange:yr,onHover:Ci},Or)),Bt&&ce.createElement(wi,(0,Oe.Z)({units:rn,value:Ki,optionalValue:lo,type:"millisecond",onChange:Er,onHover:Sr},Or)),fn&&ce.createElement(wi,(0,Oe.Z)({units:vn,value:uo,type:"meridiem",onChange:Tr,onHover:br},Or)))}function $i(me){var Xe=me.prefixCls,mt=me.value,Ft=me.locale,Bt=me.generateConfig,fn=me.showTime,bn=fn||{},An=bn.format,Zn="".concat(Xe,"-time-panel"),Kn=Vr(me,"time"),Dn=(0,je.Z)(Kn,1),qn=Dn[0];return ce.createElement(gr.Provider,{value:qn},ce.createElement("div",{className:Je()(Zn)},ce.createElement(Jr,null,mt?yn(mt,{locale:Ft,format:An,generateConfig:Bt}):"\xA0"),ce.createElement(fi,fn)))}function oo(me){var Xe=me.prefixCls,mt=me.generateConfig,Ft=me.showTime,Bt=me.onSelect,fn=me.value,bn=me.pickerValue,An=me.onHover,Zn="".concat(Xe,"-datetime-panel"),Kn=zr(mt,Ft),Dn=(0,je.Z)(Kn,1),qn=Dn[0],sr=function(hr){return fn?Mn(mt,hr,fn):Mn(mt,hr,bn)},or=function(hr){An==null||An(hr&&sr(hr))},er=function(hr){var mr=sr(hr);Bt(qn(mr,mr))};return ce.createElement("div",{className:Zn},ce.createElement($r,(0,Oe.Z)({},me,{onSelect:er,onHover:or})),ce.createElement($i,me))}function Ro(me){var Xe=me.prefixCls,mt=me.locale,Ft=me.generateConfig,Bt=me.pickerValue,fn=me.disabledDate,bn=me.onPickerValueChange,An="".concat(Xe,"-decade-panel"),Zn=Vr(me,"decade"),Kn=(0,je.Z)(Zn,1),Dn=Kn[0],qn=function(Br){var Nr=Math.floor(Ft.getYear(Br)/100)*100;return Ft.setYear(Br,Nr)},sr=function(Br){var Nr=qn(Br);return Ft.addYear(Nr,99)},or=qn(Bt),er=sr(Bt),dr=Ft.addYear(or,-10),hr=function(Br,Nr){return Ft.addYear(Br,Nr*10)},mr=function(Br){var Nr=mt.cellYearFormat,Bi=yn(Br,{locale:mt,format:Nr,generateConfig:Ft}),pi=yn(Ft.addYear(Br,9),{locale:mt,format:Nr,generateConfig:Ft});return"".concat(Bi,"-").concat(pi)},_r=function(Br){return(0,It.Z)({},"".concat(Xe,"-cell-in-view"),sn(Ft,Br,or)||sn(Ft,Br,er)||en(Ft,or,er,Br))},kr=fn?function(Qr,Br){var Nr=Ft.setDate(Qr,1),Bi=Ft.setMonth(Nr,0),pi=Ft.setYear(Bi,Math.floor(Ft.getYear(Bi)/10)*10),yi=Ft.addYear(pi,10),di=Ft.addDate(yi,-1);return fn(pi,Br)&&fn(di,Br)}:null,xr="".concat(yn(or,{locale:mt,format:mt.yearFormat,generateConfig:Ft}),"-").concat(yn(er,{locale:mt,format:mt.yearFormat,generateConfig:Ft}));return ce.createElement(gr.Provider,{value:Dn},ce.createElement("div",{className:An},ce.createElement(Jr,{superOffset:function(Br){return Ft.addYear(Bt,Br*100)},onChange:bn,getStart:qn,getEnd:sr},xr),ce.createElement(ri,(0,Oe.Z)({},me,{disabledDate:kr,colNum:3,rowNum:4,baseDate:dr,getCellDate:hr,getCellText:mr,getCellClassName:_r}))))}function fo(me){var Xe=me.prefixCls,mt=me.locale,Ft=me.generateConfig,Bt=me.pickerValue,fn=me.disabledDate,bn=me.onPickerValueChange,An=me.onModeChange,Zn="".concat(Xe,"-month-panel"),Kn=Vr(me,"month"),Dn=(0,je.Z)(Kn,1),qn=Dn[0],sr=Ft.setMonth(Bt,0),or=mt.shortMonths||(Ft.locale.getShortMonths?Ft.locale.getShortMonths(mt.locale):[]),er=function(xr,Qr){return Ft.addMonth(xr,Qr)},dr=function(xr){var Qr=Ft.getMonth(xr);return mt.monthFormat?yn(xr,{locale:mt,format:mt.monthFormat,generateConfig:Ft}):or[Qr]},hr=function(){return(0,It.Z)({},"".concat(Xe,"-cell-in-view"),!0)},mr=fn?function(kr,xr){var Qr=Ft.setDate(kr,1),Br=Ft.setMonth(Qr,Ft.getMonth(Qr)+1),Nr=Ft.addDate(Br,-1);return fn(Qr,xr)&&fn(Nr,xr)}:null,_r=ce.createElement("button",{type:"button",key:"year","aria-label":mt.yearSelect,onClick:function(){An("year")},tabIndex:-1,className:"".concat(Xe,"-year-btn")},yn(Bt,{locale:mt,format:mt.yearFormat,generateConfig:Ft}));return ce.createElement(gr.Provider,{value:qn},ce.createElement("div",{className:Zn},ce.createElement(Jr,{superOffset:function(xr){return Ft.addYear(Bt,xr)},onChange:bn,getStart:function(xr){return Ft.setMonth(xr,0)},getEnd:function(xr){return Ft.setMonth(xr,11)}},_r),ce.createElement(ri,(0,Oe.Z)({},me,{disabledDate:mr,titleFormat:mt.fieldMonthFormat,colNum:3,rowNum:4,baseDate:sr,getCellDate:er,getCellText:dr,getCellClassName:hr}))))}function bo(me){var Xe=me.prefixCls,mt=me.locale,Ft=me.generateConfig,Bt=me.pickerValue,fn=me.onPickerValueChange,bn=me.onModeChange,An="".concat(Xe,"-quarter-panel"),Zn=Vr(me,"quarter"),Kn=(0,je.Z)(Zn,1),Dn=Kn[0],qn=Ft.setMonth(Bt,0),sr=function(mr,_r){return Ft.addMonth(mr,_r*3)},or=function(mr){return yn(mr,{locale:mt,format:mt.cellQuarterFormat,generateConfig:Ft})},er=function(){return(0,It.Z)({},"".concat(Xe,"-cell-in-view"),!0)},dr=ce.createElement("button",{type:"button",key:"year","aria-label":mt.yearSelect,onClick:function(){bn("year")},tabIndex:-1,className:"".concat(Xe,"-year-btn")},yn(Bt,{locale:mt,format:mt.yearFormat,generateConfig:Ft}));return ce.createElement(gr.Provider,{value:Dn},ce.createElement("div",{className:An},ce.createElement(Jr,{superOffset:function(mr){return Ft.addYear(Bt,mr)},onChange:fn,getStart:function(mr){return Ft.setMonth(mr,0)},getEnd:function(mr){return Ft.setMonth(mr,11)}},dr),ce.createElement(ri,(0,Oe.Z)({},me,{titleFormat:mt.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:qn,getCellDate:sr,getCellText:or,getCellClassName:er}))))}function co(me){var Xe=me.prefixCls,mt=me.generateConfig,Ft=me.locale,Bt=me.value,fn=me.hoverValue,bn=me.hoverRangeValue,An=Ft.locale,Zn="".concat(Xe,"-week-panel-row"),Kn=function(qn){var sr={};if(bn){var or=(0,je.Z)(bn,2),er=or[0],dr=or[1],hr=Ot(mt,An,er,qn),mr=Ot(mt,An,dr,qn);sr["".concat(Zn,"-range-start")]=hr,sr["".concat(Zn,"-range-end")]=mr,sr["".concat(Zn,"-range-hover")]=!hr&&!mr&&en(mt,er,dr,qn)}return fn&&(sr["".concat(Zn,"-hover")]=fn.some(function(_r){return Ot(mt,An,qn,_r)})),Je()(Zn,(0,It.Z)({},"".concat(Zn,"-selected"),!bn&&Ot(mt,An,Bt,qn)),sr)};return ce.createElement($r,(0,Oe.Z)({},me,{mode:"week",panelName:"week",rowClassName:Kn}))}function yo(me){var Xe=me.prefixCls,mt=me.locale,Ft=me.generateConfig,Bt=me.pickerValue,fn=me.disabledDate,bn=me.onPickerValueChange,An=me.onModeChange,Zn="".concat(Xe,"-year-panel"),Kn=Vr(me,"year"),Dn=(0,je.Z)(Kn,1),qn=Dn[0],sr=function(Nr){var Bi=Math.floor(Ft.getYear(Nr)/10)*10;return Ft.setYear(Nr,Bi)},or=function(Nr){var Bi=sr(Nr);return Ft.addYear(Bi,9)},er=sr(Bt),dr=or(Bt),hr=Ft.addYear(er,-1),mr=function(Nr,Bi){return Ft.addYear(Nr,Bi)},_r=function(Nr){return yn(Nr,{locale:mt,format:mt.cellYearFormat,generateConfig:Ft})},kr=function(Nr){return(0,It.Z)({},"".concat(Xe,"-cell-in-view"),xn(Ft,Nr,er)||xn(Ft,Nr,dr)||en(Ft,er,dr,Nr))},xr=fn?function(Br,Nr){var Bi=Ft.setMonth(Br,0),pi=Ft.setDate(Bi,1),yi=Ft.addYear(pi,1),di=Ft.addDate(yi,-1);return fn(pi,Nr)&&fn(di,Nr)}:null,Qr=ce.createElement("button",{type:"button",key:"decade","aria-label":mt.decadeSelect,onClick:function(){An("decade")},tabIndex:-1,className:"".concat(Xe,"-decade-btn")},yn(er,{locale:mt,format:mt.yearFormat,generateConfig:Ft}),"-",yn(dr,{locale:mt,format:mt.yearFormat,generateConfig:Ft}));return ce.createElement(gr.Provider,{value:qn},ce.createElement("div",{className:Zn},ce.createElement(Jr,{superOffset:function(Nr){return Ft.addYear(Bt,Nr*10)},onChange:bn,getStart:sr,getEnd:or},Qr),ce.createElement(ri,(0,Oe.Z)({},me,{disabledDate:xr,titleFormat:mt.fieldYearFormat,colNum:3,rowNum:4,baseDate:hr,getCellDate:mr,getCellText:_r,getCellClassName:kr}))))}var Fi={date:$r,datetime:oo,week:co,month:fo,quarter:bo,year:yo,decade:Ro,time:$i};function Ai(me,Xe){var mt,Ft=me.locale,Bt=me.generateConfig,fn=me.direction,bn=me.prefixCls,An=me.tabIndex,Zn=An===void 0?0:An,Kn=me.multiple,Dn=me.defaultValue,qn=me.value,sr=me.onChange,or=me.onSelect,er=me.defaultPickerValue,dr=me.pickerValue,hr=me.onPickerValueChange,mr=me.mode,_r=me.onPanelChange,kr=me.picker,xr=kr===void 0?"date":kr,Qr=me.showTime,Br=me.hoverValue,Nr=me.hoverRangeValue,Bi=me.cellRender,pi=me.dateRender,yi=me.monthCellRender,di=me.components,Li=di===void 0?{}:di,xi=me.hideHeader,ii=((mt=ce.useContext(te))===null||mt===void 0?void 0:mt.prefixCls)||bn||"rc-picker",Gr=ce.useRef();ce.useImperativeHandle(Xe,function(){return{nativeElement:Gr.current}});var si=on(me),li=(0,je.Z)(si,4),Vi=li[0],Ni=li[1],vi=li[2],Si=li[3],oi=kt(Ft,Ni),bi=xr==="date"&&Qr?"datetime":xr,gi=ce.useMemo(function(){return mn(bi,vi,Si,Vi,oi)},[bi,vi,Si,Vi,oi]),Ki=Bt.getNow(),lo=(0,rt.C8)(xr,{value:mr,postState:function(br){return br||"date"}}),uo=(0,je.Z)(lo,2),_e=uo[0],He=uo[1],Ct=_e==="date"&&gi?"datetime":_e,Pt=Pr(Bt,Ft,bi),Nt=(0,rt.C8)(Dn,{value:qn}),_t=(0,je.Z)(Nt,2),cn=_t[0],rn=_t[1],pn=ce.useMemo(function(){var Sr=Ie(cn).filter(function(br){return br});return Kn?Sr:Sr.slice(0,1)},[cn,Kn]),vn=(0,rt.zX)(function(Sr){rn(Sr),sr&&(Sr===null||pn.length!==Sr.length||pn.some(function(br,Or){return!ln(Bt,Ft,br,Sr[Or],bi)}))&&(sr==null||sr(Kn?Sr:Sr[0]))}),Tn=(0,rt.zX)(function(Sr){if(or==null||or(Sr),_e===xr){var br=Kn?Pt(pn,Sr):[Sr];vn(br)}}),Fn=(0,rt.C8)(er||pn[0]||Ki,{value:dr}),Pn=(0,je.Z)(Fn,2),Cn=Pn[0],gn=Pn[1];ce.useEffect(function(){pn[0]&&!dr&&gn(pn[0])},[pn[0]]);var ur=function(br,Or){_r==null||_r(br||dr,Or||_e)},Hn=function(br){var Or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;gn(br),hr==null||hr(br),Or&&ur(br)},vr=function(br,Or){He(br),Or&&Hn(Or),ur(Or,br)},fr=function(br){if(Tn(br),Hn(br),_e!==xr){var Or=["decade","year"],$n=[].concat(Or,["month"]),_n={quarter:[].concat(Or,["quarter"]),week:[].concat((0,lt.Z)($n),["week"]),date:[].concat((0,lt.Z)($n),["date"])},Fr=_n[xr]||$n,jr=Fr.indexOf(_e),ei=Fr[jr+1];ei&&vr(ei,br)}},wr=ce.useMemo(function(){var Sr,br;if(Array.isArray(Nr)){var Or=(0,je.Z)(Nr,2);Sr=Or[0],br=Or[1]}else Sr=Nr;return!Sr&&!br?null:(Sr=Sr||br,br=br||Sr,Bt.isAfter(Sr,br)?[br,Sr]:[Sr,br])},[Nr,Bt]),yr=yt(Bi,pi,yi),Er=Li[Ct]||Fi[Ct]||$r,Tr=ce.useContext(ni),Hr=ce.useMemo(function(){return(0,Ee.Z)((0,Ee.Z)({},Tr),{},{hideHeader:xi})},[Tr,xi]),Ur="".concat(ii,"-panel"),Ci=Ye(me,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return ce.createElement(ni.Provider,{value:Hr},ce.createElement("div",{ref:Gr,tabIndex:Zn,className:Je()(Ur,(0,It.Z)({},"".concat(Ur,"-rtl"),fn==="rtl"))},ce.createElement(Er,(0,Oe.Z)({},Ci,{showTime:gi,prefixCls:ii,locale:oi,generateConfig:Bt,onModeChange:vr,pickerValue:Cn,onPickerValueChange:function(br){Hn(br,!0)},value:pn[0],onSelect:fr,values:pn,cellRender:yr,hoverRangeValue:wr,hoverValue:Br}))))}var Yr=ce.memo(ce.forwardRef(Ai)),jn=Yr;function lr(me){var Xe=me.picker,mt=me.multiplePanel,Ft=me.pickerValue,Bt=me.onPickerValueChange,fn=me.needConfirm,bn=me.onSubmit,An=me.range,Zn=me.hoverValue,Kn=ce.useContext(te),Dn=Kn.prefixCls,qn=Kn.generateConfig,sr=ce.useCallback(function(_r,kr){return Zt(qn,Xe,_r,kr)},[qn,Xe]),or=ce.useMemo(function(){return sr(Ft,1)},[Ft,sr]),er=function(kr){Bt(sr(kr,-1))},dr={onCellDblClick:function(){fn&&bn()}},hr=Xe==="time",mr=(0,Ee.Z)((0,Ee.Z)({},me),{},{hoverValue:null,hoverRangeValue:null,hideHeader:hr});return An?mr.hoverRangeValue=Zn:mr.hoverValue=Zn,mt?ce.createElement("div",{className:"".concat(Dn,"-panels")},ce.createElement(ni.Provider,{value:(0,Ee.Z)((0,Ee.Z)({},dr),{},{hideNext:!0})},ce.createElement(jn,mr)),ce.createElement(ni.Provider,{value:(0,Ee.Z)((0,Ee.Z)({},dr),{},{hidePrev:!0})},ce.createElement(jn,(0,Oe.Z)({},mr,{pickerValue:or,onPickerValueChange:er})))):ce.createElement(ni.Provider,{value:(0,Ee.Z)({},dr)},ce.createElement(jn,mr))}function cr(me){return typeof me=="function"?me():me}function Qn(me){var Xe=me.prefixCls,mt=me.presets,Ft=me.onClick,Bt=me.onHover;return mt.length?ce.createElement("div",{className:"".concat(Xe,"-presets")},ce.createElement("ul",null,mt.map(function(fn,bn){var An=fn.label,Zn=fn.value;return ce.createElement("li",{key:bn,onClick:function(){Ft(cr(Zn))},onMouseEnter:function(){Bt(cr(Zn))},onMouseLeave:function(){Bt(null)}},An)}))):null}function Wr(me){var Xe=me.panelRender,mt=me.internalMode,Ft=me.picker,Bt=me.showNow,fn=me.range,bn=me.multiple,An=me.activeInfo,Zn=An===void 0?[0,0,0]:An,Kn=me.presets,Dn=me.onPresetHover,qn=me.onPresetSubmit,sr=me.onFocus,or=me.onBlur,er=me.onPanelMouseDown,dr=me.direction,hr=me.value,mr=me.onSelect,_r=me.isInvalid,kr=me.defaultOpenValue,xr=me.onOk,Qr=me.onSubmit,Br=ce.useContext(te),Nr=Br.prefixCls,Bi="".concat(Nr,"-panel"),pi=dr==="rtl",yi=ce.useRef(null),di=ce.useRef(null),Li=ce.useState(0),xi=(0,je.Z)(Li,2),ii=xi[0],Gr=xi[1],si=ce.useState(0),li=(0,je.Z)(si,2),Vi=li[0],Ni=li[1],vi=ce.useState(0),Si=(0,je.Z)(vi,2),oi=Si[0],bi=Si[1],gi=function(fr){fr.width&&Gr(fr.width)},Ki=(0,je.Z)(Zn,3),lo=Ki[0],uo=Ki[1],_e=Ki[2],He=ce.useState(0),Ct=(0,je.Z)(He,2),Pt=Ct[0],Nt=Ct[1];ce.useEffect(function(){Nt(10)},[lo]),ce.useEffect(function(){if(fn&&di.current){var vr,fr=((vr=yi.current)===null||vr===void 0?void 0:vr.offsetWidth)||0,wr=di.current.getBoundingClientRect();if(!wr.height||wr.right<0){Nt(function(Hr){return Math.max(0,Hr-1)});return}var yr=(pi?uo-fr:lo)-wr.left;if(bi(yr),ii&&ii<_e){var Er=pi?wr.right-(uo-fr+ii):lo+fr-wr.left-ii,Tr=Math.max(0,Er);Ni(Tr)}else Ni(0)}},[Pt,pi,ii,lo,uo,_e,fn]);function _t(vr){return vr.filter(function(fr){return fr})}var cn=ce.useMemo(function(){return _t(Ie(hr))},[hr]),rn=Ft==="time"&&!cn.length,pn=ce.useMemo(function(){return rn?_t([kr]):cn},[rn,cn,kr]),vn=rn?kr:cn,Tn=ce.useMemo(function(){return pn.length?pn.some(function(vr){return _r(vr)}):!0},[pn,_r]),Fn=function(){rn&&mr(kr),xr(),Qr()},Pn=ce.createElement("div",{className:"".concat(Nr,"-panel-layout")},ce.createElement(Qn,{prefixCls:Nr,presets:Kn,onClick:qn,onHover:Dn}),ce.createElement("div",null,ce.createElement(lr,(0,Oe.Z)({},me,{value:vn})),ce.createElement(Xr,(0,Oe.Z)({},me,{showNow:bn?!1:Bt,invalid:Tn,onSubmit:Fn}))));Xe&&(Pn=Xe(Pn));var Cn="".concat(Bi,"-container"),gn="marginLeft",ur="marginRight",Hn=ce.createElement("div",{onMouseDown:er,tabIndex:-1,className:Je()(Cn,"".concat(Nr,"-").concat(mt,"-panel-container")),style:(0,It.Z)((0,It.Z)({},pi?ur:gn,Vi),pi?gn:ur,"auto"),onFocus:sr,onBlur:or},Pn);return fn&&(Hn=ce.createElement("div",{onMouseDown:er,ref:di,className:Je()("".concat(Nr,"-range-wrapper"),"".concat(Nr,"-").concat(Ft,"-range-wrapper"))},ce.createElement("div",{ref:yi,className:"".concat(Nr,"-range-arrow"),style:{left:oi}}),ce.createElement(zn.Z,{onResize:gi},Hn))),Hn}var qr=E(75931);function ir(me,Xe){var mt=me.format,Ft=me.maskFormat,Bt=me.generateConfig,fn=me.locale,bn=me.preserveInvalidOnBlur,An=me.inputReadOnly,Zn=me.required,Kn=me["aria-required"],Dn=me.onSubmit,qn=me.onFocus,sr=me.onBlur,or=me.onInputChange,er=me.onInvalid,dr=me.open,hr=me.onOpenChange,mr=me.onKeyDown,_r=me.onChange,kr=me.activeHelp,xr=me.name,Qr=me.autoComplete,Br=me.id,Nr=me.value,Bi=me.invalid,pi=me.placeholder,yi=me.disabled,di=me.activeIndex,Li=me.allHelp,xi=me.picker,ii=function(oi,bi){var gi=Bt.locale.parse(fn.locale,oi,[bi]);return gi&&Bt.isValidate(gi)?gi:null},Gr=mt[0],si=ce.useCallback(function(Si){return yn(Si,{locale:fn,format:Gr,generateConfig:Bt})},[fn,Bt,Gr]),li=ce.useMemo(function(){return Nr.map(si)},[Nr,si]),Vi=ce.useMemo(function(){var Si=xi==="time"?8:10,oi=typeof Gr=="function"?Gr(Bt.getNow()).length:Gr.length;return Math.max(Si,oi)+2},[Gr,xi,Bt]),Ni=function(oi){for(var bi=0;bi<mt.length;bi+=1){var gi=mt[bi];if(typeof gi=="string"){var Ki=ii(oi,gi);if(Ki)return Ki}}return!1},vi=function(oi){function bi(lo){return oi!==void 0?lo[oi]:lo}var gi=(0,wt.Z)(me,{aria:!0,data:!0}),Ki=(0,Ee.Z)((0,Ee.Z)({},gi),{},{format:Ft,validateFormat:function(uo){return!!Ni(uo)},preserveInvalidOnBlur:bn,readOnly:An,required:Zn,"aria-required":Kn,name:xr,autoComplete:Qr,size:Vi,id:bi(Br),value:bi(li)||"",invalid:bi(Bi),placeholder:bi(pi),active:di===oi,helped:Li||kr&&di===oi,disabled:bi(yi),onFocus:function(uo){qn(uo,oi)},onBlur:function(uo){sr(uo,oi)},onSubmit:Dn,onChange:function(uo){or();var _e=Ni(uo);if(_e){er(!1,oi),_r(_e,oi);return}er(!!uo,oi)},onHelp:function(){hr(!0,{index:oi})},onKeyDown:function(uo){var _e=!1;if(mr==null||mr(uo,function(){_e=!0}),!uo.defaultPrevented&&!_e)switch(uo.key){case"Escape":hr(!1,{index:oi});break;case"Enter":dr||hr(!0);break}}},Xe==null?void 0:Xe({valueTexts:li}));return Object.keys(Ki).forEach(function(lo){Ki[lo]===void 0&&delete Ki[lo]}),Ki};return[vi,si]}var Gn=["onMouseEnter","onMouseLeave"];function Cr(me){return ce.useMemo(function(){return Ye(me,Gn)},[me])}var Zr=["icon","type"],ji=["onClear"];function vo(me){var Xe=me.icon,mt=me.type,Ft=(0,qr.Z)(me,Zr),Bt=ce.useContext(te),fn=Bt.prefixCls;return Xe?ce.createElement("span",(0,Oe.Z)({className:"".concat(fn,"-").concat(mt)},Ft),Xe):null}function ao(me){var Xe=me.onClear,mt=(0,qr.Z)(me,ji);return ce.createElement(vo,(0,Oe.Z)({},mt,{type:"clear",role:"button",onMouseDown:function(Bt){Bt.preventDefault()},onClick:function(Bt){Bt.stopPropagation(),Xe()}}))}var Bo=E(67732),wo=E(83652),Co=["YYYY","MM","DD","HH","mm","ss","SSS"],ko="\u9867",Oo=function(){function me(Xe){(0,Bo.Z)(this,me),(0,It.Z)(this,"format",void 0),(0,It.Z)(this,"maskFormat",void 0),(0,It.Z)(this,"cells",void 0),(0,It.Z)(this,"maskCells",void 0),this.format=Xe;var mt=Co.map(function(An){return"(".concat(An,")")}).join("|"),Ft=new RegExp(mt,"g");this.maskFormat=Xe.replace(Ft,function(An){return ko.repeat(An.length)});var Bt=new RegExp("(".concat(Co.join("|"),")")),fn=(Xe.split(Bt)||[]).filter(function(An){return An}),bn=0;this.cells=fn.map(function(An){var Zn=Co.includes(An),Kn=bn,Dn=bn+An.length;return bn=Dn,{text:An,mask:Zn,start:Kn,end:Dn}}),this.maskCells=this.cells.filter(function(An){return An.mask})}return(0,wo.Z)(me,[{key:"getSelection",value:function(mt){var Ft=this.maskCells[mt]||{},Bt=Ft.start,fn=Ft.end;return[Bt||0,fn||0]}},{key:"match",value:function(mt){for(var Ft=0;Ft<this.maskFormat.length;Ft+=1){var Bt=this.maskFormat[Ft],fn=mt[Ft];if(!fn||Bt!==ko&&Bt!==fn)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(mt){for(var Ft=Number.MAX_SAFE_INTEGER,Bt=0,fn=0;fn<this.maskCells.length;fn+=1){var bn=this.maskCells[fn],An=bn.start,Zn=bn.end;if(mt>=An&&mt<=Zn)return fn;var Kn=Math.min(Math.abs(mt-An),Math.abs(mt-Zn));Kn<Ft&&(Ft=Kn,Bt=fn)}return Bt}}]),me}();function Mo(me){var Xe={YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]};return Xe[me]}var ha=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],Aa=ce.forwardRef(function(me,Xe){var mt=me.active,Ft=me.showActiveCls,Bt=Ft===void 0?!0:Ft,fn=me.suffixIcon,bn=me.format,An=me.validateFormat,Zn=me.onChange,Kn=me.onInput,Dn=me.helped,qn=me.onHelp,sr=me.onSubmit,or=me.onKeyDown,er=me.preserveInvalidOnBlur,dr=er===void 0?!1:er,hr=me.invalid,mr=me.clearIcon,_r=(0,qr.Z)(me,ha),kr=me.value,xr=me.onFocus,Qr=me.onBlur,Br=me.onMouseUp,Nr=ce.useContext(te),Bi=Nr.prefixCls,pi=Nr.input,yi=pi===void 0?"input":pi,di="".concat(Bi,"-input"),Li=ce.useState(!1),xi=(0,je.Z)(Li,2),ii=xi[0],Gr=xi[1],si=ce.useState(kr),li=(0,je.Z)(si,2),Vi=li[0],Ni=li[1],vi=ce.useState(""),Si=(0,je.Z)(vi,2),oi=Si[0],bi=Si[1],gi=ce.useState(null),Ki=(0,je.Z)(gi,2),lo=Ki[0],uo=Ki[1],_e=ce.useState(null),He=(0,je.Z)(_e,2),Ct=He[0],Pt=He[1],Nt=Vi||"";ce.useEffect(function(){Ni(kr)},[kr]);var _t=ce.useRef(),cn=ce.useRef();ce.useImperativeHandle(Xe,function(){return{nativeElement:_t.current,inputElement:cn.current,focus:function(br){cn.current.focus(br)},blur:function(){cn.current.blur()}}});var rn=ce.useMemo(function(){return new Oo(bn||"")},[bn]),pn=ce.useMemo(function(){return Dn?[0,0]:rn.getSelection(lo)},[rn,lo,Dn]),vn=(0,je.Z)(pn,2),Tn=vn[0],Fn=vn[1],Pn=function(br){br&&br!==bn&&br!==kr&&qn()},Cn=(0,rt.zX)(function(Sr){An(Sr)&&Zn(Sr),Ni(Sr),Pn(Sr)}),gn=function(br){if(!bn){var Or=br.target.value;Pn(Or),Ni(Or),Zn(Or)}},ur=function(br){var Or=br.clipboardData.getData("text");An(Or)&&Cn(Or)},Hn=ce.useRef(!1),vr=function(){Hn.current=!0},fr=function(br){var Or=br.target,$n=Or.selectionStart,_n=rn.getMaskCellIndex($n);uo(_n),Pt({}),Br==null||Br(br),Hn.current=!1},wr=function(br){Gr(!0),uo(0),bi(""),xr(br)},yr=function(br){Qr(br)},Er=function(br){Gr(!1),yr(br)};Lt(mt,function(){!mt&&!dr&&Ni(kr)});var Tr=function(br){br.key==="Enter"&&An(Nt)&&sr(),or==null||or(br)},Hr=function(br){Tr(br);var Or=br.key,$n=null,_n=null,Fr=Fn-Tn,jr=bn.slice(Tn,Fn),ei=function(eo){uo(function(qo){var No=qo+eo;return No=Math.max(No,0),No=Math.min(No,rn.size()-1),No})},Ei=function(eo){var qo=Mo(jr),No=(0,je.Z)(qo,3),Go=No[0],ra=No[1],oa=No[2],go=Nt.slice(Tn,Fn),po=Number(go);if(isNaN(po))return String(oa||(eo>0?Go:ra));var ma=po+eo,pa=ra-Go+1;return String(Go+(pa+ma-Go)%pa)};switch(Or){case"Backspace":case"Delete":$n="",_n=jr;break;case"ArrowLeft":$n="",ei(-1);break;case"ArrowRight":$n="",ei(1);break;case"ArrowUp":$n="",_n=Ei(1);break;case"ArrowDown":$n="",_n=Ei(-1);break;default:isNaN(Number(Or))||($n=oi+Or,_n=$n);break}if($n!==null&&(bi($n),$n.length>=Fr&&(ei(1),bi(""))),_n!==null){var Kr=Nt.slice(0,Tn)+le(_n,Fr)+Nt.slice(Fn);Cn(Kr.slice(0,bn.length))}Pt({})},Ur=ce.useRef();(0,xt.Z)(function(){if(!(!ii||!bn||Hn.current)){if(!rn.match(Nt)){Cn(bn);return}return cn.current.setSelectionRange(Tn,Fn),Ur.current=(0,Ir.Z)(function(){cn.current.setSelectionRange(Tn,Fn)}),function(){Ir.Z.cancel(Ur.current)}}},[rn,bn,ii,Nt,lo,Tn,Fn,Ct,Cn]);var Ci=bn?{onFocus:wr,onBlur:Er,onKeyDown:Hr,onMouseDown:vr,onMouseUp:fr,onPaste:ur}:{};return ce.createElement("div",{ref:_t,className:Je()(di,(0,It.Z)((0,It.Z)({},"".concat(di,"-active"),mt&&Bt),"".concat(di,"-placeholder"),Dn))},ce.createElement(yi,(0,Oe.Z)({ref:cn,"aria-invalid":hr,autoComplete:"off"},_r,{onKeyDown:Tr,onBlur:yr},Ci,{value:Nt,onChange:gn})),ce.createElement(vo,{type:"suffix",icon:fn}),mr)}),xa=Aa,Ia=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],Da=["index"];function Yi(me,Xe){var mt=me.id,Ft=me.prefix,Bt=me.clearIcon,fn=me.suffixIcon,bn=me.separator,An=bn===void 0?"~":bn,Zn=me.activeIndex,Kn=me.activeHelp,Dn=me.allHelp,qn=me.focused,sr=me.onFocus,or=me.onBlur,er=me.onKeyDown,dr=me.locale,hr=me.generateConfig,mr=me.placeholder,_r=me.className,kr=me.style,xr=me.onClick,Qr=me.onClear,Br=me.value,Nr=me.onChange,Bi=me.onSubmit,pi=me.onInputChange,yi=me.format,di=me.maskFormat,Li=me.preserveInvalidOnBlur,xi=me.onInvalid,ii=me.disabled,Gr=me.invalid,si=me.inputReadOnly,li=me.direction,Vi=me.onOpenChange,Ni=me.onActiveInfo,vi=me.placement,Si=me.onMouseDown,oi=me.required,bi=me["aria-required"],gi=me.autoFocus,Ki=me.tabIndex,lo=(0,qr.Z)(me,Ia),uo=li==="rtl",_e=ce.useContext(te),He=_e.prefixCls,Ct=ce.useMemo(function(){if(typeof mt=="string")return[mt];var yr=mt||{};return[yr.start,yr.end]},[mt]),Pt=ce.useRef(),Nt=ce.useRef(),_t=ce.useRef(),cn=function(Er){var Tr;return(Tr=[Nt,_t][Er])===null||Tr===void 0?void 0:Tr.current};ce.useImperativeHandle(Xe,function(){return{nativeElement:Pt.current,focus:function(Er){if((0,un.Z)(Er)==="object"){var Tr,Hr=Er||{},Ur=Hr.index,Ci=Ur===void 0?0:Ur,Sr=(0,qr.Z)(Hr,Da);(Tr=cn(Ci))===null||Tr===void 0||Tr.focus(Sr)}else{var br;(br=cn(Er!=null?Er:0))===null||br===void 0||br.focus()}},blur:function(){var Er,Tr;(Er=cn(0))===null||Er===void 0||Er.blur(),(Tr=cn(1))===null||Tr===void 0||Tr.blur()}}});var rn=Cr(lo),pn=ce.useMemo(function(){return Array.isArray(mr)?mr:[mr,mr]},[mr]),vn=ir((0,Ee.Z)((0,Ee.Z)({},me),{},{id:Ct,placeholder:pn})),Tn=(0,je.Z)(vn,1),Fn=Tn[0],Pn=ce.useState({position:"absolute",width:0}),Cn=(0,je.Z)(Pn,2),gn=Cn[0],ur=Cn[1],Hn=(0,rt.zX)(function(){var yr=cn(Zn);if(yr){var Er=yr.nativeElement.getBoundingClientRect(),Tr=Pt.current.getBoundingClientRect(),Hr=Er.left-Tr.left;ur(function(Ur){return(0,Ee.Z)((0,Ee.Z)({},Ur),{},{width:Er.width,left:Hr})}),Ni([Er.left,Er.right,Tr.width])}});ce.useEffect(function(){Hn()},[Zn]);var vr=Bt&&(Br[0]&&!ii[0]||Br[1]&&!ii[1]),fr=gi&&!ii[0],wr=gi&&!fr&&!ii[1];return ce.createElement(zn.Z,{onResize:Hn},ce.createElement("div",(0,Oe.Z)({},rn,{className:Je()(He,"".concat(He,"-range"),(0,It.Z)((0,It.Z)((0,It.Z)((0,It.Z)({},"".concat(He,"-focused"),qn),"".concat(He,"-disabled"),ii.every(function(yr){return yr})),"".concat(He,"-invalid"),Gr.some(function(yr){return yr})),"".concat(He,"-rtl"),uo),_r),style:kr,ref:Pt,onClick:xr,onMouseDown:function(Er){var Tr=Er.target;Tr!==Nt.current.inputElement&&Tr!==_t.current.inputElement&&Er.preventDefault(),Si==null||Si(Er)}}),Ft&&ce.createElement("div",{className:"".concat(He,"-prefix")},Ft),ce.createElement(xa,(0,Oe.Z)({ref:Nt},Fn(0),{autoFocus:fr,tabIndex:Ki,"date-range":"start"})),ce.createElement("div",{className:"".concat(He,"-range-separator")},An),ce.createElement(xa,(0,Oe.Z)({ref:_t},Fn(1),{autoFocus:wr,tabIndex:Ki,"date-range":"end"})),ce.createElement("div",{className:"".concat(He,"-active-bar"),style:gn}),ce.createElement(vo,{type:"suffix",icon:fn}),vr&&ce.createElement(ao,{icon:Bt,onClear:Qr})))}var Ti=ce.forwardRef(Yi),ea=Ti;function ta(me,Xe){var mt=me!=null?me:Xe;return Array.isArray(mt)?mt:[mt,mt]}function Gi(me){return me===1?"end":"start"}function Wo(me,Xe){var mt=Rr(me,function(){var _o=me.disabled,So=me.allowEmpty,ui=ta(_o,!1),_i=ta(So,!1);return{disabled:ui,allowEmpty:_i}}),Ft=(0,je.Z)(mt,6),Bt=Ft[0],fn=Ft[1],bn=Ft[2],An=Ft[3],Zn=Ft[4],Kn=Ft[5],Dn=Bt.prefixCls,qn=Bt.styles,sr=Bt.classNames,or=Bt.defaultValue,er=Bt.value,dr=Bt.needConfirm,hr=Bt.onKeyDown,mr=Bt.disabled,_r=Bt.allowEmpty,kr=Bt.disabledDate,xr=Bt.minDate,Qr=Bt.maxDate,Br=Bt.defaultOpen,Nr=Bt.open,Bi=Bt.onOpenChange,pi=Bt.locale,yi=Bt.generateConfig,di=Bt.picker,Li=Bt.showNow,xi=Bt.showToday,ii=Bt.showTime,Gr=Bt.mode,si=Bt.onPanelChange,li=Bt.onCalendarChange,Vi=Bt.onOk,Ni=Bt.defaultPickerValue,vi=Bt.pickerValue,Si=Bt.onPickerValueChange,oi=Bt.inputReadOnly,bi=Bt.suffixIcon,gi=Bt.onFocus,Ki=Bt.onBlur,lo=Bt.presets,uo=Bt.ranges,_e=Bt.components,He=Bt.cellRender,Ct=Bt.dateRender,Pt=Bt.monthCellRender,Nt=Bt.onClick,_t=nr(Xe),cn=kn(Nr,Br,mr,Bi),rn=(0,je.Z)(cn,2),pn=rn[0],vn=rn[1],Tn=function(So,ui){(mr.some(function(_i){return!_i})||!So)&&vn(So,ui)},Fn=jt(yi,pi,An,!0,!1,or,er,li,Vi),Pn=(0,je.Z)(Fn,5),Cn=Pn[0],gn=Pn[1],ur=Pn[2],Hn=Pn[3],vr=Pn[4],fr=ur(),wr=Qt(mr,_r,pn),yr=(0,je.Z)(wr,9),Er=yr[0],Tr=yr[1],Hr=yr[2],Ur=yr[3],Ci=yr[4],Sr=yr[5],br=yr[6],Or=yr[7],$n=yr[8],_n=function(So,ui){Tr(!0),gi==null||gi(So,{range:Gi(ui!=null?ui:Ur)})},Fr=function(So,ui){Tr(!1),Ki==null||Ki(So,{range:Gi(ui!=null?ui:Ur)})},jr=ce.useMemo(function(){if(!ii)return null;var _o=ii.disabledTime,So=_o?function(ui){var _i=Gi(Ur),Io=it(fr,br,Ur);return _o(ui,_i,{from:Io})}:void 0;return(0,Ee.Z)((0,Ee.Z)({},ii),{},{disabledTime:So})},[ii,Ur,fr,br]),ei=(0,rt.C8)([di,di],{value:Gr}),Ei=(0,je.Z)(ei,2),Kr=Ei[0],so=Ei[1],eo=Kr[Ur]||di,qo=eo==="date"&&jr?"datetime":eo,No=qo===di&&qo!=="time",Go=an(di,eo,Li,xi,!0),ra=Gt(Bt,Cn,gn,ur,Hn,mr,An,Er,pn,Kn),oa=(0,je.Z)(ra,2),go=oa[0],po=oa[1],ma=St(fr,mr,br,yi,pi,kr),pa=ot(fr,Kn,_r),Ii=(0,je.Z)(pa,2),no=Ii[0],Di=Ii[1],ci=Ht(yi,pi,fr,Kr,pn,Ur,fn,No,Ni,vi,jr==null?void 0:jr.defaultOpenValue,Si,xr,Qr),Do=(0,je.Z)(ci,2),zo=Do[0],aa=Do[1],Ho=(0,rt.zX)(function(_o,So,ui){var _i=Le(Kr,Ur,So);if((_i[0]!==Kr[0]||_i[1]!==Kr[1])&&so(_i),si&&ui!==!1){var Io=(0,lt.Z)(fr);_o&&(Io[Ur]=_o),si(Io,_i)}}),va=function(So,ui){return Le(fr,ui,So)},ca=function(So,ui){var _i=fr;So&&(_i=va(So,Ur)),Or(Ur);var Io=Sr(_i);Hn(_i),go(Ur,Io===null),Io===null?Tn(!1,{force:!0}):ui||_t.current.focus({index:Io})},ki=function(So){var ui,_i=So.target.getRootNode();if(!_t.current.nativeElement.contains((ui=_i.activeElement)!==null&&ui!==void 0?ui:document.activeElement)){var Io=mr.findIndex(function(Fa){return!Fa});Io>=0&&_t.current.focus({index:Io})}Tn(!0),Nt==null||Nt(So)},Ui=function(){po(null),Tn(!1,{force:!0})},jo=ce.useState(null),$o=(0,je.Z)(jo,2),Xo=$o[0],Ea=$o[1],la=ce.useState(null),Na=(0,je.Z)(la,2),ia=Na[0],Po=Na[1],na=ce.useMemo(function(){return ia||fr},[fr,ia]);ce.useEffect(function(){pn||Po(null)},[pn]);var sa=ce.useState([0,0,0]),Ca=(0,je.Z)(sa,2),ga=Ca[0],To=Ca[1],fa=rr(lo,uo),Uo=function(So){Po(So),Ea("preset")},Ra=function(So){var ui=po(So);ui&&Tn(!1,{force:!0})},Sa=function(So){ca(So)},Va=function(So){Po(So?va(So,Ur):null),Ea("cell")},$a=function(So){Tn(!0),_n(So)},Sl=function(){Hr("panel")},ua=function(So){var ui=Le(fr,Ur,So);Hn(ui),!dr&&!bn&&fn===qo&&ca(So)},Jl=function(){Tn(!1)},Ka=yt(He,Ct,Pt,Gi(Ur)),hl=fr[Ur]||null,al=(0,rt.zX)(function(_o){return Kn(_o,{activeIndex:Ur})}),ro=ce.useMemo(function(){var _o=(0,wt.Z)(Bt,!1),So=(0,ct.Z)(Bt,[].concat((0,lt.Z)(Object.keys(_o)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return So},[Bt]),Pi=ce.createElement(Wr,(0,Oe.Z)({},ro,{showNow:Go,showTime:jr,range:!0,multiplePanel:No,activeInfo:ga,disabledDate:ma,onFocus:$a,onBlur:Fr,onPanelMouseDown:Sl,picker:di,mode:eo,internalMode:qo,onPanelChange:Ho,format:Zn,value:hl,isInvalid:al,onChange:null,onSelect:ua,pickerValue:zo,defaultOpenValue:Ie(ii==null?void 0:ii.defaultOpenValue)[Ur],onPickerValueChange:aa,hoverValue:na,onHover:Va,needConfirm:dr,onSubmit:ca,onOk:vr,presets:fa,onPresetHover:Uo,onPresetSubmit:Ra,onNow:Sa,cellRender:Ka})),ya=function(So,ui){var _i=va(So,ui);Hn(_i)},Xa=function(){Hr("input")},yl=function(So,ui){var _i=br.length,Io=br[_i-1];if(_i&&Io!==ui&&dr&&!_r[Io]&&!$n(Io)&&fr[Io]){_t.current.focus({index:Io});return}Hr("input"),Tn(!0,{inherit:!0}),Ur!==ui&&pn&&!dr&&bn&&ca(null,!0),Ci(ui),_n(So,ui)},Nl=function(So,ui){if(Tn(!1),!dr&&Hr()==="input"){var _i=Sr(fr);go(Ur,_i===null)}Fr(So,ui)},Ss=function(So,ui){So.key==="Tab"&&ca(null,!0),hr==null||hr(So,ui)},ws=ce.useMemo(function(){return{prefixCls:Dn,locale:pi,generateConfig:yi,button:_e.button,input:_e.input}},[Dn,pi,yi,_e.button,_e.input]);if((0,xt.Z)(function(){pn&&Ur!==void 0&&Ho(null,di,!1)},[pn,Ur,di]),(0,xt.Z)(function(){var _o=Hr();!pn&&_o==="input"&&(Tn(!1),ca(null,!0)),!pn&&bn&&!dr&&_o==="panel"&&(Tn(!0),ca())},[pn]),0)var Ls;return ce.createElement(te.Provider,{value:ws},ce.createElement(ne,(0,Oe.Z)({},dt(Bt),{popupElement:Pi,popupStyle:qn.popup,popupClassName:sr.popup,visible:pn,onClose:Jl,range:!0}),ce.createElement(ea,(0,Oe.Z)({},Bt,{ref:_t,suffixIcon:bi,activeIndex:Er||pn?Ur:null,activeHelp:!!ia,allHelp:!!ia&&Xo==="preset",focused:Er,onFocus:yl,onBlur:Nl,onKeyDown:Ss,onSubmit:ca,value:na,maskFormat:Zn,onChange:ya,onInputChange:Xa,format:An,inputReadOnly:oi,disabled:mr,open:pn,onOpenChange:Tn,onClick:ki,onClear:Ui,invalid:no,onInvalid:Di,onActiveInfo:To}))))}var Jo=ce.forwardRef(Wo),ho=Jo,Zo=E(83836);function Fo(me){var Xe=me.prefixCls,mt=me.value,Ft=me.onRemove,Bt=me.removeIcon,fn=Bt===void 0?"\xD7":Bt,bn=me.formatDate,An=me.disabled,Zn=me.maxTagCount,Kn=me.placeholder,Dn="".concat(Xe,"-selector"),qn="".concat(Xe,"-selection"),sr="".concat(qn,"-overflow");function or(hr,mr){return ce.createElement("span",{className:Je()("".concat(qn,"-item")),title:typeof hr=="string"?hr:null},ce.createElement("span",{className:"".concat(qn,"-item-content")},hr),!An&&mr&&ce.createElement("span",{onMouseDown:function(kr){kr.preventDefault()},onClick:mr,className:"".concat(qn,"-item-remove")},fn))}function er(hr){var mr=bn(hr),_r=function(xr){xr&&xr.stopPropagation(),Ft(hr)};return or(mr,_r)}function dr(hr){var mr="+ ".concat(hr.length," ...");return or(mr)}return ce.createElement("div",{className:Dn},ce.createElement(Zo.Z,{prefixCls:sr,data:mt,renderItem:er,renderRest:dr,itemKey:function(mr){return bn(mr)},maxCount:Zn}),!mt.length&&ce.createElement("span",{className:"".concat(Xe,"-selection-placeholder")},Kn))}var ka=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function rl(me,Xe){var mt=me.id,Ft=me.open,Bt=me.prefix,fn=me.clearIcon,bn=me.suffixIcon,An=me.activeHelp,Zn=me.allHelp,Kn=me.focused,Dn=me.onFocus,qn=me.onBlur,sr=me.onKeyDown,or=me.locale,er=me.generateConfig,dr=me.placeholder,hr=me.className,mr=me.style,_r=me.onClick,kr=me.onClear,xr=me.internalPicker,Qr=me.value,Br=me.onChange,Nr=me.onSubmit,Bi=me.onInputChange,pi=me.multiple,yi=me.maxTagCount,di=me.format,Li=me.maskFormat,xi=me.preserveInvalidOnBlur,ii=me.onInvalid,Gr=me.disabled,si=me.invalid,li=me.inputReadOnly,Vi=me.direction,Ni=me.onOpenChange,vi=me.onMouseDown,Si=me.required,oi=me["aria-required"],bi=me.autoFocus,gi=me.tabIndex,Ki=me.removeIcon,lo=(0,qr.Z)(me,ka),uo=Vi==="rtl",_e=ce.useContext(te),He=_e.prefixCls,Ct=ce.useRef(),Pt=ce.useRef();ce.useImperativeHandle(Xe,function(){return{nativeElement:Ct.current,focus:function(gn){var ur;(ur=Pt.current)===null||ur===void 0||ur.focus(gn)},blur:function(){var gn;(gn=Pt.current)===null||gn===void 0||gn.blur()}}});var Nt=Cr(lo),_t=function(gn){Br([gn])},cn=function(gn){var ur=Qr.filter(function(Hn){return Hn&&!ln(er,or,Hn,gn,xr)});Br(ur),Ft||Nr()},rn=ir((0,Ee.Z)((0,Ee.Z)({},me),{},{onChange:_t}),function(Cn){var gn=Cn.valueTexts;return{value:gn[0]||"",active:Kn}}),pn=(0,je.Z)(rn,2),vn=pn[0],Tn=pn[1],Fn=!!(fn&&Qr.length&&!Gr),Pn=pi?ce.createElement(ce.Fragment,null,ce.createElement(Fo,{prefixCls:He,value:Qr,onRemove:cn,formatDate:Tn,maxTagCount:yi,disabled:Gr,removeIcon:Ki,placeholder:dr}),ce.createElement("input",{className:"".concat(He,"-multiple-input"),value:Qr.map(Tn).join(","),ref:Pt,readOnly:!0,autoFocus:bi,tabIndex:gi}),ce.createElement(vo,{type:"suffix",icon:bn}),Fn&&ce.createElement(ao,{icon:fn,onClear:kr})):ce.createElement(xa,(0,Oe.Z)({ref:Pt},vn(),{autoFocus:bi,tabIndex:gi,suffixIcon:bn,clearIcon:Fn&&ce.createElement(ao,{icon:fn,onClear:kr}),showActiveCls:!1}));return ce.createElement("div",(0,Oe.Z)({},Nt,{className:Je()(He,(0,It.Z)((0,It.Z)((0,It.Z)((0,It.Z)((0,It.Z)({},"".concat(He,"-multiple"),pi),"".concat(He,"-focused"),Kn),"".concat(He,"-disabled"),Gr),"".concat(He,"-invalid"),si),"".concat(He,"-rtl"),uo),hr),style:mr,ref:Ct,onClick:_r,onMouseDown:function(gn){var ur,Hn=gn.target;Hn!==((ur=Pt.current)===null||ur===void 0?void 0:ur.inputElement)&&gn.preventDefault(),vi==null||vi(gn)}}),Bt&&ce.createElement("div",{className:"".concat(He,"-prefix")},Bt),Pn)}var za=ce.forwardRef(rl),Ba=za;function _l(me,Xe){var mt=Rr(me),Ft=(0,je.Z)(mt,6),Bt=Ft[0],fn=Ft[1],bn=Ft[2],An=Ft[3],Zn=Ft[4],Kn=Ft[5],Dn=Bt,qn=Dn.prefixCls,sr=Dn.styles,or=Dn.classNames,er=Dn.order,dr=Dn.defaultValue,hr=Dn.value,mr=Dn.needConfirm,_r=Dn.onChange,kr=Dn.onKeyDown,xr=Dn.disabled,Qr=Dn.disabledDate,Br=Dn.minDate,Nr=Dn.maxDate,Bi=Dn.defaultOpen,pi=Dn.open,yi=Dn.onOpenChange,di=Dn.locale,Li=Dn.generateConfig,xi=Dn.picker,ii=Dn.showNow,Gr=Dn.showToday,si=Dn.showTime,li=Dn.mode,Vi=Dn.onPanelChange,Ni=Dn.onCalendarChange,vi=Dn.onOk,Si=Dn.multiple,oi=Dn.defaultPickerValue,bi=Dn.pickerValue,gi=Dn.onPickerValueChange,Ki=Dn.inputReadOnly,lo=Dn.suffixIcon,uo=Dn.removeIcon,_e=Dn.onFocus,He=Dn.onBlur,Ct=Dn.presets,Pt=Dn.components,Nt=Dn.cellRender,_t=Dn.dateRender,cn=Dn.monthCellRender,rn=Dn.onClick,pn=nr(Xe);function vn(ro){return ro===null?null:Si?ro:ro[0]}var Tn=Pr(Li,di,fn),Fn=kn(pi,Bi,[xr],yi),Pn=(0,je.Z)(Fn,2),Cn=Pn[0],gn=Pn[1],ur=function(Pi,ya,Xa){if(Ni){var yl=(0,Ee.Z)({},Xa);delete yl.range,Ni(vn(Pi),vn(ya),yl)}},Hn=function(Pi){vi==null||vi(vn(Pi))},vr=jt(Li,di,An,!1,er,dr,hr,ur,Hn),fr=(0,je.Z)(vr,5),wr=fr[0],yr=fr[1],Er=fr[2],Tr=fr[3],Hr=fr[4],Ur=Er(),Ci=Qt([xr]),Sr=(0,je.Z)(Ci,4),br=Sr[0],Or=Sr[1],$n=Sr[2],_n=Sr[3],Fr=function(Pi){Or(!0),_e==null||_e(Pi,{})},jr=function(Pi){Or(!1),He==null||He(Pi,{})},ei=(0,rt.C8)(xi,{value:li}),Ei=(0,je.Z)(ei,2),Kr=Ei[0],so=Ei[1],eo=Kr==="date"&&si?"datetime":Kr,qo=an(xi,Kr,ii,Gr),No=_r&&function(ro,Pi){_r(vn(ro),vn(Pi))},Go=Gt((0,Ee.Z)((0,Ee.Z)({},Bt),{},{onChange:No}),wr,yr,Er,Tr,[],An,br,Cn,Kn),ra=(0,je.Z)(Go,2),oa=ra[1],go=ot(Ur,Kn),po=(0,je.Z)(go,2),ma=po[0],pa=po[1],Ii=ce.useMemo(function(){return ma.some(function(ro){return ro})},[ma]),no=function(Pi,ya){if(gi){var Xa=(0,Ee.Z)((0,Ee.Z)({},ya),{},{mode:ya.mode[0]});delete Xa.range,gi(Pi[0],Xa)}},Di=Ht(Li,di,Ur,[Kr],Cn,_n,fn,!1,oi,bi,Ie(si==null?void 0:si.defaultOpenValue),no,Br,Nr),ci=(0,je.Z)(Di,2),Do=ci[0],zo=ci[1],aa=(0,rt.zX)(function(ro,Pi,ya){if(so(Pi),Vi&&ya!==!1){var Xa=ro||Ur[Ur.length-1];Vi(Xa,Pi)}}),Ho=function(){oa(Er()),gn(!1,{force:!0})},va=function(Pi){!xr&&!pn.current.nativeElement.contains(document.activeElement)&&pn.current.focus(),gn(!0),rn==null||rn(Pi)},ca=function(){oa(null),gn(!1,{force:!0})},ki=ce.useState(null),Ui=(0,je.Z)(ki,2),jo=Ui[0],$o=Ui[1],Xo=ce.useState(null),Ea=(0,je.Z)(Xo,2),la=Ea[0],Na=Ea[1],ia=ce.useMemo(function(){var ro=[la].concat((0,lt.Z)(Ur)).filter(function(Pi){return Pi});return Si?ro:ro.slice(0,1)},[Ur,la,Si]),Po=ce.useMemo(function(){return!Si&&la?[la]:Ur.filter(function(ro){return ro})},[Ur,la,Si]);ce.useEffect(function(){Cn||Na(null)},[Cn]);var na=rr(Ct),sa=function(Pi){Na(Pi),$o("preset")},Ca=function(Pi){var ya=Si?Tn(Er(),Pi):[Pi],Xa=oa(ya);Xa&&!Si&&gn(!1,{force:!0})},ga=function(Pi){Ca(Pi)},To=function(Pi){Na(Pi),$o("cell")},fa=function(Pi){gn(!0),Fr(Pi)},Uo=function(Pi){if($n("panel"),!(Si&&eo!==xi)){var ya=Si?Tn(Er(),Pi):[Pi];Tr(ya),!mr&&!bn&&fn===eo&&Ho()}},Ra=function(){gn(!1)},Sa=yt(Nt,_t,cn),Va=ce.useMemo(function(){var ro=(0,wt.Z)(Bt,!1),Pi=(0,ct.Z)(Bt,[].concat((0,lt.Z)(Object.keys(ro)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,Ee.Z)((0,Ee.Z)({},Pi),{},{multiple:Bt.multiple})},[Bt]),$a=ce.createElement(Wr,(0,Oe.Z)({},Va,{showNow:qo,showTime:si,disabledDate:Qr,onFocus:fa,onBlur:jr,picker:xi,mode:Kr,internalMode:eo,onPanelChange:aa,format:Zn,value:Ur,isInvalid:Kn,onChange:null,onSelect:Uo,pickerValue:Do,defaultOpenValue:si==null?void 0:si.defaultOpenValue,onPickerValueChange:zo,hoverValue:ia,onHover:To,needConfirm:mr,onSubmit:Ho,onOk:Hr,presets:na,onPresetHover:sa,onPresetSubmit:Ca,onNow:ga,cellRender:Sa})),Sl=function(Pi){Tr(Pi)},ua=function(){$n("input")},Jl=function(Pi){$n("input"),gn(!0,{inherit:!0}),Fr(Pi)},Ka=function(Pi){gn(!1),jr(Pi)},hl=function(Pi,ya){Pi.key==="Tab"&&Ho(),kr==null||kr(Pi,ya)},al=ce.useMemo(function(){return{prefixCls:qn,locale:di,generateConfig:Li,button:Pt.button,input:Pt.input}},[qn,di,Li,Pt.button,Pt.input]);return(0,xt.Z)(function(){Cn&&_n!==void 0&&aa(null,xi,!1)},[Cn,_n,xi]),(0,xt.Z)(function(){var ro=$n();!Cn&&ro==="input"&&(gn(!1),Ho()),!Cn&&bn&&!mr&&ro==="panel"&&Ho()},[Cn]),ce.createElement(te.Provider,{value:al},ce.createElement(ne,(0,Oe.Z)({},dt(Bt),{popupElement:$a,popupStyle:sr.popup,popupClassName:or.popup,visible:Cn,onClose:Ra}),ce.createElement(Ba,(0,Oe.Z)({},Bt,{ref:pn,suffixIcon:lo,removeIcon:uo,activeHelp:!!la,allHelp:!!la&&jo==="preset",focused:br,onFocus:Jl,onBlur:Ka,onKeyDown:hl,onSubmit:Ho,value:Po,maskFormat:Zn,onChange:Sl,onInputChange:ua,internalPicker:fn,format:An,inputReadOnly:Ki,disabled:xr,open:Cn,onOpenChange:gn,onClick:va,onClear:ca,invalid:Ii,onInvalid:function(Pi){pa(Pi,0)}}))))}var jl=ce.forwardRef(_l),qi=jl,xo=qi,Xi=E(62487),to=E(75030),Lo=E(82855),da=E(48755),Cl=E(2171),Ya=E(83397),Wa=E(31756),Pa=E(56553),pl=E(24971),Al=E(9017),el=E(70045),Dl=E(57428),Ao=E(36237),xl=E(53075),Vl=E(64910),us=E(63356),ys=E(56119),il=E(46e3),Zl=E(93873),vl=E(36305),Bs=E(16931),Yl=E(51636),cs=E(26743);const ts=(me,Xe)=>{const{componentCls:mt,controlHeight:Ft}=me,Bt=Xe?`${mt}-${Xe}`:"",fn=(0,cs.gp)(me);return[{[`${mt}-multiple${Bt}`]:{paddingBlock:fn.containerPadding,paddingInlineStart:fn.basePadding,minHeight:Ft,[`${mt}-selection-item`]:{height:fn.itemHeight,lineHeight:(0,Ao.unit)(fn.itemLineHeight)}}}]};var ds=me=>{const{componentCls:Xe,calc:mt,lineWidth:Ft}=me,Bt=(0,Yl.mergeToken)(me,{fontHeight:me.fontSize,selectHeight:me.controlHeightSM,multipleSelectItemHeight:me.multipleItemHeightSM,borderRadius:me.borderRadiusSM,borderRadiusSM:me.borderRadiusXS,controlHeight:me.controlHeightSM}),fn=(0,Yl.mergeToken)(me,{fontHeight:mt(me.multipleItemHeightLG).sub(mt(Ft).mul(2).equal()).equal(),fontSize:me.fontSizeLG,selectHeight:me.controlHeightLG,multipleSelectItemHeight:me.multipleItemHeightLG,borderRadius:me.borderRadiusLG,borderRadiusSM:me.borderRadius,controlHeight:me.controlHeightLG});return[ts(Bt,"small"),ts(me),ts(fn,"large"),{[`${Xe}${Xe}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Xe}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Xe}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:me.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${me.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:me.colorTextPlaceholder,pointerEvents:"none"}}},(0,cs._z)(me)),{[`${Xe}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},gl=E(17835);const Gl=me=>{const{pickerCellCls:Xe,pickerCellInnerCls:mt,cellHeight:Ft,borderRadiusSM:Bt,motionDurationMid:fn,cellHoverBg:bn,lineWidth:An,lineType:Zn,colorPrimary:Kn,cellActiveWithRangeBg:Dn,colorTextLightSolid:qn,colorTextDisabled:sr,cellBgDisabled:or,colorFillSecondary:er}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ft,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[mt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ft,height:Ft,lineHeight:(0,Ao.unit)(Ft),borderRadius:Bt,transition:`background ${fn}`},[`&:hover:not(${Xe}-in-view):not(${Xe}-disabled),
|
|
|
&:hover:not(${Xe}-selected):not(${Xe}-range-start):not(${Xe}-range-end):not(${Xe}-disabled)`]:{[mt]:{background:bn}},[`&-in-view${Xe}-today ${mt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,Ao.unit)(An)} ${Zn} ${Kn}`,borderRadius:Bt,content:'""'}},[`&-in-view${Xe}-in-range,
|
|
|
&-in-view${Xe}-range-start,
|
|
|
&-in-view${Xe}-range-end`]:{position:"relative",[`&:not(${Xe}-disabled):before`]:{background:Dn}},[`&-in-view${Xe}-selected,
|
|
|
&-in-view${Xe}-range-start,
|
|
|
&-in-view${Xe}-range-end`]:{[`&:not(${Xe}-disabled) ${mt}`]:{color:qn,background:Kn},[`&${Xe}-disabled ${mt}`]:{background:er}},[`&-in-view${Xe}-range-start:not(${Xe}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Xe}-range-end:not(${Xe}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Xe}-range-start:not(${Xe}-range-end) ${mt}`]:{borderStartStartRadius:Bt,borderEndStartRadius:Bt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Xe}-range-end:not(${Xe}-range-start) ${mt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Bt,borderEndEndRadius:Bt},"&-disabled":{color:sr,cursor:"not-allowed",[mt]:{background:"transparent"},"&::before":{background:or}},[`&-disabled${Xe}-today ${mt}::before`]:{borderColor:sr}}},ns=me=>{const{componentCls:Xe,pickerCellCls:mt,pickerCellInnerCls:Ft,pickerYearMonthCellWidth:Bt,pickerControlIconSize:fn,cellWidth:bn,paddingSM:An,paddingXS:Zn,paddingXXS:Kn,colorBgContainer:Dn,lineWidth:qn,lineType:sr,borderRadiusLG:or,colorPrimary:er,colorTextHeading:dr,colorSplit:hr,pickerControlIconBorderWidth:mr,colorIcon:_r,textHeight:kr,motionDurationMid:xr,colorIconHover:Qr,fontWeightStrong:Br,cellHeight:Nr,pickerCellPaddingVertical:Bi,colorTextDisabled:pi,colorText:yi,fontSize:di,motionDurationSlow:Li,withoutTimeCellHeight:xi,pickerQuarterPanelContentHeight:ii,borderRadiusSM:Gr,colorTextLightSolid:si,cellHoverBg:li,timeColumnHeight:Vi,timeColumnWidth:Ni,timeCellHeight:vi,controlItemBgActive:Si,marginXXS:oi,pickerDatePanelPaddingHorizontal:bi,pickerControlIconMargin:gi}=me,Ki=me.calc(bn).mul(7).add(me.calc(bi).mul(2)).equal();return{[Xe]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Dn,borderRadius:or,outline:"none","&-focused":{borderColor:er},"&-rtl":{[`${Xe}-prev-icon,
|
|
|
${Xe}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Xe}-next-icon,
|
|
|
${Xe}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Xe}-time-panel`]:{[`${Xe}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Ki},"&-header":{display:"flex",padding:`0 ${(0,Ao.unit)(Zn)}`,color:dr,borderBottom:`${(0,Ao.unit)(qn)} ${sr} ${hr}`,"> *":{flex:"none"},button:{padding:0,color:_r,lineHeight:(0,Ao.unit)(kr),background:"transparent",border:0,cursor:"pointer",transition:`color ${xr}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:di,"&:hover":{color:Qr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:Br,lineHeight:(0,Ao.unit)(kr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Zn},"&:hover":{color:er}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:fn,height:fn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:fn,height:fn,border:"0 solid currentcolor",borderBlockStartWidth:mr,borderInlineStartWidth:mr,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:gi,insetInlineStart:gi,display:"inline-block",width:fn,height:fn,border:"0 solid currentcolor",borderBlockStartWidth:mr,borderInlineStartWidth:mr,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Nr,fontWeight:"normal"},th:{height:me.calc(Nr).add(me.calc(Bi).mul(2)).equal(),color:yi,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,Ao.unit)(Bi)} 0`,color:pi,cursor:"pointer","&-in-view":{color:yi}},Gl(me)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Xe}-content`]:{height:me.calc(xi).mul(4).equal()},[Ft]:{padding:`0 ${(0,Ao.unit)(Zn)}`}},"&-quarter-panel":{[`${Xe}-content`]:{height:ii}},"&-decade-panel":{[Ft]:{padding:`0 ${(0,Ao.unit)(me.calc(Zn).div(2).equal())}`},[`${Xe}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Xe}-body`]:{padding:`0 ${(0,Ao.unit)(Zn)}`},[Ft]:{width:Bt}},"&-date-panel":{[`${Xe}-body`]:{padding:`${(0,Ao.unit)(Zn)} ${(0,Ao.unit)(bi)}`},[`${Xe}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Xe}-cell`]:{[`&:hover ${Ft},
|
|
|
&-selected ${Ft},
|
|
|
${Ft}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${xr}`},"&:first-child:before":{borderStartStartRadius:Gr,borderEndStartRadius:Gr},"&:last-child:before":{borderStartEndRadius:Gr,borderEndEndRadius:Gr}},"&:hover td:before":{background:li},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${mt}`]:{"&:before":{background:er},[`&${Xe}-cell-week`]:{color:new gl.FastColor(si).setA(.5).toHexString()},[Ft]:{color:si}}},"&-range-hover td:before":{background:Si}}},"&-week-panel, &-date-panel-show-week":{[`${Xe}-body`]:{padding:`${(0,Ao.unit)(Zn)} ${(0,Ao.unit)(An)}`},[`${Xe}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Xe}-time-panel`]:{borderInlineStart:`${(0,Ao.unit)(qn)} ${sr} ${hr}`},[`${Xe}-date-panel,
|
|
|
${Xe}-time-panel`]:{transition:`opacity ${Li}`},"&-active":{[`${Xe}-date-panel,
|
|
|
${Xe}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Xe}-content`]:{display:"flex",flex:"auto",height:Vi},"&-column":{flex:"1 0 auto",width:Ni,margin:`${(0,Ao.unit)(Kn)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${xr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:me.colorTextTertiary,borderRadius:me.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${me.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,Ao.unit)(vi)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,Ao.unit)(qn)} ${sr} ${hr}`},"&-active":{background:new gl.FastColor(Si).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Xe}-time-panel-cell`]:{marginInline:oi,[`${Xe}-time-panel-cell-inner`]:{display:"block",width:me.calc(Ni).sub(me.calc(oi).mul(2)).equal(),height:vi,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:me.calc(Ni).sub(vi).div(2).equal(),color:yi,lineHeight:(0,Ao.unit)(vi),borderRadius:Gr,cursor:"pointer",transition:`background ${xr}`,"&:hover":{background:li}},"&-selected":{[`${Xe}-time-panel-cell-inner`]:{background:Si}},"&-disabled":{[`${Xe}-time-panel-cell-inner`]:{color:pi,background:"transparent",cursor:"not-allowed"}}}}}}}}};var $l=me=>{const{componentCls:Xe,textHeight:mt,lineWidth:Ft,paddingSM:Bt,antCls:fn,colorPrimary:bn,cellActiveWithRangeBg:An,colorPrimaryBorder:Zn,lineType:Kn,colorSplit:Dn}=me;return{[`${Xe}-dropdown`]:{[`${Xe}-footer`]:{borderTop:`${(0,Ao.unit)(Ft)} ${Kn} ${Dn}`,"&-extra":{padding:`0 ${(0,Ao.unit)(Bt)}`,lineHeight:(0,Ao.unit)(me.calc(mt).sub(me.calc(Ft).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,Ao.unit)(Ft)} ${Kn} ${Dn}`}}},[`${Xe}-panels + ${Xe}-footer ${Xe}-ranges`]:{justifyContent:"space-between"},[`${Xe}-ranges`]:{marginBlock:0,paddingInline:(0,Ao.unit)(Bt),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,Ao.unit)(me.calc(mt).sub(me.calc(Ft).mul(2)).equal()),display:"inline-block"},[`${Xe}-now-btn-disabled`]:{pointerEvents:"none",color:me.colorTextDisabled},[`${Xe}-preset > ${fn}-tag-blue`]:{color:bn,background:An,borderColor:Zn,cursor:"pointer"},[`${Xe}-ok`]:{paddingBlock:me.calc(Ft).mul(2).equal(),marginInlineStart:"auto"}}}}};const fs=me=>{const{componentCls:Xe,controlHeightLG:mt,paddingXXS:Ft,padding:Bt}=me;return{pickerCellCls:`${Xe}-cell`,pickerCellInnerCls:`${Xe}-cell-inner`,pickerYearMonthCellWidth:me.calc(mt).mul(1.5).equal(),pickerQuarterPanelContentHeight:me.calc(mt).mul(1.4).equal(),pickerCellPaddingVertical:me.calc(Ft).add(me.calc(Ft).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:me.calc(Bt).add(me.calc(Ft).div(2)).equal()}},Cs=me=>{const{colorBgContainerDisabled:Xe,controlHeight:mt,controlHeightSM:Ft,controlHeightLG:Bt,paddingXXS:fn,lineWidth:bn}=me,An=fn*2,Zn=bn*2,Kn=Math.min(mt-An,mt-Zn),Dn=Math.min(Ft-An,Ft-Zn),qn=Math.min(Bt-An,Bt-Zn);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(fn/2),cellHoverBg:me.controlItemBgHover,cellActiveWithRangeBg:me.controlItemBgActive,cellHoverWithRangeBg:new gl.FastColor(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new gl.FastColor(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Xe,timeColumnWidth:Bt*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Ft*1.5,cellHeight:Ft,textHeight:Bt,withoutTimeCellHeight:Bt*1.65,multipleItemBg:me.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:Kn,multipleItemHeightSM:Dn,multipleItemHeightLG:qn,multipleSelectorBgDisabled:Xe,multipleItemColorDisabled:me.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Kl=me=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,Vl.T)(me)),Cs(me)),(0,vl.w)(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50});var Ha=E(39082),Eo=me=>{const{componentCls:Xe}=me;return{[Xe]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ha.qG)(me)),(0,Ha.vc)(me)),(0,Ha.H8)(me)),(0,Ha.Mu)(me)),{"&-outlined":{[`&${Xe}-multiple ${Xe}-selection-item`]:{background:me.multipleItemBg,border:`${(0,Ao.unit)(me.lineWidth)} ${me.lineType} ${me.multipleItemBorderColor}`}},"&-filled":{[`&${Xe}-multiple ${Xe}-selection-item`]:{background:me.colorBgContainer,border:`${(0,Ao.unit)(me.lineWidth)} ${me.lineType} ${me.colorSplit}`}},"&-borderless":{[`&${Xe}-multiple ${Xe}-selection-item`]:{background:me.multipleItemBg,border:`${(0,Ao.unit)(me.lineWidth)} ${me.lineType} ${me.multipleItemBorderColor}`}},"&-underlined":{[`&${Xe}-multiple ${Xe}-selection-item`]:{background:me.multipleItemBg,border:`${(0,Ao.unit)(me.lineWidth)} ${me.lineType} ${me.multipleItemBorderColor}`}}}]}};const Ma=(me,Xe,mt,Ft)=>{const Bt=me.calc(mt).add(2).equal(),fn=me.max(me.calc(Xe).sub(Bt).div(2).equal(),0),bn=me.max(me.calc(Xe).sub(Bt).sub(fn).equal(),0);return{padding:`${(0,Ao.unit)(fn)} ${(0,Ao.unit)(Ft)} ${(0,Ao.unit)(bn)}`}},tl=me=>{const{componentCls:Xe,colorError:mt,colorWarning:Ft}=me;return{[`${Xe}:not(${Xe}-disabled):not([disabled])`]:{[`&${Xe}-status-error`]:{[`${Xe}-active-bar`]:{background:mt}},[`&${Xe}-status-warning`]:{[`${Xe}-active-bar`]:{background:Ft}}}}},Oa=me=>{const{componentCls:Xe,antCls:mt,controlHeight:Ft,paddingInline:Bt,lineWidth:fn,lineType:bn,colorBorder:An,borderRadius:Zn,motionDurationMid:Kn,colorTextDisabled:Dn,colorTextPlaceholder:qn,controlHeightLG:sr,fontSizeLG:or,controlHeightSM:er,paddingInlineSM:dr,paddingXS:hr,marginXS:mr,colorTextDescription:_r,lineWidthBold:kr,colorPrimary:xr,motionDurationSlow:Qr,zIndexPopup:Br,paddingXXS:Nr,sizePopupArrow:Bi,colorBgElevated:pi,borderRadiusLG:yi,boxShadowSecondary:di,borderRadiusSM:Li,colorSplit:xi,cellHoverBg:ii,presetsWidth:Gr,presetsMaxWidth:si,boxShadowPopoverArrow:li,fontHeight:Vi,fontHeightLG:Ni,lineHeightLG:vi}=me;return[{[Xe]:Object.assign(Object.assign(Object.assign({},(0,us.Wf)(me)),Ma(me,Ft,Vi,Bt)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:Zn,transition:`border ${Kn}, box-shadow ${Kn}, background ${Kn}`,[`${Xe}-prefix`]:{flex:"0 0 auto",marginInlineEnd:me.inputAffixPadding},[`${Xe}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:me.fontSize,lineHeight:me.lineHeight,transition:`all ${Kn}`},(0,xl.nz)(qn)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:Dn,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:qn}}},"&-large":Object.assign(Object.assign({},Ma(me,sr,Ni,Bt)),{[`${Xe}-input > input`]:{fontSize:or,lineHeight:vi}}),"&-small":Object.assign({},Ma(me,er,Vi,dr)),[`${Xe}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:me.calc(hr).div(2).equal(),color:Dn,lineHeight:1,pointerEvents:"none",transition:`opacity ${Kn}, color ${Kn}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:mr}}},[`${Xe}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Dn,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Kn}, color ${Kn}`,"> *":{verticalAlign:"top"},"&:hover":{color:_r}},"&:hover":{[`${Xe}-clear`]:{opacity:1},[`${Xe}-suffix:not(:last-child)`]:{opacity:0}},[`${Xe}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:or,color:Dn,fontSize:or,verticalAlign:"top",cursor:"default",[`${Xe}-focused &`]:{color:_r},[`${Xe}-range-separator &`]:{[`${Xe}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Xe}-active-bar`]:{bottom:me.calc(fn).mul(-1).equal(),height:kr,background:xr,opacity:0,transition:`all ${Qr} ease-out`,pointerEvents:"none"},[`&${Xe}-focused`]:{[`${Xe}-active-bar`]:{opacity:1}},[`${Xe}-range-separator`]:{alignItems:"center",padding:`0 ${(0,Ao.unit)(hr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Xe}-clear`]:{insetInlineEnd:Bt},[`&${Xe}-small`]:{[`${Xe}-clear`]:{insetInlineEnd:dr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,us.Wf)(me)),ns(me)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Br,[`&${Xe}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Xe}-dropdown-placement-bottomLeft,
|
|
|
&${Xe}-dropdown-placement-bottomRight`]:{[`${Xe}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Xe}-dropdown-placement-topLeft,
|
|
|
&${Xe}-dropdown-placement-topRight`]:{[`${Xe}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${mt}-slide-up-appear, &${mt}-slide-up-enter`]:{[`${Xe}-range-arrow${Xe}-range-arrow`]:{transition:"none"}},[`&${mt}-slide-up-enter${mt}-slide-up-enter-active${Xe}-dropdown-placement-topLeft,
|
|
|
&${mt}-slide-up-enter${mt}-slide-up-enter-active${Xe}-dropdown-placement-topRight,
|
|
|
&${mt}-slide-up-appear${mt}-slide-up-appear-active${Xe}-dropdown-placement-topLeft,
|
|
|
&${mt}-slide-up-appear${mt}-slide-up-appear-active${Xe}-dropdown-placement-topRight`]:{animationName:il.Qt},[`&${mt}-slide-up-enter${mt}-slide-up-enter-active${Xe}-dropdown-placement-bottomLeft,
|
|
|
&${mt}-slide-up-enter${mt}-slide-up-enter-active${Xe}-dropdown-placement-bottomRight,
|
|
|
&${mt}-slide-up-appear${mt}-slide-up-appear-active${Xe}-dropdown-placement-bottomLeft,
|
|
|
&${mt}-slide-up-appear${mt}-slide-up-appear-active${Xe}-dropdown-placement-bottomRight`]:{animationName:il.fJ},[`&${mt}-slide-up-leave ${Xe}-panel-container`]:{pointerEvents:"none"},[`&${mt}-slide-up-leave${mt}-slide-up-leave-active${Xe}-dropdown-placement-topLeft,
|
|
|
&${mt}-slide-up-leave${mt}-slide-up-leave-active${Xe}-dropdown-placement-topRight`]:{animationName:il.ly},[`&${mt}-slide-up-leave${mt}-slide-up-leave-active${Xe}-dropdown-placement-bottomLeft,
|
|
|
&${mt}-slide-up-leave${mt}-slide-up-leave-active${Xe}-dropdown-placement-bottomRight`]:{animationName:il.Uw},[`${Xe}-panel > ${Xe}-time-panel`]:{paddingTop:Nr},[`${Xe}-range-wrapper`]:{display:"flex",position:"relative"},[`${Xe}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:me.calc(Bt).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Qr} ease-out`},(0,vl.W)(me,pi,li)),{"&:before":{insetInlineStart:me.calc(Bt).mul(1.5).equal()}}),[`${Xe}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:pi,borderRadius:yi,boxShadow:di,transition:`margin ${Qr}`,display:"inline-block",pointerEvents:"auto",[`${Xe}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Xe}-presets`]:{display:"flex",flexDirection:"column",minWidth:Gr,maxWidth:si,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:hr,borderInlineEnd:`${(0,Ao.unit)(fn)} ${bn} ${xi}`,li:Object.assign(Object.assign({},us.vS),{borderRadius:Li,paddingInline:hr,paddingBlock:me.calc(er).sub(Vi).div(2).equal(),cursor:"pointer",transition:`all ${Qr}`,"+ li":{marginTop:mr},"&:hover":{background:ii}})}},[`${Xe}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Xe}-panel`]:{borderWidth:0}}},[`${Xe}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Xe}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:An}}}}),"&-dropdown-range":{padding:`${(0,Ao.unit)(me.calc(Bi).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Xe}-separator`]:{transform:"scale(-1, 1)"},[`${Xe}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,il.oN)(me,"slide-up"),(0,il.oN)(me,"slide-down"),(0,Zl.Fm)(me,"move-up"),(0,Zl.Fm)(me,"move-down")]};var La=(0,Bs.I$)("DatePicker",me=>{const Xe=(0,Yl.mergeToken)((0,Vl.e)(me),fs(me),{inputPaddingHorizontalBase:me.calc(me.paddingSM).sub(1).equal(),multipleSelectItemHeight:me.multipleItemHeight,selectHeight:me.controlHeight});return[$l(Xe),Oa(Xe),Eo(Xe),tl(Xe),ds(Xe),(0,ys.c)(me,{focusElCls:`${me.componentCls}-focused`})]},Kl),Pl=E(68525);function El(me,Xe,mt){return mt!==void 0?mt:Xe==="year"&&me.lang.yearPlaceholder?me.lang.yearPlaceholder:Xe==="quarter"&&me.lang.quarterPlaceholder?me.lang.quarterPlaceholder:Xe==="month"&&me.lang.monthPlaceholder?me.lang.monthPlaceholder:Xe==="week"&&me.lang.weekPlaceholder?me.lang.weekPlaceholder:Xe==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.placeholder:me.lang.placeholder}function Tl(me,Xe,mt){return mt!==void 0?mt:Xe==="year"&&me.lang.yearPlaceholder?me.lang.rangeYearPlaceholder:Xe==="quarter"&&me.lang.quarterPlaceholder?me.lang.rangeQuarterPlaceholder:Xe==="month"&&me.lang.monthPlaceholder?me.lang.rangeMonthPlaceholder:Xe==="week"&&me.lang.weekPlaceholder?me.lang.rangeWeekPlaceholder:Xe==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.rangePlaceholder:me.lang.rangePlaceholder}function ol(me,Xe){const{allowClear:mt=!0}=me,{clearIcon:Ft,removeIcon:Bt}=(0,Pl.Z)(Object.assign(Object.assign({},me),{prefixCls:Xe,componentName:"DatePicker"}));return[ce.useMemo(()=>mt===!1?!1:Object.assign({clearIcon:Ft},mt===!0?{}:mt),[mt,Ft]),Bt]}const[fl,Fl]=["week","WeekPicker"],[Ul,Os]=["month","MonthPicker"],[Ms,rs]=["year","YearPicker"],[zl,kl]=["quarter","QuarterPicker"],[Ga,Wl]=["time","TimePicker"];var Ll=E(7939),Vs=me=>ce.createElement(Ll.ZP,Object.assign({size:"small",type:"primary"},me));function Es(me){return(0,ce.useMemo)(()=>Object.assign({button:Vs},me),[me])}var Xl=function(me,Xe){var mt={};for(var Ft in me)Object.prototype.hasOwnProperty.call(me,Ft)&&Xe.indexOf(Ft)<0&&(mt[Ft]=me[Ft]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Ft=Object.getOwnPropertySymbols(me);Bt<Ft.length;Bt++)Xe.indexOf(Ft[Bt])<0&&Object.prototype.propertyIsEnumerable.call(me,Ft[Bt])&&(mt[Ft[Bt]]=me[Ft[Bt]]);return mt},Ks=me=>(0,ce.forwardRef)((mt,Ft)=>{var Bt;const{prefixCls:fn,getPopupContainer:bn,components:An,className:Zn,style:Kn,placement:Dn,size:qn,disabled:sr,bordered:or=!0,placeholder:er,popupClassName:dr,dropdownClassName:hr,status:mr,rootClassName:_r,variant:kr,picker:xr}=mt,Qr=Xl(mt,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),Br=ce.useRef(null),{getPrefixCls:Nr,direction:Bi,getPopupContainer:pi,rangePicker:yi}=(0,ce.useContext)(da.E_),di=Nr("picker",fn),{compactSize:Li,compactItemClassnames:xi}=(0,el.ri)(di,Bi),ii=Nr(),[Gr,si]=(0,pl.Z)("rangePicker",kr,or),li=(0,Ya.Z)(di),[Vi,Ni,vi]=La(di,li),[Si]=ol(mt,di),oi=Es(An),bi=(0,Wa.Z)(cn=>{var rn;return(rn=qn!=null?qn:Li)!==null&&rn!==void 0?rn:cn}),gi=ce.useContext(Cl.Z),Ki=sr!=null?sr:gi,lo=(0,ce.useContext)(Pa.aM),{hasFeedback:uo,status:_e,feedbackIcon:He}=lo,Ct=ce.createElement(ce.Fragment,null,xr===Ga?ce.createElement(gt,null):ce.createElement(et,null),uo&&He);(0,ce.useImperativeHandle)(Ft,()=>Br.current);const[Pt]=(0,Al.Z)("Calendar",Dl.Z),Nt=Object.assign(Object.assign({},Pt),mt.locale),[_t]=(0,to.Cn)("DatePicker",(Bt=mt.popupStyle)===null||Bt===void 0?void 0:Bt.zIndex);return Vi(ce.createElement(Xi.Z,{space:!0},ce.createElement(ho,Object.assign({separator:ce.createElement("span",{"aria-label":"to",className:`${di}-separator`},ce.createElement(se,null)),disabled:Ki,ref:Br,placement:Dn,placeholder:Tl(Nt,xr,er),suffixIcon:Ct,prevIcon:ce.createElement("span",{className:`${di}-prev-icon`}),nextIcon:ce.createElement("span",{className:`${di}-next-icon`}),superPrevIcon:ce.createElement("span",{className:`${di}-super-prev-icon`}),superNextIcon:ce.createElement("span",{className:`${di}-super-next-icon`}),transitionName:`${ii}-slide-up`,picker:xr},Qr,{className:Je()({[`${di}-${bi}`]:bi,[`${di}-${Gr}`]:si},(0,Lo.Z)(di,(0,Lo.F)(_e,mr),uo),Ni,xi,Zn,yi==null?void 0:yi.className,vi,li,_r),style:Object.assign(Object.assign({},yi==null?void 0:yi.style),Kn),locale:Nt.lang,prefixCls:di,getPopupContainer:bn||pi,generateConfig:me,components:oi,direction:Bi,classNames:{popup:Je()(Ni,dr||hr,vi,li,_r)},styles:{popup:Object.assign(Object.assign({},mt.popupStyle),{zIndex:_t})},allowClear:Si}))))}),hs=function(me,Xe){var mt={};for(var Ft in me)Object.prototype.hasOwnProperty.call(me,Ft)&&Xe.indexOf(Ft)<0&&(mt[Ft]=me[Ft]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Ft=Object.getOwnPropertySymbols(me);Bt<Ft.length;Bt++)Xe.indexOf(Ft[Bt])<0&&Object.prototype.propertyIsEnumerable.call(me,Ft[Bt])&&(mt[Ft[Bt]]=me[Ft[Bt]]);return mt},Ts=me=>{const Xe=(Zn,Kn)=>{const Dn=Kn===Wl?"timePicker":"datePicker";return(0,ce.forwardRef)((sr,or)=>{var er;const{prefixCls:dr,getPopupContainer:hr,components:mr,style:_r,className:kr,rootClassName:xr,size:Qr,bordered:Br,placement:Nr,placeholder:Bi,popupClassName:pi,dropdownClassName:yi,disabled:di,status:Li,variant:xi,onCalendarChange:ii}=sr,Gr=hs(sr,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:si,direction:li,getPopupContainer:Vi,[Dn]:Ni}=(0,ce.useContext)(da.E_),vi=si("picker",dr),{compactSize:Si,compactItemClassnames:oi}=(0,el.ri)(vi,li),bi=ce.useRef(null),[gi,Ki]=(0,pl.Z)("datePicker",xi,Br),lo=(0,Ya.Z)(vi),[uo,_e,He]=La(vi,lo);(0,ce.useImperativeHandle)(or,()=>bi.current);const Ct={showToday:!0},Pt=Zn||sr.picker,Nt=si(),{onSelect:_t,multiple:cn}=Gr,rn=_t&&Zn==="time"&&!cn,pn=(Hr,Ur,Ci)=>{ii==null||ii(Hr,Ur,Ci),rn&&_t(Hr)},[vn,Tn]=ol(sr,vi),Fn=Es(mr),Pn=(0,Wa.Z)(Hr=>{var Ur;return(Ur=Qr!=null?Qr:Si)!==null&&Ur!==void 0?Ur:Hr}),Cn=ce.useContext(Cl.Z),gn=di!=null?di:Cn,ur=(0,ce.useContext)(Pa.aM),{hasFeedback:Hn,status:vr,feedbackIcon:fr}=ur,wr=ce.createElement(ce.Fragment,null,Pt==="time"?ce.createElement(gt,null):ce.createElement(et,null),Hn&&fr),[yr]=(0,Al.Z)("DatePicker",Dl.Z),Er=Object.assign(Object.assign({},yr),sr.locale),[Tr]=(0,to.Cn)("DatePicker",(er=sr.popupStyle)===null||er===void 0?void 0:er.zIndex);return uo(ce.createElement(Xi.Z,{space:!0},ce.createElement(xo,Object.assign({ref:bi,placeholder:El(Er,Pt,Bi),suffixIcon:wr,placement:Nr,prevIcon:ce.createElement("span",{className:`${vi}-prev-icon`}),nextIcon:ce.createElement("span",{className:`${vi}-next-icon`}),superPrevIcon:ce.createElement("span",{className:`${vi}-super-prev-icon`}),superNextIcon:ce.createElement("span",{className:`${vi}-super-next-icon`}),transitionName:`${Nt}-slide-up`,picker:Zn,onCalendarChange:pn},Ct,Gr,{locale:Er.lang,className:Je()({[`${vi}-${Pn}`]:Pn,[`${vi}-${gi}`]:Ki},(0,Lo.Z)(vi,(0,Lo.F)(vr,Li),Hn),_e,oi,Ni==null?void 0:Ni.className,kr,He,lo,xr),style:Object.assign(Object.assign({},Ni==null?void 0:Ni.style),_r),prefixCls:vi,getPopupContainer:hr||Vi,generateConfig:me,components:Fn,direction:li,disabled:gn,classNames:{popup:Je()(_e,He,lo,xr,pi||yi)},styles:{popup:Object.assign(Object.assign({},sr.popupStyle),{zIndex:Tr})},allowClear:vn,removeIcon:Tn}))))})},mt=Xe(),Ft=Xe(fl,Fl),Bt=Xe(Ul,Os),fn=Xe(Ms,rs),bn=Xe(zl,kl),An=Xe(Ga,Wl);return{DatePicker:mt,WeekPicker:Ft,MonthPicker:Bt,YearPicker:fn,TimePicker:An,QuarterPicker:bn}},ks=me=>{const{DatePicker:Xe,WeekPicker:mt,MonthPicker:Ft,YearPicker:Bt,TimePicker:fn,QuarterPicker:bn}=Ts(me),An=Ks(me),Zn=Xe;return Zn.WeekPicker=mt,Zn.MonthPicker=Ft,Zn.YearPicker=Bt,Zn.RangePicker=An,Zn.TimePicker=fn,Zn.QuarterPicker=bn,Zn};const Ql=ks(Re),is=(0,tt.Z)(Ql,"popupAlign",void 0,"picker");Ql._InternalPanelDoNotUseOrYouWillBeFired=is;const Qi=(0,tt.Z)(Ql.RangePicker,"popupAlign",void 0,"picker");Ql._InternalRangePanelDoNotUseOrYouWillBeFired=Qi,Ql.generatePicker=ks;var os=Ql},51502:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return se}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(47999),De=E(48755),ve=E(31756),ye=E(13783),xe={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Fe=b.createContext({}),Ce=E(11592),Te=function(Be,Je){var lt={};for(var Ee in Be)Object.prototype.hasOwnProperty.call(Be,Ee)&&Je.indexOf(Ee)<0&&(lt[Ee]=Be[Ee]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ee=Object.getOwnPropertySymbols(Be);je<Ee.length;je++)Je.indexOf(Ee[je])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ee[je])&&(lt[Ee[je]]=Be[Ee[je]]);return lt};const we=Be=>(0,Ce.Z)(Be).map(Je=>Object.assign(Object.assign({},Je==null?void 0:Je.props),{key:Je.key}));function Me(Be,Je,lt){const Ee=b.useMemo(()=>Je||we(lt),[Je,lt]);return b.useMemo(()=>Ee.map(rt=>{var{span:xt}=rt,ct=Te(rt,["span"]);return xt==="filled"?Object.assign(Object.assign({},ct),{filled:!0}):Object.assign(Object.assign({},ct),{span:typeof xt=="number"?xt:(0,Ke.m9)(Be,xt)})}),[Ee,Be])}var ge=function(Be,Je){var lt={};for(var Ee in Be)Object.prototype.hasOwnProperty.call(Be,Ee)&&Je.indexOf(Ee)<0&&(lt[Ee]=Be[Ee]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ee=Object.getOwnPropertySymbols(Be);je<Ee.length;je++)Je.indexOf(Ee[je])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ee[je])&&(lt[Ee[je]]=Be[Ee[je]]);return lt};function Ae(Be,Je){let lt=[],Ee=[],je=!1,rt=0;return Be.filter(xt=>xt).forEach(xt=>{const{filled:ct}=xt,wt=ge(xt,["filled"]);if(ct){Ee.push(wt),lt.push(Ee),Ee=[],rt=0;return}const ft=Je-rt;rt+=xt.span||1,rt>=Je?(rt>Je?(je=!0,Ee.push(Object.assign(Object.assign({},wt),{span:ft}))):Ee.push(wt),lt.push(Ee),Ee=[],rt=0):Ee.push(wt)}),Ee.length>0&<.push(Ee),lt=lt.map(xt=>{const ct=xt.reduce((wt,ft)=>wt+(ft.span||1),0);if(ct<Je){const wt=xt[xt.length-1];return wt.span=Je-(ct-(wt.span||1)),xt}return xt}),[lt,je]}var Re=(Be,Je)=>{const[lt,Ee]=(0,b.useMemo)(()=>Ae(Je,Be),[Je,Be]);return lt},ce=Be=>{let{children:Je}=Be;return Je};function Oe(Be){return Be!=null}var ze=Be=>{const{itemPrefixCls:Je,component:lt,span:Ee,className:je,style:rt,labelStyle:xt,contentStyle:ct,bordered:wt,label:ft,content:It,colon:Dt,type:oe,styles:ae}=Be,te=lt,x=b.useContext(Fe),{classNames:re}=x;return wt?b.createElement(te,{className:de()({[`${Je}-item-label`]:oe==="label",[`${Je}-item-content`]:oe==="content",[`${re==null?void 0:re.label}`]:oe==="label",[`${re==null?void 0:re.content}`]:oe==="content"},je),style:rt,colSpan:Ee},Oe(ft)&&b.createElement("span",{style:Object.assign(Object.assign({},xt),ae==null?void 0:ae.label)},ft),Oe(It)&&b.createElement("span",{style:Object.assign(Object.assign({},xt),ae==null?void 0:ae.content)},It)):b.createElement(te,{className:de()(`${Je}-item`,je),style:rt,colSpan:Ee},b.createElement("div",{className:`${Je}-item-container`},(ft||ft===0)&&b.createElement("span",{className:de()(`${Je}-item-label`,re==null?void 0:re.label,{[`${Je}-item-no-colon`]:!Dt}),style:Object.assign(Object.assign({},xt),ae==null?void 0:ae.label)},ft),(It||It===0)&&b.createElement("span",{className:de()(`${Je}-item-content`,re==null?void 0:re.content),style:Object.assign(Object.assign({},ct),ae==null?void 0:ae.content)},It)))};function nt(Be,Je,lt){let{colon:Ee,prefixCls:je,bordered:rt}=Je,{component:xt,type:ct,showLabel:wt,showContent:ft,labelStyle:It,contentStyle:Dt,styles:oe}=lt;return Be.map((ae,te)=>{let{label:x,children:re,prefixCls:ne=je,className:le,style:Ie,labelStyle:Le,contentStyle:Ye,span:Ge=1,key:it,styles:dt}=ae;return typeof xt=="string"?b.createElement(ze,{key:`${ct}-${it||te}`,className:le,style:Ie,styles:{label:Object.assign(Object.assign(Object.assign(Object.assign({},It),oe==null?void 0:oe.label),Le),dt==null?void 0:dt.label),content:Object.assign(Object.assign(Object.assign(Object.assign({},Dt),oe==null?void 0:oe.content),Ye),dt==null?void 0:dt.content)},span:Ge,colon:Ee,component:xt,itemPrefixCls:ne,bordered:rt,label:wt?x:null,content:ft?re:null,type:ct}):[b.createElement(ze,{key:`label-${it||te}`,className:le,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},It),oe==null?void 0:oe.label),Ie),Le),dt==null?void 0:dt.label),span:1,colon:Ee,component:xt[0],itemPrefixCls:ne,bordered:rt,label:x,type:"label"}),b.createElement(ze,{key:`content-${it||te}`,className:le,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Dt),oe==null?void 0:oe.content),Ie),Ye),dt==null?void 0:dt.content),span:Ge*2-1,component:xt[1],itemPrefixCls:ne,bordered:rt,content:re,type:"content"})]})}var Ve=Be=>{const Je=b.useContext(Fe),{prefixCls:lt,vertical:Ee,row:je,index:rt,bordered:xt}=Be;return Ee?b.createElement(b.Fragment,null,b.createElement("tr",{key:`label-${rt}`,className:`${lt}-row`},nt(je,Be,Object.assign({component:"th",type:"label",showLabel:!0},Je))),b.createElement("tr",{key:`content-${rt}`,className:`${lt}-row`},nt(je,Be,Object.assign({component:"td",type:"content",showContent:!0},Je)))):b.createElement("tr",{key:rt,className:`${lt}-row`},nt(je,Be,Object.assign({component:xt?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},Je)))},et=E(36237),Se=E(63356),qe=E(16931),pe=E(51636);const be=Be=>{const{componentCls:Je,labelBg:lt}=Be;return{[`&${Je}-bordered`]:{[`> ${Je}-view`]:{border:`${(0,et.unit)(Be.lineWidth)} ${Be.lineType} ${Be.colorSplit}`,"> table":{tableLayout:"auto"},[`${Je}-row`]:{borderBottom:`${(0,et.unit)(Be.lineWidth)} ${Be.lineType} ${Be.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${Je}-item-label, > ${Je}-item-content`]:{padding:`${(0,et.unit)(Be.padding)} ${(0,et.unit)(Be.paddingLG)}`,borderInlineEnd:`${(0,et.unit)(Be.lineWidth)} ${Be.lineType} ${Be.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${Je}-item-label`]:{color:Be.colorTextSecondary,backgroundColor:lt,"&::after":{display:"none"}}}},[`&${Je}-middle`]:{[`${Je}-row`]:{[`> ${Je}-item-label, > ${Je}-item-content`]:{padding:`${(0,et.unit)(Be.paddingSM)} ${(0,et.unit)(Be.paddingLG)}`}}},[`&${Je}-small`]:{[`${Je}-row`]:{[`> ${Je}-item-label, > ${Je}-item-content`]:{padding:`${(0,et.unit)(Be.paddingXS)} ${(0,et.unit)(Be.padding)}`}}}}}},gt=Be=>{const{componentCls:Je,extraColor:lt,itemPaddingBottom:Ee,itemPaddingEnd:je,colonMarginRight:rt,colonMarginLeft:xt,titleMarginBottom:ct}=Be;return{[Je]:Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(Be)),be(Be)),{"&-rtl":{direction:"rtl"},[`${Je}-header`]:{display:"flex",alignItems:"center",marginBottom:ct},[`${Je}-title`]:Object.assign(Object.assign({},Se.vS),{flex:"auto",color:Be.titleColor,fontWeight:Be.fontWeightStrong,fontSize:Be.fontSizeLG,lineHeight:Be.lineHeightLG}),[`${Je}-extra`]:{marginInlineStart:"auto",color:lt,fontSize:Be.fontSize},[`${Je}-view`]:{width:"100%",borderRadius:Be.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${Je}-row`]:{"> th, > td":{paddingBottom:Ee,paddingInlineEnd:je},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${Je}-item-label`]:{color:Be.labelColor,fontWeight:"normal",fontSize:Be.fontSize,lineHeight:Be.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,et.unit)(xt)} ${(0,et.unit)(rt)}`},[`&${Je}-item-no-colon::after`]:{content:'""'}},[`${Je}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${Je}-item-content`]:{display:"table-cell",flex:1,color:Be.contentColor,fontSize:Be.fontSize,lineHeight:Be.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${Je}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${Je}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${Je}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-middle":{[`${Je}-row`]:{"> th, > td":{paddingBottom:Be.paddingSM}}},"&-small":{[`${Je}-row`]:{"> th, > td":{paddingBottom:Be.paddingXS}}}})}},$e=Be=>({labelBg:Be.colorFillAlter,labelColor:Be.colorTextTertiary,titleColor:Be.colorText,titleMarginBottom:Be.fontSizeSM*Be.lineHeightSM,itemPaddingBottom:Be.padding,itemPaddingEnd:Be.padding,colonMarginRight:Be.marginXS,colonMarginLeft:Be.marginXXS/2,contentColor:Be.colorText,extraColor:Be.colorText});var at=(0,qe.I$)("Descriptions",Be=>{const Je=(0,pe.mergeToken)(Be,{});return gt(Je)},$e),bt=function(Be,Je){var lt={};for(var Ee in Be)Object.prototype.hasOwnProperty.call(Be,Ee)&&Je.indexOf(Ee)<0&&(lt[Ee]=Be[Ee]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ee=Object.getOwnPropertySymbols(Be);je<Ee.length;je++)Je.indexOf(Ee[je])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ee[je])&&(lt[Ee[je]]=Be[Ee[je]]);return lt};const Ze=Be=>{const{prefixCls:Je,title:lt,extra:Ee,column:je,colon:rt=!0,bordered:xt,layout:ct,children:wt,className:ft,rootClassName:It,style:Dt,size:oe,labelStyle:ae,contentStyle:te,styles:x,items:re,classNames:ne}=Be,le=bt(Be,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","styles","items","classNames"]),{getPrefixCls:Ie,direction:Le,className:Ye,style:Ge,classNames:it,styles:dt}=(0,De.dj)("descriptions"),yt=Ie("descriptions",Je),ot=(0,ye.Z)(),st=b.useMemo(()=>{var Et;return typeof je=="number"?je:(Et=(0,Ke.m9)(ot,Object.assign(Object.assign({},xe),je)))!==null&&Et!==void 0?Et:3},[ot,je]),Vt=Me(ot,re,wt),kt=(0,ve.Z)(oe),un=Re(st,Vt),[$t,Rt,Kt]=at(yt),qt=b.useMemo(()=>({labelStyle:ae,contentStyle:te,styles:{content:Object.assign(Object.assign({},dt.content),x==null?void 0:x.content),label:Object.assign(Object.assign({},dt.label),x==null?void 0:x.label)},classNames:{label:de()(it.label,ne==null?void 0:ne.label),content:de()(it.content,ne==null?void 0:ne.content)}}),[ae,te,x,ne,it,dt]);return $t(b.createElement(Fe.Provider,{value:qt},b.createElement("div",Object.assign({className:de()(yt,Ye,it.root,ne==null?void 0:ne.root,{[`${yt}-${kt}`]:kt&&kt!=="default",[`${yt}-bordered`]:!!xt,[`${yt}-rtl`]:Le==="rtl"},ft,It,Rt,Kt),style:Object.assign(Object.assign(Object.assign(Object.assign({},Ge),dt.root),x==null?void 0:x.root),Dt)},le),(lt||Ee)&&b.createElement("div",{className:de()(`${yt}-header`,it.header,ne==null?void 0:ne.header),style:Object.assign(Object.assign({},dt.header),x==null?void 0:x.header)},lt&&b.createElement("div",{className:de()(`${yt}-title`,it.title,ne==null?void 0:ne.title),style:Object.assign(Object.assign({},dt.title),x==null?void 0:x.title)},lt),Ee&&b.createElement("div",{className:de()(`${yt}-extra`,it.extra,ne==null?void 0:ne.extra),style:Object.assign(Object.assign({},dt.extra),x==null?void 0:x.extra)},Ee)),b.createElement("div",{className:`${yt}-view`},b.createElement("table",null,b.createElement("tbody",null,un.map((Et,Tt)=>b.createElement(Ve,{key:Tt,index:Tt,colon:rt,prefixCls:yt,vertical:ct==="vertical",bordered:xt,row:Et}))))))))};Ze.Item=ce;var se=Ze},37285:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return we}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(48755),De=E(36237),ve=E(63356),ye=E(16931),fe=E(51636);const xe=Me=>{const{componentCls:ge,sizePaddingEdgeHorizontal:Ae,colorSplit:Pe,lineWidth:Re,textPaddingInline:tt,orientationMargin:ce,verticalMarginInline:Oe}=Me;return{[ge]:Object.assign(Object.assign({},(0,ve.Wf)(Me)),{borderBlockStart:`${(0,De.unit)(Re)} solid ${Pe}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Oe,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,De.unit)(Re)} solid ${Pe}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,De.unit)(Me.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${ge}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,De.unit)(Me.dividerHorizontalWithTextGutterMargin)} 0`,color:Me.colorTextHeading,fontWeight:500,fontSize:Me.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Pe}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,De.unit)(Re)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ge}-with-text-start`]:{"&::before":{width:`calc(${ce} * 100%)`},"&::after":{width:`calc(100% - ${ce} * 100%)`}},[`&-horizontal${ge}-with-text-end`]:{"&::before":{width:`calc(100% - ${ce} * 100%)`},"&::after":{width:`calc(${ce} * 100%)`}},[`${ge}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:tt},"&-dashed":{background:"none",borderColor:Pe,borderStyle:"dashed",borderWidth:`${(0,De.unit)(Re)} 0 0`},[`&-horizontal${ge}-with-text${ge}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ge}-dashed`]:{borderInlineStartWidth:Re,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Pe,borderStyle:"dotted",borderWidth:`${(0,De.unit)(Re)} 0 0`},[`&-horizontal${ge}-with-text${ge}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${ge}-dotted`]:{borderInlineStartWidth:Re,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ge}-with-text`]:{color:Me.colorText,fontWeight:"normal",fontSize:Me.fontSize},[`&-horizontal${ge}-with-text-start${ge}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ge}-inner-text`]:{paddingInlineStart:Ae}},[`&-horizontal${ge}-with-text-end${ge}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ge}-inner-text`]:{paddingInlineEnd:Ae}}})}},ue=Me=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Me.marginXS});var Fe=(0,ye.I$)("Divider",Me=>{const ge=(0,fe.mergeToken)(Me,{dividerHorizontalWithTextGutterMargin:Me.margin,dividerHorizontalGutterMargin:Me.marginLG,sizePaddingEdgeHorizontal:0});return[xe(ge)]},ue,{unitless:{orientationMargin:!0}}),Ce=function(Me,ge){var Ae={};for(var Pe in Me)Object.prototype.hasOwnProperty.call(Me,Pe)&&ge.indexOf(Pe)<0&&(Ae[Pe]=Me[Pe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Pe=Object.getOwnPropertySymbols(Me);Re<Pe.length;Re++)ge.indexOf(Pe[Re])<0&&Object.prototype.propertyIsEnumerable.call(Me,Pe[Re])&&(Ae[Pe[Re]]=Me[Pe[Re]]);return Ae},we=Me=>{const{getPrefixCls:ge,direction:Ae,className:Pe,style:Re}=(0,Ke.dj)("divider"),{prefixCls:tt,type:ce="horizontal",orientation:Oe="center",orientationMargin:Ue,className:ze,rootClassName:nt,children:ke,dashed:Ve,variant:et="solid",plain:Se,style:qe}=Me,pe=Ce(Me,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),be=ge("divider",tt),[gt,$e,at]=Fe(be),bt=!!ke,Ze=b.useMemo(()=>Oe==="left"?Ae==="rtl"?"end":"start":Oe==="right"?Ae==="rtl"?"start":"end":Oe,[Ae,Oe]),se=Ze==="start"&&Ue!=null,Be=Ze==="end"&&Ue!=null,Je=de()(be,Pe,$e,at,`${be}-${ce}`,{[`${be}-with-text`]:bt,[`${be}-with-text-${Ze}`]:bt,[`${be}-dashed`]:!!Ve,[`${be}-${et}`]:et!=="solid",[`${be}-plain`]:!!Se,[`${be}-rtl`]:Ae==="rtl",[`${be}-no-default-orientation-margin-start`]:se,[`${be}-no-default-orientation-margin-end`]:Be},ze,nt),lt=b.useMemo(()=>typeof Ue=="number"?Ue:/^\d+$/.test(Ue)?Number(Ue):Ue,[Ue]),Ee={marginInlineStart:se?lt:void 0,marginInlineEnd:Be?lt:void 0};return gt(b.createElement("div",Object.assign({className:Je,style:Object.assign(Object.assign({},Re),qe)},pe,{role:"separator"}),ke&&ce!=="vertical"&&b.createElement("span",{className:`${be}-inner-text`,style:Ee},ke)))}},36207:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Le}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(33885),De=E(42978),ve=E(43403),ye=E(34280),fe=b.createContext(null),xe=b.createContext({}),ue=fe,Fe=E(20068),Ce=E(54476),Te=E(77900),we=E(10228),Me=E(26112),ge=E(75931),Ae=E(8654),Pe=["prefixCls","className","containerRef"],Re=function(Ge){var it=Ge.prefixCls,dt=Ge.className,yt=Ge.containerRef,ot=(0,ge.Z)(Ge,Pe),st=b.useContext(xe),Vt=st.panel,kt=(0,Ae.x1)(Vt,yt);return b.createElement("div",(0,Ce.Z)({className:de()("".concat(it,"-content"),dt),role:"dialog",ref:kt},(0,Me.Z)(Ge,{aria:!0}),{"aria-modal":"true"},ot))},tt=Re,ce=E(48736);function Oe(Ye){return typeof Ye=="string"&&String(Number(Ye))===Ye?((0,ce.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ye)):Ye}function Ue(Ye){warning(!("wrapperClassName"in Ye),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ye.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ze={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function nt(Ye,Ge){var it,dt,yt,ot=Ye.prefixCls,st=Ye.open,Vt=Ye.placement,kt=Ye.inline,un=Ye.push,$t=Ye.forceRender,Rt=Ye.autoFocus,Kt=Ye.keyboard,qt=Ye.classNames,Et=Ye.rootClassName,Tt=Ye.rootStyle,on=Ye.zIndex,mn=Ye.className,vt=Ye.id,Mt=Ye.style,Yt=Ye.motion,sn=Ye.width,xn=Ye.height,Ln=Ye.children,Xn=Ye.mask,Jn=Ye.maskClosable,Bn=Ye.maskMotion,Un=Ye.maskClassName,Wt=Ye.maskStyle,Ot=Ye.afterOpenChange,ln=Ye.onClose,en=Ye.onMouseEnter,Jt=Ye.onMouseOver,Sn=Ye.onMouseLeave,yn=Ye.onClick,Mn=Ye.onKeyDown,Yn=Ye.onKeyUp,Wn=Ye.styles,In=Ye.drawerRender,ar=b.useRef(),tr=b.useRef(),Rr=b.useRef();b.useImperativeHandle(Ge,function(){return ar.current});var Ir=function(jt){var Gt=jt.keyCode,an=jt.shiftKey;switch(Gt){case we.Z.TAB:{if(Gt===we.Z.TAB){if(!an&&document.activeElement===Rr.current){var zn;(zn=tr.current)===null||zn===void 0||zn.focus({preventScroll:!0})}else if(an&&document.activeElement===tr.current){var Rn;(Rn=Rr.current)===null||Rn===void 0||Rn.focus({preventScroll:!0})}}break}case we.Z.ESC:{ln&&Kt&&(jt.stopPropagation(),ln(jt));break}}};b.useEffect(function(){if(st&&Rt){var Ut;(Ut=ar.current)===null||Ut===void 0||Ut.focus({preventScroll:!0})}},[st]);var En=b.useState(!1),kn=(0,De.Z)(En,2),nr=kn[0],rr=kn[1],Lt=b.useContext(ue),Qt;typeof un=="boolean"?Qt=un?{}:{distance:0}:Qt=un||{};var St=(it=(dt=(yt=Qt)===null||yt===void 0?void 0:yt.distance)!==null&&dt!==void 0?dt:Lt==null?void 0:Lt.pushDistance)!==null&&it!==void 0?it:180,Zt=b.useMemo(function(){return{pushDistance:St,push:function(){rr(!0)},pull:function(){rr(!1)}}},[St]);b.useEffect(function(){if(st){var Ut;Lt==null||(Ut=Lt.push)===null||Ut===void 0||Ut.call(Lt)}else{var jt;Lt==null||(jt=Lt.pull)===null||jt===void 0||jt.call(Lt)}},[st]),b.useEffect(function(){return function(){var Ut;Lt==null||(Ut=Lt.pull)===null||Ut===void 0||Ut.call(Lt)}},[]);var At=Xn&&b.createElement(Te.default,(0,Ce.Z)({key:"mask"},Bn,{visible:st}),function(Ut,jt){var Gt=Ut.className,an=Ut.style;return b.createElement("div",{className:de()("".concat(ot,"-mask"),Gt,qt==null?void 0:qt.mask,Un),style:(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},an),Wt),Wn==null?void 0:Wn.mask),onClick:Jn&&st?ln:void 0,ref:jt})}),Ht=typeof Yt=="function"?Yt(Vt):Yt,ht={};if(nr&&St)switch(Vt){case"top":ht.transform="translateY(".concat(St,"px)");break;case"bottom":ht.transform="translateY(".concat(-St,"px)");break;case"left":ht.transform="translateX(".concat(St,"px)");break;default:ht.transform="translateX(".concat(-St,"px)");break}Vt==="left"||Vt==="right"?ht.width=Oe(sn):ht.height=Oe(xn);var Xt={onMouseEnter:en,onMouseOver:Jt,onMouseLeave:Sn,onClick:yn,onKeyDown:Mn,onKeyUp:Yn},tn=b.createElement(Te.default,(0,Ce.Z)({key:"panel"},Ht,{visible:st,forceRender:$t,onVisibleChanged:function(jt){Ot==null||Ot(jt)},removeOnLeave:!1,leavedClassName:"".concat(ot,"-content-wrapper-hidden")}),function(Ut,jt){var Gt=Ut.className,an=Ut.style,zn=b.createElement(tt,(0,Ce.Z)({id:vt,containerRef:jt,prefixCls:ot,className:de()(mn,qt==null?void 0:qt.content),style:(0,Ke.Z)((0,Ke.Z)({},Mt),Wn==null?void 0:Wn.content)},(0,Me.Z)(Ye,{aria:!0}),Xt),Ln);return b.createElement("div",(0,Ce.Z)({className:de()("".concat(ot,"-content-wrapper"),qt==null?void 0:qt.wrapper,Gt),style:(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},ht),an),Wn==null?void 0:Wn.wrapper)},(0,Me.Z)(Ye,{data:!0})),In?In(zn):zn)}),dn=(0,Ke.Z)({},Tt);return on&&(dn.zIndex=on),b.createElement(ue.Provider,{value:Zt},b.createElement("div",{className:de()(ot,"".concat(ot,"-").concat(Vt),Et,(0,Fe.Z)((0,Fe.Z)({},"".concat(ot,"-open"),st),"".concat(ot,"-inline"),kt)),style:dn,tabIndex:-1,ref:ar,onKeyDown:Ir},At,b.createElement("div",{tabIndex:0,ref:tr,style:ze,"aria-hidden":"true","data-sentinel":"start"}),tn,b.createElement("div",{tabIndex:0,ref:Rr,style:ze,"aria-hidden":"true","data-sentinel":"end"})))}var ke=b.forwardRef(nt),Ve=ke,et=function(Ge){var it=Ge.open,dt=it===void 0?!1:it,yt=Ge.prefixCls,ot=yt===void 0?"rc-drawer":yt,st=Ge.placement,Vt=st===void 0?"right":st,kt=Ge.autoFocus,un=kt===void 0?!0:kt,$t=Ge.keyboard,Rt=$t===void 0?!0:$t,Kt=Ge.width,qt=Kt===void 0?378:Kt,Et=Ge.mask,Tt=Et===void 0?!0:Et,on=Ge.maskClosable,mn=on===void 0?!0:on,vt=Ge.getContainer,Mt=Ge.forceRender,Yt=Ge.afterOpenChange,sn=Ge.destroyOnClose,xn=Ge.onMouseEnter,Ln=Ge.onMouseOver,Xn=Ge.onMouseLeave,Jn=Ge.onClick,Bn=Ge.onKeyDown,Un=Ge.onKeyUp,Wt=Ge.panelRef,Ot=b.useState(!1),ln=(0,De.Z)(Ot,2),en=ln[0],Jt=ln[1],Sn=b.useState(!1),yn=(0,De.Z)(Sn,2),Mn=yn[0],Yn=yn[1];(0,ye.Z)(function(){Yn(!0)},[]);var Wn=Mn?dt:!1,In=b.useRef(),ar=b.useRef();(0,ye.Z)(function(){Wn&&(ar.current=document.activeElement)},[Wn]);var tr=function(nr){var rr;if(Jt(nr),Yt==null||Yt(nr),!nr&&ar.current&&!((rr=In.current)!==null&&rr!==void 0&&rr.contains(ar.current))){var Lt;(Lt=ar.current)===null||Lt===void 0||Lt.focus({preventScroll:!0})}},Rr=b.useMemo(function(){return{panel:Wt}},[Wt]);if(!Mt&&!en&&!Wn&&sn)return null;var Ir={onMouseEnter:xn,onMouseOver:Ln,onMouseLeave:Xn,onClick:Jn,onKeyDown:Bn,onKeyUp:Un},En=(0,Ke.Z)((0,Ke.Z)({},Ge),{},{open:Wn,prefixCls:ot,placement:Vt,autoFocus:un,keyboard:Rt,width:qt,mask:Tt,maskClosable:mn,inline:vt===!1,afterOpenChange:tr,ref:In},Ir);return b.createElement(xe.Provider,{value:Rr},b.createElement(ve.Z,{open:Wn||Mt||en,autoDestroy:!1,getContainer:vt,autoLock:Tt&&(Wn||en)},b.createElement(Ve,En)))},Se=et,qe=Se,pe=E(62487),be=E(75030),gt=E(86641),$e=E(55743),at=E(48755),bt=E(91190),Ze=E(78776),se=E(458),Je=Ye=>{var Ge,it;const{prefixCls:dt,title:yt,footer:ot,extra:st,loading:Vt,onClose:kt,headerStyle:un,bodyStyle:$t,footerStyle:Rt,children:Kt,classNames:qt,styles:Et}=Ye,Tt=(0,at.dj)("drawer"),on=b.useCallback(sn=>b.createElement("button",{type:"button",onClick:kt,"aria-label":"Close",className:`${dt}-close`},sn),[kt]),[mn,vt]=(0,Ze.Z)((0,Ze.w)(Ye),(0,Ze.w)(Tt),{closable:!0,closeIconRender:on}),Mt=b.useMemo(()=>{var sn,xn;return!yt&&!mn?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(sn=Tt.styles)===null||sn===void 0?void 0:sn.header),un),Et==null?void 0:Et.header),className:de()(`${dt}-header`,{[`${dt}-header-close-only`]:mn&&!yt&&!st},(xn=Tt.classNames)===null||xn===void 0?void 0:xn.header,qt==null?void 0:qt.header)},b.createElement("div",{className:`${dt}-header-title`},vt,yt&&b.createElement("div",{className:`${dt}-title`},yt)),st&&b.createElement("div",{className:`${dt}-extra`},st))},[mn,vt,st,un,dt,yt]),Yt=b.useMemo(()=>{var sn,xn;if(!ot)return null;const Ln=`${dt}-footer`;return b.createElement("div",{className:de()(Ln,(sn=Tt.classNames)===null||sn===void 0?void 0:sn.footer,qt==null?void 0:qt.footer),style:Object.assign(Object.assign(Object.assign({},(xn=Tt.styles)===null||xn===void 0?void 0:xn.footer),Rt),Et==null?void 0:Et.footer)},ot)},[ot,Rt,dt]);return b.createElement(b.Fragment,null,Mt,b.createElement("div",{className:de()(`${dt}-body`,qt==null?void 0:qt.body,(Ge=Tt.classNames)===null||Ge===void 0?void 0:Ge.body),style:Object.assign(Object.assign(Object.assign({},(it=Tt.styles)===null||it===void 0?void 0:it.body),$t),Et==null?void 0:Et.body)},Vt?b.createElement(se.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${dt}-body-skeleton`}):Kt),Yt)},lt=E(36237),Ee=E(63356),je=E(16931),rt=E(51636);const xt=Ye=>{const Ge="100%";return{left:`translateX(-${Ge})`,right:`translateX(${Ge})`,top:`translateY(-${Ge})`,bottom:`translateY(${Ge})`}[Ye]},ct=(Ye,Ge)=>({"&-enter, &-appear":Object.assign(Object.assign({},Ye),{"&-active":Ge}),"&-leave":Object.assign(Object.assign({},Ge),{"&-active":Ye})}),wt=(Ye,Ge)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ge}`}}},ct({opacity:Ye},{opacity:1})),ft=(Ye,Ge)=>[wt(.7,Ge),ct({transform:xt(Ye)},{transform:"none"})];var Dt=Ye=>{const{componentCls:Ge,motionDurationSlow:it}=Ye;return{[Ge]:{[`${Ge}-mask-motion`]:wt(0,it),[`${Ge}-panel-motion`]:["left","right","top","bottom"].reduce((dt,yt)=>Object.assign(Object.assign({},dt),{[`&-${yt}`]:ft(yt,it)}),{})}}};const oe=Ye=>{const{borderRadiusSM:Ge,componentCls:it,zIndexPopup:dt,colorBgMask:yt,colorBgElevated:ot,motionDurationSlow:st,motionDurationMid:Vt,paddingXS:kt,padding:un,paddingLG:$t,fontSizeLG:Rt,lineHeightLG:Kt,lineWidth:qt,lineType:Et,colorSplit:Tt,marginXS:on,colorIcon:mn,colorIconHover:vt,colorBgTextHover:Mt,colorBgTextActive:Yt,colorText:sn,fontWeightStrong:xn,footerPaddingBlock:Ln,footerPaddingInline:Xn,calc:Jn}=Ye,Bn=`${it}-content-wrapper`;return{[it]:{position:"fixed",inset:0,zIndex:dt,pointerEvents:"none",color:sn,"&-pure":{position:"relative",background:ot,display:"flex",flexDirection:"column",[`&${it}-left`]:{boxShadow:Ye.boxShadowDrawerLeft},[`&${it}-right`]:{boxShadow:Ye.boxShadowDrawerRight},[`&${it}-top`]:{boxShadow:Ye.boxShadowDrawerUp},[`&${it}-bottom`]:{boxShadow:Ye.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${it}-mask`]:{position:"absolute",inset:0,zIndex:dt,background:yt,pointerEvents:"auto"},[Bn]:{position:"absolute",zIndex:dt,maxWidth:"100vw",transition:`all ${st}`,"&-hidden":{display:"none"}},[`&-left > ${Bn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ye.boxShadowDrawerLeft},[`&-right > ${Bn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ye.boxShadowDrawerRight},[`&-top > ${Bn}`]:{top:0,insetInline:0,boxShadow:Ye.boxShadowDrawerUp},[`&-bottom > ${Bn}`]:{bottom:0,insetInline:0,boxShadow:Ye.boxShadowDrawerDown},[`${it}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:ot,pointerEvents:"auto"},[`${it}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,lt.unit)(un)} ${(0,lt.unit)($t)}`,fontSize:Rt,lineHeight:Kt,borderBottom:`${(0,lt.unit)(qt)} ${Et} ${Tt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${it}-extra`]:{flex:"none"},[`${it}-close`]:Object.assign({display:"inline-flex",width:Jn(Rt).add(kt).equal(),height:Jn(Rt).add(kt).equal(),borderRadius:Ge,justifyContent:"center",alignItems:"center",marginInlineEnd:on,color:mn,fontWeight:xn,fontSize:Rt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Vt}`,textRendering:"auto","&:hover":{color:vt,backgroundColor:Mt,textDecoration:"none"},"&:active":{backgroundColor:Yt}},(0,Ee.Qy)(Ye)),[`${it}-title`]:{flex:1,margin:0,fontWeight:Ye.fontWeightStrong,fontSize:Rt,lineHeight:Kt},[`${it}-body`]:{flex:1,minWidth:0,minHeight:0,padding:$t,overflow:"auto",[`${it}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${it}-footer`]:{flexShrink:0,padding:`${(0,lt.unit)(Ln)} ${(0,lt.unit)(Xn)}`,borderTop:`${(0,lt.unit)(qt)} ${Et} ${Tt}`},"&-rtl":{direction:"rtl"}}}},ae=Ye=>({zIndexPopup:Ye.zIndexPopupBase,footerPaddingBlock:Ye.paddingXS,footerPaddingInline:Ye.padding});var te=(0,je.I$)("Drawer",Ye=>{const Ge=(0,rt.mergeToken)(Ye,{});return[oe(Ge),Dt(Ge)]},ae),x=function(Ye,Ge){var it={};for(var dt in Ye)Object.prototype.hasOwnProperty.call(Ye,dt)&&Ge.indexOf(dt)<0&&(it[dt]=Ye[dt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,dt=Object.getOwnPropertySymbols(Ye);yt<dt.length;yt++)Ge.indexOf(dt[yt])<0&&Object.prototype.propertyIsEnumerable.call(Ye,dt[yt])&&(it[dt[yt]]=Ye[dt[yt]]);return it};const re=null,ne={distance:180},le=Ye=>{var Ge;const{rootClassName:it,width:dt,height:yt,size:ot="default",mask:st=!0,push:Vt=ne,open:kt,afterOpenChange:un,onClose:$t,prefixCls:Rt,getContainer:Kt,style:qt,className:Et,visible:Tt,afterVisibleChange:on,maskStyle:mn,drawerStyle:vt,contentWrapperStyle:Mt}=Ye,Yt=x(Ye,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:sn,getPrefixCls:xn,direction:Ln,className:Xn,style:Jn,classNames:Bn,styles:Un}=(0,at.dj)("drawer"),Wt=xn("drawer",Rt),[Ot,ln,en]=te(Wt),Jt=Kt===void 0&&sn?()=>sn(document.body):Kt,Sn=de()({"no-mask":!st,[`${Wt}-rtl`]:Ln==="rtl"},it,ln,en),yn=b.useMemo(()=>dt!=null?dt:ot==="large"?736:378,[dt,ot]),Mn=b.useMemo(()=>yt!=null?yt:ot==="large"?736:378,[yt,ot]),Yn={motionName:(0,gt.m)(Wt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Wn=En=>({motionName:(0,gt.m)(Wt,`panel-motion-${En}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),In=(0,bt.H)(),[ar,tr]=(0,be.Cn)("Drawer",Yt.zIndex),{classNames:Rr={},styles:Ir={}}=Yt;return Ot(b.createElement(pe.Z,{form:!0,space:!0},b.createElement($e.Z.Provider,{value:tr},b.createElement(qe,Object.assign({prefixCls:Wt,onClose:$t,maskMotion:Yn,motion:Wn},Yt,{classNames:{mask:de()(Rr.mask,Bn.mask),content:de()(Rr.content,Bn.content),wrapper:de()(Rr.wrapper,Bn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Ir.mask),mn),Un.mask),content:Object.assign(Object.assign(Object.assign({},Ir.content),vt),Un.content),wrapper:Object.assign(Object.assign(Object.assign({},Ir.wrapper),Mt),Un.wrapper)},open:kt!=null?kt:Tt,mask:st,push:Vt,width:yn,height:Mn,style:Object.assign(Object.assign({},Jn),qt),className:de()(Xn,Et),rootClassName:Sn,getContainer:Jt,afterOpenChange:un!=null?un:on,panelRef:In,zIndex:ar}),b.createElement(Je,Object.assign({prefixCls:Wt},Yt,{onClose:$t}))))))},Ie=Ye=>{const{prefixCls:Ge,style:it,className:dt,placement:yt="right"}=Ye,ot=x(Ye,["prefixCls","style","className","placement"]),{getPrefixCls:st}=b.useContext(at.E_),Vt=st("drawer",Ge),[kt,un,$t]=te(Vt),Rt=de()(Vt,`${Vt}-pure`,`${Vt}-${yt}`,un,$t,dt);return kt(b.createElement("div",{className:Rt,style:it},b.createElement(Je,Object.assign({prefixCls:Vt},ot))))};le._InternalPanelDoNotUseOrYouWillBeFired=Ie;var Le=le},19563:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return lt}});var b=E(59301),We=E(33853),de=E(38819),Ke=E(92310),De=E.n(Ke),ve=E(96478),ye=E(6089),fe=E(18929),xe=E(2738),ue=E(75030),Ce=Ee=>typeof Ee!="object"&&typeof Ee!="function"||Ee===null,Te=E(52838),we=E(45915),Me=E(22703),ge=E(32383),Ae=E(55743),Pe=E(48755),Re=E(83397),tt=E(93041),ce=E(78857),Oe=E(57700),Ue=E(36237),ze=E(63356),nt=E(46e3),ke=E(93873),Ve=E(34925),et=E(37645),Se=E(36305),qe=E(16931),pe=E(51636),gt=Ee=>{const{componentCls:je,menuCls:rt,colorError:xt,colorTextLightSolid:ct}=Ee,wt=`${rt}-item`;return{[`${je}, ${je}-menu-submenu`]:{[`${rt} ${wt}`]:{[`&${wt}-danger:not(${wt}-disabled)`]:{color:xt,"&:hover":{color:ct,backgroundColor:xt}}}}}};const $e=Ee=>{const{componentCls:je,menuCls:rt,zIndexPopup:xt,dropdownArrowDistance:ct,sizePopupArrow:wt,antCls:ft,iconCls:It,motionDurationMid:Dt,paddingBlock:oe,fontSize:ae,dropdownEdgeChildPadding:te,colorTextDisabled:x,fontSizeIcon:re,controlPaddingHorizontal:ne,colorBgElevated:le}=Ee;return[{[je]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:xt,display:"block","&::before":{position:"absolute",insetBlock:Ee.calc(wt).div(2).sub(ct).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ft}-btn`]:{[`& > ${It}-down, & > ${ft}-btn-icon > ${It}-down`]:{fontSize:re}},[`${je}-wrap`]:{position:"relative",[`${ft}-btn > ${It}-down`]:{fontSize:re},[`${It}-down::before`]:{transition:`transform ${Dt}`}},[`${je}-wrap-open`]:{[`${It}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ft}-slide-down-enter${ft}-slide-down-enter-active${je}-placement-bottomLeft,
|
|
|
&${ft}-slide-down-appear${ft}-slide-down-appear-active${je}-placement-bottomLeft,
|
|
|
&${ft}-slide-down-enter${ft}-slide-down-enter-active${je}-placement-bottom,
|
|
|
&${ft}-slide-down-appear${ft}-slide-down-appear-active${je}-placement-bottom,
|
|
|
&${ft}-slide-down-enter${ft}-slide-down-enter-active${je}-placement-bottomRight,
|
|
|
&${ft}-slide-down-appear${ft}-slide-down-appear-active${je}-placement-bottomRight`]:{animationName:nt.fJ},[`&${ft}-slide-up-enter${ft}-slide-up-enter-active${je}-placement-topLeft,
|
|
|
&${ft}-slide-up-appear${ft}-slide-up-appear-active${je}-placement-topLeft,
|
|
|
&${ft}-slide-up-enter${ft}-slide-up-enter-active${je}-placement-top,
|
|
|
&${ft}-slide-up-appear${ft}-slide-up-appear-active${je}-placement-top,
|
|
|
&${ft}-slide-up-enter${ft}-slide-up-enter-active${je}-placement-topRight,
|
|
|
&${ft}-slide-up-appear${ft}-slide-up-appear-active${je}-placement-topRight`]:{animationName:nt.Qt},[`&${ft}-slide-down-leave${ft}-slide-down-leave-active${je}-placement-bottomLeft,
|
|
|
&${ft}-slide-down-leave${ft}-slide-down-leave-active${je}-placement-bottom,
|
|
|
&${ft}-slide-down-leave${ft}-slide-down-leave-active${je}-placement-bottomRight`]:{animationName:nt.Uw},[`&${ft}-slide-up-leave${ft}-slide-up-leave-active${je}-placement-topLeft,
|
|
|
&${ft}-slide-up-leave${ft}-slide-up-leave-active${je}-placement-top,
|
|
|
&${ft}-slide-up-leave${ft}-slide-up-leave-active${je}-placement-topRight`]:{animationName:nt.ly}}},(0,et.ZP)(Ee,le,{arrowPlacement:{top:!0,bottom:!0}}),{[`${je} ${rt}`]:{position:"relative",margin:0},[`${rt}-submenu-popup`]:{position:"absolute",zIndex:xt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${je}, ${je}-menu-submenu`]:Object.assign(Object.assign({},(0,ze.Wf)(Ee)),{[rt]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:le,backgroundClip:"padding-box",borderRadius:Ee.borderRadiusLG,outline:"none",boxShadow:Ee.boxShadowSecondary},(0,ze.Qy)(Ee)),{"&:empty":{padding:0,boxShadow:"none"},[`${rt}-item-group-title`]:{padding:`${(0,Ue.unit)(oe)} ${(0,Ue.unit)(ne)}`,color:Ee.colorTextDescription,transition:`all ${Dt}`},[`${rt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${rt}-item-icon`]:{minWidth:ae,marginInlineEnd:Ee.marginXS,fontSize:Ee.fontSizeSM},[`${rt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Dt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${rt}-item-extra`]:{paddingInlineStart:Ee.padding,marginInlineStart:"auto",fontSize:Ee.fontSizeSM,color:Ee.colorTextDescription}},[`${rt}-item, ${rt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Ue.unit)(oe)} ${(0,Ue.unit)(ne)}`,color:Ee.colorText,fontWeight:"normal",fontSize:ae,lineHeight:Ee.lineHeight,cursor:"pointer",transition:`all ${Dt}`,borderRadius:Ee.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ee.controlItemBgHover}},(0,ze.Qy)(Ee)),{"&-selected":{color:Ee.colorPrimary,backgroundColor:Ee.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ee.controlItemBgActiveHover}},"&-disabled":{color:x,cursor:"not-allowed","&:hover":{color:x,backgroundColor:le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Ue.unit)(Ee.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ee.colorSplit},[`${je}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ee.paddingXS,[`${je}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ee.colorTextDescription,fontSize:re,fontStyle:"normal"}}}),[`${rt}-item-group-list`]:{margin:`0 ${(0,Ue.unit)(Ee.marginXS)}`,padding:0,listStyle:"none"},[`${rt}-submenu-title`]:{paddingInlineEnd:Ee.calc(ne).add(Ee.fontSizeSM).equal()},[`${rt}-submenu-vertical`]:{position:"relative"},[`${rt}-submenu${rt}-submenu-disabled ${je}-menu-submenu-title`]:{[`&, ${je}-menu-submenu-arrow-icon`]:{color:x,backgroundColor:le,cursor:"not-allowed"}},[`${rt}-submenu-selected ${je}-menu-submenu-title`]:{color:Ee.colorPrimary}})})},[(0,nt.oN)(Ee,"slide-up"),(0,nt.oN)(Ee,"slide-down"),(0,ke.Fm)(Ee,"move-up"),(0,ke.Fm)(Ee,"move-down"),(0,Ve._y)(Ee,"zoom-big")]]},at=Ee=>Object.assign(Object.assign({zIndexPopup:Ee.zIndexPopupBase+50,paddingBlock:(Ee.controlHeight-Ee.fontSize*Ee.lineHeight)/2},(0,et.wZ)({contentRadius:Ee.borderRadiusLG,limitVerticalRadius:!0})),(0,Se.w)(Ee));var bt=(0,qe.I$)("Dropdown",Ee=>{const{marginXXS:je,sizePopupArrow:rt,paddingXXS:xt,componentCls:ct}=Ee,wt=(0,pe.mergeToken)(Ee,{menuCls:`${ct}-menu`,dropdownArrowDistance:Ee.calc(rt).div(2).add(je).equal(),dropdownEdgeChildPadding:xt});return[$e(wt),gt(wt)]},at,{resetStyle:!1});const Ze=null,se=Ee=>{var je;const{menu:rt,arrow:xt,prefixCls:ct,children:wt,trigger:ft,disabled:It,dropdownRender:Dt,getPopupContainer:oe,overlayClassName:ae,rootClassName:te,overlayStyle:x,open:re,onOpenChange:ne,visible:le,onVisibleChange:Ie,mouseEnterDelay:Le=.15,mouseLeaveDelay:Ye=.1,autoAdjustOverflow:Ge=!0,placement:it="",overlay:dt,transitionName:yt}=Ee,{getPopupContainer:ot,getPrefixCls:st,direction:Vt,dropdown:kt}=b.useContext(Pe.E_),un=(0,ge.ln)("Dropdown"),$t=b.useMemo(()=>{const Jt=st();return yt!==void 0?yt:it.includes("top")?`${Jt}-slide-down`:`${Jt}-slide-up`},[st,it,yt]),Rt=b.useMemo(()=>it?it.includes("Center")?it.slice(0,it.indexOf("Center")):it:Vt==="rtl"?"bottomRight":"bottomLeft",[it,Vt]),Kt=st("dropdown",ct),qt=(0,Re.Z)(Kt),[Et,Tt,on]=bt(Kt,qt),[,mn]=(0,Oe.ZP)(),vt=b.Children.only(Ce(wt)?b.createElement("span",null,wt):wt),Mt=(0,Me.Tm)(vt,{className:De()(`${Kt}-trigger`,{[`${Kt}-rtl`]:Vt==="rtl"},vt.props.className),disabled:(je=vt.props.disabled)!==null&&je!==void 0?je:It}),Yt=It?[]:ft,sn=!!(Yt!=null&&Yt.includes("contextMenu")),[xn,Ln]=(0,fe.Z)(!1,{value:re!=null?re:le}),Xn=(0,ye.Z)(Jt=>{ne==null||ne(Jt,{source:"trigger"}),Ie==null||Ie(Jt),Ln(Jt)}),Jn=De()(ae,te,Tt,on,qt,kt==null?void 0:kt.className,{[`${Kt}-rtl`]:Vt==="rtl"}),Bn=(0,Te.Z)({arrowPointAtCenter:typeof xt=="object"&&xt.pointAtCenter,autoAdjustOverflow:Ge,offset:mn.marginXXS,arrowWidth:xt?mn.sizePopupArrow:0,borderRadius:mn.borderRadius}),Un=b.useCallback(()=>{rt!=null&&rt.selectable&&(rt!=null&&rt.multiple)||(ne==null||ne(!1,{source:"menu"}),Ln(!1))},[rt==null?void 0:rt.selectable,rt==null?void 0:rt.multiple]),Wt=()=>{let Jt;return rt!=null&&rt.items?Jt=b.createElement(tt.default,Object.assign({},rt)):typeof dt=="function"?Jt=dt():Jt=dt,Dt&&(Jt=Dt(Jt)),Jt=b.Children.only(typeof Jt=="string"?b.createElement("span",null,Jt):Jt),b.createElement(ce.J,{prefixCls:`${Kt}-menu`,rootClassName:De()(on,qt),expandIcon:b.createElement("span",{className:`${Kt}-menu-submenu-arrow`},Vt==="rtl"?b.createElement(We.Z,{className:`${Kt}-menu-submenu-arrow-icon`}):b.createElement(de.Z,{className:`${Kt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Un,validator:Sn=>{let{mode:yn}=Sn}},Jt)},[Ot,ln]=(0,ue.Cn)("Dropdown",x==null?void 0:x.zIndex);let en=b.createElement(ve.Z,Object.assign({alignPoint:sn},(0,xe.Z)(Ee,["rootClassName"]),{mouseEnterDelay:Le,mouseLeaveDelay:Ye,visible:xn,builtinPlacements:Bn,arrow:!!xt,overlayClassName:Jn,prefixCls:Kt,getPopupContainer:oe||ot,transitionName:$t,trigger:Yt,overlay:Wt,placement:Rt,onVisibleChange:Xn,overlayStyle:Object.assign(Object.assign(Object.assign({},kt==null?void 0:kt.style),x),{zIndex:Ot})}),Mt);return Ot&&(en=b.createElement(Ae.Z.Provider,{value:ln},en)),Et(en)},Be=(0,we.Z)(se,"align",void 0,"dropdown",Ee=>Ee),Je=Ee=>b.createElement(Be,Object.assign({},Ee),b.createElement("span",null));se._InternalPanelDoNotUseOrYouWillBeFired=Je;var lt=se},75727:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return we}});var b=E(19563),We=E(59301),de=E(18785),Ke=E(92310),De=E.n(Ke),ve=E(7939),ye=E(48755),fe=E(44104),xe=E(70045),ue=function(Me,ge){var Ae={};for(var Pe in Me)Object.prototype.hasOwnProperty.call(Me,Pe)&&ge.indexOf(Pe)<0&&(Ae[Pe]=Me[Pe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Pe=Object.getOwnPropertySymbols(Me);Re<Pe.length;Re++)ge.indexOf(Pe[Re])<0&&Object.prototype.propertyIsEnumerable.call(Me,Pe[Re])&&(Ae[Pe[Re]]=Me[Pe[Re]]);return Ae};const Fe=Me=>{const{getPopupContainer:ge,getPrefixCls:Ae,direction:Pe}=We.useContext(ye.E_),{prefixCls:Re,type:tt="default",danger:ce,disabled:Oe,loading:Ue,onClick:ze,htmlType:nt,children:ke,className:Ve,menu:et,arrow:Se,autoFocus:qe,overlay:pe,trigger:be,align:gt,open:$e,onOpenChange:at,placement:bt,getPopupContainer:Ze,href:se,icon:Be=We.createElement(de.Z,null),title:Je,buttonsRender:lt=Le=>Le,mouseEnterDelay:Ee,mouseLeaveDelay:je,overlayClassName:rt,overlayStyle:xt,destroyPopupOnHide:ct,dropdownRender:wt}=Me,ft=ue(Me,["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"]),It=Ae("dropdown",Re),Dt=`${It}-button`,oe={menu:et,arrow:Se,autoFocus:qe,align:gt,disabled:Oe,trigger:Oe?[]:be,onOpenChange:at,getPopupContainer:Ze||ge,mouseEnterDelay:Ee,mouseLeaveDelay:je,overlayClassName:rt,overlayStyle:xt,destroyPopupOnHide:ct,dropdownRender:wt},{compactSize:ae,compactItemClassnames:te}=(0,xe.ri)(It,Pe),x=De()(Dt,te,Ve);"overlay"in Me&&(oe.overlay=pe),"open"in Me&&(oe.open=$e),"placement"in Me?oe.placement=bt:oe.placement=Pe==="rtl"?"bottomLeft":"bottomRight";const re=We.createElement(ve.ZP,{type:tt,danger:ce,disabled:Oe,loading:Ue,onClick:ze,htmlType:nt,href:se,title:Je},ke),ne=We.createElement(ve.ZP,{type:tt,danger:ce,icon:Be}),[le,Ie]=lt([re,ne]);return We.createElement(fe.Z.Compact,Object.assign({className:x,size:ae,block:!0},ft),le,We.createElement(b.Z,Object.assign({},oe),Ie))};Fe.__ANT_BUTTON=!0;var Ce=Fe;const Te=b.Z;Te.Button=Ce;var we=Te},584:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return tt}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(9017),De=E(17835),ve=E(57700),fe=()=>{const[,ce]=(0,ve.ZP)(),[Oe]=(0,Ke.Z)("Empty"),ze=new De.FastColor(ce.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:ze,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Oe==null?void 0:Oe.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.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"}),b.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)"}),b.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"}),b.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"})),b.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"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ue=()=>{const[,ce]=(0,ve.ZP)(),[Oe]=(0,Ke.Z)("Empty"),{colorFill:Ue,colorFillTertiary:ze,colorFillQuaternary:nt,colorBgContainer:ke}=ce,{borderColor:Ve,shadowColor:et,contentColor:Se}=(0,b.useMemo)(()=>({borderColor:new De.FastColor(Ue).onBackground(ke).toHexString(),shadowColor:new De.FastColor(ze).onBackground(ke).toHexString(),contentColor:new De.FastColor(nt).onBackground(ke).toHexString()}),[Ue,ze,nt,ke]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Oe==null?void 0:Oe.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:et,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:Ve},b.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"}),b.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:Se}))))},Fe=E(16931),Ce=E(51636);const Te=ce=>{const{componentCls:Oe,margin:Ue,marginXS:ze,marginXL:nt,fontSize:ke,lineHeight:Ve}=ce;return{[Oe]:{marginInline:ze,fontSize:ke,lineHeight:Ve,textAlign:"center",[`${Oe}-image`]:{height:ce.emptyImgHeight,marginBottom:ze,opacity:ce.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Oe}-description`]:{color:ce.colorTextDescription},[`${Oe}-footer`]:{marginTop:Ue},"&-normal":{marginBlock:nt,color:ce.colorTextDescription,[`${Oe}-description`]:{color:ce.colorTextDescription},[`${Oe}-image`]:{height:ce.emptyImgHeightMD}},"&-small":{marginBlock:ze,color:ce.colorTextDescription,[`${Oe}-image`]:{height:ce.emptyImgHeightSM}}}}};var we=(0,Fe.I$)("Empty",ce=>{const{componentCls:Oe,controlHeightLG:Ue,calc:ze}=ce,nt=(0,Ce.mergeToken)(ce,{emptyImgCls:`${Oe}-img`,emptyImgHeight:ze(Ue).mul(2.5).equal(),emptyImgHeightMD:Ue,emptyImgHeightSM:ze(Ue).mul(.875).equal()});return[Te(nt)]}),Me=E(48755),ge=function(ce,Oe){var Ue={};for(var ze in ce)Object.prototype.hasOwnProperty.call(ce,ze)&&Oe.indexOf(ze)<0&&(Ue[ze]=ce[ze]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,ze=Object.getOwnPropertySymbols(ce);nt<ze.length;nt++)Oe.indexOf(ze[nt])<0&&Object.prototype.propertyIsEnumerable.call(ce,ze[nt])&&(Ue[ze[nt]]=ce[ze[nt]]);return Ue};const Ae=b.createElement(fe,null),Pe=b.createElement(ue,null),Re=ce=>{const{className:Oe,rootClassName:Ue,prefixCls:ze,image:nt=Ae,description:ke,children:Ve,imageStyle:et,style:Se,classNames:qe,styles:pe}=ce,be=ge(ce,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:gt,direction:$e,className:at,style:bt,classNames:Ze,styles:se}=(0,Me.dj)("empty"),Be=gt("empty",ze),[Je,lt,Ee]=we(Be),[je]=(0,Ke.Z)("Empty"),rt=typeof ke!="undefined"?ke:je==null?void 0:je.description,xt=typeof rt=="string"?rt:"empty";let ct=null;return typeof nt=="string"?ct=b.createElement("img",{alt:xt,src:nt}):ct=nt,Je(b.createElement("div",Object.assign({className:de()(lt,Ee,Be,at,{[`${Be}-normal`]:nt===Pe,[`${Be}-rtl`]:$e==="rtl"},Oe,Ue,Ze.root,qe==null?void 0:qe.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},se.root),bt),pe==null?void 0:pe.root),Se)},be),b.createElement("div",{className:de()(`${Be}-image`,Ze.image,qe==null?void 0:qe.image),style:Object.assign(Object.assign(Object.assign({},et),se.image),pe==null?void 0:pe.image)},ct),rt&&b.createElement("div",{className:de()(`${Be}-description`,Ze.description,qe==null?void 0:qe.description),style:Object.assign(Object.assign({},se.description),pe==null?void 0:pe.description)},rt),Ve&&b.createElement("div",{className:de()(`${Be}-footer`,Ze.footer,qe==null?void 0:qe.footer),style:Object.assign(Object.assign({},se.footer),pe==null?void 0:pe.footer)},Ve)))};Re.PRESENTED_IMAGE_DEFAULT=Ae,Re.PRESENTED_IMAGE_SIMPLE=Pe;var tt=Re},28284:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return Qt}});var b=E(56553),We=E(94480),de=E(59301),Ke=E(92310),De=E.n(Ke),ve=E(77900),ye=E(86641),fe=E(83397);function xe(St){const[Zt,At]=de.useState(St);return de.useEffect(()=>{const Ht=setTimeout(()=>{At(St)},St.length?0:10);return()=>{clearTimeout(Ht)}},[St]),Zt}var ue=E(36237),Fe=E(63356),Ce=E(34925),Te=E(34961),we=E(51636),Me=E(16931),Ae=St=>{const{componentCls:Zt}=St,At=`${Zt}-show-help`,Ht=`${Zt}-show-help-item`;return{[At]:{transition:`opacity ${St.motionDurationFast} ${St.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ht]:{overflow:"hidden",transition:`height ${St.motionDurationFast} ${St.motionEaseInOut},
|
|
|
opacity ${St.motionDurationFast} ${St.motionEaseInOut},
|
|
|
transform ${St.motionDurationFast} ${St.motionEaseInOut} !important`,[`&${Ht}-appear, &${Ht}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ht}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Pe=St=>({legend:{display:"block",width:"100%",marginBottom:St.marginLG,padding:0,color:St.colorTextDescription,fontSize:St.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,ue.unit)(St.lineWidth)} ${St.lineType} ${St.colorBorder}`},'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 ${(0,ue.unit)(St.controlOutlineWidth)} ${St.controlOutline}`},output:{display:"block",paddingTop:15,color:St.colorText,fontSize:St.fontSize,lineHeight:St.lineHeight}}),Re=(St,Zt)=>{const{formItemCls:At}=St;return{[At]:{[`${At}-label > label`]:{height:Zt},[`${At}-control-input`]:{minHeight:Zt}}}},tt=St=>{const{componentCls:Zt}=St;return{[St.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(St)),Pe(St)),{[`${Zt}-text`]:{display:"inline-block",paddingInlineEnd:St.paddingSM},"&-small":Object.assign({},Re(St,St.controlHeightSM)),"&-large":Object.assign({},Re(St,St.controlHeightLG))})}},ce=St=>{const{formItemCls:Zt,iconCls:At,rootPrefixCls:Ht,antCls:ht,labelRequiredMarkColor:Xt,labelColor:tn,labelFontSize:dn,labelHeight:Ut,labelColonMarginInlineStart:jt,labelColonMarginInlineEnd:Gt,itemMarginBottom:an}=St;return{[Zt]:Object.assign(Object.assign({},(0,Fe.Wf)(St)),{marginBottom:an,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${ht}-row`]:{display:"none"},"&-has-warning":{[`${Zt}-split`]:{color:St.colorError}},"&-has-error":{[`${Zt}-split`]:{color:St.colorWarning}},[`${Zt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:St.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ut,color:tn,fontSize:dn,[`> ${At}`]:{fontSize:St.fontSize,verticalAlign:"top"},[`&${Zt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:St.marginXXS,color:Xt,fontSize:St.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Zt}-required-mark-hidden, &${Zt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Zt}-optional`]:{display:"inline-block",marginInlineStart:St.marginXXS,color:St.colorTextDescription,[`&${Zt}-required-mark-hidden`]:{display:"none"}},[`${Zt}-tooltip`]:{color:St.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:St.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:jt,marginInlineEnd:Gt},[`&${Zt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Zt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ht}-col-'"]):not([class*="' ${Ht}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:St.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Zt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:St.colorTextDescription,fontSize:St.fontSize,lineHeight:St.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:St.controlHeightSM,transition:`color ${St.motionDurationMid} ${St.motionEaseOut}`},"&-explain":{"&-error":{color:St.colorError},"&-warning":{color:St.colorWarning}}},[`&-with-help ${Zt}-explain`]:{height:"auto",opacity:1},[`${Zt}-feedback-icon`]:{fontSize:St.fontSize,textAlign:"center",visibility:"visible",animationName:Ce.kr,animationDuration:St.motionDurationMid,animationTimingFunction:St.motionEaseOutBack,pointerEvents:"none","&-success":{color:St.colorSuccess},"&-error":{color:St.colorError},"&-warning":{color:St.colorWarning},"&-validating":{color:St.colorPrimary}}})}},Oe=(St,Zt)=>{const{formItemCls:At}=St;return{[`${Zt}-horizontal`]:{[`${At}-label`]:{flexGrow:0},[`${At}-control`]:{flex:"1 1 0",minWidth:0},[`${At}-label[class$='-24'], ${At}-label[class*='-24 ']`]:{[`& + ${At}-control`]:{minWidth:"unset"}}}}},Ue=St=>{const{componentCls:Zt,formItemCls:At,inlineItemMarginBottom:Ht}=St;return{[`${Zt}-inline`]:{display:"flex",flexWrap:"wrap",[At]:{flex:"none",marginInlineEnd:St.margin,marginBottom:Ht,"&-row":{flexWrap:"nowrap"},[`> ${At}-label,
|
|
|
> ${At}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${At}-label`]:{flex:"none"},[`${Zt}-text`]:{display:"inline-block"},[`${At}-has-feedback`]:{display:"inline-block"}}}}},ze=St=>({padding:St.verticalLabelPadding,margin:St.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),nt=St=>{const{componentCls:Zt,formItemCls:At,rootPrefixCls:Ht}=St;return{[`${At} ${At}-label`]:ze(St),[`${Zt}:not(${Zt}-inline)`]:{[At]:{flexWrap:"wrap",[`${At}-label, ${At}-control`]:{[`&:not([class*=" ${Ht}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ke=St=>{const{componentCls:Zt,formItemCls:At,antCls:Ht}=St;return{[`${Zt}-vertical`]:{[`${At}:not(${At}-horizontal)`]:{[`${At}-row`]:{flexDirection:"column"},[`${At}-label > label`]:{height:"auto"},[`${At}-control`]:{width:"100%"},[`${At}-label,
|
|
|
${Ht}-col-24${At}-label,
|
|
|
${Ht}-col-xl-24${At}-label`]:ze(St)}},[`@media (max-width: ${(0,ue.unit)(St.screenXSMax)})`]:[nt(St),{[Zt]:{[`${At}:not(${At}-horizontal)`]:{[`${Ht}-col-xs-24${At}-label`]:ze(St)}}}],[`@media (max-width: ${(0,ue.unit)(St.screenSMMax)})`]:{[Zt]:{[`${At}:not(${At}-horizontal)`]:{[`${Ht}-col-sm-24${At}-label`]:ze(St)}}},[`@media (max-width: ${(0,ue.unit)(St.screenMDMax)})`]:{[Zt]:{[`${At}:not(${At}-horizontal)`]:{[`${Ht}-col-md-24${At}-label`]:ze(St)}}},[`@media (max-width: ${(0,ue.unit)(St.screenLGMax)})`]:{[Zt]:{[`${At}:not(${At}-horizontal)`]:{[`${Ht}-col-lg-24${At}-label`]:ze(St)}}}}},Ve=St=>{const{formItemCls:Zt,antCls:At}=St;return{[`${Zt}-vertical`]:{[`${Zt}-row`]:{flexDirection:"column"},[`${Zt}-label > label`]:{height:"auto"},[`${Zt}-control`]:{width:"100%"}},[`${Zt}-vertical ${Zt}-label,
|
|
|
${At}-col-24${Zt}-label,
|
|
|
${At}-col-xl-24${Zt}-label`]:ze(St),[`@media (max-width: ${(0,ue.unit)(St.screenXSMax)})`]:[nt(St),{[Zt]:{[`${At}-col-xs-24${Zt}-label`]:ze(St)}}],[`@media (max-width: ${(0,ue.unit)(St.screenSMMax)})`]:{[Zt]:{[`${At}-col-sm-24${Zt}-label`]:ze(St)}},[`@media (max-width: ${(0,ue.unit)(St.screenMDMax)})`]:{[Zt]:{[`${At}-col-md-24${Zt}-label`]:ze(St)}},[`@media (max-width: ${(0,ue.unit)(St.screenLGMax)})`]:{[Zt]:{[`${At}-col-lg-24${Zt}-label`]:ze(St)}}}},et=St=>({labelRequiredMarkColor:St.colorError,labelColor:St.colorTextHeading,labelFontSize:St.fontSize,labelHeight:St.controlHeight,labelColonMarginInlineStart:St.marginXXS/2,labelColonMarginInlineEnd:St.marginXS,itemMarginBottom:St.marginLG,verticalLabelPadding:`0 0 ${St.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Se=(St,Zt)=>(0,we.mergeToken)(St,{formItemCls:`${St.componentCls}-item`,rootPrefixCls:Zt});var qe=(0,Me.I$)("Form",(St,Zt)=>{let{rootPrefixCls:At}=Zt;const Ht=Se(St,At);return[tt(Ht),ce(Ht),Ae(Ht),Oe(Ht,Ht.componentCls),Oe(Ht,Ht.formItemCls),Ue(Ht),ke(Ht),Ve(Ht),(0,Te.Z)(Ht),Ce.kr]},et,{order:-1e3});const pe=[];function be(St,Zt,At){let Ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof St=="string"?St:`${Zt}-${Ht}`,error:St,errorStatus:At}}var $e=St=>{let{help:Zt,helpStatus:At,errors:Ht=pe,warnings:ht=pe,className:Xt,fieldId:tn,onVisibleChanged:dn}=St;const{prefixCls:Ut}=de.useContext(b.Rk),jt=`${Ut}-item-explain`,Gt=(0,fe.Z)(Ut),[an,zn,Rn]=qe(Ut,Gt),Vn=de.useMemo(()=>(0,ye.Z)(Ut),[Ut]),Mr=xe(Ht),zr=xe(ht),Xr=de.useMemo(()=>Zt!=null?[be(Zt,"help",At)]:[].concat((0,We.Z)(Mr.map((Ar,Vr)=>be(Ar,"error","error",Vr))),(0,We.Z)(zr.map((Ar,Vr)=>be(Ar,"warning","warning",Vr)))),[Zt,At,Mr,zr]),Pr=de.useMemo(()=>{const Ar={};return Xr.forEach(Vr=>{let{key:ni}=Vr;Ar[ni]=(Ar[ni]||0)+1}),Xr.map((Vr,ni)=>Object.assign(Object.assign({},Vr),{key:Ar[Vr.key]>1?`${Vr.key}-fallback-${ni}`:Vr.key}))},[Xr]),gr={};return tn&&(gr.id=`${tn}_help`),an(de.createElement(ve.default,{motionDeadline:Vn.motionDeadline,motionName:`${Ut}-show-help`,visible:!!Pr.length,onVisibleChanged:dn},Ar=>{const{className:Vr,style:ni}=Ar;return de.createElement("div",Object.assign({},gr,{className:De()(jt,Vr,Rn,Gt,Xt,zn),style:ni}),de.createElement(ve.CSSMotionList,Object.assign({keys:Pr},(0,ye.Z)(Ut),{motionName:`${Ut}-show-help-item`,component:!1}),ri=>{const{key:ai,error:Dr,errorStatus:Jr,className:$r,style:Ri}=ri;return de.createElement("div",{key:ai,className:De()($r,{[`${jt}-${Jr}`]:Jr}),style:Ri},Dr)}))}))},at=E(22001),bt=E(48755),Ze=E(2171),se=E(31756),Be=E(23069),Je=E(76846),lt=E(16722);const Ee=["parentNode"],je="form_item";function rt(St){return St===void 0||St===!1?[]:Array.isArray(St)?St:[St]}function xt(St,Zt){if(!St.length)return;const At=St.join("_");return Zt?`${Zt}_${At}`:Ee.includes(At)?`${je}_${At}`:At}function ct(St,Zt,At,Ht,ht,Xt){let tn=Ht;return Xt!==void 0?tn=Xt:At.validating?tn="validating":St.length?tn="error":Zt.length?tn="warning":(At.touched||ht&&At.validated)&&(tn="success"),tn}var wt=function(St,Zt){var At={};for(var Ht in St)Object.prototype.hasOwnProperty.call(St,Ht)&&Zt.indexOf(Ht)<0&&(At[Ht]=St[Ht]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Ht=Object.getOwnPropertySymbols(St);ht<Ht.length;ht++)Zt.indexOf(Ht[ht])<0&&Object.prototype.propertyIsEnumerable.call(St,Ht[ht])&&(At[Ht[ht]]=St[Ht[ht]]);return At};function ft(St){return rt(St).join("_")}function It(St,Zt){const At=Zt.getFieldInstance(St),Ht=(0,Je.bn)(At);if(Ht)return Ht;const ht=xt(rt(St),Zt.__INTERNAL__.name);if(ht)return document.getElementById(ht)}function Dt(St){const[Zt]=(0,at.useForm)(),At=de.useRef({}),Ht=de.useMemo(()=>St!=null?St:Object.assign(Object.assign({},Zt),{__INTERNAL__:{itemRef:ht=>Xt=>{const tn=ft(ht);Xt?At.current[tn]=Xt:delete At.current[tn]}},scrollToField:function(ht){let Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:tn}=Xt,dn=wt(Xt,["focus"]),Ut=It(ht,Ht);Ut&&((0,lt.Z)(Ut,Object.assign({scrollMode:"if-needed",block:"nearest"},dn)),tn&&Ht.focusField(ht))},focusField:ht=>{var Xt,tn;const dn=Ht.getFieldInstance(ht);typeof(dn==null?void 0:dn.focus)=="function"?dn.focus():(tn=(Xt=It(ht,Ht))===null||Xt===void 0?void 0:Xt.focus)===null||tn===void 0||tn.call(Xt)},getFieldInstance:ht=>{const Xt=ft(ht);return At.current[Xt]}}),[St,Zt]);return[Ht]}var oe=E(98350),ae=function(St,Zt){var At={};for(var Ht in St)Object.prototype.hasOwnProperty.call(St,Ht)&&Zt.indexOf(Ht)<0&&(At[Ht]=St[Ht]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Ht=Object.getOwnPropertySymbols(St);ht<Ht.length;ht++)Zt.indexOf(Ht[ht])<0&&Object.prototype.propertyIsEnumerable.call(St,Ht[ht])&&(At[Ht[ht]]=St[Ht[ht]]);return At};const te=(St,Zt)=>{const At=de.useContext(Ze.Z),{getPrefixCls:Ht,direction:ht,requiredMark:Xt,colon:tn,scrollToFirstError:dn,className:Ut,style:jt}=(0,bt.dj)("form"),{prefixCls:Gt,className:an,rootClassName:zn,size:Rn,disabled:Vn=At,form:Mr,colon:zr,labelAlign:Xr,labelWrap:Pr,labelCol:gr,wrapperCol:Ar,hideRequiredMark:Vr,layout:ni="horizontal",scrollToFirstError:ri,requiredMark:ai,onFinishFailed:Dr,name:Jr,style:$r,feedbackIcons:Ri,variant:Hi}=St,Zi=ae(St,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),zi=(0,se.Z)(Rn),Ji=de.useContext(oe.Z),wi=de.useMemo(()=>ai!==void 0?ai:Vr?!1:Xt!==void 0?Xt:!0,[Vr,ai,Xt]),Mi=zr!=null?zr:tn,fi=Ht("form",Gt),$i=(0,fe.Z)(fi),[oo,Ro,fo]=qe(fi,$i),bo=De()(fi,`${fi}-${ni}`,{[`${fi}-hide-required-mark`]:wi===!1,[`${fi}-rtl`]:ht==="rtl",[`${fi}-${zi}`]:zi},fo,$i,Ro,Ut,an,zn),[co]=Dt(Mr),{__INTERNAL__:yo}=co;yo.name=Jr;const Fi=de.useMemo(()=>({name:Jr,labelAlign:Xr,labelCol:gr,labelWrap:Pr,wrapperCol:Ar,vertical:ni==="vertical",colon:Mi,requiredMark:wi,itemRef:yo.itemRef,form:co,feedbackIcons:Ri}),[Jr,Xr,gr,Ar,ni,Mi,wi,co,Ri]),Ai=de.useRef(null);de.useImperativeHandle(Zt,()=>{var lr;return Object.assign(Object.assign({},co),{nativeElement:(lr=Ai.current)===null||lr===void 0?void 0:lr.nativeElement})});const Yr=(lr,cr)=>{if(lr){let Qn={block:"nearest"};typeof lr=="object"&&(Qn=Object.assign(Object.assign({},Qn),lr)),co.scrollToField(cr,Qn)}},jn=lr=>{if(Dr==null||Dr(lr),lr.errorFields.length){const cr=lr.errorFields[0].name;if(ri!==void 0){Yr(ri,cr);return}dn!==void 0&&Yr(dn,cr)}};return oo(de.createElement(b.pg.Provider,{value:Hi},de.createElement(Ze.n,{disabled:Vn},de.createElement(Be.Z.Provider,{value:zi},de.createElement(b.RV,{validateMessages:Ji},de.createElement(b.q3.Provider,{value:Fi},de.createElement(at.default,Object.assign({id:Jr},Zi,{name:Jr,onFinishFailed:jn,form:co,ref:Ai,style:Object.assign(Object.assign({},jt),$r),className:bo}))))))))};var re=de.forwardRef(te),ne=E(41799),le=E(8654),Ie=E(22703),Le=E(32383),Ye=E(11592);function Ge(St){if(typeof St=="function")return St;const Zt=(0,Ye.Z)(St);return Zt.length<=1?Zt[0]:Zt}const it=()=>{const{status:St,errors:Zt=[],warnings:At=[]}=de.useContext(b.aM);return{status:St,errors:Zt,warnings:At}};it.Context=b.aM;var dt=it,yt=E(16089);function ot(St){const[Zt,At]=de.useState(St),Ht=de.useRef(null),ht=de.useRef([]),Xt=de.useRef(!1);de.useEffect(()=>(Xt.current=!1,()=>{Xt.current=!0,yt.Z.cancel(Ht.current),Ht.current=null}),[]);function tn(dn){Xt.current||(Ht.current===null&&(ht.current=[],Ht.current=(0,yt.Z)(()=>{Ht.current=null,At(Ut=>{let jt=Ut;return ht.current.forEach(Gt=>{jt=Gt(jt)}),jt})})),ht.current.push(dn))}return[Zt,tn]}function st(){const{itemRef:St}=de.useContext(b.q3),Zt=de.useRef({});function At(Ht,ht){const Xt=ht&&typeof ht=="object"&&(0,le.C4)(ht),tn=Ht.join("_");return(Zt.current.name!==tn||Zt.current.originRef!==Xt)&&(Zt.current.name=tn,Zt.current.originRef=Xt,Zt.current.ref=(0,le.sQ)(St(Ht),Xt)),Zt.current.ref}return At}var Vt=E(29194),kt=E(34280),un=E(2738),$t=E(65970),Rt=E(70425),Kt=E(5472);const qt=St=>{const{formItemCls:Zt}=St;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Zt}-control`]:{display:"flex"}}}};var Et=(0,Me.bk)(["Form","item-item"],(St,Zt)=>{let{rootPrefixCls:At}=Zt;const Ht=Se(St,At);return[qt(Ht)]}),Tt=function(St,Zt){var At={};for(var Ht in St)Object.prototype.hasOwnProperty.call(St,Ht)&&Zt.indexOf(Ht)<0&&(At[Ht]=St[Ht]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Ht=Object.getOwnPropertySymbols(St);ht<Ht.length;ht++)Zt.indexOf(Ht[ht])<0&&Object.prototype.propertyIsEnumerable.call(St,Ht[ht])&&(At[Ht[ht]]=St[Ht[ht]]);return At};const on=24;var vt=St=>{const{prefixCls:Zt,status:At,labelCol:Ht,wrapperCol:ht,children:Xt,errors:tn,warnings:dn,_internalItemRender:Ut,extra:jt,help:Gt,fieldId:an,marginBottom:zn,onErrorVisibleChanged:Rn,label:Vn}=St,Mr=`${Zt}-item`,zr=de.useContext(b.q3),Xr=de.useMemo(()=>{let Zi=Object.assign({},ht||zr.wrapperCol||{});return Vn===null&&!Ht&&!ht&&zr.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Ji=>{const wi=Ji?[Ji]:[],Mi=(0,Rt.U2)(zr.labelCol,wi),fi=typeof Mi=="object"?Mi:{},$i=(0,Rt.U2)(Zi,wi),oo=typeof $i=="object"?$i:{};"span"in fi&&!("offset"in oo)&&fi.span<on&&(Zi=(0,Rt.t8)(Zi,[].concat(wi,["offset"]),fi.span))}),Zi},[ht,zr]),Pr=De()(`${Mr}-control`,Xr.className),gr=de.useMemo(()=>{const{labelCol:Zi,wrapperCol:zi}=zr;return Tt(zr,["labelCol","wrapperCol"])},[zr]),Ar=de.useRef(null),[Vr,ni]=de.useState(0);(0,kt.Z)(()=>{jt&&Ar.current?ni(Ar.current.clientHeight):ni(0)},[jt]);const ri=de.createElement("div",{className:`${Mr}-control-input`},de.createElement("div",{className:`${Mr}-control-input-content`},Xt)),ai=de.useMemo(()=>({prefixCls:Zt,status:At}),[Zt,At]),Dr=zn!==null||tn.length||dn.length?de.createElement(b.Rk.Provider,{value:ai},de.createElement($e,{fieldId:an,errors:tn,warnings:dn,help:Gt,helpStatus:At,className:`${Mr}-explain-connected`,onVisibleChanged:Rn})):null,Jr={};an&&(Jr.id=`${an}_extra`);const $r=jt?de.createElement("div",Object.assign({},Jr,{className:`${Mr}-extra`,ref:Ar}),jt):null,Ri=Dr||$r?de.createElement("div",{className:`${Mr}-additional`,style:zn?{minHeight:zn+Vr}:{}},Dr,$r):null,Hi=Ut&&Ut.mark==="pro_table_render"&&Ut.render?Ut.render(St,{input:ri,errorList:Dr,extra:$r}):de.createElement(de.Fragment,null,ri,Ri);return de.createElement(b.q3.Provider,{value:gr},de.createElement(Kt.Z,Object.assign({},Xr,{className:Pr}),Hi),de.createElement(Et,{prefixCls:Zt}))},Mt=E(61485),Yt=E(9017),sn=E(85981),xn=E(25399),Ln=function(St,Zt){var At={};for(var Ht in St)Object.prototype.hasOwnProperty.call(St,Ht)&&Zt.indexOf(Ht)<0&&(At[Ht]=St[Ht]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Ht=Object.getOwnPropertySymbols(St);ht<Ht.length;ht++)Zt.indexOf(Ht[ht])<0&&Object.prototype.propertyIsEnumerable.call(St,Ht[ht])&&(At[Ht[ht]]=St[Ht[ht]]);return At};function Xn(St){return St?typeof St=="object"&&!de.isValidElement(St)?St:{title:St}:null}var Bn=St=>{let{prefixCls:Zt,label:At,htmlFor:Ht,labelCol:ht,labelAlign:Xt,colon:tn,required:dn,requiredMark:Ut,tooltip:jt,vertical:Gt}=St;var an;const[zn]=(0,Yt.Z)("Form"),{labelAlign:Rn,labelCol:Vn,labelWrap:Mr,colon:zr}=de.useContext(b.q3);if(!At)return null;const Xr=ht||Vn||{},Pr=Xt||Rn,gr=`${Zt}-item-label`,Ar=De()(gr,Pr==="left"&&`${gr}-left`,Xr.className,{[`${gr}-wrap`]:!!Mr});let Vr=At;const ni=tn===!0||zr!==!1&&tn!==!1;ni&&!Gt&&typeof At=="string"&&At.trim()&&(Vr=At.replace(/[:|:]\s*$/,""));const ai=Xn(jt);if(ai){const{icon:Zi=de.createElement(Mt.Z,null)}=ai,zi=Ln(ai,["icon"]),Ji=de.createElement(xn.Z,Object.assign({},zi),de.cloneElement(Zi,{className:`${Zt}-item-tooltip`,title:"",onClick:wi=>{wi.preventDefault()},tabIndex:null}));Vr=de.createElement(de.Fragment,null,Vr,Ji)}const Dr=Ut==="optional",Jr=typeof Ut=="function",$r=Ut===!1;Jr?Vr=Ut(Vr,{required:!!dn}):Dr&&!dn&&(Vr=de.createElement(de.Fragment,null,Vr,de.createElement("span",{className:`${Zt}-item-optional`,title:""},(zn==null?void 0:zn.optional)||((an=sn.Z.Form)===null||an===void 0?void 0:an.optional))));let Ri;$r?Ri="hidden":(Dr||Jr)&&(Ri="optional");const Hi=De()({[`${Zt}-item-required`]:dn,[`${Zt}-item-required-mark-${Ri}`]:Ri,[`${Zt}-item-no-colon`]:!ni});return de.createElement(Kt.Z,Object.assign({},Xr,{className:Ar}),de.createElement("label",{htmlFor:Ht,className:Hi,title:typeof At=="string"?At:""},Vr))},Un=E(29679),Wt=E(19248),Ot=E(96512),ln=E(58617);const en={success:Un.Z,warning:Ot.Z,error:Wt.Z,validating:ln.Z};function Jt(St){let{children:Zt,errors:At,warnings:Ht,hasFeedback:ht,validateStatus:Xt,prefixCls:tn,meta:dn,noStyle:Ut}=St;const jt=`${tn}-item`,{feedbackIcons:Gt}=de.useContext(b.q3),an=ct(At,Ht,dn,null,!!ht,Xt),{isFormItemInput:zn,status:Rn,hasFeedback:Vn,feedbackIcon:Mr}=de.useContext(b.aM),zr=de.useMemo(()=>{var Xr;let Pr;if(ht){const Ar=ht!==!0&&ht.icons||Gt,Vr=an&&((Xr=Ar==null?void 0:Ar({status:an,errors:At,warnings:Ht}))===null||Xr===void 0?void 0:Xr[an]),ni=an&&en[an];Pr=Vr!==!1&&ni?de.createElement("span",{className:De()(`${jt}-feedback-icon`,`${jt}-feedback-icon-${an}`)},Vr||de.createElement(ni,null)):null}const gr={status:an||"",errors:At,warnings:Ht,hasFeedback:!!ht,feedbackIcon:Pr,isFormItemInput:!0};return Ut&&(gr.status=(an!=null?an:Rn)||"",gr.isFormItemInput=zn,gr.hasFeedback=!!(ht!=null?ht:Vn),gr.feedbackIcon=ht!==void 0?gr.feedbackIcon:Mr),gr},[an,ht,Ut,zn,Rn]);return de.createElement(b.aM.Provider,{value:zr},Zt)}var Sn=function(St,Zt){var At={};for(var Ht in St)Object.prototype.hasOwnProperty.call(St,Ht)&&Zt.indexOf(Ht)<0&&(At[Ht]=St[Ht]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Ht=Object.getOwnPropertySymbols(St);ht<Ht.length;ht++)Zt.indexOf(Ht[ht])<0&&Object.prototype.propertyIsEnumerable.call(St,Ht[ht])&&(At[Ht[ht]]=St[Ht[ht]]);return At};function yn(St){const{prefixCls:Zt,className:At,rootClassName:Ht,style:ht,help:Xt,errors:tn,warnings:dn,validateStatus:Ut,meta:jt,hasFeedback:Gt,hidden:an,children:zn,fieldId:Rn,required:Vn,isRequired:Mr,onSubItemMetaChange:zr,layout:Xr}=St,Pr=Sn(St,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),gr=`${Zt}-item`,{requiredMark:Ar,vertical:Vr}=de.useContext(b.q3),ni=Vr||Xr==="vertical",ri=de.useRef(null),ai=xe(tn),Dr=xe(dn),Jr=Xt!=null,$r=!!(Jr||tn.length||dn.length),Ri=!!ri.current&&(0,Vt.Z)(ri.current),[Hi,Zi]=de.useState(null);(0,kt.Z)(()=>{if($r&&ri.current){const fi=getComputedStyle(ri.current);Zi(parseInt(fi.marginBottom,10))}},[$r,Ri]);const zi=fi=>{fi||Zi(null)},wi=function(){let fi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const $i=fi?ai:jt.errors,oo=fi?Dr:jt.warnings;return ct($i,oo,jt,"",!!Gt,Ut)}(),Mi=De()(gr,At,Ht,{[`${gr}-with-help`]:Jr||ai.length||Dr.length,[`${gr}-has-feedback`]:wi&&Gt,[`${gr}-has-success`]:wi==="success",[`${gr}-has-warning`]:wi==="warning",[`${gr}-has-error`]:wi==="error",[`${gr}-is-validating`]:wi==="validating",[`${gr}-hidden`]:an,[`${gr}-${Xr}`]:Xr});return de.createElement("div",{className:Mi,style:ht,ref:ri},de.createElement($t.Z,Object.assign({className:`${gr}-row`},(0,un.Z)(Pr,["_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"])),de.createElement(Bn,Object.assign({htmlFor:Rn},St,{requiredMark:Ar,required:Vn!=null?Vn:Mr,prefixCls:Zt,vertical:ni})),de.createElement(vt,Object.assign({},St,jt,{errors:ai,warnings:Dr,prefixCls:Zt,status:wi,help:Xt,marginBottom:Hi,onErrorVisibleChanged:zi}),de.createElement(b.qI.Provider,{value:zr},de.createElement(Jt,{prefixCls:Zt,meta:jt,errors:jt.errors,warnings:jt.warnings,hasFeedback:Gt,validateStatus:wi},zn)))),!!Hi&&de.createElement("div",{className:`${gr}-margin-offset`,style:{marginBottom:-Hi}}))}const Mn="__SPLIT__",Yn=null;function Wn(St,Zt){const At=Object.keys(St),Ht=Object.keys(Zt);return At.length===Ht.length&&At.every(ht=>{const Xt=St[ht],tn=Zt[ht];return Xt===tn||typeof Xt=="function"||typeof tn=="function"})}const In=de.memo(St=>{let{children:Zt}=St;return Zt},(St,Zt)=>Wn(St.control,Zt.control)&&St.update===Zt.update&&St.childProps.length===Zt.childProps.length&&St.childProps.every((At,Ht)=>At===Zt.childProps[Ht]));function ar(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function tr(St){const{name:Zt,noStyle:At,className:Ht,dependencies:ht,prefixCls:Xt,shouldUpdate:tn,rules:dn,children:Ut,required:jt,label:Gt,messageVariables:an,trigger:zn="onChange",validateTrigger:Rn,hidden:Vn,help:Mr,layout:zr}=St,{getPrefixCls:Xr}=de.useContext(bt.E_),{name:Pr}=de.useContext(b.q3),gr=Ge(Ut),Ar=typeof gr=="function",Vr=de.useContext(b.qI),{validateTrigger:ni}=de.useContext(at.FieldContext),ri=Rn!==void 0?Rn:ni,ai=Zt!=null,Dr=Xr("form",Xt),Jr=(0,fe.Z)(Dr),[$r,Ri,Hi]=qe(Dr,Jr),Zi=(0,Le.ln)("Form.Item"),zi=de.useContext(at.ListContext),Ji=de.useRef(null),[wi,Mi]=ot({}),[fi,$i]=(0,ne.Z)(()=>ar()),oo=Ai=>{const Yr=zi==null?void 0:zi.getKey(Ai.name);if($i(Ai.destroy?ar():Ai,!0),At&&Mr!==!1&&Vr){let jn=Ai.name;if(Ai.destroy)jn=Ji.current||jn;else if(Yr!==void 0){const[lr,cr]=Yr;jn=[lr].concat((0,We.Z)(cr)),Ji.current=jn}Vr(Ai,jn)}},Ro=(Ai,Yr)=>{Mi(jn=>{const lr=Object.assign({},jn),Qn=[].concat((0,We.Z)(Ai.name.slice(0,-1)),(0,We.Z)(Yr)).join(Mn);return Ai.destroy?delete lr[Qn]:lr[Qn]=Ai,lr})},[fo,bo]=de.useMemo(()=>{const Ai=(0,We.Z)(fi.errors),Yr=(0,We.Z)(fi.warnings);return Object.values(wi).forEach(jn=>{Ai.push.apply(Ai,(0,We.Z)(jn.errors||[])),Yr.push.apply(Yr,(0,We.Z)(jn.warnings||[]))}),[Ai,Yr]},[wi,fi.errors,fi.warnings]),co=st();function yo(Ai,Yr,jn){return At&&!Vn?de.createElement(Jt,{prefixCls:Dr,hasFeedback:St.hasFeedback,validateStatus:St.validateStatus,meta:fi,errors:fo,warnings:bo,noStyle:!0},Ai):de.createElement(yn,Object.assign({key:"row"},St,{className:De()(Ht,Hi,Jr,Ri),prefixCls:Dr,fieldId:Yr,isRequired:jn,errors:fo,warnings:bo,meta:fi,onSubItemMetaChange:Ro,layout:zr}),Ai)}if(!ai&&!Ar&&!ht)return $r(yo(gr));let Fi={};return typeof Gt=="string"?Fi.label=Gt:Zt&&(Fi.label=String(Zt)),an&&(Fi=Object.assign(Object.assign({},Fi),an)),$r(de.createElement(at.Field,Object.assign({},St,{messageVariables:Fi,trigger:zn,validateTrigger:ri,onMetaChange:oo}),(Ai,Yr,jn)=>{const lr=rt(Zt).length&&Yr?Yr.name:[],cr=xt(lr,Pr),Qn=jt!==void 0?jt:!!(dn!=null&&dn.some(ir=>{if(ir&&typeof ir=="object"&&ir.required&&!ir.warningOnly)return!0;if(typeof ir=="function"){const Gn=ir(jn);return(Gn==null?void 0:Gn.required)&&!(Gn!=null&&Gn.warningOnly)}return!1})),Wr=Object.assign({},Ai);let qr=null;if(Array.isArray(gr)&&ai)qr=gr;else if(!(Ar&&(!(tn||ht)||ai))){if(!(ht&&!Ar&&!ai))if(de.isValidElement(gr)){const ir=Object.assign(Object.assign({},gr.props),Wr);if(ir.id||(ir.id=cr),Mr||fo.length>0||bo.length>0||St.extra){const Zr=[];(Mr||fo.length>0)&&Zr.push(`${cr}_help`),St.extra&&Zr.push(`${cr}_extra`),ir["aria-describedby"]=Zr.join(" ")}fo.length>0&&(ir["aria-invalid"]="true"),Qn&&(ir["aria-required"]="true"),(0,le.Yr)(gr)&&(ir.ref=co(lr,gr)),new Set([].concat((0,We.Z)(rt(zn)),(0,We.Z)(rt(ri)))).forEach(Zr=>{ir[Zr]=function(){for(var ji,vo,ao,Bo,wo,Co=arguments.length,ko=new Array(Co),Oo=0;Oo<Co;Oo++)ko[Oo]=arguments[Oo];(ao=Wr[Zr])===null||ao===void 0||(ji=ao).call.apply(ji,[Wr].concat(ko)),(wo=(Bo=gr.props)[Zr])===null||wo===void 0||(vo=wo).call.apply(vo,[Bo].concat(ko))}});const Cr=[ir["aria-required"],ir["aria-invalid"],ir["aria-describedby"]];qr=de.createElement(In,{control:Wr,update:gr,childProps:Cr},(0,Ie.Tm)(gr,ir))}else Ar&&(tn||ht)&&!ai?qr=gr(jn):qr=gr}return yo(qr,cr,Qn)}))}const Rr=tr;Rr.useStatus=dt;var Ir=Rr,En=function(St,Zt){var At={};for(var Ht in St)Object.prototype.hasOwnProperty.call(St,Ht)&&Zt.indexOf(Ht)<0&&(At[Ht]=St[Ht]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Ht=Object.getOwnPropertySymbols(St);ht<Ht.length;ht++)Zt.indexOf(Ht[ht])<0&&Object.prototype.propertyIsEnumerable.call(St,Ht[ht])&&(At[Ht[ht]]=St[Ht[ht]]);return At},nr=St=>{var{prefixCls:Zt,children:At}=St,Ht=En(St,["prefixCls","children"]);const{getPrefixCls:ht}=de.useContext(bt.E_),Xt=ht("form",Zt),tn=de.useMemo(()=>({prefixCls:Xt,status:"error"}),[Xt]);return de.createElement(at.List,Object.assign({},Ht),(dn,Ut,jt)=>de.createElement(b.Rk.Provider,{value:tn},At(dn.map(Gt=>Object.assign(Object.assign({},Gt),{fieldKey:Gt.key})),Ut,{errors:jt.errors,warnings:jt.warnings})))};function rr(){const{form:St}=de.useContext(b.q3);return St}const Lt=re;Lt.Item=Ir,Lt.List=nr,Lt.ErrorList=$e,Lt.useForm=Dt,Lt.useFormInstance=rr,Lt.useWatch=at.useWatch,Lt.Provider=b.RV,Lt.create=()=>{};var Qt=Lt},4875:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return mn}});var b=E(59301),We=E(84105),de=E(87395),Ke=E(92310),De=E.n(Ke),ve=E(54476),ye=E(20068),fe=E(76190),xe=E(42978),ue=E(75931),Fe=E(67732),Ce=E(83652);function Te(){return typeof BigInt=="function"}function we(vt){return!vt&&vt!==0&&!Number.isNaN(vt)||!String(vt).trim()}function Me(vt){var Mt=vt.trim(),Yt=Mt.startsWith("-");Yt&&(Mt=Mt.slice(1)),Mt=Mt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Mt.startsWith(".")&&(Mt="0".concat(Mt));var sn=Mt||"0",xn=sn.split("."),Ln=xn[0]||"0",Xn=xn[1]||"0";Ln==="0"&&Xn==="0"&&(Yt=!1);var Jn=Yt?"-":"";return{negative:Yt,negativeStr:Jn,trimStr:sn,integerStr:Ln,decimalStr:Xn,fullStr:"".concat(Jn).concat(sn)}}function ge(vt){var Mt=String(vt);return!Number.isNaN(Number(Mt))&&Mt.includes("e")}function Ae(vt){var Mt=String(vt);if(ge(vt)){var Yt=Number(Mt.slice(Mt.indexOf("e-")+2)),sn=Mt.match(/\.(\d+)/);return sn!=null&&sn[1]&&(Yt+=sn[1].length),Yt}return Mt.includes(".")&&Re(Mt)?Mt.length-Mt.indexOf(".")-1:0}function Pe(vt){var Mt=String(vt);if(ge(vt)){if(vt>Number.MAX_SAFE_INTEGER)return String(Te()?BigInt(vt).toString():Number.MAX_SAFE_INTEGER);if(vt<Number.MIN_SAFE_INTEGER)return String(Te()?BigInt(vt).toString():Number.MIN_SAFE_INTEGER);Mt=vt.toFixed(Ae(Mt))}return Me(Mt).fullStr}function Re(vt){return typeof vt=="number"?!Number.isNaN(vt):vt?/^\s*-?\d+(\.\d+)?\s*$/.test(vt)||/^\s*-?\d+\.\s*$/.test(vt)||/^\s*-?\.\d+\s*$/.test(vt):!1}var tt=function(){function vt(Mt){if((0,Fe.Z)(this,vt),(0,ye.Z)(this,"origin",""),(0,ye.Z)(this,"negative",void 0),(0,ye.Z)(this,"integer",void 0),(0,ye.Z)(this,"decimal",void 0),(0,ye.Z)(this,"decimalLen",void 0),(0,ye.Z)(this,"empty",void 0),(0,ye.Z)(this,"nan",void 0),we(Mt)){this.empty=!0;return}if(this.origin=String(Mt),Mt==="-"||Number.isNaN(Mt)){this.nan=!0;return}var Yt=Mt;if(ge(Yt)&&(Yt=Number(Yt)),Yt=typeof Yt=="string"?Yt:Pe(Yt),Re(Yt)){var sn=Me(Yt);this.negative=sn.negative;var xn=sn.trimStr.split(".");this.integer=BigInt(xn[0]);var Ln=xn[1]||"0";this.decimal=BigInt(Ln),this.decimalLen=Ln.length}else this.nan=!0}return(0,Ce.Z)(vt,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Yt){var sn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Yt,"0"));return BigInt(sn)}},{key:"negate",value:function(){var Yt=new vt(this.toString());return Yt.negative=!Yt.negative,Yt}},{key:"cal",value:function(Yt,sn,xn){var Ln=Math.max(this.getDecimalStr().length,Yt.getDecimalStr().length),Xn=this.alignDecimal(Ln),Jn=Yt.alignDecimal(Ln),Bn=sn(Xn,Jn).toString(),Un=xn(Ln),Wt=Me(Bn),Ot=Wt.negativeStr,ln=Wt.trimStr,en="".concat(Ot).concat(ln.padStart(Un+1,"0"));return new vt("".concat(en.slice(0,-Un),".").concat(en.slice(-Un)))}},{key:"add",value:function(Yt){if(this.isInvalidate())return new vt(Yt);var sn=new vt(Yt);return sn.isInvalidate()?this:this.cal(sn,function(xn,Ln){return xn+Ln},function(xn){return xn})}},{key:"multi",value:function(Yt){var sn=new vt(Yt);return this.isInvalidate()||sn.isInvalidate()?new vt(NaN):this.cal(sn,function(xn,Ln){return xn*Ln},function(xn){return xn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Yt){return this.toString()===(Yt==null?void 0:Yt.toString())}},{key:"lessEquals",value:function(Yt){return this.add(Yt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Yt?this.isInvalidate()?"":Me("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),vt}(),ce=function(){function vt(Mt){if((0,Fe.Z)(this,vt),(0,ye.Z)(this,"origin",""),(0,ye.Z)(this,"number",void 0),(0,ye.Z)(this,"empty",void 0),we(Mt)){this.empty=!0;return}this.origin=String(Mt),this.number=Number(Mt)}return(0,Ce.Z)(vt,[{key:"negate",value:function(){return new vt(-this.toNumber())}},{key:"add",value:function(Yt){if(this.isInvalidate())return new vt(Yt);var sn=Number(Yt);if(Number.isNaN(sn))return this;var xn=this.number+sn;if(xn>Number.MAX_SAFE_INTEGER)return new vt(Number.MAX_SAFE_INTEGER);if(xn<Number.MIN_SAFE_INTEGER)return new vt(Number.MIN_SAFE_INTEGER);var Ln=Math.max(Ae(this.number),Ae(sn));return new vt(xn.toFixed(Ln))}},{key:"multi",value:function(Yt){var sn=Number(Yt);if(this.isInvalidate()||Number.isNaN(sn))return new vt(NaN);var xn=this.number*sn;if(xn>Number.MAX_SAFE_INTEGER)return new vt(Number.MAX_SAFE_INTEGER);if(xn<Number.MIN_SAFE_INTEGER)return new vt(Number.MIN_SAFE_INTEGER);var Ln=Math.max(Ae(this.number),Ae(sn));return new vt(xn.toFixed(Ln))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Yt){return this.toNumber()===(Yt==null?void 0:Yt.toNumber())}},{key:"lessEquals",value:function(Yt){return this.add(Yt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Yt?this.isInvalidate()?"":Pe(this.number):this.origin}}]),vt}();function Oe(vt){return Te()?new tt(vt):new ce(vt)}function Ue(vt,Mt,Yt){var sn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(vt==="")return"";var xn=Me(vt),Ln=xn.negativeStr,Xn=xn.integerStr,Jn=xn.decimalStr,Bn="".concat(Mt).concat(Jn),Un="".concat(Ln).concat(Xn);if(Yt>=0){var Wt=Number(Jn[Yt]);if(Wt>=5&&!sn){var Ot=Oe(vt).add("".concat(Ln,"0.").concat("0".repeat(Yt)).concat(10-Wt));return Ue(Ot.toString(),Mt,Yt,sn)}return Yt===0?Un:"".concat(Un).concat(Mt).concat(Jn.padEnd(Yt,"0").slice(0,Yt))}return Bn===".0"?Un:"".concat(Un).concat(Bn)}var ze=Oe,nt=E(36901),ke=E(34280);function Ve(vt,Mt){return typeof Proxy!="undefined"&&vt?new Proxy(vt,{get:function(sn,xn){if(Mt[xn])return Mt[xn];var Ln=sn[xn];return typeof Ln=="function"?Ln.bind(sn):Ln}}):vt}var et=E(8654),Se=E(48736);function qe(vt,Mt){var Yt=(0,b.useRef)(null);function sn(){try{var Ln=vt.selectionStart,Xn=vt.selectionEnd,Jn=vt.value,Bn=Jn.substring(0,Ln),Un=Jn.substring(Xn);Yt.current={start:Ln,end:Xn,value:Jn,beforeTxt:Bn,afterTxt:Un}}catch(Wt){}}function xn(){if(vt&&Yt.current&&Mt)try{var Ln=vt.value,Xn=Yt.current,Jn=Xn.beforeTxt,Bn=Xn.afterTxt,Un=Xn.start,Wt=Ln.length;if(Ln.startsWith(Jn))Wt=Jn.length;else if(Ln.endsWith(Bn))Wt=Ln.length-Yt.current.afterTxt.length;else{var Ot=Jn[Un-1],ln=Ln.indexOf(Ot,Un-1);ln!==-1&&(Wt=ln+1)}vt.setSelectionRange(Wt,Wt)}catch(en){(0,Se.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(en.message))}}return[sn,xn]}var pe=E(49658),be=function(){var Mt=(0,b.useState)(!1),Yt=(0,xe.Z)(Mt,2),sn=Yt[0],xn=Yt[1];return(0,ke.Z)(function(){xn((0,pe.Z)())},[]),sn},gt=be,$e=E(16089),at=200,bt=600;function Ze(vt){var Mt=vt.prefixCls,Yt=vt.upNode,sn=vt.downNode,xn=vt.upDisabled,Ln=vt.downDisabled,Xn=vt.onStep,Jn=b.useRef(),Bn=b.useRef([]),Un=b.useRef();Un.current=Xn;var Wt=function(){clearTimeout(Jn.current)},Ot=function(Wn,In){Wn.preventDefault(),Wt(),Un.current(In);function ar(){Un.current(In),Jn.current=setTimeout(ar,at)}Jn.current=setTimeout(ar,bt)};b.useEffect(function(){return function(){Wt(),Bn.current.forEach(function(Yn){return $e.Z.cancel(Yn)})}},[]);var ln=gt();if(ln)return null;var en="".concat(Mt,"-handler"),Jt=De()(en,"".concat(en,"-up"),(0,ye.Z)({},"".concat(en,"-up-disabled"),xn)),Sn=De()(en,"".concat(en,"-down"),(0,ye.Z)({},"".concat(en,"-down-disabled"),Ln)),yn=function(){return Bn.current.push((0,$e.Z)(Wt))},Mn={unselectable:"on",role:"button",onMouseUp:yn,onMouseLeave:yn};return b.createElement("div",{className:"".concat(en,"-wrap")},b.createElement("span",(0,ve.Z)({},Mn,{onMouseDown:function(Wn){Ot(Wn,!0)},"aria-label":"Increase Value","aria-disabled":xn,className:Jt}),Yt||b.createElement("span",{unselectable:"on",className:"".concat(Mt,"-handler-up-inner")})),b.createElement("span",(0,ve.Z)({},Mn,{onMouseDown:function(Wn){Ot(Wn,!1)},"aria-label":"Decrease Value","aria-disabled":Ln,className:Sn}),sn||b.createElement("span",{unselectable:"on",className:"".concat(Mt,"-handler-down-inner")})))}function se(vt){var Mt=typeof vt=="number"?Pe(vt):Me(vt).fullStr,Yt=Mt.includes(".");return Yt?Me(Mt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:vt+"0"}var Be=E(30292),Je=function(){var vt=(0,b.useRef)(0),Mt=function(){$e.Z.cancel(vt.current)};return(0,b.useEffect)(function(){return Mt},[]),function(Yt){Mt(),vt.current=(0,$e.Z)(function(){Yt()})}},lt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],Ee=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],je=function(Mt,Yt){return Mt||Yt.isEmpty()?Yt.toString():Yt.toNumber()},rt=function(Mt){var Yt=ze(Mt);return Yt.isInvalidate()?null:Yt},xt=b.forwardRef(function(vt,Mt){var Yt=vt.prefixCls,sn=vt.className,xn=vt.style,Ln=vt.min,Xn=vt.max,Jn=vt.step,Bn=Jn===void 0?1:Jn,Un=vt.defaultValue,Wt=vt.value,Ot=vt.disabled,ln=vt.readOnly,en=vt.upHandler,Jt=vt.downHandler,Sn=vt.keyboard,yn=vt.changeOnWheel,Mn=yn===void 0?!1:yn,Yn=vt.controls,Wn=Yn===void 0?!0:Yn,In=vt.classNames,ar=vt.stringMode,tr=vt.parser,Rr=vt.formatter,Ir=vt.precision,En=vt.decimalSeparator,kn=vt.onChange,nr=vt.onInput,rr=vt.onPressEnter,Lt=vt.onStep,Qt=vt.changeOnBlur,St=Qt===void 0?!0:Qt,Zt=vt.domRef,At=(0,ue.Z)(vt,lt),Ht="".concat(Yt,"-input"),ht=b.useRef(null),Xt=b.useState(!1),tn=(0,xe.Z)(Xt,2),dn=tn[0],Ut=tn[1],jt=b.useRef(!1),Gt=b.useRef(!1),an=b.useRef(!1),zn=b.useState(function(){return ze(Wt!=null?Wt:Un)}),Rn=(0,xe.Z)(zn,2),Vn=Rn[0],Mr=Rn[1];function zr(cr){Wt===void 0&&Mr(cr)}var Xr=b.useCallback(function(cr,Qn){if(!Qn)return Ir>=0?Ir:Math.max(Ae(cr),Ae(Bn))},[Ir,Bn]),Pr=b.useCallback(function(cr){var Qn=String(cr);if(tr)return tr(Qn);var Wr=Qn;return En&&(Wr=Wr.replace(En,".")),Wr.replace(/[^\w.-]+/g,"")},[tr,En]),gr=b.useRef(""),Ar=b.useCallback(function(cr,Qn){if(Rr)return Rr(cr,{userTyping:Qn,input:String(gr.current)});var Wr=typeof cr=="number"?Pe(cr):cr;if(!Qn){var qr=Xr(Wr,Qn);if(Re(Wr)&&(En||qr>=0)){var ir=En||".";Wr=Ue(Wr,ir,qr)}}return Wr},[Rr,Xr,En]),Vr=b.useState(function(){var cr=Un!=null?Un:Wt;return Vn.isInvalidate()&&["string","number"].includes((0,fe.Z)(cr))?Number.isNaN(cr)?"":cr:Ar(Vn.toString(),!1)}),ni=(0,xe.Z)(Vr,2),ri=ni[0],ai=ni[1];gr.current=ri;function Dr(cr,Qn){ai(Ar(cr.isInvalidate()?cr.toString(!1):cr.toString(!Qn),Qn))}var Jr=b.useMemo(function(){return rt(Xn)},[Xn,Ir]),$r=b.useMemo(function(){return rt(Ln)},[Ln,Ir]),Ri=b.useMemo(function(){return!Jr||!Vn||Vn.isInvalidate()?!1:Jr.lessEquals(Vn)},[Jr,Vn]),Hi=b.useMemo(function(){return!$r||!Vn||Vn.isInvalidate()?!1:Vn.lessEquals($r)},[$r,Vn]),Zi=qe(ht.current,dn),zi=(0,xe.Z)(Zi,2),Ji=zi[0],wi=zi[1],Mi=function(Qn){return Jr&&!Qn.lessEquals(Jr)?Jr:$r&&!$r.lessEquals(Qn)?$r:null},fi=function(Qn){return!Mi(Qn)},$i=function(Qn,Wr){var qr=Qn,ir=fi(qr)||qr.isEmpty();if(!qr.isEmpty()&&!Wr&&(qr=Mi(qr)||qr,ir=!0),!ln&&!Ot&&ir){var Gn=qr.toString(),Cr=Xr(Gn,Wr);return Cr>=0&&(qr=ze(Ue(Gn,".",Cr)),fi(qr)||(qr=ze(Ue(Gn,".",Cr,!0)))),qr.equals(Vn)||(zr(qr),kn==null||kn(qr.isEmpty()?null:je(ar,qr)),Wt===void 0&&Dr(qr,Wr)),qr}return Vn},oo=Je(),Ro=function cr(Qn){if(Ji(),gr.current=Qn,ai(Qn),!Gt.current){var Wr=Pr(Qn),qr=ze(Wr);qr.isNaN()||$i(qr,!0)}nr==null||nr(Qn),oo(function(){var ir=Qn;tr||(ir=Qn.replace(/。/g,".")),ir!==Qn&&cr(ir)})},fo=function(){Gt.current=!0},bo=function(){Gt.current=!1,Ro(ht.current.value)},co=function(Qn){Ro(Qn.target.value)},yo=function(Qn){var Wr;if(!(Qn&&Ri||!Qn&&Hi)){jt.current=!1;var qr=ze(an.current?se(Bn):Bn);Qn||(qr=qr.negate());var ir=(Vn||ze(0)).add(qr.toString()),Gn=$i(ir,!1);Lt==null||Lt(je(ar,Gn),{offset:an.current?se(Bn):Bn,type:Qn?"up":"down"}),(Wr=ht.current)===null||Wr===void 0||Wr.focus()}},Fi=function(Qn){var Wr=ze(Pr(ri)),qr;Wr.isNaN()?qr=$i(Vn,Qn):qr=$i(Wr,Qn),Wt!==void 0?Dr(Vn,!1):qr.isNaN()||Dr(qr,!1)},Ai=function(){jt.current=!0},Yr=function(Qn){var Wr=Qn.key,qr=Qn.shiftKey;jt.current=!0,an.current=qr,Wr==="Enter"&&(Gt.current||(jt.current=!1),Fi(!1),rr==null||rr(Qn)),Sn!==!1&&!Gt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Wr)&&(yo(Wr==="Up"||Wr==="ArrowUp"),Qn.preventDefault())},jn=function(){jt.current=!1,an.current=!1};b.useEffect(function(){if(Mn&&dn){var cr=function(qr){yo(qr.deltaY<0),qr.preventDefault()},Qn=ht.current;if(Qn)return Qn.addEventListener("wheel",cr,{passive:!1}),function(){return Qn.removeEventListener("wheel",cr)}}});var lr=function(){St&&Fi(!1),Ut(!1),jt.current=!1};return(0,ke.o)(function(){Vn.isInvalidate()||Dr(Vn,!1)},[Ir,Rr]),(0,ke.o)(function(){var cr=ze(Wt);Mr(cr);var Qn=ze(Pr(ri));(!cr.equals(Qn)||!jt.current||Rr)&&Dr(cr,jt.current)},[Wt]),(0,ke.o)(function(){Rr&&wi()},[ri]),b.createElement("div",{ref:Zt,className:De()(Yt,sn,(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},"".concat(Yt,"-focused"),dn),"".concat(Yt,"-disabled"),Ot),"".concat(Yt,"-readonly"),ln),"".concat(Yt,"-not-a-number"),Vn.isNaN()),"".concat(Yt,"-out-of-range"),!Vn.isInvalidate()&&!fi(Vn))),style:xn,onFocus:function(){Ut(!0)},onBlur:lr,onKeyDown:Yr,onKeyUp:jn,onCompositionStart:fo,onCompositionEnd:bo,onBeforeInput:Ai},Wn&&b.createElement(Ze,{prefixCls:Yt,upNode:en,downNode:Jt,upDisabled:Ri,downDisabled:Hi,onStep:yo}),b.createElement("div",{className:"".concat(Ht,"-wrap")},b.createElement("input",(0,ve.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Ln,"aria-valuemax":Xn,"aria-valuenow":Vn.isInvalidate()?null:Vn.toString(),step:Bn},At,{ref:(0,et.sQ)(ht,Mt),className:Ht,value:ri,onChange:co,disabled:Ot,readOnly:ln}))))}),ct=b.forwardRef(function(vt,Mt){var Yt=vt.disabled,sn=vt.style,xn=vt.prefixCls,Ln=xn===void 0?"rc-input-number":xn,Xn=vt.value,Jn=vt.prefix,Bn=vt.suffix,Un=vt.addonBefore,Wt=vt.addonAfter,Ot=vt.className,ln=vt.classNames,en=(0,ue.Z)(vt,Ee),Jt=b.useRef(null),Sn=b.useRef(null),yn=b.useRef(null),Mn=function(Wn){yn.current&&(0,Be.nH)(yn.current,Wn)};return b.useImperativeHandle(Mt,function(){return Ve(yn.current,{focus:Mn,nativeElement:Jt.current.nativeElement||Sn.current})}),b.createElement(nt.BaseInput,{className:Ot,triggerFocus:Mn,prefixCls:Ln,value:Xn,disabled:Yt,style:sn,prefix:Jn,suffix:Bn,addonAfter:Wt,addonBefore:Un,classNames:ln,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Jt},b.createElement(xt,(0,ve.Z)({prefixCls:Ln,disabled:Yt,ref:yn,domRef:Sn,className:ln==null?void 0:ln.input},en)))}),wt=ct,ft=wt,It=E(62487),Dt=E(82855),oe=E(48755),ae=E(60840),te=E(2171),x=E(83397),re=E(31756),ne=E(56553),le=E(24971),Ie=E(70045),Le=E(36237),Ye=E(53075),Ge=E(64910),it=E(39082),dt=E(63356),yt=E(56119),ot=E(16931),st=E(51636),Vt=E(17835);const kt=vt=>{var Mt;const Yt=(Mt=vt.handleVisible)!==null&&Mt!==void 0?Mt:"auto",sn=vt.controlHeightSM-vt.lineWidth*2;return Object.assign(Object.assign({},(0,Ge.T)(vt)),{controlWidth:90,handleWidth:sn,handleFontSize:vt.fontSize/2,handleVisible:Yt,handleActiveBg:vt.colorFillAlter,handleBg:vt.colorBgContainer,filledHandleBg:new Vt.FastColor(vt.colorFillSecondary).onBackground(vt.colorBgContainer).toHexString(),handleHoverColor:vt.colorPrimary,handleBorderColor:vt.colorBorder,handleOpacity:Yt===!0?1:0,handleVisibleWidth:Yt===!0?sn:0})},un=(vt,Mt)=>{let{componentCls:Yt,borderRadiusSM:sn,borderRadiusLG:xn}=vt;const Ln=Mt==="lg"?xn:sn;return{[`&-${Mt}`]:{[`${Yt}-handler-wrap`]:{borderStartEndRadius:Ln,borderEndEndRadius:Ln},[`${Yt}-handler-up`]:{borderStartEndRadius:Ln},[`${Yt}-handler-down`]:{borderEndEndRadius:Ln}}}},$t=vt=>{const{componentCls:Mt,lineWidth:Yt,lineType:sn,borderRadius:xn,inputFontSizeSM:Ln,inputFontSizeLG:Xn,controlHeightLG:Jn,controlHeightSM:Bn,colorError:Un,paddingInlineSM:Wt,paddingBlockSM:Ot,paddingBlockLG:ln,paddingInlineLG:en,colorTextDescription:Jt,motionDurationMid:Sn,handleHoverColor:yn,handleOpacity:Mn,paddingInline:Yn,paddingBlock:Wn,handleBg:In,handleActiveBg:ar,colorTextDisabled:tr,borderRadiusSM:Rr,borderRadiusLG:Ir,controlWidth:En,handleBorderColor:kn,filledHandleBg:nr,lineHeightLG:rr,calc:Lt}=vt;return[{[Mt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,dt.Wf)(vt)),(0,Ye.ik)(vt)),{display:"inline-block",width:En,margin:0,padding:0,borderRadius:xn}),(0,it.qG)(vt,{[`${Mt}-handler-wrap`]:{background:In,[`${Mt}-handler-down`]:{borderBlockStart:`${(0,Le.unit)(Yt)} ${sn} ${kn}`}}})),(0,it.H8)(vt,{[`${Mt}-handler-wrap`]:{background:nr,[`${Mt}-handler-down`]:{borderBlockStart:`${(0,Le.unit)(Yt)} ${sn} ${kn}`}},"&:focus-within":{[`${Mt}-handler-wrap`]:{background:In}}})),(0,it.vc)(vt,{[`${Mt}-handler-wrap`]:{background:In,[`${Mt}-handler-down`]:{borderBlockStart:`${(0,Le.unit)(Yt)} ${sn} ${kn}`}}})),(0,it.Mu)(vt)),{"&-rtl":{direction:"rtl",[`${Mt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Xn,lineHeight:rr,borderRadius:Ir,[`input${Mt}-input`]:{height:Lt(Jn).sub(Lt(Yt).mul(2)).equal(),padding:`${(0,Le.unit)(ln)} ${(0,Le.unit)(en)}`}},"&-sm":{padding:0,fontSize:Ln,borderRadius:Rr,[`input${Mt}-input`]:{height:Lt(Bn).sub(Lt(Yt).mul(2)).equal(),padding:`${(0,Le.unit)(Ot)} ${(0,Le.unit)(Wt)}`}},"&-out-of-range":{[`${Mt}-input-wrap`]:{input:{color:Un}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,dt.Wf)(vt)),(0,Ye.s7)(vt)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Mt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Mt}-group-addon`]:{borderRadius:Ir,fontSize:vt.fontSizeLG}},"&-sm":{[`${Mt}-group-addon`]:{borderRadius:Rr}}},(0,it.ir)(vt)),(0,it.S5)(vt)),{[`&:not(${Mt}-compact-first-item):not(${Mt}-compact-last-item)${Mt}-compact-item`]:{[`${Mt}, ${Mt}-group-addon`]:{borderRadius:0}},[`&:not(${Mt}-compact-last-item)${Mt}-compact-first-item`]:{[`${Mt}, ${Mt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Mt}-compact-first-item)${Mt}-compact-last-item`]:{[`${Mt}, ${Mt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Mt}-input`]:{cursor:"not-allowed"},[Mt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,dt.Wf)(vt)),{width:"100%",padding:`${(0,Le.unit)(Wn)} ${(0,Le.unit)(Yn)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:xn,outline:0,transition:`all ${Sn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Ye.nz)(vt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Mt}-handler-wrap, &-focused ${Mt}-handler-wrap`]:{width:vt.handleWidth,opacity:1}})},{[Mt]:Object.assign(Object.assign(Object.assign({[`${Mt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:vt.handleVisibleWidth,opacity:Mn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:xn,borderEndEndRadius:xn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Sn}`,overflow:"hidden",[`${Mt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Mt}-handler-up-inner,
|
|
|
${Mt}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:vt.handleFontSize}}},[`${Mt}-handler`]:{height:"50%",overflow:"hidden",color:Jt,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,Le.unit)(Yt)} ${sn} ${kn}`,transition:`all ${Sn} linear`,"&:active":{background:ar},"&:hover":{height:"60%",[`
|
|
|
${Mt}-handler-up-inner,
|
|
|
${Mt}-handler-down-inner
|
|
|
`]:{color:yn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,dt.Ro)()),{color:Jt,transition:`all ${Sn} linear`,userSelect:"none"})},[`${Mt}-handler-up`]:{borderStartEndRadius:xn},[`${Mt}-handler-down`]:{borderEndEndRadius:xn}},un(vt,"lg")),un(vt,"sm")),{"&-disabled, &-readonly":{[`${Mt}-handler-wrap`]:{display:"none"},[`${Mt}-input`]:{color:"inherit"}},[`
|
|
|
${Mt}-handler-up-disabled,
|
|
|
${Mt}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Mt}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Mt}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:tr}})}]},Rt=vt=>{const{componentCls:Mt,paddingBlock:Yt,paddingInline:sn,inputAffixPadding:xn,controlWidth:Ln,borderRadiusLG:Xn,borderRadiusSM:Jn,paddingInlineLG:Bn,paddingInlineSM:Un,paddingBlockLG:Wt,paddingBlockSM:Ot,motionDurationMid:ln}=vt;return{[`${Mt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Mt}-input`]:{padding:`${(0,Le.unit)(Yt)} 0`}},(0,Ye.ik)(vt)),{position:"relative",display:"inline-flex",alignItems:"center",width:Ln,padding:0,paddingInlineStart:sn,"&-lg":{borderRadius:Xn,paddingInlineStart:Bn,[`input${Mt}-input`]:{padding:`${(0,Le.unit)(Wt)} 0`}},"&-sm":{borderRadius:Jn,paddingInlineStart:Un,[`input${Mt}-input`]:{padding:`${(0,Le.unit)(Ot)} 0`}},[`&:not(${Mt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Mt}-disabled`]:{background:"transparent"},[`> div${Mt}`]:{width:"100%",border:"none",outline:"none",[`&${Mt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Mt}-handler-wrap`]:{zIndex:2},[Mt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:xn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:sn,marginInlineStart:xn,transition:`margin ${ln}`}},[`&:hover ${Mt}-handler-wrap, &-focused ${Mt}-handler-wrap`]:{width:vt.handleWidth,opacity:1},[`&:not(${Mt}-affix-wrapper-without-controls):hover ${Mt}-suffix`]:{marginInlineEnd:vt.calc(vt.handleWidth).add(sn).equal()}})}};var Kt=(0,ot.I$)("InputNumber",vt=>{const Mt=(0,st.mergeToken)(vt,(0,Ge.e)(vt));return[$t(Mt),Rt(Mt),(0,yt.c)(Mt)]},kt,{unitless:{handleOpacity:!0}}),qt=function(vt,Mt){var Yt={};for(var sn in vt)Object.prototype.hasOwnProperty.call(vt,sn)&&Mt.indexOf(sn)<0&&(Yt[sn]=vt[sn]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,sn=Object.getOwnPropertySymbols(vt);xn<sn.length;xn++)Mt.indexOf(sn[xn])<0&&Object.prototype.propertyIsEnumerable.call(vt,sn[xn])&&(Yt[sn[xn]]=vt[sn[xn]]);return Yt};const Et=b.forwardRef((vt,Mt)=>{const{getPrefixCls:Yt,direction:sn}=b.useContext(oe.E_),xn=b.useRef(null);b.useImperativeHandle(Mt,()=>xn.current);const{className:Ln,rootClassName:Xn,size:Jn,disabled:Bn,prefixCls:Un,addonBefore:Wt,addonAfter:Ot,prefix:ln,suffix:en,bordered:Jt,readOnly:Sn,status:yn,controls:Mn,variant:Yn}=vt,Wn=qt(vt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),In=Yt("input-number",Un),ar=(0,x.Z)(In),[tr,Rr,Ir]=Kt(In,ar),{compactSize:En,compactItemClassnames:kn}=(0,Ie.ri)(In,sn);let nr=b.createElement(de.Z,{className:`${In}-handler-up-inner`}),rr=b.createElement(We.Z,{className:`${In}-handler-down-inner`});const Lt=typeof Mn=="boolean"?Mn:void 0;typeof Mn=="object"&&(nr=typeof Mn.upIcon=="undefined"?nr:b.createElement("span",{className:`${In}-handler-up-inner`},Mn.upIcon),rr=typeof Mn.downIcon=="undefined"?rr:b.createElement("span",{className:`${In}-handler-down-inner`},Mn.downIcon));const{hasFeedback:Qt,status:St,isFormItemInput:Zt,feedbackIcon:At}=b.useContext(ne.aM),Ht=(0,Dt.F)(St,yn),ht=(0,re.Z)(Rn=>{var Vn;return(Vn=Jn!=null?Jn:En)!==null&&Vn!==void 0?Vn:Rn}),Xt=b.useContext(te.Z),tn=Bn!=null?Bn:Xt,[dn,Ut]=(0,le.Z)("inputNumber",Yn,Jt),jt=Qt&&b.createElement(b.Fragment,null,At),Gt=De()({[`${In}-lg`]:ht==="large",[`${In}-sm`]:ht==="small",[`${In}-rtl`]:sn==="rtl",[`${In}-in-form-item`]:Zt},Rr),an=`${In}-group`,zn=b.createElement(ft,Object.assign({ref:xn,disabled:tn,className:De()(Ir,ar,Ln,Xn,kn),upHandler:nr,downHandler:rr,prefixCls:In,readOnly:Sn,controls:Lt,prefix:ln,suffix:jt||en,addonBefore:Wt&&b.createElement(It.Z,{form:!0,space:!0},Wt),addonAfter:Ot&&b.createElement(It.Z,{form:!0,space:!0},Ot),classNames:{input:Gt,variant:De()({[`${In}-${dn}`]:Ut},(0,Dt.Z)(In,Ht,Qt)),affixWrapper:De()({[`${In}-affix-wrapper-sm`]:ht==="small",[`${In}-affix-wrapper-lg`]:ht==="large",[`${In}-affix-wrapper-rtl`]:sn==="rtl",[`${In}-affix-wrapper-without-controls`]:Mn===!1||tn},Rr),wrapper:De()({[`${an}-rtl`]:sn==="rtl"},Rr),groupWrapper:De()({[`${In}-group-wrapper-sm`]:ht==="small",[`${In}-group-wrapper-lg`]:ht==="large",[`${In}-group-wrapper-rtl`]:sn==="rtl",[`${In}-group-wrapper-${dn}`]:Ut},(0,Dt.Z)(`${In}-group-wrapper`,Ht,Qt),Rr)}},Wn));return tr(zn)}),Tt=Et,on=vt=>b.createElement(ae.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(Et,Object.assign({},vt)));Tt._InternalPanelDoNotUseOrYouWillBeFired=on;var mn=Tt},49397:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return ce}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(36901),De=E(8654),ve=E(62487),ye=E(86013),fe=E(82855),xe=E(48755),ue=E(2171),Fe=E(83397),Ce=E(31756),Te=E(56553),we=E(24971),Me=E(70045),ge=E(23826),Ae=E(53075);function Pe(Oe){return!!(Oe.prefix||Oe.suffix||Oe.allowClear||Oe.showCount)}var Re=function(Oe,Ue){var ze={};for(var nt in Oe)Object.prototype.hasOwnProperty.call(Oe,nt)&&Ue.indexOf(nt)<0&&(ze[nt]=Oe[nt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,nt=Object.getOwnPropertySymbols(Oe);ke<nt.length;ke++)Ue.indexOf(nt[ke])<0&&Object.prototype.propertyIsEnumerable.call(Oe,nt[ke])&&(ze[nt[ke]]=Oe[nt[ke]]);return ze},ce=(0,b.forwardRef)((Oe,Ue)=>{const{prefixCls:ze,bordered:nt=!0,status:ke,size:Ve,disabled:et,onBlur:Se,onFocus:qe,suffix:pe,allowClear:be,addonAfter:gt,addonBefore:$e,className:at,style:bt,styles:Ze,rootClassName:se,onChange:Be,classNames:Je,variant:lt}=Oe,Ee=Re(Oe,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:je,direction:rt,allowClear:xt,autoComplete:ct,className:wt,style:ft,classNames:It,styles:Dt}=(0,xe.dj)("input"),oe=je("input",ze),ae=(0,b.useRef)(null),te=(0,Fe.Z)(oe),[x,re,ne]=(0,Ae.TI)(oe,se),[le]=(0,Ae.ZP)(oe,te),{compactSize:Ie,compactItemClassnames:Le}=(0,Me.ri)(oe,rt),Ye=(0,Ce.Z)(mn=>{var vt;return(vt=Ve!=null?Ve:Ie)!==null&&vt!==void 0?vt:mn}),Ge=b.useContext(ue.Z),it=et!=null?et:Ge,{status:dt,hasFeedback:yt,feedbackIcon:ot}=(0,b.useContext)(Te.aM),st=(0,fe.F)(dt,ke),Vt=Pe(Oe)||!!yt,kt=(0,b.useRef)(Vt),un=(0,ge.Z)(ae,!0),$t=mn=>{un(),Se==null||Se(mn)},Rt=mn=>{un(),qe==null||qe(mn)},Kt=mn=>{un(),Be==null||Be(mn)},qt=(yt||pe)&&b.createElement(b.Fragment,null,pe,yt&&ot),Et=(0,ye.Z)(be!=null?be:xt),[Tt,on]=(0,we.Z)("input",lt,nt);return x(le(b.createElement(Ke.default,Object.assign({ref:(0,De.sQ)(Ue,ae),prefixCls:oe,autoComplete:ct},Ee,{disabled:it,onBlur:$t,onFocus:Rt,style:Object.assign(Object.assign({},ft),bt),styles:Object.assign(Object.assign({},Dt),Ze),suffix:qt,allowClear:Et,className:de()(at,se,ne,te,Le,wt),onChange:Kt,addonBefore:$e&&b.createElement(ve.Z,{form:!0,space:!0},$e),addonAfter:gt&&b.createElement(ve.Z,{form:!0,space:!0},gt),classNames:Object.assign(Object.assign(Object.assign({},Je),It),{input:de()({[`${oe}-sm`]:Ye==="small",[`${oe}-lg`]:Ye==="large",[`${oe}-rtl`]:rt==="rtl"},Je==null?void 0:Je.input,It.input,re),variant:de()({[`${oe}-${Tt}`]:on},(0,fe.Z)(oe,st)),affixWrapper:de()({[`${oe}-affix-wrapper-sm`]:Ye==="small",[`${oe}-affix-wrapper-lg`]:Ye==="large",[`${oe}-affix-wrapper-rtl`]:rt==="rtl"},re),wrapper:de()({[`${oe}-group-rtl`]:rt==="rtl"},re),groupWrapper:de()({[`${oe}-group-wrapper-sm`]:Ye==="small",[`${oe}-group-wrapper-lg`]:Ye==="large",[`${oe}-group-wrapper-rtl`]:rt==="rtl",[`${oe}-group-wrapper-${Tt}`]:on},(0,fe.Z)(`${oe}-group-wrapper`,st,yt),re)})}))))})},79809:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Ue}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(22711),De=E(86013),ve=E(82855),ye=E(48755),fe=E(2171),xe=E(83397),ue=E(31756),Fe=E(56553),Ce=E(24971),Te=E(70045),we=E(30292),Me=E(53075),ge=E(16931),Ae=E(51636),Pe=E(64910);const Re=ze=>{const{componentCls:nt,paddingLG:ke}=ze,Ve=`${nt}-textarea`;return{[`textarea${nt}`]:{maxWidth:"100%",height:"auto",minHeight:ze.controlHeight,lineHeight:ze.lineHeight,verticalAlign:"bottom",transition:`all ${ze.motionDurationSlow}`,resize:"vertical",[`&${nt}-mouse-active`]:{transition:`all ${ze.motionDurationSlow}, height 0s, width 0s`}},[`${nt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Ve]:{position:"relative","&-show-count":{[`> ${nt}`]:{height:"100%"},[`${nt}-data-count`]:{position:"absolute",bottom:ze.calc(ze.fontSize).mul(ze.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:ze.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${nt},
|
|
|
&-affix-wrapper${Ve}-has-feedback ${nt}
|
|
|
`]:{paddingInlineEnd:ke},[`&-affix-wrapper${nt}-affix-wrapper`]:{padding:0,[`> textarea${nt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:ze.calc(ze.controlHeight).sub(ze.calc(ze.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${nt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${nt}-clear-icon`]:{position:"absolute",insetInlineEnd:ze.paddingInline,insetBlockStart:ze.paddingXS},[`${Ve}-suffix`]:{position:"absolute",top:0,insetInlineEnd:ze.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${nt}-affix-wrapper-sm`]:{[`${nt}-suffix`]:{[`${nt}-clear-icon`]:{insetInlineEnd:ze.paddingInlineSM}}}}}};var tt=(0,ge.I$)(["Input","TextArea"],ze=>{const nt=(0,Ae.mergeToken)(ze,(0,Pe.e)(ze));return[Re(nt)]},Pe.T,{resetFont:!1}),ce=function(ze,nt){var ke={};for(var Ve in ze)Object.prototype.hasOwnProperty.call(ze,Ve)&&nt.indexOf(Ve)<0&&(ke[Ve]=ze[Ve]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ve=Object.getOwnPropertySymbols(ze);et<Ve.length;et++)nt.indexOf(Ve[et])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ve[et])&&(ke[Ve[et]]=ze[Ve[et]]);return ke},Ue=(0,b.forwardRef)((ze,nt)=>{var ke;const{prefixCls:Ve,bordered:et=!0,size:Se,disabled:qe,status:pe,allowClear:be,classNames:gt,rootClassName:$e,className:at,style:bt,styles:Ze,variant:se,showCount:Be,onMouseDown:Je,onResize:lt}=ze,Ee=ce(ze,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:je,direction:rt,allowClear:xt,autoComplete:ct,className:wt,style:ft,classNames:It,styles:Dt}=(0,ye.dj)("textArea"),oe=b.useContext(fe.Z),ae=qe!=null?qe:oe,{status:te,hasFeedback:x,feedbackIcon:re}=b.useContext(Fe.aM),ne=(0,ve.F)(te,pe),le=b.useRef(null);b.useImperativeHandle(nt,()=>{var on;return{resizableTextArea:(on=le.current)===null||on===void 0?void 0:on.resizableTextArea,focus:mn=>{var vt,Mt;(0,we.nH)((Mt=(vt=le.current)===null||vt===void 0?void 0:vt.resizableTextArea)===null||Mt===void 0?void 0:Mt.textArea,mn)},blur:()=>{var mn;return(mn=le.current)===null||mn===void 0?void 0:mn.blur()}}});const Ie=je("input",Ve),Le=(0,xe.Z)(Ie),[Ye,Ge,it]=(0,Me.TI)(Ie,$e),[dt]=tt(Ie,Le),{compactSize:yt,compactItemClassnames:ot}=(0,Te.ri)(Ie,rt),st=(0,ue.Z)(on=>{var mn;return(mn=Se!=null?Se:yt)!==null&&mn!==void 0?mn:on}),[Vt,kt]=(0,Ce.Z)("textArea",se,et),un=(0,De.Z)(be!=null?be:xt),[$t,Rt]=b.useState(!1),[Kt,qt]=b.useState(!1),Et=on=>{Rt(!0),Je==null||Je(on);const mn=()=>{Rt(!1),document.removeEventListener("mouseup",mn)};document.addEventListener("mouseup",mn)},Tt=on=>{var mn,vt;if(lt==null||lt(on),$t&&typeof getComputedStyle=="function"){const Mt=(vt=(mn=le.current)===null||mn===void 0?void 0:mn.nativeElement)===null||vt===void 0?void 0:vt.querySelector("textarea");Mt&&getComputedStyle(Mt).resize==="both"&&qt(!0)}};return Ye(dt(b.createElement(Ke.default,Object.assign({autoComplete:ct},Ee,{style:Object.assign(Object.assign({},ft),bt),styles:Object.assign(Object.assign({},Dt),Ze),disabled:ae,allowClear:un,className:de()(it,Le,at,$e,ot,wt,Kt&&`${Ie}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},gt),It),{textarea:de()({[`${Ie}-sm`]:st==="small",[`${Ie}-lg`]:st==="large"},Ge,gt==null?void 0:gt.textarea,It.textarea,$t&&`${Ie}-mouse-active`),variant:de()({[`${Ie}-${Vt}`]:kt},(0,ve.Z)(Ie,ne)),affixWrapper:de()(`${Ie}-textarea-affix-wrapper`,{[`${Ie}-affix-wrapper-rtl`]:rt==="rtl",[`${Ie}-affix-wrapper-sm`]:st==="small",[`${Ie}-affix-wrapper-lg`]:st==="large",[`${Ie}-textarea-show-count`]:Be||((ke=ze.count)===null||ke===void 0?void 0:ke.show)},Ge)}),prefixCls:Ie,suffix:x&&b.createElement("span",{className:`${Ie}-textarea-suffix`},re),showCount:Be,ref:le,onResize:Tt,onMouseDown:Et}))))})},23826:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return We}});var b=E(59301);function We(de,Ke){const De=(0,b.useRef)([]),ve=()=>{De.current.push(setTimeout(()=>{var ye,fe,xe,ue;!((ye=de.current)===null||ye===void 0)&&ye.input&&((fe=de.current)===null||fe===void 0?void 0:fe.input.getAttribute("type"))==="password"&&(!((xe=de.current)===null||xe===void 0)&&xe.input.hasAttribute("value"))&&((ue=de.current)===null||ue===void 0||ue.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(Ke&&ve(),()=>De.current.forEach(ye=>{ye&&clearTimeout(ye)})),[]),ve}},37568:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return It}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(48755),De=E(56553),ve=E(53075),fe=Dt=>{const{getPrefixCls:oe,direction:ae}=(0,b.useContext)(Ke.E_),{prefixCls:te,className:x}=Dt,re=oe("input-group",te),ne=oe("input"),[le,Ie,Le]=(0,ve.ZP)(ne),Ye=de()(re,Le,{[`${re}-lg`]:Dt.size==="large",[`${re}-sm`]:Dt.size==="small",[`${re}-compact`]:Dt.compact,[`${re}-rtl`]:ae==="rtl"},Ie,x),Ge=(0,b.useContext)(De.aM),it=(0,b.useMemo)(()=>Object.assign(Object.assign({},Ge),{isFormItemInput:!1}),[Ge]);return le(b.createElement("span",{className:Ye,style:Dt.style,onMouseEnter:Dt.onMouseEnter,onMouseLeave:Dt.onMouseLeave,onFocus:Dt.onFocus,onBlur:Dt.onBlur},b.createElement(De.aM.Provider,{value:it},Dt.children)))},xe=E(49397),ue=E(94480),Fe=E(6089),Ce=E(26112),Te=E(82855),we=E(31756),Me=E(16931),ge=E(51636),Ae=E(64910);const Pe=Dt=>{const{componentCls:oe,paddingXS:ae}=Dt;return{[oe]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ae,"&-rtl":{direction:"rtl"},[`${oe}-input`]:{textAlign:"center",paddingInline:Dt.paddingXXS},[`&${oe}-sm ${oe}-input`]:{paddingInline:Dt.calc(Dt.paddingXXS).div(2).equal()},[`&${oe}-lg ${oe}-input`]:{paddingInline:Dt.paddingXS}}}};var Re=(0,Me.I$)(["Input","OTP"],Dt=>{const oe=(0,ge.mergeToken)(Dt,(0,Ae.e)(Dt));return[Pe(oe)]},Ae.T),tt=E(16089),ce=function(Dt,oe){var ae={};for(var te in Dt)Object.prototype.hasOwnProperty.call(Dt,te)&&oe.indexOf(te)<0&&(ae[te]=Dt[te]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,te=Object.getOwnPropertySymbols(Dt);x<te.length;x++)oe.indexOf(te[x])<0&&Object.prototype.propertyIsEnumerable.call(Dt,te[x])&&(ae[te[x]]=Dt[te[x]]);return ae},Ue=b.forwardRef((Dt,oe)=>{const{value:ae,onChange:te,onActiveChange:x,index:re,mask:ne}=Dt,le=ce(Dt,["value","onChange","onActiveChange","index","mask"]),Ie=ae&&typeof ne=="string"?ne:ae,Le=yt=>{te(re,yt.target.value)},Ye=b.useRef(null);b.useImperativeHandle(oe,()=>Ye.current);const Ge=()=>{(0,tt.Z)(()=>{var yt;const ot=(yt=Ye.current)===null||yt===void 0?void 0:yt.input;document.activeElement===ot&&ot&&ot.select()})},it=yt=>{const{key:ot,ctrlKey:st,metaKey:Vt}=yt;ot==="ArrowLeft"?x(re-1):ot==="ArrowRight"?x(re+1):ot==="z"&&(st||Vt)&&yt.preventDefault(),Ge()},dt=yt=>{yt.key==="Backspace"&&!ae&&x(re-1),Ge()};return b.createElement(xe.Z,Object.assign({type:ne===!0?"password":"text"},le,{ref:Ye,value:Ie,onInput:Le,onFocus:Ge,onKeyDown:it,onKeyUp:dt,onMouseDown:Ge,onMouseUp:Ge}))}),ze=function(Dt,oe){var ae={};for(var te in Dt)Object.prototype.hasOwnProperty.call(Dt,te)&&oe.indexOf(te)<0&&(ae[te]=Dt[te]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,te=Object.getOwnPropertySymbols(Dt);x<te.length;x++)oe.indexOf(te[x])<0&&Object.prototype.propertyIsEnumerable.call(Dt,te[x])&&(ae[te[x]]=Dt[te[x]]);return ae};function nt(Dt){return(Dt||"").split("")}const ke=Dt=>{const{index:oe,prefixCls:ae,separator:te}=Dt,x=typeof te=="function"?te(oe):te;return x?b.createElement("span",{className:`${ae}-separator`},x):null};var et=b.forwardRef((Dt,oe)=>{const{prefixCls:ae,length:te=6,size:x,defaultValue:re,value:ne,onChange:le,formatter:Ie,separator:Le,variant:Ye,disabled:Ge,status:it,autoFocus:dt,mask:yt,type:ot,onInput:st,inputMode:Vt}=Dt,kt=ze(Dt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:un,direction:$t}=b.useContext(Ke.E_),Rt=un("otp",ae),Kt=(0,Ce.Z)(kt,{aria:!0,data:!0,attr:!0}),[qt,Et,Tt]=Re(Rt),on=(0,we.Z)(ln=>x!=null?x:ln),mn=b.useContext(De.aM),vt=(0,Te.F)(mn.status,it),Mt=b.useMemo(()=>Object.assign(Object.assign({},mn),{status:vt,hasFeedback:!1,feedbackIcon:null}),[mn,vt]),Yt=b.useRef(null),sn=b.useRef({});b.useImperativeHandle(oe,()=>({focus:()=>{var ln;(ln=sn.current[0])===null||ln===void 0||ln.focus()},blur:()=>{var ln;for(let en=0;en<te;en+=1)(ln=sn.current[en])===null||ln===void 0||ln.blur()},nativeElement:Yt.current}));const xn=ln=>Ie?Ie(ln):ln,[Ln,Xn]=b.useState(()=>nt(xn(re||"")));b.useEffect(()=>{ne!==void 0&&Xn(nt(ne))},[ne]);const Jn=(0,Fe.Z)(ln=>{Xn(ln),st&&st(ln),le&&ln.length===te&&ln.every(en=>en)&&ln.some((en,Jt)=>Ln[Jt]!==en)&&le(ln.join(""))}),Bn=(0,Fe.Z)((ln,en)=>{let Jt=(0,ue.Z)(Ln);for(let yn=0;yn<ln;yn+=1)Jt[yn]||(Jt[yn]="");en.length<=1?Jt[ln]=en:Jt=Jt.slice(0,ln).concat(nt(en)),Jt=Jt.slice(0,te);for(let yn=Jt.length-1;yn>=0&&!Jt[yn];yn-=1)Jt.pop();const Sn=xn(Jt.map(yn=>yn||" ").join(""));return Jt=nt(Sn).map((yn,Mn)=>yn===" "&&!Jt[Mn]?Jt[Mn]:yn),Jt}),Un=(ln,en)=>{var Jt;const Sn=Bn(ln,en),yn=Math.min(ln+en.length,te-1);yn!==ln&&Sn[ln]!==void 0&&((Jt=sn.current[yn])===null||Jt===void 0||Jt.focus()),Jn(Sn)},Wt=ln=>{var en;(en=sn.current[ln])===null||en===void 0||en.focus()},Ot={variant:Ye,disabled:Ge,status:vt,mask:yt,type:ot,inputMode:Vt};return qt(b.createElement("div",Object.assign({},Kt,{ref:Yt,className:de()(Rt,{[`${Rt}-sm`]:on==="small",[`${Rt}-lg`]:on==="large",[`${Rt}-rtl`]:$t==="rtl"},Tt,Et)}),b.createElement(De.aM.Provider,{value:Mt},Array.from({length:te}).map((ln,en)=>{const Jt=`otp-${en}`,Sn=Ln[en]||"";return b.createElement(b.Fragment,{key:Jt},b.createElement(Ue,Object.assign({ref:yn=>{sn.current[en]=yn},index:en,size:on,htmlSize:1,className:`${Rt}-input`,onChange:Un,value:Sn,onActiveChange:Wt,autoFocus:en===0&&dt},Ot)),en<te-1&&b.createElement(ke,{separator:Le,index:en,prefixCls:Rt}))}))))}),Se=E(73331),qe=E(15277),pe=E(2738),be=E(8654),gt=E(2171),$e=E(23826),at=function(Dt,oe){var ae={};for(var te in Dt)Object.prototype.hasOwnProperty.call(Dt,te)&&oe.indexOf(te)<0&&(ae[te]=Dt[te]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,te=Object.getOwnPropertySymbols(Dt);x<te.length;x++)oe.indexOf(te[x])<0&&Object.prototype.propertyIsEnumerable.call(Dt,te[x])&&(ae[te[x]]=Dt[te[x]]);return ae};const bt=Dt=>Dt?b.createElement(qe.Z,null):b.createElement(Se.Z,null),Ze={click:"onClick",hover:"onMouseOver"};var Be=b.forwardRef((Dt,oe)=>{const{disabled:ae,action:te="click",visibilityToggle:x=!0,iconRender:re=bt}=Dt,ne=b.useContext(gt.Z),le=ae!=null?ae:ne,Ie=typeof x=="object"&&x.visible!==void 0,[Le,Ye]=(0,b.useState)(()=>Ie?x.visible:!1),Ge=(0,b.useRef)(null);b.useEffect(()=>{Ie&&Ye(x.visible)},[Ie,x]);const it=(0,$e.Z)(Ge),dt=()=>{var on;if(le)return;Le&&it();const mn=!Le;Ye(mn),typeof x=="object"&&((on=x.onVisibleChange)===null||on===void 0||on.call(x,mn))},yt=on=>{const mn=Ze[te]||"",vt=re(Le),Mt={[mn]:dt,className:`${on}-icon`,key:"passwordIcon",onMouseDown:Yt=>{Yt.preventDefault()},onMouseUp:Yt=>{Yt.preventDefault()}};return b.cloneElement(b.isValidElement(vt)?vt:b.createElement("span",null,vt),Mt)},{className:ot,prefixCls:st,inputPrefixCls:Vt,size:kt}=Dt,un=at(Dt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:$t}=b.useContext(Ke.E_),Rt=$t("input",Vt),Kt=$t("input-password",st),qt=x&&yt(Kt),Et=de()(Kt,ot,{[`${Kt}-${kt}`]:!!kt}),Tt=Object.assign(Object.assign({},(0,pe.Z)(un,["suffix","iconRender","visibilityToggle"])),{type:Le?"text":"password",className:Et,prefixCls:Rt,suffix:qt});return kt&&(Tt.size=kt),b.createElement(xe.Z,Object.assign({ref:(0,be.sQ)(oe,Ge)},Tt))}),Je=E(47472),lt=E(22703),Ee=E(7939),je=E(70045),rt=function(Dt,oe){var ae={};for(var te in Dt)Object.prototype.hasOwnProperty.call(Dt,te)&&oe.indexOf(te)<0&&(ae[te]=Dt[te]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,te=Object.getOwnPropertySymbols(Dt);x<te.length;x++)oe.indexOf(te[x])<0&&Object.prototype.propertyIsEnumerable.call(Dt,te[x])&&(ae[te[x]]=Dt[te[x]]);return ae},ct=b.forwardRef((Dt,oe)=>{const{prefixCls:ae,inputPrefixCls:te,className:x,size:re,suffix:ne,enterButton:le=!1,addonAfter:Ie,loading:Le,disabled:Ye,onSearch:Ge,onChange:it,onCompositionStart:dt,onCompositionEnd:yt}=Dt,ot=rt(Dt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:st,direction:Vt}=b.useContext(Ke.E_),kt=b.useRef(!1),un=st("input-search",ae),$t=st("input",te),{compactSize:Rt}=(0,je.ri)(un,Vt),Kt=(0,we.Z)(Un=>{var Wt;return(Wt=re!=null?re:Rt)!==null&&Wt!==void 0?Wt:Un}),qt=b.useRef(null),Et=Un=>{Un!=null&&Un.target&&Un.type==="click"&&Ge&&Ge(Un.target.value,Un,{source:"clear"}),it==null||it(Un)},Tt=Un=>{var Wt;document.activeElement===((Wt=qt.current)===null||Wt===void 0?void 0:Wt.input)&&Un.preventDefault()},on=Un=>{var Wt,Ot;Ge&&Ge((Ot=(Wt=qt.current)===null||Wt===void 0?void 0:Wt.input)===null||Ot===void 0?void 0:Ot.value,Un,{source:"input"})},mn=Un=>{kt.current||Le||on(Un)},vt=typeof le=="boolean"?b.createElement(Je.Z,null):null,Mt=`${un}-button`;let Yt;const sn=le||{},xn=sn.type&&sn.type.__ANT_BUTTON===!0;xn||sn.type==="button"?Yt=(0,lt.Tm)(sn,Object.assign({onMouseDown:Tt,onClick:Un=>{var Wt,Ot;(Ot=(Wt=sn==null?void 0:sn.props)===null||Wt===void 0?void 0:Wt.onClick)===null||Ot===void 0||Ot.call(Wt,Un),on(Un)},key:"enterButton"},xn?{className:Mt,size:Kt}:{})):Yt=b.createElement(Ee.ZP,{className:Mt,type:le?"primary":void 0,size:Kt,disabled:Ye,key:"enterButton",onMouseDown:Tt,onClick:on,loading:Le,icon:vt},le),Ie&&(Yt=[Yt,(0,lt.Tm)(Ie,{key:"addonAfter"})]);const Ln=de()(un,{[`${un}-rtl`]:Vt==="rtl",[`${un}-${Kt}`]:!!Kt,[`${un}-with-button`]:!!le},x),Xn=Object.assign(Object.assign({},ot),{className:Ln,prefixCls:$t,type:"search"}),Jn=Un=>{kt.current=!0,dt==null||dt(Un)},Bn=Un=>{kt.current=!1,yt==null||yt(Un)};return b.createElement(xe.Z,Object.assign({ref:(0,be.sQ)(qt,oe),onPressEnter:mn},Xn,{size:Kt,onCompositionStart:Jn,onCompositionEnd:Bn,addonAfter:Yt,suffix:ne,onChange:Et,disabled:Ye}))}),wt=E(79809);const ft=xe.Z;ft.Group=fe,ft.Search=ct,ft.TextArea=wt.Z,ft.Password=Be,ft.OTP=et;var It=ft},24303:function(wn,zt,E){"use strict";E.d(zt,{D:function(){return ze},Z:function(){return Ve}});var b=E(59301),We=E(54476),de={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"},Ke=de,De=E(7657),ve=function(Se,qe){return b.createElement(De.Z,(0,We.Z)({},Se,{ref:qe,icon:Ke}))},ye=b.forwardRef(ve),fe=ye,xe=E(33853),ue=E(38819),Fe=E(92310),Ce=E.n(Fe),Te=E(2738),we=E(48755),Me=E(6989),ge=E(36237),Ae=E(48923),Pe=E(16931);const Re=et=>{const{componentCls:Se,siderBg:qe,motionDurationMid:pe,motionDurationSlow:be,antCls:gt,triggerHeight:$e,triggerColor:at,triggerBg:bt,headerHeight:Ze,zeroTriggerWidth:se,zeroTriggerHeight:Be,borderRadiusLG:Je,lightSiderBg:lt,lightTriggerColor:Ee,lightTriggerBg:je,bodyBg:rt}=et;return{[Se]:{position:"relative",minWidth:0,background:qe,transition:`all ${pe}, background 0s`,"&-has-trigger":{paddingBottom:$e},"&-right":{order:1},[`${Se}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${gt}-menu${gt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Se}-children`]:{overflow:"hidden"},[`${Se}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:$e,color:at,lineHeight:(0,ge.unit)($e),textAlign:"center",background:bt,cursor:"pointer",transition:`all ${pe}`},[`${Se}-zero-width-trigger`]:{position:"absolute",top:Ze,insetInlineEnd:et.calc(se).mul(-1).equal(),zIndex:1,width:se,height:Be,color:at,fontSize:et.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:qe,borderRadius:`0 ${(0,ge.unit)(Je)} ${(0,ge.unit)(Je)} 0`,cursor:"pointer",transition:`background ${be} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${be}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:et.calc(se).mul(-1).equal(),borderRadius:`${(0,ge.unit)(Je)} 0 0 ${(0,ge.unit)(Je)}`}},"&-light":{background:lt,[`${Se}-trigger`]:{color:Ee,background:je},[`${Se}-zero-width-trigger`]:{color:Ee,background:je,border:`1px solid ${rt}`,borderInlineStart:0}}}}};var tt=(0,Pe.I$)(["Layout","Sider"],et=>[Re(et)],Ae.eh,{deprecatedTokens:Ae.jn}),ce=function(et,Se){var qe={};for(var pe in et)Object.prototype.hasOwnProperty.call(et,pe)&&Se.indexOf(pe)<0&&(qe[pe]=et[pe]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,pe=Object.getOwnPropertySymbols(et);be<pe.length;be++)Se.indexOf(pe[be])<0&&Object.prototype.propertyIsEnumerable.call(et,pe[be])&&(qe[pe[be]]=et[pe[be]]);return qe};const Oe={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ue=et=>!Number.isNaN(Number.parseFloat(et))&&isFinite(et),ze=b.createContext({}),nt=(()=>{let et=0;return function(){let Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return et+=1,`${Se}${et}`}})();var Ve=b.forwardRef((et,Se)=>{const{prefixCls:qe,className:pe,trigger:be,children:gt,defaultCollapsed:$e=!1,theme:at="dark",style:bt={},collapsible:Ze=!1,reverseArrow:se=!1,width:Be=200,collapsedWidth:Je=80,zeroWidthTriggerStyle:lt,breakpoint:Ee,onCollapse:je,onBreakpoint:rt}=et,xt=ce(et,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ct}=(0,b.useContext)(Me.V),[wt,ft]=(0,b.useState)("collapsed"in et?et.collapsed:$e),[It,Dt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in et&&ft(et.collapsed)},[et.collapsed]);const oe=(Kt,qt)=>{"collapsed"in et||ft(Kt),je==null||je(Kt,qt)},{getPrefixCls:ae,direction:te}=(0,b.useContext)(we.E_),x=ae("layout-sider",qe),[re,ne,le]=tt(x),Ie=(0,b.useRef)(null);Ie.current=Kt=>{Dt(Kt.matches),rt==null||rt(Kt.matches),wt!==Kt.matches&&oe(Kt.matches,"responsive")},(0,b.useEffect)(()=>{function Kt(Et){return Ie.current(Et)}let qt;if(typeof window!="undefined"){const{matchMedia:Et}=window;if(Et&&Ee&&Ee in Oe){qt=Et(`screen and (max-width: ${Oe[Ee]})`);try{qt.addEventListener("change",Kt)}catch(Tt){qt.addListener(Kt)}Kt(qt)}}return()=>{try{qt==null||qt.removeEventListener("change",Kt)}catch(Et){qt==null||qt.removeListener(Kt)}}},[Ee]),(0,b.useEffect)(()=>{const Kt=nt("ant-sider-");return ct.addSider(Kt),()=>ct.removeSider(Kt)},[]);const Le=()=>{oe(!wt,"clickTrigger")},Ye=(0,Te.Z)(xt,["collapsed"]),Ge=wt?Je:Be,it=Ue(Ge)?`${Ge}px`:String(Ge),dt=parseFloat(String(Je||0))===0?b.createElement("span",{onClick:Le,className:Ce()(`${x}-zero-width-trigger`,`${x}-zero-width-trigger-${se?"right":"left"}`),style:lt},be||b.createElement(fe,null)):null,yt=te==="rtl"==!se,Vt={expanded:yt?b.createElement(ue.Z,null):b.createElement(xe.Z,null),collapsed:yt?b.createElement(xe.Z,null):b.createElement(ue.Z,null)}[wt?"collapsed":"expanded"],kt=be!==null?dt||b.createElement("div",{className:`${x}-trigger`,onClick:Le,style:{width:it}},be||Vt):null,un=Object.assign(Object.assign({},bt),{flex:`0 0 ${it}`,maxWidth:it,minWidth:it,width:it}),$t=Ce()(x,`${x}-${at}`,{[`${x}-collapsed`]:!!wt,[`${x}-has-trigger`]:Ze&&be!==null&&!dt,[`${x}-below`]:!!It,[`${x}-zero-width`]:parseFloat(it)===0},pe,ne,le),Rt=b.useMemo(()=>({siderCollapsed:wt}),[wt]);return re(b.createElement(ze.Provider,{value:Rt},b.createElement("aside",Object.assign({className:$t},Ye,{style:un,ref:Se}),b.createElement("div",{className:`${x}-children`},gt),Ze||It&&dt?kt:null)))})},6989:function(wn,zt,E){"use strict";E.d(zt,{V:function(){return We}});var b=E(59301);const We=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(wn,zt,E){"use strict";E.d(zt,{eh:function(){return Ke},jn:function(){return De}});var b=E(36237),We=E(16931);const de=ve=>{const{antCls:ye,componentCls:fe,colorText:xe,footerBg:ue,headerHeight:Fe,headerPadding:Ce,headerColor:Te,footerPadding:we,fontSize:Me,bodyBg:ge,headerBg:Ae}=ve;return{[fe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ge,"&, *":{boxSizing:"border-box"},[`&${fe}-has-sider`]:{flexDirection:"row",[`> ${fe}, > ${fe}-content`]:{width:0}},[`${fe}-header, &${fe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${fe}-header`]:{height:Fe,padding:Ce,color:Te,lineHeight:(0,b.unit)(Fe),background:Ae,[`${ye}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:we,color:xe,fontSize:Me,background:ue},[`${fe}-content`]:{flex:"auto",color:xe,minHeight:0}}},Ke=ve=>{const{colorBgLayout:ye,controlHeight:fe,controlHeightLG:xe,colorText:ue,controlHeightSM:Fe,marginXXS:Ce,colorTextLightSolid:Te,colorBgContainer:we}=ve,Me=xe*1.25;return{colorBgHeader:"#001529",colorBgBody:ye,colorBgTrigger:"#002140",bodyBg:ye,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${Me}px`,headerColor:ue,footerPadding:`${Fe}px ${Me}px`,footerBg:ye,siderBg:"#001529",triggerHeight:xe+Ce*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:xe,zeroTriggerHeight:xe,lightSiderBg:we,lightTriggerBg:we,lightTriggerColor:ue}},De=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];zt.ZP=(0,We.I$)("Layout",ve=>[de(ve)],Ke,{deprecatedTokens:De})},78857:function(wn,zt,E){"use strict";E.d(zt,{J:function(){return ve}});var b=E(59301),We=E(8654),de=E(62487),Ke=function(ye,fe){var xe={};for(var ue in ye)Object.prototype.hasOwnProperty.call(ye,ue)&&fe.indexOf(ue)<0&&(xe[ue]=ye[ue]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,ue=Object.getOwnPropertySymbols(ye);Fe<ue.length;Fe++)fe.indexOf(ue[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ye,ue[Fe])&&(xe[ue[Fe]]=ye[ue[Fe]]);return xe};const De=b.createContext(null),ve=b.forwardRef((ye,fe)=>{const{children:xe}=ye,ue=Ke(ye,["children"]),Fe=b.useContext(De),Ce=b.useMemo(()=>Object.assign(Object.assign({},Fe),ue),[Fe,ue.prefixCls,ue.mode,ue.selectable,ue.rootClassName]),Te=(0,We.t4)(xe),we=(0,We.x1)(fe,Te?(0,We.C4)(xe):null);return b.createElement(De.Provider,{value:Ce},b.createElement(de.Z,{space:!0},Te?b.cloneElement(xe,{ref:we}):xe))});zt.Z=De},93041:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return re}});var b=E(59301),We=E(28321),de=E(24303),Ke=E(18785),De=E(92310),ve=E.n(De),ye=E(6089),fe=E(2738),xe=E(86641),ue=E(22703),Fe=E(48755),Ce=E(83397),we=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Me=function(ne,le){var Ie={};for(var Le in ne)Object.prototype.hasOwnProperty.call(ne,Le)&&le.indexOf(Le)<0&&(Ie[Le]=ne[Le]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Le=Object.getOwnPropertySymbols(ne);Ye<Le.length;Ye++)le.indexOf(Le[Ye])<0&&Object.prototype.propertyIsEnumerable.call(ne,Le[Ye])&&(Ie[Le[Ye]]=ne[Le[Ye]]);return Ie},Ae=ne=>{const{prefixCls:le,className:Ie,dashed:Le}=ne,Ye=Me(ne,["prefixCls","className","dashed"]),{getPrefixCls:Ge}=b.useContext(Fe.E_),it=Ge("menu",le),dt=ve()({[`${it}-item-divider-dashed`]:!!Le},Ie);return b.createElement(We.iz,Object.assign({className:dt},Ye))},Pe=E(11592),Re=E(25399),ce=ne=>{var le;const{className:Ie,children:Le,icon:Ye,title:Ge,danger:it,extra:dt}=ne,{prefixCls:yt,firstLevel:ot,direction:st,disableMenuItemTitleTooltip:Vt,inlineCollapsed:kt}=b.useContext(we),un=Tt=>{const on=Le==null?void 0:Le[0],mn=b.createElement("span",{className:ve()(`${yt}-title-content`,{[`${yt}-title-content-with-extra`]:!!dt||dt===0})},Le);return(!Ye||b.isValidElement(Le)&&Le.type==="span")&&Le&&Tt&&ot&&typeof on=="string"?b.createElement("div",{className:`${yt}-inline-collapsed-noicon`},on.charAt(0)):mn},{siderCollapsed:$t}=b.useContext(de.D);let Rt=Ge;typeof Ge=="undefined"?Rt=ot?Le:"":Ge===!1&&(Rt="");const Kt={title:Rt};!$t&&!kt&&(Kt.title=null,Kt.open=!1);const qt=(0,Pe.Z)(Le).length;let Et=b.createElement(We.ck,Object.assign({},(0,fe.Z)(ne,["title","icon","danger"]),{className:ve()({[`${yt}-item-danger`]:it,[`${yt}-item-only-child`]:(Ye?qt+1:qt)===1},Ie),title:typeof Ge=="string"?Ge:void 0}),(0,ue.Tm)(Ye,{className:ve()(b.isValidElement(Ye)?(le=Ye.props)===null||le===void 0?void 0:le.className:"",`${yt}-item-icon`)}),un(kt));return Vt||(Et=b.createElement(Re.Z,Object.assign({},Kt,{placement:st==="rtl"?"left":"right",classNames:{root:`${yt}-inline-collapsed-tooltip`}}),Et)),Et},Oe=E(78857),Ue=E(36237),ze=E(17835),nt=E(63356),ke=E(34961),Ve=E(46e3),et=E(34925),Se=E(16931),qe=E(51636),be=ne=>{const{componentCls:le,motionDurationSlow:Ie,horizontalLineHeight:Le,colorSplit:Ye,lineWidth:Ge,lineType:it,itemPaddingInline:dt}=ne;return{[`${le}-horizontal`]:{lineHeight:Le,border:0,borderBottom:`${(0,Ue.unit)(Ge)} ${it} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${le}-item, ${le}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:dt},[`> ${le}-item:hover,
|
|
|
> ${le}-item-active,
|
|
|
> ${le}-submenu ${le}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${le}-item, ${le}-submenu-title`]:{transition:[`border-color ${Ie}`,`background ${Ie}`].join(",")},[`${le}-submenu-arrow`]:{display:"none"}}}},$e=ne=>{let{componentCls:le,menuArrowOffset:Ie,calc:Le}=ne;return{[`${le}-rtl`]:{direction:"rtl"},[`${le}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${le}-rtl${le}-vertical,
|
|
|
${le}-submenu-rtl ${le}-vertical`]:{[`${le}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Ue.unit)(Le(Ie).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Ue.unit)(Ie)})`}}}}};const at=ne=>Object.assign({},(0,nt.oN)(ne));var Ze=(ne,le)=>{const{componentCls:Ie,itemColor:Le,itemSelectedColor:Ye,subMenuItemSelectedColor:Ge,groupTitleColor:it,itemBg:dt,subMenuItemBg:yt,itemSelectedBg:ot,activeBarHeight:st,activeBarWidth:Vt,activeBarBorderWidth:kt,motionDurationSlow:un,motionEaseInOut:$t,motionEaseOut:Rt,itemPaddingInline:Kt,motionDurationMid:qt,itemHoverColor:Et,lineType:Tt,colorSplit:on,itemDisabledColor:mn,dangerItemColor:vt,dangerItemHoverColor:Mt,dangerItemSelectedColor:Yt,dangerItemActiveBg:sn,dangerItemSelectedBg:xn,popupBg:Ln,itemHoverBg:Xn,itemActiveBg:Jn,menuSubMenuBg:Bn,horizontalItemSelectedColor:Un,horizontalItemSelectedBg:Wt,horizontalItemBorderRadius:Ot,horizontalItemHoverBg:ln}=ne;return{[`${Ie}-${le}, ${Ie}-${le} > ${Ie}`]:{color:Le,background:dt,[`&${Ie}-root:focus-visible`]:Object.assign({},at(ne)),[`${Ie}-item`]:{"&-group-title, &-extra":{color:it}},[`${Ie}-submenu-selected > ${Ie}-submenu-title`]:{color:Ge},[`${Ie}-item, ${Ie}-submenu-title`]:{color:Le,[`&:not(${Ie}-item-disabled):focus-visible`]:Object.assign({},at(ne))},[`${Ie}-item-disabled, ${Ie}-submenu-disabled`]:{color:`${mn} !important`},[`${Ie}-item:not(${Ie}-item-selected):not(${Ie}-submenu-selected)`]:{[`&:hover, > ${Ie}-submenu-title:hover`]:{color:Et}},[`&:not(${Ie}-horizontal)`]:{[`${Ie}-item:not(${Ie}-item-selected)`]:{"&:hover":{backgroundColor:Xn},"&:active":{backgroundColor:Jn}},[`${Ie}-submenu-title`]:{"&:hover":{backgroundColor:Xn},"&:active":{backgroundColor:Jn}}},[`${Ie}-item-danger`]:{color:vt,[`&${Ie}-item:hover`]:{[`&:not(${Ie}-item-selected):not(${Ie}-submenu-selected)`]:{color:Mt}},[`&${Ie}-item:active`]:{background:sn}},[`${Ie}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ie}-item-selected`]:{color:Ye,[`&${Ie}-item-danger`]:{color:Yt},"a, a:hover":{color:"inherit"}},[`& ${Ie}-item-selected`]:{backgroundColor:ot,[`&${Ie}-item-danger`]:{backgroundColor:xn}},[`&${Ie}-submenu > ${Ie}`]:{backgroundColor:Bn},[`&${Ie}-popup > ${Ie}`]:{backgroundColor:Ln},[`&${Ie}-submenu-popup > ${Ie}`]:{backgroundColor:Ln},[`&${Ie}-horizontal`]:Object.assign(Object.assign({},le==="dark"?{borderBottom:0}:{}),{[`> ${Ie}-item, > ${Ie}-submenu`]:{top:kt,marginTop:ne.calc(kt).mul(-1).equal(),marginBottom:0,borderRadius:Ot,"&::after":{position:"absolute",insetInline:Kt,bottom:0,borderBottom:`${(0,Ue.unit)(st)} solid transparent`,transition:`border-color ${un} ${$t}`,content:'""'},"&:hover, &-active, &-open":{background:ln,"&::after":{borderBottomWidth:st,borderBottomColor:Un}},"&-selected":{color:Un,backgroundColor:Wt,"&:hover":{backgroundColor:Wt},"&::after":{borderBottomWidth:st,borderBottomColor:Un}}}}),[`&${Ie}-root`]:{[`&${Ie}-inline, &${Ie}-vertical`]:{borderInlineEnd:`${(0,Ue.unit)(kt)} ${Tt} ${on}`}},[`&${Ie}-inline`]:{[`${Ie}-sub${Ie}-inline`]:{background:yt},[`${Ie}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Ue.unit)(Vt)} solid ${Ye}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${qt} ${Rt}`,`opacity ${qt} ${Rt}`].join(","),content:'""'},[`&${Ie}-item-danger`]:{"&::after":{borderInlineEndColor:Yt}}},[`${Ie}-selected, ${Ie}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${qt} ${$t}`,`opacity ${qt} ${$t}`].join(",")}}}}}};const se=ne=>{const{componentCls:le,itemHeight:Ie,itemMarginInline:Le,padding:Ye,menuArrowSize:Ge,marginXS:it,itemMarginBlock:dt,itemWidth:yt,itemPaddingInline:ot}=ne,st=ne.calc(Ge).add(Ye).add(it).equal();return{[`${le}-item`]:{position:"relative",overflow:"hidden"},[`${le}-item, ${le}-submenu-title`]:{height:Ie,lineHeight:(0,Ue.unit)(Ie),paddingInline:ot,overflow:"hidden",textOverflow:"ellipsis",marginInline:Le,marginBlock:dt,width:yt},[`> ${le}-item,
|
|
|
> ${le}-submenu > ${le}-submenu-title`]:{height:Ie,lineHeight:(0,Ue.unit)(Ie)},[`${le}-item-group-list ${le}-submenu-title,
|
|
|
${le}-submenu-title`]:{paddingInlineEnd:st}}};var Je=ne=>{const{componentCls:le,iconCls:Ie,itemHeight:Le,colorTextLightSolid:Ye,dropdownWidth:Ge,controlHeightLG:it,motionEaseOut:dt,paddingXL:yt,itemMarginInline:ot,fontSizeLG:st,motionDurationFast:Vt,motionDurationSlow:kt,paddingXS:un,boxShadowSecondary:$t,collapsedWidth:Rt,collapsedIconSize:Kt}=ne,qt={height:Le,lineHeight:(0,Ue.unit)(Le),listStylePosition:"inside",listStyleType:"disc"};return[{[le]:{"&-inline, &-vertical":Object.assign({[`&${le}-root`]:{boxShadow:"none"}},se(ne))},[`${le}-submenu-popup`]:{[`${le}-vertical`]:Object.assign(Object.assign({},se(ne)),{boxShadow:$t})}},{[`${le}-submenu-popup ${le}-vertical${le}-sub`]:{minWidth:Ge,maxHeight:`calc(100vh - ${(0,Ue.unit)(ne.calc(it).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${le}-inline`]:{width:"100%",[`&${le}-root`]:{[`${le}-item, ${le}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${kt}`,`background ${kt}`,`padding ${Vt} ${dt}`].join(","),[`> ${le}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${le}-sub${le}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${le}-submenu > ${le}-submenu-title`]:qt,[`& ${le}-item-group-title`]:{paddingInlineStart:yt}},[`${le}-item`]:qt}},{[`${le}-inline-collapsed`]:{width:Rt,[`&${le}-root`]:{[`${le}-item, ${le}-submenu ${le}-submenu-title`]:{[`> ${le}-inline-collapsed-noicon`]:{fontSize:st,textAlign:"center"}}},[`> ${le}-item,
|
|
|
> ${le}-item-group > ${le}-item-group-list > ${le}-item,
|
|
|
> ${le}-item-group > ${le}-item-group-list > ${le}-submenu > ${le}-submenu-title,
|
|
|
> ${le}-submenu > ${le}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Ue.unit)(ne.calc(Kt).div(2).equal())} - ${(0,Ue.unit)(ot)})`,textOverflow:"clip",[`
|
|
|
${le}-submenu-arrow,
|
|
|
${le}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${le}-item-icon, ${Ie}`]:{margin:0,fontSize:Kt,lineHeight:(0,Ue.unit)(Le),"+ span":{display:"inline-block",opacity:0}}},[`${le}-item-icon, ${Ie}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${le}-item-icon, ${Ie}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${le}-item-group-title`]:Object.assign(Object.assign({},nt.vS),{paddingInline:un})}}]};const lt=ne=>{const{componentCls:le,motionDurationSlow:Ie,motionDurationMid:Le,motionEaseInOut:Ye,motionEaseOut:Ge,iconCls:it,iconSize:dt,iconMarginInlineEnd:yt}=ne;return{[`${le}-item, ${le}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ie}`,`background ${Ie}`,`padding calc(${Ie} + 0.1s) ${Ye}`].join(","),[`${le}-item-icon, ${it}`]:{minWidth:dt,fontSize:dt,transition:[`font-size ${Le} ${Ge}`,`margin ${Ie} ${Ye}`,`color ${Ie}`].join(","),"+ span":{marginInlineStart:yt,opacity:1,transition:[`opacity ${Ie} ${Ye}`,`margin ${Ie}`,`color ${Ie}`].join(",")}},[`${le}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${le}-item-only-child`]:{[`> ${it}, > ${le}-item-icon`]:{marginInlineEnd:0}}},[`${le}-item-disabled, ${le}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${le}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ee=ne=>{const{componentCls:le,motionDurationSlow:Ie,motionEaseInOut:Le,borderRadius:Ye,menuArrowSize:Ge,menuArrowOffset:it}=ne;return{[`${le}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ne.margin,width:Ge,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ie} ${Le}, opacity ${Ie}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ne.calc(Ge).mul(.6).equal(),height:ne.calc(Ge).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${Ie} ${Le}`,`transform ${Ie} ${Le}`,`top ${Ie} ${Le}`,`color ${Ie} ${Le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Ue.unit)(ne.calc(it).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Ue.unit)(it)})`}}}}},je=ne=>{const{antCls:le,componentCls:Ie,fontSize:Le,motionDurationSlow:Ye,motionDurationMid:Ge,motionEaseInOut:it,paddingXS:dt,padding:yt,colorSplit:ot,lineWidth:st,zIndexPopup:Vt,borderRadiusLG:kt,subMenuItemBorderRadius:un,menuArrowSize:$t,menuArrowOffset:Rt,lineType:Kt,groupTitleLineHeight:qt,groupTitleFontSize:Et}=ne;return[{"":{[Ie]:Object.assign(Object.assign({},(0,nt.dF)()),{"&-hidden":{display:"none"}})},[`${Ie}-submenu-hidden`]:{display:"none"}},{[Ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(ne)),(0,nt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ye} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ie}-item`]:{flex:"none"}},[`${Ie}-item, ${Ie}-submenu, ${Ie}-submenu-title`]:{borderRadius:ne.itemBorderRadius},[`${Ie}-item-group-title`]:{padding:`${(0,Ue.unit)(dt)} ${(0,Ue.unit)(yt)}`,fontSize:Et,lineHeight:qt,transition:`all ${Ye}`},[`&-horizontal ${Ie}-submenu`]:{transition:[`border-color ${Ye} ${it}`,`background ${Ye} ${it}`].join(",")},[`${Ie}-submenu, ${Ie}-submenu-inline`]:{transition:[`border-color ${Ye} ${it}`,`background ${Ye} ${it}`,`padding ${Ge} ${it}`].join(",")},[`${Ie}-submenu ${Ie}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${it}`,`padding ${Ye} ${it}`].join(",")},[`${Ie}-title-content`]:{transition:`color ${Ye}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${le}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Ie}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:ne.padding}},[`${Ie}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ie}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ot,borderStyle:Kt,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),lt(ne)),{[`${Ie}-item-group`]:{[`${Ie}-item-group-list`]:{margin:0,padding:0,[`${Ie}-item, ${Ie}-submenu-title`]:{paddingInline:`${(0,Ue.unit)(ne.calc(Le).mul(2).equal())} ${(0,Ue.unit)(yt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Vt,borderRadius:kt,boxShadow:"none",transformOrigin:"0 0",[`&${Ie}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Ie}`]:Object.assign(Object.assign(Object.assign({borderRadius:kt},lt(ne)),Ee(ne)),{[`${Ie}-item, ${Ie}-submenu > ${Ie}-submenu-title`]:{borderRadius:un},[`${Ie}-submenu-title::after`]:{transition:`transform ${Ye} ${it}`}})},"\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:ne.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ne.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ne.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ne.paddingXS}}}),Ee(ne)),{[`&-inline-collapsed ${Ie}-submenu-arrow,
|
|
|
&-inline ${Ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Ue.unit)(Rt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Ue.unit)(ne.calc(Rt).mul(-1).equal())})`}},[`${Ie}-submenu-open${Ie}-submenu-inline > ${Ie}-submenu-title > ${Ie}-submenu-arrow`]:{transform:`translateY(${(0,Ue.unit)(ne.calc($t).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Ue.unit)(ne.calc(Rt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Ue.unit)(Rt)})`}}})},{[`${le}-layout-header`]:{[Ie]:{lineHeight:"inherit"}}}]},rt=ne=>{var le,Ie,Le;const{colorPrimary:Ye,colorError:Ge,colorTextDisabled:it,colorErrorBg:dt,colorText:yt,colorTextDescription:ot,colorBgContainer:st,colorFillAlter:Vt,colorFillContent:kt,lineWidth:un,lineWidthBold:$t,controlItemBgActive:Rt,colorBgTextHover:Kt,controlHeightLG:qt,lineHeight:Et,colorBgElevated:Tt,marginXXS:on,padding:mn,fontSize:vt,controlHeightSM:Mt,fontSizeLG:Yt,colorTextLightSolid:sn,colorErrorHover:xn}=ne,Ln=(le=ne.activeBarWidth)!==null&&le!==void 0?le:0,Xn=(Ie=ne.activeBarBorderWidth)!==null&&Ie!==void 0?Ie:un,Jn=(Le=ne.itemMarginInline)!==null&&Le!==void 0?Le:ne.marginXXS,Bn=new ze.FastColor(sn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ne.zIndexPopupBase+50,radiusItem:ne.borderRadiusLG,itemBorderRadius:ne.borderRadiusLG,radiusSubMenuItem:ne.borderRadiusSM,subMenuItemBorderRadius:ne.borderRadiusSM,colorItemText:yt,itemColor:yt,colorItemTextHover:yt,itemHoverColor:yt,colorItemTextHoverHorizontal:Ye,horizontalItemHoverColor:Ye,colorGroupTitle:ot,groupTitleColor:ot,colorItemTextSelected:Ye,itemSelectedColor:Ye,subMenuItemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:st,itemBg:st,colorItemBgHover:Kt,itemHoverBg:Kt,colorItemBgActive:kt,itemActiveBg:Rt,colorSubItemBg:Vt,subMenuItemBg:Vt,colorItemBgSelected:Rt,itemSelectedBg:Rt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Ln,colorActiveBarHeight:$t,activeBarHeight:$t,colorActiveBarBorderSize:un,activeBarBorderWidth:Xn,colorItemTextDisabled:it,itemDisabledColor:it,colorDangerItemText:Ge,dangerItemColor:Ge,colorDangerItemTextHover:Ge,dangerItemHoverColor:Ge,colorDangerItemTextSelected:Ge,dangerItemSelectedColor:Ge,colorDangerItemBgActive:dt,dangerItemActiveBg:dt,colorDangerItemBgSelected:dt,dangerItemSelectedBg:dt,itemMarginInline:Jn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:qt,groupTitleLineHeight:Et,collapsedWidth:qt*2,popupBg:Tt,itemMarginBlock:on,itemPaddingInline:mn,horizontalLineHeight:`${qt*1.15}px`,iconSize:vt,iconMarginInlineEnd:Mt-vt,collapsedIconSize:Yt,groupTitleFontSize:vt,darkItemDisabledColor:new ze.FastColor(sn).setA(.25).toRgbString(),darkItemColor:Bn,darkDangerItemColor:Ge,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:sn,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:Ge,darkItemHoverBg:"transparent",darkGroupTitleColor:Bn,darkItemHoverColor:sn,darkDangerItemHoverColor:xn,darkDangerItemSelectedColor:sn,darkDangerItemActiveBg:Ge,itemWidth:Ln?`calc(100% + ${Xn}px)`:`calc(100% - ${Jn*2}px)`}};var xt=function(ne){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne,Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Se.I$)("Menu",Ye=>{const{colorBgElevated:Ge,controlHeightLG:it,fontSize:dt,darkItemColor:yt,darkDangerItemColor:ot,darkItemBg:st,darkSubMenuItemBg:Vt,darkItemSelectedColor:kt,darkItemSelectedBg:un,darkDangerItemSelectedBg:$t,darkItemHoverBg:Rt,darkGroupTitleColor:Kt,darkItemHoverColor:qt,darkItemDisabledColor:Et,darkDangerItemHoverColor:Tt,darkDangerItemSelectedColor:on,darkDangerItemActiveBg:mn,popupBg:vt,darkPopupBg:Mt}=Ye,Yt=Ye.calc(dt).div(7).mul(5).equal(),sn=(0,qe.mergeToken)(Ye,{menuArrowSize:Yt,menuHorizontalHeight:Ye.calc(it).mul(1.15).equal(),menuArrowOffset:Ye.calc(Yt).mul(.25).equal(),menuSubMenuBg:Ge,calc:Ye.calc,popupBg:vt}),xn=(0,qe.mergeToken)(sn,{itemColor:yt,itemHoverColor:qt,groupTitleColor:Kt,itemSelectedColor:kt,subMenuItemSelectedColor:kt,itemBg:st,popupBg:Mt,subMenuItemBg:Vt,itemActiveBg:"transparent",itemSelectedBg:un,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Rt,itemDisabledColor:Et,dangerItemColor:ot,dangerItemHoverColor:Tt,dangerItemSelectedColor:on,dangerItemActiveBg:mn,dangerItemSelectedBg:$t,menuSubMenuBg:Vt,horizontalItemSelectedColor:kt,horizontalItemSelectedBg:un});return[je(sn),be(sn),Je(sn),Ze(sn,"light"),Ze(xn,"dark"),$e(sn),(0,ke.Z)(sn),(0,Ve.oN)(sn,"slide-up"),(0,Ve.oN)(sn,"slide-down"),(0,et._y)(sn,"zoom-big")]},rt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:Ie,unitless:{groupTitleLineHeight:!0}})(ne,le)},ct=E(75030),ft=ne=>{var le;const{popupClassName:Ie,icon:Le,title:Ye,theme:Ge}=ne,it=b.useContext(we),{prefixCls:dt,inlineCollapsed:yt,theme:ot}=it,st=(0,We.Xl)();let Vt;if(!Le)Vt=yt&&!st.length&&Ye&&typeof Ye=="string"?b.createElement("div",{className:`${dt}-inline-collapsed-noicon`},Ye.charAt(0)):b.createElement("span",{className:`${dt}-title-content`},Ye);else{const $t=b.isValidElement(Ye)&&Ye.type==="span";Vt=b.createElement(b.Fragment,null,(0,ue.Tm)(Le,{className:ve()(b.isValidElement(Le)?(le=Le.props)===null||le===void 0?void 0:le.className:"",`${dt}-item-icon`)}),$t?Ye:b.createElement("span",{className:`${dt}-title-content`},Ye))}const kt=b.useMemo(()=>Object.assign(Object.assign({},it),{firstLevel:!1}),[it]),[un]=(0,ct.Cn)("Menu");return b.createElement(we.Provider,{value:kt},b.createElement(We.Wd,Object.assign({},(0,fe.Z)(ne,["icon"]),{title:Vt,popupClassName:ve()(dt,Ie,`${dt}-${Ge||ot}`),popupStyle:Object.assign({zIndex:un},ne.popupStyle)})))},It=function(ne,le){var Ie={};for(var Le in ne)Object.prototype.hasOwnProperty.call(ne,Le)&&le.indexOf(Le)<0&&(Ie[Le]=ne[Le]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Le=Object.getOwnPropertySymbols(ne);Ye<Le.length;Ye++)le.indexOf(Le[Ye])<0&&Object.prototype.propertyIsEnumerable.call(ne,Le[Ye])&&(Ie[Le[Ye]]=ne[Le[Ye]]);return Ie};function Dt(ne){return ne===null||ne===!1}const oe={item:ce,submenu:ft,divider:Ae};var te=(0,b.forwardRef)((ne,le)=>{var Ie;const Le=b.useContext(Oe.Z),Ye=Le||{},{getPrefixCls:Ge,getPopupContainer:it,direction:dt,menu:yt}=b.useContext(Fe.E_),ot=Ge(),{prefixCls:st,className:Vt,style:kt,theme:un="light",expandIcon:$t,_internalDisableMenuItemTitleTooltip:Rt,inlineCollapsed:Kt,siderCollapsed:qt,rootClassName:Et,mode:Tt,selectable:on,onClick:mn,overflowedIndicatorPopupClassName:vt}=ne,Mt=It(ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Yt=(0,fe.Z)(Mt,["collapsedWidth"]);(Ie=Ye.validator)===null||Ie===void 0||Ie.call(Ye,{mode:Tt});const sn=(0,ye.Z)(function(){var yn;mn==null||mn.apply(void 0,arguments),(yn=Ye.onClick)===null||yn===void 0||yn.call(Ye)}),xn=Ye.mode||Tt,Ln=on!=null?on:Ye.selectable,Xn=Kt!=null?Kt:qt,Jn={horizontal:{motionName:`${ot}-slide-up`},inline:(0,xe.Z)(ot),other:{motionName:`${ot}-zoom-big`}},Bn=Ge("menu",st||Ye.prefixCls),Un=(0,Ce.Z)(Bn),[Wt,Ot,ln]=xt(Bn,Un,!Le),en=ve()(`${Bn}-${un}`,yt==null?void 0:yt.className,Vt),Jt=b.useMemo(()=>{var yn,Mn;if(typeof $t=="function"||Dt($t))return $t||null;if(typeof Ye.expandIcon=="function"||Dt(Ye.expandIcon))return Ye.expandIcon||null;if(typeof(yt==null?void 0:yt.expandIcon)=="function"||Dt(yt==null?void 0:yt.expandIcon))return(yt==null?void 0:yt.expandIcon)||null;const Yn=(yn=$t!=null?$t:Ye==null?void 0:Ye.expandIcon)!==null&&yn!==void 0?yn:yt==null?void 0:yt.expandIcon;return(0,ue.Tm)(Yn,{className:ve()(`${Bn}-submenu-expand-icon`,b.isValidElement(Yn)?(Mn=Yn.props)===null||Mn===void 0?void 0:Mn.className:void 0)})},[$t,Ye==null?void 0:Ye.expandIcon,yt==null?void 0:yt.expandIcon,Bn]),Sn=b.useMemo(()=>({prefixCls:Bn,inlineCollapsed:Xn||!1,direction:dt,firstLevel:!0,theme:un,mode:xn,disableMenuItemTitleTooltip:Rt}),[Bn,Xn,dt,Rt,un]);return Wt(b.createElement(Oe.Z.Provider,{value:null},b.createElement(we.Provider,{value:Sn},b.createElement(We.ZP,Object.assign({getPopupContainer:it,overflowedIndicator:b.createElement(Ke.Z,null),overflowedIndicatorPopupClassName:ve()(Bn,`${Bn}-${un}`,vt),mode:xn,selectable:Ln,onClick:sn},Yt,{inlineCollapsed:Xn,style:Object.assign(Object.assign({},yt==null?void 0:yt.style),kt),className:en,prefixCls:Bn,direction:dt,defaultMotions:Jn,expandIcon:Jt,ref:le,rootClassName:ve()(Et,Ot,Ye.rootClassName,ln,Un),_internalComponents:oe})))))});const x=(0,b.forwardRef)((ne,le)=>{const Ie=(0,b.useRef)(null),Le=b.useContext(de.D);return(0,b.useImperativeHandle)(le,()=>({menu:Ie.current,focus:Ye=>{var Ge;(Ge=Ie.current)===null||Ge===void 0||Ge.focus(Ye)}})),b.createElement(te,Object.assign({ref:Ie},ne,Le))});x.Item=ce,x.SubMenu=ft,x.Divider=Ae,x.ItemGroup=We.BW;var re=x},31709:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return yt}});var b=E(59301),We=E(54476),de={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"},Ke=de,De=E(7657),ve=function(st,Vt){return b.createElement(De.Z,(0,We.Z)({},st,{ref:Vt,icon:Ke}))},ye=b.forwardRef(ve),fe=ye,xe=E(49198),ue=E(33853),Fe=E(38819),Ce=E(92310),Te=E.n(Ce),we=E(20068),Me=E(76190),ge=E(33885),Ae=E(42978),Pe=E(18929),Re=E(10228),tt=E(26112),ce=E(48736),Oe=E(17119),Ue=[10,20,50,100],ze=function(st){var Vt=st.pageSizeOptions,kt=Vt===void 0?Ue:Vt,un=st.locale,$t=st.changeSize,Rt=st.pageSize,Kt=st.goButton,qt=st.quickGo,Et=st.rootPrefixCls,Tt=st.disabled,on=st.buildOptionText,mn=st.showSizeChanger,vt=st.sizeChangerRender,Mt=b.useState(""),Yt=(0,Ae.Z)(Mt,2),sn=Yt[0],xn=Yt[1],Ln=function(){return!sn||Number.isNaN(sn)?void 0:Number(sn)},Xn=typeof on=="function"?on:function(Sn){return"".concat(Sn," ").concat(un.items_per_page)},Jn=function(yn){xn(yn.target.value)},Bn=function(yn){Kt||sn===""||(xn(""),!(yn.relatedTarget&&(yn.relatedTarget.className.indexOf("".concat(Et,"-item-link"))>=0||yn.relatedTarget.className.indexOf("".concat(Et,"-item"))>=0))&&(qt==null||qt(Ln())))},Un=function(yn){sn!==""&&(yn.keyCode===Re.Z.ENTER||yn.type==="click")&&(xn(""),qt==null||qt(Ln()))},Wt=function(){return kt.some(function(yn){return yn.toString()===Rt.toString()})?kt:kt.concat([Rt]).sort(function(yn,Mn){var Yn=Number.isNaN(Number(yn))?0:Number(yn),Wn=Number.isNaN(Number(Mn))?0:Number(Mn);return Yn-Wn})},Ot="".concat(Et,"-options");if(!mn&&!qt)return null;var ln=null,en=null,Jt=null;return mn&&vt&&(ln=vt({disabled:Tt,size:Rt,onSizeChange:function(yn){$t==null||$t(Number(yn))},"aria-label":un.page_size,className:"".concat(Ot,"-size-changer"),options:Wt().map(function(Sn){return{label:Xn(Sn),value:Sn}})})),qt&&(Kt&&(Jt=typeof Kt=="boolean"?b.createElement("button",{type:"button",onClick:Un,onKeyUp:Un,disabled:Tt,className:"".concat(Ot,"-quick-jumper-button")},un.jump_to_confirm):b.createElement("span",{onClick:Un,onKeyUp:Un},Kt)),en=b.createElement("div",{className:"".concat(Ot,"-quick-jumper")},un.jump_to,b.createElement("input",{disabled:Tt,type:"text",value:sn,onChange:Jn,onKeyUp:Un,onBlur:Bn,"aria-label":un.page}),un.page,Jt)),b.createElement("li",{className:Ot},ln,en)},nt=ze,ke=function(st){var Vt=st.rootPrefixCls,kt=st.page,un=st.active,$t=st.className,Rt=st.showTitle,Kt=st.onClick,qt=st.onKeyPress,Et=st.itemRender,Tt="".concat(Vt,"-item"),on=Te()(Tt,"".concat(Tt,"-").concat(kt),(0,we.Z)((0,we.Z)({},"".concat(Tt,"-active"),un),"".concat(Tt,"-disabled"),!kt),$t),mn=function(){Kt(kt)},vt=function(sn){qt(sn,Kt,kt)},Mt=Et(kt,"page",b.createElement("a",{rel:"nofollow"},kt));return Mt?b.createElement("li",{title:Rt?String(kt):null,className:on,onClick:mn,onKeyDown:vt,tabIndex:0},Mt):null},Ve=ke,et=function(st,Vt,kt){return kt};function Se(){}function qe(ot){var st=Number(ot);return typeof st=="number"&&!Number.isNaN(st)&&isFinite(st)&&Math.floor(st)===st}function pe(ot,st,Vt){var kt=typeof ot=="undefined"?st:ot;return Math.floor((Vt-1)/kt)+1}var be=function(st){var Vt=st.prefixCls,kt=Vt===void 0?"rc-pagination":Vt,un=st.selectPrefixCls,$t=un===void 0?"rc-select":un,Rt=st.className,Kt=st.current,qt=st.defaultCurrent,Et=qt===void 0?1:qt,Tt=st.total,on=Tt===void 0?0:Tt,mn=st.pageSize,vt=st.defaultPageSize,Mt=vt===void 0?10:vt,Yt=st.onChange,sn=Yt===void 0?Se:Yt,xn=st.hideOnSinglePage,Ln=st.align,Xn=st.showPrevNextJumpers,Jn=Xn===void 0?!0:Xn,Bn=st.showQuickJumper,Un=st.showLessItems,Wt=st.showTitle,Ot=Wt===void 0?!0:Wt,ln=st.onShowSizeChange,en=ln===void 0?Se:ln,Jt=st.locale,Sn=Jt===void 0?Oe.Z:Jt,yn=st.style,Mn=st.totalBoundaryShowSizeChanger,Yn=Mn===void 0?50:Mn,Wn=st.disabled,In=st.simple,ar=st.showTotal,tr=st.showSizeChanger,Rr=tr===void 0?on>Yn:tr,Ir=st.sizeChangerRender,En=st.pageSizeOptions,kn=st.itemRender,nr=kn===void 0?et:kn,rr=st.jumpPrevIcon,Lt=st.jumpNextIcon,Qt=st.prevIcon,St=st.nextIcon,Zt=b.useRef(null),At=(0,Pe.Z)(10,{value:mn,defaultValue:Mt}),Ht=(0,Ae.Z)(At,2),ht=Ht[0],Xt=Ht[1],tn=(0,Pe.Z)(1,{value:Kt,defaultValue:Et,postState:function(Ti){return Math.max(1,Math.min(Ti,pe(void 0,ht,on)))}}),dn=(0,Ae.Z)(tn,2),Ut=dn[0],jt=dn[1],Gt=b.useState(Ut),an=(0,Ae.Z)(Gt,2),zn=an[0],Rn=an[1];(0,b.useEffect)(function(){Rn(Ut)},[Ut]);var Vn=sn!==Se,Mr="current"in st,zr=Math.max(1,Ut-(Un?3:5)),Xr=Math.min(pe(void 0,ht,on),Ut+(Un?3:5));function Pr(Yi,Ti){var ea=Yi||b.createElement("button",{type:"button","aria-label":Ti,className:"".concat(kt,"-item-link")});return typeof Yi=="function"&&(ea=b.createElement(Yi,(0,ge.Z)({},st))),ea}function gr(Yi){var Ti=Yi.target.value,ea=pe(void 0,ht,on),ta;return Ti===""?ta=Ti:Number.isNaN(Number(Ti))?ta=zn:Ti>=ea?ta=ea:ta=Number(Ti),ta}function Ar(Yi){return qe(Yi)&&Yi!==Ut&&qe(on)&&on>0}var Vr=on>ht?Bn:!1;function ni(Yi){(Yi.keyCode===Re.Z.UP||Yi.keyCode===Re.Z.DOWN)&&Yi.preventDefault()}function ri(Yi){var Ti=gr(Yi);switch(Ti!==zn&&Rn(Ti),Yi.keyCode){case Re.Z.ENTER:Jr(Ti);break;case Re.Z.UP:Jr(Ti-1);break;case Re.Z.DOWN:Jr(Ti+1);break;default:break}}function ai(Yi){Jr(gr(Yi))}function Dr(Yi){var Ti=pe(Yi,ht,on),ea=Ut>Ti&&Ti!==0?Ti:Ut;Xt(Yi),Rn(ea),en==null||en(Ut,Yi),jt(ea),sn==null||sn(ea,Yi)}function Jr(Yi){if(Ar(Yi)&&!Wn){var Ti=pe(void 0,ht,on),ea=Yi;return Yi>Ti?ea=Ti:Yi<1&&(ea=1),ea!==zn&&Rn(ea),jt(ea),sn==null||sn(ea,ht),ea}return Ut}var $r=Ut>1,Ri=Ut<pe(void 0,ht,on);function Hi(){$r&&Jr(Ut-1)}function Zi(){Ri&&Jr(Ut+1)}function zi(){Jr(zr)}function Ji(){Jr(Xr)}function wi(Yi,Ti){if(Yi.key==="Enter"||Yi.charCode===Re.Z.ENTER||Yi.keyCode===Re.Z.ENTER){for(var ea=arguments.length,ta=new Array(ea>2?ea-2:0),Gi=2;Gi<ea;Gi++)ta[Gi-2]=arguments[Gi];Ti.apply(void 0,ta)}}function Mi(Yi){wi(Yi,Hi)}function fi(Yi){wi(Yi,Zi)}function $i(Yi){wi(Yi,zi)}function oo(Yi){wi(Yi,Ji)}function Ro(Yi){var Ti=nr(Yi,"prev",Pr(Qt,"prev page"));return b.isValidElement(Ti)?b.cloneElement(Ti,{disabled:!$r}):Ti}function fo(Yi){var Ti=nr(Yi,"next",Pr(St,"next page"));return b.isValidElement(Ti)?b.cloneElement(Ti,{disabled:!Ri}):Ti}function bo(Yi){(Yi.type==="click"||Yi.keyCode===Re.Z.ENTER)&&Jr(zn)}var co=null,yo=(0,tt.Z)(st,{aria:!0,data:!0}),Fi=ar&&b.createElement("li",{className:"".concat(kt,"-total-text")},ar(on,[on===0?0:(Ut-1)*ht+1,Ut*ht>on?on:Ut*ht])),Ai=null,Yr=pe(void 0,ht,on);if(xn&&on<=ht)return null;var jn=[],lr={rootPrefixCls:kt,onClick:Jr,onKeyPress:wi,showTitle:Ot,itemRender:nr,page:-1},cr=Ut-1>0?Ut-1:0,Qn=Ut+1<Yr?Ut+1:Yr,Wr=Bn&&Bn.goButton,qr=(0,Me.Z)(In)==="object"?In.readOnly:!In,ir=Wr,Gn=null;In&&(Wr&&(typeof Wr=="boolean"?ir=b.createElement("button",{type:"button",onClick:bo,onKeyUp:bo},Sn.jump_to_confirm):ir=b.createElement("span",{onClick:bo,onKeyUp:bo},Wr),ir=b.createElement("li",{title:Ot?"".concat(Sn.jump_to).concat(Ut,"/").concat(Yr):null,className:"".concat(kt,"-simple-pager")},ir)),Gn=b.createElement("li",{title:Ot?"".concat(Ut,"/").concat(Yr):null,className:"".concat(kt,"-simple-pager")},qr?zn:b.createElement("input",{type:"text","aria-label":Sn.jump_to,value:zn,disabled:Wn,onKeyDown:ni,onKeyUp:ri,onChange:ri,onBlur:ai,size:3}),b.createElement("span",{className:"".concat(kt,"-slash")},"/"),Yr));var Cr=Un?1:2;if(Yr<=3+Cr*2){Yr||jn.push(b.createElement(Ve,(0,We.Z)({},lr,{key:"noPager",page:1,className:"".concat(kt,"-item-disabled")})));for(var Zr=1;Zr<=Yr;Zr+=1)jn.push(b.createElement(Ve,(0,We.Z)({},lr,{key:Zr,page:Zr,active:Ut===Zr})))}else{var ji=Un?Sn.prev_3:Sn.prev_5,vo=Un?Sn.next_3:Sn.next_5,ao=nr(zr,"jump-prev",Pr(rr,"prev page")),Bo=nr(Xr,"jump-next",Pr(Lt,"next page"));Jn&&(co=ao?b.createElement("li",{title:Ot?ji:null,key:"prev",onClick:zi,tabIndex:0,onKeyDown:$i,className:Te()("".concat(kt,"-jump-prev"),(0,we.Z)({},"".concat(kt,"-jump-prev-custom-icon"),!!rr))},ao):null,Ai=Bo?b.createElement("li",{title:Ot?vo:null,key:"next",onClick:Ji,tabIndex:0,onKeyDown:oo,className:Te()("".concat(kt,"-jump-next"),(0,we.Z)({},"".concat(kt,"-jump-next-custom-icon"),!!Lt))},Bo):null);var wo=Math.max(1,Ut-Cr),Co=Math.min(Ut+Cr,Yr);Ut-1<=Cr&&(Co=1+Cr*2),Yr-Ut<=Cr&&(wo=Yr-Cr*2);for(var ko=wo;ko<=Co;ko+=1)jn.push(b.createElement(Ve,(0,We.Z)({},lr,{key:ko,page:ko,active:Ut===ko})));if(Ut-1>=Cr*2&&Ut!==3&&(jn[0]=b.cloneElement(jn[0],{className:Te()("".concat(kt,"-item-after-jump-prev"),jn[0].props.className)}),jn.unshift(co)),Yr-Ut>=Cr*2&&Ut!==Yr-2){var Oo=jn[jn.length-1];jn[jn.length-1]=b.cloneElement(Oo,{className:Te()("".concat(kt,"-item-before-jump-next"),Oo.props.className)}),jn.push(Ai)}wo!==1&&jn.unshift(b.createElement(Ve,(0,We.Z)({},lr,{key:1,page:1}))),Co!==Yr&&jn.push(b.createElement(Ve,(0,We.Z)({},lr,{key:Yr,page:Yr})))}var Mo=Ro(cr);if(Mo){var ha=!$r||!Yr;Mo=b.createElement("li",{title:Ot?Sn.prev_page:null,onClick:Hi,tabIndex:ha?null:0,onKeyDown:Mi,className:Te()("".concat(kt,"-prev"),(0,we.Z)({},"".concat(kt,"-disabled"),ha)),"aria-disabled":ha},Mo)}var Aa=fo(Qn);if(Aa){var xa,Ia;In?(xa=!Ri,Ia=$r?0:null):(xa=!Ri||!Yr,Ia=xa?null:0),Aa=b.createElement("li",{title:Ot?Sn.next_page:null,onClick:Zi,tabIndex:Ia,onKeyDown:fi,className:Te()("".concat(kt,"-next"),(0,we.Z)({},"".concat(kt,"-disabled"),xa)),"aria-disabled":xa},Aa)}var Da=Te()(kt,Rt,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(kt,"-start"),Ln==="start"),"".concat(kt,"-center"),Ln==="center"),"".concat(kt,"-end"),Ln==="end"),"".concat(kt,"-simple"),In),"".concat(kt,"-disabled"),Wn));return b.createElement("ul",(0,We.Z)({className:Da,style:yn,ref:Zt},yo),Fi,Mo,In?Gn:jn,Aa,b.createElement(nt,{locale:Sn,rootPrefixCls:kt,disabled:Wn,selectPrefixCls:$t,changeSize:Dr,pageSize:ht,pageSizeOptions:En,quickGo:Vr?Jr:null,goButton:ir,showSizeChanger:Rr,sizeChangerRender:Ir}))},gt=be,$e=E(61852),at=E(48755),bt=E(31756),Ze=E(13783),se=E(9017),Be=E(82326),Je=E(57700),lt=E(36237),Ee=E(53075),je=E(64910),rt=E(39082),xt=E(63356),ct=E(51636),wt=E(16931);const ft=ot=>{const{componentCls:st}=ot;return{[`${st}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${st}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${st}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed"}}},[`&${st}-disabled`]:{cursor:"not-allowed",[`${st}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ot.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ot.colorBorder,backgroundColor:ot.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ot.itemActiveBgDisabled},a:{color:ot.itemActiveColorDisabled}}},[`${st}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${st}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${st}-simple-pager`]:{color:ot.colorTextDisabled},[`${st}-jump-prev, ${st}-jump-next`]:{[`${st}-item-link-icon`]:{opacity:0},[`${st}-item-ellipsis`]:{opacity:1}}},[`&${st}-simple`]:{[`${st}-prev, ${st}-next`]:{[`&${st}-disabled ${st}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},It=ot=>{const{componentCls:st}=ot;return{[`&${st}-mini ${st}-total-text, &${st}-mini ${st}-simple-pager`]:{height:ot.itemSizeSM,lineHeight:(0,lt.unit)(ot.itemSizeSM)},[`&${st}-mini ${st}-item`]:{minWidth:ot.itemSizeSM,height:ot.itemSizeSM,margin:0,lineHeight:(0,lt.unit)(ot.calc(ot.itemSizeSM).sub(2).equal())},[`&${st}-mini ${st}-prev, &${st}-mini ${st}-next`]:{minWidth:ot.itemSizeSM,height:ot.itemSizeSM,margin:0,lineHeight:(0,lt.unit)(ot.itemSizeSM)},[`&${st}-mini:not(${st}-disabled)`]:{[`${st}-prev, ${st}-next`]:{[`&:hover ${st}-item-link`]:{backgroundColor:ot.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:ot.colorBgTextActive},[`&${st}-disabled:hover ${st}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${st}-mini ${st}-prev ${st}-item-link,
|
|
|
&${st}-mini ${st}-next ${st}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ot.itemSizeSM,lineHeight:(0,lt.unit)(ot.itemSizeSM)}},[`&${st}-mini ${st}-jump-prev, &${st}-mini ${st}-jump-next`]:{height:ot.itemSizeSM,marginInlineEnd:0,lineHeight:(0,lt.unit)(ot.itemSizeSM)},[`&${st}-mini ${st}-options`]:{marginInlineStart:ot.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ot.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ot.itemSizeSM,lineHeight:(0,lt.unit)(ot.itemSizeSM),input:Object.assign(Object.assign({},(0,Ee.x0)(ot)),{width:ot.paginationMiniQuickJumperInputWidth,height:ot.controlHeightSM})}}}},Dt=ot=>{const{componentCls:st}=ot;return{[`
|
|
|
&${st}-simple ${st}-prev,
|
|
|
&${st}-simple ${st}-next
|
|
|
`]:{height:ot.itemSizeSM,lineHeight:(0,lt.unit)(ot.itemSizeSM),verticalAlign:"top",[`${st}-item-link`]:{height:ot.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ot.colorBgTextHover},"&:active":{backgroundColor:ot.colorBgTextActive},"&::after":{height:ot.itemSizeSM,lineHeight:(0,lt.unit)(ot.itemSizeSM)}}},[`&${st}-simple ${st}-simple-pager`]:{display:"inline-block",height:ot.itemSizeSM,marginInlineEnd:ot.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,lt.unit)(ot.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:ot.itemInputBg,border:`${(0,lt.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadius,outline:"none",transition:`border-color ${ot.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ot.colorPrimary},"&:focus":{borderColor:ot.colorPrimaryHover,boxShadow:`${(0,lt.unit)(ot.inputOutlineOffset)} 0 ${(0,lt.unit)(ot.controlOutlineWidth)} ${ot.controlOutline}`},"&[disabled]":{color:ot.colorTextDisabled,backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,cursor:"not-allowed"}}}}},oe=ot=>{const{componentCls:st}=ot;return{[`${st}-jump-prev, ${st}-jump-next`]:{outline:0,[`${st}-item-container`]:{position:"relative",[`${st}-item-link-icon`]:{color:ot.colorPrimary,fontSize:ot.fontSizeSM,opacity:0,transition:`all ${ot.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${st}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ot.colorTextDisabled,letterSpacing:ot.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ot.paginationEllipsisTextIndent,opacity:1,transition:`all ${ot.motionDurationMid}`}},"&:hover":{[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${st}-prev,
|
|
|
${st}-jump-prev,
|
|
|
${st}-jump-next
|
|
|
`]:{marginInlineEnd:ot.marginXS},[`
|
|
|
${st}-prev,
|
|
|
${st}-next,
|
|
|
${st}-jump-prev,
|
|
|
${st}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:ot.itemSize,height:ot.itemSize,color:ot.colorText,fontFamily:ot.fontFamily,lineHeight:(0,lt.unit)(ot.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ot.borderRadius,cursor:"pointer",transition:`all ${ot.motionDurationMid}`},[`${st}-prev, ${st}-next`]:{outline:0,button:{color:ot.colorText,cursor:"pointer",userSelect:"none"},[`${st}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ot.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,lt.unit)(ot.lineWidth)} ${ot.lineType} transparent`,borderRadius:ot.borderRadius,outline:"none",transition:`all ${ot.motionDurationMid}`},[`&:hover ${st}-item-link`]:{backgroundColor:ot.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:ot.colorBgTextActive},[`&${st}-disabled:hover`]:{[`${st}-item-link`]:{backgroundColor:"transparent"}}},[`${st}-slash`]:{marginInlineEnd:ot.paginationSlashMarginInlineEnd,marginInlineStart:ot.paginationSlashMarginInlineStart},[`${st}-options`]:{display:"inline-block",marginInlineStart:ot.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ot.controlHeight,marginInlineStart:ot.marginXS,lineHeight:(0,lt.unit)(ot.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Ee.ik)(ot)),(0,rt.$U)(ot,{borderColor:ot.colorBorder,hoverBorderColor:ot.colorPrimaryHover,activeBorderColor:ot.colorPrimary,activeShadow:ot.activeShadow})),{"&[disabled]":Object.assign({},(0,rt.Xy)(ot)),width:ot.calc(ot.controlHeightLG).mul(1.25).equal(),height:ot.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ot.marginXS,marginInlineEnd:ot.marginXS})}}}},ae=ot=>{const{componentCls:st}=ot;return{[`${st}-item`]:{display:"inline-block",minWidth:ot.itemSize,height:ot.itemSize,marginInlineEnd:ot.marginXS,fontFamily:ot.fontFamily,lineHeight:(0,lt.unit)(ot.calc(ot.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:ot.itemBg,border:`${(0,lt.unit)(ot.lineWidth)} ${ot.lineType} transparent`,borderRadius:ot.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,lt.unit)(ot.paginationItemPaddingInline)}`,color:ot.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${st}-item-active)`]:{"&:hover":{transition:`all ${ot.motionDurationMid}`,backgroundColor:ot.colorBgTextHover},"&:active":{backgroundColor:ot.colorBgTextActive}},"&-active":{fontWeight:ot.fontWeightStrong,backgroundColor:ot.itemActiveBg,borderColor:ot.colorPrimary,a:{color:ot.colorPrimary},"&:hover":{borderColor:ot.colorPrimaryHover},"&:hover a":{color:ot.colorPrimaryHover}}}}},te=ot=>{const{componentCls:st}=ot;return{[st]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xt.Wf)(ot)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${st}-total-text`]:{display:"inline-block",height:ot.itemSize,marginInlineEnd:ot.marginXS,lineHeight:(0,lt.unit)(ot.calc(ot.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ae(ot)),oe(ot)),Dt(ot)),It(ot)),ft(ot)),{[`@media only screen and (max-width: ${ot.screenLG}px)`]:{[`${st}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ot.screenSM}px)`]:{[`${st}-options`]:{display:"none"}}}),[`&${ot.componentCls}-rtl`]:{direction:"rtl"}}},x=ot=>{const{componentCls:st}=ot;return{[`${st}:not(${st}-disabled)`]:{[`${st}-item`]:Object.assign({},(0,xt.Qy)(ot)),[`${st}-jump-prev, ${st}-jump-next`]:{"&:focus-visible":Object.assign({[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}},(0,xt.oN)(ot))},[`${st}-prev, ${st}-next`]:{[`&:focus-visible ${st}-item-link`]:Object.assign({},(0,xt.oN)(ot))}}}},re=ot=>Object.assign({itemBg:ot.colorBgContainer,itemSize:ot.controlHeight,itemSizeSM:ot.controlHeightSM,itemActiveBg:ot.colorBgContainer,itemLinkBg:ot.colorBgContainer,itemActiveColorDisabled:ot.colorTextDisabled,itemActiveBgDisabled:ot.controlItemBgActiveDisabled,itemInputBg:ot.colorBgContainer,miniOptionsSizeChangerTop:0},(0,je.T)(ot)),ne=ot=>(0,ct.mergeToken)(ot,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ot.calc(ot.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:ot.calc(ot.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:ot.calc(ot.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:ot.calc(ot.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:ot.marginSM,paginationSlashMarginInlineEnd:ot.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,je.e)(ot));var le=(0,wt.I$)("Pagination",ot=>{const st=ne(ot);return[te(st),x(st)]},re);const Ie=ot=>{const{componentCls:st}=ot;return{[`${st}${st}-bordered${st}-disabled:not(${st}-mini)`]:{"&, &:hover":{[`${st}-item-link`]:{borderColor:ot.colorBorder}},"&:focus-visible":{[`${st}-item-link`]:{borderColor:ot.colorBorder}},[`${st}-item, ${st}-item-link`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,[`&:hover:not(${st}-item-active)`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,a:{color:ot.colorTextDisabled}},[`&${st}-item-active`]:{backgroundColor:ot.itemActiveBgDisabled}},[`${st}-prev, ${st}-next`]:{"&:hover button":{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,color:ot.colorTextDisabled},[`${st}-item-link`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder}}},[`${st}${st}-bordered:not(${st}-mini)`]:{[`${st}-prev, ${st}-next`]:{"&:hover button":{borderColor:ot.colorPrimaryHover,backgroundColor:ot.itemBg},[`${st}-item-link`]:{backgroundColor:ot.itemLinkBg,borderColor:ot.colorBorder},[`&:hover ${st}-item-link`]:{borderColor:ot.colorPrimary,backgroundColor:ot.itemBg,color:ot.colorPrimary},[`&${st}-disabled`]:{[`${st}-item-link`]:{borderColor:ot.colorBorder,color:ot.colorTextDisabled}}},[`${st}-item`]:{backgroundColor:ot.itemBg,border:`${(0,lt.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,[`&:hover:not(${st}-item-active)`]:{borderColor:ot.colorPrimary,backgroundColor:ot.itemBg,a:{color:ot.colorPrimary}},"&-active":{borderColor:ot.colorPrimary}}}}};var Le=(0,wt.bk)(["Pagination","bordered"],ot=>{const st=ne(ot);return[Ie(st)]},re);function Ye(ot){return(0,b.useMemo)(()=>typeof ot=="boolean"?[ot,{}]:ot&&typeof ot=="object"?[!0,ot]:[void 0,void 0],[ot])}var Ge=function(ot,st){var Vt={};for(var kt in ot)Object.prototype.hasOwnProperty.call(ot,kt)&&st.indexOf(kt)<0&&(Vt[kt]=ot[kt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,kt=Object.getOwnPropertySymbols(ot);un<kt.length;un++)st.indexOf(kt[un])<0&&Object.prototype.propertyIsEnumerable.call(ot,kt[un])&&(Vt[kt[un]]=ot[kt[un]]);return Vt},dt=ot=>{const{align:st,prefixCls:Vt,selectPrefixCls:kt,className:un,rootClassName:$t,style:Rt,size:Kt,locale:qt,responsive:Et,showSizeChanger:Tt,selectComponentClass:on,pageSizeOptions:mn}=ot,vt=Ge(ot,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Mt}=(0,Ze.Z)(Et),[,Yt]=(0,Je.ZP)(),{getPrefixCls:sn,direction:xn,showSizeChanger:Ln,className:Xn,style:Jn}=(0,at.dj)("pagination"),Bn=sn("pagination",Vt),[Un,Wt,Ot]=le(Bn),ln=(0,bt.Z)(Kt),en=ln==="small"||!!(Mt&&!ln&&Et),[Jt]=(0,se.Z)("Pagination",$e.Z),Sn=Object.assign(Object.assign({},Jt),qt),[yn,Mn]=Ye(Tt),[Yn,Wn]=Ye(Ln),In=yn!=null?yn:Yn,ar=Mn!=null?Mn:Wn,tr=on||Be.default,Rr=b.useMemo(()=>mn?mn.map(Lt=>Number(Lt)):void 0,[mn]),Ir=Lt=>{var Qt;const{disabled:St,size:Zt,onSizeChange:At,"aria-label":Ht,className:ht,options:Xt}=Lt,{className:tn,onChange:dn}=ar||{},Ut=(Qt=Xt.find(jt=>String(jt.value)===String(Zt)))===null||Qt===void 0?void 0:Qt.value;return b.createElement(tr,Object.assign({disabled:St,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:jt=>jt.parentNode,"aria-label":Ht,options:Xt},ar,{value:Ut,onChange:(jt,Gt)=>{At==null||At(jt),dn==null||dn(jt,Gt)},size:en?"small":"middle",className:Te()(ht,tn)}))},En=b.useMemo(()=>{const Lt=b.createElement("span",{className:`${Bn}-item-ellipsis`},"\u2022\u2022\u2022"),Qt=b.createElement("button",{className:`${Bn}-item-link`,type:"button",tabIndex:-1},xn==="rtl"?b.createElement(Fe.Z,null):b.createElement(ue.Z,null)),St=b.createElement("button",{className:`${Bn}-item-link`,type:"button",tabIndex:-1},xn==="rtl"?b.createElement(ue.Z,null):b.createElement(Fe.Z,null)),Zt=b.createElement("a",{className:`${Bn}-item-link`},b.createElement("div",{className:`${Bn}-item-container`},xn==="rtl"?b.createElement(xe.Z,{className:`${Bn}-item-link-icon`}):b.createElement(fe,{className:`${Bn}-item-link-icon`}),Lt)),At=b.createElement("a",{className:`${Bn}-item-link`},b.createElement("div",{className:`${Bn}-item-container`},xn==="rtl"?b.createElement(fe,{className:`${Bn}-item-link-icon`}):b.createElement(xe.Z,{className:`${Bn}-item-link-icon`}),Lt));return{prevIcon:Qt,nextIcon:St,jumpPrevIcon:Zt,jumpNextIcon:At}},[xn,Bn]),kn=sn("select",kt),nr=Te()({[`${Bn}-${st}`]:!!st,[`${Bn}-mini`]:en,[`${Bn}-rtl`]:xn==="rtl",[`${Bn}-bordered`]:Yt.wireframe},Xn,un,$t,Wt,Ot),rr=Object.assign(Object.assign({},Jn),Rt);return Un(b.createElement(b.Fragment,null,Yt.wireframe&&b.createElement(Le,{prefixCls:Bn}),b.createElement(gt,Object.assign({},En,vt,{style:rr,prefixCls:Bn,selectPrefixCls:kn,className:nr,locale:Sn,pageSizeOptions:Rr,showSizeChanger:In,sizeChangerRender:Ir}))))},yt=dt},89787:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return qt}});var b=E(59301),We=E(17835),de=E(29679),Ke=E(40001),De=E(19248),ve=E(99267),ye=E(92310),fe=E.n(ye),xe=E(2738),ue=E(48755),Fe=E(54476),Ce=E(33885),Te=E(75931),we={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Me=function(){var Tt=(0,b.useRef)([]),on=(0,b.useRef)(null);return(0,b.useEffect)(function(){var mn=Date.now(),vt=!1;Tt.current.forEach(function(Mt){if(Mt){vt=!0;var Yt=Mt.style;Yt.transitionDuration=".3s, .3s, .3s, .06s",on.current&&mn-on.current<100&&(Yt.transitionDuration="0s, 0s")}}),vt&&(on.current=Date.now())}),Tt.current},ge=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ae=function(Tt){var on=(0,Ce.Z)((0,Ce.Z)({},we),Tt),mn=on.className,vt=on.percent,Mt=on.prefixCls,Yt=on.strokeColor,sn=on.strokeLinecap,xn=on.strokeWidth,Ln=on.style,Xn=on.trailColor,Jn=on.trailWidth,Bn=on.transition,Un=(0,Te.Z)(on,ge);delete Un.gapPosition;var Wt=Array.isArray(vt)?vt:[vt],Ot=Array.isArray(Yt)?Yt:[Yt],ln=Me(),en=xn/2,Jt=100-xn/2,Sn="M ".concat(sn==="round"?en:0,",").concat(en,`
|
|
|
L `).concat(sn==="round"?Jt:100,",").concat(en),yn="0 0 100 ".concat(xn),Mn=0;return b.createElement("svg",(0,Fe.Z)({className:fe()("".concat(Mt,"-line"),mn),viewBox:yn,preserveAspectRatio:"none",style:Ln},Un),b.createElement("path",{className:"".concat(Mt,"-line-trail"),d:Sn,strokeLinecap:sn,stroke:Xn,strokeWidth:Jn||xn,fillOpacity:"0"}),Wt.map(function(Yn,Wn){var In=1;switch(sn){case"round":In=1-xn/100;break;case"square":In=1-xn/2/100;break;default:In=1;break}var ar={strokeDasharray:"".concat(Yn*In,"px, 100px"),strokeDashoffset:"-".concat(Mn,"px"),transition:Bn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},tr=Ot[Wn]||Ot[Ot.length-1];return Mn+=Yn,b.createElement("path",{key:Wn,className:"".concat(Mt,"-line-path"),d:Sn,strokeLinecap:sn,stroke:tr,strokeWidth:xn,fillOpacity:"0",ref:function(Ir){ln[Wn]=Ir},style:ar})}))},Pe=Ae,Re=E(76190),tt=E(42978),ce=E(47273),Oe=0,Ue=(0,ce.Z)();function ze(){var Et;return Ue?(Et=Oe,Oe+=1):Et="TEST_OR_SSR",Et}var nt=function(Et){var Tt=b.useState(),on=(0,tt.Z)(Tt,2),mn=on[0],vt=on[1];return b.useEffect(function(){vt("rc_progress_".concat(ze()))},[]),Et||mn},ke=function(Tt){var on=Tt.bg,mn=Tt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:on}},mn)};function Ve(Et,Tt){return Object.keys(Et).map(function(on){var mn=parseFloat(on),vt="".concat(Math.floor(mn*Tt),"%");return"".concat(Et[on]," ").concat(vt)})}var et=b.forwardRef(function(Et,Tt){var on=Et.prefixCls,mn=Et.color,vt=Et.gradientId,Mt=Et.radius,Yt=Et.style,sn=Et.ptg,xn=Et.strokeLinecap,Ln=Et.strokeWidth,Xn=Et.size,Jn=Et.gapDegree,Bn=mn&&(0,Re.Z)(mn)==="object",Un=Bn?"#FFF":void 0,Wt=Xn/2,Ot=b.createElement("circle",{className:"".concat(on,"-circle-path"),r:Mt,cx:Wt,cy:Wt,stroke:Un,strokeLinecap:xn,strokeWidth:Ln,opacity:sn===0?0:1,style:Yt,ref:Tt});if(!Bn)return Ot;var ln="".concat(vt,"-conic"),en=Jn?"".concat(180+Jn/2,"deg"):"0deg",Jt=Ve(mn,(360-Jn)/360),Sn=Ve(mn,1),yn="conic-gradient(from ".concat(en,", ").concat(Jt.join(", "),")"),Mn="linear-gradient(to ".concat(Jn?"bottom":"top",", ").concat(Sn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:ln},Ot),b.createElement("foreignObject",{x:0,y:0,width:Xn,height:Xn,mask:"url(#".concat(ln,")")},b.createElement(ke,{bg:Mn},b.createElement(ke,{bg:yn}))))}),Se=et,qe=100,pe=function(Tt,on,mn,vt,Mt,Yt,sn,xn,Ln,Xn){var Jn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Bn=mn/100*360*((360-Yt)/360),Un=Yt===0?0:{bottom:0,top:180,left:90,right:-90}[sn],Wt=(100-vt)/100*on;Ln==="round"&&vt!==100&&(Wt+=Xn/2,Wt>=on&&(Wt=on-.01));var Ot=qe/2;return{stroke:typeof xn=="string"?xn:void 0,strokeDasharray:"".concat(on,"px ").concat(Tt),strokeDashoffset:Wt+Jn,transform:"rotate(".concat(Mt+Bn+Un,"deg)"),transformOrigin:"".concat(Ot,"px ").concat(Ot,"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}},be=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function gt(Et){var Tt=Et!=null?Et:[];return Array.isArray(Tt)?Tt:[Tt]}var $e=function(Tt){var on=(0,Ce.Z)((0,Ce.Z)({},we),Tt),mn=on.id,vt=on.prefixCls,Mt=on.steps,Yt=on.strokeWidth,sn=on.trailWidth,xn=on.gapDegree,Ln=xn===void 0?0:xn,Xn=on.gapPosition,Jn=on.trailColor,Bn=on.strokeLinecap,Un=on.style,Wt=on.className,Ot=on.strokeColor,ln=on.percent,en=(0,Te.Z)(on,be),Jt=qe/2,Sn=nt(mn),yn="".concat(Sn,"-gradient"),Mn=Jt-Yt/2,Yn=Math.PI*2*Mn,Wn=Ln>0?90+Ln/2:-90,In=Yn*((360-Ln)/360),ar=(0,Re.Z)(Mt)==="object"?Mt:{count:Mt,gap:2},tr=ar.count,Rr=ar.gap,Ir=gt(ln),En=gt(Ot),kn=En.find(function(At){return At&&(0,Re.Z)(At)==="object"}),nr=kn&&(0,Re.Z)(kn)==="object",rr=nr?"butt":Bn,Lt=pe(Yn,In,0,100,Wn,Ln,Xn,Jn,rr,Yt),Qt=Me(),St=function(){var Ht=0;return Ir.map(function(ht,Xt){var tn=En[Xt]||En[En.length-1],dn=pe(Yn,In,Ht,ht,Wn,Ln,Xn,tn,rr,Yt);return Ht+=ht,b.createElement(Se,{key:Xt,color:tn,ptg:ht,radius:Mn,prefixCls:vt,gradientId:yn,style:dn,strokeLinecap:rr,strokeWidth:Yt,gapDegree:Ln,ref:function(jt){Qt[Xt]=jt},size:qe})}).reverse()},Zt=function(){var Ht=Math.round(tr*(Ir[0]/100)),ht=100/tr,Xt=0;return new Array(tr).fill(null).map(function(tn,dn){var Ut=dn<=Ht-1?En[0]:Jn,jt=Ut&&(0,Re.Z)(Ut)==="object"?"url(#".concat(yn,")"):void 0,Gt=pe(Yn,In,Xt,ht,Wn,Ln,Xn,Ut,"butt",Yt,Rr);return Xt+=(In-Gt.strokeDashoffset+Rr)*100/In,b.createElement("circle",{key:dn,className:"".concat(vt,"-circle-path"),r:Mn,cx:Jt,cy:Jt,stroke:jt,strokeWidth:Yt,opacity:1,style:Gt,ref:function(zn){Qt[dn]=zn}})})};return b.createElement("svg",(0,Fe.Z)({className:fe()("".concat(vt,"-circle"),Wt),viewBox:"0 0 ".concat(qe," ").concat(qe),style:Un,id:mn,role:"presentation"},en),!tr&&b.createElement("circle",{className:"".concat(vt,"-circle-trail"),r:Mn,cx:Jt,cy:Jt,stroke:Jn,strokeLinecap:rr,strokeWidth:sn||Yt,style:Lt}),tr?Zt():St())},at=$e,bt={Line:Pe,Circle:at},Ze=E(25399),se=E(68361);function Be(Et){return!Et||Et<0?0:Et>100?100:Et}function Je(Et){let{success:Tt,successPercent:on}=Et,mn=on;return Tt&&"progress"in Tt&&(mn=Tt.progress),Tt&&"percent"in Tt&&(mn=Tt.percent),mn}const lt=Et=>{let{percent:Tt,success:on,successPercent:mn}=Et;const vt=Be(Je({success:on,successPercent:mn}));return[vt,Be(Be(Tt)-vt)]},Ee=Et=>{let{success:Tt={},strokeColor:on}=Et;const{strokeColor:mn}=Tt;return[mn||se.presetPrimaryColors.green,on||null]},je=(Et,Tt,on)=>{var mn,vt,Mt,Yt;let sn=-1,xn=-1;if(Tt==="step"){const Ln=on.steps,Xn=on.strokeWidth;typeof Et=="string"||typeof Et=="undefined"?(sn=Et==="small"?2:14,xn=Xn!=null?Xn:8):typeof Et=="number"?[sn,xn]=[Et,Et]:[sn=14,xn=8]=Array.isArray(Et)?Et:[Et.width,Et.height],sn*=Ln}else if(Tt==="line"){const Ln=on==null?void 0:on.strokeWidth;typeof Et=="string"||typeof Et=="undefined"?xn=Ln||(Et==="small"?6:8):typeof Et=="number"?[sn,xn]=[Et,Et]:[sn=-1,xn=8]=Array.isArray(Et)?Et:[Et.width,Et.height]}else(Tt==="circle"||Tt==="dashboard")&&(typeof Et=="string"||typeof Et=="undefined"?[sn,xn]=Et==="small"?[60,60]:[120,120]:typeof Et=="number"?[sn,xn]=[Et,Et]:Array.isArray(Et)&&(sn=(vt=(mn=Et[0])!==null&&mn!==void 0?mn:Et[1])!==null&&vt!==void 0?vt:120,xn=(Yt=(Mt=Et[0])!==null&&Mt!==void 0?Mt:Et[1])!==null&&Yt!==void 0?Yt:120));return[sn,xn]},rt=3,xt=Et=>rt/Et*100;var wt=Et=>{const{prefixCls:Tt,trailColor:on=null,strokeLinecap:mn="round",gapPosition:vt,gapDegree:Mt,width:Yt=120,type:sn,children:xn,success:Ln,size:Xn=Yt,steps:Jn}=Et,[Bn,Un]=je(Xn,"circle");let{strokeWidth:Wt}=Et;Wt===void 0&&(Wt=Math.max(xt(Bn),6));const Ot={width:Bn,height:Un,fontSize:Bn*.15+6},ln=b.useMemo(()=>{if(Mt||Mt===0)return Mt;if(sn==="dashboard")return 75},[Mt,sn]),en=lt(Et),Jt=vt||sn==="dashboard"&&"bottom"||void 0,Sn=Object.prototype.toString.call(Et.strokeColor)==="[object Object]",yn=Ee({success:Ln,strokeColor:Et.strokeColor}),Mn=fe()(`${Tt}-inner`,{[`${Tt}-circle-gradient`]:Sn}),Yn=b.createElement(at,{steps:Jn,percent:Jn?en[1]:en,strokeWidth:Wt,trailWidth:Wt,strokeColor:Jn?yn[1]:yn,strokeLinecap:mn,trailColor:on,prefixCls:Tt,gapDegree:ln,gapPosition:Jt}),Wn=Bn<=20,In=b.createElement("div",{className:Mn,style:Ot},Yn,!Wn&&xn);return Wn?b.createElement(Ze.Z,{title:xn},In):In},ft=E(36237),It=E(63356),Dt=E(16931),oe=E(51636);const ae="--progress-line-stroke-color",te="--progress-percent",x=Et=>{const Tt=Et?"100%":"-100%";return new ft.Keyframes(`antProgress${Et?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Tt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Tt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},re=Et=>{const{componentCls:Tt,iconCls:on}=Et;return{[Tt]:Object.assign(Object.assign({},(0,It.Wf)(Et)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Et.fontSize},[`${Tt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Tt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Et.remainingColor,borderRadius:Et.lineBorderRadius},[`${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:Et.defaultColor}},[`${Tt}-success-bg, ${Tt}-bg`]:{position:"relative",background:Et.defaultColor,borderRadius:Et.lineBorderRadius,transition:`all ${Et.motionDurationSlow} ${Et.motionEaseInOutCirc}`},[`${Tt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Tt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Et.marginXXS}},[`${Tt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ae})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${Tt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Tt}-text-inner`]:{color:Et.colorWhite,[`&${Tt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Tt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Et.colorSuccess},[`${Tt}-text`]:{display:"inline-block",marginInlineStart:Et.marginXS,color:Et.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[on]:{fontSize:Et.fontSize},[`&${Tt}-text-outer`]:{width:"max-content"},[`&${Tt}-text-outer${Tt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Et.marginXS}},[`${Tt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ft.unit)(Et.paddingXXS)}`,[`&${Tt}-text-start`]:{justifyContent:"start"},[`&${Tt}-text-end`]:{justifyContent:"end"}},[`&${Tt}-status-active`]:{[`${Tt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Et.colorBgContainer,borderRadius:Et.lineBorderRadius,opacity:0,animationName:x(),animationDuration:Et.progressActiveMotionDuration,animationTimingFunction:Et.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Tt}-rtl${Tt}-status-active`]:{[`${Tt}-bg::before`]:{animationName:x(!0)}},[`&${Tt}-status-exception`]:{[`${Tt}-bg`]:{backgroundColor:Et.colorError},[`${Tt}-text`]:{color:Et.colorError}},[`&${Tt}-status-exception ${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:Et.colorError}},[`&${Tt}-status-success`]:{[`${Tt}-bg`]:{backgroundColor:Et.colorSuccess},[`${Tt}-text`]:{color:Et.colorSuccess}},[`&${Tt}-status-success ${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:Et.colorSuccess}}})}},ne=Et=>{const{componentCls:Tt,iconCls:on}=Et;return{[Tt]:{[`${Tt}-circle-trail`]:{stroke:Et.remainingColor},[`&${Tt}-circle ${Tt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Tt}-circle ${Tt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Et.circleTextColor,fontSize:Et.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[on]:{fontSize:Et.circleIconFontSize}},[`${Tt}-circle&-status-exception`]:{[`${Tt}-text`]:{color:Et.colorError}},[`${Tt}-circle&-status-success`]:{[`${Tt}-text`]:{color:Et.colorSuccess}}},[`${Tt}-inline-circle`]:{lineHeight:1,[`${Tt}-inner`]:{verticalAlign:"bottom"}}}},le=Et=>{const{componentCls:Tt}=Et;return{[Tt]:{[`${Tt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Et.progressStepMinWidth,marginInlineEnd:Et.progressStepMarginInlineEnd,backgroundColor:Et.remainingColor,transition:`all ${Et.motionDurationSlow}`,"&-active":{backgroundColor:Et.defaultColor}}}}}},Ie=Et=>{const{componentCls:Tt,iconCls:on}=Et;return{[Tt]:{[`${Tt}-small&-line, ${Tt}-small&-line ${Tt}-text ${on}`]:{fontSize:Et.fontSizeSM}}}},Le=Et=>({circleTextColor:Et.colorText,defaultColor:Et.colorInfo,remainingColor:Et.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Et.fontSize/Et.fontSizeSM}em`});var Ye=(0,Dt.I$)("Progress",Et=>{const Tt=Et.calc(Et.marginXXS).div(2).equal(),on=(0,oe.mergeToken)(Et,{progressStepMarginInlineEnd:Tt,progressStepMinWidth:Tt,progressActiveMotionDuration:"2.4s"});return[re(on),ne(on),le(on),Ie(on)]},Le),Ge=function(Et,Tt){var on={};for(var mn in Et)Object.prototype.hasOwnProperty.call(Et,mn)&&Tt.indexOf(mn)<0&&(on[mn]=Et[mn]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,mn=Object.getOwnPropertySymbols(Et);vt<mn.length;vt++)Tt.indexOf(mn[vt])<0&&Object.prototype.propertyIsEnumerable.call(Et,mn[vt])&&(on[mn[vt]]=Et[mn[vt]]);return on};const it=Et=>{let Tt=[];return Object.keys(Et).forEach(on=>{const mn=parseFloat(on.replace(/%/g,""));Number.isNaN(mn)||Tt.push({key:mn,value:Et[on]})}),Tt=Tt.sort((on,mn)=>on.key-mn.key),Tt.map(on=>{let{key:mn,value:vt}=on;return`${vt} ${mn}%`}).join(", ")},dt=(Et,Tt)=>{const{from:on=se.presetPrimaryColors.blue,to:mn=se.presetPrimaryColors.blue,direction:vt=Tt==="rtl"?"to left":"to right"}=Et,Mt=Ge(Et,["from","to","direction"]);if(Object.keys(Mt).length!==0){const sn=it(Mt),xn=`linear-gradient(${vt}, ${sn})`;return{background:xn,[ae]:xn}}const Yt=`linear-gradient(${vt}, ${on}, ${mn})`;return{background:Yt,[ae]:Yt}};var ot=Et=>{const{prefixCls:Tt,direction:on,percent:mn,size:vt,strokeWidth:Mt,strokeColor:Yt,strokeLinecap:sn="round",children:xn,trailColor:Ln=null,percentPosition:Xn,success:Jn}=Et,{align:Bn,type:Un}=Xn,Wt=Yt&&typeof Yt!="string"?dt(Yt,on):{[ae]:Yt,background:Yt},Ot=sn==="square"||sn==="butt"?0:void 0,ln=vt!=null?vt:[-1,Mt||(vt==="small"?6:8)],[en,Jt]=je(ln,"line",{strokeWidth:Mt}),Sn={backgroundColor:Ln||void 0,borderRadius:Ot},yn=Object.assign(Object.assign({width:`${Be(mn)}%`,height:Jt,borderRadius:Ot},Wt),{[te]:Be(mn)/100}),Mn=Je(Et),Yn={width:`${Be(Mn)}%`,height:Jt,borderRadius:Ot,backgroundColor:Jn==null?void 0:Jn.strokeColor},Wn={width:en<0?"100%":en},In=b.createElement("div",{className:`${Tt}-inner`,style:Sn},b.createElement("div",{className:fe()(`${Tt}-bg`,`${Tt}-bg-${Un}`),style:yn},Un==="inner"&&xn),Mn!==void 0&&b.createElement("div",{className:`${Tt}-success-bg`,style:Yn})),ar=Un==="outer"&&Bn==="start",tr=Un==="outer"&&Bn==="end";return Un==="outer"&&Bn==="center"?b.createElement("div",{className:`${Tt}-layout-bottom`},In,xn):b.createElement("div",{className:`${Tt}-outer`,style:Wn},ar&&xn,In,tr&&xn)},Vt=Et=>{const{size:Tt,steps:on,rounding:mn=Math.round,percent:vt=0,strokeWidth:Mt=8,strokeColor:Yt,trailColor:sn=null,prefixCls:xn,children:Ln}=Et,Xn=mn(on*(vt/100)),Jn=Tt==="small"?2:14,Bn=Tt!=null?Tt:[Jn,Mt],[Un,Wt]=je(Bn,"step",{steps:on,strokeWidth:Mt}),Ot=Un/on,ln=Array.from({length:on});for(let en=0;en<on;en++){const Jt=Array.isArray(Yt)?Yt[en]:Yt;ln[en]=b.createElement("div",{key:en,className:fe()(`${xn}-steps-item`,{[`${xn}-steps-item-active`]:en<=Xn-1}),style:{backgroundColor:en<=Xn-1?Jt:sn,width:Ot,height:Wt}})}return b.createElement("div",{className:`${xn}-steps-outer`},ln,Ln)},kt=function(Et,Tt){var on={};for(var mn in Et)Object.prototype.hasOwnProperty.call(Et,mn)&&Tt.indexOf(mn)<0&&(on[mn]=Et[mn]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,mn=Object.getOwnPropertySymbols(Et);vt<mn.length;vt++)Tt.indexOf(mn[vt])<0&&Object.prototype.propertyIsEnumerable.call(Et,mn[vt])&&(on[mn[vt]]=Et[mn[vt]]);return on};const un=null,$t=["normal","exception","active","success"];var Kt=b.forwardRef((Et,Tt)=>{const{prefixCls:on,className:mn,rootClassName:vt,steps:Mt,strokeColor:Yt,percent:sn=0,size:xn="default",showInfo:Ln=!0,type:Xn="line",status:Jn,format:Bn,style:Un,percentPosition:Wt={}}=Et,Ot=kt(Et,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:ln="end",type:en="outer"}=Wt,Jt=Array.isArray(Yt)?Yt[0]:Yt,Sn=typeof Yt=="string"||Array.isArray(Yt)?Yt:void 0,yn=b.useMemo(()=>{if(Jt){const St=typeof Jt=="string"?Jt:Object.values(Jt)[0];return new We.FastColor(St).isLight()}return!1},[Yt]),Mn=b.useMemo(()=>{var St,Zt;const At=Je(Et);return parseInt(At!==void 0?(St=At!=null?At:0)===null||St===void 0?void 0:St.toString():(Zt=sn!=null?sn:0)===null||Zt===void 0?void 0:Zt.toString(),10)},[sn,Et.success,Et.successPercent]),Yn=b.useMemo(()=>!$t.includes(Jn)&&Mn>=100?"success":Jn||"normal",[Jn,Mn]),{getPrefixCls:Wn,direction:In,progress:ar}=b.useContext(ue.E_),tr=Wn("progress",on),[Rr,Ir,En]=Ye(tr),kn=Xn==="line",nr=kn&&!Mt,rr=b.useMemo(()=>{if(!Ln)return null;const St=Je(Et);let Zt;const At=Bn||(ht=>`${ht}%`),Ht=kn&&yn&&en==="inner";return en==="inner"||Bn||Yn!=="exception"&&Yn!=="success"?Zt=At(Be(sn),Be(St)):Yn==="exception"?Zt=kn?b.createElement(De.Z,null):b.createElement(ve.Z,null):Yn==="success"&&(Zt=kn?b.createElement(de.Z,null):b.createElement(Ke.Z,null)),b.createElement("span",{className:fe()(`${tr}-text`,{[`${tr}-text-bright`]:Ht,[`${tr}-text-${ln}`]:nr,[`${tr}-text-${en}`]:nr}),title:typeof Zt=="string"?Zt:void 0},Zt)},[Ln,sn,Mn,Yn,Xn,tr,Bn]);let Lt;Xn==="line"?Lt=Mt?b.createElement(Vt,Object.assign({},Et,{strokeColor:Sn,prefixCls:tr,steps:typeof Mt=="object"?Mt.count:Mt}),rr):b.createElement(ot,Object.assign({},Et,{strokeColor:Jt,prefixCls:tr,direction:In,percentPosition:{align:ln,type:en}}),rr):(Xn==="circle"||Xn==="dashboard")&&(Lt=b.createElement(wt,Object.assign({},Et,{strokeColor:Jt,prefixCls:tr,progressStatus:Yn}),rr));const Qt=fe()(tr,`${tr}-status-${Yn}`,{[`${tr}-${Xn==="dashboard"&&"circle"||Xn}`]:Xn!=="line",[`${tr}-inline-circle`]:Xn==="circle"&&je(xn,"circle")[0]<=20,[`${tr}-line`]:nr,[`${tr}-line-align-${ln}`]:nr,[`${tr}-line-position-${en}`]:nr,[`${tr}-steps`]:Mt,[`${tr}-show-info`]:Ln,[`${tr}-${xn}`]:typeof xn=="string",[`${tr}-rtl`]:In==="rtl"},ar==null?void 0:ar.className,mn,vt,Ir,En);return Rr(b.createElement("div",Object.assign({ref:Tt,style:Object.assign(Object.assign({},ar==null?void 0:ar.style),Un),className:Qt,role:"progressbar","aria-valuenow":Mn,"aria-valuemin":0,"aria-valuemax":100},(0,xe.Z)(Ot,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Lt))}),qt=Kt},63139:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return lt}});var b=E(59301),We=E(54476),de={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"},Ke=de,De=E(7657),ve=function(je,rt){return b.createElement(De.Z,(0,We.Z)({},je,{ref:rt,icon:Ke}))},ye=b.forwardRef(ve),fe=ye,xe=E(92310),ue=E.n(xe),Fe=E(20068),Ce=E(42978),Te=E(75931),we=E(18929),Me=E(10228),ge=E(26112);function Ae(Ee,je){var rt=Ee.disabled,xt=Ee.prefixCls,ct=Ee.character,wt=Ee.characterRender,ft=Ee.index,It=Ee.count,Dt=Ee.value,oe=Ee.allowHalf,ae=Ee.focused,te=Ee.onHover,x=Ee.onClick,re=function(dt){te(dt,ft)},ne=function(dt){x(dt,ft)},le=function(dt){dt.keyCode===Me.Z.ENTER&&x(dt,ft)},Ie=ft+1,Le=new Set([xt]);Dt===0&&ft===0&&ae?Le.add("".concat(xt,"-focused")):oe&&Dt+.5>=Ie&&Dt<Ie?(Le.add("".concat(xt,"-half")),Le.add("".concat(xt,"-active")),ae&&Le.add("".concat(xt,"-focused"))):(Ie<=Dt?Le.add("".concat(xt,"-full")):Le.add("".concat(xt,"-zero")),Ie===Dt&&ae&&Le.add("".concat(xt,"-focused")));var Ye=typeof ct=="function"?ct(Ee):ct,Ge=b.createElement("li",{className:ue()(Array.from(Le)),ref:je},b.createElement("div",{onClick:rt?null:ne,onKeyDown:rt?null:le,onMouseMove:rt?null:re,role:"radio","aria-checked":Dt>ft?"true":"false","aria-posinset":ft+1,"aria-setsize":It,tabIndex:rt?-1:0},b.createElement("div",{className:"".concat(xt,"-first")},Ye),b.createElement("div",{className:"".concat(xt,"-second")},Ye)));return wt&&(Ge=wt(Ge,Ee)),Ge}var Pe=b.forwardRef(Ae);function Re(){var Ee=b.useRef({});function je(xt){return Ee.current[xt]}function rt(xt){return function(ct){Ee.current[xt]=ct}}return[je,rt]}function tt(Ee){var je=Ee.pageXOffset,rt="scrollLeft";if(typeof je!="number"){var xt=Ee.document;je=xt.documentElement[rt],typeof je!="number"&&(je=xt.body[rt])}return je}function ce(Ee){var je,rt,xt=Ee.ownerDocument,ct=xt.body,wt=xt&&xt.documentElement,ft=Ee.getBoundingClientRect();return je=ft.left,rt=ft.top,je-=wt.clientLeft||ct.clientLeft||0,rt-=wt.clientTop||ct.clientTop||0,{left:je,top:rt}}function Oe(Ee){var je=ce(Ee),rt=Ee.ownerDocument,xt=rt.defaultView||rt.parentWindow;return je.left+=tt(xt),je.left}var Ue=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ze(Ee,je){var rt=Ee.prefixCls,xt=rt===void 0?"rc-rate":rt,ct=Ee.className,wt=Ee.defaultValue,ft=Ee.value,It=Ee.count,Dt=It===void 0?5:It,oe=Ee.allowHalf,ae=oe===void 0?!1:oe,te=Ee.allowClear,x=te===void 0?!0:te,re=Ee.keyboard,ne=re===void 0?!0:re,le=Ee.character,Ie=le===void 0?"\u2605":le,Le=Ee.characterRender,Ye=Ee.disabled,Ge=Ee.direction,it=Ge===void 0?"ltr":Ge,dt=Ee.tabIndex,yt=dt===void 0?0:dt,ot=Ee.autoFocus,st=Ee.onHoverChange,Vt=Ee.onChange,kt=Ee.onFocus,un=Ee.onBlur,$t=Ee.onKeyDown,Rt=Ee.onMouseLeave,Kt=(0,Te.Z)(Ee,Ue),qt=Re(),Et=(0,Ce.Z)(qt,2),Tt=Et[0],on=Et[1],mn=b.useRef(null),vt=function(){if(!Ye){var rr;(rr=mn.current)===null||rr===void 0||rr.focus()}};b.useImperativeHandle(je,function(){return{focus:vt,blur:function(){if(!Ye){var rr;(rr=mn.current)===null||rr===void 0||rr.blur()}}}});var Mt=(0,we.Z)(wt||0,{value:ft}),Yt=(0,Ce.Z)(Mt,2),sn=Yt[0],xn=Yt[1],Ln=(0,we.Z)(null),Xn=(0,Ce.Z)(Ln,2),Jn=Xn[0],Bn=Xn[1],Un=function(rr,Lt){var Qt=it==="rtl",St=rr+1;if(ae){var Zt=Tt(rr),At=Oe(Zt),Ht=Zt.clientWidth;(Qt&&Lt-At>Ht/2||!Qt&&Lt-At<Ht/2)&&(St-=.5)}return St},Wt=function(rr){xn(rr),Vt==null||Vt(rr)},Ot=b.useState(!1),ln=(0,Ce.Z)(Ot,2),en=ln[0],Jt=ln[1],Sn=function(){Jt(!0),kt==null||kt()},yn=function(){Jt(!1),un==null||un()},Mn=b.useState(null),Yn=(0,Ce.Z)(Mn,2),Wn=Yn[0],In=Yn[1],ar=function(rr,Lt){var Qt=Un(Lt,rr.pageX);Qt!==Jn&&(In(Qt),Bn(null)),st==null||st(Qt)},tr=function(rr){Ye||(In(null),Bn(null),st==null||st(void 0)),rr&&(Rt==null||Rt(rr))},Rr=function(rr,Lt){var Qt=Un(Lt,rr.pageX),St=!1;x&&(St=Qt===sn),tr(),Wt(St?0:Qt),Bn(St?Qt:null)},Ir=function(rr){var Lt=rr.keyCode,Qt=it==="rtl",St=ae?.5:1;ne&&(Lt===Me.Z.RIGHT&&sn<Dt&&!Qt?(Wt(sn+St),rr.preventDefault()):Lt===Me.Z.LEFT&&sn>0&&!Qt||Lt===Me.Z.RIGHT&&sn>0&&Qt?(Wt(sn-St),rr.preventDefault()):Lt===Me.Z.LEFT&&sn<Dt&&Qt&&(Wt(sn+St),rr.preventDefault())),$t==null||$t(rr)};b.useEffect(function(){ot&&!Ye&&vt()},[]);var En=new Array(Dt).fill(0).map(function(nr,rr){return b.createElement(Pe,{ref:on(rr),index:rr,count:Dt,disabled:Ye,prefixCls:"".concat(xt,"-star"),allowHalf:ae,value:Wn===null?sn:Wn,onClick:Rr,onHover:ar,key:nr||rr,character:Ie,characterRender:Le,focused:en})}),kn=ue()(xt,ct,(0,Fe.Z)((0,Fe.Z)({},"".concat(xt,"-disabled"),Ye),"".concat(xt,"-rtl"),it==="rtl"));return b.createElement("ul",(0,We.Z)({className:kn,onMouseLeave:tr,tabIndex:Ye?-1:yt,onFocus:Ye?null:Sn,onBlur:Ye?null:yn,onKeyDown:Ye?null:Ir,ref:mn},(0,ge.Z)(Kt,{aria:!0,data:!0,attr:!0})),En)}var nt=b.forwardRef(ze),ke=nt,Ve=E(48755),et=E(25399),Se=E(36237),qe=E(63356),pe=E(16931),be=E(51636);const gt=Ee=>{const{componentCls:je}=Ee;return{[`${je}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ee.marginXS},"> div":{transition:`all ${Ee.motionDurationMid}, outline 0s`,"&:hover":{transform:Ee.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Se.unit)(Ee.lineWidth)} dashed ${Ee.starColor}`,transform:Ee.starHoverScale}},"&-first, &-second":{color:Ee.starBg,transition:`all ${Ee.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${je}-star-first, &-half ${je}-star-second`]:{opacity:1},[`&-half ${je}-star-first, &-full ${je}-star-second`]:{color:"inherit"}}}},$e=Ee=>({[`&-rtl${Ee.componentCls}`]:{direction:"rtl"}}),at=Ee=>{const{componentCls:je}=Ee;return{[je]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(Ee)),{display:"inline-block",margin:0,padding:0,color:Ee.starColor,fontSize:Ee.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${je} ${je}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),gt(Ee)),$e(Ee))}},bt=Ee=>({starColor:Ee.yellow6,starSize:Ee.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ee.colorFillContent});var Ze=(0,pe.I$)("Rate",Ee=>{const je=(0,be.mergeToken)(Ee,{});return[at(je)]},bt),se=E(2171),Be=function(Ee,je){var rt={};for(var xt in Ee)Object.prototype.hasOwnProperty.call(Ee,xt)&&je.indexOf(xt)<0&&(rt[xt]=Ee[xt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,xt=Object.getOwnPropertySymbols(Ee);ct<xt.length;ct++)je.indexOf(xt[ct])<0&&Object.prototype.propertyIsEnumerable.call(Ee,xt[ct])&&(rt[xt[ct]]=Ee[xt[ct]]);return rt},lt=b.forwardRef((Ee,je)=>{const{prefixCls:rt,className:xt,rootClassName:ct,style:wt,tooltips:ft,character:It=b.createElement(fe,null),disabled:Dt}=Ee,oe=Be(Ee,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ae=(dt,yt)=>{let{index:ot}=yt;return ft?b.createElement(et.Z,{title:ft[ot]},dt):dt},{getPrefixCls:te,direction:x,rate:re}=b.useContext(Ve.E_),ne=te("rate",rt),[le,Ie,Le]=Ze(ne),Ye=Object.assign(Object.assign({},re==null?void 0:re.style),wt),Ge=b.useContext(se.Z),it=Dt!=null?Dt:Ge;return le(b.createElement(ke,Object.assign({ref:je,character:It,characterRender:ae,disabled:it},oe,{className:ue()(xt,ct,Ie,Le,re==null?void 0:re.className),style:Ye,prefixCls:ne,direction:x})))})},82326:function(wn,zt,E){"use strict";var b=E(59301),We=E(92310),de=E.n(We),Ke=E(37463),De=E(2738),ve=E(75030),ye=E(86641),fe=E(45915),xe=E(82855),ue=E(48755),Fe=E(38406),Ce=E(2171),Te=E(83397),we=E(31756),Me=E(56553),ge=E(24971),Ae=E(70045),Pe=E(57700),Re=E(1722),tt=E(90376),ce=E(68525),Oe=E(90005),Ue=function(et,Se){var qe={};for(var pe in et)Object.prototype.hasOwnProperty.call(et,pe)&&Se.indexOf(pe)<0&&(qe[pe]=et[pe]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,pe=Object.getOwnPropertySymbols(et);be<pe.length;be++)Se.indexOf(pe[be])<0&&Object.prototype.propertyIsEnumerable.call(et,pe[be])&&(qe[pe[be]]=et[pe[be]]);return qe};const ze="SECRET_COMBOBOX_MODE_DO_NOT_USE",nt=(et,Se)=>{var qe;const{prefixCls:pe,bordered:be,className:gt,rootClassName:$e,getPopupContainer:at,popupClassName:bt,dropdownClassName:Ze,listHeight:se=256,placement:Be,listItemHeight:Je,size:lt,disabled:Ee,notFoundContent:je,status:rt,builtinPlacements:xt,dropdownMatchSelectWidth:ct,popupMatchSelectWidth:wt,direction:ft,style:It,allowClear:Dt,variant:oe,dropdownStyle:ae,transitionName:te,tagRender:x,maxCount:re,prefix:ne}=et,le=Ue(et,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:Ie,getPrefixCls:Le,renderEmpty:Ye,direction:Ge,virtual:it,popupMatchSelectWidth:dt,popupOverflow:yt}=b.useContext(ue.E_),ot=(0,ue.dj)("select"),[,st]=(0,Pe.ZP)(),Vt=Je!=null?Je:st==null?void 0:st.controlHeight,kt=Le("select",pe),un=Le(),$t=ft!=null?ft:Ge,{compactSize:Rt,compactItemClassnames:Kt}=(0,Ae.ri)(kt,$t),[qt,Et]=(0,ge.Z)("select",oe,be),Tt=(0,Te.Z)(kt),[on,mn,vt]=(0,tt.Z)(kt,Tt),Mt=b.useMemo(()=>{const{mode:Ir}=et;if(Ir!=="combobox")return Ir===ze?"combobox":Ir},[et.mode]),Yt=Mt==="multiple"||Mt==="tags",sn=(0,Oe.Z)(et.suffixIcon,et.showArrow),xn=(qe=wt!=null?wt:ct)!==null&&qe!==void 0?qe:dt,{status:Ln,hasFeedback:Xn,isFormItemInput:Jn,feedbackIcon:Bn}=b.useContext(Me.aM),Un=(0,xe.F)(Ln,rt);let Wt;je!==void 0?Wt=je:Mt==="combobox"?Wt=null:Wt=(Ye==null?void 0:Ye("Select"))||b.createElement(Fe.Z,{componentName:"Select"});const{suffixIcon:Ot,itemIcon:ln,removeIcon:en,clearIcon:Jt}=(0,ce.Z)(Object.assign(Object.assign({},le),{multiple:Yt,hasFeedback:Xn,feedbackIcon:Bn,showSuffixIcon:sn,prefixCls:kt,componentName:"Select"})),Sn=Dt===!0?{clearIcon:Jt}:Dt,yn=(0,De.Z)(le,["suffixIcon","itemIcon"]),Mn=de()(bt||Ze,{[`${kt}-dropdown-${$t}`]:$t==="rtl"},$e,vt,Tt,mn),Yn=(0,we.Z)(Ir=>{var En;return(En=lt!=null?lt:Rt)!==null&&En!==void 0?En:Ir}),Wn=b.useContext(Ce.Z),In=Ee!=null?Ee:Wn,ar=de()({[`${kt}-lg`]:Yn==="large",[`${kt}-sm`]:Yn==="small",[`${kt}-rtl`]:$t==="rtl",[`${kt}-${qt}`]:Et,[`${kt}-in-form-item`]:Jn},(0,xe.Z)(kt,Un,Xn),Kt,ot.className,gt,$e,vt,Tt,mn),tr=b.useMemo(()=>Be!==void 0?Be:$t==="rtl"?"bottomRight":"bottomLeft",[Be,$t]),[Rr]=(0,ve.Cn)("SelectLike",ae==null?void 0:ae.zIndex);return on(b.createElement(Ke.ZP,Object.assign({ref:Se,virtual:it,showSearch:ot.showSearch},yn,{style:Object.assign(Object.assign({},ot.style),It),dropdownMatchSelectWidth:xn,transitionName:(0,ye.m)(un,"slide-up",te),builtinPlacements:(0,Re.Z)(xt,yt),listHeight:se,listItemHeight:Vt,mode:Mt,prefixCls:kt,placement:tr,direction:$t,prefix:ne,suffixIcon:Ot,menuItemSelectedIcon:ln,removeIcon:en,allowClear:Sn,notFoundContent:Wt,className:ar,getPopupContainer:at||Ie,dropdownClassName:Mn,disabled:In,dropdownStyle:Object.assign(Object.assign({},ae),{zIndex:Rr}),maxCount:Yt?re:void 0,tagRender:Yt?x:void 0})))},ke=b.forwardRef(nt),Ve=(0,fe.Z)(ke,"dropdownAlign");ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=ze,ke.Option=Ke.Wx,ke.OptGroup=Ke.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=Ve,zt.default=ke},1722:function(wn,zt){"use strict";const E=We=>{const Ke={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:We==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Ke),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Ke),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Ke),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Ke),{points:["br","tr"],offset:[0,-4]})}};function b(We,de){return We||E(de)}zt.Z=b},90376:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return pe}});var b=E(63356),We=E(56119),de=E(16931),Ke=E(51636),De=E(46e3),ve=E(93873);const ye=be=>{const{optionHeight:gt,optionFontSize:$e,optionLineHeight:at,optionPadding:bt}=be;return{position:"relative",display:"block",minHeight:gt,padding:bt,color:be.colorText,fontWeight:"normal",fontSize:$e,lineHeight:at,boxSizing:"border-box"}};var xe=be=>{const{antCls:gt,componentCls:$e}=be,at=`${$e}-item`,bt=`&${gt}-slide-up-enter${gt}-slide-up-enter-active`,Ze=`&${gt}-slide-up-appear${gt}-slide-up-appear-active`,se=`&${gt}-slide-up-leave${gt}-slide-up-leave-active`,Be=`${$e}-dropdown-placement-`,Je=`${at}-option-selected`;return[{[`${$e}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(be)),{position:"absolute",top:-9999,zIndex:be.zIndexPopup,boxSizing:"border-box",padding:be.paddingXXS,overflow:"hidden",fontSize:be.fontSize,fontVariant:"initial",backgroundColor:be.colorBgElevated,borderRadius:be.borderRadiusLG,outline:"none",boxShadow:be.boxShadowSecondary,[`
|
|
|
${bt}${Be}bottomLeft,
|
|
|
${Ze}${Be}bottomLeft
|
|
|
`]:{animationName:De.fJ},[`
|
|
|
${bt}${Be}topLeft,
|
|
|
${Ze}${Be}topLeft,
|
|
|
${bt}${Be}topRight,
|
|
|
${Ze}${Be}topRight
|
|
|
`]:{animationName:De.Qt},[`${se}${Be}bottomLeft`]:{animationName:De.Uw},[`
|
|
|
${se}${Be}topLeft,
|
|
|
${se}${Be}topRight
|
|
|
`]:{animationName:De.ly},"&-hidden":{display:"none"},[at]:Object.assign(Object.assign({},ye(be)),{cursor:"pointer",transition:`background ${be.motionDurationSlow} ease`,borderRadius:be.borderRadiusSM,"&-group":{color:be.colorTextDescription,fontSize:be.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${at}-option-disabled)`]:{backgroundColor:be.optionActiveBg},[`&-selected:not(${at}-option-disabled)`]:{color:be.optionSelectedColor,fontWeight:be.optionSelectedFontWeight,backgroundColor:be.optionSelectedBg,[`${at}-option-state`]:{color:be.colorPrimary}},"&-disabled":{[`&${at}-option-selected`]:{backgroundColor:be.colorBgContainerDisabled},color:be.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:be.calc(be.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},ye(be)),{color:be.colorTextDisabled})}),[`${Je}:has(+ ${Je})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Je}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,De.oN)(be,"slide-up"),(0,De.oN)(be,"slide-down"),(0,ve.Fm)(be,"move-up"),(0,ve.Fm)(be,"move-down")]},ue=E(26743),Fe=E(36237);function Ce(be,gt){const{componentCls:$e,inputPaddingHorizontalBase:at,borderRadius:bt}=be,Ze=be.calc(be.controlHeight).sub(be.calc(be.lineWidth).mul(2)).equal(),se=gt?`${$e}-${gt}`:"";return{[`${$e}-single${se}`]:{fontSize:be.fontSize,height:be.controlHeight,[`${$e}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(be,!0)),{display:"flex",borderRadius:bt,flex:"1 1 auto",[`${$e}-selection-wrap:after`]:{lineHeight:(0,Fe.unit)(Ze)},[`${$e}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${$e}-selection-item,
|
|
|
${$e}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,Fe.unit)(Ze),transition:`all ${be.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${$e}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${$e}-selection-item:empty:after`,`${$e}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${$e}-show-arrow ${$e}-selection-item,
|
|
|
&${$e}-show-arrow ${$e}-selection-search,
|
|
|
&${$e}-show-arrow ${$e}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:be.showArrowPaddingInlineEnd},[`&${$e}-open ${$e}-selection-item`]:{color:be.colorTextPlaceholder},[`&:not(${$e}-customize-input)`]:{[`${$e}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Fe.unit)(at)}`,[`${$e}-selection-search-input`]:{height:Ze,fontSize:be.fontSize},"&:after":{lineHeight:(0,Fe.unit)(Ze)}}},[`&${$e}-customize-input`]:{[`${$e}-selector`]:{"&:after":{display:"none"},[`${$e}-selection-search`]:{position:"static",width:"100%"},[`${$e}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Fe.unit)(at)}`,"&:after":{display:"none"}}}}}}}function Te(be){const{componentCls:gt}=be,$e=be.calc(be.controlPaddingHorizontalSM).sub(be.lineWidth).equal();return[Ce(be),Ce((0,Ke.mergeToken)(be,{controlHeight:be.controlHeightSM,borderRadius:be.borderRadiusSM}),"sm"),{[`${gt}-single${gt}-sm`]:{[`&:not(${gt}-customize-input)`]:{[`${gt}-selector`]:{padding:`0 ${(0,Fe.unit)($e)}`},[`&${gt}-show-arrow ${gt}-selection-search`]:{insetInlineEnd:be.calc($e).add(be.calc(be.fontSize).mul(1.5)).equal()},[`
|
|
|
&${gt}-show-arrow ${gt}-selection-item,
|
|
|
&${gt}-show-arrow ${gt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:be.calc(be.fontSize).mul(1.5).equal()}}}},Ce((0,Ke.mergeToken)(be,{controlHeight:be.singleItemHeightLG,fontSize:be.fontSizeLG,borderRadius:be.borderRadiusLG}),"lg")]}const we=be=>{const{fontSize:gt,lineHeight:$e,lineWidth:at,controlHeight:bt,controlHeightSM:Ze,controlHeightLG:se,paddingXXS:Be,controlPaddingHorizontal:Je,zIndexPopupBase:lt,colorText:Ee,fontWeightStrong:je,controlItemBgActive:rt,controlItemBgHover:xt,colorBgContainer:ct,colorFillSecondary:wt,colorBgContainerDisabled:ft,colorTextDisabled:It,colorPrimaryHover:Dt,colorPrimary:oe,controlOutline:ae}=be,te=Be*2,x=at*2,re=Math.min(bt-te,bt-x),ne=Math.min(Ze-te,Ze-x),le=Math.min(se-te,se-x);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Be/2),zIndexPopup:lt+50,optionSelectedColor:Ee,optionSelectedFontWeight:je,optionSelectedBg:rt,optionActiveBg:xt,optionPadding:`${(bt-gt*$e)/2}px ${Je}px`,optionFontSize:gt,optionLineHeight:$e,optionHeight:bt,selectorBg:ct,clearBg:ct,singleItemHeightLG:se,multipleItemBg:wt,multipleItemBorderColor:"transparent",multipleItemHeight:re,multipleItemHeightSM:ne,multipleItemHeightLG:le,multipleSelectorBgDisabled:ft,multipleItemColorDisabled:It,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(be.fontSize*1.25),hoverBorderColor:Dt,activeBorderColor:oe,activeOutlineColor:ae,selectAffixPadding:Be}},Me=(be,gt)=>{const{componentCls:$e,antCls:at,controlOutlineWidth:bt}=be;return{[`&:not(${$e}-customize-input) ${$e}-selector`]:{border:`${(0,Fe.unit)(be.lineWidth)} ${be.lineType} ${gt.borderColor}`,background:be.selectorBg},[`&:not(${$e}-disabled):not(${$e}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${$e}-selector`]:{borderColor:gt.hoverBorderHover},[`${$e}-focused& ${$e}-selector`]:{borderColor:gt.activeBorderColor,boxShadow:`0 0 0 ${(0,Fe.unit)(bt)} ${gt.activeOutlineColor}`,outline:0},[`${$e}-prefix`]:{color:gt.color}}}},ge=(be,gt)=>({[`&${be.componentCls}-status-${gt.status}`]:Object.assign({},Me(be,gt))}),Ae=be=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Me(be,{borderColor:be.colorBorder,hoverBorderHover:be.hoverBorderColor,activeBorderColor:be.activeBorderColor,activeOutlineColor:be.activeOutlineColor,color:be.colorText})),ge(be,{status:"error",borderColor:be.colorError,hoverBorderHover:be.colorErrorHover,activeBorderColor:be.colorError,activeOutlineColor:be.colorErrorOutline,color:be.colorError})),ge(be,{status:"warning",borderColor:be.colorWarning,hoverBorderHover:be.colorWarningHover,activeBorderColor:be.colorWarning,activeOutlineColor:be.colorWarningOutline,color:be.colorWarning})),{[`&${be.componentCls}-disabled`]:{[`&:not(${be.componentCls}-customize-input) ${be.componentCls}-selector`]:{background:be.colorBgContainerDisabled,color:be.colorTextDisabled}},[`&${be.componentCls}-multiple ${be.componentCls}-selection-item`]:{background:be.multipleItemBg,border:`${(0,Fe.unit)(be.lineWidth)} ${be.lineType} ${be.multipleItemBorderColor}`}})}),Pe=(be,gt)=>{const{componentCls:$e,antCls:at}=be;return{[`&:not(${$e}-customize-input) ${$e}-selector`]:{background:gt.bg,border:`${(0,Fe.unit)(be.lineWidth)} ${be.lineType} transparent`,color:gt.color},[`&:not(${$e}-disabled):not(${$e}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${$e}-selector`]:{background:gt.hoverBg},[`${$e}-focused& ${$e}-selector`]:{background:be.selectorBg,borderColor:gt.activeBorderColor,outline:0}}}},Re=(be,gt)=>({[`&${be.componentCls}-status-${gt.status}`]:Object.assign({},Pe(be,gt))}),tt=be=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Pe(be,{bg:be.colorFillTertiary,hoverBg:be.colorFillSecondary,activeBorderColor:be.activeBorderColor,color:be.colorText})),Re(be,{status:"error",bg:be.colorErrorBg,hoverBg:be.colorErrorBgHover,activeBorderColor:be.colorError,color:be.colorError})),Re(be,{status:"warning",bg:be.colorWarningBg,hoverBg:be.colorWarningBgHover,activeBorderColor:be.colorWarning,color:be.colorWarning})),{[`&${be.componentCls}-disabled`]:{[`&:not(${be.componentCls}-customize-input) ${be.componentCls}-selector`]:{borderColor:be.colorBorder,background:be.colorBgContainerDisabled,color:be.colorTextDisabled}},[`&${be.componentCls}-multiple ${be.componentCls}-selection-item`]:{background:be.colorBgContainer,border:`${(0,Fe.unit)(be.lineWidth)} ${be.lineType} ${be.colorSplit}`}})}),ce=be=>({"&-borderless":{[`${be.componentCls}-selector`]:{background:"transparent",border:`${(0,Fe.unit)(be.lineWidth)} ${be.lineType} transparent`},[`&${be.componentCls}-disabled`]:{[`&:not(${be.componentCls}-customize-input) ${be.componentCls}-selector`]:{color:be.colorTextDisabled}},[`&${be.componentCls}-multiple ${be.componentCls}-selection-item`]:{background:be.multipleItemBg,border:`${(0,Fe.unit)(be.lineWidth)} ${be.lineType} ${be.multipleItemBorderColor}`},[`&${be.componentCls}-status-error`]:{[`${be.componentCls}-prefix, ${be.componentCls}-selection-item`]:{color:be.colorError}},[`&${be.componentCls}-status-warning`]:{[`${be.componentCls}-prefix, ${be.componentCls}-selection-item`]:{color:be.colorWarning}}}}),Oe=(be,gt)=>{const{componentCls:$e,antCls:at}=be;return{[`&:not(${$e}-customize-input) ${$e}-selector`]:{borderWidth:`0 0 ${(0,Fe.unit)(be.lineWidth)} 0`,borderStyle:`none none ${be.lineType} none`,borderColor:gt.borderColor,background:be.selectorBg,borderRadius:0},[`&:not(${$e}-disabled):not(${$e}-customize-input):not(${at}-pagination-size-changer)`]:{[`&:hover ${$e}-selector`]:{borderColor:gt.hoverBorderHover},[`${$e}-focused& ${$e}-selector`]:{borderColor:gt.activeBorderColor,outline:0},[`${$e}-prefix`]:{color:gt.color}}}},Ue=(be,gt)=>({[`&${be.componentCls}-status-${gt.status}`]:Object.assign({},Oe(be,gt))}),ze=be=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Oe(be,{borderColor:be.colorBorder,hoverBorderHover:be.hoverBorderColor,activeBorderColor:be.activeBorderColor,activeOutlineColor:be.activeOutlineColor,color:be.colorText})),Ue(be,{status:"error",borderColor:be.colorError,hoverBorderHover:be.colorErrorHover,activeBorderColor:be.colorError,activeOutlineColor:be.colorErrorOutline,color:be.colorError})),Ue(be,{status:"warning",borderColor:be.colorWarning,hoverBorderHover:be.colorWarningHover,activeBorderColor:be.colorWarning,activeOutlineColor:be.colorWarningOutline,color:be.colorWarning})),{[`&${be.componentCls}-disabled`]:{[`&:not(${be.componentCls}-customize-input) ${be.componentCls}-selector`]:{color:be.colorTextDisabled}},[`&${be.componentCls}-multiple ${be.componentCls}-selection-item`]:{background:be.multipleItemBg,border:`${(0,Fe.unit)(be.lineWidth)} ${be.lineType} ${be.multipleItemBorderColor}`}})});var ke=be=>({[be.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Ae(be)),tt(be)),ce(be)),ze(be))});const Ve=be=>{const{componentCls:gt}=be;return{position:"relative",transition:`all ${be.motionDurationMid} ${be.motionEaseInOut}`,input:{cursor:"pointer"},[`${gt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${gt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},et=be=>{const{componentCls:gt}=be;return{[`${gt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Se=be=>{const{antCls:gt,componentCls:$e,inputPaddingHorizontalBase:at,iconCls:bt}=be;return{[$e]:Object.assign(Object.assign({},(0,b.Wf)(be)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${$e}-customize-input) ${$e}-selector`]:Object.assign(Object.assign({},Ve(be)),et(be)),[`${$e}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${gt}-typography`]:{display:"inline"}}),[`${$e}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:be.colorTextPlaceholder,pointerEvents:"none"}),[`${$e}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:at,height:be.fontSizeIcon,marginTop:be.calc(be.fontSizeIcon).mul(-1).div(2).equal(),color:be.colorTextQuaternary,fontSize:be.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${be.motionDurationSlow} ease`,[bt]:{verticalAlign:"top",transition:`transform ${be.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$e}-suffix)`]:{pointerEvents:"auto"}},[`${$e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$e}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${$e}-prefix`]:{flex:"none",marginInlineEnd:be.selectAffixPadding},[`${$e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:at,zIndex:1,display:"inline-block",width:be.fontSizeIcon,height:be.fontSizeIcon,marginTop:be.calc(be.fontSizeIcon).mul(-1).div(2).equal(),color:be.colorTextQuaternary,fontSize:be.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${be.motionDurationMid} ease, opacity ${be.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:be.colorTextTertiary}},[`&:hover ${$e}-clear`]:{opacity:1,background:be.colorBgBase,borderRadius:"50%"}}),[`${$e}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${$e}-has-feedback`]:{[`${$e}-clear`]:{insetInlineEnd:be.calc(at).add(be.fontSize).add(be.paddingXS).equal()}}}}}},qe=be=>{const{componentCls:gt}=be;return[{[gt]:{[`&${gt}-in-form-item`]:{width:"100%"}}},Se(be),Te(be),(0,ue.ZP)(be),xe(be),{[`${gt}-rtl`]:{direction:"rtl"}},(0,We.c)(be,{borderElCls:`${gt}-selector`,focusElCls:`${gt}-focused`})]};var pe=(0,de.I$)("Select",(be,gt)=>{let{rootPrefixCls:$e}=gt;const at=(0,Ke.mergeToken)(be,{rootPrefixCls:$e,inputPaddingHorizontalBase:be.calc(be.paddingSM).sub(1).equal(),multipleSelectItemHeight:be.multipleItemHeight,selectHeight:be.controlHeight});return[qe(at),ke(at)]},we,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(wn,zt,E){"use strict";E.d(zt,{_z:function(){return ve},gp:function(){return Ke}});var b=E(36237),We=E(63356),de=E(51636);const Ke=ue=>{const{multipleSelectItemHeight:Fe,paddingXXS:Ce,lineWidth:Te,INTERNAL_FIXED_ITEM_MARGIN:we}=ue,Me=ue.max(ue.calc(Ce).sub(Te).equal(),0),ge=ue.max(ue.calc(Me).sub(we).equal(),0);return{basePadding:Me,containerPadding:ge,itemHeight:(0,b.unit)(Fe),itemLineHeight:(0,b.unit)(ue.calc(Fe).sub(ue.calc(ue.lineWidth).mul(2)).equal())}},De=ue=>{const{multipleSelectItemHeight:Fe,selectHeight:Ce,lineWidth:Te}=ue;return ue.calc(Ce).sub(Fe).div(2).sub(Te).equal()},ve=ue=>{const{componentCls:Fe,iconCls:Ce,borderRadiusSM:Te,motionDurationSlow:we,paddingXS:Me,multipleItemColorDisabled:ge,multipleItemBorderColorDisabled:Ae,colorIcon:Pe,colorIconHover:Re,INTERNAL_FIXED_ITEM_MARGIN:tt}=ue;return{[`${Fe}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Fe}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:tt,borderRadius:Te,cursor:"default",transition:`font-size ${we}, line-height ${we}, height ${we}`,marginInlineEnd:ue.calc(tt).mul(2).equal(),paddingInlineStart:Me,paddingInlineEnd:ue.calc(Me).div(2).equal(),[`${Fe}-disabled&`]:{color:ge,borderColor:Ae,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ue.calc(Me).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,We.Ro)()),{display:"inline-flex",alignItems:"center",color:Pe,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ce}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Re}})}}}},ye=(ue,Fe)=>{const{componentCls:Ce,INTERNAL_FIXED_ITEM_MARGIN:Te}=ue,we=`${Ce}-selection-overflow`,Me=ue.multipleSelectItemHeight,ge=De(ue),Ae=Fe?`${Ce}-${Fe}`:"",Pe=Ke(ue);return{[`${Ce}-multiple${Ae}`]:Object.assign(Object.assign({},ve(ue)),{[`${Ce}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Pe.basePadding,paddingBlock:Pe.containerPadding,borderRadius:ue.borderRadius,[`${Ce}-disabled&`]:{background:ue.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(Te)} 0`,lineHeight:(0,b.unit)(Me),visibility:"hidden",content:'"\\a0"'}},[`${Ce}-selection-item`]:{height:Pe.itemHeight,lineHeight:(0,b.unit)(Pe.itemLineHeight)},[`${Ce}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(Me),marginBlock:Te}},[`${Ce}-prefix`]:{marginInlineStart:ue.calc(ue.inputPaddingHorizontalBase).sub(Pe.basePadding).equal()},[`${we}-item + ${we}-item,
|
|
|
${Ce}-prefix + ${Ce}-selection-wrap
|
|
|
`]:{[`${Ce}-selection-search`]:{marginInlineStart:0},[`${Ce}-selection-placeholder`]:{insetInlineStart:0}},[`${we}-item-suffix`]:{minHeight:Pe.itemHeight,marginBlock:Te},[`${Ce}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ue.calc(ue.inputPaddingHorizontalBase).sub(ge).equal(),"\n &-input,\n &-mirror\n ":{height:Me,fontFamily:ue.fontFamily,lineHeight:(0,b.unit)(Me),transition:`all ${ue.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Ce}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ue.calc(ue.inputPaddingHorizontalBase).sub(Pe.basePadding).equal(),insetInlineEnd:ue.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ue.motionDurationSlow}`}})}};function fe(ue,Fe){const{componentCls:Ce}=ue,Te=Fe?`${Ce}-${Fe}`:"",we={[`${Ce}-multiple${Te}`]:{fontSize:ue.fontSize,[`${Ce}-selector`]:{[`${Ce}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${Ce}-show-arrow ${Ce}-selector,
|
|
|
&${Ce}-allow-clear ${Ce}-selector
|
|
|
`]:{paddingInlineEnd:ue.calc(ue.fontSizeIcon).add(ue.controlPaddingHorizontal).equal()}}};return[ye(ue,Fe),we]}const xe=ue=>{const{componentCls:Fe}=ue,Ce=(0,de.mergeToken)(ue,{selectHeight:ue.controlHeightSM,multipleSelectItemHeight:ue.multipleItemHeightSM,borderRadius:ue.borderRadiusSM,borderRadiusSM:ue.borderRadiusXS}),Te=(0,de.mergeToken)(ue,{fontSize:ue.fontSizeLG,selectHeight:ue.controlHeightLG,multipleSelectItemHeight:ue.multipleItemHeightLG,borderRadius:ue.borderRadiusLG,borderRadiusSM:ue.borderRadius});return[fe(ue),fe(Ce,"sm"),{[`${Fe}-multiple${Fe}-sm`]:{[`${Fe}-selection-placeholder`]:{insetInline:ue.calc(ue.controlPaddingHorizontalSM).sub(ue.lineWidth).equal()},[`${Fe}-selection-search`]:{marginInlineStart:2}}},fe(Te,"lg")]};zt.ZP=xe},68525:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});var b=E(59301),We=E(40001),de=E(19248),Ke=E(99267),De=E(84105),ve=E(58617),ye=E(47472);function fe(xe){let{suffixIcon:ue,clearIcon:Fe,menuItemSelectedIcon:Ce,removeIcon:Te,loading:we,multiple:Me,hasFeedback:ge,prefixCls:Ae,showSuffixIcon:Pe,feedbackIcon:Re,showArrow:tt,componentName:ce}=xe;const Oe=Fe!=null?Fe:b.createElement(de.Z,null),Ue=Ve=>ue===null&&!ge&&!tt?null:b.createElement(b.Fragment,null,Pe!==!1&&Ve,ge&&Re);let ze=null;if(ue!==void 0)ze=Ue(ue);else if(we)ze=Ue(b.createElement(ve.Z,{spin:!0}));else{const Ve=`${Ae}-suffix`;ze=et=>{let{open:Se,showSearch:qe}=et;return Ue(Se&&qe?b.createElement(ye.Z,{className:Ve}):b.createElement(De.Z,{className:Ve}))}}let nt=null;Ce!==void 0?nt=Ce:Me?nt=b.createElement(We.Z,null):nt=null;let ke=null;return Te!==void 0?ke=Te:ke=b.createElement(Ke.Z,null),{clearIcon:Oe,suffixIcon:ze,itemIcon:nt,removeIcon:ke}}},90005:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return b}});function b(We,de){return de!==void 0?de:We!==null}},11938:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return et}});var b=E(59301),We=E(40192),de=E(22703),Ke=E(92310),De=E.n(Ke),ve=E(26112),ye=E(48755),fe=E(458),ue=Se=>{const{value:qe,formatter:pe,precision:be,decimalSeparator:gt,groupSeparator:$e="",prefixCls:at}=Se;let bt;if(typeof pe=="function")bt=pe(qe);else{const Ze=String(qe),se=Ze.match(/^(-?)(\d*)(\.(\d+))?$/);if(!se||Ze==="-")bt=Ze;else{const Be=se[1];let Je=se[2]||"0",lt=se[4]||"";Je=Je.replace(/\B(?=(\d{3})+(?!\d))/g,$e),typeof be=="number"&&(lt=lt.padEnd(be,"0").slice(0,be>0?be:0)),lt&&(lt=`${gt}${lt}`),bt=[b.createElement("span",{key:"int",className:`${at}-content-value-int`},Be,Je),lt&&b.createElement("span",{key:"decimal",className:`${at}-content-value-decimal`},lt)]}}return b.createElement("span",{className:`${at}-content-value`},bt)},Fe=E(63356),Ce=E(16931),Te=E(51636);const we=Se=>{const{componentCls:qe,marginXXS:pe,padding:be,colorTextDescription:gt,titleFontSize:$e,colorTextHeading:at,contentFontSize:bt,fontFamily:Ze}=Se;return{[qe]:Object.assign(Object.assign({},(0,Fe.Wf)(Se)),{[`${qe}-title`]:{marginBottom:pe,color:gt,fontSize:$e},[`${qe}-skeleton`]:{paddingTop:be},[`${qe}-content`]:{color:at,fontSize:bt,fontFamily:Ze,[`${qe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${qe}-content-prefix, ${qe}-content-suffix`]:{display:"inline-block"},[`${qe}-content-prefix`]:{marginInlineEnd:pe},[`${qe}-content-suffix`]:{marginInlineStart:pe}}})}},Me=Se=>{const{fontSizeHeading3:qe,fontSize:pe}=Se;return{titleFontSize:pe,contentFontSize:qe}};var ge=(0,Ce.I$)("Statistic",Se=>{const qe=(0,Te.mergeToken)(Se,{});return[we(qe)]},Me),Ae=function(Se,qe){var pe={};for(var be in Se)Object.prototype.hasOwnProperty.call(Se,be)&&qe.indexOf(be)<0&&(pe[be]=Se[be]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,be=Object.getOwnPropertySymbols(Se);gt<be.length;gt++)qe.indexOf(be[gt])<0&&Object.prototype.propertyIsEnumerable.call(Se,be[gt])&&(pe[be[gt]]=Se[be[gt]]);return pe},Re=Se=>{const{prefixCls:qe,className:pe,rootClassName:be,style:gt,valueStyle:$e,value:at=0,title:bt,valueRender:Ze,prefix:se,suffix:Be,loading:Je=!1,formatter:lt,precision:Ee,decimalSeparator:je=".",groupSeparator:rt=",",onMouseEnter:xt,onMouseLeave:ct}=Se,wt=Ae(Se,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:ft,direction:It,className:Dt,style:oe}=(0,ye.dj)("statistic"),ae=ft("statistic",qe),[te,x,re]=ge(ae),ne=b.createElement(ue,{decimalSeparator:je,groupSeparator:rt,prefixCls:ae,formatter:lt,precision:Ee,value:at}),le=De()(ae,{[`${ae}-rtl`]:It==="rtl"},Dt,pe,be,x,re),Ie=(0,ve.Z)(wt,{aria:!0,data:!0});return te(b.createElement("div",Object.assign({},Ie,{className:le,style:Object.assign(Object.assign({},oe),gt),onMouseEnter:xt,onMouseLeave:ct}),bt&&b.createElement("div",{className:`${ae}-title`},bt),b.createElement(fe.Z,{paragraph:!1,loading:Je,className:`${ae}-skeleton`},b.createElement("div",{style:$e,className:`${ae}-content`},se&&b.createElement("span",{className:`${ae}-content-prefix`},se),Ze?Ze(ne):ne,Be&&b.createElement("span",{className:`${ae}-content-suffix`},Be)))))};const tt=[["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 ce(Se,qe){let pe=Se;const be=/\[[^\]]*]/g,gt=(qe.match(be)||[]).map(Ze=>Ze.slice(1,-1)),$e=qe.replace(be,"[]"),at=tt.reduce((Ze,se)=>{let[Be,Je]=se;if(Ze.includes(Be)){const lt=Math.floor(pe/Je);return pe-=lt*Je,Ze.replace(new RegExp(`${Be}+`,"g"),Ee=>{const je=Ee.length;return lt.toString().padStart(je,"0")})}return Ze},$e);let bt=0;return at.replace(be,()=>{const Ze=gt[bt];return bt+=1,Ze})}function Oe(Se,qe){const{format:pe=""}=qe,be=new Date(Se).getTime(),gt=Date.now(),$e=Math.max(be-gt,0);return ce($e,pe)}var Ue=function(Se,qe){var pe={};for(var be in Se)Object.prototype.hasOwnProperty.call(Se,be)&&qe.indexOf(be)<0&&(pe[be]=Se[be]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,be=Object.getOwnPropertySymbols(Se);gt<be.length;gt++)qe.indexOf(be[gt])<0&&Object.prototype.propertyIsEnumerable.call(Se,be[gt])&&(pe[be[gt]]=Se[be[gt]]);return pe};const ze=1e3/30;function nt(Se){return new Date(Se).getTime()}const ke=Se=>{const{value:qe,format:pe="HH:mm:ss",onChange:be,onFinish:gt}=Se,$e=Ue(Se,["value","format","onChange","onFinish"]),at=(0,We.Z)(),bt=b.useRef(null),Ze=()=>{gt==null||gt(),bt.current&&(clearInterval(bt.current),bt.current=null)},se=()=>{const lt=nt(qe);lt>=Date.now()&&(bt.current=setInterval(()=>{at(),be==null||be(lt-Date.now()),lt<Date.now()&&Ze()},ze))};b.useEffect(()=>(se(),()=>{bt.current&&(clearInterval(bt.current),bt.current=null)}),[qe]);const Be=(lt,Ee)=>Oe(lt,Object.assign(Object.assign({},Ee),{format:pe})),Je=lt=>(0,de.Tm)(lt,{title:void 0});return b.createElement(Re,Object.assign({},$e,{value:qe,valueRender:Je,formatter:Be}))};var Ve=b.memo(ke);Re.Countdown=Ve;var et=Re},58755:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return gt}});var b=E(59301),We=E(58617),de=E(92310),Ke=E.n(de),De=E(54476),ve=E(20068),ye=E(42978),fe=E(75931),xe=E(18929),ue=E(10228),Fe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Ce=b.forwardRef(function($e,at){var bt,Ze=$e.prefixCls,se=Ze===void 0?"rc-switch":Ze,Be=$e.className,Je=$e.checked,lt=$e.defaultChecked,Ee=$e.disabled,je=$e.loadingIcon,rt=$e.checkedChildren,xt=$e.unCheckedChildren,ct=$e.onClick,wt=$e.onChange,ft=$e.onKeyDown,It=(0,fe.Z)($e,Fe),Dt=(0,xe.Z)(!1,{value:Je,defaultValue:lt}),oe=(0,ye.Z)(Dt,2),ae=oe[0],te=oe[1];function x(Ie,Le){var Ye=ae;return Ee||(Ye=Ie,te(Ye),wt==null||wt(Ye,Le)),Ye}function re(Ie){Ie.which===ue.Z.LEFT?x(!1,Ie):Ie.which===ue.Z.RIGHT&&x(!0,Ie),ft==null||ft(Ie)}function ne(Ie){var Le=x(!ae,Ie);ct==null||ct(Le,Ie)}var le=Ke()(se,Be,(bt={},(0,ve.Z)(bt,"".concat(se,"-checked"),ae),(0,ve.Z)(bt,"".concat(se,"-disabled"),Ee),bt));return b.createElement("button",(0,De.Z)({},It,{type:"button",role:"switch","aria-checked":ae,disabled:Ee,className:le,ref:at,onKeyDown:re,onClick:ne}),je,b.createElement("span",{className:"".concat(se,"-inner")},b.createElement("span",{className:"".concat(se,"-inner-checked")},rt),b.createElement("span",{className:"".concat(se,"-inner-unchecked")},xt)))});Ce.displayName="Switch";var Te=Ce,we=E(12919),Me=E(48755),ge=E(2171),Ae=E(31756),Pe=E(36237),Re=E(17835),tt=E(63356),ce=E(16931),Oe=E(51636);const Ue=$e=>{const{componentCls:at,trackHeightSM:bt,trackPadding:Ze,trackMinWidthSM:se,innerMinMarginSM:Be,innerMaxMarginSM:Je,handleSizeSM:lt,calc:Ee}=$e,je=`${at}-inner`,rt=(0,Pe.unit)(Ee(lt).add(Ee(Ze).mul(2)).equal()),xt=(0,Pe.unit)(Ee(Je).mul(2).equal());return{[at]:{[`&${at}-small`]:{minWidth:se,height:bt,lineHeight:(0,Pe.unit)(bt),[`${at}-inner`]:{paddingInlineStart:Je,paddingInlineEnd:Be,[`${je}-checked, ${je}-unchecked`]:{minHeight:bt},[`${je}-checked`]:{marginInlineStart:`calc(-100% + ${rt} - ${xt})`,marginInlineEnd:`calc(100% - ${rt} + ${xt})`},[`${je}-unchecked`]:{marginTop:Ee(bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${at}-handle`]:{width:lt,height:lt},[`${at}-loading-icon`]:{top:Ee(Ee(lt).sub($e.switchLoadingIconSize)).div(2).equal(),fontSize:$e.switchLoadingIconSize},[`&${at}-checked`]:{[`${at}-inner`]:{paddingInlineStart:Be,paddingInlineEnd:Je,[`${je}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${je}-unchecked`]:{marginInlineStart:`calc(100% - ${rt} + ${xt})`,marginInlineEnd:`calc(-100% + ${rt} - ${xt})`}},[`${at}-handle`]:{insetInlineStart:`calc(100% - ${(0,Pe.unit)(Ee(lt).add(Ze).equal())})`}},[`&:not(${at}-disabled):active`]:{[`&:not(${at}-checked) ${je}`]:{[`${je}-unchecked`]:{marginInlineStart:Ee($e.marginXXS).div(2).equal(),marginInlineEnd:Ee($e.marginXXS).mul(-1).div(2).equal()}},[`&${at}-checked ${je}`]:{[`${je}-checked`]:{marginInlineStart:Ee($e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:Ee($e.marginXXS).div(2).equal()}}}}}}},ze=$e=>{const{componentCls:at,handleSize:bt,calc:Ze}=$e;return{[at]:{[`${at}-loading-icon${$e.iconCls}`]:{position:"relative",top:Ze(Ze(bt).sub($e.fontSize)).div(2).equal(),color:$e.switchLoadingIconColor,verticalAlign:"top"},[`&${at}-checked ${at}-loading-icon`]:{color:$e.switchColor}}}},nt=$e=>{const{componentCls:at,trackPadding:bt,handleBg:Ze,handleShadow:se,handleSize:Be,calc:Je}=$e,lt=`${at}-handle`;return{[at]:{[lt]:{position:"absolute",top:bt,insetInlineStart:bt,width:Be,height:Be,transition:`all ${$e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ze,borderRadius:Je(Be).div(2).equal(),boxShadow:se,transition:`all ${$e.switchDuration} ease-in-out`,content:'""'}},[`&${at}-checked ${lt}`]:{insetInlineStart:`calc(100% - ${(0,Pe.unit)(Je(Be).add(bt).equal())})`},[`&:not(${at}-disabled):active`]:{[`${lt}::before`]:{insetInlineEnd:$e.switchHandleActiveInset,insetInlineStart:0},[`&${at}-checked ${lt}::before`]:{insetInlineEnd:0,insetInlineStart:$e.switchHandleActiveInset}}}}},ke=$e=>{const{componentCls:at,trackHeight:bt,trackPadding:Ze,innerMinMargin:se,innerMaxMargin:Be,handleSize:Je,calc:lt}=$e,Ee=`${at}-inner`,je=(0,Pe.unit)(lt(Je).add(lt(Ze).mul(2)).equal()),rt=(0,Pe.unit)(lt(Be).mul(2).equal());return{[at]:{[Ee]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Be,paddingInlineEnd:se,transition:`padding-inline-start ${$e.switchDuration} ease-in-out, padding-inline-end ${$e.switchDuration} ease-in-out`,[`${Ee}-checked, ${Ee}-unchecked`]:{display:"block",color:$e.colorTextLightSolid,fontSize:$e.fontSizeSM,transition:`margin-inline-start ${$e.switchDuration} ease-in-out, margin-inline-end ${$e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:bt},[`${Ee}-checked`]:{marginInlineStart:`calc(-100% + ${je} - ${rt})`,marginInlineEnd:`calc(100% - ${je} + ${rt})`},[`${Ee}-unchecked`]:{marginTop:lt(bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${at}-checked ${Ee}`]:{paddingInlineStart:se,paddingInlineEnd:Be,[`${Ee}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ee}-unchecked`]:{marginInlineStart:`calc(100% - ${je} + ${rt})`,marginInlineEnd:`calc(-100% + ${je} - ${rt})`}},[`&:not(${at}-disabled):active`]:{[`&:not(${at}-checked) ${Ee}`]:{[`${Ee}-unchecked`]:{marginInlineStart:lt(Ze).mul(2).equal(),marginInlineEnd:lt(Ze).mul(-1).mul(2).equal()}},[`&${at}-checked ${Ee}`]:{[`${Ee}-checked`]:{marginInlineStart:lt(Ze).mul(-1).mul(2).equal(),marginInlineEnd:lt(Ze).mul(2).equal()}}}}}},Ve=$e=>{const{componentCls:at,trackHeight:bt,trackMinWidth:Ze}=$e;return{[at]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)($e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ze,height:bt,lineHeight:(0,Pe.unit)(bt),verticalAlign:"middle",background:$e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${$e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${at}-disabled)`]:{background:$e.colorTextTertiary}}),(0,tt.Qy)($e)),{[`&${at}-checked`]:{background:$e.switchColor,[`&:hover:not(${at}-disabled)`]:{background:$e.colorPrimaryHover}},[`&${at}-loading, &${at}-disabled`]:{cursor:"not-allowed",opacity:$e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${at}-rtl`]:{direction:"rtl"}})}},et=$e=>{const{fontSize:at,lineHeight:bt,controlHeight:Ze,colorWhite:se}=$e,Be=at*bt,Je=Ze/2,lt=2,Ee=Be-lt*2,je=Je-lt*2;return{trackHeight:Be,trackHeightSM:Je,trackMinWidth:Ee*2+lt*4,trackMinWidthSM:je*2+lt*2,trackPadding:lt,handleBg:se,handleSize:Ee,handleSizeSM:je,handleShadow:`0 2px 4px 0 ${new Re.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:Ee/2,innerMaxMargin:Ee+lt+lt*2,innerMinMarginSM:je/2,innerMaxMarginSM:je+lt+lt*2}};var Se=(0,ce.I$)("Switch",$e=>{const at=(0,Oe.mergeToken)($e,{switchDuration:$e.motionDurationMid,switchColor:$e.colorPrimary,switchDisabledOpacity:$e.opacityLoading,switchLoadingIconSize:$e.calc($e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${$e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ve(at),ke(at),nt(at),ze(at),Ue(at)]},et),qe=function($e,at){var bt={};for(var Ze in $e)Object.prototype.hasOwnProperty.call($e,Ze)&&at.indexOf(Ze)<0&&(bt[Ze]=$e[Ze]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,Ze=Object.getOwnPropertySymbols($e);se<Ze.length;se++)at.indexOf(Ze[se])<0&&Object.prototype.propertyIsEnumerable.call($e,Ze[se])&&(bt[Ze[se]]=$e[Ze[se]]);return bt};const be=b.forwardRef(($e,at)=>{const{prefixCls:bt,size:Ze,disabled:se,loading:Be,className:Je,rootClassName:lt,style:Ee,checked:je,value:rt,defaultChecked:xt,defaultValue:ct,onChange:wt}=$e,ft=qe($e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[It,Dt]=(0,xe.Z)(!1,{value:je!=null?je:rt,defaultValue:xt!=null?xt:ct}),{getPrefixCls:oe,direction:ae,switch:te}=b.useContext(Me.E_),x=b.useContext(ge.Z),re=(se!=null?se:x)||Be,ne=oe("switch",bt),le=b.createElement("div",{className:`${ne}-handle`},Be&&b.createElement(We.Z,{className:`${ne}-loading-icon`})),[Ie,Le,Ye]=Se(ne),Ge=(0,Ae.Z)(Ze),it=Ke()(te==null?void 0:te.className,{[`${ne}-small`]:Ge==="small",[`${ne}-loading`]:Be,[`${ne}-rtl`]:ae==="rtl"},Je,lt,Le,Ye),dt=Object.assign(Object.assign({},te==null?void 0:te.style),Ee),yt=function(){Dt(arguments.length<=0?void 0:arguments[0]),wt==null||wt.apply(void 0,arguments)};return Ie(b.createElement(we.Z,{component:"Switch"},b.createElement(Te,Object.assign({},ft,{checked:It,onChange:yt,prefixCls:ne,className:it,style:dt,disabled:re,ref:at,loadingIcon:le}))))});be.__ANT_SWITCH=!0;var gt=be},70858:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return uo}});var b=E(59301),We={},de="rc-table-internal-hook",Ke=E(42978),De=E(6089),ve=E(34280),ye=E(13697),fe=E(4676);function xe(_e){var He=b.createContext(void 0),Ct=function(Nt){var _t=Nt.value,cn=Nt.children,rn=b.useRef(_t);rn.current=_t;var pn=b.useState(function(){return{getValue:function(){return rn.current},listeners:new Set}}),vn=(0,Ke.Z)(pn,1),Tn=vn[0];return(0,ve.Z)(function(){(0,fe.unstable_batchedUpdates)(function(){Tn.listeners.forEach(function(Fn){Fn(_t)})})},[_t]),b.createElement(He.Provider,{value:Tn},cn)};return{Context:He,Provider:Ct,defaultValue:_e}}function ue(_e,He){var Ct=(0,De.Z)(typeof He=="function"?He:function(Fn){if(He===void 0)return Fn;if(!Array.isArray(He))return Fn[He];var Pn={};return He.forEach(function(Cn){Pn[Cn]=Fn[Cn]}),Pn}),Pt=b.useContext(_e==null?void 0:_e.Context),Nt=Pt||{},_t=Nt.listeners,cn=Nt.getValue,rn=b.useRef();rn.current=Ct(Pt?cn():_e==null?void 0:_e.defaultValue);var pn=b.useState({}),vn=(0,Ke.Z)(pn,2),Tn=vn[1];return(0,ve.Z)(function(){if(!Pt)return;function Fn(Pn){var Cn=Ct(Pn);(0,ye.Z)(rn.current,Cn,!0)||Tn({})}return _t.add(Fn),function(){_t.delete(Fn)}},[Pt]),rn.current}var Fe=E(54476),Ce=E(8654);function Te(){var _e=b.createContext(null);function He(){return b.useContext(_e)}function Ct(Nt,_t){var cn=(0,Ce.Yr)(Nt),rn=function(vn,Tn){var Fn=cn?{ref:Tn}:{},Pn=b.useRef(0),Cn=b.useRef(vn),gn=He();return gn!==null?b.createElement(Nt,(0,Fe.Z)({},vn,Fn)):((!_t||_t(Cn.current,vn))&&(Pn.current+=1),Cn.current=vn,b.createElement(_e.Provider,{value:Pn.current},b.createElement(Nt,(0,Fe.Z)({},vn,Fn))))};return cn?b.forwardRef(rn):rn}function Pt(Nt,_t){var cn=(0,Ce.Yr)(Nt),rn=function(vn,Tn){var Fn=cn?{ref:Tn}:{};return He(),b.createElement(Nt,(0,Fe.Z)({},vn,Fn))};return cn?b.memo(b.forwardRef(rn),_t):b.memo(rn,_t)}return{makeImmutable:Ct,responseImmutable:Pt,useImmutableMark:He}}var we=Te(),Me=we.makeImmutable,ge=we.responseImmutable,Ae=we.useImmutableMark,Pe=Te(),Re=Pe.makeImmutable,tt=Pe.responseImmutable,ce=Pe.useImmutableMark,Oe=xe(),Ue=Oe;function ze(_e,He){var Ct=React.useRef(0);Ct.current+=1;var Pt=React.useRef(_e),Nt=[];Object.keys(_e||{}).map(function(cn){var rn;(_e==null?void 0:_e[cn])!==((rn=Pt.current)===null||rn===void 0?void 0:rn[cn])&&Nt.push(cn)}),Pt.current=_e;var _t=React.useRef([]);return Nt.length&&(_t.current=Nt),React.useDebugValue(Ct.current),React.useDebugValue(_t.current.join(", ")),He&&console.log("".concat(He,":"),Ct.current,_t.current),Ct.current}var nt=null,ke=null,Ve=E(76190),et=E(33885),Se=E(20068),qe=E(92310),pe=E.n(qe),be=E(80547),gt=E(97938),$e=E(48736),at=b.createContext({renderWithProps:!1}),bt=at,Ze="RC_TABLE_KEY";function se(_e){return _e==null?[]:Array.isArray(_e)?_e:[_e]}function Be(_e){var He=[],Ct={};return _e.forEach(function(Pt){for(var Nt=Pt||{},_t=Nt.key,cn=Nt.dataIndex,rn=_t||se(cn).join("-")||Ze;Ct[rn];)rn="".concat(rn,"_next");Ct[rn]=!0,He.push(rn)}),He}function Je(_e){return _e!=null}function lt(_e){return typeof _e=="number"&&!Number.isNaN(_e)}function Ee(_e){return _e&&(0,Ve.Z)(_e)==="object"&&!Array.isArray(_e)&&!b.isValidElement(_e)}function je(_e,He,Ct,Pt,Nt,_t){var cn=b.useContext(bt),rn=ce(),pn=(0,be.Z)(function(){if(Je(Pt))return[Pt];var vn=He==null||He===""?[]:Array.isArray(He)?He:[He],Tn=(0,gt.Z)(_e,vn),Fn=Tn,Pn=void 0;if(Nt){var Cn=Nt(Tn,_e,Ct);Ee(Cn)?(Fn=Cn.children,Pn=Cn.props,cn.renderWithProps=!0):Fn=Cn}return[Fn,Pn]},[rn,_e,Pt,He,Nt,Ct],function(vn,Tn){if(_t){var Fn=(0,Ke.Z)(vn,2),Pn=Fn[1],Cn=(0,Ke.Z)(Tn,2),gn=Cn[1];return _t(gn,Pn)}return cn.renderWithProps?!0:!(0,ye.Z)(vn,Tn,!0)});return pn}function rt(_e,He,Ct,Pt){var Nt=_e+He-1;return _e<=Pt&&Nt>=Ct}function xt(_e,He){return ue(Ue,function(Ct){var Pt=rt(_e,He||1,Ct.hoverStartRow,Ct.hoverEndRow);return[Pt,Ct.onHover]})}var ct=E(70425),wt=function(He){var Ct=He.ellipsis,Pt=He.rowType,Nt=He.children,_t,cn=Ct===!0?{showTitle:!0}:Ct;return cn&&(cn.showTitle||Pt==="header")&&(typeof Nt=="string"||typeof Nt=="number"?_t=Nt.toString():b.isValidElement(Nt)&&typeof Nt.props.children=="string"&&(_t=Nt.props.children)),_t};function ft(_e){var He,Ct,Pt,Nt,_t,cn,rn,pn,vn=_e.component,Tn=_e.children,Fn=_e.ellipsis,Pn=_e.scope,Cn=_e.prefixCls,gn=_e.className,ur=_e.align,Hn=_e.record,vr=_e.render,fr=_e.dataIndex,wr=_e.renderIndex,yr=_e.shouldCellUpdate,Er=_e.index,Tr=_e.rowType,Hr=_e.colSpan,Ur=_e.rowSpan,Ci=_e.fixLeft,Sr=_e.fixRight,br=_e.firstFixLeft,Or=_e.lastFixLeft,$n=_e.firstFixRight,_n=_e.lastFixRight,Fr=_e.appendNode,jr=_e.additionalProps,ei=jr===void 0?{}:jr,Ei=_e.isSticky,Kr="".concat(Cn,"-cell"),so=ue(Ue,["supportSticky","allColumnsFixedLeft","rowHoverable"]),eo=so.supportSticky,qo=so.allColumnsFixedLeft,No=so.rowHoverable,Go=je(Hn,fr,wr,Tn,vr,yr),ra=(0,Ke.Z)(Go,2),oa=ra[0],go=ra[1],po={},ma=typeof Ci=="number"&&eo,pa=typeof Sr=="number"&&eo;ma&&(po.position="sticky",po.left=Ci),pa&&(po.position="sticky",po.right=Sr);var Ii=(He=(Ct=(Pt=go==null?void 0:go.colSpan)!==null&&Pt!==void 0?Pt:ei.colSpan)!==null&&Ct!==void 0?Ct:Hr)!==null&&He!==void 0?He:1,no=(Nt=(_t=(cn=go==null?void 0:go.rowSpan)!==null&&cn!==void 0?cn:ei.rowSpan)!==null&&_t!==void 0?_t:Ur)!==null&&Nt!==void 0?Nt:1,Di=xt(Er,no),ci=(0,Ke.Z)(Di,2),Do=ci[0],zo=ci[1],aa=(0,ct.zX)(function($o){var Xo;Hn&&zo(Er,Er+no-1),ei==null||(Xo=ei.onMouseEnter)===null||Xo===void 0||Xo.call(ei,$o)}),Ho=(0,ct.zX)(function($o){var Xo;Hn&&zo(-1,-1),ei==null||(Xo=ei.onMouseLeave)===null||Xo===void 0||Xo.call(ei,$o)});if(Ii===0||no===0)return null;var va=(rn=ei.title)!==null&&rn!==void 0?rn:wt({rowType:Tr,ellipsis:Fn,children:oa}),ca=pe()(Kr,gn,(pn={},(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)(pn,"".concat(Kr,"-fix-left"),ma&&eo),"".concat(Kr,"-fix-left-first"),br&&eo),"".concat(Kr,"-fix-left-last"),Or&&eo),"".concat(Kr,"-fix-left-all"),Or&&qo&&eo),"".concat(Kr,"-fix-right"),pa&&eo),"".concat(Kr,"-fix-right-first"),$n&&eo),"".concat(Kr,"-fix-right-last"),_n&&eo),"".concat(Kr,"-ellipsis"),Fn),"".concat(Kr,"-with-append"),Fr),"".concat(Kr,"-fix-sticky"),(ma||pa)&&Ei&&eo),(0,Se.Z)(pn,"".concat(Kr,"-row-hover"),!go&&Do)),ei.className,go==null?void 0:go.className),ki={};ur&&(ki.textAlign=ur);var Ui=(0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)({},go==null?void 0:go.style),po),ki),ei.style),jo=oa;return(0,Ve.Z)(jo)==="object"&&!Array.isArray(jo)&&!b.isValidElement(jo)&&(jo=null),Fn&&(Or||$n)&&(jo=b.createElement("span",{className:"".concat(Kr,"-content")},jo)),b.createElement(vn,(0,Fe.Z)({},go,ei,{className:ca,style:Ui,title:va,scope:Pn,onMouseEnter:No?aa:void 0,onMouseLeave:No?Ho:void 0,colSpan:Ii!==1?Ii:null,rowSpan:no!==1?no:null}),Fr,jo)}var It=b.memo(ft);function Dt(_e,He,Ct,Pt,Nt){var _t=Ct[_e]||{},cn=Ct[He]||{},rn,pn;_t.fixed==="left"?rn=Pt.left[Nt==="rtl"?He:_e]:cn.fixed==="right"&&(pn=Pt.right[Nt==="rtl"?_e:He]);var vn=!1,Tn=!1,Fn=!1,Pn=!1,Cn=Ct[He+1],gn=Ct[_e-1],ur=Cn&&!Cn.fixed||gn&&!gn.fixed||Ct.every(function(yr){return yr.fixed==="left"});if(Nt==="rtl"){if(rn!==void 0){var Hn=gn&&gn.fixed==="left";Pn=!Hn&&ur}else if(pn!==void 0){var vr=Cn&&Cn.fixed==="right";Fn=!vr&&ur}}else if(rn!==void 0){var fr=Cn&&Cn.fixed==="left";vn=!fr&&ur}else if(pn!==void 0){var wr=gn&&gn.fixed==="right";Tn=!wr&&ur}return{fixLeft:rn,fixRight:pn,lastFixLeft:vn,firstFixRight:Tn,lastFixRight:Fn,firstFixLeft:Pn,isSticky:Pt.isSticky}}var oe=b.createContext({}),ae=oe;function te(_e){var He=_e.className,Ct=_e.index,Pt=_e.children,Nt=_e.colSpan,_t=Nt===void 0?1:Nt,cn=_e.rowSpan,rn=_e.align,pn=ue(Ue,["prefixCls","direction"]),vn=pn.prefixCls,Tn=pn.direction,Fn=b.useContext(ae),Pn=Fn.scrollColumnIndex,Cn=Fn.stickyOffsets,gn=Fn.flattenColumns,ur=Ct+_t-1,Hn=ur+1===Pn?_t+1:_t,vr=Dt(Ct,Ct+Hn-1,gn,Cn,Tn);return b.createElement(It,(0,Fe.Z)({className:He,index:Ct,component:"td",prefixCls:vn,record:null,dataIndex:null,align:rn,colSpan:Hn,rowSpan:cn,render:function(){return Pt}},vr))}var x=E(75931),re=["children"];function ne(_e){var He=_e.children,Ct=(0,x.Z)(_e,re);return b.createElement("tr",Ct,He)}function le(_e){var He=_e.children;return He}le.Row=ne,le.Cell=te;var Ie=le;function Le(_e){var He=_e.children,Ct=_e.stickyOffsets,Pt=_e.flattenColumns,Nt=ue(Ue,"prefixCls"),_t=Pt.length-1,cn=Pt[_t],rn=b.useMemo(function(){return{stickyOffsets:Ct,flattenColumns:Pt,scrollColumnIndex:cn!=null&&cn.scrollbar?_t:null}},[cn,Pt,_t,Ct]);return b.createElement(ae.Provider,{value:rn},b.createElement("tfoot",{className:"".concat(Nt,"-summary")},He))}var Ye=tt(Le),Ge=Ie,it=E(29301),dt=E(24514),yt=E(75152),ot=E(26112);function st(_e,He,Ct,Pt,Nt,_t,cn){_e.push({record:He,indent:Ct,index:cn});var rn=_t(He),pn=Nt==null?void 0:Nt.has(rn);if(He&&Array.isArray(He[Pt])&&pn)for(var vn=0;vn<He[Pt].length;vn+=1)st(_e,He[Pt][vn],Ct+1,Pt,Nt,_t,vn)}function Vt(_e,He,Ct,Pt){var Nt=b.useMemo(function(){if(Ct!=null&&Ct.size){for(var _t=[],cn=0;cn<(_e==null?void 0:_e.length);cn+=1){var rn=_e[cn];st(_t,rn,0,He,Ct,Pt,cn)}return _t}return _e==null?void 0:_e.map(function(pn,vn){return{record:pn,indent:0,index:vn}})},[_e,He,Ct,Pt]);return Nt}function kt(_e,He,Ct,Pt){var Nt=ue(Ue,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),_t=Nt.flattenColumns,cn=Nt.expandableType,rn=Nt.expandedKeys,pn=Nt.childrenColumnName,vn=Nt.onTriggerExpand,Tn=Nt.rowExpandable,Fn=Nt.onRow,Pn=Nt.expandRowByClick,Cn=Nt.rowClassName,gn=cn==="nest",ur=cn==="row"&&(!Tn||Tn(_e)),Hn=ur||gn,vr=rn&&rn.has(He),fr=pn&&_e&&_e[pn],wr=(0,ct.zX)(vn),yr=Fn==null?void 0:Fn(_e,Ct),Er=yr==null?void 0:yr.onClick,Tr=function(Sr){Pn&&Hn&&vn(_e,Sr);for(var br=arguments.length,Or=new Array(br>1?br-1:0),$n=1;$n<br;$n++)Or[$n-1]=arguments[$n];Er==null||Er.apply(void 0,[Sr].concat(Or))},Hr;typeof Cn=="string"?Hr=Cn:typeof Cn=="function"&&(Hr=Cn(_e,Ct,Pt));var Ur=Be(_t);return(0,et.Z)((0,et.Z)({},Nt),{},{columnsKey:Ur,nestExpandable:gn,expanded:vr,hasNestChildren:fr,record:_e,onTriggerExpand:wr,rowSupportExpand:ur,expandable:Hn,rowProps:(0,et.Z)((0,et.Z)({},yr),{},{className:pe()(Hr,yr==null?void 0:yr.className),onClick:Tr})})}function un(_e){var He=_e.prefixCls,Ct=_e.children,Pt=_e.component,Nt=_e.cellComponent,_t=_e.className,cn=_e.expanded,rn=_e.colSpan,pn=_e.isEmpty,vn=ue(Ue,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Tn=vn.scrollbarSize,Fn=vn.fixHeader,Pn=vn.fixColumn,Cn=vn.componentWidth,gn=vn.horizonScroll,ur=Ct;return(pn?gn&&Cn:Pn)&&(ur=b.createElement("div",{style:{width:Cn-(Fn&&!pn?Tn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(He,"-expanded-row-fixed")},ur)),b.createElement(Pt,{className:_t,style:{display:cn?null:"none"}},b.createElement(It,{component:Nt,prefixCls:He,colSpan:rn},ur))}var $t=un;function Rt(_e){var He=_e.prefixCls,Ct=_e.record,Pt=_e.onExpand,Nt=_e.expanded,_t=_e.expandable,cn="".concat(He,"-row-expand-icon");if(!_t)return b.createElement("span",{className:pe()(cn,"".concat(He,"-row-spaced"))});var rn=function(vn){Pt(Ct,vn),vn.stopPropagation()};return b.createElement("span",{className:pe()(cn,(0,Se.Z)((0,Se.Z)({},"".concat(He,"-row-expanded"),Nt),"".concat(He,"-row-collapsed"),!Nt)),onClick:rn})}function Kt(_e,He,Ct){var Pt=[];function Nt(_t){(_t||[]).forEach(function(cn,rn){Pt.push(He(cn,rn)),Nt(cn[Ct])})}return Nt(_e),Pt}function qt(_e,He,Ct,Pt){return typeof _e=="string"?_e:typeof _e=="function"?_e(He,Ct,Pt):""}function Et(_e,He,Ct,Pt,Nt){var _t=_e.record,cn=_e.prefixCls,rn=_e.columnsKey,pn=_e.fixedInfoList,vn=_e.expandIconColumnIndex,Tn=_e.nestExpandable,Fn=_e.indentSize,Pn=_e.expandIcon,Cn=_e.expanded,gn=_e.hasNestChildren,ur=_e.onTriggerExpand,Hn=rn[Ct],vr=pn[Ct],fr;Ct===(vn||0)&&Tn&&(fr=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(Fn*Pt,"px")},className:"".concat(cn,"-row-indent indent-level-").concat(Pt)}),Pn({prefixCls:cn,expanded:Cn,expandable:gn,record:_t,onExpand:ur})));var wr;return He.onCell&&(wr=He.onCell(_t,Nt)),{key:Hn,fixedInfo:vr,appendCellNode:fr,additionalCellProps:wr||{}}}function Tt(_e){var He=_e.className,Ct=_e.style,Pt=_e.record,Nt=_e.index,_t=_e.renderIndex,cn=_e.rowKey,rn=_e.indent,pn=rn===void 0?0:rn,vn=_e.rowComponent,Tn=_e.cellComponent,Fn=_e.scopeCellComponent,Pn=kt(Pt,cn,Nt,pn),Cn=Pn.prefixCls,gn=Pn.flattenColumns,ur=Pn.expandedRowClassName,Hn=Pn.expandedRowRender,vr=Pn.rowProps,fr=Pn.expanded,wr=Pn.rowSupportExpand,yr=b.useRef(!1);yr.current||(yr.current=fr);var Er=qt(ur,Pt,Nt,pn),Tr=b.createElement(vn,(0,Fe.Z)({},vr,{"data-row-key":cn,className:pe()(He,"".concat(Cn,"-row"),"".concat(Cn,"-row-level-").concat(pn),vr==null?void 0:vr.className,(0,Se.Z)({},Er,pn>=1)),style:(0,et.Z)((0,et.Z)({},Ct),vr==null?void 0:vr.style)}),gn.map(function(Ci,Sr){var br=Ci.render,Or=Ci.dataIndex,$n=Ci.className,_n=Et(Pn,Ci,Sr,pn,Nt),Fr=_n.key,jr=_n.fixedInfo,ei=_n.appendCellNode,Ei=_n.additionalCellProps;return b.createElement(It,(0,Fe.Z)({className:$n,ellipsis:Ci.ellipsis,align:Ci.align,scope:Ci.rowScope,component:Ci.rowScope?Fn:Tn,prefixCls:Cn,key:Fr,record:Pt,index:Nt,renderIndex:_t,dataIndex:Or,render:br,shouldCellUpdate:Ci.shouldCellUpdate},jr,{appendNode:ei,additionalProps:Ei}))})),Hr;if(wr&&(yr.current||fr)){var Ur=Hn(Pt,Nt,pn+1,fr);Hr=b.createElement($t,{expanded:fr,className:pe()("".concat(Cn,"-expanded-row"),"".concat(Cn,"-expanded-row-level-").concat(pn+1),Er),prefixCls:Cn,component:vn,cellComponent:Tn,colSpan:gn.length,isEmpty:!1},Ur)}return b.createElement(b.Fragment,null,Tr,Hr)}var on=tt(Tt);function mn(_e){var He=_e.columnKey,Ct=_e.onColumnResize,Pt=b.useRef();return(0,ve.Z)(function(){Pt.current&&Ct(He,Pt.current.offsetWidth)},[]),b.createElement(it.Z,{data:He},b.createElement("td",{ref:Pt,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var vt=E(29194);function Mt(_e){var He=_e.prefixCls,Ct=_e.columnsKey,Pt=_e.onColumnResize,Nt=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(He,"-measure-row"),style:{height:0,fontSize:0},ref:Nt},b.createElement(it.Z.Collection,{onBatchResize:function(cn){(0,vt.Z)(Nt.current)&&cn.forEach(function(rn){var pn=rn.data,vn=rn.size;Pt(pn,vn.offsetWidth)})}},Ct.map(function(_t){return b.createElement(mn,{key:_t,columnKey:_t,onColumnResize:Pt})})))}function Yt(_e){var He=_e.data,Ct=_e.measureColumnWidth,Pt=ue(Ue,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Nt=Pt.prefixCls,_t=Pt.getComponent,cn=Pt.onColumnResize,rn=Pt.flattenColumns,pn=Pt.getRowKey,vn=Pt.expandedKeys,Tn=Pt.childrenColumnName,Fn=Pt.emptyNode,Pn=Vt(He,Tn,vn,pn),Cn=b.useRef({renderWithProps:!1}),gn=_t(["body","wrapper"],"tbody"),ur=_t(["body","row"],"tr"),Hn=_t(["body","cell"],"td"),vr=_t(["body","cell"],"th"),fr;He.length?fr=Pn.map(function(yr,Er){var Tr=yr.record,Hr=yr.indent,Ur=yr.index,Ci=pn(Tr,Er);return b.createElement(on,{key:Ci,rowKey:Ci,record:Tr,index:Er,renderIndex:Ur,rowComponent:ur,cellComponent:Hn,scopeCellComponent:vr,indent:Hr})}):fr=b.createElement($t,{expanded:!0,className:"".concat(Nt,"-placeholder"),prefixCls:Nt,component:ur,cellComponent:Hn,colSpan:rn.length,isEmpty:!0},Fn);var wr=Be(rn);return b.createElement(bt.Provider,{value:Cn.current},b.createElement(gn,{className:"".concat(Nt,"-tbody")},Ct&&b.createElement(Mt,{prefixCls:Nt,columnsKey:wr,onColumnResize:cn}),fr))}var sn=tt(Yt),xn=["expandable"],Ln="RC_TABLE_INTERNAL_COL_DEFINE";function Xn(_e){var He=_e.expandable,Ct=(0,x.Z)(_e,xn),Pt;return"expandable"in _e?Pt=(0,et.Z)((0,et.Z)({},Ct),He):Pt=Ct,Pt.showExpandColumn===!1&&(Pt.expandIconColumnIndex=-1),Pt}var Jn=["columnType"];function Bn(_e){for(var He=_e.colWidths,Ct=_e.columns,Pt=_e.columCount,Nt=ue(Ue,["tableLayout"]),_t=Nt.tableLayout,cn=[],rn=Pt||Ct.length,pn=!1,vn=rn-1;vn>=0;vn-=1){var Tn=He[vn],Fn=Ct&&Ct[vn],Pn=void 0,Cn=void 0;if(Fn&&(Pn=Fn[Ln],_t==="auto"&&(Cn=Fn.minWidth)),Tn||Cn||Pn||pn){var gn=Pn||{},ur=gn.columnType,Hn=(0,x.Z)(gn,Jn);cn.unshift(b.createElement("col",(0,Fe.Z)({key:vn,style:{width:Tn,minWidth:Cn}},Hn))),pn=!0}}return b.createElement("colgroup",null,cn)}var Un=Bn,Wt=E(94480),Ot=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ln(_e,He){return(0,b.useMemo)(function(){for(var Ct=[],Pt=0;Pt<He;Pt+=1){var Nt=_e[Pt];if(Nt!==void 0)Ct[Pt]=Nt;else return null}return Ct},[_e.join("_"),He])}var en=b.forwardRef(function(_e,He){var Ct=_e.className,Pt=_e.noData,Nt=_e.columns,_t=_e.flattenColumns,cn=_e.colWidths,rn=_e.columCount,pn=_e.stickyOffsets,vn=_e.direction,Tn=_e.fixHeader,Fn=_e.stickyTopOffset,Pn=_e.stickyBottomOffset,Cn=_e.stickyClassName,gn=_e.onScroll,ur=_e.maxContentScroll,Hn=_e.children,vr=(0,x.Z)(_e,Ot),fr=ue(Ue,["prefixCls","scrollbarSize","isSticky","getComponent"]),wr=fr.prefixCls,yr=fr.scrollbarSize,Er=fr.isSticky,Tr=fr.getComponent,Hr=Tr(["header","table"],"table"),Ur=Er&&!Tn?0:yr,Ci=b.useRef(null),Sr=b.useCallback(function(Ei){(0,Ce.mH)(He,Ei),(0,Ce.mH)(Ci,Ei)},[]);b.useEffect(function(){var Ei;function Kr(so){var eo=so,qo=eo.currentTarget,No=eo.deltaX;No&&(gn({currentTarget:qo,scrollLeft:qo.scrollLeft+No}),so.preventDefault())}return(Ei=Ci.current)===null||Ei===void 0||Ei.addEventListener("wheel",Kr,{passive:!1}),function(){var so;(so=Ci.current)===null||so===void 0||so.removeEventListener("wheel",Kr)}},[]);var br=b.useMemo(function(){return _t.every(function(Ei){return Ei.width})},[_t]),Or=_t[_t.length-1],$n={fixed:Or?Or.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(wr,"-cell-scrollbar")}}},_n=(0,b.useMemo)(function(){return Ur?[].concat((0,Wt.Z)(Nt),[$n]):Nt},[Ur,Nt]),Fr=(0,b.useMemo)(function(){return Ur?[].concat((0,Wt.Z)(_t),[$n]):_t},[Ur,_t]),jr=(0,b.useMemo)(function(){var Ei=pn.right,Kr=pn.left;return(0,et.Z)((0,et.Z)({},pn),{},{left:vn==="rtl"?[].concat((0,Wt.Z)(Kr.map(function(so){return so+Ur})),[0]):Kr,right:vn==="rtl"?Ei:[].concat((0,Wt.Z)(Ei.map(function(so){return so+Ur})),[0]),isSticky:Er})},[Ur,pn,Er]),ei=ln(cn,rn);return b.createElement("div",{style:(0,et.Z)({overflow:"hidden"},Er?{top:Fn,bottom:Pn}:{}),ref:Sr,className:pe()(Ct,(0,Se.Z)({},Cn,!!Cn))},b.createElement(Hr,{style:{tableLayout:"fixed",visibility:Pt||ei?null:"hidden"}},(!Pt||!ur||br)&&b.createElement(Un,{colWidths:ei?[].concat((0,Wt.Z)(ei),[Ur]):[],columCount:rn+1,columns:Fr}),Hn((0,et.Z)((0,et.Z)({},vr),{},{stickyOffsets:jr,columns:_n,flattenColumns:Fr}))))}),Jt=b.memo(en),Sn=function(He){var Ct=He.cells,Pt=He.stickyOffsets,Nt=He.flattenColumns,_t=He.rowComponent,cn=He.cellComponent,rn=He.onHeaderRow,pn=He.index,vn=ue(Ue,["prefixCls","direction"]),Tn=vn.prefixCls,Fn=vn.direction,Pn;rn&&(Pn=rn(Ct.map(function(gn){return gn.column}),pn));var Cn=Be(Ct.map(function(gn){return gn.column}));return b.createElement(_t,Pn,Ct.map(function(gn,ur){var Hn=gn.column,vr=Dt(gn.colStart,gn.colEnd,Nt,Pt,Fn),fr;return Hn&&Hn.onHeaderCell&&(fr=gn.column.onHeaderCell(Hn)),b.createElement(It,(0,Fe.Z)({},gn,{scope:Hn.title?gn.colSpan>1?"colgroup":"col":null,ellipsis:Hn.ellipsis,align:Hn.align,component:cn,prefixCls:Tn,key:Cn[ur]},vr,{additionalProps:fr,rowType:"header"}))}))},yn=Sn;function Mn(_e){var He=[];function Ct(cn,rn){var pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;He[pn]=He[pn]||[];var vn=rn,Tn=cn.filter(Boolean).map(function(Fn){var Pn={key:Fn.key,className:Fn.className||"",children:Fn.title,column:Fn,colStart:vn},Cn=1,gn=Fn.children;return gn&&gn.length>0&&(Cn=Ct(gn,vn,pn+1).reduce(function(ur,Hn){return ur+Hn},0),Pn.hasSubColumns=!0),"colSpan"in Fn&&(Cn=Fn.colSpan),"rowSpan"in Fn&&(Pn.rowSpan=Fn.rowSpan),Pn.colSpan=Cn,Pn.colEnd=Pn.colStart+Cn-1,He[pn].push(Pn),vn+=Cn,Cn});return Tn}Ct(_e,0);for(var Pt=He.length,Nt=function(rn){He[rn].forEach(function(pn){!("rowSpan"in pn)&&!pn.hasSubColumns&&(pn.rowSpan=Pt-rn)})},_t=0;_t<Pt;_t+=1)Nt(_t);return He}var Yn=function(He){var Ct=He.stickyOffsets,Pt=He.columns,Nt=He.flattenColumns,_t=He.onHeaderRow,cn=ue(Ue,["prefixCls","getComponent"]),rn=cn.prefixCls,pn=cn.getComponent,vn=b.useMemo(function(){return Mn(Pt)},[Pt]),Tn=pn(["header","wrapper"],"thead"),Fn=pn(["header","row"],"tr"),Pn=pn(["header","cell"],"th");return b.createElement(Tn,{className:"".concat(rn,"-thead")},vn.map(function(Cn,gn){var ur=b.createElement(yn,{key:gn,flattenColumns:Nt,cells:Cn,stickyOffsets:Ct,rowComponent:Fn,cellComponent:Pn,onHeaderRow:_t,index:gn});return ur}))},Wn=tt(Yn),In=E(11592);function ar(_e){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof He=="number"?He:He.endsWith("%")?_e*parseFloat(He)/100:null}function tr(_e,He,Ct){return b.useMemo(function(){if(He&&He>0){var Pt=0,Nt=0;_e.forEach(function(Pn){var Cn=ar(He,Pn.width);Cn?Pt+=Cn:Nt+=1});var _t=Math.max(He,Ct),cn=Math.max(_t-Pt,Nt),rn=Nt,pn=cn/Nt,vn=0,Tn=_e.map(function(Pn){var Cn=(0,et.Z)({},Pn),gn=ar(He,Cn.width);if(gn)Cn.width=gn;else{var ur=Math.floor(pn);Cn.width=rn===1?cn:ur,cn-=ur,rn-=1}return vn+=Cn.width,Cn});if(vn<_t){var Fn=_t/vn;cn=_t,Tn.forEach(function(Pn,Cn){var gn=Math.floor(Pn.width*Fn);Pn.width=Cn===Tn.length-1?cn:gn,cn-=gn})}return[Tn,Math.max(vn,_t)]}return[_e,He]},[_e,He,Ct])}var Rr=["children"],Ir=["fixed"];function En(_e){return(0,In.Z)(_e).filter(function(He){return b.isValidElement(He)}).map(function(He){var Ct=He.key,Pt=He.props,Nt=Pt.children,_t=(0,x.Z)(Pt,Rr),cn=(0,et.Z)({key:Ct},_t);return Nt&&(cn.children=En(Nt)),cn})}function kn(_e){return _e.filter(function(He){return He&&(0,Ve.Z)(He)==="object"&&!He.hidden}).map(function(He){var Ct=He.children;return Ct&&Ct.length>0?(0,et.Z)((0,et.Z)({},He),{},{children:kn(Ct)}):He})}function nr(_e){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return _e.filter(function(Ct){return Ct&&(0,Ve.Z)(Ct)==="object"}).reduce(function(Ct,Pt,Nt){var _t=Pt.fixed,cn=_t===!0?"left":_t,rn="".concat(He,"-").concat(Nt),pn=Pt.children;return pn&&pn.length>0?[].concat((0,Wt.Z)(Ct),(0,Wt.Z)(nr(pn,rn).map(function(vn){return(0,et.Z)({fixed:cn},vn)}))):[].concat((0,Wt.Z)(Ct),[(0,et.Z)((0,et.Z)({key:rn},Pt),{},{fixed:cn})])},[])}function rr(_e){return _e.map(function(He){var Ct=He.fixed,Pt=(0,x.Z)(He,Ir),Nt=Ct;return Ct==="left"?Nt="right":Ct==="right"&&(Nt="left"),(0,et.Z)({fixed:Nt},Pt)})}function Lt(_e,He){var Ct=_e.prefixCls,Pt=_e.columns,Nt=_e.children,_t=_e.expandable,cn=_e.expandedKeys,rn=_e.columnTitle,pn=_e.getRowKey,vn=_e.onTriggerExpand,Tn=_e.expandIcon,Fn=_e.rowExpandable,Pn=_e.expandIconColumnIndex,Cn=_e.direction,gn=_e.expandRowByClick,ur=_e.columnWidth,Hn=_e.fixed,vr=_e.scrollWidth,fr=_e.clientWidth,wr=b.useMemo(function(){var Or=Pt||En(Nt)||[];return kn(Or.slice())},[Pt,Nt]),yr=b.useMemo(function(){if(_t){var Or=wr.slice();if(!Or.includes(We)){var $n=Pn||0;$n>=0&&($n||Hn==="left"||!Hn)&&Or.splice($n,0,We),Hn==="right"&&Or.splice(wr.length,0,We)}var _n=Or.indexOf(We);Or=Or.filter(function(Ei,Kr){return Ei!==We||Kr===_n});var Fr=wr[_n],jr;Hn?jr=Hn:jr=Fr?Fr.fixed:null;var ei=(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},Ln,{className:"".concat(Ct,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",rn),"fixed",jr),"className","".concat(Ct,"-row-expand-icon-cell")),"width",ur),"render",function(Kr,so,eo){var qo=pn(so,eo),No=cn.has(qo),Go=Fn?Fn(so):!0,ra=Tn({prefixCls:Ct,expanded:No,expandable:Go,record:so,onExpand:vn});return gn?b.createElement("span",{onClick:function(go){return go.stopPropagation()}},ra):ra});return Or.map(function(Ei){return Ei===We?ei:Ei})}return wr.filter(function(Ei){return Ei!==We})},[_t,wr,pn,cn,Tn,Cn]),Er=b.useMemo(function(){var Or=yr;return He&&(Or=He(Or)),Or.length||(Or=[{render:function(){return null}}]),Or},[He,yr,Cn]),Tr=b.useMemo(function(){return Cn==="rtl"?rr(nr(Er)):nr(Er)},[Er,Cn,vr]),Hr=b.useMemo(function(){for(var Or=-1,$n=Tr.length-1;$n>=0;$n-=1){var _n=Tr[$n].fixed;if(_n==="left"||_n===!0){Or=$n;break}}if(Or>=0)for(var Fr=0;Fr<=Or;Fr+=1){var jr=Tr[Fr].fixed;if(jr!=="left"&&jr!==!0)return!0}var ei=Tr.findIndex(function(so){var eo=so.fixed;return eo==="right"});if(ei>=0)for(var Ei=ei;Ei<Tr.length;Ei+=1){var Kr=Tr[Ei].fixed;if(Kr!=="right")return!0}return!1},[Tr]),Ur=tr(Tr,vr,fr),Ci=(0,Ke.Z)(Ur,2),Sr=Ci[0],br=Ci[1];return[Er,Sr,br,Hr]}var Qt=Lt;function St(_e,He,Ct){var Pt=Xn(_e),Nt=Pt.expandIcon,_t=Pt.expandedRowKeys,cn=Pt.defaultExpandedRowKeys,rn=Pt.defaultExpandAllRows,pn=Pt.expandedRowRender,vn=Pt.onExpand,Tn=Pt.onExpandedRowsChange,Fn=Pt.childrenColumnName,Pn=Nt||Rt,Cn=Fn||"children",gn=b.useMemo(function(){return pn?"row":_e.expandable&&_e.internalHooks===de&&_e.expandable.__PARENT_RENDER_ICON__||He.some(function(Er){return Er&&(0,Ve.Z)(Er)==="object"&&Er[Cn]})?"nest":!1},[!!pn,He]),ur=b.useState(function(){return cn||(rn?Kt(He,Ct,Cn):[])}),Hn=(0,Ke.Z)(ur,2),vr=Hn[0],fr=Hn[1],wr=b.useMemo(function(){return new Set(_t||vr||[])},[_t,vr]),yr=b.useCallback(function(Er){var Tr=Ct(Er,He.indexOf(Er)),Hr,Ur=wr.has(Tr);Ur?(wr.delete(Tr),Hr=(0,Wt.Z)(wr)):Hr=[].concat((0,Wt.Z)(wr),[Tr]),fr(Hr),vn&&vn(!Ur,Er),Tn&&Tn(Hr)},[Ct,wr,He,vn,Tn]);return[Pt,gn,wr,Pn,Cn,yr]}function Zt(_e,He,Ct){var Pt=_e.map(function(Nt,_t){return Dt(_t,_t,_e,He,Ct)});return(0,be.Z)(function(){return Pt},[Pt],function(Nt,_t){return!(0,ye.Z)(Nt,_t)})}function At(_e){var He=(0,b.useRef)(_e),Ct=(0,b.useState)({}),Pt=(0,Ke.Z)(Ct,2),Nt=Pt[1],_t=(0,b.useRef)(null),cn=(0,b.useRef)([]);function rn(pn){cn.current.push(pn);var vn=Promise.resolve();_t.current=vn,vn.then(function(){if(_t.current===vn){var Tn=cn.current,Fn=He.current;cn.current=[],Tn.forEach(function(Pn){He.current=Pn(He.current)}),_t.current=null,Fn!==He.current&&Nt({})}})}return(0,b.useEffect)(function(){return function(){_t.current=null}},[]),[He.current,rn]}function Ht(_e){var He=(0,b.useRef)(_e||null),Ct=(0,b.useRef)();function Pt(){window.clearTimeout(Ct.current)}function Nt(cn){He.current=cn,Pt(),Ct.current=window.setTimeout(function(){He.current=null,Ct.current=void 0},100)}function _t(){return He.current}return(0,b.useEffect)(function(){return Pt},[]),[Nt,_t]}function ht(){var _e=b.useState(-1),He=(0,Ke.Z)(_e,2),Ct=He[0],Pt=He[1],Nt=b.useState(-1),_t=(0,Ke.Z)(Nt,2),cn=_t[0],rn=_t[1],pn=b.useCallback(function(vn,Tn){Pt(vn),rn(Tn)},[]);return[Ct,cn,pn]}var Xt=E(47273),tn=(0,Xt.Z)()?window:null;function dn(_e,He){var Ct=(0,Ve.Z)(_e)==="object"?_e:{},Pt=Ct.offsetHeader,Nt=Pt===void 0?0:Pt,_t=Ct.offsetSummary,cn=_t===void 0?0:_t,rn=Ct.offsetScroll,pn=rn===void 0?0:rn,vn=Ct.getContainer,Tn=vn===void 0?function(){return tn}:vn,Fn=Tn()||tn,Pn=!!_e;return b.useMemo(function(){return{isSticky:Pn,stickyClassName:Pn?"".concat(He,"-sticky-holder"):"",offsetHeader:Nt,offsetSummary:cn,offsetScroll:pn,container:Fn}},[Pn,pn,Nt,cn,He,Fn])}function Ut(_e,He,Ct){var Pt=(0,b.useMemo)(function(){var Nt=He.length,_t=function(vn,Tn,Fn){for(var Pn=[],Cn=0,gn=vn;gn!==Tn;gn+=Fn)Pn.push(Cn),He[gn].fixed&&(Cn+=_e[gn]||0);return Pn},cn=_t(0,Nt,1),rn=_t(Nt-1,-1,-1).reverse();return Ct==="rtl"?{left:rn,right:cn}:{left:cn,right:rn}},[_e,He,Ct]);return Pt}var jt=Ut;function Gt(_e){var He=_e.className,Ct=_e.children;return b.createElement("div",{className:He},Ct)}var an=Gt,zn=E(8224),Rn=E(16089),Vn=E(76846);function Mr(_e){var He=(0,Vn.bn)(_e),Ct=He.getBoundingClientRect(),Pt=document.documentElement;return{left:Ct.left+(window.pageXOffset||Pt.scrollLeft)-(Pt.clientLeft||document.body.clientLeft||0),top:Ct.top+(window.pageYOffset||Pt.scrollTop)-(Pt.clientTop||document.body.clientTop||0)}}var zr=function(He,Ct){var Pt,Nt,_t=He.scrollBodyRef,cn=He.onScroll,rn=He.offsetScroll,pn=He.container,vn=He.direction,Tn=ue(Ue,"prefixCls"),Fn=((Pt=_t.current)===null||Pt===void 0?void 0:Pt.scrollWidth)||0,Pn=((Nt=_t.current)===null||Nt===void 0?void 0:Nt.clientWidth)||0,Cn=Fn&&Pn*(Pn/Fn),gn=b.useRef(),ur=At({scrollLeft:0,isHiddenScrollBar:!0}),Hn=(0,Ke.Z)(ur,2),vr=Hn[0],fr=Hn[1],wr=b.useRef({delta:0,x:0}),yr=b.useState(!1),Er=(0,Ke.Z)(yr,2),Tr=Er[0],Hr=Er[1],Ur=b.useRef(null);b.useEffect(function(){return function(){Rn.Z.cancel(Ur.current)}},[]);var Ci=function(){Hr(!1)},Sr=function(Fr){Fr.persist(),wr.current.delta=Fr.pageX-vr.scrollLeft,wr.current.x=0,Hr(!0),Fr.preventDefault()},br=function(Fr){var jr,ei=Fr||((jr=window)===null||jr===void 0?void 0:jr.event),Ei=ei.buttons;if(!Tr||Ei===0){Tr&&Hr(!1);return}var Kr=wr.current.x+Fr.pageX-wr.current.x-wr.current.delta,so=vn==="rtl";Kr=Math.max(so?Cn-Pn:0,Math.min(so?0:Pn-Cn,Kr));var eo=!so||Math.abs(Kr)+Math.abs(Cn)<Pn;eo&&(cn({scrollLeft:Kr/Pn*(Fn+2)}),wr.current.x=Fr.pageX)},Or=function(){Rn.Z.cancel(Ur.current),Ur.current=(0,Rn.Z)(function(){if(_t.current){var Fr=Mr(_t.current).top,jr=Fr+_t.current.offsetHeight,ei=pn===window?document.documentElement.scrollTop+window.innerHeight:Mr(pn).top+pn.clientHeight;jr-(0,yt.Z)()<=ei||Fr>=ei-rn?fr(function(Ei){return(0,et.Z)((0,et.Z)({},Ei),{},{isHiddenScrollBar:!0})}):fr(function(Ei){return(0,et.Z)((0,et.Z)({},Ei),{},{isHiddenScrollBar:!1})})}})},$n=function(Fr){fr(function(jr){return(0,et.Z)((0,et.Z)({},jr),{},{scrollLeft:Fr/Fn*Pn||0})})};return b.useImperativeHandle(Ct,function(){return{setScrollLeft:$n,checkScrollBarVisible:Or}}),b.useEffect(function(){var _n=(0,zn.Z)(document.body,"mouseup",Ci,!1),Fr=(0,zn.Z)(document.body,"mousemove",br,!1);return Or(),function(){_n.remove(),Fr.remove()}},[Cn,Tr]),b.useEffect(function(){if(_t.current){for(var _n=[],Fr=(0,Vn.bn)(_t.current);Fr;)_n.push(Fr),Fr=Fr.parentElement;return _n.forEach(function(jr){return jr.addEventListener("scroll",Or,!1)}),window.addEventListener("resize",Or,!1),window.addEventListener("scroll",Or,!1),pn.addEventListener("scroll",Or,!1),function(){_n.forEach(function(jr){return jr.removeEventListener("scroll",Or)}),window.removeEventListener("resize",Or),window.removeEventListener("scroll",Or),pn.removeEventListener("scroll",Or)}}},[pn]),b.useEffect(function(){vr.isHiddenScrollBar||fr(function(_n){var Fr=_t.current;return Fr?(0,et.Z)((0,et.Z)({},_n),{},{scrollLeft:Fr.scrollLeft/Fr.scrollWidth*Fr.clientWidth}):_n})},[vr.isHiddenScrollBar]),Fn<=Pn||!Cn||vr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,yt.Z)(),width:Pn,bottom:rn},className:"".concat(Tn,"-sticky-scroll")},b.createElement("div",{onMouseDown:Sr,ref:gn,className:pe()("".concat(Tn,"-sticky-scroll-bar"),(0,Se.Z)({},"".concat(Tn,"-sticky-scroll-bar-active"),Tr)),style:{width:"".concat(Cn,"px"),transform:"translate3d(".concat(vr.scrollLeft,"px, 0, 0)")}}))},Xr=b.forwardRef(zr);function Pr(_e){return null}var gr=Pr;function Ar(_e){return null}var Vr=Ar,ni="rc-table",ri=[],ai={};function Dr(){return"No Data"}function Jr(_e,He){var Ct=(0,et.Z)({rowKey:"key",prefixCls:ni,emptyText:Dr},_e),Pt=Ct.prefixCls,Nt=Ct.className,_t=Ct.rowClassName,cn=Ct.style,rn=Ct.data,pn=Ct.rowKey,vn=Ct.scroll,Tn=Ct.tableLayout,Fn=Ct.direction,Pn=Ct.title,Cn=Ct.footer,gn=Ct.summary,ur=Ct.caption,Hn=Ct.id,vr=Ct.showHeader,fr=Ct.components,wr=Ct.emptyText,yr=Ct.onRow,Er=Ct.onHeaderRow,Tr=Ct.onScroll,Hr=Ct.internalHooks,Ur=Ct.transformColumns,Ci=Ct.internalRefs,Sr=Ct.tailor,br=Ct.getContainerWidth,Or=Ct.sticky,$n=Ct.rowHoverable,_n=$n===void 0?!0:$n,Fr=rn||ri,jr=!!Fr.length,ei=Hr===de,Ei=b.useCallback(function(Yo,Qo){return(0,gt.Z)(fr,Yo)||Qo},[fr]),Kr=b.useMemo(function(){return typeof pn=="function"?pn:function(Yo){var Qo=Yo&&Yo[pn];return Qo}},[pn]),so=Ei(["body"]),eo=ht(),qo=(0,Ke.Z)(eo,3),No=qo[0],Go=qo[1],ra=qo[2],oa=St(Ct,Fr,Kr),go=(0,Ke.Z)(oa,6),po=go[0],ma=go[1],pa=go[2],Ii=go[3],no=go[4],Di=go[5],ci=vn==null?void 0:vn.x,Do=b.useState(0),zo=(0,Ke.Z)(Do,2),aa=zo[0],Ho=zo[1],va=Qt((0,et.Z)((0,et.Z)((0,et.Z)({},Ct),po),{},{expandable:!!po.expandedRowRender,columnTitle:po.columnTitle,expandedKeys:pa,getRowKey:Kr,onTriggerExpand:Di,expandIcon:Ii,expandIconColumnIndex:po.expandIconColumnIndex,direction:Fn,scrollWidth:ei&&Sr&&typeof ci=="number"?ci:null,clientWidth:aa}),ei?Ur:null),ca=(0,Ke.Z)(va,4),ki=ca[0],Ui=ca[1],jo=ca[2],$o=ca[3],Xo=jo!=null?jo:ci,Ea=b.useMemo(function(){return{columns:ki,flattenColumns:Ui}},[ki,Ui]),la=b.useRef(),Na=b.useRef(),ia=b.useRef(),Po=b.useRef();b.useImperativeHandle(He,function(){return{nativeElement:la.current,scrollTo:function(Qo){var sl;if(ia.current instanceof HTMLElement){var Il=Qo.index,ul=Qo.top,Ps=Qo.key;if(lt(ul)){var ls;(ls=ia.current)===null||ls===void 0||ls.scrollTo({top:ul})}else{var ql,Fs=Ps!=null?Ps:Kr(Fr[Il]);(ql=ia.current.querySelector('[data-row-key="'.concat(Fs,'"]')))===null||ql===void 0||ql.scrollIntoView()}}else(sl=ia.current)!==null&&sl!==void 0&&sl.scrollTo&&ia.current.scrollTo(Qo)}}});var na=b.useRef(),sa=b.useState(!1),Ca=(0,Ke.Z)(sa,2),ga=Ca[0],To=Ca[1],fa=b.useState(!1),Uo=(0,Ke.Z)(fa,2),Ra=Uo[0],Sa=Uo[1],Va=b.useState(new Map),$a=(0,Ke.Z)(Va,2),Sl=$a[0],ua=$a[1],Jl=Be(Ui),Ka=Jl.map(function(Yo){return Sl.get(Yo)}),hl=b.useMemo(function(){return Ka},[Ka.join("_")]),al=jt(hl,Ui,Fn),ro=vn&&Je(vn.y),Pi=vn&&Je(Xo)||!!po.fixed,ya=Pi&&Ui.some(function(Yo){var Qo=Yo.fixed;return Qo}),Xa=b.useRef(),yl=dn(Or,Pt),Nl=yl.isSticky,Ss=yl.offsetHeader,ws=yl.offsetSummary,Ls=yl.offsetScroll,_o=yl.stickyClassName,So=yl.container,ui=b.useMemo(function(){return gn==null?void 0:gn(Fr)},[gn,Fr]),_i=(ro||Nl)&&b.isValidElement(ui)&&ui.type===Ie&&ui.props.fixed,Io,Fa,Qa;ro&&(Fa={overflowY:jr?"scroll":"auto",maxHeight:vn.y}),Pi&&(Io={overflowX:"auto"},ro||(Fa={overflowY:"hidden"}),Qa={width:Xo===!0?"auto":Xo,minWidth:"100%"});var Ua=b.useCallback(function(Yo,Qo){ua(function(sl){if(sl.get(Yo)!==Qo){var Il=new Map(sl);return Il.set(Yo,Qo),Il}return sl})},[]),Hl=Ht(null),ll=(0,Ke.Z)(Hl,2),As=ll[0],qs=ll[1];function Ns(Yo,Qo){Qo&&(typeof Qo=="function"?Qo(Yo):Qo.scrollLeft!==Yo&&(Qo.scrollLeft=Yo,Qo.scrollLeft!==Yo&&setTimeout(function(){Qo.scrollLeft=Yo},0)))}var ms=(0,De.Z)(function(Yo){var Qo=Yo.currentTarget,sl=Yo.scrollLeft,Il=Fn==="rtl",ul=typeof sl=="number"?sl:Qo.scrollLeft,Ps=Qo||ai;if(!qs()||qs()===Ps){var ls;As(Ps),Ns(ul,Na.current),Ns(ul,ia.current),Ns(ul,na.current),Ns(ul,(ls=Xa.current)===null||ls===void 0?void 0:ls.setScrollLeft)}var ql=Qo||Na.current;if(ql){var Fs=ei&&Sr&&typeof Xo=="number"?Xo:ql.scrollWidth,du=ql.clientWidth;if(Fs===du){To(!1),Sa(!1);return}Il?(To(-ul<Fs-du),Sa(-ul>0)):(To(ul>0),Sa(ul<Fs-du))}}),Us=(0,De.Z)(function(Yo){ms(Yo),Tr==null||Tr(Yo)}),ps=function(){if(Pi&&ia.current){var Qo;ms({currentTarget:(0,Vn.bn)(ia.current),scrollLeft:(Qo=ia.current)===null||Qo===void 0?void 0:Qo.scrollLeft})}else To(!1),Sa(!1)},eu=function(Qo){var sl,Il=Qo.width;(sl=Xa.current)===null||sl===void 0||sl.checkScrollBarVisible();var ul=la.current?la.current.offsetWidth:Il;ei&&br&&la.current&&(ul=br(la.current,ul)||ul),ul!==aa&&(ps(),Ho(ul))},_s=b.useRef(!1);b.useEffect(function(){_s.current&&ps()},[Pi,rn,ki.length]),b.useEffect(function(){_s.current=!0},[]);var tu=b.useState(0),pu=(0,Ke.Z)(tu,2),as=pu[0],nu=pu[1],Eu=b.useState(!0),ru=(0,Ke.Z)(Eu,2),Rs=ru[0],Su=ru[1];(0,ve.Z)(function(){(!Sr||!ei)&&(ia.current instanceof Element?nu((0,yt.o)(ia.current).width):nu((0,yt.o)(Po.current).width)),Su((0,dt.G)("position","sticky"))},[]),b.useEffect(function(){ei&&Ci&&(Ci.body.current=ia.current)});var wu=b.useCallback(function(Yo){return b.createElement(b.Fragment,null,b.createElement(Wn,Yo),_i==="top"&&b.createElement(Ye,Yo,ui))},[_i,ui]),Zs=b.useCallback(function(Yo){return b.createElement(Ye,Yo,ui)},[ui]),iu=Ei(["table"],"table"),zs=b.useMemo(function(){return Tn||(ya?Xo==="max-content"?"auto":"fixed":ro||Nl||Ui.some(function(Yo){var Qo=Yo.ellipsis;return Qo})?"fixed":"auto")},[ro,ya,Ui,Tn,Nl]),ou,Ws={colWidths:hl,columCount:Ui.length,stickyOffsets:al,onHeaderRow:Er,fixHeader:ro,scroll:vn},au=b.useMemo(function(){return jr?null:typeof wr=="function"?wr():wr},[jr,wr]),vu=b.createElement(sn,{data:Fr,measureColumnWidth:ro||Pi||Nl}),lu=b.createElement(Un,{colWidths:Ui.map(function(Yo){var Qo=Yo.width;return Qo}),columns:Ui}),su=ur!=null?b.createElement("caption",{className:"".concat(Pt,"-caption")},ur):void 0,Au=(0,ot.Z)(Ct,{data:!0}),Ys=(0,ot.Z)(Ct,{aria:!0});if(ro||Nl){var vs;typeof so=="function"?(vs=so(Fr,{scrollbarSize:as,ref:ia,onScroll:ms}),Ws.colWidths=Ui.map(function(Yo,Qo){var sl=Yo.width,Il=Qo===Ui.length-1?sl-as:sl;return typeof Il=="number"&&!Number.isNaN(Il)?Il:0})):vs=b.createElement("div",{style:(0,et.Z)((0,et.Z)({},Io),Fa),onScroll:Us,ref:ia,className:pe()("".concat(Pt,"-body"))},b.createElement(iu,(0,Fe.Z)({style:(0,et.Z)((0,et.Z)({},Qa),{},{tableLayout:zs})},Ys),su,lu,vu,!_i&&ui&&b.createElement(Ye,{stickyOffsets:al,flattenColumns:Ui},ui)));var Ds=(0,et.Z)((0,et.Z)((0,et.Z)({noData:!Fr.length,maxContentScroll:Pi&&Xo==="max-content"},Ws),Ea),{},{direction:Fn,stickyClassName:_o,onScroll:ms});ou=b.createElement(b.Fragment,null,vr!==!1&&b.createElement(Jt,(0,Fe.Z)({},Ds,{stickyTopOffset:Ss,className:"".concat(Pt,"-header"),ref:Na}),wu),vs,_i&&_i!=="top"&&b.createElement(Jt,(0,Fe.Z)({},Ds,{stickyBottomOffset:ws,className:"".concat(Pt,"-summary"),ref:na}),Zs),Nl&&ia.current&&ia.current instanceof Element&&b.createElement(Xr,{ref:Xa,offsetScroll:Ls,scrollBodyRef:ia,onScroll:ms,container:So,direction:Fn}))}else ou=b.createElement("div",{style:(0,et.Z)((0,et.Z)({},Io),Fa),className:pe()("".concat(Pt,"-content")),onScroll:ms,ref:ia},b.createElement(iu,(0,Fe.Z)({style:(0,et.Z)((0,et.Z)({},Qa),{},{tableLayout:zs})},Ys),su,lu,vr!==!1&&b.createElement(Wn,(0,Fe.Z)({},Ws,Ea)),vu,ui&&b.createElement(Ye,{stickyOffsets:al,flattenColumns:Ui},ui)));var uu=b.createElement("div",(0,Fe.Z)({className:pe()(Pt,Nt,(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},"".concat(Pt,"-rtl"),Fn==="rtl"),"".concat(Pt,"-ping-left"),ga),"".concat(Pt,"-ping-right"),Ra),"".concat(Pt,"-layout-fixed"),Tn==="fixed"),"".concat(Pt,"-fixed-header"),ro),"".concat(Pt,"-fixed-column"),ya),"".concat(Pt,"-fixed-column-gapped"),ya&&$o),"".concat(Pt,"-scroll-horizontal"),Pi),"".concat(Pt,"-has-fix-left"),Ui[0]&&Ui[0].fixed),"".concat(Pt,"-has-fix-right"),Ui[Ui.length-1]&&Ui[Ui.length-1].fixed==="right")),style:cn,id:Hn,ref:la},Au),Pn&&b.createElement(an,{className:"".concat(Pt,"-title")},Pn(Fr)),b.createElement("div",{ref:Po,className:"".concat(Pt,"-container")},ou),Cn&&b.createElement(an,{className:"".concat(Pt,"-footer")},Cn(Fr)));Pi&&(uu=b.createElement(it.Z,{onResize:eu},uu));var cu=Zt(Ui,al,Fn),Du=b.useMemo(function(){return{scrollX:Xo,prefixCls:Pt,getComponent:Ei,scrollbarSize:as,direction:Fn,fixedInfoList:cu,isSticky:Nl,supportSticky:Rs,componentWidth:aa,fixHeader:ro,fixColumn:ya,horizonScroll:Pi,tableLayout:zs,rowClassName:_t,expandedRowClassName:po.expandedRowClassName,expandIcon:Ii,expandableType:ma,expandRowByClick:po.expandRowByClick,expandedRowRender:po.expandedRowRender,onTriggerExpand:Di,expandIconColumnIndex:po.expandIconColumnIndex,indentSize:po.indentSize,allColumnsFixedLeft:Ui.every(function(Yo){return Yo.fixed==="left"}),emptyNode:au,columns:ki,flattenColumns:Ui,onColumnResize:Ua,hoverStartRow:No,hoverEndRow:Go,onHover:ra,rowExpandable:po.rowExpandable,onRow:yr,getRowKey:Kr,expandedKeys:pa,childrenColumnName:no,rowHoverable:_n}},[Xo,Pt,Ei,as,Fn,cu,Nl,Rs,aa,ro,ya,Pi,zs,_t,po.expandedRowClassName,Ii,ma,po.expandRowByClick,po.expandedRowRender,Di,po.expandIconColumnIndex,po.indentSize,au,ki,Ui,Ua,No,Go,ra,po.rowExpandable,yr,Kr,pa,no,_n]);return b.createElement(Ue.Provider,{value:Du},uu)}var $r=b.forwardRef(Jr);function Ri(_e){return Re($r,_e)}var Hi=Ri();Hi.EXPAND_COLUMN=We,Hi.INTERNAL_HOOKS=de,Hi.Column=gr,Hi.ColumnGroup=Vr,Hi.Summary=Ge;var Zi=Hi,zi=E(48911),Ji=xe(null),wi=xe(null);function Mi(_e,He,Ct){var Pt=He||1;return Ct[_e+Pt]-(Ct[_e]||0)}function fi(_e){var He=_e.rowInfo,Ct=_e.column,Pt=_e.colIndex,Nt=_e.indent,_t=_e.index,cn=_e.component,rn=_e.renderIndex,pn=_e.record,vn=_e.style,Tn=_e.className,Fn=_e.inverse,Pn=_e.getHeight,Cn=Ct.render,gn=Ct.dataIndex,ur=Ct.className,Hn=Ct.width,vr=ue(wi,["columnsOffset"]),fr=vr.columnsOffset,wr=Et(He,Ct,Pt,Nt,_t),yr=wr.key,Er=wr.fixedInfo,Tr=wr.appendCellNode,Hr=wr.additionalCellProps,Ur=Hr.style,Ci=Hr.colSpan,Sr=Ci===void 0?1:Ci,br=Hr.rowSpan,Or=br===void 0?1:br,$n=Pt-1,_n=Mi($n,Sr,fr),Fr=Sr>1?Hn-_n:0,jr=(0,et.Z)((0,et.Z)((0,et.Z)({},Ur),vn),{},{flex:"0 0 ".concat(_n,"px"),width:"".concat(_n,"px"),marginRight:Fr,pointerEvents:"auto"}),ei=b.useMemo(function(){return Fn?Or<=1:Sr===0||Or===0||Or>1},[Or,Sr,Fn]);ei?jr.visibility="hidden":Fn&&(jr.height=Pn==null?void 0:Pn(Or));var Ei=ei?function(){return null}:Cn,Kr={};return(Or===0||Sr===0)&&(Kr.rowSpan=1,Kr.colSpan=1),b.createElement(It,(0,Fe.Z)({className:pe()(ur,Tn),ellipsis:Ct.ellipsis,align:Ct.align,scope:Ct.rowScope,component:cn,prefixCls:He.prefixCls,key:yr,record:pn,index:_t,renderIndex:rn,dataIndex:gn,render:Ei,shouldCellUpdate:Ct.shouldCellUpdate},Er,{appendNode:Tr,additionalProps:(0,et.Z)((0,et.Z)({},Hr),{},{style:jr},Kr)}))}var $i=fi,oo=["data","index","className","rowKey","style","extra","getHeight"],Ro=b.forwardRef(function(_e,He){var Ct=_e.data,Pt=_e.index,Nt=_e.className,_t=_e.rowKey,cn=_e.style,rn=_e.extra,pn=_e.getHeight,vn=(0,x.Z)(_e,oo),Tn=Ct.record,Fn=Ct.indent,Pn=Ct.index,Cn=ue(Ue,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),gn=Cn.scrollX,ur=Cn.flattenColumns,Hn=Cn.prefixCls,vr=Cn.fixColumn,fr=Cn.componentWidth,wr=ue(Ji,["getComponent"]),yr=wr.getComponent,Er=kt(Tn,_t,Pt,Fn),Tr=yr(["body","row"],"div"),Hr=yr(["body","cell"],"div"),Ur=Er.rowSupportExpand,Ci=Er.expanded,Sr=Er.rowProps,br=Er.expandedRowRender,Or=Er.expandedRowClassName,$n;if(Ur&&Ci){var _n=br(Tn,Pt,Fn+1,Ci),Fr=qt(Or,Tn,Pt,Fn),jr={};vr&&(jr={style:(0,Se.Z)({},"--virtual-width","".concat(fr,"px"))});var ei="".concat(Hn,"-expanded-row-cell");$n=b.createElement(Tr,{className:pe()("".concat(Hn,"-expanded-row"),"".concat(Hn,"-expanded-row-level-").concat(Fn+1),Fr)},b.createElement(It,{component:Hr,prefixCls:Hn,className:pe()(ei,(0,Se.Z)({},"".concat(ei,"-fixed"),vr)),additionalProps:jr},_n))}var Ei=(0,et.Z)((0,et.Z)({},cn),{},{width:gn});rn&&(Ei.position="absolute",Ei.pointerEvents="none");var Kr=b.createElement(Tr,(0,Fe.Z)({},Sr,vn,{"data-row-key":_t,ref:Ur?null:He,className:pe()(Nt,"".concat(Hn,"-row"),Sr==null?void 0:Sr.className,(0,Se.Z)({},"".concat(Hn,"-row-extra"),rn)),style:(0,et.Z)((0,et.Z)({},Ei),Sr==null?void 0:Sr.style)}),ur.map(function(so,eo){return b.createElement($i,{key:eo,component:Hr,rowInfo:Er,column:so,colIndex:eo,indent:Fn,index:Pt,renderIndex:Pn,record:Tn,inverse:rn,getHeight:pn})}));return Ur?b.createElement("div",{ref:He},Kr,$n):Kr}),fo=tt(Ro),bo=fo,co=b.forwardRef(function(_e,He){var Ct=_e.data,Pt=_e.onScroll,Nt=ue(Ue,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),_t=Nt.flattenColumns,cn=Nt.onColumnResize,rn=Nt.getRowKey,pn=Nt.expandedKeys,vn=Nt.prefixCls,Tn=Nt.childrenColumnName,Fn=Nt.scrollX,Pn=Nt.direction,Cn=ue(Ji),gn=Cn.sticky,ur=Cn.scrollY,Hn=Cn.listItemHeight,vr=Cn.getComponent,fr=Cn.onScroll,wr=b.useRef(),yr=Vt(Ct,Tn,pn,rn),Er=b.useMemo(function(){var $n=0;return _t.map(function(_n){var Fr=_n.width,jr=_n.key;return $n+=Fr,[jr,Fr,$n]})},[_t]),Tr=b.useMemo(function(){return Er.map(function($n){return $n[2]})},[Er]);b.useEffect(function(){Er.forEach(function($n){var _n=(0,Ke.Z)($n,2),Fr=_n[0],jr=_n[1];cn(Fr,jr)})},[Er]),b.useImperativeHandle(He,function(){var $n,_n={scrollTo:function(jr){var ei;(ei=wr.current)===null||ei===void 0||ei.scrollTo(jr)},nativeElement:($n=wr.current)===null||$n===void 0?void 0:$n.nativeElement};return Object.defineProperty(_n,"scrollLeft",{get:function(){var jr;return((jr=wr.current)===null||jr===void 0?void 0:jr.getScrollInfo().x)||0},set:function(jr){var ei;(ei=wr.current)===null||ei===void 0||ei.scrollTo({left:jr})}}),_n});var Hr=function(_n,Fr){var jr,ei=(jr=yr[Fr])===null||jr===void 0?void 0:jr.record,Ei=_n.onCell;if(Ei){var Kr,so=Ei(ei,Fr);return(Kr=so==null?void 0:so.rowSpan)!==null&&Kr!==void 0?Kr:1}return 1},Ur=function(_n){var Fr=_n.start,jr=_n.end,ei=_n.getSize,Ei=_n.offsetY;if(jr<0)return null;for(var Kr=_t.filter(function(Ii){return Hr(Ii,Fr)===0}),so=Fr,eo=function(no){if(Kr=Kr.filter(function(Di){return Hr(Di,no)===0}),!Kr.length)return so=no,1},qo=Fr;qo>=0&&!eo(qo);qo-=1);for(var No=_t.filter(function(Ii){return Hr(Ii,jr)!==1}),Go=jr,ra=function(no){if(No=No.filter(function(Di){return Hr(Di,no)!==1}),!No.length)return Go=Math.max(no-1,jr),1},oa=jr;oa<yr.length&&!ra(oa);oa+=1);for(var go=[],po=function(no){var Di=yr[no];if(!Di)return 1;_t.some(function(ci){return Hr(ci,no)>1})&&go.push(no)},ma=so;ma<=Go;ma+=1)po(ma);var pa=go.map(function(Ii){var no=yr[Ii],Di=rn(no.record,Ii),ci=function(aa){var Ho=Ii+aa-1,va=rn(yr[Ho].record,Ho),ca=ei(Di,va);return ca.bottom-ca.top},Do=ei(Di);return b.createElement(bo,{key:Ii,data:no,rowKey:Di,index:Ii,style:{top:-Ei+Do.top},extra:!0,getHeight:ci})});return pa},Ci=b.useMemo(function(){return{columnsOffset:Tr}},[Tr]),Sr="".concat(vn,"-tbody"),br=vr(["body","wrapper"]),Or={};return gn&&(Or.position="sticky",Or.bottom=0,(0,Ve.Z)(gn)==="object"&&gn.offsetScroll&&(Or.bottom=gn.offsetScroll)),b.createElement(wi.Provider,{value:Ci},b.createElement(zi.Z,{fullHeight:!1,ref:wr,prefixCls:"".concat(Sr,"-virtual"),styles:{horizontalScrollBar:Or},className:Sr,height:ur,itemHeight:Hn||24,data:yr,itemKey:function(_n){return rn(_n.record)},component:br,scrollWidth:Fn,direction:Pn,onVirtualScroll:function(_n){var Fr,jr=_n.x;Pt({currentTarget:(Fr=wr.current)===null||Fr===void 0?void 0:Fr.nativeElement,scrollLeft:jr})},onScroll:fr,extraRender:Ur},function($n,_n,Fr){var jr=rn($n.record,_n);return b.createElement(bo,{data:$n,rowKey:jr,index:_n,style:Fr.style})}))}),yo=tt(co),Fi=yo,Ai=function(He,Ct){var Pt=Ct.ref,Nt=Ct.onScroll;return b.createElement(Fi,{ref:Pt,data:He,onScroll:Nt})};function Yr(_e,He){var Ct=_e.data,Pt=_e.columns,Nt=_e.scroll,_t=_e.sticky,cn=_e.prefixCls,rn=cn===void 0?ni:cn,pn=_e.className,vn=_e.listItemHeight,Tn=_e.components,Fn=_e.onScroll,Pn=Nt||{},Cn=Pn.x,gn=Pn.y;typeof Cn!="number"&&(Cn=1),typeof gn!="number"&&(gn=500);var ur=(0,ct.zX)(function(fr,wr){return(0,gt.Z)(Tn,fr)||wr}),Hn=(0,ct.zX)(Fn),vr=b.useMemo(function(){return{sticky:_t,scrollY:gn,listItemHeight:vn,getComponent:ur,onScroll:Hn}},[_t,gn,vn,ur,Hn]);return b.createElement(Ji.Provider,{value:vr},b.createElement(Zi,(0,Fe.Z)({},_e,{className:pe()(pn,"".concat(rn,"-virtual")),scroll:(0,et.Z)((0,et.Z)({},Nt),{},{x:Cn}),components:(0,et.Z)((0,et.Z)({},Tn),{},{body:Ct!=null&&Ct.length?Ai:void 0}),columns:Pt,internalHooks:de,tailor:!0,ref:He})))}var jn=b.forwardRef(Yr);function lr(_e){return Re(jn,_e)}var cr=lr(),Qn=null,qr=_e=>null,Gn=_e=>null,Cr=E(84105),Zr=E(82661),ji=E(34643),vo=E(34061),ao=E(18929);function Bo(_e){const[He,Ct]=(0,b.useState)(null);return[(0,b.useCallback)((_t,cn,rn)=>{const pn=He!=null?He:_t,vn=Math.min(pn||0,_t),Tn=Math.max(pn||0,_t),Fn=cn.slice(vn,Tn+1).map(gn=>_e(gn)),Pn=Fn.some(gn=>!rn.has(gn)),Cn=[];return Fn.forEach(gn=>{Pn?(rn.has(gn)||Cn.push(gn),rn.add(gn)):(rn.delete(gn),Cn.push(gn))}),Ct(Pn?Tn:null),Cn},[He]),_t=>{Ct(_t)}]}var wo=E(32383),Co=E(62673),ko=E(75727),Oo=E(47889);const Mo={},ha="SELECT_ALL",Aa="SELECT_INVERT",xa="SELECT_NONE",Ia=[],Da=(_e,He)=>{let Ct=[];return(He||[]).forEach(Pt=>{Ct.push(Pt),Pt&&typeof Pt=="object"&&_e in Pt&&(Ct=[].concat((0,Wt.Z)(Ct),(0,Wt.Z)(Da(_e,Pt[_e]))))}),Ct};var Ti=(_e,He)=>{const{preserveSelectedRowKeys:Ct,selectedRowKeys:Pt,defaultSelectedRowKeys:Nt,getCheckboxProps:_t,onChange:cn,onSelect:rn,onSelectAll:pn,onSelectInvert:vn,onSelectNone:Tn,onSelectMultiple:Fn,columnWidth:Pn,type:Cn,selections:gn,fixed:ur,renderCell:Hn,hideSelectAll:vr,checkStrictly:fr=!0}=He||{},{prefixCls:wr,data:yr,pageData:Er,getRecordByKey:Tr,getRowKey:Hr,expandType:Ur,childrenColumnName:Ci,locale:Sr,getPopupContainer:br}=_e,Or=(0,wo.ln)("Table"),[$n,_n]=Bo(Ii=>Ii),[Fr,jr]=(0,ao.Z)(Pt||Nt||Ia,{value:Pt}),ei=b.useRef(new Map),Ei=(0,b.useCallback)(Ii=>{if(Ct){const no=new Map;Ii.forEach(Di=>{let ci=Tr(Di);!ci&&ei.current.has(Di)&&(ci=ei.current.get(Di)),no.set(Di,ci)}),ei.current=no}},[Tr,Ct]);b.useEffect(()=>{Ei(Fr)},[Fr]);const Kr=(0,b.useMemo)(()=>Da(Ci,Er),[Ci,Er]),{keyEntities:so}=(0,b.useMemo)(()=>{if(fr)return{keyEntities:null};let Ii=yr;if(Ct){const no=new Set(Kr.map((ci,Do)=>Hr(ci,Do))),Di=Array.from(ei.current).reduce((ci,Do)=>{let[zo,aa]=Do;return no.has(zo)?ci:ci.concat(aa)},[]);Ii=[].concat((0,Wt.Z)(Ii),(0,Wt.Z)(Di))}return(0,vo.I8)(Ii,{externalGetKey:Hr,childrenPropName:Ci})},[yr,Hr,fr,Ci,Ct,Kr]),eo=(0,b.useMemo)(()=>{const Ii=new Map;return Kr.forEach((no,Di)=>{const ci=Hr(no,Di),Do=(_t?_t(no):null)||{};Ii.set(ci,Do)}),Ii},[Kr,Hr,_t]),qo=(0,b.useCallback)(Ii=>{const no=Hr(Ii);let Di;return eo.has(no)?Di=eo.get(Hr(Ii)):Di=_t?_t(Ii):void 0,!!(Di!=null&&Di.disabled)},[eo,Hr]),[No,Go]=(0,b.useMemo)(()=>{if(fr)return[Fr||[],[]];const{checkedKeys:Ii,halfCheckedKeys:no}=(0,ji.S)(Fr,!0,so,qo);return[Ii||[],no]},[Fr,fr,so,qo]),ra=(0,b.useMemo)(()=>{const Ii=Cn==="radio"?No.slice(0,1):No;return new Set(Ii)},[No,Cn]),oa=(0,b.useMemo)(()=>Cn==="radio"?new Set:new Set(Go),[Go,Cn]);b.useEffect(()=>{He||jr(Ia)},[!!He]);const go=(0,b.useCallback)((Ii,no)=>{let Di,ci;Ei(Ii),Ct?(Di=Ii,ci=Ii.map(Do=>ei.current.get(Do))):(Di=[],ci=[],Ii.forEach(Do=>{const zo=Tr(Do);zo!==void 0&&(Di.push(Do),ci.push(zo))})),jr(Di),cn==null||cn(Di,ci,{type:no})},[jr,Tr,cn,Ct]),po=(0,b.useCallback)((Ii,no,Di,ci)=>{if(rn){const Do=Di.map(zo=>Tr(zo));rn(Tr(Ii),no,Do,ci)}go(Di,"single")},[rn,Tr,go]),ma=(0,b.useMemo)(()=>!gn||vr?null:(gn===!0?[ha,Aa,xa]:gn).map(no=>no===ha?{key:"all",text:Sr.selectionAll,onSelect(){go(yr.map((Di,ci)=>Hr(Di,ci)).filter(Di=>{const ci=eo.get(Di);return!(ci!=null&&ci.disabled)||ra.has(Di)}),"all")}}:no===Aa?{key:"invert",text:Sr.selectInvert,onSelect(){const Di=new Set(ra);Er.forEach((Do,zo)=>{const aa=Hr(Do,zo),Ho=eo.get(aa);Ho!=null&&Ho.disabled||(Di.has(aa)?Di.delete(aa):Di.add(aa))});const ci=Array.from(Di);vn&&(Or.deprecated(!1,"onSelectInvert","onChange"),vn(ci)),go(ci,"invert")}}:no===xa?{key:"none",text:Sr.selectNone,onSelect(){Tn==null||Tn(),go(Array.from(ra).filter(Di=>{const ci=eo.get(Di);return ci==null?void 0:ci.disabled}),"none")}}:no).map(no=>Object.assign(Object.assign({},no),{onSelect:function(){for(var Di,ci,Do=arguments.length,zo=new Array(Do),aa=0;aa<Do;aa++)zo[aa]=arguments[aa];(ci=no.onSelect)===null||ci===void 0||(Di=ci).call.apply(Di,[no].concat(zo)),_n(null)}})),[gn,ra,Er,Hr,vn,go]);return[(0,b.useCallback)(Ii=>{var no;if(!He)return Ii.filter(Po=>Po!==Mo);let Di=(0,Wt.Z)(Ii);const ci=new Set(ra),Do=Kr.map(Hr).filter(Po=>!eo.get(Po).disabled),zo=Do.every(Po=>ci.has(Po)),aa=Do.some(Po=>ci.has(Po)),Ho=()=>{const Po=[];zo?Do.forEach(sa=>{ci.delete(sa),Po.push(sa)}):Do.forEach(sa=>{ci.has(sa)||(ci.add(sa),Po.push(sa))});const na=Array.from(ci);pn==null||pn(!zo,na.map(sa=>Tr(sa)),Po.map(sa=>Tr(sa))),go(na,"all"),_n(null)};let va,ca;if(Cn!=="radio"){let Po;if(ma){const To={getPopupContainer:br,items:ma.map((fa,Uo)=>{const{key:Ra,text:Sa,onSelect:Va}=fa;return{key:Ra!=null?Ra:Uo,onClick:()=>{Va==null||Va(Do)},label:Sa}})};Po=b.createElement("div",{className:`${wr}-selection-extra`},b.createElement(ko.Z,{menu:To,getPopupContainer:br},b.createElement("span",null,b.createElement(Cr.Z,null))))}const na=Kr.map((To,fa)=>{const Uo=Hr(To,fa),Ra=eo.get(Uo)||{};return Object.assign({checked:ci.has(Uo)},Ra)}).filter(To=>{let{disabled:fa}=To;return fa}),sa=!!na.length&&na.length===Kr.length,Ca=sa&&na.every(To=>{let{checked:fa}=To;return fa}),ga=sa&&na.some(To=>{let{checked:fa}=To;return fa});ca=b.createElement(Co.default,{checked:sa?Ca:!!Kr.length&&zo,indeterminate:sa?!Ca&&ga:!zo&&aa,onChange:Ho,disabled:Kr.length===0||sa,"aria-label":Po?"Custom selection":"Select all",skipGroup:!0}),va=!vr&&b.createElement("div",{className:`${wr}-selection`},ca,Po)}let ki;Cn==="radio"?ki=(Po,na,sa)=>{const Ca=Hr(na,sa),ga=ci.has(Ca),To=eo.get(Ca);return{node:b.createElement(Oo.ZP,Object.assign({},To,{checked:ga,onClick:fa=>{var Uo;fa.stopPropagation(),(Uo=To==null?void 0:To.onClick)===null||Uo===void 0||Uo.call(To,fa)},onChange:fa=>{var Uo;ci.has(Ca)||po(Ca,!0,[Ca],fa.nativeEvent),(Uo=To==null?void 0:To.onChange)===null||Uo===void 0||Uo.call(To,fa)}})),checked:ga}}:ki=(Po,na,sa)=>{var Ca;const ga=Hr(na,sa),To=ci.has(ga),fa=oa.has(ga),Uo=eo.get(ga);let Ra;return Ur==="nest"?Ra=fa:Ra=(Ca=Uo==null?void 0:Uo.indeterminate)!==null&&Ca!==void 0?Ca:fa,{node:b.createElement(Co.default,Object.assign({},Uo,{indeterminate:Ra,checked:To,skipGroup:!0,onClick:Sa=>{var Va;Sa.stopPropagation(),(Va=Uo==null?void 0:Uo.onClick)===null||Va===void 0||Va.call(Uo,Sa)},onChange:Sa=>{var Va;const{nativeEvent:$a}=Sa,{shiftKey:Sl}=$a,ua=Do.findIndex(Ka=>Ka===ga),Jl=No.some(Ka=>Do.includes(Ka));if(Sl&&fr&&Jl){const Ka=$n(ua,Do,ci),hl=Array.from(ci);Fn==null||Fn(!To,hl.map(al=>Tr(al)),Ka.map(al=>Tr(al))),go(hl,"multiple")}else{const Ka=No;if(fr){const hl=To?(0,Zr._5)(Ka,ga):(0,Zr.L0)(Ka,ga);po(ga,!To,hl,$a)}else{const hl=(0,ji.S)([].concat((0,Wt.Z)(Ka),[ga]),!0,so,qo),{checkedKeys:al,halfCheckedKeys:ro}=hl;let Pi=al;if(To){const ya=new Set(al);ya.delete(ga),Pi=(0,ji.S)(Array.from(ya),{checked:!1,halfCheckedKeys:ro},so,qo).checkedKeys}po(ga,!To,Pi,$a)}}_n(To?null:ua),(Va=Uo==null?void 0:Uo.onChange)===null||Va===void 0||Va.call(Uo,Sa)}})),checked:To}};const Ui=(Po,na,sa)=>{const{node:Ca,checked:ga}=ki(Po,na,sa);return Hn?Hn(ga,na,sa,Ca):Ca};if(!Di.includes(Mo))if(Di.findIndex(Po=>{var na;return((na=Po[Ln])===null||na===void 0?void 0:na.columnType)==="EXPAND_COLUMN"})===0){const[Po,...na]=Di;Di=[Po,Mo].concat((0,Wt.Z)(na))}else Di=[Mo].concat((0,Wt.Z)(Di));const jo=Di.indexOf(Mo);Di=Di.filter((Po,na)=>Po!==Mo||na===jo);const $o=Di[jo-1],Xo=Di[jo+1];let Ea=ur;Ea===void 0&&((Xo==null?void 0:Xo.fixed)!==void 0?Ea=Xo.fixed:($o==null?void 0:$o.fixed)!==void 0&&(Ea=$o.fixed)),Ea&&$o&&((no=$o[Ln])===null||no===void 0?void 0:no.columnType)==="EXPAND_COLUMN"&&$o.fixed===void 0&&($o.fixed=Ea);const la=pe()(`${wr}-selection-col`,{[`${wr}-selection-col-with-dropdown`]:gn&&Cn==="checkbox"}),Na=()=>He!=null&&He.columnTitle?typeof He.columnTitle=="function"?He.columnTitle(ca):He.columnTitle:va,ia={fixed:Ea,width:Pn,className:`${wr}-selection-column`,title:Na(),render:Ui,onCell:He.onCell,[Ln]:{className:la}};return Di.map(Po=>Po===Mo?ia:Po)},[Hr,Kr,He,No,ra,oa,Pn,ma,Ur,eo,Fn,po,qo]),ra]},ea=E(2738);function ta(_e,He){return _e._antProxy=_e._antProxy||{},Object.keys(He).forEach(Ct=>{if(!(Ct in _e._antProxy)){const Pt=_e[Ct];_e._antProxy[Ct]=Pt,_e[Ct]=He[Ct]}}),_e}function Gi(_e,He){return(0,b.useImperativeHandle)(_e,()=>{const Ct=He(),{nativeElement:Pt}=Ct;return typeof Proxy!="undefined"?new Proxy(Pt,{get(Nt,_t){return Ct[_t]?Ct[_t]:Reflect.get(Nt,_t)}}):ta(Pt,Ct)})}var Wo=E(83010),Jo=E(48755),ho=E(38406),Zo=E(83397),Fo=E(31756),ka=E(13783),rl=E(85981),za=E(31709),Ba=E(29787),_l=E(57700);function jl(_e){return He=>{const{prefixCls:Ct,onExpand:Pt,record:Nt,expanded:_t,expandable:cn}=He,rn=`${Ct}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:pn=>{Pt(Nt,pn),pn.stopPropagation()},className:pe()(rn,{[`${rn}-spaced`]:!cn,[`${rn}-expanded`]:cn&&_t,[`${rn}-collapsed`]:cn&&!_t}),"aria-label":_t?_e.collapse:_e.expand,"aria-expanded":_t})}}var qi=jl;function xo(_e){return(Ct,Pt)=>{const Nt=Ct.querySelector(`.${_e}-container`);let _t=Pt;if(Nt){const cn=getComputedStyle(Nt),rn=parseInt(cn.borderLeftWidth,10),pn=parseInt(cn.borderRightWidth,10);_t=Pt-rn-pn}return _t}}const Xi=(_e,He)=>"key"in _e&&_e.key!==void 0&&_e.key!==null?_e.key:_e.dataIndex?Array.isArray(_e.dataIndex)?_e.dataIndex.join("."):_e.dataIndex:He;function to(_e,He){return He?`${He}-${_e}`:`${_e}`}const Lo=(_e,He)=>typeof _e=="function"?_e(He):_e,da=(_e,He)=>{const Ct=Lo(_e,He);return Object.prototype.toString.call(Ct)==="[object Object]"?"":Ct};var Cl={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"},Ya=Cl,Wa=E(7657),Pa=function(He,Ct){return b.createElement(Wa.Z,(0,Fe.Z)({},He,{ref:Ct,icon:Ya}))},pl=b.forwardRef(Pa),Al=pl,el=E(9981),Dl=E(40192);function Ao(_e){const He=b.useRef(_e),Ct=(0,Dl.Z)();return[()=>He.current,Pt=>{He.current=Pt,Ct()}]}var xl=E(7939),Vl=E(584),us=E(93041),ys=E(78857),il=E(18287),Zl=E(47472),vl=E(49397),Yl=_e=>{const{value:He,filterSearch:Ct,tablePrefixCls:Pt,locale:Nt,onChange:_t}=_e;return Ct?b.createElement("div",{className:`${Pt}-filter-dropdown-search`},b.createElement(vl.Z,{prefix:b.createElement(Zl.Z,null),placeholder:Nt.filterSearchPlaceholder,onChange:_t,value:He,htmlSize:1,className:`${Pt}-filter-dropdown-search-input`})):null},cs=E(10228);const ts=_e=>{const{keyCode:He}=_e;He===cs.Z.ENTER&&_e.stopPropagation()};var ds=b.forwardRef((_e,He)=>b.createElement("div",{className:_e.className,onClick:Ct=>Ct.stopPropagation(),onKeyDown:ts,ref:He},_e.children));function gl(_e){let He=[];return(_e||[]).forEach(Ct=>{let{value:Pt,children:Nt}=Ct;He.push(Pt),Nt&&(He=[].concat((0,Wt.Z)(He),(0,Wt.Z)(gl(Nt))))}),He}function Gl(_e){return _e.some(He=>{let{children:Ct}=He;return Ct})}function ns(_e,He){return typeof He=="string"||typeof He=="number"?He==null?void 0:He.toString().toLowerCase().includes(_e.trim().toLowerCase()):!1}function bs(_e){let{filters:He,prefixCls:Ct,filteredKeys:Pt,filterMultiple:Nt,searchValue:_t,filterSearch:cn}=_e;return He.map((rn,pn)=>{const vn=String(rn.value);if(rn.children)return{key:vn||pn,label:rn.text,popupClassName:`${Ct}-dropdown-submenu`,children:bs({filters:rn.children,prefixCls:Ct,filteredKeys:Pt,filterMultiple:Nt,searchValue:_t,filterSearch:cn})};const Tn=Nt?Co.default:Oo.ZP,Fn={key:rn.value!==void 0?vn:pn,label:b.createElement(b.Fragment,null,b.createElement(Tn,{checked:Pt.includes(vn)}),b.createElement("span",null,rn.text))};return _t.trim()?typeof cn=="function"?cn(_t,rn)?Fn:null:ns(_t,rn.text)?Fn:null:Fn})}function $l(_e){return _e||[]}var Cs=_e=>{var He,Ct,Pt,Nt;const{tablePrefixCls:_t,prefixCls:cn,column:rn,dropdownPrefixCls:pn,columnKey:vn,filterOnClose:Tn,filterMultiple:Fn,filterMode:Pn="menu",filterSearch:Cn=!1,filterState:gn,triggerFilter:ur,locale:Hn,children:vr,getPopupContainer:fr,rootClassName:wr}=_e,{filterResetToDefaultFilteredValue:yr,defaultFilteredValue:Er,filterDropdownProps:Tr={},filterDropdownOpen:Hr,filterDropdownVisible:Ur,onFilterDropdownVisibleChange:Ci,onFilterDropdownOpenChange:Sr}=rn,[br,Or]=b.useState(!1),$n=!!(gn&&(!((He=gn.filteredKeys)===null||He===void 0)&&He.length||gn.forceFiltered)),_n=ki=>{var Ui;Or(ki),(Ui=Tr.onOpenChange)===null||Ui===void 0||Ui.call(Tr,ki),Sr==null||Sr(ki),Ci==null||Ci(ki)},Fr=(Nt=(Pt=(Ct=Tr.open)!==null&&Ct!==void 0?Ct:Hr)!==null&&Pt!==void 0?Pt:Ur)!==null&&Nt!==void 0?Nt:br,jr=gn==null?void 0:gn.filteredKeys,[ei,Ei]=Ao($l(jr)),Kr=ki=>{let{selectedKeys:Ui}=ki;Ei(Ui)},so=(ki,Ui)=>{let{node:jo,checked:$o}=Ui;Kr(Fn?{selectedKeys:ki}:{selectedKeys:$o&&jo.key?[jo.key]:[]})};b.useEffect(()=>{br&&Kr({selectedKeys:$l(jr)})},[jr]);const[eo,qo]=b.useState([]),No=ki=>{qo(ki)},[Go,ra]=b.useState(""),oa=ki=>{const{value:Ui}=ki.target;ra(Ui)};b.useEffect(()=>{br||ra("")},[br]);const go=ki=>{const Ui=ki!=null&&ki.length?ki:null;if(Ui===null&&(!gn||!gn.filteredKeys)||(0,ye.Z)(Ui,gn==null?void 0:gn.filteredKeys,!0))return null;ur({column:rn,key:vn,filteredKeys:Ui})},po=()=>{_n(!1),go(ei())},ma=function(){let{confirm:ki,closeDropdown:Ui}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ki&&go([]),Ui&&_n(!1),ra(""),Ei(yr?(Er||[]).map(jo=>String(jo)):[])},pa=function(){let{closeDropdown:ki}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ki&&_n(!1),go(ei())},Ii=(ki,Ui)=>{Ui.source==="trigger"&&(ki&&jr!==void 0&&Ei($l(jr)),_n(ki),!ki&&!rn.filterDropdown&&Tn&&po())},no=pe()({[`${pn}-menu-without-submenu`]:!Gl(rn.filters||[])}),Di=ki=>{if(ki.target.checked){const Ui=gl(rn==null?void 0:rn.filters).map(jo=>String(jo));Ei(Ui)}else Ei([])},ci=ki=>{let{filters:Ui}=ki;return(Ui||[]).map((jo,$o)=>{const Xo=String(jo.value),Ea={title:jo.text,key:jo.value!==void 0?Xo:String($o)};return jo.children&&(Ea.children=ci({filters:jo.children})),Ea})},Do=ki=>{var Ui;return Object.assign(Object.assign({},ki),{text:ki.title,value:ki.key,children:((Ui=ki.children)===null||Ui===void 0?void 0:Ui.map(jo=>Do(jo)))||[]})};let zo;const{direction:aa,renderEmpty:Ho}=b.useContext(Jo.E_);if(typeof rn.filterDropdown=="function")zo=rn.filterDropdown({prefixCls:`${pn}-custom`,setSelectedKeys:ki=>Kr({selectedKeys:ki}),selectedKeys:ei(),confirm:pa,clearFilters:ma,filters:rn.filters,visible:Fr,close:()=>{_n(!1)}});else if(rn.filterDropdown)zo=rn.filterDropdown;else{const ki=ei()||[],Ui=()=>{var $o,Xo;const Ea=($o=Ho==null?void 0:Ho("Table.filter"))!==null&&$o!==void 0?$o:b.createElement(Vl.Z,{image:Vl.Z.PRESENTED_IMAGE_SIMPLE,description:Hn.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((rn.filters||[]).length===0)return Ea;if(Pn==="tree")return b.createElement(b.Fragment,null,b.createElement(Yl,{filterSearch:Cn,value:Go,onChange:oa,tablePrefixCls:_t,locale:Hn}),b.createElement("div",{className:`${_t}-filter-dropdown-tree`},Fn?b.createElement(Co.default,{checked:ki.length===gl(rn.filters).length,indeterminate:ki.length>0&&ki.length<gl(rn.filters).length,className:`${_t}-filter-dropdown-checkall`,onChange:Di},(Xo=Hn==null?void 0:Hn.filterCheckall)!==null&&Xo!==void 0?Xo:Hn==null?void 0:Hn.filterCheckAll):null,b.createElement(il.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Fn,checkStrictly:!Fn,className:`${pn}-menu`,onCheck:so,checkedKeys:ki,selectedKeys:ki,showIcon:!1,treeData:ci({filters:rn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Go.trim()?ia=>typeof Cn=="function"?Cn(Go,Do(ia)):ns(Go,ia.title):void 0})));const la=bs({filters:rn.filters||[],filterSearch:Cn,prefixCls:cn,filteredKeys:ei(),filterMultiple:Fn,searchValue:Go}),Na=la.every(ia=>ia===null);return b.createElement(b.Fragment,null,b.createElement(Yl,{filterSearch:Cn,value:Go,onChange:oa,tablePrefixCls:_t,locale:Hn}),Na?Ea:b.createElement(us.default,{selectable:!0,multiple:Fn,prefixCls:`${pn}-menu`,className:no,onSelect:Kr,onDeselect:Kr,selectedKeys:ki,getPopupContainer:fr,openKeys:eo,onOpenChange:No,items:la}))},jo=()=>yr?(0,ye.Z)((Er||[]).map($o=>String($o)),ki,!0):ki.length===0;zo=b.createElement(b.Fragment,null,Ui(),b.createElement("div",{className:`${cn}-dropdown-btns`},b.createElement(xl.ZP,{type:"link",size:"small",disabled:jo(),onClick:()=>ma()},Hn.filterReset),b.createElement(xl.ZP,{type:"primary",size:"small",onClick:po},Hn.filterConfirm)))}rn.filterDropdown&&(zo=b.createElement(ys.J,{selectable:void 0},zo)),zo=b.createElement(ds,{className:`${cn}-dropdown`},zo);const va=()=>{let ki;return typeof rn.filterIcon=="function"?ki=rn.filterIcon($n):rn.filterIcon?ki=rn.filterIcon:ki=b.createElement(Al,null),b.createElement("span",{role:"button",tabIndex:-1,className:pe()(`${cn}-trigger`,{active:$n}),onClick:Ui=>{Ui.stopPropagation()}},ki)},ca=(0,el.Z)({trigger:["click"],placement:aa==="rtl"?"bottomLeft":"bottomRight",children:va(),getPopupContainer:fr},Object.assign(Object.assign({},Tr),{rootClassName:pe()(wr,Tr.rootClassName),open:Fr,onOpenChange:Ii,dropdownRender:()=>typeof(Tr==null?void 0:Tr.dropdownRender)=="function"?Tr.dropdownRender(zo):zo}));return b.createElement("div",{className:`${cn}-column`},b.createElement("span",{className:`${_t}-column-title`},vr),b.createElement(ko.Z,Object.assign({},ca)))};const Kl=(_e,He,Ct)=>{let Pt=[];return(_e||[]).forEach((Nt,_t)=>{var cn;const rn=to(_t,Ct);if(Nt.filters||"filterDropdown"in Nt||"onFilter"in Nt)if("filteredValue"in Nt){let pn=Nt.filteredValue;"filterDropdown"in Nt||(pn=(cn=pn==null?void 0:pn.map(String))!==null&&cn!==void 0?cn:pn),Pt.push({column:Nt,key:Xi(Nt,rn),filteredKeys:pn,forceFiltered:Nt.filtered})}else Pt.push({column:Nt,key:Xi(Nt,rn),filteredKeys:He&&Nt.defaultFilteredValue?Nt.defaultFilteredValue:void 0,forceFiltered:Nt.filtered});"children"in Nt&&(Pt=[].concat((0,Wt.Z)(Pt),(0,Wt.Z)(Kl(Nt.children,He,rn))))}),Pt};function Ha(_e,He,Ct,Pt,Nt,_t,cn,rn,pn){return Ct.map((vn,Tn)=>{const Fn=to(Tn,rn),{filterOnClose:Pn=!0,filterMultiple:Cn=!0,filterMode:gn,filterSearch:ur}=vn;let Hn=vn;if(Hn.filters||Hn.filterDropdown){const vr=Xi(Hn,Fn),fr=Pt.find(wr=>{let{key:yr}=wr;return vr===yr});Hn=Object.assign(Object.assign({},Hn),{title:wr=>b.createElement(Cs,{tablePrefixCls:_e,prefixCls:`${_e}-filter`,dropdownPrefixCls:He,column:Hn,columnKey:vr,filterState:fr,filterOnClose:Pn,filterMultiple:Cn,filterMode:gn,filterSearch:ur,triggerFilter:_t,locale:Nt,getPopupContainer:cn,rootClassName:pn},Lo(vn.title,wr))})}return"children"in Hn&&(Hn=Object.assign(Object.assign({},Hn),{children:Ha(_e,He,Hn.children,Pt,Nt,_t,cn,Fn,pn)})),Hn})}const Ko=_e=>{const He={};return _e.forEach(Ct=>{let{key:Pt,filteredKeys:Nt,column:_t}=Ct;const cn=Pt,{filters:rn,filterDropdown:pn}=_t;if(pn)He[cn]=Nt||null;else if(Array.isArray(Nt)){const vn=gl(rn);He[cn]=vn.filter(Tn=>Nt.includes(String(Tn)))}else He[cn]=null}),He},Eo=(_e,He,Ct)=>He.reduce((Nt,_t)=>{const{column:{onFilter:cn,filters:rn},filteredKeys:pn}=_t;return cn&&pn&&pn.length?Nt.map(vn=>Object.assign({},vn)).filter(vn=>pn.some(Tn=>{const Fn=gl(rn),Pn=Fn.findIndex(gn=>String(gn)===String(Tn)),Cn=Pn!==-1?Fn[Pn]:Tn;return vn[Ct]&&(vn[Ct]=Eo(vn[Ct],He,Ct)),cn(Cn,vn)})):Nt},_e),Ma=_e=>_e.flatMap(He=>"children"in He?[He].concat((0,Wt.Z)(Ma(He.children||[]))):[He]);var Oa=_e=>{const{prefixCls:He,dropdownPrefixCls:Ct,mergedColumns:Pt,onFilterChange:Nt,getPopupContainer:_t,locale:cn,rootClassName:rn}=_e,pn=(0,wo.ln)("Table"),vn=b.useMemo(()=>Ma(Pt||[]),[Pt]),[Tn,Fn]=b.useState(()=>Kl(vn,!0)),Pn=b.useMemo(()=>{const Hn=Kl(vn,!1);if(Hn.length===0)return Hn;let vr=!0,fr=!0;if(Hn.forEach(wr=>{let{filteredKeys:yr}=wr;yr!==void 0?vr=!1:fr=!1}),vr){const wr=(vn||[]).map((yr,Er)=>Xi(yr,to(Er)));return Tn.filter(yr=>{let{key:Er}=yr;return wr.includes(Er)}).map(yr=>{const Er=vn[wr.findIndex(Tr=>Tr===yr.key)];return Object.assign(Object.assign({},yr),{column:Object.assign(Object.assign({},yr.column),Er),forceFiltered:Er.filtered})})}return Hn},[vn,Tn]),Cn=b.useMemo(()=>Ko(Pn),[Pn]),gn=Hn=>{const vr=Pn.filter(fr=>{let{key:wr}=fr;return wr!==Hn.key});vr.push(Hn),Fn(vr),Nt(Ko(vr),vr)};return[Hn=>Ha(He,Ct,Hn,Pn,cn,gn,_t,void 0,rn),Pn,Cn]},Pl=(_e,He,Ct)=>{const Pt=b.useRef({});function Nt(_t){var cn;if(!Pt.current||Pt.current.data!==_e||Pt.current.childrenColumnName!==He||Pt.current.getRowKey!==Ct){let pn=function(vn){vn.forEach((Tn,Fn)=>{const Pn=Ct(Tn,Fn);rn.set(Pn,Tn),Tn&&typeof Tn=="object"&&He in Tn&&pn(Tn[He]||[])})};const rn=new Map;pn(_e),Pt.current={data:_e,childrenColumnName:He,kvMap:rn,getRowKey:Ct}}return(cn=Pt.current.kvMap)===null||cn===void 0?void 0:cn.get(_t)}return[Nt]},El=function(_e,He){var Ct={};for(var Pt in _e)Object.prototype.hasOwnProperty.call(_e,Pt)&&He.indexOf(Pt)<0&&(Ct[Pt]=_e[Pt]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Pt=Object.getOwnPropertySymbols(_e);Nt<Pt.length;Nt++)He.indexOf(Pt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(_e,Pt[Nt])&&(Ct[Pt[Nt]]=_e[Pt[Nt]]);return Ct};const Tl=10;function ol(_e,He){const Ct={current:_e.current,pageSize:_e.pageSize};return Object.keys(He&&typeof He=="object"?He:{}).forEach(Nt=>{const _t=_e[Nt];typeof _t!="function"&&(Ct[Nt]=_t)}),Ct}function fl(_e,He,Ct){const Pt=Ct&&typeof Ct=="object"?Ct:{},{total:Nt=0}=Pt,_t=El(Pt,["total"]),[cn,rn]=(0,b.useState)(()=>({current:"defaultCurrent"in _t?_t.defaultCurrent:1,pageSize:"defaultPageSize"in _t?_t.defaultPageSize:Tl})),pn=(0,el.Z)(cn,_t,{total:Nt>0?Nt:_e}),vn=Math.ceil((Nt||_e)/pn.pageSize);pn.current>vn&&(pn.current=vn||1);const Tn=(Pn,Cn)=>{rn({current:Pn!=null?Pn:1,pageSize:Cn||pn.pageSize})},Fn=(Pn,Cn)=>{var gn;Ct&&((gn=Ct.onChange)===null||gn===void 0||gn.call(Ct,Pn,Cn)),Tn(Pn,Cn),He(Pn,Cn||(pn==null?void 0:pn.pageSize))};return Ct===!1?[{},()=>{}]:[Object.assign(Object.assign({},pn),{onChange:Fn}),Tn]}var Fl=fl,Ul=E(89489),Os=E(59477),Ms=E(25399);const rs="ascend",zl="descend",kl=_e=>typeof _e.sorter=="object"&&typeof _e.sorter.multiple=="number"?_e.sorter.multiple:!1,Ga=_e=>typeof _e=="function"?_e:_e&&typeof _e=="object"&&_e.compare?_e.compare:!1,Wl=(_e,He)=>He?_e[_e.indexOf(He)+1]:_e[0],Ll=(_e,He,Ct)=>{let Pt=[];const Nt=(_t,cn)=>{Pt.push({column:_t,key:Xi(_t,cn),multiplePriority:kl(_t),sortOrder:_t.sortOrder})};return(_e||[]).forEach((_t,cn)=>{const rn=to(cn,Ct);_t.children?("sortOrder"in _t&&Nt(_t,rn),Pt=[].concat((0,Wt.Z)(Pt),(0,Wt.Z)(Ll(_t.children,He,rn)))):_t.sorter&&("sortOrder"in _t?Nt(_t,rn):He&&_t.defaultSortOrder&&Pt.push({column:_t,key:Xi(_t,rn),multiplePriority:kl(_t),sortOrder:_t.defaultSortOrder}))}),Pt},xs=(_e,He,Ct,Pt,Nt,_t,cn,rn)=>(He||[]).map((vn,Tn)=>{const Fn=to(Tn,rn);let Pn=vn;if(Pn.sorter){const Cn=Pn.sortDirections||Nt,gn=Pn.showSorterTooltip===void 0?cn:Pn.showSorterTooltip,ur=Xi(Pn,Fn),Hn=Ct.find(Ci=>{let{key:Sr}=Ci;return Sr===ur}),vr=Hn?Hn.sortOrder:null,fr=Wl(Cn,vr);let wr;if(vn.sortIcon)wr=vn.sortIcon({sortOrder:vr});else{const Ci=Cn.includes(rs)&&b.createElement(Os.Z,{className:pe()(`${_e}-column-sorter-up`,{active:vr===rs})}),Sr=Cn.includes(zl)&&b.createElement(Ul.Z,{className:pe()(`${_e}-column-sorter-down`,{active:vr===zl})});wr=b.createElement("span",{className:pe()(`${_e}-column-sorter`,{[`${_e}-column-sorter-full`]:!!(Ci&&Sr)})},b.createElement("span",{className:`${_e}-column-sorter-inner`,"aria-hidden":"true"},Ci,Sr))}const{cancelSort:yr,triggerAsc:Er,triggerDesc:Tr}=_t||{};let Hr=yr;fr===zl?Hr=Tr:fr===rs&&(Hr=Er);const Ur=typeof gn=="object"?Object.assign({title:Hr},gn):{title:Hr};Pn=Object.assign(Object.assign({},Pn),{className:pe()(Pn.className,{[`${_e}-column-sort`]:vr}),title:Ci=>{const Sr=`${_e}-column-sorters`,br=b.createElement("span",{className:`${_e}-column-title`},Lo(vn.title,Ci)),Or=b.createElement("div",{className:Sr},br,wr);return gn?typeof gn!="boolean"&&(gn==null?void 0:gn.target)==="sorter-icon"?b.createElement("div",{className:`${Sr} ${_e}-column-sorters-tooltip-target-sorter`},br,b.createElement(Ms.Z,Object.assign({},Ur),wr)):b.createElement(Ms.Z,Object.assign({},Ur),Or):Or},onHeaderCell:Ci=>{var Sr;const br=((Sr=vn.onHeaderCell)===null||Sr===void 0?void 0:Sr.call(vn,Ci))||{},Or=br.onClick,$n=br.onKeyDown;br.onClick=jr=>{Pt({column:vn,key:ur,sortOrder:fr,multiplePriority:kl(vn)}),Or==null||Or(jr)},br.onKeyDown=jr=>{jr.keyCode===cs.Z.ENTER&&(Pt({column:vn,key:ur,sortOrder:fr,multiplePriority:kl(vn)}),$n==null||$n(jr))};const _n=da(vn.title,{}),Fr=_n==null?void 0:_n.toString();return vr&&(br["aria-sort"]=vr==="ascend"?"ascending":"descending"),br["aria-label"]=Fr||"",br.className=pe()(br.className,`${_e}-column-has-sorters`),br.tabIndex=0,vn.ellipsis&&(br.title=(_n!=null?_n:"").toString()),br}})}return"children"in Pn&&(Pn=Object.assign(Object.assign({},Pn),{children:xs(_e,Pn.children,Ct,Pt,Nt,_t,cn,Fn)})),Pn}),Vs=_e=>{const{column:He,sortOrder:Ct}=_e;return{column:He,order:Ct,field:He.dataIndex,columnKey:He.key}},Es=_e=>{const He=_e.filter(Ct=>{let{sortOrder:Pt}=Ct;return Pt}).map(Vs);if(He.length===0&&_e.length){const Ct=_e.length-1;return Object.assign(Object.assign({},Vs(_e[Ct])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return He.length<=1?He[0]||{}:He},Xl=(_e,He,Ct)=>{const Pt=He.slice().sort((cn,rn)=>rn.multiplePriority-cn.multiplePriority),Nt=_e.slice(),_t=Pt.filter(cn=>{let{column:{sorter:rn},sortOrder:pn}=cn;return Ga(rn)&&pn});return _t.length?Nt.sort((cn,rn)=>{for(let pn=0;pn<_t.length;pn+=1){const vn=_t[pn],{column:{sorter:Tn},sortOrder:Fn}=vn,Pn=Ga(Tn);if(Pn&&Fn){const Cn=Pn(cn,rn,Fn);if(Cn!==0)return Fn===rs?Cn:-Cn}}return 0}).map(cn=>{const rn=cn[Ct];return rn?Object.assign(Object.assign({},cn),{[Ct]:Xl(rn,He,Ct)}):cn}):Nt};var Ks=_e=>{const{prefixCls:He,mergedColumns:Ct,sortDirections:Pt,tableLocale:Nt,showSorterTooltip:_t,onSorterChange:cn}=_e,[rn,pn]=b.useState(Ll(Ct,!0)),vn=(ur,Hn)=>{const vr=[];return ur.forEach((fr,wr)=>{const yr=to(wr,Hn);if(vr.push(Xi(fr,yr)),Array.isArray(fr.children)){const Er=vn(fr.children,yr);vr.push.apply(vr,(0,Wt.Z)(Er))}}),vr},Tn=b.useMemo(()=>{let ur=!0;const Hn=Ll(Ct,!1);if(!Hn.length){const yr=vn(Ct);return rn.filter(Er=>{let{key:Tr}=Er;return yr.includes(Tr)})}const vr=[];function fr(yr){ur?vr.push(yr):vr.push(Object.assign(Object.assign({},yr),{sortOrder:null}))}let wr=null;return Hn.forEach(yr=>{wr===null?(fr(yr),yr.sortOrder&&(yr.multiplePriority===!1?ur=!1:wr=!0)):(wr&&yr.multiplePriority!==!1||(ur=!1),fr(yr))}),vr},[Ct,rn]),Fn=b.useMemo(()=>{var ur,Hn;const vr=Tn.map(fr=>{let{column:wr,sortOrder:yr}=fr;return{column:wr,order:yr}});return{sortColumns:vr,sortColumn:(ur=vr[0])===null||ur===void 0?void 0:ur.column,sortOrder:(Hn=vr[0])===null||Hn===void 0?void 0:Hn.order}},[Tn]),Pn=ur=>{let Hn;ur.multiplePriority===!1||!Tn.length||Tn[0].multiplePriority===!1?Hn=[ur]:Hn=[].concat((0,Wt.Z)(Tn.filter(vr=>{let{key:fr}=vr;return fr!==ur.key})),[ur]),pn(Hn),cn(Es(Hn),Hn)};return[ur=>xs(He,ur,Tn,Pn,Pt,Nt,_t),Tn,Fn,()=>Es(Tn)]};const hs=(_e,He)=>_e.map(Pt=>{const Nt=Object.assign({},Pt);return Nt.title=Lo(Pt.title,He),"children"in Nt&&(Nt.children=hs(Nt.children,He)),Nt});var Ts=_e=>[b.useCallback(Ct=>hs(Ct,_e),[_e])],ks=Ri((_e,He)=>{const{_renderTimes:Ct}=_e,{_renderTimes:Pt}=He;return Ct!==Pt}),is=lr((_e,He)=>{const{_renderTimes:Ct}=_e,{_renderTimes:Pt}=He;return Ct!==Pt}),Qi=E(36237),os=E(17835),me=E(63356),Xe=E(16931),mt=E(51636),Bt=_e=>{const{componentCls:He,lineWidth:Ct,lineType:Pt,tableBorderColor:Nt,tableHeaderBg:_t,tablePaddingVertical:cn,tablePaddingHorizontal:rn,calc:pn}=_e,vn=`${(0,Qi.unit)(Ct)} ${Pt} ${Nt}`,Tn=(Fn,Pn,Cn)=>({[`&${He}-${Fn}`]:{[`> ${He}-container`]:{[`> ${He}-content, > ${He}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${He}-expanded-row-fixed`]:{margin:`${(0,Qi.unit)(pn(Pn).mul(-1).equal())}
|
|
|
${(0,Qi.unit)(pn(pn(Cn).add(Ct)).mul(-1).equal())}`}}}}}});return{[`${He}-wrapper`]:{[`${He}${He}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${He}-title`]:{border:vn,borderBottom:0},[`> ${He}-container`]:{borderInlineStart:vn,borderTop:vn,[`
|
|
|
> ${He}-content,
|
|
|
> ${He}-header,
|
|
|
> ${He}-body,
|
|
|
> ${He}-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:vn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:vn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${He}-cell-fix-right-first::after`]:{borderInlineEnd:vn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${He}-expanded-row-fixed`]:{margin:`${(0,Qi.unit)(pn(cn).mul(-1).equal())} ${(0,Qi.unit)(pn(pn(rn).add(Ct)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ct,bottom:0,borderInlineEnd:vn,content:'""'}}}}}},[`&${He}-scroll-horizontal`]:{[`> ${He}-container > ${He}-body`]:{"> table > tbody":{[`
|
|
|
> tr${He}-expanded-row,
|
|
|
> tr${He}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Tn("middle",_e.tablePaddingVerticalMiddle,_e.tablePaddingHorizontalMiddle)),Tn("small",_e.tablePaddingVerticalSmall,_e.tablePaddingHorizontalSmall)),{[`> ${He}-footer`]:{border:vn,borderTop:0}}),[`${He}-cell`]:{[`${He}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Qi.unit)(Ct)} 0 ${(0,Qi.unit)(Ct)} ${_t}`}},[`${He}-bordered ${He}-cell-scrollbar`]:{borderInlineEnd:vn}}}},bn=_e=>{const{componentCls:He}=_e;return{[`${He}-wrapper`]:{[`${He}-cell-ellipsis`]:Object.assign(Object.assign({},me.vS),{wordBreak:"keep-all",[`
|
|
|
&${He}-cell-fix-left-last,
|
|
|
&${He}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${He}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${He}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zn=_e=>{const{componentCls:He}=_e;return{[`${He}-wrapper`]:{[`${He}-tbody > tr${He}-placeholder`]:{textAlign:"center",color:_e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:_e.colorBgContainer}}}}},Dn=_e=>{const{componentCls:He,antCls:Ct,motionDurationSlow:Pt,lineWidth:Nt,paddingXS:_t,lineType:cn,tableBorderColor:rn,tableExpandIconBg:pn,tableExpandColumnWidth:vn,borderRadius:Tn,tablePaddingVertical:Fn,tablePaddingHorizontal:Pn,tableExpandedRowBg:Cn,paddingXXS:gn,expandIconMarginTop:ur,expandIconSize:Hn,expandIconHalfInner:vr,expandIconScale:fr,calc:wr}=_e,yr=`${(0,Qi.unit)(Nt)} ${cn} ${rn}`,Er=wr(gn).sub(Nt).equal();return{[`${He}-wrapper`]:{[`${He}-expand-icon-col`]:{width:vn},[`${He}-row-expand-icon-cell`]:{textAlign:"center",[`${He}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${He}-row-indent`]:{height:1,float:"left"},[`${He}-row-expand-icon`]:Object.assign(Object.assign({},(0,me.Nd)(_e)),{position:"relative",float:"left",width:Hn,height:Hn,color:"inherit",lineHeight:(0,Qi.unit)(Hn),background:pn,border:yr,borderRadius:Tn,transform:`scale(${fr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Pt} ease-out`,content:'""'},"&::before":{top:vr,insetInlineEnd:Er,insetInlineStart:Er,height:Nt},"&::after":{top:Er,bottom:Er,insetInlineStart:vr,width:Nt,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"}}),[`${He}-row-indent + ${He}-row-expand-icon`]:{marginTop:ur,marginInlineEnd:_t},[`tr${He}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Cn}},[`${Ct}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${He}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Qi.unit)(wr(Fn).mul(-1).equal())} ${(0,Qi.unit)(wr(Pn).mul(-1).equal())}`,padding:`${(0,Qi.unit)(Fn)} ${(0,Qi.unit)(Pn)}`}}}},sr=_e=>{const{componentCls:He,antCls:Ct,iconCls:Pt,tableFilterDropdownWidth:Nt,tableFilterDropdownSearchWidth:_t,paddingXXS:cn,paddingXS:rn,colorText:pn,lineWidth:vn,lineType:Tn,tableBorderColor:Fn,headerIconColor:Pn,fontSizeSM:Cn,tablePaddingHorizontal:gn,borderRadius:ur,motionDurationSlow:Hn,colorTextDescription:vr,colorPrimary:fr,tableHeaderFilterActiveBg:wr,colorTextDisabled:yr,tableFilterDropdownBg:Er,tableFilterDropdownHeight:Tr,controlItemBgHover:Hr,controlItemBgActive:Ur,boxShadowSecondary:Ci,filterDropdownMenuBg:Sr,calc:br}=_e,Or=`${Ct}-dropdown`,$n=`${He}-filter-dropdown`,_n=`${Ct}-tree`,Fr=`${(0,Qi.unit)(vn)} ${Tn} ${Fn}`;return[{[`${He}-wrapper`]:{[`${He}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${He}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:br(cn).mul(-1).equal(),marginInline:`${(0,Qi.unit)(cn)} ${(0,Qi.unit)(br(gn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Qi.unit)(cn)}`,color:Pn,fontSize:Cn,borderRadius:ur,cursor:"pointer",transition:`all ${Hn}`,"&:hover":{color:vr,background:wr},"&.active":{color:fr}}}},{[`${Ct}-dropdown`]:{[$n]:Object.assign(Object.assign({},(0,me.Wf)(_e)),{minWidth:Nt,backgroundColor:Er,borderRadius:ur,boxShadow:Ci,overflow:"hidden",[`${Or}-menu`]:{maxHeight:Tr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Sr,"&:empty::after":{display:"block",padding:`${(0,Qi.unit)(rn)} 0`,color:yr,fontSize:Cn,textAlign:"center",content:'"Not Found"'}},[`${$n}-tree`]:{paddingBlock:`${(0,Qi.unit)(rn)} 0`,paddingInline:rn,[_n]:{padding:0},[`${_n}-treenode ${_n}-node-content-wrapper:hover`]:{backgroundColor:Hr},[`${_n}-treenode-checkbox-checked ${_n}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ur}}},[`${$n}-search`]:{padding:rn,borderBottom:Fr,"&-input":{input:{minWidth:_t},[Pt]:{color:yr}}},[`${$n}-checkall`]:{width:"100%",marginBottom:cn,marginInlineStart:cn},[`${$n}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Qi.unit)(br(rn).sub(vn).equal())} ${(0,Qi.unit)(rn)}`,overflow:"hidden",borderTop:Fr}})}},{[`${Ct}-dropdown ${$n}, ${$n}-submenu`]:{[`${Ct}-checkbox-wrapper + span`]:{paddingInlineStart:rn,color:pn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},er=_e=>{const{componentCls:He,lineWidth:Ct,colorSplit:Pt,motionDurationSlow:Nt,zIndexTableFixed:_t,tableBg:cn,zIndexTableSticky:rn,calc:pn}=_e,vn=Pt;return{[`${He}-wrapper`]:{[`
|
|
|
${He}-cell-fix-left,
|
|
|
${He}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:_t,background:cn},[`
|
|
|
${He}-cell-fix-left-first::after,
|
|
|
${He}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:pn(Ct).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},[`${He}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${He}-cell-fix-right-first::after,
|
|
|
${He}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:pn(Ct).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},[`${He}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:pn(rn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Nt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${He}-ping-left`]:{[`&:not(${He}-has-fix-left) ${He}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${vn}`},[`
|
|
|
${He}-cell-fix-left-first::after,
|
|
|
${He}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${vn}`},[`${He}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${He}-ping-right`]:{[`&:not(${He}-has-fix-right) ${He}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${vn}`},[`
|
|
|
${He}-cell-fix-right-first::after,
|
|
|
${He}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${vn}`}},[`${He}-fixed-column-gapped`]:{[`
|
|
|
${He}-cell-fix-left-first::after,
|
|
|
${He}-cell-fix-left-last::after,
|
|
|
${He}-cell-fix-right-first::after,
|
|
|
${He}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},hr=_e=>{const{componentCls:He,antCls:Ct,margin:Pt}=_e;return{[`${He}-wrapper`]:{[`${He}-pagination${Ct}-pagination`]:{margin:`${(0,Qi.unit)(Pt)} 0`},[`${He}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:_e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},_r=_e=>{const{componentCls:He,tableRadius:Ct}=_e;return{[`${He}-wrapper`]:{[He]:{[`${He}-title, ${He}-header`]:{borderRadius:`${(0,Qi.unit)(Ct)} ${(0,Qi.unit)(Ct)} 0 0`},[`${He}-title + ${He}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${He}-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:Ct,borderStartEndRadius:Ct,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ct},"> *:last-child":{borderStartEndRadius:Ct}}},"&-footer":{borderRadius:`0 0 ${(0,Qi.unit)(Ct)} ${(0,Qi.unit)(Ct)}`}}}}},xr=_e=>{const{componentCls:He}=_e;return{[`${He}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${He}-pagination-left`]:{justifyContent:"flex-end"},[`${He}-pagination-right`]:{justifyContent:"flex-start"},[`${He}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${He}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${He}-row-indent`]:{float:"right"}}}}},Br=_e=>{const{componentCls:He,antCls:Ct,iconCls:Pt,fontSizeIcon:Nt,padding:_t,paddingXS:cn,headerIconColor:rn,headerIconHoverColor:pn,tableSelectionColumnWidth:vn,tableSelectedRowBg:Tn,tableSelectedRowHoverBg:Fn,tableRowHoverBg:Pn,tablePaddingHorizontal:Cn,calc:gn}=_e;return{[`${He}-wrapper`]:{[`${He}-selection-col`]:{width:vn,[`&${He}-selection-col-with-dropdown`]:{width:gn(vn).add(Nt).add(gn(_t).div(4)).equal()}},[`${He}-bordered ${He}-selection-col`]:{width:gn(vn).add(gn(cn).mul(2)).equal(),[`&${He}-selection-col-with-dropdown`]:{width:gn(vn).add(Nt).add(gn(_t).div(4)).add(gn(cn).mul(2)).equal()}},[`
|
|
|
table tr th${He}-selection-column,
|
|
|
table tr td${He}-selection-column,
|
|
|
${He}-selection-column
|
|
|
`]:{paddingInlineEnd:_e.paddingXS,paddingInlineStart:_e.paddingXS,textAlign:"center",[`${Ct}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${He}-selection-column${He}-cell-fix-left`]:{zIndex:gn(_e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${He}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${He}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${He}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${_e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Qi.unit)(gn(Cn).div(4).equal()),[Pt]:{color:rn,fontSize:Nt,verticalAlign:"baseline","&:hover":{color:pn}}},[`${He}-tbody`]:{[`${He}-row`]:{[`&${He}-row-selected`]:{[`> ${He}-cell`]:{background:Tn,"&-row-hover":{background:Fn}}},[`> ${He}-cell-row-hover`]:{background:Pn}}}}}},Bi=_e=>{const{componentCls:He,tableExpandColumnWidth:Ct,calc:Pt}=_e,Nt=(_t,cn,rn,pn)=>({[`${He}${He}-${_t}`]:{fontSize:pn,[`
|
|
|
${He}-title,
|
|
|
${He}-footer,
|
|
|
${He}-cell,
|
|
|
${He}-thead > tr > th,
|
|
|
${He}-tbody > tr > th,
|
|
|
${He}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,Qi.unit)(cn)} ${(0,Qi.unit)(rn)}`},[`${He}-filter-trigger`]:{marginInlineEnd:(0,Qi.unit)(Pt(rn).div(2).mul(-1).equal())},[`${He}-expanded-row-fixed`]:{margin:`${(0,Qi.unit)(Pt(cn).mul(-1).equal())} ${(0,Qi.unit)(Pt(rn).mul(-1).equal())}`},[`${He}-tbody`]:{[`${He}-wrapper:only-child ${He}`]:{marginBlock:(0,Qi.unit)(Pt(cn).mul(-1).equal()),marginInline:`${(0,Qi.unit)(Pt(Ct).sub(rn).equal())} ${(0,Qi.unit)(Pt(rn).mul(-1).equal())}`}},[`${He}-selection-extra`]:{paddingInlineStart:(0,Qi.unit)(Pt(rn).div(4).equal())}}});return{[`${He}-wrapper`]:Object.assign(Object.assign({},Nt("middle",_e.tablePaddingVerticalMiddle,_e.tablePaddingHorizontalMiddle,_e.tableFontSizeMiddle)),Nt("small",_e.tablePaddingVerticalSmall,_e.tablePaddingHorizontalSmall,_e.tableFontSizeSmall))}},yi=_e=>{const{componentCls:He,marginXXS:Ct,fontSizeIcon:Pt,headerIconColor:Nt,headerIconHoverColor:_t}=_e;return{[`${He}-wrapper`]:{[`${He}-thead th${He}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${_e.motionDurationSlow}, left 0s`,"&:hover":{background:_e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:_e.colorPrimary},[`
|
|
|
&${He}-cell-fix-left:hover,
|
|
|
&${He}-cell-fix-right:hover
|
|
|
`]:{background:_e.tableFixedHeaderSortActiveBg}},[`${He}-thead th${He}-column-sort`]:{background:_e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${He}-column-sort`]:{background:_e.tableBodySortBg},[`${He}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${He}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${He}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${He}-column-sorter`]:{marginInlineStart:Ct,color:Nt,fontSize:0,transition:`color ${_e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Pt,"&.active":{color:_e.colorPrimary}},[`${He}-column-sorter-up + ${He}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${He}-column-sorters:hover ${He}-column-sorter`]:{color:_t}}}},Li=_e=>{const{componentCls:He,opacityLoading:Ct,tableScrollThumbBg:Pt,tableScrollThumbBgHover:Nt,tableScrollThumbSize:_t,tableScrollBg:cn,zIndexTableSticky:rn,stickyScrollBarBorderRadius:pn,lineWidth:vn,lineType:Tn,tableBorderColor:Fn}=_e,Pn=`${(0,Qi.unit)(vn)} ${Tn} ${Fn}`;return{[`${He}-wrapper`]:{[`${He}-sticky`]:{"&-holder":{position:"sticky",zIndex:rn,background:_e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Qi.unit)(_t)} !important`,zIndex:rn,display:"flex",alignItems:"center",background:cn,borderTop:Pn,opacity:Ct,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:_t,backgroundColor:Pt,borderRadius:pn,transition:`all ${_e.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Nt}}}}}}},ii=_e=>{const{componentCls:He,lineWidth:Ct,tableBorderColor:Pt,calc:Nt}=_e,_t=`${(0,Qi.unit)(Ct)} ${_e.lineType} ${Pt}`;return{[`${He}-wrapper`]:{[`${He}-summary`]:{position:"relative",zIndex:_e.zIndexTableFixed,background:_e.tableBg,"> tr":{"> th, > td":{borderBottom:_t}}},[`div${He}-summary`]:{boxShadow:`0 ${(0,Qi.unit)(Nt(Ct).mul(-1).equal())} 0 ${Pt}`}}}},si=_e=>{const{componentCls:He,motionDurationMid:Ct,lineWidth:Pt,lineType:Nt,tableBorderColor:_t,calc:cn}=_e,rn=`${(0,Qi.unit)(Pt)} ${Nt} ${_t}`,pn=`${He}-expanded-row-cell`;return{[`${He}-wrapper`]:{[`${He}-tbody-virtual`]:{[`${He}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${He}-row,
|
|
|
& > div:not(${He}-row) > ${He}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${He}-cell`]:{borderBottom:rn,transition:`background ${Ct}`},[`${He}-expanded-row`]:{[`${pn}${pn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Qi.unit)(Pt)})`,borderInlineEnd:"none"}}},[`${He}-bordered`]:{[`${He}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:rn,position:"absolute"},[`${He}-cell`]:{borderInlineEnd:rn,[`&${He}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:cn(Pt).mul(-1).equal(),borderInlineStart:rn}}},[`&${He}-virtual`]:{[`${He}-placeholder ${He}-cell`]:{borderInlineEnd:rn,borderBottom:rn}}}}}};const li=_e=>{const{componentCls:He,fontWeightStrong:Ct,tablePaddingVertical:Pt,tablePaddingHorizontal:Nt,tableExpandColumnWidth:_t,lineWidth:cn,lineType:rn,tableBorderColor:pn,tableFontSize:vn,tableBg:Tn,tableRadius:Fn,tableHeaderTextColor:Pn,motionDurationMid:Cn,tableHeaderBg:gn,tableHeaderCellSplitColor:ur,tableFooterTextColor:Hn,tableFooterBg:vr,calc:fr}=_e,wr=`${(0,Qi.unit)(cn)} ${rn} ${pn}`;return{[`${He}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,me.dF)()),{[He]:Object.assign(Object.assign({},(0,me.Wf)(_e)),{fontSize:vn,background:Tn,borderRadius:`${(0,Qi.unit)(Fn)} ${(0,Qi.unit)(Fn)} 0 0`,scrollbarColor:`${_e.tableScrollThumbBg} ${_e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Qi.unit)(Fn)} ${(0,Qi.unit)(Fn)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${He}-cell,
|
|
|
${He}-thead > tr > th,
|
|
|
${He}-tbody > tr > th,
|
|
|
${He}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,Qi.unit)(Pt)} ${(0,Qi.unit)(Nt)}`,overflowWrap:"break-word"},[`${He}-title`]:{padding:`${(0,Qi.unit)(Pt)} ${(0,Qi.unit)(Nt)}`},[`${He}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Pn,fontWeight:Ct,textAlign:"start",background:gn,borderBottom:wr,transition:`background ${Cn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${He}-selection-column):not(${He}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ur,transform:"translateY(-50%)",transition:`background-color ${Cn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${He}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Cn}, border-color ${Cn}`,borderBottom:wr,[`
|
|
|
> ${He}-wrapper:only-child,
|
|
|
> ${He}-expanded-row-fixed > ${He}-wrapper:only-child
|
|
|
`]:{[He]:{marginBlock:(0,Qi.unit)(fr(Pt).mul(-1).equal()),marginInline:`${(0,Qi.unit)(fr(_t).sub(Nt).equal())}
|
|
|
${(0,Qi.unit)(fr(Nt).mul(-1).equal())}`,[`${He}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Pn,fontWeight:Ct,textAlign:"start",background:gn,borderBottom:wr,transition:`background ${Cn} ease`}}},[`${He}-footer`]:{padding:`${(0,Qi.unit)(Pt)} ${(0,Qi.unit)(Nt)}`,color:Hn,background:vr}})}},Vi=_e=>{const{colorFillAlter:He,colorBgContainer:Ct,colorTextHeading:Pt,colorFillSecondary:Nt,colorFillContent:_t,controlItemBgActive:cn,controlItemBgActiveHover:rn,padding:pn,paddingSM:vn,paddingXS:Tn,colorBorderSecondary:Fn,borderRadiusLG:Pn,controlHeight:Cn,colorTextPlaceholder:gn,fontSize:ur,fontSizeSM:Hn,lineHeight:vr,lineWidth:fr,colorIcon:wr,colorIconHover:yr,opacityLoading:Er,controlInteractiveSize:Tr}=_e,Hr=new os.FastColor(Nt).onBackground(Ct).toHexString(),Ur=new os.FastColor(_t).onBackground(Ct).toHexString(),Ci=new os.FastColor(He).onBackground(Ct).toHexString(),Sr=new os.FastColor(wr),br=new os.FastColor(yr),Or=Tr/2-fr,$n=Or*2+fr*3;return{headerBg:Ci,headerColor:Pt,headerSortActiveBg:Hr,headerSortHoverBg:Ur,bodySortBg:Ci,rowHoverBg:Ci,rowSelectedBg:cn,rowSelectedHoverBg:rn,rowExpandedBg:He,cellPaddingBlock:pn,cellPaddingInline:pn,cellPaddingBlockMD:vn,cellPaddingInlineMD:Tn,cellPaddingBlockSM:Tn,cellPaddingInlineSM:Tn,borderColor:Fn,headerBorderRadius:Pn,footerBg:Ci,footerColor:Pt,cellFontSize:ur,cellFontSizeMD:ur,cellFontSizeSM:ur,headerSplitColor:Fn,fixedHeaderSortActiveBg:Hr,headerFilterHoverBg:_t,filterDropdownMenuBg:Ct,filterDropdownBg:Ct,expandIconBg:Ct,selectionColumnWidth:Cn,stickyScrollBarBg:gn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(ur*vr-fr*3)/2-Math.ceil((Hn*1.4-fr*3)/2),headerIconColor:Sr.clone().setA(Sr.a*Er).toRgbString(),headerIconHoverColor:br.clone().setA(br.a*Er).toRgbString(),expandIconHalfInner:Or,expandIconSize:$n,expandIconScale:Tr/$n}},Ni=2;var vi=(0,Xe.I$)("Table",_e=>{const{colorTextHeading:He,colorSplit:Ct,colorBgContainer:Pt,controlInteractiveSize:Nt,headerBg:_t,headerColor:cn,headerSortActiveBg:rn,headerSortHoverBg:pn,bodySortBg:vn,rowHoverBg:Tn,rowSelectedBg:Fn,rowSelectedHoverBg:Pn,rowExpandedBg:Cn,cellPaddingBlock:gn,cellPaddingInline:ur,cellPaddingBlockMD:Hn,cellPaddingInlineMD:vr,cellPaddingBlockSM:fr,cellPaddingInlineSM:wr,borderColor:yr,footerBg:Er,footerColor:Tr,headerBorderRadius:Hr,cellFontSize:Ur,cellFontSizeMD:Ci,cellFontSizeSM:Sr,headerSplitColor:br,fixedHeaderSortActiveBg:Or,headerFilterHoverBg:$n,filterDropdownBg:_n,expandIconBg:Fr,selectionColumnWidth:jr,stickyScrollBarBg:ei,calc:Ei}=_e,Kr=(0,mt.mergeToken)(_e,{tableFontSize:Ur,tableBg:Pt,tableRadius:Hr,tablePaddingVertical:gn,tablePaddingHorizontal:ur,tablePaddingVerticalMiddle:Hn,tablePaddingHorizontalMiddle:vr,tablePaddingVerticalSmall:fr,tablePaddingHorizontalSmall:wr,tableBorderColor:yr,tableHeaderTextColor:cn,tableHeaderBg:_t,tableFooterTextColor:Tr,tableFooterBg:Er,tableHeaderCellSplitColor:br,tableHeaderSortBg:rn,tableHeaderSortHoverBg:pn,tableBodySortBg:vn,tableFixedHeaderSortActiveBg:Or,tableHeaderFilterActiveBg:$n,tableFilterDropdownBg:_n,tableRowHoverBg:Tn,tableSelectedRowBg:Fn,tableSelectedRowHoverBg:Pn,zIndexTableFixed:Ni,zIndexTableSticky:Ei(Ni).add(1).equal({unit:!1}),tableFontSizeMiddle:Ci,tableFontSizeSmall:Sr,tableSelectionColumnWidth:jr,tableExpandIconBg:Fr,tableExpandColumnWidth:Ei(Nt).add(Ei(_e.padding).mul(2)).equal(),tableExpandedRowBg:Cn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ei,tableScrollThumbBgHover:He,tableScrollBg:Ct});return[li(Kr),hr(Kr),ii(Kr),yi(Kr),sr(Kr),Bt(Kr),_r(Kr),Dn(Kr),ii(Kr),Zn(Kr),Br(Kr),er(Kr),Li(Kr),bn(Kr),Bi(Kr),xr(Kr),si(Kr)]},Vi,{unitless:{expandIconScale:!0}});const Si=[],oi=(_e,He)=>{var Ct,Pt;const{prefixCls:Nt,className:_t,rootClassName:cn,style:rn,size:pn,bordered:vn,dropdownPrefixCls:Tn,dataSource:Fn,pagination:Pn,rowSelection:Cn,rowKey:gn="key",rowClassName:ur,columns:Hn,children:vr,childrenColumnName:fr,onChange:wr,getPopupContainer:yr,loading:Er,expandIcon:Tr,expandable:Hr,expandedRowRender:Ur,expandIconColumnIndex:Ci,indentSize:Sr,scroll:br,sortDirections:Or,locale:$n,showSorterTooltip:_n={target:"full-header"},virtual:Fr}=_e,jr=(0,wo.ln)("Table"),ei=b.useMemo(()=>Hn||En(vr),[Hn,vr]),Ei=b.useMemo(()=>ei.some(ui=>ui.responsive),[ei]),Kr=(0,ka.Z)(Ei),so=b.useMemo(()=>{const ui=new Set(Object.keys(Kr).filter(_i=>Kr[_i]));return ei.filter(_i=>!_i.responsive||_i.responsive.some(Io=>ui.has(Io)))},[ei,Kr]),eo=(0,ea.Z)(_e,["className","style","columns"]),{locale:qo=rl.Z,direction:No,table:Go,renderEmpty:ra,getPrefixCls:oa,getPopupContainer:go}=b.useContext(Jo.E_),po=(0,Fo.Z)(pn),ma=Object.assign(Object.assign({},qo.Table),$n),pa=Fn||Si,Ii=oa("table",Nt),no=oa("dropdown",Tn),[,Di]=(0,_l.ZP)(),ci=(0,Zo.Z)(Ii),[Do,zo,aa]=vi(Ii,ci),Ho=Object.assign(Object.assign({childrenColumnName:fr,expandIconColumnIndex:Ci},Hr),{expandIcon:(Ct=Hr==null?void 0:Hr.expandIcon)!==null&&Ct!==void 0?Ct:(Pt=Go==null?void 0:Go.expandable)===null||Pt===void 0?void 0:Pt.expandIcon}),{childrenColumnName:va="children"}=Ho,ca=b.useMemo(()=>pa.some(ui=>ui==null?void 0:ui[va])?"nest":Ur||Hr!=null&&Hr.expandedRowRender?"row":null,[pa]),ki={body:b.useRef(null)},Ui=xo(Ii),jo=b.useRef(null),$o=b.useRef(null);Gi(He,()=>Object.assign(Object.assign({},$o.current),{nativeElement:jo.current}));const Xo=b.useMemo(()=>typeof gn=="function"?gn:ui=>ui==null?void 0:ui[gn],[gn]),[Ea]=Pl(pa,va,Xo),la={},Na=function(ui,_i){let Io=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Fa,Qa,Ua,Hl;const ll=Object.assign(Object.assign({},la),ui);Io&&((Fa=la.resetPagination)===null||Fa===void 0||Fa.call(la),!((Qa=ll.pagination)===null||Qa===void 0)&&Qa.current&&(ll.pagination.current=1),Pn&&((Ua=Pn.onChange)===null||Ua===void 0||Ua.call(Pn,1,(Hl=ll.pagination)===null||Hl===void 0?void 0:Hl.pageSize))),br&&br.scrollToFirstRowOnChange!==!1&&ki.body.current&&(0,Wo.Z)(0,{getContainer:()=>ki.body.current}),wr==null||wr(ll.pagination,ll.filters,ll.sorter,{currentDataSource:Eo(Xl(pa,ll.sorterStates,va),ll.filterStates,va),action:_i})},ia=(ui,_i)=>{Na({sorter:ui,sorterStates:_i},"sort",!1)},[Po,na,sa,Ca]=Ks({prefixCls:Ii,mergedColumns:so,onSorterChange:ia,sortDirections:Or||["ascend","descend"],tableLocale:ma,showSorterTooltip:_n}),ga=b.useMemo(()=>Xl(pa,na,va),[pa,na]);la.sorter=Ca(),la.sorterStates=na;const To=(ui,_i)=>{Na({filters:ui,filterStates:_i},"filter",!0)},[fa,Uo,Ra]=Oa({prefixCls:Ii,locale:ma,dropdownPrefixCls:no,mergedColumns:so,onFilterChange:To,getPopupContainer:yr||go,rootClassName:pe()(cn,ci)}),Sa=Eo(ga,Uo,va);la.filters=Ra,la.filterStates=Uo;const Va=b.useMemo(()=>{const ui={};return Object.keys(Ra).forEach(_i=>{Ra[_i]!==null&&(ui[_i]=Ra[_i])}),Object.assign(Object.assign({},sa),{filters:ui})},[sa,Ra]),[$a]=Ts(Va),Sl=(ui,_i)=>{Na({pagination:Object.assign(Object.assign({},la.pagination),{current:ui,pageSize:_i})},"paginate")},[ua,Jl]=Fl(Sa.length,Sl,Pn);la.pagination=Pn===!1?{}:ol(ua,Pn),la.resetPagination=Jl;const Ka=b.useMemo(()=>{if(Pn===!1||!ua.pageSize)return Sa;const{current:ui=1,total:_i,pageSize:Io=Tl}=ua;return Sa.length<_i?Sa.length>Io?Sa.slice((ui-1)*Io,ui*Io):Sa:Sa.slice((ui-1)*Io,ui*Io)},[!!Pn,Sa,ua==null?void 0:ua.current,ua==null?void 0:ua.pageSize,ua==null?void 0:ua.total]),[hl,al]=Ti({prefixCls:Ii,data:Sa,pageData:Ka,getRowKey:Xo,getRecordByKey:Ea,expandType:ca,childrenColumnName:va,locale:ma,getPopupContainer:yr||go},Cn),ro=(ui,_i,Io)=>{let Fa;return typeof ur=="function"?Fa=pe()(ur(ui,_i,Io)):Fa=pe()(ur),pe()({[`${Ii}-row-selected`]:al.has(Xo(ui,_i))},Fa)};Ho.__PARENT_RENDER_ICON__=Ho.expandIcon,Ho.expandIcon=Ho.expandIcon||Tr||qi(ma),ca==="nest"&&Ho.expandIconColumnIndex===void 0?Ho.expandIconColumnIndex=Cn?1:0:Ho.expandIconColumnIndex>0&&Cn&&(Ho.expandIconColumnIndex-=1),typeof Ho.indentSize!="number"&&(Ho.indentSize=typeof Sr=="number"?Sr:15);const Pi=b.useCallback(ui=>$a(hl(fa(Po(ui)))),[Po,fa,hl]);let ya,Xa;if(Pn!==!1&&(ua!=null&&ua.total)){let ui;ua.size?ui=ua.size:ui=po==="small"||po==="middle"?"small":void 0;const _i=Qa=>b.createElement(za.Z,Object.assign({},ua,{className:pe()(`${Ii}-pagination ${Ii}-pagination-${Qa}`,ua.className),size:ui})),Io=No==="rtl"?"left":"right",{position:Fa}=ua;if(Fa!==null&&Array.isArray(Fa)){const Qa=Fa.find(ll=>ll.includes("top")),Ua=Fa.find(ll=>ll.includes("bottom")),Hl=Fa.every(ll=>`${ll}`=="none");!Qa&&!Ua&&!Hl&&(Xa=_i(Io)),Qa&&(ya=_i(Qa.toLowerCase().replace("top",""))),Ua&&(Xa=_i(Ua.toLowerCase().replace("bottom","")))}else Xa=_i(Io)}let yl;typeof Er=="boolean"?yl={spinning:Er}:typeof Er=="object"&&(yl=Object.assign({spinning:!0},Er));const Nl=pe()(aa,ci,`${Ii}-wrapper`,Go==null?void 0:Go.className,{[`${Ii}-wrapper-rtl`]:No==="rtl"},_t,cn,zo),Ss=Object.assign(Object.assign({},Go==null?void 0:Go.style),rn),ws=typeof($n==null?void 0:$n.emptyText)!="undefined"?$n.emptyText:(ra==null?void 0:ra("Table"))||b.createElement(ho.Z,{componentName:"Table"}),Ls=Fr?is:ks,_o={},So=b.useMemo(()=>{const{fontSize:ui,lineHeight:_i,lineWidth:Io,padding:Fa,paddingXS:Qa,paddingSM:Ua}=Di,Hl=Math.floor(ui*_i);switch(po){case"middle":return Ua*2+Hl+Io;case"small":return Qa*2+Hl+Io;default:return Fa*2+Hl+Io}},[Di,po]);return Fr&&(_o.listItemHeight=So),Do(b.createElement("div",{ref:jo,className:Nl,style:Ss},b.createElement(Ba.Z,Object.assign({spinning:!1},yl),ya,b.createElement(Ls,Object.assign({},_o,eo,{ref:$o,columns:so,direction:No,expandable:Ho,prefixCls:Ii,className:pe()({[`${Ii}-middle`]:po==="middle",[`${Ii}-small`]:po==="small",[`${Ii}-bordered`]:vn,[`${Ii}-empty`]:pa.length===0},aa,ci,zo),data:Ka,rowKey:Xo,rowClassName:ro,emptyText:ws,internalHooks:de,internalRefs:ki,transformColumns:Pi,getContainerWidth:Ui})),Xa)))};var bi=b.forwardRef(oi);const gi=(_e,He)=>{const Ct=b.useRef(0);return Ct.current+=1,b.createElement(bi,Object.assign({},_e,{ref:He,_renderTimes:Ct.current}))},Ki=b.forwardRef(gi);Ki.SELECTION_COLUMN=Mo,Ki.EXPAND_COLUMN=We,Ki.SELECTION_ALL=ha,Ki.SELECTION_INVERT=Aa,Ki.SELECTION_NONE=xa,Ki.Column=qr,Ki.ColumnGroup=Gn,Ki.Summary=Ge;var lo=Ki,uo=lo},96599:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return pe}});var b=E(59301),We=E(92310),de=E.n(We),Ke=E(2738),De=E(29509),ve=E(78776),ye=E(22703),fe=E(12919),xe=E(48755),ue=E(36237),Fe=E(17835),Ce=E(63356),Te=E(51636),we=E(16931);const Me=be=>{const{paddingXXS:gt,lineWidth:$e,tagPaddingHorizontal:at,componentCls:bt,calc:Ze}=be,se=Ze(at).sub($e).equal(),Be=Ze(gt).sub($e).equal();return{[bt]:Object.assign(Object.assign({},(0,Ce.Wf)(be)),{display:"inline-block",height:"auto",marginInlineEnd:be.marginXS,paddingInline:se,fontSize:be.tagFontSize,lineHeight:be.tagLineHeight,whiteSpace:"nowrap",background:be.defaultBg,border:`${(0,ue.unit)(be.lineWidth)} ${be.lineType} ${be.colorBorder}`,borderRadius:be.borderRadiusSM,opacity:1,transition:`all ${be.motionDurationMid}`,textAlign:"start",position:"relative",[`&${bt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:be.defaultColor},[`${bt}-close-icon`]:{marginInlineStart:Be,fontSize:be.tagIconSize,color:be.colorTextDescription,cursor:"pointer",transition:`all ${be.motionDurationMid}`,"&:hover":{color:be.colorTextHeading}},[`&${bt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${be.iconCls}-close, ${be.iconCls}-close:hover`]:{color:be.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${bt}-checkable-checked):hover`]:{color:be.colorPrimary,backgroundColor:be.colorFillSecondary},"&:active, &-checked":{color:be.colorTextLightSolid},"&-checked":{backgroundColor:be.colorPrimary,"&:hover":{backgroundColor:be.colorPrimaryHover}},"&:active":{backgroundColor:be.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${be.iconCls} + span, > span + ${be.iconCls}`]:{marginInlineStart:se}}),[`${bt}-borderless`]:{borderColor:"transparent",background:be.tagBorderlessBg}}},ge=be=>{const{lineWidth:gt,fontSizeIcon:$e,calc:at}=be,bt=be.fontSizeSM;return(0,Te.mergeToken)(be,{tagFontSize:bt,tagLineHeight:(0,ue.unit)(at(be.lineHeightSM).mul(bt).equal()),tagIconSize:at($e).sub(at(gt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:be.defaultBg})},Ae=be=>({defaultBg:new Fe.FastColor(be.colorFillQuaternary).onBackground(be.colorBgContainer).toHexString(),defaultColor:be.colorText});var Pe=(0,we.I$)("Tag",be=>{const gt=ge(be);return Me(gt)},Ae),Re=function(be,gt){var $e={};for(var at in be)Object.prototype.hasOwnProperty.call(be,at)&>.indexOf(at)<0&&($e[at]=be[at]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,at=Object.getOwnPropertySymbols(be);bt<at.length;bt++)gt.indexOf(at[bt])<0&&Object.prototype.propertyIsEnumerable.call(be,at[bt])&&($e[at[bt]]=be[at[bt]]);return $e},ce=b.forwardRef((be,gt)=>{const{prefixCls:$e,style:at,className:bt,checked:Ze,onChange:se,onClick:Be}=be,Je=Re(be,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:lt,tag:Ee}=b.useContext(xe.E_),je=It=>{se==null||se(!Ze),Be==null||Be(It)},rt=lt("tag",$e),[xt,ct,wt]=Pe(rt),ft=de()(rt,`${rt}-checkable`,{[`${rt}-checkable-checked`]:Ze},Ee==null?void 0:Ee.className,bt,ct,wt);return xt(b.createElement("span",Object.assign({},Je,{ref:gt,style:Object.assign(Object.assign({},at),Ee==null?void 0:Ee.style),className:ft,onClick:je})))}),Oe=E(93427);const Ue=be=>(0,Oe.Z)(be,(gt,$e)=>{let{textColor:at,lightBorderColor:bt,lightColor:Ze,darkColor:se}=$e;return{[`${be.componentCls}${be.componentCls}-${gt}`]:{color:at,background:Ze,borderColor:bt,"&-inverse":{color:be.colorTextLightSolid,background:se,borderColor:se},[`&${be.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ze=(0,we.bk)(["Tag","preset"],be=>{const gt=ge(be);return Ue(gt)},Ae);function nt(be){return typeof be!="string"?be:be.charAt(0).toUpperCase()+be.slice(1)}const ke=(be,gt,$e)=>{const at=nt($e);return{[`${be.componentCls}${be.componentCls}-${gt}`]:{color:be[`color${$e}`],background:be[`color${at}Bg`],borderColor:be[`color${at}Border`],[`&${be.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ve=(0,we.bk)(["Tag","status"],be=>{const gt=ge(be);return[ke(gt,"success","Success"),ke(gt,"processing","Info"),ke(gt,"error","Error"),ke(gt,"warning","Warning")]},Ae),et=function(be,gt){var $e={};for(var at in be)Object.prototype.hasOwnProperty.call(be,at)&>.indexOf(at)<0&&($e[at]=be[at]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,at=Object.getOwnPropertySymbols(be);bt<at.length;bt++)gt.indexOf(at[bt])<0&&Object.prototype.propertyIsEnumerable.call(be,at[bt])&&($e[at[bt]]=be[at[bt]]);return $e};const qe=b.forwardRef((be,gt)=>{const{prefixCls:$e,className:at,rootClassName:bt,style:Ze,children:se,icon:Be,color:Je,onClose:lt,bordered:Ee=!0,visible:je}=be,rt=et(be,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:xt,direction:ct,tag:wt}=b.useContext(xe.E_),[ft,It]=b.useState(!0),Dt=(0,Ke.Z)(rt,["closeIcon","closable"]);b.useEffect(()=>{je!==void 0&&It(je)},[je]);const oe=(0,De.o2)(Je),ae=(0,De.yT)(Je),te=oe||ae,x=Object.assign(Object.assign({backgroundColor:Je&&!te?Je:void 0},wt==null?void 0:wt.style),Ze),re=xt("tag",$e),[ne,le,Ie]=Pe(re),Le=de()(re,wt==null?void 0:wt.className,{[`${re}-${Je}`]:te,[`${re}-has-color`]:Je&&!te,[`${re}-hidden`]:!ft,[`${re}-rtl`]:ct==="rtl",[`${re}-borderless`]:!Ee},at,bt,le,Ie),Ye=st=>{st.stopPropagation(),lt==null||lt(st),!st.defaultPrevented&&It(!1)},[,Ge]=(0,ve.Z)((0,ve.w)(be),(0,ve.w)(wt),{closable:!1,closeIconRender:st=>{const Vt=b.createElement("span",{className:`${re}-close-icon`,onClick:Ye},st);return(0,ye.wm)(st,Vt,kt=>({onClick:un=>{var $t;($t=kt==null?void 0:kt.onClick)===null||$t===void 0||$t.call(kt,un),Ye(un)},className:de()(kt==null?void 0:kt.className,`${re}-close-icon`)}))}}),it=typeof rt.onClick=="function"||se&&se.type==="a",dt=Be||null,yt=dt?b.createElement(b.Fragment,null,dt,se&&b.createElement("span",null,se)):se,ot=b.createElement("span",Object.assign({},Dt,{ref:gt,className:Le,style:x}),yt,Ge,oe&&b.createElement(ze,{key:"preset",prefixCls:re}),ae&&b.createElement(Ve,{key:"status",prefixCls:re}));return ne(it?b.createElement(fe.Z,{component:"Tag"},ot):ot)});qe.CheckableTag=ce;var pe=qe},18287:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return lt}});var b=E(3741),We=E(94480),de=E(59301),Ke=E(52671),De=E(8657),ve=E(54476),ye={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"},fe=ye,xe=E(7657),ue=function(je,rt){return de.createElement(xe.Z,(0,ve.Z)({},je,{ref:rt,icon:fe}))},Fe=de.forwardRef(ue),Ce=Fe,Te=E(92310),we=E.n(Te),Me=E(82661),ge=E(34061),Ae=E(48755),Pe=E(56082),Re=E(86641),tt=E(57700),ce=E(12425);const Oe=4;function Ue(Ee){const{dropPosition:je,dropLevelOffset:rt,prefixCls:xt,indent:ct,direction:wt="ltr"}=Ee,ft=wt==="ltr"?"left":"right",It=wt==="ltr"?"right":"left",Dt={[ft]:-rt*ct+Oe,[It]:0};switch(je){case-1:Dt.top=-3;break;case 1:Dt.bottom=-3;break;default:Dt.bottom=-3,Dt[ft]=ct+Oe;break}return de.createElement("div",{style:Dt,className:`${xt}-drop-indicator`})}var ze=Ue,nt=E(85278),Ve=de.forwardRef((Ee,je)=>{var rt;const{getPrefixCls:xt,direction:ct,virtual:wt,tree:ft}=de.useContext(Ae.E_),{prefixCls:It,className:Dt,showIcon:oe=!1,showLine:ae,switcherIcon:te,switcherLoadingIcon:x,blockNode:re=!1,children:ne,checkable:le=!1,selectable:Ie=!0,draggable:Le,motion:Ye,style:Ge}=Ee,it=xt("tree",It),dt=xt(),yt=Ye!=null?Ye:Object.assign(Object.assign({},(0,Re.Z)(dt)),{motionAppear:!1}),ot=Object.assign(Object.assign({},Ee),{checkable:le,selectable:Ie,showIcon:oe,motion:yt,blockNode:re,showLine:!!ae,dropIndicatorRender:ze}),[st,Vt,kt]=(0,ce.ZP)(it),[,un]=(0,tt.ZP)(),$t=un.paddingXS/2+(((rt=un.Tree)===null||rt===void 0?void 0:rt.titleHeight)||un.controlHeightSM),Rt=de.useMemo(()=>{if(!Le)return!1;let qt={};switch(typeof Le){case"function":qt.nodeDraggable=Le;break;case"object":qt=Object.assign({},Le);break;default:break}return qt.icon!==!1&&(qt.icon=qt.icon||de.createElement(Pe.Z,null)),qt},[Le]),Kt=qt=>de.createElement(nt.Z,{prefixCls:it,switcherIcon:te,switcherLoadingIcon:x,treeNodeProps:qt,showLine:ae});return st(de.createElement(b.ZP,Object.assign({itemHeight:$t,ref:je,virtual:wt},ot,{style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Ge),prefixCls:it,className:we()({[`${it}-icon-hide`]:!oe,[`${it}-block-node`]:re,[`${it}-unselectable`]:!Ie,[`${it}-rtl`]:ct==="rtl"},ft==null?void 0:ft.className,Dt,Vt,kt),direction:ct,checkable:le&&de.createElement("span",{className:`${it}-checkbox-inner`}),selectable:Ie,switcherIcon:Kt,draggable:Rt}),ne))});const et=0,Se=1,qe=2;function pe(Ee,je,rt){const{key:xt,children:ct}=rt;function wt(ft){const It=ft[xt],Dt=ft[ct];je(It,ft)!==!1&&pe(Dt||[],je,rt)}Ee.forEach(wt)}function be(Ee){let{treeData:je,expandedKeys:rt,startKey:xt,endKey:ct,fieldNames:wt}=Ee;const ft=[];let It=et;if(xt&&xt===ct)return[xt];if(!xt||!ct)return[];function Dt(oe){return oe===xt||oe===ct}return pe(je,oe=>{if(It===qe)return!1;if(Dt(oe)){if(ft.push(oe),It===et)It=Se;else if(It===Se)return It=qe,!1}else It===Se&&ft.push(oe);return rt.includes(oe)},(0,ge.w$)(wt)),ft}function gt(Ee,je,rt){const xt=(0,We.Z)(je),ct=[];return pe(Ee,(wt,ft)=>{const It=xt.indexOf(wt);return It!==-1&&(ct.push(ft),xt.splice(It,1)),!!xt.length},(0,ge.w$)(rt)),ct}var $e=function(Ee,je){var rt={};for(var xt in Ee)Object.prototype.hasOwnProperty.call(Ee,xt)&&je.indexOf(xt)<0&&(rt[xt]=Ee[xt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,xt=Object.getOwnPropertySymbols(Ee);ct<xt.length;ct++)je.indexOf(xt[ct])<0&&Object.prototype.propertyIsEnumerable.call(Ee,xt[ct])&&(rt[xt[ct]]=Ee[xt[ct]]);return rt};function at(Ee){const{isLeaf:je,expanded:rt}=Ee;return je?de.createElement(Ke.Z,null):rt?de.createElement(De.Z,null):de.createElement(Ce,null)}function bt(Ee){let{treeData:je,children:rt}=Ee;return je||(0,ge.zn)(rt)}const Ze=(Ee,je)=>{var{defaultExpandAll:rt,defaultExpandParent:xt,defaultExpandedKeys:ct}=Ee,wt=$e(Ee,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ft=de.useRef(null),It=de.useRef(null),Dt=()=>{const{keyEntities:st}=(0,ge.I8)(bt(wt));let Vt;return rt?Vt=Object.keys(st):xt?Vt=(0,Me.r7)(wt.expandedKeys||ct||[],st):Vt=wt.expandedKeys||ct||[],Vt},[oe,ae]=de.useState(wt.selectedKeys||wt.defaultSelectedKeys||[]),[te,x]=de.useState(()=>Dt());de.useEffect(()=>{"selectedKeys"in wt&&ae(wt.selectedKeys)},[wt.selectedKeys]),de.useEffect(()=>{"expandedKeys"in wt&&x(wt.expandedKeys)},[wt.expandedKeys]);const re=(st,Vt)=>{var kt;return"expandedKeys"in wt||x(st),(kt=wt.onExpand)===null||kt===void 0?void 0:kt.call(wt,st,Vt)},ne=(st,Vt)=>{var kt;const{multiple:un,fieldNames:$t}=wt,{node:Rt,nativeEvent:Kt}=Vt,{key:qt=""}=Rt,Et=bt(wt),Tt=Object.assign(Object.assign({},Vt),{selected:!0}),on=(Kt==null?void 0:Kt.ctrlKey)||(Kt==null?void 0:Kt.metaKey),mn=Kt==null?void 0:Kt.shiftKey;let vt;un&&on?(vt=st,ft.current=qt,It.current=vt,Tt.selectedNodes=gt(Et,vt,$t)):un&&mn?(vt=Array.from(new Set([].concat((0,We.Z)(It.current||[]),(0,We.Z)(be({treeData:Et,expandedKeys:te,startKey:qt,endKey:ft.current,fieldNames:$t}))))),Tt.selectedNodes=gt(Et,vt,$t)):(vt=[qt],ft.current=qt,It.current=vt,Tt.selectedNodes=gt(Et,vt,$t)),(kt=wt.onSelect)===null||kt===void 0||kt.call(wt,vt,Tt),"selectedKeys"in wt||ae(vt)},{getPrefixCls:le,direction:Ie}=de.useContext(Ae.E_),{prefixCls:Le,className:Ye,showIcon:Ge=!0,expandAction:it="click"}=wt,dt=$e(wt,["prefixCls","className","showIcon","expandAction"]),yt=le("tree",Le),ot=we()(`${yt}-directory`,{[`${yt}-directory-rtl`]:Ie==="rtl"},Ye);return de.createElement(Ve,Object.assign({icon:at,ref:je,blockNode:!0},dt,{showIcon:Ge,expandAction:it,prefixCls:yt,className:ot,expandedKeys:te,selectedKeys:oe,onSelect:ne,onExpand:re}))};var Be=de.forwardRef(Ze);const Je=Ve;Je.DirectoryTree=Be,Je.TreeNode=b.OF;var lt=Je},12425:function(wn,zt,E){"use strict";E.d(zt,{ZP:function(){return Me},Yk:function(){return Ce},TM:function(){return Te}});var b=E(36237),We=E(36170),de=E(63356),Ke=E(34961),De=E(51636),ve=E(16931);const ye=ge=>{let{treeCls:Ae,treeNodeCls:Pe,directoryNodeSelectedBg:Re,directoryNodeSelectedColor:tt,motionDurationMid:ce,borderRadius:Oe,controlItemBgHover:Ue}=ge;return{[`${Ae}${Ae}-directory ${Pe}`]:{[`${Ae}-node-content-wrapper`]:{position:"static",[`> *:not(${Ae}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${ce}`,content:'""',borderRadius:Oe},"&:hover:before":{background:Ue}},[`${Ae}-switcher, ${Ae}-checkbox, ${Ae}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Ae}-switcher, ${Ae}-draggable-icon`]:{color:tt},[`${Ae}-node-content-wrapper`]:{color:tt,background:"transparent","&:before, &:hover:before":{background:Re}}}}}},fe=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),xe=(ge,Ae)=>({[`.${ge}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ae.motionDurationSlow}`}}}),ue=(ge,Ae)=>({[`.${ge}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ae.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(Ae.lineWidthBold)} solid ${Ae.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Fe=(ge,Ae)=>{const{treeCls:Pe,treeNodeCls:Re,treeNodePadding:tt,titleHeight:ce,indentSize:Oe,nodeSelectedBg:Ue,nodeHoverBg:ze,colorTextQuaternary:nt,controlItemBgActiveDisabled:ke}=Ae;return{[Pe]:Object.assign(Object.assign({},(0,de.Wf)(Ae)),{background:Ae.colorBgContainer,borderRadius:Ae.borderRadius,transition:`background-color ${Ae.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Pe}-rtl ${Pe}-switcher_close ${Pe}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Pe}-active-focused)`]:Object.assign({},(0,de.oN)(Ae)),[`${Pe}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Pe}-block-node`]:{[`${Pe}-list-holder-inner`]:{alignItems:"stretch",[`${Pe}-node-content-wrapper`]:{flex:"auto"},[`${Re}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Ae.colorPrimary}`,opacity:0,animationName:fe,animationDuration:Ae.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Ae.borderRadius}}},[Re]:{display:"flex",alignItems:"flex-start",marginBottom:tt,lineHeight:(0,b.unit)(ce),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:tt},[`&-disabled ${Pe}-node-content-wrapper`]:{color:Ae.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Pe}-checkbox-disabled + ${Pe}-node-selected,&${Re}-disabled${Re}-selected ${Pe}-node-content-wrapper`]:{backgroundColor:ke},[`${Pe}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Re}-disabled)`]:{[`${Pe}-node-content-wrapper`]:{"&:hover":{color:Ae.nodeHoverColor}}},[`&-active ${Pe}-node-content-wrapper`]:{background:Ae.controlItemBgHover},[`&:not(${Re}-disabled).filter-node ${Pe}-title`]:{color:Ae.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Pe}-draggable-icon`]:{flexShrink:0,width:ce,textAlign:"center",visibility:"visible",color:nt},[`&${Re}-disabled ${Pe}-draggable-icon`]:{visibility:"hidden"}}},[`${Pe}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Oe}},[`${Pe}-draggable-icon`]:{visibility:"hidden"},[`${Pe}-switcher, ${Pe}-checkbox`]:{marginInlineEnd:Ae.calc(Ae.calc(ce).sub(Ae.controlInteractiveSize)).div(2).equal()},[`${Pe}-switcher`]:Object.assign(Object.assign({},xe(ge,Ae)),{position:"relative",flex:"none",alignSelf:"stretch",width:ce,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Ae.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:ce,height:ce,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Ae.borderRadius,transition:`all ${Ae.motionDurationSlow}`},[`&:not(${Pe}-switcher-noop):hover:before`]:{backgroundColor:Ae.colorBgTextHover},[`&_close ${Pe}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Ae.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ae.calc(ce).div(2).equal(),bottom:Ae.calc(tt).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Ae.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ae.calc(Ae.calc(ce).div(2).equal()).mul(.8).equal(),height:Ae.calc(ce).div(2).equal(),borderBottom:`1px solid ${Ae.colorBorder}`,content:'""'}}}),[`${Pe}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:ce,paddingBlock:0,paddingInline:Ae.paddingXS,background:"transparent",borderRadius:Ae.borderRadius,cursor:"pointer",transition:`all ${Ae.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},ue(ge,Ae)),{"&:hover":{backgroundColor:ze},[`&${Pe}-node-selected`]:{color:Ae.nodeSelectedColor,backgroundColor:Ue},[`${Pe}-iconEle`]:{display:"inline-block",width:ce,height:ce,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Pe}-unselectable ${Pe}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Re}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Ae.colorPrimary}`},"&-show-line":{[`${Pe}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ae.calc(ce).div(2).equal(),bottom:Ae.calc(tt).mul(-1).equal(),borderInlineEnd:`1px solid ${Ae.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Pe}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Re}-leaf-last ${Pe}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(Ae.calc(ce).div(2).equal())} !important`}})}},Ce=function(ge,Ae){let Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Re=`.${ge}`,tt=`${Re}-treenode`,ce=Ae.calc(Ae.paddingXS).div(2).equal(),Oe=(0,De.mergeToken)(Ae,{treeCls:Re,treeNodeCls:tt,treeNodePadding:ce});return[Fe(ge,Oe),Pe&&ye(Oe)].filter(Boolean)},Te=ge=>{const{controlHeightSM:Ae,controlItemBgHover:Pe,controlItemBgActive:Re}=ge,tt=Ae;return{titleHeight:tt,indentSize:tt,nodeHoverBg:Pe,nodeHoverColor:ge.colorText,nodeSelectedBg:Re,nodeSelectedColor:ge.colorText}},we=ge=>{const{colorTextLightSolid:Ae,colorPrimary:Pe}=ge;return Object.assign(Object.assign({},Te(ge)),{directoryNodeSelectedColor:Ae,directoryNodeSelectedBg:Pe})};var Me=(0,ve.I$)("Tree",(ge,Ae)=>{let{prefixCls:Pe}=Ae;return[{[ge.componentCls]:(0,We.C2)(`${Pe}-checkbox`,ge)},Ce(Pe,ge),(0,Ke.Z)(ge)]},we)},85278:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Ae}});var b=E(59301),We=E(54476),de={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"},Ke=de,De=E(7657),ve=function(Re,tt){return b.createElement(De.Z,(0,We.Z)({},Re,{ref:tt,icon:Ke}))},ye=b.forwardRef(ve),fe=ye,xe=E(52671),ue=E(58617),Fe=E(15075),Ce=E(43531),Te=E(92310),we=E.n(Te),Me=E(22703),Ae=Pe=>{const{prefixCls:Re,switcherIcon:tt,treeNodeProps:ce,showLine:Oe,switcherLoadingIcon:Ue}=Pe,{isLeaf:ze,expanded:nt,loading:ke}=ce;if(ke)return b.isValidElement(Ue)?Ue:b.createElement(ue.Z,{className:`${Re}-switcher-loading-icon`});let Ve;if(Oe&&typeof Oe=="object"&&(Ve=Oe.showLeafIcon),ze){if(!Oe)return null;if(typeof Ve!="boolean"&&Ve){const qe=typeof Ve=="function"?Ve(ce):Ve,pe=`${Re}-switcher-line-custom-icon`;return b.isValidElement(qe)?(0,Me.Tm)(qe,{className:we()(qe.props.className||"",pe)}):qe}return Ve?b.createElement(xe.Z,{className:`${Re}-switcher-line-icon`}):b.createElement("span",{className:`${Re}-switcher-leaf-line`})}const et=`${Re}-switcher-icon`,Se=typeof tt=="function"?tt(ce):tt;return b.isValidElement(Se)?(0,Me.Tm)(Se,{className:we()(Se.props.className||"",et)}):Se!==void 0?Se:Oe?nt?b.createElement(Fe.Z,{className:`${Re}-switcher-line-icon`}):b.createElement(Ce.Z,{className:`${Re}-switcher-line-icon`}):b.createElement(fe,{className:et})}},94968:function(wn,zt,E){"use strict";E.d(zt,{default:function(){return Ht}});var b=E(59301),We=E(94480),de=E(4676),Ke=E(92310),De=E.n(Ke),ve=E(54476),ye=E(67732),fe=E(83652),xe=E(31226),ue=E(42403),Fe=E(158),Ce=E(20068),Te=E(33885),we=E(75931),Me=E(76190),ge=E(75044),Ae=E(3202),Pe=E(26112),Re=E(48736),tt=function(ht,Xt){if(ht&&Xt){var tn=Array.isArray(Xt)?Xt:Xt.split(","),dn=ht.name||"",Ut=ht.type||"",jt=Ut.replace(/\/.*$/,"");return tn.some(function(Gt){var an=Gt.trim();if(/^\*(\/\*)?$/.test(Gt))return!0;if(an.charAt(0)==="."){var zn=dn.toLowerCase(),Rn=an.toLowerCase(),Vn=[Rn];return(Rn===".jpg"||Rn===".jpeg")&&(Vn=[".jpg",".jpeg"]),Vn.some(function(Mr){return zn.endsWith(Mr)})}return/\/\*$/.test(an)?jt===an.replace(/\/.*$/,""):Ut===an?!0:/^\w+$/.test(an)?((0,Re.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(an,"'.Skip for check.")),!0):!1})}return!0};function ce(ht,Xt){var tn="cannot ".concat(ht.method," ").concat(ht.action," ").concat(Xt.status,"'"),dn=new Error(tn);return dn.status=Xt.status,dn.method=ht.method,dn.url=ht.action,dn}function Oe(ht){var Xt=ht.responseText||ht.response;if(!Xt)return Xt;try{return JSON.parse(Xt)}catch(tn){return Xt}}function Ue(ht){var Xt=new XMLHttpRequest;ht.onProgress&&Xt.upload&&(Xt.upload.onprogress=function(jt){jt.total>0&&(jt.percent=jt.loaded/jt.total*100),ht.onProgress(jt)});var tn=new FormData;ht.data&&Object.keys(ht.data).forEach(function(Ut){var jt=ht.data[Ut];if(Array.isArray(jt)){jt.forEach(function(Gt){tn.append("".concat(Ut,"[]"),Gt)});return}tn.append(Ut,jt)}),ht.file instanceof Blob?tn.append(ht.filename,ht.file,ht.file.name):tn.append(ht.filename,ht.file),Xt.onerror=function(jt){ht.onError(jt)},Xt.onload=function(){return Xt.status<200||Xt.status>=300?ht.onError(ce(ht,Xt),Oe(Xt)):ht.onSuccess(Oe(Xt),Xt)},Xt.open(ht.method,ht.action,!0),ht.withCredentials&&"withCredentials"in Xt&&(Xt.withCredentials=!0);var dn=ht.headers||{};return dn["X-Requested-With"]!==null&&Xt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(dn).forEach(function(Ut){dn[Ut]!==null&&Xt.setRequestHeader(Ut,dn[Ut])}),Xt.send(tn),{abort:function(){Xt.abort()}}}var ze=function(){var ht=(0,Ae.Z)((0,ge.Z)().mark(function Xt(tn,dn){var Ut,jt,Gt,an,zn,Rn,Vn,Mr;return(0,ge.Z)().wrap(function(Xr){for(;;)switch(Xr.prev=Xr.next){case 0:Rn=function(){return Rn=(0,Ae.Z)((0,ge.Z)().mark(function gr(Ar){return(0,ge.Z)().wrap(function(ni){for(;;)switch(ni.prev=ni.next){case 0:return ni.abrupt("return",new Promise(function(ri){Ar.file(function(ai){dn(ai)?(Ar.fullPath&&!ai.webkitRelativePath&&(Object.defineProperties(ai,{webkitRelativePath:{writable:!0}}),ai.webkitRelativePath=Ar.fullPath.replace(/^\//,""),Object.defineProperties(ai,{webkitRelativePath:{writable:!1}})),ri(ai)):ri(null)})}));case 1:case"end":return ni.stop()}},gr)})),Rn.apply(this,arguments)},zn=function(gr){return Rn.apply(this,arguments)},an=function(){return an=(0,Ae.Z)((0,ge.Z)().mark(function gr(Ar){var Vr,ni,ri,ai,Dr;return(0,ge.Z)().wrap(function($r){for(;;)switch($r.prev=$r.next){case 0:Vr=Ar.createReader(),ni=[];case 2:return $r.next=5,new Promise(function(Ri){Vr.readEntries(Ri,function(){return Ri([])})});case 5:if(ri=$r.sent,ai=ri.length,ai){$r.next=9;break}return $r.abrupt("break",12);case 9:for(Dr=0;Dr<ai;Dr++)ni.push(ri[Dr]);$r.next=2;break;case 12:return $r.abrupt("return",ni);case 13:case"end":return $r.stop()}},gr)})),an.apply(this,arguments)},Gt=function(gr){return an.apply(this,arguments)},Ut=[],jt=[],tn.forEach(function(Pr){return jt.push(Pr.webkitGetAsEntry())}),Vn=function(){var Pr=(0,Ae.Z)((0,ge.Z)().mark(function gr(Ar,Vr){var ni,ri;return(0,ge.Z)().wrap(function(Dr){for(;;)switch(Dr.prev=Dr.next){case 0:if(Ar){Dr.next=2;break}return Dr.abrupt("return");case 2:if(Ar.path=Vr||"",!Ar.isFile){Dr.next=10;break}return Dr.next=6,zn(Ar);case 6:ni=Dr.sent,ni&&Ut.push(ni),Dr.next=15;break;case 10:if(!Ar.isDirectory){Dr.next=15;break}return Dr.next=13,Gt(Ar);case 13:ri=Dr.sent,jt.push.apply(jt,(0,We.Z)(ri));case 15:case"end":return Dr.stop()}},gr)}));return function(Ar,Vr){return Pr.apply(this,arguments)}}(),Mr=0;case 9:if(!(Mr<jt.length)){Xr.next=15;break}return Xr.next=12,Vn(jt[Mr]);case 12:Mr++,Xr.next=9;break;case 15:return Xr.abrupt("return",Ut);case 16:case"end":return Xr.stop()}},Xt)}));return function(tn,dn){return ht.apply(this,arguments)}}(),nt=ze,ke=+new Date,Ve=0;function et(){return"rc-upload-".concat(ke,"-").concat(++Ve)}var Se=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],qe=function(ht){(0,ue.Z)(tn,ht);var Xt=(0,Fe.Z)(tn);function tn(){var dn;(0,ye.Z)(this,tn);for(var Ut=arguments.length,jt=new Array(Ut),Gt=0;Gt<Ut;Gt++)jt[Gt]=arguments[Gt];return dn=Xt.call.apply(Xt,[this].concat(jt)),(0,Ce.Z)((0,xe.Z)(dn),"state",{uid:et()}),(0,Ce.Z)((0,xe.Z)(dn),"reqs",{}),(0,Ce.Z)((0,xe.Z)(dn),"fileInput",void 0),(0,Ce.Z)((0,xe.Z)(dn),"_isMounted",void 0),(0,Ce.Z)((0,xe.Z)(dn),"onChange",function(an){var zn=dn.props,Rn=zn.accept,Vn=zn.directory,Mr=an.target.files,zr=(0,We.Z)(Mr).filter(function(Xr){return!Vn||tt(Xr,Rn)});dn.uploadFiles(zr),dn.reset()}),(0,Ce.Z)((0,xe.Z)(dn),"onClick",function(an){var zn=dn.fileInput;if(zn){var Rn=an.target,Vn=dn.props.onClick;if(Rn&&Rn.tagName==="BUTTON"){var Mr=zn.parentNode;Mr.focus(),Rn.blur()}zn.click(),Vn&&Vn(an)}}),(0,Ce.Z)((0,xe.Z)(dn),"onKeyDown",function(an){an.key==="Enter"&&dn.onClick(an)}),(0,Ce.Z)((0,xe.Z)(dn),"onFileDrop",function(){var an=(0,Ae.Z)((0,ge.Z)().mark(function zn(Rn){var Vn,Mr,zr;return(0,ge.Z)().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:if(Vn=dn.props.multiple,Rn.preventDefault(),Rn.type!=="dragover"){Pr.next=4;break}return Pr.abrupt("return");case 4:if(!dn.props.directory){Pr.next=11;break}return Pr.next=7,nt(Array.prototype.slice.call(Rn.dataTransfer.items),function(gr){return tt(gr,dn.props.accept)});case 7:Mr=Pr.sent,dn.uploadFiles(Mr),Pr.next=14;break;case 11:zr=(0,We.Z)(Rn.dataTransfer.files).filter(function(gr){return tt(gr,dn.props.accept)}),Vn===!1&&(zr=zr.slice(0,1)),dn.uploadFiles(zr);case 14:case"end":return Pr.stop()}},zn)}));return function(zn){return an.apply(this,arguments)}}()),(0,Ce.Z)((0,xe.Z)(dn),"uploadFiles",function(an){var zn=(0,We.Z)(an),Rn=zn.map(function(Vn){return Vn.uid=et(),dn.processFile(Vn,zn)});Promise.all(Rn).then(function(Vn){var Mr=dn.props.onBatchStart;Mr==null||Mr(Vn.map(function(zr){var Xr=zr.origin,Pr=zr.parsedFile;return{file:Xr,parsedFile:Pr}})),Vn.filter(function(zr){return zr.parsedFile!==null}).forEach(function(zr){dn.post(zr)})})}),(0,Ce.Z)((0,xe.Z)(dn),"processFile",function(){var an=(0,Ae.Z)((0,ge.Z)().mark(function zn(Rn,Vn){var Mr,zr,Xr,Pr,gr,Ar,Vr,ni,ri;return(0,ge.Z)().wrap(function(Dr){for(;;)switch(Dr.prev=Dr.next){case 0:if(Mr=dn.props.beforeUpload,zr=Rn,!Mr){Dr.next=14;break}return Dr.prev=3,Dr.next=6,Mr(Rn,Vn);case 6:zr=Dr.sent,Dr.next=12;break;case 9:Dr.prev=9,Dr.t0=Dr.catch(3),zr=!1;case 12:if(zr!==!1){Dr.next=14;break}return Dr.abrupt("return",{origin:Rn,parsedFile:null,action:null,data:null});case 14:if(Xr=dn.props.action,typeof Xr!="function"){Dr.next=21;break}return Dr.next=18,Xr(Rn);case 18:Pr=Dr.sent,Dr.next=22;break;case 21:Pr=Xr;case 22:if(gr=dn.props.data,typeof gr!="function"){Dr.next=29;break}return Dr.next=26,gr(Rn);case 26:Ar=Dr.sent,Dr.next=30;break;case 29:Ar=gr;case 30:return Vr=((0,Me.Z)(zr)==="object"||typeof zr=="string")&&zr?zr:Rn,Vr instanceof File?ni=Vr:ni=new File([Vr],Rn.name,{type:Rn.type}),ri=ni,ri.uid=Rn.uid,Dr.abrupt("return",{origin:Rn,data:Ar,parsedFile:ri,action:Pr});case 35:case"end":return Dr.stop()}},zn,null,[[3,9]])}));return function(zn,Rn){return an.apply(this,arguments)}}()),(0,Ce.Z)((0,xe.Z)(dn),"saveFileInput",function(an){dn.fileInput=an}),dn}return(0,fe.Z)(tn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Ut){var jt=this,Gt=Ut.data,an=Ut.origin,zn=Ut.action,Rn=Ut.parsedFile;if(this._isMounted){var Vn=this.props,Mr=Vn.onStart,zr=Vn.customRequest,Xr=Vn.name,Pr=Vn.headers,gr=Vn.withCredentials,Ar=Vn.method,Vr=an.uid,ni=zr||Ue,ri={action:zn,filename:Xr,data:Gt,file:Rn,headers:Pr,withCredentials:gr,method:Ar||"post",onProgress:function(Dr){var Jr=jt.props.onProgress;Jr==null||Jr(Dr,Rn)},onSuccess:function(Dr,Jr){var $r=jt.props.onSuccess;$r==null||$r(Dr,Rn,Jr),delete jt.reqs[Vr]},onError:function(Dr,Jr){var $r=jt.props.onError;$r==null||$r(Dr,Jr,Rn),delete jt.reqs[Vr]}};Mr(an),this.reqs[Vr]=ni(ri)}}},{key:"reset",value:function(){this.setState({uid:et()})}},{key:"abort",value:function(Ut){var jt=this.reqs;if(Ut){var Gt=Ut.uid?Ut.uid:Ut;jt[Gt]&&jt[Gt].abort&&jt[Gt].abort(),delete jt[Gt]}else Object.keys(jt).forEach(function(an){jt[an]&&jt[an].abort&&jt[an].abort(),delete jt[an]})}},{key:"render",value:function(){var Ut=this.props,jt=Ut.component,Gt=Ut.prefixCls,an=Ut.className,zn=Ut.classNames,Rn=zn===void 0?{}:zn,Vn=Ut.disabled,Mr=Ut.id,zr=Ut.name,Xr=Ut.style,Pr=Ut.styles,gr=Pr===void 0?{}:Pr,Ar=Ut.multiple,Vr=Ut.accept,ni=Ut.capture,ri=Ut.children,ai=Ut.directory,Dr=Ut.openFileDialogOnClick,Jr=Ut.onMouseEnter,$r=Ut.onMouseLeave,Ri=Ut.hasControlInside,Hi=(0,we.Z)(Ut,Se),Zi=De()((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)({},Gt,!0),"".concat(Gt,"-disabled"),Vn),an,an)),zi=ai?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Ji=Vn?{}:{onClick:Dr?this.onClick:function(){},onKeyDown:Dr?this.onKeyDown:function(){},onMouseEnter:Jr,onMouseLeave:$r,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Ri?void 0:"0"};return b.createElement(jt,(0,ve.Z)({},Ji,{className:Zi,role:Ri?void 0:"button",style:Xr}),b.createElement("input",(0,ve.Z)({},(0,Pe.Z)(Hi,{aria:!0,data:!0}),{id:Mr,name:zr,disabled:Vn,type:"file",ref:this.saveFileInput,onClick:function(Mi){return Mi.stopPropagation()},key:this.state.uid,style:(0,Te.Z)({display:"none"},gr.input),className:Rn.input,accept:Vr},zi,{multiple:Ar,onChange:this.onChange},ni!=null?{capture:ni}:{})),ri)}}]),tn}(b.Component),pe=qe;function be(){}var gt=function(ht){(0,ue.Z)(tn,ht);var Xt=(0,Fe.Z)(tn);function tn(){var dn;(0,ye.Z)(this,tn);for(var Ut=arguments.length,jt=new Array(Ut),Gt=0;Gt<Ut;Gt++)jt[Gt]=arguments[Gt];return dn=Xt.call.apply(Xt,[this].concat(jt)),(0,Ce.Z)((0,xe.Z)(dn),"uploader",void 0),(0,Ce.Z)((0,xe.Z)(dn),"saveUploader",function(an){dn.uploader=an}),dn}return(0,fe.Z)(tn,[{key:"abort",value:function(Ut){this.uploader.abort(Ut)}},{key:"render",value:function(){return b.createElement(pe,(0,ve.Z)({},this.props,{ref:this.saveUploader}))}}]),tn}(b.Component);(0,Ce.Z)(gt,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:be,onError:be,onSuccess:be,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var $e=gt,at=$e,bt=E(18929),Ze=E(48755),se=E(2171),Be=E(9017),Je=E(85981),lt=E(63356),Ee=E(34961),je=E(16931),rt=E(51636),xt=E(36237),wt=ht=>{const{componentCls:Xt,iconCls:tn}=ht;return{[`${Xt}-wrapper`]:{[`${Xt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ht.colorFillAlter,border:`${(0,xt.unit)(ht.lineWidth)} dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[Xt]:{padding:ht.padding},[`${Xt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:ht.borderRadiusLG,"&:focus-visible":{outline:`${(0,xt.unit)(ht.lineWidthFocus)} solid ${ht.colorPrimaryBorder}`}},[`${Xt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${Xt}-disabled):hover,
|
|
|
&-hover:not(${Xt}-disabled)
|
|
|
`]:{borderColor:ht.colorPrimaryHover},[`p${Xt}-drag-icon`]:{marginBottom:ht.margin,[tn]:{color:ht.colorPrimary,fontSize:ht.uploadThumbnailSize}},[`p${Xt}-text`]:{margin:`0 0 ${(0,xt.unit)(ht.marginXXS)}`,color:ht.colorTextHeading,fontSize:ht.fontSizeLG},[`p${Xt}-hint`]:{color:ht.colorTextDescription,fontSize:ht.fontSize},[`&${Xt}-disabled`]:{[`p${Xt}-drag-icon ${tn},
|
|
|
p${Xt}-text,
|
|
|
p${Xt}-hint
|
|
|
`]:{color:ht.colorTextDisabled}}}}}},It=ht=>{const{componentCls:Xt,iconCls:tn,fontSize:dn,lineHeight:Ut,calc:jt}=ht,Gt=`${Xt}-list-item`,an=`${Gt}-actions`,zn=`${Gt}-action`;return{[`${Xt}-wrapper`]:{[`${Xt}-list`]:Object.assign(Object.assign({},(0,lt.dF)()),{lineHeight:ht.lineHeight,[Gt]:{position:"relative",height:jt(ht.lineHeight).mul(dn).equal(),marginTop:ht.marginXS,fontSize:dn,display:"flex",alignItems:"center",transition:`background-color ${ht.motionDurationSlow}`,borderRadius:ht.borderRadiusSM,"&:hover":{backgroundColor:ht.controlItemBgHover},[`${Gt}-name`]:Object.assign(Object.assign({},lt.vS),{padding:`0 ${(0,xt.unit)(ht.paddingXS)}`,lineHeight:Ut,flex:"auto",transition:`all ${ht.motionDurationSlow}`}),[an]:{whiteSpace:"nowrap",[zn]:{opacity:0},[tn]:{color:ht.actionsColor,transition:`all ${ht.motionDurationSlow}`},[`
|
|
|
${zn}:focus-visible,
|
|
|
&.picture ${zn}
|
|
|
`]:{opacity:1}},[`${Xt}-icon ${tn}`]:{color:ht.colorTextDescription,fontSize:dn},[`${Gt}-progress`]:{position:"absolute",bottom:ht.calc(ht.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:jt(dn).add(ht.paddingXS).equal(),fontSize:dn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Gt}:hover ${zn}`]:{opacity:1},[`${Gt}-error`]:{color:ht.colorError,[`${Gt}-name, ${Xt}-icon ${tn}`]:{color:ht.colorError},[an]:{[`${tn}, ${tn}:hover`]:{color:ht.colorError},[zn]:{opacity:1}}},[`${Xt}-list-item-container`]:{transition:`opacity ${ht.motionDurationSlow}, height ${ht.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Dt=E(99495),ae=ht=>{const{componentCls:Xt}=ht,tn=new xt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:ht.calc(ht.marginXS).div(-2).equal()}}),dn=new xt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:ht.calc(ht.marginXS).div(-2).equal()}}),Ut=`${Xt}-animate-inline`;return[{[`${Xt}-wrapper`]:{[`${Ut}-appear, ${Ut}-enter, ${Ut}-leave`]:{animationDuration:ht.motionDurationSlow,animationTimingFunction:ht.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Ut}-appear, ${Ut}-enter`]:{animationName:tn},[`${Ut}-leave`]:{animationName:dn}}},{[`${Xt}-wrapper`]:(0,Dt.J$)(ht)},tn,dn]},te=E(68361);const x=ht=>{const{componentCls:Xt,iconCls:tn,uploadThumbnailSize:dn,uploadProgressOffset:Ut,calc:jt}=ht,Gt=`${Xt}-list`,an=`${Gt}-item`;return{[`${Xt}-wrapper`]:{[`
|
|
|
${Gt}${Gt}-picture,
|
|
|
${Gt}${Gt}-picture-card,
|
|
|
${Gt}${Gt}-picture-circle
|
|
|
`]:{[an]:{position:"relative",height:jt(dn).add(jt(ht.lineWidth).mul(2)).add(jt(ht.paddingXS).mul(2)).equal(),padding:ht.paddingXS,border:`${(0,xt.unit)(ht.lineWidth)} ${ht.lineType} ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,"&:hover":{background:"transparent"},[`${an}-thumbnail`]:Object.assign(Object.assign({},lt.vS),{width:dn,height:dn,lineHeight:(0,xt.unit)(jt(dn).add(ht.paddingSM).equal()),textAlign:"center",flex:"none",[tn]:{fontSize:ht.fontSizeHeading2,color:ht.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${an}-progress`]:{bottom:Ut,width:`calc(100% - ${(0,xt.unit)(jt(ht.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:jt(dn).add(ht.paddingXS).equal()}},[`${an}-error`]:{borderColor:ht.colorError,[`${an}-thumbnail ${tn}`]:{[`svg path[fill='${te.blue[0]}']`]:{fill:ht.colorErrorBg},[`svg path[fill='${te.blue.primary}']`]:{fill:ht.colorError}}},[`${an}-uploading`]:{borderStyle:"dashed",[`${an}-name`]:{marginBottom:Ut}}},[`${Gt}${Gt}-picture-circle ${an}`]:{[`&, &::before, ${an}-thumbnail`]:{borderRadius:"50%"}}}}},re=ht=>{const{componentCls:Xt,iconCls:tn,fontSizeLG:dn,colorTextLightSolid:Ut,calc:jt}=ht,Gt=`${Xt}-list`,an=`${Gt}-item`,zn=ht.uploadPicCardSize;return{[`
|
|
|
${Xt}-wrapper${Xt}-picture-card-wrapper,
|
|
|
${Xt}-wrapper${Xt}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,lt.dF)()),{display:"block",[`${Xt}${Xt}-select`]:{width:zn,height:zn,textAlign:"center",verticalAlign:"top",backgroundColor:ht.colorFillAlter,border:`${(0,xt.unit)(ht.lineWidth)} dashed ${ht.colorBorder}`,borderRadius:ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${ht.motionDurationSlow}`,[`> ${Xt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Xt}-disabled):hover`]:{borderColor:ht.colorPrimary}},[`${Gt}${Gt}-picture-card, ${Gt}${Gt}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:ht.marginXS,marginInlineEnd:ht.marginXS}},"@supports (gap: 1px)":{gap:ht.marginXS},[`${Gt}-item-container`]:{display:"inline-block",width:zn,height:zn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[an]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,xt.unit)(jt(ht.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,xt.unit)(jt(ht.paddingXS).mul(2).equal())})`,backgroundColor:ht.colorBgMask,opacity:0,transition:`all ${ht.motionDurationSlow}`,content:'" "'}},[`${an}:hover`]:{[`&::before, ${an}-actions`]:{opacity:1}},[`${an}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ht.motionDurationSlow}`,[`
|
|
|
${tn}-eye,
|
|
|
${tn}-download,
|
|
|
${tn}-delete
|
|
|
`]:{zIndex:10,width:dn,margin:`0 ${(0,xt.unit)(ht.marginXXS)}`,fontSize:dn,cursor:"pointer",transition:`all ${ht.motionDurationSlow}`,color:Ut,"&:hover":{color:Ut},svg:{verticalAlign:"baseline"}}},[`${an}-thumbnail, ${an}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${an}-name`]:{display:"none",textAlign:"center"},[`${an}-file + ${an}-name`]:{position:"absolute",bottom:ht.margin,display:"block",width:`calc(100% - ${(0,xt.unit)(jt(ht.paddingXS).mul(2).equal())})`},[`${an}-uploading`]:{[`&${an}`]:{backgroundColor:ht.colorFillAlter},[`&::before, ${tn}-eye, ${tn}-download, ${tn}-delete`]:{display:"none"}},[`${an}-progress`]:{bottom:ht.marginXL,width:`calc(100% - ${(0,xt.unit)(jt(ht.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Xt}-wrapper${Xt}-picture-circle-wrapper`]:{[`${Xt}${Xt}-select`]:{borderRadius:"50%"}}}};var le=ht=>{const{componentCls:Xt}=ht;return{[`${Xt}-rtl`]:{direction:"rtl"}}};const Ie=ht=>{const{componentCls:Xt,colorTextDisabled:tn}=ht;return{[`${Xt}-wrapper`]:Object.assign(Object.assign({},(0,lt.Wf)(ht)),{[Xt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Xt}-select`]:{display:"inline-block"},[`${Xt}-hidden`]:{display:"none"},[`${Xt}-disabled`]:{color:tn,cursor:"not-allowed"}})}},Le=ht=>({actionsColor:ht.colorTextDescription});var Ye=(0,je.I$)("Upload",ht=>{const{fontSizeHeading3:Xt,fontHeight:tn,lineWidth:dn,controlHeightLG:Ut,calc:jt}=ht,Gt=(0,rt.mergeToken)(ht,{uploadThumbnailSize:jt(Xt).mul(2).equal(),uploadProgressOffset:jt(jt(tn).div(2)).add(dn).equal(),uploadPicCardSize:jt(Ut).mul(2.55).equal()});return[Ie(Gt),wt(Gt),x(Gt),re(Gt),It(Gt),ae(Gt),le(Gt),(0,Ee.Z)(Gt)]},Le),Ge={icon:function(Xt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Xt}}]}},name:"file",theme:"twotone"},it=Ge,dt=E(7657),yt=function(Xt,tn){return b.createElement(dt.Z,(0,ve.Z)({},Xt,{ref:tn,icon:it}))},ot=b.forwardRef(yt),st=ot,Vt=E(58617),kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},un=kt,$t=function(Xt,tn){return b.createElement(dt.Z,(0,ve.Z)({},Xt,{ref:tn,icon:un}))},Rt=b.forwardRef($t),Kt=Rt,qt={icon:function(Xt,tn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Xt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:tn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Xt}}]}},name:"picture",theme:"twotone"},Et=qt,Tt=function(Xt,tn){return b.createElement(dt.Z,(0,ve.Z)({},Xt,{ref:tn,icon:Et}))},on=b.forwardRef(Tt),mn=on,vt=E(77900),Mt=E(2738),Yt=E(40192),sn=E(86641),xn=E(22703),Ln=E(7939);function Xn(ht){return Object.assign(Object.assign({},ht),{lastModified:ht.lastModified,lastModifiedDate:ht.lastModifiedDate,name:ht.name,size:ht.size,type:ht.type,uid:ht.uid,percent:0,originFileObj:ht})}function Jn(ht,Xt){const tn=(0,We.Z)(Xt),dn=tn.findIndex(Ut=>{let{uid:jt}=Ut;return jt===ht.uid});return dn===-1?tn.push(ht):tn[dn]=ht,tn}function Bn(ht,Xt){const tn=ht.uid!==void 0?"uid":"name";return Xt.filter(dn=>dn[tn]===ht[tn])[0]}function Un(ht,Xt){const tn=ht.uid!==void 0?"uid":"name",dn=Xt.filter(Ut=>Ut[tn]!==ht[tn]);return dn.length===Xt.length?null:dn}const Wt=function(){const Xt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),dn=Xt[Xt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(dn)||[""])[0]},Ot=ht=>ht.indexOf("image/")===0,ln=ht=>{if(ht.type&&!ht.thumbUrl)return Ot(ht.type);const Xt=ht.thumbUrl||ht.url||"",tn=Wt(Xt);return/^data:image\//.test(Xt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tn)?!0:!(/^data:/.test(Xt)||tn)},en=200;function Jt(ht){return new Promise(Xt=>{if(!ht.type||!Ot(ht.type)){Xt("");return}const tn=document.createElement("canvas");tn.width=en,tn.height=en,tn.style.cssText=`position: fixed; left: 0; top: 0; width: ${en}px; height: ${en}px; z-index: 9999; display: none;`,document.body.appendChild(tn);const dn=tn.getContext("2d"),Ut=new Image;if(Ut.onload=()=>{const{width:jt,height:Gt}=Ut;let an=en,zn=en,Rn=0,Vn=0;jt>Gt?(zn=Gt*(en/jt),Vn=-(zn-an)/2):(an=jt*(en/Gt),Rn=-(an-zn)/2),dn.drawImage(Ut,Rn,Vn,an,zn);const Mr=tn.toDataURL();document.body.removeChild(tn),window.URL.revokeObjectURL(Ut.src),Xt(Mr)},Ut.crossOrigin="anonymous",ht.type.startsWith("image/svg+xml")){const jt=new FileReader;jt.onload=()=>{jt.result&&typeof jt.result=="string"&&(Ut.src=jt.result)},jt.readAsDataURL(ht)}else if(ht.type.startsWith("image/gif")){const jt=new FileReader;jt.onload=()=>{jt.result&&Xt(jt.result)},jt.readAsDataURL(ht)}else Ut.src=window.URL.createObjectURL(ht)})}var Sn=E(26227),yn=E(41464),Mn=E(15277),Yn=E(89787),Wn=E(25399),ar=b.forwardRef((ht,Xt)=>{let{prefixCls:tn,className:dn,style:Ut,locale:jt,listType:Gt,file:an,items:zn,progress:Rn,iconRender:Vn,actionIconRender:Mr,itemRender:zr,isImgUrl:Xr,showPreviewIcon:Pr,showRemoveIcon:gr,showDownloadIcon:Ar,previewIcon:Vr,removeIcon:ni,downloadIcon:ri,extra:ai,onPreview:Dr,onDownload:Jr,onClose:$r}=ht;var Ri,Hi;const{status:Zi}=an,[zi,Ji]=b.useState(Zi);b.useEffect(()=>{Zi!=="removed"&&Ji(Zi)},[Zi]);const[wi,Mi]=b.useState(!1);b.useEffect(()=>{const Gn=setTimeout(()=>{Mi(!0)},300);return()=>{clearTimeout(Gn)}},[]);const fi=Vn(an);let $i=b.createElement("div",{className:`${tn}-icon`},fi);if(Gt==="picture"||Gt==="picture-card"||Gt==="picture-circle")if(zi==="uploading"||!an.thumbUrl&&!an.url){const Gn=De()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:zi!=="uploading"});$i=b.createElement("div",{className:Gn},fi)}else{const Gn=Xr!=null&&Xr(an)?b.createElement("img",{src:an.thumbUrl||an.url,alt:an.name,className:`${tn}-list-item-image`,crossOrigin:an.crossOrigin}):fi,Cr=De()(`${tn}-list-item-thumbnail`,{[`${tn}-list-item-file`]:Xr&&!Xr(an)});$i=b.createElement("a",{className:Cr,onClick:Zr=>Dr(an,Zr),href:an.url||an.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Gn)}const oo=De()(`${tn}-list-item`,`${tn}-list-item-${zi}`),Ro=typeof an.linkProps=="string"?JSON.parse(an.linkProps):an.linkProps,fo=(typeof gr=="function"?gr(an):gr)?Mr((typeof ni=="function"?ni(an):ni)||b.createElement(Sn.Z,null),()=>$r(an),tn,jt.removeFile,!0):null,bo=(typeof Ar=="function"?Ar(an):Ar)&&zi==="done"?Mr((typeof ri=="function"?ri(an):ri)||b.createElement(yn.Z,null),()=>Jr(an),tn,jt.downloadFile):null,co=Gt!=="picture-card"&&Gt!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:De()(`${tn}-list-item-actions`,{picture:Gt==="picture"})},bo,fo),yo=typeof ai=="function"?ai(an):ai,Fi=yo&&b.createElement("span",{className:`${tn}-list-item-extra`},yo),Ai=De()(`${tn}-list-item-name`),Yr=an.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ai,title:an.name},Ro,{href:an.url,onClick:Gn=>Dr(an,Gn)}),an.name,Fi):b.createElement("span",{key:"view",className:Ai,onClick:Gn=>Dr(an,Gn),title:an.name},an.name,Fi),jn=(typeof Pr=="function"?Pr(an):Pr)&&(an.url||an.thumbUrl)?b.createElement("a",{href:an.url||an.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Gn=>Dr(an,Gn),title:jt.previewFile},typeof Vr=="function"?Vr(an):Vr||b.createElement(Mn.Z,null)):null,lr=(Gt==="picture-card"||Gt==="picture-circle")&&zi!=="uploading"&&b.createElement("span",{className:`${tn}-list-item-actions`},jn,zi==="done"&&bo,fo),{getPrefixCls:cr}=b.useContext(Ze.E_),Qn=cr(),Wr=b.createElement("div",{className:oo},$i,Yr,co,lr,wi&&b.createElement(vt.default,{motionName:`${Qn}-fade`,visible:zi==="uploading",motionDeadline:2e3},Gn=>{let{className:Cr}=Gn;const Zr="percent"in an?b.createElement(Yn.Z,Object.assign({},Rn,{type:"line",percent:an.percent,"aria-label":an["aria-label"],"aria-labelledby":an["aria-labelledby"]})):null;return b.createElement("div",{className:De()(`${tn}-list-item-progress`,Cr)},Zr)})),qr=an.response&&typeof an.response=="string"?an.response:((Ri=an.error)===null||Ri===void 0?void 0:Ri.statusText)||((Hi=an.error)===null||Hi===void 0?void 0:Hi.message)||jt.uploadError,ir=zi==="error"?b.createElement(Wn.Z,{title:qr,getPopupContainer:Gn=>Gn.parentNode},Wr):Wr;return b.createElement("div",{className:De()(`${tn}-list-item-container`,dn),style:Ut,ref:Xt},zr?zr(ir,an,zn,{download:Jr.bind(null,an),preview:Dr.bind(null,an),remove:$r.bind(null,an)}):ir)});const tr=(ht,Xt)=>{const{listType:tn="text",previewFile:dn=Jt,onPreview:Ut,onDownload:jt,onRemove:Gt,locale:an,iconRender:zn,isImageUrl:Rn=ln,prefixCls:Vn,items:Mr=[],showPreviewIcon:zr=!0,showRemoveIcon:Xr=!0,showDownloadIcon:Pr=!1,removeIcon:gr,previewIcon:Ar,downloadIcon:Vr,extra:ni,progress:ri={size:[-1,2],showInfo:!1},appendAction:ai,appendActionVisible:Dr=!0,itemRender:Jr,disabled:$r}=ht,Ri=(0,Yt.Z)(),[Hi,Zi]=b.useState(!1),zi=["picture-card","picture-circle"].includes(tn);b.useEffect(()=>{tn.startsWith("picture")&&(Mr||[]).forEach(Fi=>{!(Fi.originFileObj instanceof File||Fi.originFileObj instanceof Blob)||Fi.thumbUrl!==void 0||(Fi.thumbUrl="",dn==null||dn(Fi.originFileObj).then(Ai=>{Fi.thumbUrl=Ai||"",Ri()}))})},[tn,Mr,dn]),b.useEffect(()=>{Zi(!0)},[]);const Ji=(Fi,Ai)=>{if(Ut)return Ai==null||Ai.preventDefault(),Ut(Fi)},wi=Fi=>{typeof jt=="function"?jt(Fi):Fi.url&&window.open(Fi.url)},Mi=Fi=>{Gt==null||Gt(Fi)},fi=Fi=>{if(zn)return zn(Fi,tn);const Ai=Fi.status==="uploading";if(tn.startsWith("picture")){const Yr=tn==="picture"?b.createElement(Vt.Z,null):an.uploading,jn=Rn!=null&&Rn(Fi)?b.createElement(mn,null):b.createElement(st,null);return Ai?Yr:jn}return Ai?b.createElement(Vt.Z,null):b.createElement(Kt,null)},$i=(Fi,Ai,Yr,jn,lr)=>{const cr={type:"text",size:"small",title:jn,onClick:Qn=>{var Wr,qr;Ai(),b.isValidElement(Fi)&&((qr=(Wr=Fi.props).onClick)===null||qr===void 0||qr.call(Wr,Qn))},className:`${Yr}-list-item-action`};return lr&&(cr.disabled=$r),b.isValidElement(Fi)?b.createElement(Ln.ZP,Object.assign({},cr,{icon:(0,xn.Tm)(Fi,Object.assign(Object.assign({},Fi.props),{onClick:()=>{}}))})):b.createElement(Ln.ZP,Object.assign({},cr),b.createElement("span",null,Fi))};b.useImperativeHandle(Xt,()=>({handlePreview:Ji,handleDownload:wi}));const{getPrefixCls:oo}=b.useContext(Ze.E_),Ro=oo("upload",Vn),fo=oo(),bo=De()(`${Ro}-list`,`${Ro}-list-${tn}`),co=b.useMemo(()=>(0,Mt.Z)((0,sn.Z)(fo),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[fo]),yo=Object.assign(Object.assign({},zi?{}:co),{motionDeadline:2e3,motionName:`${Ro}-${zi?"animate-inline":"animate"}`,keys:(0,We.Z)(Mr.map(Fi=>({key:Fi.uid,file:Fi}))),motionAppear:Hi});return b.createElement("div",{className:bo},b.createElement(vt.CSSMotionList,Object.assign({},yo,{component:!1}),Fi=>{let{key:Ai,file:Yr,className:jn,style:lr}=Fi;return b.createElement(ar,{key:Ai,locale:an,prefixCls:Ro,className:jn,style:lr,file:Yr,items:Mr,progress:ri,listType:tn,isImgUrl:Rn,showPreviewIcon:zr,showRemoveIcon:Xr,showDownloadIcon:Pr,removeIcon:gr,previewIcon:Ar,downloadIcon:Vr,extra:ni,iconRender:fi,actionIconRender:$i,itemRender:Jr,onPreview:Ji,onDownload:wi,onClose:Mi})}),ai&&b.createElement(vt.default,Object.assign({},yo,{visible:Dr,forceRender:!0}),Fi=>{let{className:Ai,style:Yr}=Fi;return(0,xn.Tm)(ai,jn=>({className:De()(jn.className,Ai),style:Object.assign(Object.assign(Object.assign({},Yr),{pointerEvents:Ai?"none":void 0}),jn.style)}))}))};var Ir=b.forwardRef(tr),En=function(ht,Xt,tn,dn){function Ut(jt){return jt instanceof tn?jt:new tn(function(Gt){Gt(jt)})}return new(tn||(tn=Promise))(function(jt,Gt){function an(Vn){try{Rn(dn.next(Vn))}catch(Mr){Gt(Mr)}}function zn(Vn){try{Rn(dn.throw(Vn))}catch(Mr){Gt(Mr)}}function Rn(Vn){Vn.done?jt(Vn.value):Ut(Vn.value).then(an,zn)}Rn((dn=dn.apply(ht,Xt||[])).next())})};const kn=`__LIST_IGNORE_${Date.now()}__`,nr=(ht,Xt)=>{const{fileList:tn,defaultFileList:dn,onRemove:Ut,showUploadList:jt=!0,listType:Gt="text",onPreview:an,onDownload:zn,onChange:Rn,onDrop:Vn,previewFile:Mr,disabled:zr,locale:Xr,iconRender:Pr,isImageUrl:gr,progress:Ar,prefixCls:Vr,className:ni,type:ri="select",children:ai,style:Dr,itemRender:Jr,maxCount:$r,data:Ri={},multiple:Hi=!1,hasControlInside:Zi=!0,action:zi="",accept:Ji="",supportServerRender:wi=!0,rootClassName:Mi}=ht,fi=b.useContext(se.Z),$i=zr!=null?zr:fi,[oo,Ro]=(0,bt.Z)(dn||[],{value:tn,postState:Gi=>Gi!=null?Gi:[]}),[fo,bo]=b.useState("drop"),co=b.useRef(null),yo=b.useRef(null);b.useMemo(()=>{const Gi=Date.now();(tn||[]).forEach((Wo,Jo)=>{!Wo.uid&&!Object.isFrozen(Wo)&&(Wo.uid=`__AUTO__${Gi}_${Jo}__`)})},[tn]);const Fi=(Gi,Wo,Jo)=>{let ho=(0,We.Z)(Wo),Zo=!1;$r===1?ho=ho.slice(-1):$r&&(Zo=ho.length>$r,ho=ho.slice(0,$r)),(0,de.flushSync)(()=>{Ro(ho)});const Fo={file:Gi,fileList:ho};Jo&&(Fo.event=Jo),(!Zo||Gi.status==="removed"||ho.some(ka=>ka.uid===Gi.uid))&&(0,de.flushSync)(()=>{Rn==null||Rn(Fo)})},Ai=(Gi,Wo)=>En(void 0,void 0,void 0,function*(){const{beforeUpload:Jo,transformFile:ho}=ht;let Zo=Gi;if(Jo){const Fo=yield Jo(Gi,Wo);if(Fo===!1)return!1;if(delete Gi[kn],Fo===kn)return Object.defineProperty(Gi,kn,{value:!0,configurable:!0}),!1;typeof Fo=="object"&&Fo&&(Zo=Fo)}return ho&&(Zo=yield ho(Zo)),Zo}),Yr=Gi=>{const Wo=Gi.filter(Zo=>!Zo.file[kn]);if(!Wo.length)return;const Jo=Wo.map(Zo=>Xn(Zo.file));let ho=(0,We.Z)(oo);Jo.forEach(Zo=>{ho=Jn(Zo,ho)}),Jo.forEach((Zo,Fo)=>{let ka=Zo;if(Wo[Fo].parsedFile)Zo.status="uploading";else{const{originFileObj:rl}=Zo;let za;try{za=new File([rl],rl.name,{type:rl.type})}catch(Ba){za=new Blob([rl],{type:rl.type}),za.name=rl.name,za.lastModifiedDate=new Date,za.lastModified=new Date().getTime()}za.uid=Zo.uid,ka=za}Fi(ka,ho)})},jn=(Gi,Wo,Jo)=>{try{typeof Gi=="string"&&(Gi=JSON.parse(Gi))}catch(Fo){}if(!Bn(Wo,oo))return;const ho=Xn(Wo);ho.status="done",ho.percent=100,ho.response=Gi,ho.xhr=Jo;const Zo=Jn(ho,oo);Fi(ho,Zo)},lr=(Gi,Wo)=>{if(!Bn(Wo,oo))return;const Jo=Xn(Wo);Jo.status="uploading",Jo.percent=Gi.percent;const ho=Jn(Jo,oo);Fi(Jo,ho,Gi)},cr=(Gi,Wo,Jo)=>{if(!Bn(Jo,oo))return;const ho=Xn(Jo);ho.error=Gi,ho.response=Wo,ho.status="error";const Zo=Jn(ho,oo);Fi(ho,Zo)},Qn=Gi=>{let Wo;Promise.resolve(typeof Ut=="function"?Ut(Gi):Ut).then(Jo=>{var ho;if(Jo===!1)return;const Zo=Un(Gi,oo);Zo&&(Wo=Object.assign(Object.assign({},Gi),{status:"removed"}),oo==null||oo.forEach(Fo=>{const ka=Wo.uid!==void 0?"uid":"name";Fo[ka]===Wo[ka]&&!Object.isFrozen(Fo)&&(Fo.status="removed")}),(ho=co.current)===null||ho===void 0||ho.abort(Wo),Fi(Wo,Zo))})},Wr=Gi=>{bo(Gi.type),Gi.type==="drop"&&(Vn==null||Vn(Gi))};b.useImperativeHandle(Xt,()=>({onBatchStart:Yr,onSuccess:jn,onProgress:lr,onError:cr,fileList:oo,upload:co.current,nativeElement:yo.current}));const{getPrefixCls:qr,direction:ir,upload:Gn}=b.useContext(Ze.E_),Cr=qr("upload",Vr),Zr=Object.assign(Object.assign({onBatchStart:Yr,onError:cr,onProgress:lr,onSuccess:jn},ht),{data:Ri,multiple:Hi,action:zi,accept:Ji,supportServerRender:wi,prefixCls:Cr,disabled:$i,beforeUpload:Ai,onChange:void 0,hasControlInside:Zi});delete Zr.className,delete Zr.style,(!ai||$i)&&delete Zr.id;const ji=`${Cr}-wrapper`,[vo,ao,Bo]=Ye(Cr,ji),[wo]=(0,Be.Z)("Upload",Je.Z.Upload),{showRemoveIcon:Co,showPreviewIcon:ko,showDownloadIcon:Oo,removeIcon:Mo,previewIcon:ha,downloadIcon:Aa,extra:xa}=typeof jt=="boolean"?{}:jt,Ia=typeof Co=="undefined"?!$i:Co,Da=(Gi,Wo)=>jt?b.createElement(Ir,{prefixCls:Cr,listType:Gt,items:oo,previewFile:Mr,onPreview:an,onDownload:zn,onRemove:Qn,showRemoveIcon:Ia,showPreviewIcon:ko,showDownloadIcon:Oo,removeIcon:Mo,previewIcon:ha,downloadIcon:Aa,iconRender:Pr,extra:xa,locale:Object.assign(Object.assign({},wo),Xr),isImageUrl:gr,progress:Ar,appendAction:Gi,appendActionVisible:Wo,itemRender:Jr,disabled:$i}):Gi,Yi=De()(ji,ni,Mi,ao,Bo,Gn==null?void 0:Gn.className,{[`${Cr}-rtl`]:ir==="rtl",[`${Cr}-picture-card-wrapper`]:Gt==="picture-card",[`${Cr}-picture-circle-wrapper`]:Gt==="picture-circle"}),Ti=Object.assign(Object.assign({},Gn==null?void 0:Gn.style),Dr);if(ri==="drag"){const Gi=De()(ao,Cr,`${Cr}-drag`,{[`${Cr}-drag-uploading`]:oo.some(Wo=>Wo.status==="uploading"),[`${Cr}-drag-hover`]:fo==="dragover",[`${Cr}-disabled`]:$i,[`${Cr}-rtl`]:ir==="rtl"});return vo(b.createElement("span",{className:Yi,ref:yo},b.createElement("div",{className:Gi,style:Ti,onDrop:Wr,onDragOver:Wr,onDragLeave:Wr},b.createElement(at,Object.assign({},Zr,{ref:co,className:`${Cr}-btn`}),b.createElement("div",{className:`${Cr}-drag-container`},ai))),Da()))}const ea=De()(Cr,`${Cr}-select`,{[`${Cr}-disabled`]:$i,[`${Cr}-hidden`]:!ai}),ta=b.createElement("div",{className:ea},b.createElement(at,Object.assign({},Zr,{ref:co})));return vo(Gt==="picture-card"||Gt==="picture-circle"?b.createElement("span",{className:Yi,ref:yo},Da(ta,!!ai)):b.createElement("span",{className:Yi,ref:yo},ta,Da()))};var Lt=b.forwardRef(nr),Qt=function(ht,Xt){var tn={};for(var dn in ht)Object.prototype.hasOwnProperty.call(ht,dn)&&Xt.indexOf(dn)<0&&(tn[dn]=ht[dn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,dn=Object.getOwnPropertySymbols(ht);Ut<dn.length;Ut++)Xt.indexOf(dn[Ut])<0&&Object.prototype.propertyIsEnumerable.call(ht,dn[Ut])&&(tn[dn[Ut]]=ht[dn[Ut]]);return tn},Zt=b.forwardRef((ht,Xt)=>{var{style:tn,height:dn,hasControlInside:Ut=!1}=ht,jt=Qt(ht,["style","height","hasControlInside"]);return b.createElement(Lt,Object.assign({ref:Xt,hasControlInside:Ut},jt,{type:"drag",style:Object.assign(Object.assign({},tn),{height:dn})}))});const At=Lt;At.Dragger=Zt,At.LIST_IGNORE=kn;var Ht=At},86251:function(wn,zt){"use strict";zt.byteLength=ye,zt.toByteArray=xe,zt.fromByteArray=Ce;for(var E=[],b=[],We=typeof Uint8Array!="undefined"?Uint8Array:Array,de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ke=0,De=de.length;Ke<De;++Ke)E[Ke]=de[Ke],b[de.charCodeAt(Ke)]=Ke;b[45]=62,b[95]=63;function ve(Te){var we=Te.length;if(we%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Me=Te.indexOf("=");Me===-1&&(Me=we);var ge=Me===we?0:4-Me%4;return[Me,ge]}function ye(Te){var we=ve(Te),Me=we[0],ge=we[1];return(Me+ge)*3/4-ge}function fe(Te,we,Me){return(we+Me)*3/4-Me}function xe(Te){var we,Me=ve(Te),ge=Me[0],Ae=Me[1],Pe=new We(fe(Te,ge,Ae)),Re=0,tt=Ae>0?ge-4:ge,ce;for(ce=0;ce<tt;ce+=4)we=b[Te.charCodeAt(ce)]<<18|b[Te.charCodeAt(ce+1)]<<12|b[Te.charCodeAt(ce+2)]<<6|b[Te.charCodeAt(ce+3)],Pe[Re++]=we>>16&255,Pe[Re++]=we>>8&255,Pe[Re++]=we&255;return Ae===2&&(we=b[Te.charCodeAt(ce)]<<2|b[Te.charCodeAt(ce+1)]>>4,Pe[Re++]=we&255),Ae===1&&(we=b[Te.charCodeAt(ce)]<<10|b[Te.charCodeAt(ce+1)]<<4|b[Te.charCodeAt(ce+2)]>>2,Pe[Re++]=we>>8&255,Pe[Re++]=we&255),Pe}function ue(Te){return E[Te>>18&63]+E[Te>>12&63]+E[Te>>6&63]+E[Te&63]}function Fe(Te,we,Me){for(var ge,Ae=[],Pe=we;Pe<Me;Pe+=3)ge=(Te[Pe]<<16&16711680)+(Te[Pe+1]<<8&65280)+(Te[Pe+2]&255),Ae.push(ue(ge));return Ae.join("")}function Ce(Te){for(var we,Me=Te.length,ge=Me%3,Ae=[],Pe=16383,Re=0,tt=Me-ge;Re<tt;Re+=Pe)Ae.push(Fe(Te,Re,Re+Pe>tt?tt:Re+Pe));return ge===1?(we=Te[Me-1],Ae.push(E[we>>2]+E[we<<4&63]+"==")):ge===2&&(we=(Te[Me-2]<<8)+Te[Me-1],Ae.push(E[we>>10]+E[we>>4&63]+E[we<<2&63]+"=")),Ae.join("")}},19208:function(wn,zt,E){"use strict";var b;var We=E(86251),de=E(67467),Ke=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;zt.lW=fe,b=Re,zt.h2=50;var De=2147483647;b=De,fe.TYPED_ARRAY_SUPPORT=ve(),!fe.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 ve(){try{var te=new Uint8Array(1),x={foo:function(){return 42}};return Object.setPrototypeOf(x,Uint8Array.prototype),Object.setPrototypeOf(te,x),te.foo()===42}catch(re){return!1}}Object.defineProperty(fe.prototype,"parent",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.buffer}}),Object.defineProperty(fe.prototype,"offset",{enumerable:!0,get:function(){if(fe.isBuffer(this))return this.byteOffset}});function ye(te){if(te>De)throw new RangeError('The value "'+te+'" is invalid for option "size"');var x=new Uint8Array(te);return Object.setPrototypeOf(x,fe.prototype),x}function fe(te,x,re){if(typeof te=="number"){if(typeof x=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ce(te)}return xe(te,x,re)}fe.poolSize=8192;function xe(te,x,re){if(typeof te=="string")return Te(te,x);if(ArrayBuffer.isView(te))return Me(te);if(te==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof te);if(Dt(te,ArrayBuffer)||te&&Dt(te.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Dt(te,SharedArrayBuffer)||te&&Dt(te.buffer,SharedArrayBuffer)))return ge(te,x,re);if(typeof te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ne=te.valueOf&&te.valueOf();if(ne!=null&&ne!==te)return fe.from(ne,x,re);var le=Ae(te);if(le)return le;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof te[Symbol.toPrimitive]=="function")return fe.from(te[Symbol.toPrimitive]("string"),x,re);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof te)}fe.from=function(te,x,re){return xe(te,x,re)},Object.setPrototypeOf(fe.prototype,Uint8Array.prototype),Object.setPrototypeOf(fe,Uint8Array);function ue(te){if(typeof te!="number")throw new TypeError('"size" argument must be of type number');if(te<0)throw new RangeError('The value "'+te+'" is invalid for option "size"')}function Fe(te,x,re){return ue(te),te<=0?ye(te):x!==void 0?typeof re=="string"?ye(te).fill(x,re):ye(te).fill(x):ye(te)}fe.alloc=function(te,x,re){return Fe(te,x,re)};function Ce(te){return ue(te),ye(te<0?0:Pe(te)|0)}fe.allocUnsafe=function(te){return Ce(te)},fe.allocUnsafeSlow=function(te){return Ce(te)};function Te(te,x){if((typeof x!="string"||x==="")&&(x="utf8"),!fe.isEncoding(x))throw new TypeError("Unknown encoding: "+x);var re=tt(te,x)|0,ne=ye(re),le=ne.write(te,x);return le!==re&&(ne=ne.slice(0,le)),ne}function we(te){for(var x=te.length<0?0:Pe(te.length)|0,re=ye(x),ne=0;ne<x;ne+=1)re[ne]=te[ne]&255;return re}function Me(te){if(Dt(te,Uint8Array)){var x=new Uint8Array(te);return ge(x.buffer,x.byteOffset,x.byteLength)}return we(te)}function ge(te,x,re){if(x<0||te.byteLength<x)throw new RangeError('"offset" is outside of buffer bounds');if(te.byteLength<x+(re||0))throw new RangeError('"length" is outside of buffer bounds');var ne;return x===void 0&&re===void 0?ne=new Uint8Array(te):re===void 0?ne=new Uint8Array(te,x):ne=new Uint8Array(te,x,re),Object.setPrototypeOf(ne,fe.prototype),ne}function Ae(te){if(fe.isBuffer(te)){var x=Pe(te.length)|0,re=ye(x);return re.length===0||te.copy(re,0,0,x),re}if(te.length!==void 0)return typeof te.length!="number"||oe(te.length)?ye(0):we(te);if(te.type==="Buffer"&&Array.isArray(te.data))return we(te.data)}function Pe(te){if(te>=De)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+De.toString(16)+" bytes");return te|0}function Re(te){return+te!=te&&(te=0),fe.alloc(+te)}fe.isBuffer=function(x){return x!=null&&x._isBuffer===!0&&x!==fe.prototype},fe.compare=function(x,re){if(Dt(x,Uint8Array)&&(x=fe.from(x,x.offset,x.byteLength)),Dt(re,Uint8Array)&&(re=fe.from(re,re.offset,re.byteLength)),!fe.isBuffer(x)||!fe.isBuffer(re))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(x===re)return 0;for(var ne=x.length,le=re.length,Ie=0,Le=Math.min(ne,le);Ie<Le;++Ie)if(x[Ie]!==re[Ie]){ne=x[Ie],le=re[Ie];break}return ne<le?-1:le<ne?1:0},fe.isEncoding=function(x){switch(String(x).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},fe.concat=function(x,re){if(!Array.isArray(x))throw new TypeError('"list" argument must be an Array of Buffers');if(x.length===0)return fe.alloc(0);var ne;if(re===void 0)for(re=0,ne=0;ne<x.length;++ne)re+=x[ne].length;var le=fe.allocUnsafe(re),Ie=0;for(ne=0;ne<x.length;++ne){var Le=x[ne];if(Dt(Le,Uint8Array))Ie+Le.length>le.length?fe.from(Le).copy(le,Ie):Uint8Array.prototype.set.call(le,Le,Ie);else if(fe.isBuffer(Le))Le.copy(le,Ie);else throw new TypeError('"list" argument must be an Array of Buffers');Ie+=Le.length}return le};function tt(te,x){if(fe.isBuffer(te))return te.length;if(ArrayBuffer.isView(te)||Dt(te,ArrayBuffer))return te.byteLength;if(typeof te!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof te);var re=te.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&re===0)return 0;for(var le=!1;;)switch(x){case"ascii":case"latin1":case"binary":return re;case"utf8":case"utf-8":return xt(te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re*2;case"hex":return re>>>1;case"base64":return ft(te).length;default:if(le)return ne?-1:xt(te).length;x=(""+x).toLowerCase(),le=!0}}fe.byteLength=tt;function ce(te,x,re){var ne=!1;if((x===void 0||x<0)&&(x=0),x>this.length||((re===void 0||re>this.length)&&(re=this.length),re<=0)||(re>>>=0,x>>>=0,re<=x))return"";for(te||(te="utf8");;)switch(te){case"hex":return bt(this,x,re);case"utf8":case"utf-8":return pe(this,x,re);case"ascii":return $e(this,x,re);case"latin1":case"binary":return at(this,x,re);case"base64":return qe(this,x,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,x,re);default:if(ne)throw new TypeError("Unknown encoding: "+te);te=(te+"").toLowerCase(),ne=!0}}fe.prototype._isBuffer=!0;function Oe(te,x,re){var ne=te[x];te[x]=te[re],te[re]=ne}fe.prototype.swap16=function(){var x=this.length;if(x%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var re=0;re<x;re+=2)Oe(this,re,re+1);return this},fe.prototype.swap32=function(){var x=this.length;if(x%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var re=0;re<x;re+=4)Oe(this,re,re+3),Oe(this,re+1,re+2);return this},fe.prototype.swap64=function(){var x=this.length;if(x%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var re=0;re<x;re+=8)Oe(this,re,re+7),Oe(this,re+1,re+6),Oe(this,re+2,re+5),Oe(this,re+3,re+4);return this},fe.prototype.toString=function(){var x=this.length;return x===0?"":arguments.length===0?pe(this,0,x):ce.apply(this,arguments)},fe.prototype.toLocaleString=fe.prototype.toString,fe.prototype.equals=function(x){if(!fe.isBuffer(x))throw new TypeError("Argument must be a Buffer");return this===x?!0:fe.compare(this,x)===0},fe.prototype.inspect=function(){var x="",re=zt.h2;return x=this.toString("hex",0,re).replace(/(.{2})/g,"$1 ").trim(),this.length>re&&(x+=" ... "),"<Buffer "+x+">"},Ke&&(fe.prototype[Ke]=fe.prototype.inspect),fe.prototype.compare=function(x,re,ne,le,Ie){if(Dt(x,Uint8Array)&&(x=fe.from(x,x.offset,x.byteLength)),!fe.isBuffer(x))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof x);if(re===void 0&&(re=0),ne===void 0&&(ne=x?x.length:0),le===void 0&&(le=0),Ie===void 0&&(Ie=this.length),re<0||ne>x.length||le<0||Ie>this.length)throw new RangeError("out of range index");if(le>=Ie&&re>=ne)return 0;if(le>=Ie)return-1;if(re>=ne)return 1;if(re>>>=0,ne>>>=0,le>>>=0,Ie>>>=0,this===x)return 0;for(var Le=Ie-le,Ye=ne-re,Ge=Math.min(Le,Ye),it=this.slice(le,Ie),dt=x.slice(re,ne),yt=0;yt<Ge;++yt)if(it[yt]!==dt[yt]){Le=it[yt],Ye=dt[yt];break}return Le<Ye?-1:Ye<Le?1:0};function Ue(te,x,re,ne,le){if(te.length===0)return-1;if(typeof re=="string"?(ne=re,re=0):re>2147483647?re=2147483647:re<-2147483648&&(re=-2147483648),re=+re,oe(re)&&(re=le?0:te.length-1),re<0&&(re=te.length+re),re>=te.length){if(le)return-1;re=te.length-1}else if(re<0)if(le)re=0;else return-1;if(typeof x=="string"&&(x=fe.from(x,ne)),fe.isBuffer(x))return x.length===0?-1:ze(te,x,re,ne,le);if(typeof x=="number")return x=x&255,typeof Uint8Array.prototype.indexOf=="function"?le?Uint8Array.prototype.indexOf.call(te,x,re):Uint8Array.prototype.lastIndexOf.call(te,x,re):ze(te,[x],re,ne,le);throw new TypeError("val must be string, number or Buffer")}function ze(te,x,re,ne,le){var Ie=1,Le=te.length,Ye=x.length;if(ne!==void 0&&(ne=String(ne).toLowerCase(),ne==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(te.length<2||x.length<2)return-1;Ie=2,Le/=2,Ye/=2,re/=2}function Ge(st,Vt){return Ie===1?st[Vt]:st.readUInt16BE(Vt*Ie)}var it;if(le){var dt=-1;for(it=re;it<Le;it++)if(Ge(te,it)===Ge(x,dt===-1?0:it-dt)){if(dt===-1&&(dt=it),it-dt+1===Ye)return dt*Ie}else dt!==-1&&(it-=it-dt),dt=-1}else for(re+Ye>Le&&(re=Le-Ye),it=re;it>=0;it--){for(var yt=!0,ot=0;ot<Ye;ot++)if(Ge(te,it+ot)!==Ge(x,ot)){yt=!1;break}if(yt)return it}return-1}fe.prototype.includes=function(x,re,ne){return this.indexOf(x,re,ne)!==-1},fe.prototype.indexOf=function(x,re,ne){return Ue(this,x,re,ne,!0)},fe.prototype.lastIndexOf=function(x,re,ne){return Ue(this,x,re,ne,!1)};function nt(te,x,re,ne){re=Number(re)||0;var le=te.length-re;ne?(ne=Number(ne),ne>le&&(ne=le)):ne=le;var Ie=x.length;ne>Ie/2&&(ne=Ie/2);for(var Le=0;Le<ne;++Le){var Ye=parseInt(x.substr(Le*2,2),16);if(oe(Ye))return Le;te[re+Le]=Ye}return Le}function ke(te,x,re,ne){return It(xt(x,te.length-re),te,re,ne)}function Ve(te,x,re,ne){return It(ct(x),te,re,ne)}function et(te,x,re,ne){return It(ft(x),te,re,ne)}function Se(te,x,re,ne){return It(wt(x,te.length-re),te,re,ne)}fe.prototype.write=function(x,re,ne,le){if(re===void 0)le="utf8",ne=this.length,re=0;else if(ne===void 0&&typeof re=="string")le=re,ne=this.length,re=0;else if(isFinite(re))re=re>>>0,isFinite(ne)?(ne=ne>>>0,le===void 0&&(le="utf8")):(le=ne,ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ie=this.length-re;if((ne===void 0||ne>Ie)&&(ne=Ie),x.length>0&&(ne<0||re<0)||re>this.length)throw new RangeError("Attempt to write outside buffer bounds");le||(le="utf8");for(var Le=!1;;)switch(le){case"hex":return nt(this,x,re,ne);case"utf8":case"utf-8":return ke(this,x,re,ne);case"ascii":case"latin1":case"binary":return Ve(this,x,re,ne);case"base64":return et(this,x,re,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,x,re,ne);default:if(Le)throw new TypeError("Unknown encoding: "+le);le=(""+le).toLowerCase(),Le=!0}},fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function qe(te,x,re){return x===0&&re===te.length?We.fromByteArray(te):We.fromByteArray(te.slice(x,re))}function pe(te,x,re){re=Math.min(te.length,re);for(var ne=[],le=x;le<re;){var Ie=te[le],Le=null,Ye=Ie>239?4:Ie>223?3:Ie>191?2:1;if(le+Ye<=re){var Ge,it,dt,yt;switch(Ye){case 1:Ie<128&&(Le=Ie);break;case 2:Ge=te[le+1],(Ge&192)===128&&(yt=(Ie&31)<<6|Ge&63,yt>127&&(Le=yt));break;case 3:Ge=te[le+1],it=te[le+2],(Ge&192)===128&&(it&192)===128&&(yt=(Ie&15)<<12|(Ge&63)<<6|it&63,yt>2047&&(yt<55296||yt>57343)&&(Le=yt));break;case 4:Ge=te[le+1],it=te[le+2],dt=te[le+3],(Ge&192)===128&&(it&192)===128&&(dt&192)===128&&(yt=(Ie&15)<<18|(Ge&63)<<12|(it&63)<<6|dt&63,yt>65535&&yt<1114112&&(Le=yt))}}Le===null?(Le=65533,Ye=1):Le>65535&&(Le-=65536,ne.push(Le>>>10&1023|55296),Le=56320|Le&1023),ne.push(Le),le+=Ye}return gt(ne)}var be=4096;function gt(te){var x=te.length;if(x<=be)return String.fromCharCode.apply(String,te);for(var re="",ne=0;ne<x;)re+=String.fromCharCode.apply(String,te.slice(ne,ne+=be));return re}function $e(te,x,re){var ne="";re=Math.min(te.length,re);for(var le=x;le<re;++le)ne+=String.fromCharCode(te[le]&127);return ne}function at(te,x,re){var ne="";re=Math.min(te.length,re);for(var le=x;le<re;++le)ne+=String.fromCharCode(te[le]);return ne}function bt(te,x,re){var ne=te.length;(!x||x<0)&&(x=0),(!re||re<0||re>ne)&&(re=ne);for(var le="",Ie=x;Ie<re;++Ie)le+=ae[te[Ie]];return le}function Ze(te,x,re){for(var ne=te.slice(x,re),le="",Ie=0;Ie<ne.length-1;Ie+=2)le+=String.fromCharCode(ne[Ie]+ne[Ie+1]*256);return le}fe.prototype.slice=function(x,re){var ne=this.length;x=~~x,re=re===void 0?ne:~~re,x<0?(x+=ne,x<0&&(x=0)):x>ne&&(x=ne),re<0?(re+=ne,re<0&&(re=0)):re>ne&&(re=ne),re<x&&(re=x);var le=this.subarray(x,re);return Object.setPrototypeOf(le,fe.prototype),le};function se(te,x,re){if(te%1!==0||te<0)throw new RangeError("offset is not uint");if(te+x>re)throw new RangeError("Trying to access beyond buffer length")}fe.prototype.readUintLE=fe.prototype.readUIntLE=function(x,re,ne){x=x>>>0,re=re>>>0,ne||se(x,re,this.length);for(var le=this[x],Ie=1,Le=0;++Le<re&&(Ie*=256);)le+=this[x+Le]*Ie;return le},fe.prototype.readUintBE=fe.prototype.readUIntBE=function(x,re,ne){x=x>>>0,re=re>>>0,ne||se(x,re,this.length);for(var le=this[x+--re],Ie=1;re>0&&(Ie*=256);)le+=this[x+--re]*Ie;return le},fe.prototype.readUint8=fe.prototype.readUInt8=function(x,re){return x=x>>>0,re||se(x,1,this.length),this[x]},fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(x,re){return x=x>>>0,re||se(x,2,this.length),this[x]|this[x+1]<<8},fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(x,re){return x=x>>>0,re||se(x,2,this.length),this[x]<<8|this[x+1]},fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(x,re){return x=x>>>0,re||se(x,4,this.length),(this[x]|this[x+1]<<8|this[x+2]<<16)+this[x+3]*16777216},fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(x,re){return x=x>>>0,re||se(x,4,this.length),this[x]*16777216+(this[x+1]<<16|this[x+2]<<8|this[x+3])},fe.prototype.readIntLE=function(x,re,ne){x=x>>>0,re=re>>>0,ne||se(x,re,this.length);for(var le=this[x],Ie=1,Le=0;++Le<re&&(Ie*=256);)le+=this[x+Le]*Ie;return Ie*=128,le>=Ie&&(le-=Math.pow(2,8*re)),le},fe.prototype.readIntBE=function(x,re,ne){x=x>>>0,re=re>>>0,ne||se(x,re,this.length);for(var le=re,Ie=1,Le=this[x+--le];le>0&&(Ie*=256);)Le+=this[x+--le]*Ie;return Ie*=128,Le>=Ie&&(Le-=Math.pow(2,8*re)),Le},fe.prototype.readInt8=function(x,re){return x=x>>>0,re||se(x,1,this.length),this[x]&128?(255-this[x]+1)*-1:this[x]},fe.prototype.readInt16LE=function(x,re){x=x>>>0,re||se(x,2,this.length);var ne=this[x]|this[x+1]<<8;return ne&32768?ne|4294901760:ne},fe.prototype.readInt16BE=function(x,re){x=x>>>0,re||se(x,2,this.length);var ne=this[x+1]|this[x]<<8;return ne&32768?ne|4294901760:ne},fe.prototype.readInt32LE=function(x,re){return x=x>>>0,re||se(x,4,this.length),this[x]|this[x+1]<<8|this[x+2]<<16|this[x+3]<<24},fe.prototype.readInt32BE=function(x,re){return x=x>>>0,re||se(x,4,this.length),this[x]<<24|this[x+1]<<16|this[x+2]<<8|this[x+3]},fe.prototype.readFloatLE=function(x,re){return x=x>>>0,re||se(x,4,this.length),de.read(this,x,!0,23,4)},fe.prototype.readFloatBE=function(x,re){return x=x>>>0,re||se(x,4,this.length),de.read(this,x,!1,23,4)},fe.prototype.readDoubleLE=function(x,re){return x=x>>>0,re||se(x,8,this.length),de.read(this,x,!0,52,8)},fe.prototype.readDoubleBE=function(x,re){return x=x>>>0,re||se(x,8,this.length),de.read(this,x,!1,52,8)};function Be(te,x,re,ne,le,Ie){if(!fe.isBuffer(te))throw new TypeError('"buffer" argument must be a Buffer instance');if(x>le||x<Ie)throw new RangeError('"value" argument is out of bounds');if(re+ne>te.length)throw new RangeError("Index out of range")}fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(x,re,ne,le){if(x=+x,re=re>>>0,ne=ne>>>0,!le){var Ie=Math.pow(2,8*ne)-1;Be(this,x,re,ne,Ie,0)}var Le=1,Ye=0;for(this[re]=x&255;++Ye<ne&&(Le*=256);)this[re+Ye]=x/Le&255;return re+ne},fe.prototype.writeUintBE=fe.prototype.writeUIntBE=function(x,re,ne,le){if(x=+x,re=re>>>0,ne=ne>>>0,!le){var Ie=Math.pow(2,8*ne)-1;Be(this,x,re,ne,Ie,0)}var Le=ne-1,Ye=1;for(this[re+Le]=x&255;--Le>=0&&(Ye*=256);)this[re+Le]=x/Ye&255;return re+ne},fe.prototype.writeUint8=fe.prototype.writeUInt8=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,1,255,0),this[re]=x&255,re+1},fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,2,65535,0),this[re]=x&255,this[re+1]=x>>>8,re+2},fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,2,65535,0),this[re]=x>>>8,this[re+1]=x&255,re+2},fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,4,4294967295,0),this[re+3]=x>>>24,this[re+2]=x>>>16,this[re+1]=x>>>8,this[re]=x&255,re+4},fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,4,4294967295,0),this[re]=x>>>24,this[re+1]=x>>>16,this[re+2]=x>>>8,this[re+3]=x&255,re+4},fe.prototype.writeIntLE=function(x,re,ne,le){if(x=+x,re=re>>>0,!le){var Ie=Math.pow(2,8*ne-1);Be(this,x,re,ne,Ie-1,-Ie)}var Le=0,Ye=1,Ge=0;for(this[re]=x&255;++Le<ne&&(Ye*=256);)x<0&&Ge===0&&this[re+Le-1]!==0&&(Ge=1),this[re+Le]=(x/Ye>>0)-Ge&255;return re+ne},fe.prototype.writeIntBE=function(x,re,ne,le){if(x=+x,re=re>>>0,!le){var Ie=Math.pow(2,8*ne-1);Be(this,x,re,ne,Ie-1,-Ie)}var Le=ne-1,Ye=1,Ge=0;for(this[re+Le]=x&255;--Le>=0&&(Ye*=256);)x<0&&Ge===0&&this[re+Le+1]!==0&&(Ge=1),this[re+Le]=(x/Ye>>0)-Ge&255;return re+ne},fe.prototype.writeInt8=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,1,127,-128),x<0&&(x=255+x+1),this[re]=x&255,re+1},fe.prototype.writeInt16LE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,2,32767,-32768),this[re]=x&255,this[re+1]=x>>>8,re+2},fe.prototype.writeInt16BE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,2,32767,-32768),this[re]=x>>>8,this[re+1]=x&255,re+2},fe.prototype.writeInt32LE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,4,2147483647,-2147483648),this[re]=x&255,this[re+1]=x>>>8,this[re+2]=x>>>16,this[re+3]=x>>>24,re+4},fe.prototype.writeInt32BE=function(x,re,ne){return x=+x,re=re>>>0,ne||Be(this,x,re,4,2147483647,-2147483648),x<0&&(x=4294967295+x+1),this[re]=x>>>24,this[re+1]=x>>>16,this[re+2]=x>>>8,this[re+3]=x&255,re+4};function Je(te,x,re,ne,le,Ie){if(re+ne>te.length)throw new RangeError("Index out of range");if(re<0)throw new RangeError("Index out of range")}function lt(te,x,re,ne,le){return x=+x,re=re>>>0,le||Je(te,x,re,4,34028234663852886e22,-34028234663852886e22),de.write(te,x,re,ne,23,4),re+4}fe.prototype.writeFloatLE=function(x,re,ne){return lt(this,x,re,!0,ne)},fe.prototype.writeFloatBE=function(x,re,ne){return lt(this,x,re,!1,ne)};function Ee(te,x,re,ne,le){return x=+x,re=re>>>0,le||Je(te,x,re,8,17976931348623157e292,-17976931348623157e292),de.write(te,x,re,ne,52,8),re+8}fe.prototype.writeDoubleLE=function(x,re,ne){return Ee(this,x,re,!0,ne)},fe.prototype.writeDoubleBE=function(x,re,ne){return Ee(this,x,re,!1,ne)},fe.prototype.copy=function(x,re,ne,le){if(!fe.isBuffer(x))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),!le&&le!==0&&(le=this.length),re>=x.length&&(re=x.length),re||(re=0),le>0&&le<ne&&(le=ne),le===ne||x.length===0||this.length===0)return 0;if(re<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("sourceEnd out of bounds");le>this.length&&(le=this.length),x.length-re<le-ne&&(le=x.length-re+ne);var Ie=le-ne;return this===x&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(re,ne,le):Uint8Array.prototype.set.call(x,this.subarray(ne,le),re),Ie},fe.prototype.fill=function(x,re,ne,le){if(typeof x=="string"){if(typeof re=="string"?(le=re,re=0,ne=this.length):typeof ne=="string"&&(le=ne,ne=this.length),le!==void 0&&typeof le!="string")throw new TypeError("encoding must be a string");if(typeof le=="string"&&!fe.isEncoding(le))throw new TypeError("Unknown encoding: "+le);if(x.length===1){var Ie=x.charCodeAt(0);(le==="utf8"&&Ie<128||le==="latin1")&&(x=Ie)}}else typeof x=="number"?x=x&255:typeof x=="boolean"&&(x=Number(x));if(re<0||this.length<re||this.length<ne)throw new RangeError("Out of range index");if(ne<=re)return this;re=re>>>0,ne=ne===void 0?this.length:ne>>>0,x||(x=0);var Le;if(typeof x=="number")for(Le=re;Le<ne;++Le)this[Le]=x;else{var Ye=fe.isBuffer(x)?x:fe.from(x,le),Ge=Ye.length;if(Ge===0)throw new TypeError('The value "'+x+'" is invalid for argument "value"');for(Le=0;Le<ne-re;++Le)this[Le+re]=Ye[Le%Ge]}return this};var je=/[^+/0-9A-Za-z-_]/g;function rt(te){if(te=te.split("=")[0],te=te.trim().replace(je,""),te.length<2)return"";for(;te.length%4!==0;)te=te+"=";return te}function xt(te,x){x=x||1/0;for(var re,ne=te.length,le=null,Ie=[],Le=0;Le<ne;++Le){if(re=te.charCodeAt(Le),re>55295&&re<57344){if(!le){if(re>56319){(x-=3)>-1&&Ie.push(239,191,189);continue}else if(Le+1===ne){(x-=3)>-1&&Ie.push(239,191,189);continue}le=re;continue}if(re<56320){(x-=3)>-1&&Ie.push(239,191,189),le=re;continue}re=(le-55296<<10|re-56320)+65536}else le&&(x-=3)>-1&&Ie.push(239,191,189);if(le=null,re<128){if((x-=1)<0)break;Ie.push(re)}else if(re<2048){if((x-=2)<0)break;Ie.push(re>>6|192,re&63|128)}else if(re<65536){if((x-=3)<0)break;Ie.push(re>>12|224,re>>6&63|128,re&63|128)}else if(re<1114112){if((x-=4)<0)break;Ie.push(re>>18|240,re>>12&63|128,re>>6&63|128,re&63|128)}else throw new Error("Invalid code point")}return Ie}function ct(te){for(var x=[],re=0;re<te.length;++re)x.push(te.charCodeAt(re)&255);return x}function wt(te,x){for(var re,ne,le,Ie=[],Le=0;Le<te.length&&!((x-=2)<0);++Le)re=te.charCodeAt(Le),ne=re>>8,le=re%256,Ie.push(le),Ie.push(ne);return Ie}function ft(te){return We.toByteArray(rt(te))}function It(te,x,re,ne){for(var le=0;le<ne&&!(le+re>=x.length||le>=te.length);++le)x[le+re]=te[le];return le}function Dt(te,x){return te instanceof x||te!=null&&te.constructor!=null&&te.constructor.name!=null&&te.constructor.name===x.name}function oe(te){return te!==te}var ae=function(){for(var te="0123456789abcdef",x=new Array(256),re=0;re<16;++re)for(var ne=re*16,le=0;le<16;++le)x[ne+le]=te[re]+te[le];return x}()},99498:function(wn,zt,E){(function(b){b(E(89780))})(function(b){b.defineOption("placeholder","",function(fe,xe,ue){var Fe=ue&&ue!=b.Init;if(xe&&!Fe)fe.on("blur",De),fe.on("change",ve),fe.on("swapDoc",ve),b.on(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose=function(){Ke(fe)}),ve(fe);else if(!xe&&Fe){fe.off("blur",De),fe.off("change",ve),fe.off("swapDoc",ve),b.off(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose),We(fe);var Ce=fe.getWrapperElement();Ce.className=Ce.className.replace(" CodeMirror-empty","")}xe&&!fe.hasFocus()&&De(fe)});function We(fe){fe.state.placeholder&&(fe.state.placeholder.parentNode.removeChild(fe.state.placeholder),fe.state.placeholder=null)}function de(fe){We(fe);var xe=fe.state.placeholder=document.createElement("pre");xe.style.cssText="height: 0; overflow: visible",xe.style.direction=fe.getOption("direction"),xe.className="CodeMirror-placeholder CodeMirror-line-like";var ue=fe.getOption("placeholder");typeof ue=="string"&&(ue=document.createTextNode(ue)),xe.appendChild(ue),fe.display.lineSpace.insertBefore(xe,fe.display.lineSpace.firstChild)}function Ke(fe){setTimeout(function(){var xe=!1,ue=fe.getInputField();ue.nodeName=="TEXTAREA"?xe=!ue.value:fe.lineCount()==1&&(xe=!/[^\u200b]/.test(ue.querySelector(".CodeMirror-line").textContent)),xe?de(fe):We(fe)},20)}function De(fe){ye(fe)&&de(fe)}function ve(fe){var xe=fe.getWrapperElement(),ue=ye(fe);xe.className=xe.className.replace(" CodeMirror-empty","")+(ue?" CodeMirror-empty":""),ue?de(fe):We(fe)}function ye(fe){return fe.lineCount()===1&&fe.getLine(0)===""}})},25717:function(wn,zt,E){(function(b){b(E(89780))})(function(b){var We={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},de=b.Pos;b.defineOption("autoCloseBrackets",!1,function(Me,ge,Ae){Ae&&Ae!=b.Init&&(Me.removeKeyMap(De),Me.state.closeBrackets=null),ge&&(ve(Ke(ge,"pairs")),Me.state.closeBrackets=ge,Me.addKeyMap(De))});function Ke(Me,ge){return ge=="pairs"&&typeof Me=="string"?Me:typeof Me=="object"&&Me[ge]!=null?Me[ge]:We[ge]}var De={Backspace:xe,Enter:ue};function ve(Me){for(var ge=0;ge<Me.length;ge++){var Ae=Me.charAt(ge),Pe="'"+Ae+"'";De[Pe]||(De[Pe]=ye(Ae))}}ve(We.pairs+"`");function ye(Me){return function(ge){return Ce(ge,Me)}}function fe(Me){var ge=Me.state.closeBrackets;if(!ge||ge.override)return ge;var Ae=Me.getModeAt(Me.getCursor());return Ae.closeBrackets||ge}function xe(Me){var ge=fe(Me);if(!ge||Me.getOption("disableInput"))return b.Pass;for(var Ae=Ke(ge,"pairs"),Pe=Me.listSelections(),Re=0;Re<Pe.length;Re++){if(!Pe[Re].empty())return b.Pass;var tt=Te(Me,Pe[Re].head);if(!tt||Ae.indexOf(tt)%2!=0)return b.Pass}for(var Re=Pe.length-1;Re>=0;Re--){var ce=Pe[Re].head;Me.replaceRange("",de(ce.line,ce.ch-1),de(ce.line,ce.ch+1),"+delete")}}function ue(Me){var ge=fe(Me),Ae=ge&&Ke(ge,"explode");if(!Ae||Me.getOption("disableInput"))return b.Pass;for(var Pe=Me.listSelections(),Re=0;Re<Pe.length;Re++){if(!Pe[Re].empty())return b.Pass;var tt=Te(Me,Pe[Re].head);if(!tt||Ae.indexOf(tt)%2!=0)return b.Pass}Me.operation(function(){var ce=Me.lineSeparator()||`
|
|
|
`;Me.replaceSelection(ce+ce,null),Me.execCommand("goCharLeft"),Pe=Me.listSelections();for(var Oe=0;Oe<Pe.length;Oe++){var Ue=Pe[Oe].head.line;Me.indentLine(Ue,null,!0),Me.indentLine(Ue+1,null,!0)}})}function Fe(Me){var ge=b.cmpPos(Me.anchor,Me.head)>0;return{anchor:new de(Me.anchor.line,Me.anchor.ch+(ge?-1:1)),head:new de(Me.head.line,Me.head.ch+(ge?1:-1))}}function Ce(Me,ge){var Ae=fe(Me);if(!Ae||Me.getOption("disableInput"))return b.Pass;var Pe=Ke(Ae,"pairs"),Re=Pe.indexOf(ge);if(Re==-1)return b.Pass;for(var tt=Ke(Ae,"closeBefore"),ce=Ke(Ae,"triples"),Oe=Pe.charAt(Re+1)==ge,Ue=Me.listSelections(),ze=Re%2==0,nt,ke=0;ke<Ue.length;ke++){var Ve=Ue[ke],et=Ve.head,Se,qe=Me.getRange(et,de(et.line,et.ch+1));if(ze&&!Ve.empty())Se="surround";else if((Oe||!ze)&&qe==ge)Oe&&we(Me,et)?Se="both":ce.indexOf(ge)>=0&&Me.getRange(et,de(et.line,et.ch+3))==ge+ge+ge?Se="skipThree":Se="skip";else if(Oe&&et.ch>1&&ce.indexOf(ge)>=0&&Me.getRange(de(et.line,et.ch-2),et)==ge+ge){if(et.ch>2&&/\bstring/.test(Me.getTokenTypeAt(de(et.line,et.ch-2))))return b.Pass;Se="addFour"}else if(Oe){var pe=et.ch==0?" ":Me.getRange(de(et.line,et.ch-1),et);if(!b.isWordChar(qe)&&pe!=ge&&!b.isWordChar(pe))Se="both";else return b.Pass}else if(ze&&(qe.length===0||/\s/.test(qe)||tt.indexOf(qe)>-1))Se="both";else return b.Pass;if(!nt)nt=Se;else if(nt!=Se)return b.Pass}var be=Re%2?Pe.charAt(Re-1):ge,gt=Re%2?ge:Pe.charAt(Re+1);Me.operation(function(){if(nt=="skip")Me.execCommand("goCharRight");else if(nt=="skipThree")for(var $e=0;$e<3;$e++)Me.execCommand("goCharRight");else if(nt=="surround"){for(var at=Me.getSelections(),$e=0;$e<at.length;$e++)at[$e]=be+at[$e]+gt;Me.replaceSelections(at,"around"),at=Me.listSelections().slice();for(var $e=0;$e<at.length;$e++)at[$e]=Fe(at[$e]);Me.setSelections(at)}else nt=="both"?(Me.replaceSelection(be+gt,null),Me.triggerElectric(be+gt),Me.execCommand("goCharLeft")):nt=="addFour"&&(Me.replaceSelection(be+be+be+be,"before"),Me.execCommand("goCharRight"))})}function Te(Me,ge){var Ae=Me.getRange(de(ge.line,ge.ch-1),de(ge.line,ge.ch+1));return Ae.length==2?Ae:null}function we(Me,ge){var Ae=Me.getTokenAt(de(ge.line,ge.ch+1));return/\bstring/.test(Ae.type)&&Ae.start==ge.ch&&(ge.ch==0||!/\bstring/.test(Me.getTokenTypeAt(ge)))}})},6313:function(wn,zt,E){(function(b){b(E(89780),E(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(xe,ue,Fe){if(Fe!=b.Init&&Fe&&xe.removeKeyMap("autoCloseTags"),!!ue){var Ce={name:"autoCloseTags"};(typeof ue!="object"||ue.whenClosing!==!1)&&(Ce["'/'"]=function(Te){return ve(Te)}),(typeof ue!="object"||ue.whenOpening!==!1)&&(Ce["'>'"]=function(Te){return Ke(Te)}),xe.addKeyMap(Ce)}});var We=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],de=["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 Ke(xe){if(xe.getOption("disableInput"))return b.Pass;for(var ue=xe.listSelections(),Fe=[],Ce=xe.getOption("autoCloseTags"),Te=0;Te<ue.length;Te++){if(!ue[Te].empty())return b.Pass;var we=ue[Te].head,Me=xe.getTokenAt(we),ge=b.innerMode(xe.getMode(),Me.state),Ae=ge.state,Pe=ge.mode.xmlCurrentTag&&ge.mode.xmlCurrentTag(Ae),Re=Pe&&Pe.name;if(!Re)return b.Pass;var tt=ge.mode.configuration=="html",ce=typeof Ce=="object"&&Ce.dontCloseTags||tt&&We,Oe=typeof Ce=="object"&&Ce.indentTags||tt&&de;Me.end>we.ch&&(Re=Re.slice(0,Re.length-Me.end+we.ch));var Ue=Re.toLowerCase();if(!Re||Me.type=="string"&&(Me.end!=we.ch||!/[\"\']/.test(Me.string.charAt(Me.string.length-1))||Me.string.length==1)||Me.type=="tag"&&Pe.close||Me.string.indexOf("/")==we.ch-Me.start-1||ce&&ye(ce,Ue)>-1||fe(xe,ge.mode.xmlCurrentContext&&ge.mode.xmlCurrentContext(Ae)||[],Re,we,!0))return b.Pass;var ze=typeof Ce=="object"&&Ce.emptyTags;if(ze&&ye(ze,Re)>-1){Fe[Te]={text:"/>",newPos:b.Pos(we.line,we.ch+2)};continue}var nt=Oe&&ye(Oe,Ue)>-1;Fe[Te]={indent:nt,text:">"+(nt?`
|
|
|
|
|
|
`:"")+"</"+Re+">",newPos:nt?b.Pos(we.line+1,0):b.Pos(we.line,we.ch+1)}}for(var ke=typeof Ce=="object"&&Ce.dontIndentOnAutoClose,Te=ue.length-1;Te>=0;Te--){var Ve=Fe[Te];xe.replaceRange(Ve.text,ue[Te].head,ue[Te].anchor,"+insert");var et=xe.listSelections().slice(0);et[Te]={head:Ve.newPos,anchor:Ve.newPos},xe.setSelections(et),!ke&&Ve.indent&&(xe.indentLine(Ve.newPos.line,null,!0),xe.indentLine(Ve.newPos.line+1,null,!0))}}function De(xe,ue){for(var Fe=xe.listSelections(),Ce=[],Te=ue?"/":"</",we=xe.getOption("autoCloseTags"),Me=typeof we=="object"&&we.dontIndentOnSlash,ge=0;ge<Fe.length;ge++){if(!Fe[ge].empty())return b.Pass;var Ae=Fe[ge].head,Pe=xe.getTokenAt(Ae),Re=b.innerMode(xe.getMode(),Pe.state),tt=Re.state;if(ue&&(Pe.type=="string"||Pe.string.charAt(0)!="<"||Pe.start!=Ae.ch-1))return b.Pass;var ce,Oe=Re.mode.name!="xml"&&xe.getMode().name=="htmlmixed";if(Oe&&Re.mode.name=="javascript")ce=Te+"script";else if(Oe&&Re.mode.name=="css")ce=Te+"style";else{var Ue=Re.mode.xmlCurrentContext&&Re.mode.xmlCurrentContext(tt);if(!Ue||Ue.length&&fe(xe,Ue,Ue[Ue.length-1],Ae))return b.Pass;ce=Te+Ue[Ue.length-1]}xe.getLine(Ae.line).charAt(Pe.end)!=">"&&(ce+=">"),Ce[ge]=ce}if(xe.replaceSelections(Ce),Fe=xe.listSelections(),!Me)for(var ge=0;ge<Fe.length;ge++)(ge==Fe.length-1||Fe[ge].head.line<Fe[ge+1].head.line)&&xe.indentLine(Fe[ge].head.line)}function ve(xe){return xe.getOption("disableInput")?b.Pass:De(xe,!0)}b.commands.closeTag=function(xe){return De(xe)};function ye(xe,ue){if(xe.indexOf)return xe.indexOf(ue);for(var Fe=0,Ce=xe.length;Fe<Ce;++Fe)if(xe[Fe]==ue)return Fe;return-1}function fe(xe,ue,Fe,Ce,Te){if(!b.scanForClosingTag)return!1;var we=Math.min(xe.lastLine()+1,Ce.line+500),Me=b.scanForClosingTag(xe,Ce,null,we);if(!Me||Me.tag!=Fe)return!1;for(var ge=Te?1:0,Ae=ue.length-1;Ae>=0&&ue[Ae]==Fe;Ae--)++ge;Ce=Me.to;for(var Ae=1;Ae<ge;Ae++){var Pe=b.scanForClosingTag(xe,Ce,null,we);if(!Pe||Pe.tag!=Fe)return!1;Ce=Pe.to}return!0}})},32855:function(wn,zt,E){(function(b){b(E(89780))})(function(b){"use strict";var We=b.Pos;function de(Ae,Pe){return Ae.line-Pe.line||Ae.ch-Pe.ch}var Ke="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",De=Ke+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("<(/?)(["+Ke+"]["+De+"]*)","g");function ye(Ae,Pe,Re,tt){this.line=Pe,this.ch=Re,this.cm=Ae,this.text=Ae.getLine(Pe),this.min=tt?Math.max(tt.from,Ae.firstLine()):Ae.firstLine(),this.max=tt?Math.min(tt.to-1,Ae.lastLine()):Ae.lastLine()}function fe(Ae,Pe){var Re=Ae.cm.getTokenTypeAt(We(Ae.line,Pe));return Re&&/\btag\b/.test(Re)}function xe(Ae){if(!(Ae.line>=Ae.max))return Ae.ch=0,Ae.text=Ae.cm.getLine(++Ae.line),!0}function ue(Ae){if(!(Ae.line<=Ae.min))return Ae.text=Ae.cm.getLine(--Ae.line),Ae.ch=Ae.text.length,!0}function Fe(Ae){for(;;){var Pe=Ae.text.indexOf(">",Ae.ch);if(Pe==-1){if(xe(Ae))continue;return}if(!fe(Ae,Pe+1)){Ae.ch=Pe+1;continue}var Re=Ae.text.lastIndexOf("/",Pe),tt=Re>-1&&!/\S/.test(Ae.text.slice(Re+1,Pe));return Ae.ch=Pe+1,tt?"selfClose":"regular"}}function Ce(Ae){for(;;){var Pe=Ae.ch?Ae.text.lastIndexOf("<",Ae.ch-1):-1;if(Pe==-1){if(ue(Ae))continue;return}if(!fe(Ae,Pe+1)){Ae.ch=Pe;continue}ve.lastIndex=Pe,Ae.ch=Pe;var Re=ve.exec(Ae.text);if(Re&&Re.index==Pe)return Re}}function Te(Ae){for(;;){ve.lastIndex=Ae.ch;var Pe=ve.exec(Ae.text);if(!Pe){if(xe(Ae))continue;return}if(!fe(Ae,Pe.index+1)){Ae.ch=Pe.index+1;continue}return Ae.ch=Pe.index+Pe[0].length,Pe}}function we(Ae){for(;;){var Pe=Ae.ch?Ae.text.lastIndexOf(">",Ae.ch-1):-1;if(Pe==-1){if(ue(Ae))continue;return}if(!fe(Ae,Pe+1)){Ae.ch=Pe;continue}var Re=Ae.text.lastIndexOf("/",Pe),tt=Re>-1&&!/\S/.test(Ae.text.slice(Re+1,Pe));return Ae.ch=Pe+1,tt?"selfClose":"regular"}}function Me(Ae,Pe){for(var Re=[];;){var tt=Te(Ae),ce,Oe=Ae.line,Ue=Ae.ch-(tt?tt[0].length:0);if(!tt||!(ce=Fe(Ae)))return;if(ce!="selfClose")if(tt[1]){for(var ze=Re.length-1;ze>=0;--ze)if(Re[ze]==tt[2]){Re.length=ze;break}if(ze<0&&(!Pe||Pe==tt[2]))return{tag:tt[2],from:We(Oe,Ue),to:We(Ae.line,Ae.ch)}}else Re.push(tt[2])}}function ge(Ae,Pe){for(var Re=[];;){var tt=we(Ae);if(!tt)return;if(tt=="selfClose"){Ce(Ae);continue}var ce=Ae.line,Oe=Ae.ch,Ue=Ce(Ae);if(!Ue)return;if(Ue[1])Re.push(Ue[2]);else{for(var ze=Re.length-1;ze>=0;--ze)if(Re[ze]==Ue[2]){Re.length=ze;break}if(ze<0&&(!Pe||Pe==Ue[2]))return{tag:Ue[2],from:We(Ae.line,Ae.ch),to:We(ce,Oe)}}}}b.registerHelper("fold","xml",function(Ae,Pe){for(var Re=new ye(Ae,Pe.line,0);;){var tt=Te(Re);if(!tt||Re.line!=Pe.line)return;var ce=Fe(Re);if(!ce)return;if(!tt[1]&&ce!="selfClose"){var Oe=We(Re.line,Re.ch),Ue=Me(Re,tt[2]);return Ue&&de(Ue.from,Oe)>0?{from:Oe,to:Ue.from}:null}}}),b.findMatchingTag=function(Ae,Pe,Re){var tt=new ye(Ae,Pe.line,Pe.ch,Re);if(!(tt.text.indexOf(">")==-1&&tt.text.indexOf("<")==-1)){var ce=Fe(tt),Oe=ce&&We(tt.line,tt.ch),Ue=ce&&Ce(tt);if(!(!ce||!Ue||de(tt,Pe)>0)){var ze={from:We(tt.line,tt.ch),to:Oe,tag:Ue[2]};return ce=="selfClose"?{open:ze,close:null,at:"open"}:Ue[1]?{open:ge(tt,Ue[2]),close:ze,at:"close"}:(tt=new ye(Ae,Oe.line,Oe.ch,Re),{open:ze,close:Me(tt,Ue[2]),at:"open"})}}},b.findEnclosingTag=function(Ae,Pe,Re,tt){for(var ce=new ye(Ae,Pe.line,Pe.ch,Re);;){var Oe=ge(ce,tt);if(!Oe)break;var Ue=new ye(Ae,Pe.line,Pe.ch,Re),ze=Me(Ue,Oe.tag);if(ze)return{open:Oe,close:ze}}},b.scanForClosingTag=function(Ae,Pe,Re,tt){var ce=new ye(Ae,Pe.line,Pe.ch,tt?{from:0,to:tt}:null);return Me(ce,Re)}})},89780:function(wn){(function(zt,E){wn.exports=E()})(this,function(){"use strict";var zt=navigator.userAgent,E=navigator.platform,b=/gecko\/\d/i.test(zt),We=/MSIE \d/.test(zt),de=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(zt),Ke=/Edge\/(\d+)/.exec(zt),De=We||de||Ke,ve=De&&(We?document.documentMode||6:+(Ke||de)[1]),ye=!Ke&&/WebKit\//.test(zt),fe=ye&&/Qt\/\d+\.\d+/.test(zt),xe=!Ke&&/Chrome\//.test(zt),ue=/Opera\//.test(zt),Fe=/Apple Computer/.test(navigator.vendor),Ce=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(zt),Te=/PhantomJS/.test(zt),we=!Ke&&/AppleWebKit/.test(zt)&&/Mobile\/\w+/.test(zt),Me=/Android/.test(zt),ge=we||Me||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(zt),Ae=we||/Mac/.test(E),Pe=/\bCrOS\b/.test(zt),Re=/win/i.test(E),tt=ue&&zt.match(/Version\/(\d*\.\d*)/);tt&&(tt=Number(tt[1])),tt&&tt>=15&&(ue=!1,ye=!0);var ce=Ae&&(fe||ue&&(tt==null||tt<12.11)),Oe=b||De&&ve>=9;function Ue(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var ze=function(a,y){var ee=a.className,z=Ue(y).exec(ee);if(z){var ie=ee.slice(z.index+z[0].length);a.className=ee.slice(0,z.index)+(ie?z[1]+ie:"")}};function nt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function ke(a,y){return nt(a).appendChild(y)}function Ve(a,y,ee,z){var ie=document.createElement(a);if(ee&&(ie.className=ee),z&&(ie.style.cssText=z),typeof y=="string")ie.appendChild(document.createTextNode(y));else if(y)for(var he=0;he<y.length;++he)ie.appendChild(y[he]);return ie}function et(a,y,ee,z){var ie=Ve(a,y,ee,z);return ie.setAttribute("role","presentation"),ie}var Se;document.createRange?Se=function(a,y,ee,z){var ie=document.createRange();return ie.setEnd(z||a,ee),ie.setStart(a,y),ie}:Se=function(a,y,ee){var z=document.body.createTextRange();try{z.moveToElementText(a.parentNode)}catch(ie){return z}return z.collapse(!0),z.moveEnd("character",ee),z.moveStart("character",y),z};function qe(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function pe(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function be(a,y){var ee=a.className;Ue(y).test(ee)||(a.className+=(ee?" ":"")+y)}function gt(a,y){for(var ee=a.split(" "),z=0;z<ee.length;z++)ee[z]&&!Ue(ee[z]).test(y)&&(y+=" "+ee[z]);return y}var $e=function(a){a.select()};we?$e=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:De&&($e=function(a){try{a.select()}catch(y){}});function at(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function bt(a,y,ee){y||(y={});for(var z in a)a.hasOwnProperty(z)&&(ee!==!1||!y.hasOwnProperty(z))&&(y[z]=a[z]);return y}function Ze(a,y,ee,z,ie){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var he=z||0,Ne=ie||0;;){var Qe=a.indexOf(" ",he);if(Qe<0||Qe>=y)return Ne+(y-he);Ne+=Qe-he,Ne+=ee-Ne%ee,he=Qe+1}}var se=function(){this.id=null,this.f=null,this.time=0,this.handler=at(this.onTimeout,this)};se.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},se.prototype.set=function(a,y){this.f=y;var ee=+new Date+a;(!this.id||ee<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=ee)};function Be(a,y){for(var ee=0;ee<a.length;++ee)if(a[ee]==y)return ee;return-1}var Je=50,lt={toString:function(){return"CodeMirror.Pass"}},Ee={scroll:!1},je={origin:"*mouse"},rt={origin:"+move"};function xt(a,y,ee){for(var z=0,ie=0;;){var he=a.indexOf(" ",z);he==-1&&(he=a.length);var Ne=he-z;if(he==a.length||ie+Ne>=y)return z+Math.min(Ne,y-ie);if(ie+=he-z,ie+=ee-ie%ee,z=he+1,ie>=y)return z}}var ct=[""];function wt(a){for(;ct.length<=a;)ct.push(ft(ct)+" ");return ct[a]}function ft(a){return a[a.length-1]}function It(a,y){for(var ee=[],z=0;z<a.length;z++)ee[z]=y(a[z],z);return ee}function Dt(a,y,ee){for(var z=0,ie=ee(y);z<a.length&&ee(a[z])<=ie;)z++;a.splice(z,0,y)}function oe(){}function ae(a,y){var ee;return Object.create?ee=Object.create(a):(oe.prototype=a,ee=new oe),y&&bt(y,ee),ee}var te=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function x(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||te.test(a))}function re(a,y){return y?y.source.indexOf("\\w")>-1&&x(a)?!0:y.test(a):x(a)}function ne(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var le=/[\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 Ie(a){return a.charCodeAt(0)>=768&&le.test(a)}function Le(a,y,ee){for(;(ee<0?y>0:y<a.length)&&Ie(a.charAt(y));)y+=ee;return y}function Ye(a,y,ee){for(var z=y>ee?-1:1;;){if(y==ee)return y;var ie=(y+ee)/2,he=z<0?Math.ceil(ie):Math.floor(ie);if(he==y)return a(he)?y:ee;a(he)?ee=he:y=he+z}}function Ge(a,y,ee,z){if(!a)return z(y,ee,"ltr",0);for(var ie=!1,he=0;he<a.length;++he){var Ne=a[he];(Ne.from<ee&&Ne.to>y||y==ee&&Ne.to==y)&&(z(Math.max(Ne.from,y),Math.min(Ne.to,ee),Ne.level==1?"rtl":"ltr",he),ie=!0)}ie||z(y,ee,"ltr")}var it=null;function dt(a,y,ee){var z;it=null;for(var ie=0;ie<a.length;++ie){var he=a[ie];if(he.from<y&&he.to>y)return ie;he.to==y&&(he.from!=he.to&&ee=="before"?z=ie:it=ie),he.from==y&&(he.from!=he.to&&ee!="before"?z=ie:it=ie)}return z!=null?z:it}var yt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ee(pt){return pt<=247?a.charAt(pt):1424<=pt&&pt<=1524?"R":1536<=pt&&pt<=1785?y.charAt(pt-1536):1774<=pt&&pt<=2220?"r":8192<=pt&&pt<=8203?"w":pt==8204?"b":"L"}var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,he=/[LRr]/,Ne=/[Lb1n]/,Qe=/[1n]/;function ut(pt,nn,hn){this.level=pt,this.from=nn,this.to=hn}return function(pt,nn){var hn=nn=="ltr"?"L":"R";if(pt.length==0||nn=="ltr"&&!z.test(pt))return!1;for(var Nn=pt.length,On=[],pr=0;pr<Nn;++pr)On.push(ee(pt.charCodeAt(pr)));for(var Lr=0,ti=hn;Lr<Nn;++Lr){var hi=On[Lr];hi=="m"?On[Lr]=ti:ti=hi}for(var Oi=0,mi=hn;Oi<Nn;++Oi){var Wi=On[Oi];Wi=="1"&&mi=="r"?On[Oi]="n":he.test(Wi)&&(mi=Wi,Wi=="r"&&(On[Oi]="R"))}for(var mo=1,io=On[0];mo<Nn-1;++mo){var Vo=On[mo];Vo=="+"&&io=="1"&&On[mo+1]=="1"?On[mo]="1":Vo==","&&io==On[mo+1]&&(io=="1"||io=="n")&&(On[mo]=io),io=Vo}for(var wa=0;wa<Nn;++wa){var cl=On[wa];if(cl==",")On[wa]="N";else if(cl=="%"){var Za=void 0;for(Za=wa+1;Za<Nn&&On[Za]=="%";++Za);for(var Rl=wa&&On[wa-1]=="!"||Za<Nn&&On[Za]=="1"?"1":"N",Bl=wa;Bl<Za;++Bl)On[Bl]=Rl;wa=Za-1}}for(var Ja=0,Ol=hn;Ja<Nn;++Ja){var ml=On[Ja];Ol=="L"&&ml=="1"?On[Ja]="L":he.test(ml)&&(Ol=ml)}for(var nl=0;nl<Nn;++nl)if(ie.test(On[nl])){var qa=void 0;for(qa=nl+1;qa<Nn&&ie.test(On[qa]);++qa);for(var ja=(nl?On[nl-1]:hn)=="L",Ml=(qa<Nn?On[qa]:hn)=="L",Xs=ja==Ml?ja?"L":"R":hn,Is=nl;Is<qa;++Is)On[Is]=Xs;nl=qa-1}for(var bl=[],ss,dl=0;dl<Nn;)if(Ne.test(On[dl])){var Bu=dl;for(++dl;dl<Nn&&Ne.test(On[dl]);++dl);bl.push(new ut(0,Bu,dl))}else{var gs=dl,Hs=bl.length,js=nn=="rtl"?1:0;for(++dl;dl<Nn&&On[dl]!="L";++dl);for(var wl=gs;wl<dl;)if(Qe.test(On[wl])){gs<wl&&(bl.splice(Hs,0,new ut(1,gs,wl)),Hs+=js);var Qs=wl;for(++wl;wl<dl&&Qe.test(On[wl]);++wl);bl.splice(Hs,0,new ut(2,Qs,wl)),Hs+=js,gs=wl}else++wl;gs<dl&&bl.splice(Hs,0,new ut(1,gs,dl))}return nn=="ltr"&&(bl[0].level==1&&(ss=pt.match(/^\s+/))&&(bl[0].from=ss[0].length,bl.unshift(new ut(0,0,ss[0].length))),ft(bl).level==1&&(ss=pt.match(/\s+$/))&&(ft(bl).to-=ss[0].length,bl.push(new ut(0,Nn-ss[0].length,Nn)))),nn=="rtl"?bl.reverse():bl}}();function ot(a,y){var ee=a.order;return ee==null&&(ee=a.order=yt(a.text,y)),ee}var st=[],Vt=function(a,y,ee){if(a.addEventListener)a.addEventListener(y,ee,!1);else if(a.attachEvent)a.attachEvent("on"+y,ee);else{var z=a._handlers||(a._handlers={});z[y]=(z[y]||st).concat(ee)}};function kt(a,y){return a._handlers&&a._handlers[y]||st}function un(a,y,ee){if(a.removeEventListener)a.removeEventListener(y,ee,!1);else if(a.detachEvent)a.detachEvent("on"+y,ee);else{var z=a._handlers,ie=z&&z[y];if(ie){var he=Be(ie,ee);he>-1&&(z[y]=ie.slice(0,he).concat(ie.slice(he+1)))}}}function $t(a,y){var ee=kt(a,y);if(ee.length)for(var z=Array.prototype.slice.call(arguments,2),ie=0;ie<ee.length;++ie)ee[ie].apply(null,z)}function Rt(a,y,ee){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),$t(a,ee||y.type,a,y),mn(y)||y.codemirrorIgnore}function Kt(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var ee=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),z=0;z<y.length;++z)Be(ee,y[z])==-1&&ee.push(y[z])}function qt(a,y){return kt(a,y).length>0}function Et(a){a.prototype.on=function(y,ee){Vt(this,y,ee)},a.prototype.off=function(y,ee){un(this,y,ee)}}function Tt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function on(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function mn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function vt(a){Tt(a),on(a)}function Mt(a){return a.target||a.srcElement}function Yt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Ae&&a.ctrlKey&&y==1&&(y=3),y}var sn=function(){if(De&&ve<9)return!1;var a=Ve("div");return"draggable"in a||"dragDrop"in a}(),xn;function Ln(a){if(xn==null){var y=Ve("span","\u200B");ke(a,Ve("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(xn=y.offsetWidth<=1&&y.offsetHeight>2&&!(De&&ve<8))}var ee=xn?Ve("span","\u200B"):Ve("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ee.setAttribute("cm-text",""),ee}var Xn;function Jn(a){if(Xn!=null)return Xn;var y=ke(a,document.createTextNode("A\u062EA")),ee=Se(y,0,1).getBoundingClientRect(),z=Se(y,1,2).getBoundingClientRect();return nt(a),!ee||ee.left==ee.right?!1:Xn=z.right-ee.right<3}var Bn=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,ee=[],z=a.length;y<=z;){var ie=a.indexOf(`
|
|
|
`,y);ie==-1&&(ie=a.length);var he=a.slice(y,a.charAt(ie-1)=="\r"?ie-1:ie),Ne=he.indexOf("\r");Ne!=-1?(ee.push(he.slice(0,Ne)),y+=Ne+1):(ee.push(he),y=ie+1)}return ee}:function(a){return a.split(/\r\n?|\n/)},Un=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(ee){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Wt=function(){var a=Ve("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Ot=null;function ln(a){if(Ot!=null)return Ot;var y=ke(a,Ve("span","x")),ee=y.getBoundingClientRect(),z=Se(y,0,1).getBoundingClientRect();return Ot=Math.abs(ee.left-z.left)>1}var en={},Jt={};function Sn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),en[a]=y}function yn(a,y){Jt[a]=y}function Mn(a){if(typeof a=="string"&&Jt.hasOwnProperty(a))a=Jt[a];else if(a&&typeof a.name=="string"&&Jt.hasOwnProperty(a.name)){var y=Jt[a.name];typeof y=="string"&&(y={name:y}),a=ae(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Mn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Mn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Yn(a,y){y=Mn(y);var ee=en[y.name];if(!ee)return Yn(a,"text/plain");var z=ee(a,y);if(Wn.hasOwnProperty(y.name)){var ie=Wn[y.name];for(var he in ie)ie.hasOwnProperty(he)&&(z.hasOwnProperty(he)&&(z["_"+he]=z[he]),z[he]=ie[he])}if(z.name=y.name,y.helperType&&(z.helperType=y.helperType),y.modeProps)for(var Ne in y.modeProps)z[Ne]=y.modeProps[Ne];return z}var Wn={};function In(a,y){var ee=Wn.hasOwnProperty(a)?Wn[a]:Wn[a]={};bt(y,ee)}function ar(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var ee={};for(var z in y){var ie=y[z];ie instanceof Array&&(ie=ie.concat([])),ee[z]=ie}return ee}function tr(a,y){for(var ee;a.innerMode&&(ee=a.innerMode(y),!(!ee||ee.mode==a));)y=ee.state,a=ee.mode;return ee||{mode:a,state:y}}function Rr(a,y,ee){return a.startState?a.startState(y,ee):!0}var Ir=function(a,y,ee){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ee};Ir.prototype.eol=function(){return this.pos>=this.string.length},Ir.prototype.sol=function(){return this.pos==this.lineStart},Ir.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ir.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ir.prototype.eat=function(a){var y=this.string.charAt(this.pos),ee;if(typeof a=="string"?ee=y==a:ee=y&&(a.test?a.test(y):a(y)),ee)return++this.pos,y},Ir.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Ir.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ir.prototype.skipToEnd=function(){this.pos=this.string.length},Ir.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Ir.prototype.backUp=function(a){this.pos-=a},Ir.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ze(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ze(this.string,this.lineStart,this.tabSize):0)},Ir.prototype.indentation=function(){return Ze(this.string,null,this.tabSize)-(this.lineStart?Ze(this.string,this.lineStart,this.tabSize):0)},Ir.prototype.match=function(a,y,ee){if(typeof a=="string"){var z=function(Ne){return ee?Ne.toLowerCase():Ne},ie=this.string.substr(this.pos,a.length);if(z(ie)==z(a))return y!==!1&&(this.pos+=a.length),!0}else{var he=this.string.slice(this.pos).match(a);return he&&he.index>0?null:(he&&y!==!1&&(this.pos+=he[0].length),he)}},Ir.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ir.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Ir.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Ir.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function En(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var ee=a;!ee.lines;)for(var z=0;;++z){var ie=ee.children[z],he=ie.chunkSize();if(y<he){ee=ie;break}y-=he}return ee.lines[y]}function kn(a,y,ee){var z=[],ie=y.line;return a.iter(y.line,ee.line+1,function(he){var Ne=he.text;ie==ee.line&&(Ne=Ne.slice(0,ee.ch)),ie==y.line&&(Ne=Ne.slice(y.ch)),z.push(Ne),++ie}),z}function nr(a,y,ee){var z=[];return a.iter(y,ee,function(ie){z.push(ie.text)}),z}function rr(a,y){var ee=y-a.height;if(ee)for(var z=a;z;z=z.parent)z.height+=ee}function Lt(a){if(a.parent==null)return null;for(var y=a.parent,ee=Be(y.lines,a),z=y.parent;z;y=z,z=z.parent)for(var ie=0;z.children[ie]!=y;++ie)ee+=z.children[ie].chunkSize();return ee+y.first}function Qt(a,y){var ee=a.first;e:do{for(var z=0;z<a.children.length;++z){var ie=a.children[z],he=ie.height;if(y<he){a=ie;continue e}y-=he,ee+=ie.chunkSize()}return ee}while(!a.lines);for(var Ne=0;Ne<a.lines.length;++Ne){var Qe=a.lines[Ne],ut=Qe.height;if(y<ut)break;y-=ut}return ee+Ne}function St(a,y){return y>=a.first&&y<a.first+a.size}function Zt(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function At(a,y,ee){if(ee===void 0&&(ee=null),!(this instanceof At))return new At(a,y,ee);this.line=a,this.ch=y,this.sticky=ee}function Ht(a,y){return a.line-y.line||a.ch-y.ch}function ht(a,y){return a.sticky==y.sticky&&Ht(a,y)==0}function Xt(a){return At(a.line,a.ch)}function tn(a,y){return Ht(a,y)<0?y:a}function dn(a,y){return Ht(a,y)<0?a:y}function Ut(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function jt(a,y){if(y.line<a.first)return At(a.first,0);var ee=a.first+a.size-1;return y.line>ee?At(ee,En(a,ee).text.length):Gt(y,En(a,y.line).text.length)}function Gt(a,y){var ee=a.ch;return ee==null||ee>y?At(a.line,y):ee<0?At(a.line,0):a}function an(a,y){for(var ee=[],z=0;z<y.length;z++)ee[z]=jt(a,y[z]);return ee}var zn=function(a,y){this.state=a,this.lookAhead=y},Rn=function(a,y,ee,z){this.state=y,this.doc=a,this.line=ee,this.maxLookAhead=z||0,this.baseTokens=null,this.baseTokenPos=1};Rn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Rn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Rn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Rn.fromSaved=function(a,y,ee){return y instanceof zn?new Rn(a,ar(a.mode,y.state),ee,y.lookAhead):new Rn(a,ar(a.mode,y),ee)},Rn.prototype.save=function(a){var y=a!==!1?ar(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new zn(y,this.maxLookAhead):y};function Vn(a,y,ee,z){var ie=[a.state.modeGen],he={};ri(a,y.text,a.doc.mode,ee,function(pt,nn){return ie.push(pt,nn)},he,z);for(var Ne=ee.state,Qe=function(pt){ee.baseTokens=ie;var nn=a.state.overlays[pt],hn=1,Nn=0;ee.state=!0,ri(a,y.text,nn.mode,ee,function(On,pr){for(var Lr=hn;Nn<On;){var ti=ie[hn];ti>On&&ie.splice(hn,1,On,ie[hn+1],ti),hn+=2,Nn=Math.min(On,ti)}if(pr)if(nn.opaque)ie.splice(Lr,hn-Lr,On,"overlay "+pr),hn=Lr+2;else for(;Lr<hn;Lr+=2){var hi=ie[Lr+1];ie[Lr+1]=(hi?hi+" ":"")+"overlay "+pr}},he),ee.state=Ne,ee.baseTokens=null,ee.baseTokenPos=1},ut=0;ut<a.state.overlays.length;++ut)Qe(ut);return{styles:ie,classes:he.bgClass||he.textClass?he:null}}function Mr(a,y,ee){if(!y.styles||y.styles[0]!=a.state.modeGen){var z=zr(a,Lt(y)),ie=y.text.length>a.options.maxHighlightLength&&ar(a.doc.mode,z.state),he=Vn(a,y,z);ie&&(z.state=ie),y.stateAfter=z.save(!ie),y.styles=he.styles,he.classes?y.styleClasses=he.classes:y.styleClasses&&(y.styleClasses=null),ee===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function zr(a,y,ee){var z=a.doc,ie=a.display;if(!z.mode.startState)return new Rn(z,!0,y);var he=ai(a,y,ee),Ne=he>z.first&&En(z,he-1).stateAfter,Qe=Ne?Rn.fromSaved(z,Ne,he):new Rn(z,Rr(z.mode),he);return z.iter(he,y,function(ut){Xr(a,ut.text,Qe);var pt=Qe.line;ut.stateAfter=pt==y-1||pt%5==0||pt>=ie.viewFrom&&pt<ie.viewTo?Qe.save():null,Qe.nextLine()}),ee&&(z.modeFrontier=Qe.line),Qe}function Xr(a,y,ee,z){var ie=a.doc.mode,he=new Ir(y,a.options.tabSize,ee);for(he.start=he.pos=z||0,y==""&&Pr(ie,ee.state);!he.eol();)gr(ie,he,ee.state),he.start=he.pos}function Pr(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var ee=tr(a,y);if(ee.mode.blankLine)return ee.mode.blankLine(ee.state)}}function gr(a,y,ee,z){for(var ie=0;ie<10;ie++){z&&(z[0]=tr(a,ee).mode);var he=a.token(y,ee);if(y.pos>y.start)return he}throw new Error("Mode "+a.name+" failed to advance stream.")}var Ar=function(a,y,ee){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=ee};function Vr(a,y,ee,z){var ie=a.doc,he=ie.mode,Ne;y=jt(ie,y);var Qe=En(ie,y.line),ut=zr(a,y.line,ee),pt=new Ir(Qe.text,a.options.tabSize,ut),nn;for(z&&(nn=[]);(z||pt.pos<y.ch)&&!pt.eol();)pt.start=pt.pos,Ne=gr(he,pt,ut.state),z&&nn.push(new Ar(pt,Ne,ar(ie.mode,ut.state)));return z?nn:new Ar(pt,Ne,ut.state)}function ni(a,y){if(a)for(;;){var ee=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ee)break;a=a.slice(0,ee.index)+a.slice(ee.index+ee[0].length);var z=ee[1]?"bgClass":"textClass";y[z]==null?y[z]=ee[2]:new RegExp("(?:^|\\s)"+ee[2]+"(?:$|\\s)").test(y[z])||(y[z]+=" "+ee[2])}return a}function ri(a,y,ee,z,ie,he,Ne){var Qe=ee.flattenSpans;Qe==null&&(Qe=a.options.flattenSpans);var ut=0,pt=null,nn=new Ir(y,a.options.tabSize,z),hn,Nn=a.options.addModeClass&&[null];for(y==""&&ni(Pr(ee,z.state),he);!nn.eol();){if(nn.pos>a.options.maxHighlightLength?(Qe=!1,Ne&&Xr(a,y,z,nn.pos),nn.pos=y.length,hn=null):hn=ni(gr(ee,nn,z.state,Nn),he),Nn){var On=Nn[0].name;On&&(hn="m-"+(hn?On+" "+hn:On))}if(!Qe||pt!=hn){for(;ut<nn.start;)ut=Math.min(nn.start,ut+5e3),ie(ut,pt);pt=hn}nn.start=nn.pos}for(;ut<nn.pos;){var pr=Math.min(nn.pos,ut+5e3);ie(pr,pt),ut=pr}}function ai(a,y,ee){for(var z,ie,he=a.doc,Ne=ee?-1:y-(a.doc.mode.innerMode?1e3:100),Qe=y;Qe>Ne;--Qe){if(Qe<=he.first)return he.first;var ut=En(he,Qe-1),pt=ut.stateAfter;if(pt&&(!ee||Qe+(pt instanceof zn?pt.lookAhead:0)<=he.modeFrontier))return Qe;var nn=Ze(ut.text,null,a.options.tabSize);(ie==null||z>nn)&&(ie=Qe-1,z=nn)}return ie}function Dr(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var ee=a.first,z=y-1;z>ee;z--){var ie=En(a,z).stateAfter;if(ie&&(!(ie instanceof zn)||z+ie.lookAhead<y)){ee=z+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,ee)}}var Jr=!1,$r=!1;function Ri(){Jr=!0}function Hi(){$r=!0}function Zi(a,y,ee){this.marker=a,this.from=y,this.to=ee}function zi(a,y){if(a)for(var ee=0;ee<a.length;++ee){var z=a[ee];if(z.marker==y)return z}}function Ji(a,y){for(var ee,z=0;z<a.length;++z)a[z]!=y&&(ee||(ee=[])).push(a[z]);return ee}function wi(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function Mi(a,y,ee){var z;if(a)for(var ie=0;ie<a.length;++ie){var he=a[ie],Ne=he.marker,Qe=he.from==null||(Ne.inclusiveLeft?he.from<=y:he.from<y);if(Qe||he.from==y&&Ne.type=="bookmark"&&(!ee||!he.marker.insertLeft)){var ut=he.to==null||(Ne.inclusiveRight?he.to>=y:he.to>y);(z||(z=[])).push(new Zi(Ne,he.from,ut?null:he.to))}}return z}function fi(a,y,ee){var z;if(a)for(var ie=0;ie<a.length;++ie){var he=a[ie],Ne=he.marker,Qe=he.to==null||(Ne.inclusiveRight?he.to>=y:he.to>y);if(Qe||he.from==y&&Ne.type=="bookmark"&&(!ee||he.marker.insertLeft)){var ut=he.from==null||(Ne.inclusiveLeft?he.from<=y:he.from<y);(z||(z=[])).push(new Zi(Ne,ut?null:he.from-y,he.to==null?null:he.to-y))}}return z}function $i(a,y){if(y.full)return null;var ee=St(a,y.from.line)&&En(a,y.from.line).markedSpans,z=St(a,y.to.line)&&En(a,y.to.line).markedSpans;if(!ee&&!z)return null;var ie=y.from.ch,he=y.to.ch,Ne=Ht(y.from,y.to)==0,Qe=Mi(ee,ie,Ne),ut=fi(z,he,Ne),pt=y.text.length==1,nn=ft(y.text).length+(pt?ie:0);if(Qe)for(var hn=0;hn<Qe.length;++hn){var Nn=Qe[hn];if(Nn.to==null){var On=zi(ut,Nn.marker);On?pt&&(Nn.to=On.to==null?null:On.to+nn):Nn.to=ie}}if(ut)for(var pr=0;pr<ut.length;++pr){var Lr=ut[pr];if(Lr.to!=null&&(Lr.to+=nn),Lr.from==null){var ti=zi(Qe,Lr.marker);ti||(Lr.from=nn,pt&&(Qe||(Qe=[])).push(Lr))}else Lr.from+=nn,pt&&(Qe||(Qe=[])).push(Lr)}Qe&&(Qe=oo(Qe)),ut&&ut!=Qe&&(ut=oo(ut));var hi=[Qe];if(!pt){var Oi=y.text.length-2,mi;if(Oi>0&&Qe)for(var Wi=0;Wi<Qe.length;++Wi)Qe[Wi].to==null&&(mi||(mi=[])).push(new Zi(Qe[Wi].marker,null,null));for(var mo=0;mo<Oi;++mo)hi.push(mi);hi.push(ut)}return hi}function oo(a){for(var y=0;y<a.length;++y){var ee=a[y];ee.from!=null&&ee.from==ee.to&&ee.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Ro(a,y,ee){var z=null;if(a.iter(y.line,ee.line+1,function(On){if(On.markedSpans)for(var pr=0;pr<On.markedSpans.length;++pr){var Lr=On.markedSpans[pr].marker;Lr.readOnly&&(!z||Be(z,Lr)==-1)&&(z||(z=[])).push(Lr)}}),!z)return null;for(var ie=[{from:y,to:ee}],he=0;he<z.length;++he)for(var Ne=z[he],Qe=Ne.find(0),ut=0;ut<ie.length;++ut){var pt=ie[ut];if(!(Ht(pt.to,Qe.from)<0||Ht(pt.from,Qe.to)>0)){var nn=[ut,1],hn=Ht(pt.from,Qe.from),Nn=Ht(pt.to,Qe.to);(hn<0||!Ne.inclusiveLeft&&!hn)&&nn.push({from:pt.from,to:Qe.from}),(Nn>0||!Ne.inclusiveRight&&!Nn)&&nn.push({from:Qe.to,to:pt.to}),ie.splice.apply(ie,nn),ut+=nn.length-3}}return ie}function fo(a){var y=a.markedSpans;if(y){for(var ee=0;ee<y.length;++ee)y[ee].marker.detachLine(a);a.markedSpans=null}}function bo(a,y){if(y){for(var ee=0;ee<y.length;++ee)y[ee].marker.attachLine(a);a.markedSpans=y}}function co(a){return a.inclusiveLeft?-1:0}function yo(a){return a.inclusiveRight?1:0}function Fi(a,y){var ee=a.lines.length-y.lines.length;if(ee!=0)return ee;var z=a.find(),ie=y.find(),he=Ht(z.from,ie.from)||co(a)-co(y);if(he)return-he;var Ne=Ht(z.to,ie.to)||yo(a)-yo(y);return Ne||y.id-a.id}function Ai(a,y){var ee=$r&&a.markedSpans,z;if(ee)for(var ie=void 0,he=0;he<ee.length;++he)ie=ee[he],ie.marker.collapsed&&(y?ie.from:ie.to)==null&&(!z||Fi(z,ie.marker)<0)&&(z=ie.marker);return z}function Yr(a){return Ai(a,!0)}function jn(a){return Ai(a,!1)}function lr(a,y){var ee=$r&&a.markedSpans,z;if(ee)for(var ie=0;ie<ee.length;++ie){var he=ee[ie];he.marker.collapsed&&(he.from==null||he.from<y)&&(he.to==null||he.to>y)&&(!z||Fi(z,he.marker)<0)&&(z=he.marker)}return z}function cr(a,y,ee,z,ie){var he=En(a,y),Ne=$r&&he.markedSpans;if(Ne)for(var Qe=0;Qe<Ne.length;++Qe){var ut=Ne[Qe];if(ut.marker.collapsed){var pt=ut.marker.find(0),nn=Ht(pt.from,ee)||co(ut.marker)-co(ie),hn=Ht(pt.to,z)||yo(ut.marker)-yo(ie);if(!(nn>=0&&hn<=0||nn<=0&&hn>=0)&&(nn<=0&&(ut.marker.inclusiveRight&&ie.inclusiveLeft?Ht(pt.to,ee)>=0:Ht(pt.to,ee)>0)||nn>=0&&(ut.marker.inclusiveRight&&ie.inclusiveLeft?Ht(pt.from,z)<=0:Ht(pt.from,z)<0)))return!0}}}function Qn(a){for(var y;y=Yr(a);)a=y.find(-1,!0).line;return a}function Wr(a){for(var y;y=jn(a);)a=y.find(1,!0).line;return a}function qr(a){for(var y,ee;y=jn(a);)a=y.find(1,!0).line,(ee||(ee=[])).push(a);return ee}function ir(a,y){var ee=En(a,y),z=Qn(ee);return ee==z?y:Lt(z)}function Gn(a,y){if(y>a.lastLine())return y;var ee=En(a,y),z;if(!Cr(a,ee))return y;for(;z=jn(ee);)ee=z.find(1,!0).line;return Lt(ee)+1}function Cr(a,y){var ee=$r&&y.markedSpans;if(ee){for(var z=void 0,ie=0;ie<ee.length;++ie)if(z=ee[ie],!!z.marker.collapsed){if(z.from==null)return!0;if(!z.marker.widgetNode&&z.from==0&&z.marker.inclusiveLeft&&Zr(a,y,z))return!0}}}function Zr(a,y,ee){if(ee.to==null){var z=ee.marker.find(1,!0);return Zr(a,z.line,zi(z.line.markedSpans,ee.marker))}if(ee.marker.inclusiveRight&&ee.to==y.text.length)return!0;for(var ie=void 0,he=0;he<y.markedSpans.length;++he)if(ie=y.markedSpans[he],ie.marker.collapsed&&!ie.marker.widgetNode&&ie.from==ee.to&&(ie.to==null||ie.to!=ee.from)&&(ie.marker.inclusiveLeft||ee.marker.inclusiveRight)&&Zr(a,y,ie))return!0}function ji(a){a=Qn(a);for(var y=0,ee=a.parent,z=0;z<ee.lines.length;++z){var ie=ee.lines[z];if(ie==a)break;y+=ie.height}for(var he=ee.parent;he;ee=he,he=ee.parent)for(var Ne=0;Ne<he.children.length;++Ne){var Qe=he.children[Ne];if(Qe==ee)break;y+=Qe.height}return y}function vo(a){if(a.height==0)return 0;for(var y=a.text.length,ee,z=a;ee=Yr(z);){var ie=ee.find(0,!0);z=ie.from.line,y+=ie.from.ch-ie.to.ch}for(z=a;ee=jn(z);){var he=ee.find(0,!0);y-=z.text.length-he.from.ch,z=he.to.line,y+=z.text.length-he.to.ch}return y}function ao(a){var y=a.display,ee=a.doc;y.maxLine=En(ee,ee.first),y.maxLineLength=vo(y.maxLine),y.maxLineChanged=!0,ee.iter(function(z){var ie=vo(z);ie>y.maxLineLength&&(y.maxLineLength=ie,y.maxLine=z)})}var Bo=function(a,y,ee){this.text=a,bo(this,y),this.height=ee?ee(this):1};Bo.prototype.lineNo=function(){return Lt(this)},Et(Bo);function wo(a,y,ee,z){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),fo(a),bo(a,ee);var ie=z?z(a):1;ie!=a.height&&rr(a,ie)}function Co(a){a.parent=null,fo(a)}var ko={},Oo={};function Mo(a,y){if(!a||/^\s*$/.test(a))return null;var ee=y.addModeClass?Oo:ko;return ee[a]||(ee[a]=a.replace(/\S+/g,"cm-$&"))}function ha(a,y){var ee=et("span",null,null,ye?"padding-right: .1px":null),z={pre:et("pre",[ee],"CodeMirror-line"),content:ee,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var ie=0;ie<=(y.rest?y.rest.length:0);ie++){var he=ie?y.rest[ie-1]:y.line,Ne=void 0;z.pos=0,z.addToken=xa,Jn(a.display.measure)&&(Ne=ot(he,a.doc.direction))&&(z.addToken=Da(z.addToken,Ne)),z.map=[];var Qe=y!=a.display.externalMeasured&&Lt(he);Ti(he,z,Mr(a,he,Qe)),he.styleClasses&&(he.styleClasses.bgClass&&(z.bgClass=gt(he.styleClasses.bgClass,z.bgClass||"")),he.styleClasses.textClass&&(z.textClass=gt(he.styleClasses.textClass,z.textClass||""))),z.map.length==0&&z.map.push(0,0,z.content.appendChild(Ln(a.display.measure))),ie==0?(y.measure.map=z.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(z.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(ye){var ut=z.content.lastChild;(/\bcm-tab\b/.test(ut.className)||ut.querySelector&&ut.querySelector(".cm-tab"))&&(z.content.className="cm-tab-wrap-hack")}return $t(a,"renderLine",a,y.line,z.pre),z.pre.className&&(z.textClass=gt(z.pre.className,z.textClass||"")),z}function Aa(a){var y=Ve("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function xa(a,y,ee,z,ie,he,Ne){if(y){var Qe=a.splitSpaces?Ia(y,a.trailingSpace):y,ut=a.cm.state.specialChars,pt=!1,nn;if(!ut.test(y))a.col+=y.length,nn=document.createTextNode(Qe),a.map.push(a.pos,a.pos+y.length,nn),De&&ve<9&&(pt=!0),a.pos+=y.length;else{nn=document.createDocumentFragment();for(var hn=0;;){ut.lastIndex=hn;var Nn=ut.exec(y),On=Nn?Nn.index-hn:y.length-hn;if(On){var pr=document.createTextNode(Qe.slice(hn,hn+On));De&&ve<9?nn.appendChild(Ve("span",[pr])):nn.appendChild(pr),a.map.push(a.pos,a.pos+On,pr),a.col+=On,a.pos+=On}if(!Nn)break;hn+=On+1;var Lr=void 0;if(Nn[0]==" "){var ti=a.cm.options.tabSize,hi=ti-a.col%ti;Lr=nn.appendChild(Ve("span",wt(hi),"cm-tab")),Lr.setAttribute("role","presentation"),Lr.setAttribute("cm-text"," "),a.col+=hi}else Nn[0]=="\r"||Nn[0]==`
|
|
|
`?(Lr=nn.appendChild(Ve("span",Nn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Lr.setAttribute("cm-text",Nn[0]),a.col+=1):(Lr=a.cm.options.specialCharPlaceholder(Nn[0]),Lr.setAttribute("cm-text",Nn[0]),De&&ve<9?nn.appendChild(Ve("span",[Lr])):nn.appendChild(Lr),a.col+=1);a.map.push(a.pos,a.pos+1,Lr),a.pos++}}if(a.trailingSpace=Qe.charCodeAt(y.length-1)==32,ee||z||ie||pt||he||Ne){var Oi=ee||"";z&&(Oi+=z),ie&&(Oi+=ie);var mi=Ve("span",[nn],Oi,he);if(Ne)for(var Wi in Ne)Ne.hasOwnProperty(Wi)&&Wi!="style"&&Wi!="class"&&mi.setAttribute(Wi,Ne[Wi]);return a.content.appendChild(mi)}a.content.appendChild(nn)}}function Ia(a,y){if(a.length>1&&!/ /.test(a))return a;for(var ee=y,z="",ie=0;ie<a.length;ie++){var he=a.charAt(ie);he==" "&&ee&&(ie==a.length-1||a.charCodeAt(ie+1)==32)&&(he="\xA0"),z+=he,ee=he==" "}return z}function Da(a,y){return function(ee,z,ie,he,Ne,Qe,ut){ie=ie?ie+" cm-force-border":"cm-force-border";for(var pt=ee.pos,nn=pt+z.length;;){for(var hn=void 0,Nn=0;Nn<y.length&&(hn=y[Nn],!(hn.to>pt&&hn.from<=pt));Nn++);if(hn.to>=nn)return a(ee,z,ie,he,Ne,Qe,ut);a(ee,z.slice(0,hn.to-pt),ie,he,null,Qe,ut),he=null,z=z.slice(hn.to-pt),pt=hn.to}}}function Yi(a,y,ee,z){var ie=!z&&ee.widgetNode;ie&&a.map.push(a.pos,a.pos+y,ie),!z&&a.cm.display.input.needsContentAttribute&&(ie||(ie=a.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",ee.id)),ie&&(a.cm.display.input.setUneditable(ie),a.content.appendChild(ie)),a.pos+=y,a.trailingSpace=!1}function Ti(a,y,ee){var z=a.markedSpans,ie=a.text,he=0;if(!z){for(var Ne=1;Ne<ee.length;Ne+=2)y.addToken(y,ie.slice(he,he=ee[Ne]),Mo(ee[Ne+1],y.cm.options));return}for(var Qe=ie.length,ut=0,pt=1,nn="",hn,Nn,On=0,pr,Lr,ti,hi,Oi;;){if(On==ut){pr=Lr=ti=Nn="",Oi=null,hi=null,On=1/0;for(var mi=[],Wi=void 0,mo=0;mo<z.length;++mo){var io=z[mo],Vo=io.marker;if(Vo.type=="bookmark"&&io.from==ut&&Vo.widgetNode)mi.push(Vo);else if(io.from<=ut&&(io.to==null||io.to>ut||Vo.collapsed&&io.to==ut&&io.from==ut)){if(io.to!=null&&io.to!=ut&&On>io.to&&(On=io.to,Lr=""),Vo.className&&(pr+=" "+Vo.className),Vo.css&&(Nn=(Nn?Nn+";":"")+Vo.css),Vo.startStyle&&io.from==ut&&(ti+=" "+Vo.startStyle),Vo.endStyle&&io.to==On&&(Wi||(Wi=[])).push(Vo.endStyle,io.to),Vo.title&&((Oi||(Oi={})).title=Vo.title),Vo.attributes)for(var wa in Vo.attributes)(Oi||(Oi={}))[wa]=Vo.attributes[wa];Vo.collapsed&&(!hi||Fi(hi.marker,Vo)<0)&&(hi=io)}else io.from>ut&&On>io.from&&(On=io.from)}if(Wi)for(var cl=0;cl<Wi.length;cl+=2)Wi[cl+1]==On&&(Lr+=" "+Wi[cl]);if(!hi||hi.from==ut)for(var Za=0;Za<mi.length;++Za)Yi(y,0,mi[Za]);if(hi&&(hi.from||0)==ut){if(Yi(y,(hi.to==null?Qe+1:hi.to)-ut,hi.marker,hi.from==null),hi.to==null)return;hi.to==ut&&(hi=!1)}}if(ut>=Qe)break;for(var Rl=Math.min(Qe,On);;){if(nn){var Bl=ut+nn.length;if(!hi){var Ja=Bl>Rl?nn.slice(0,Rl-ut):nn;y.addToken(y,Ja,hn?hn+pr:pr,ti,ut+Ja.length==On?Lr:"",Nn,Oi)}if(Bl>=Rl){nn=nn.slice(Rl-ut),ut=Rl;break}ut=Bl,ti=""}nn=ie.slice(he,he=ee[pt++]),hn=Mo(ee[pt++],y.cm.options)}}}function ea(a,y,ee){this.line=y,this.rest=qr(y),this.size=this.rest?Lt(ft(this.rest))-ee+1:1,this.node=this.text=null,this.hidden=Cr(a,y)}function ta(a,y,ee){for(var z=[],ie,he=y;he<ee;he=ie){var Ne=new ea(a.doc,En(a.doc,he),he);ie=he+Ne.size,z.push(Ne)}return z}var Gi=null;function Wo(a){Gi?Gi.ops.push(a):a.ownsGroup=Gi={ops:[a],delayedCallbacks:[]}}function Jo(a){var y=a.delayedCallbacks,ee=0;do{for(;ee<y.length;ee++)y[ee].call(null);for(var z=0;z<a.ops.length;z++){var ie=a.ops[z];if(ie.cursorActivityHandlers)for(;ie.cursorActivityCalled<ie.cursorActivityHandlers.length;)ie.cursorActivityHandlers[ie.cursorActivityCalled++].call(null,ie.cm)}}while(ee<y.length)}function ho(a,y){var ee=a.ownsGroup;if(ee)try{Jo(ee)}finally{Gi=null,y(ee)}}var Zo=null;function Fo(a,y){var ee=kt(a,y);if(ee.length){var z=Array.prototype.slice.call(arguments,2),ie;Gi?ie=Gi.delayedCallbacks:Zo?ie=Zo:(ie=Zo=[],setTimeout(ka,0));for(var he=function(Qe){ie.push(function(){return ee[Qe].apply(null,z)})},Ne=0;Ne<ee.length;++Ne)he(Ne)}}function ka(){var a=Zo;Zo=null;for(var y=0;y<a.length;++y)a[y]()}function rl(a,y,ee,z){for(var ie=0;ie<y.changes.length;ie++){var he=y.changes[ie];he=="text"?jl(a,y):he=="gutter"?xo(a,y,ee,z):he=="class"?qi(a,y):he=="widget"&&Xi(a,y,z)}y.changes=null}function za(a){return a.node==a.text&&(a.node=Ve("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),De&&ve<8&&(a.node.style.zIndex=2)),a.node}function Ba(a,y){var ee=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(ee&&(ee+=" CodeMirror-linebackground"),y.background)ee?y.background.className=ee:(y.background.parentNode.removeChild(y.background),y.background=null);else if(ee){var z=za(y);y.background=z.insertBefore(Ve("div",null,ee),z.firstChild),a.display.input.setUneditable(y.background)}}function _l(a,y){var ee=a.display.externalMeasured;return ee&&ee.line==y.line?(a.display.externalMeasured=null,y.measure=ee.measure,ee.built):ha(a,y)}function jl(a,y){var ee=y.text.className,z=_l(a,y);y.text==y.node&&(y.node=z.pre),y.text.parentNode.replaceChild(z.pre,y.text),y.text=z.pre,z.bgClass!=y.bgClass||z.textClass!=y.textClass?(y.bgClass=z.bgClass,y.textClass=z.textClass,qi(a,y)):ee&&(y.text.className=ee)}function qi(a,y){Ba(a,y),y.line.wrapClass?za(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var ee=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=ee||""}function xo(a,y,ee,z){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var ie=za(y);y.gutterBackground=Ve("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?z.fixedPos:-z.gutterTotalWidth)+"px; width: "+z.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),ie.insertBefore(y.gutterBackground,y.text)}var he=y.line.gutterMarkers;if(a.options.lineNumbers||he){var Ne=za(y),Qe=y.gutter=Ve("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?z.fixedPos:-z.gutterTotalWidth)+"px");if(a.display.input.setUneditable(Qe),Ne.insertBefore(Qe,y.text),y.line.gutterClass&&(Qe.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!he||!he["CodeMirror-linenumbers"])&&(y.lineNumber=Qe.appendChild(Ve("div",Zt(a.options,ee),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+z.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),he)for(var ut=0;ut<a.display.gutterSpecs.length;++ut){var pt=a.display.gutterSpecs[ut].className,nn=he.hasOwnProperty(pt)&&he[pt];nn&&Qe.appendChild(Ve("div",[nn],"CodeMirror-gutter-elt","left: "+z.gutterLeft[pt]+"px; width: "+z.gutterWidth[pt]+"px"))}}}function Xi(a,y,ee){y.alignable&&(y.alignable=null);for(var z=Ue("CodeMirror-linewidget"),ie=y.node.firstChild,he=void 0;ie;ie=he)he=ie.nextSibling,z.test(ie.className)&&y.node.removeChild(ie);Lo(a,y,ee)}function to(a,y,ee,z){var ie=_l(a,y);return y.text=y.node=ie.pre,ie.bgClass&&(y.bgClass=ie.bgClass),ie.textClass&&(y.textClass=ie.textClass),qi(a,y),xo(a,y,ee,z),Lo(a,y,z),y.node}function Lo(a,y,ee){if(da(a,y.line,y,ee,!0),y.rest)for(var z=0;z<y.rest.length;z++)da(a,y.rest[z],y,ee,!1)}function da(a,y,ee,z,ie){if(y.widgets)for(var he=za(ee),Ne=0,Qe=y.widgets;Ne<Qe.length;++Ne){var ut=Qe[Ne],pt=Ve("div",[ut.node],"CodeMirror-linewidget"+(ut.className?" "+ut.className:""));ut.handleMouseEvents||pt.setAttribute("cm-ignore-events","true"),Cl(ut,pt,ee,z),a.display.input.setUneditable(pt),ie&&ut.above?he.insertBefore(pt,ee.gutter||ee.text):he.appendChild(pt),Fo(ut,"redraw")}}function Cl(a,y,ee,z){if(a.noHScroll){(ee.alignable||(ee.alignable=[])).push(y);var ie=z.wrapperWidth;y.style.left=z.fixedPos+"px",a.coverGutter||(ie-=z.gutterTotalWidth,y.style.paddingLeft=z.gutterTotalWidth+"px"),y.style.width=ie+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-z.gutterTotalWidth+"px"))}function Ya(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!qe(document.body,a.node)){var ee="position: relative;";a.coverGutter&&(ee+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(ee+="width: "+y.display.wrapper.clientWidth+"px;"),ke(y.display.measure,Ve("div",[a.node],null,ee))}return a.height=a.node.parentNode.offsetHeight}function Wa(a,y){for(var ee=Mt(y);ee!=a.wrapper;ee=ee.parentNode)if(!ee||ee.nodeType==1&&ee.getAttribute("cm-ignore-events")=="true"||ee.parentNode==a.sizer&&ee!=a.mover)return!0}function Pa(a){return a.lineSpace.offsetTop}function pl(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Al(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=ke(a.measure,Ve("pre","x","CodeMirror-line-like")),ee=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,z={left:parseInt(ee.paddingLeft),right:parseInt(ee.paddingRight)};return!isNaN(z.left)&&!isNaN(z.right)&&(a.cachedPaddingH=z),z}function el(a){return Je-a.display.nativeBarWidth}function Dl(a){return a.display.scroller.clientWidth-el(a)-a.display.barWidth}function Ao(a){return a.display.scroller.clientHeight-el(a)-a.display.barHeight}function xl(a,y,ee){var z=a.options.lineWrapping,ie=z&&Dl(a);if(!y.measure.heights||z&&y.measure.width!=ie){var he=y.measure.heights=[];if(z){y.measure.width=ie;for(var Ne=y.text.firstChild.getClientRects(),Qe=0;Qe<Ne.length-1;Qe++){var ut=Ne[Qe],pt=Ne[Qe+1];Math.abs(ut.bottom-pt.bottom)>2&&he.push((ut.bottom+pt.top)/2-ee.top)}}he.push(ee.bottom-ee.top)}}function Vl(a,y,ee){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var z=0;z<a.rest.length;z++)if(a.rest[z]==y)return{map:a.measure.maps[z],cache:a.measure.caches[z]};for(var ie=0;ie<a.rest.length;ie++)if(Lt(a.rest[ie])>ee)return{map:a.measure.maps[ie],cache:a.measure.caches[ie],before:!0}}function us(a,y){y=Qn(y);var ee=Lt(y),z=a.display.externalMeasured=new ea(a.doc,y,ee);z.lineN=ee;var ie=z.built=ha(a,z);return z.text=ie.pre,ke(a.display.lineMeasure,ie.pre),z}function ys(a,y,ee,z){return vl(a,Zl(a,y),ee,z)}function il(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[kl(a,y)];var ee=a.display.externalMeasured;if(ee&&y>=ee.lineN&&y<ee.lineN+ee.size)return ee}function Zl(a,y){var ee=Lt(y),z=il(a,ee);z&&!z.text?z=null:z&&z.changes&&(rl(a,z,ee,Ul(a)),a.curOp.forceUpdate=!0),z||(z=us(a,y));var ie=Vl(z,y,ee);return{line:y,view:z,rect:null,map:ie.map,cache:ie.cache,before:ie.before,hasHeights:!1}}function vl(a,y,ee,z,ie){y.before&&(ee=-1);var he=ee+(z||""),Ne;return y.cache.hasOwnProperty(he)?Ne=y.cache[he]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(xl(a,y.view,y.rect),y.hasHeights=!0),Ne=ts(a,y,ee,z),Ne.bogus||(y.cache[he]=Ne)),{left:Ne.left,right:Ne.right,top:ie?Ne.rtop:Ne.top,bottom:ie?Ne.rbottom:Ne.bottom}}var Bs={left:0,right:0,top:0,bottom:0};function Yl(a,y,ee){for(var z,ie,he,Ne,Qe,ut,pt=0;pt<a.length;pt+=3)if(Qe=a[pt],ut=a[pt+1],y<Qe?(ie=0,he=1,Ne="left"):y<ut?(ie=y-Qe,he=ie+1):(pt==a.length-3||y==ut&&a[pt+3]>y)&&(he=ut-Qe,ie=he-1,y>=ut&&(Ne="right")),ie!=null){if(z=a[pt+2],Qe==ut&&ee==(z.insertLeft?"left":"right")&&(Ne=ee),ee=="left"&&ie==0)for(;pt&&a[pt-2]==a[pt-3]&&a[pt-1].insertLeft;)z=a[(pt-=3)+2],Ne="left";if(ee=="right"&&ie==ut-Qe)for(;pt<a.length-3&&a[pt+3]==a[pt+4]&&!a[pt+5].insertLeft;)z=a[(pt+=3)+2],Ne="right";break}return{node:z,start:ie,end:he,collapse:Ne,coverStart:Qe,coverEnd:ut}}function cs(a,y){var ee=Bs;if(y=="left")for(var z=0;z<a.length&&(ee=a[z]).left==ee.right;z++);else for(var ie=a.length-1;ie>=0&&(ee=a[ie]).left==ee.right;ie--);return ee}function ts(a,y,ee,z){var ie=Yl(y.map,ee,z),he=ie.node,Ne=ie.start,Qe=ie.end,ut=ie.collapse,pt;if(he.nodeType==3){for(var nn=0;nn<4;nn++){for(;Ne&&Ie(y.line.text.charAt(ie.coverStart+Ne));)--Ne;for(;ie.coverStart+Qe<ie.coverEnd&&Ie(y.line.text.charAt(ie.coverStart+Qe));)++Qe;if(De&&ve<9&&Ne==0&&Qe==ie.coverEnd-ie.coverStart?pt=he.parentNode.getBoundingClientRect():pt=cs(Se(he,Ne,Qe).getClientRects(),z),pt.left||pt.right||Ne==0)break;Qe=Ne,Ne=Ne-1,ut="right"}De&&ve<11&&(pt=Js(a.display.measure,pt))}else{Ne>0&&(ut=z="right");var hn;a.options.lineWrapping&&(hn=he.getClientRects()).length>1?pt=hn[z=="right"?hn.length-1:0]:pt=he.getBoundingClientRect()}if(De&&ve<9&&!Ne&&(!pt||!pt.left&&!pt.right)){var Nn=he.parentNode.getClientRects()[0];Nn?pt={left:Nn.left,right:Nn.left+Fl(a.display),top:Nn.top,bottom:Nn.bottom}:pt=Bs}for(var On=pt.top-y.rect.top,pr=pt.bottom-y.rect.top,Lr=(On+pr)/2,ti=y.view.measure.heights,hi=0;hi<ti.length-1&&!(Lr<ti[hi]);hi++);var Oi=hi?ti[hi-1]:0,mi=ti[hi],Wi={left:(ut=="right"?pt.right:pt.left)-y.rect.left,right:(ut=="left"?pt.left:pt.right)-y.rect.left,top:Oi,bottom:mi};return!pt.left&&!pt.right&&(Wi.bogus=!0),a.options.singleCursorHeightPerLine||(Wi.rtop=On,Wi.rbottom=pr),Wi}function Js(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ln(a))return y;var ee=screen.logicalXDPI/screen.deviceXDPI,z=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*ee,right:y.right*ee,top:y.top*z,bottom:y.bottom*z}}function ds(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function gl(a){a.display.externalMeasure=null,nt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)ds(a.display.view[y])}function Gl(a){gl(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function ns(){return xe&&Me?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function bs(){return xe&&Me?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function $l(a){var y=0;if(a.widgets)for(var ee=0;ee<a.widgets.length;++ee)a.widgets[ee].above&&(y+=Ya(a.widgets[ee]));return y}function fs(a,y,ee,z,ie){if(!ie){var he=$l(y);ee.top+=he,ee.bottom+=he}if(z=="line")return ee;z||(z="local");var Ne=ji(y);if(z=="local"?Ne+=Pa(a.display):Ne-=a.display.viewOffset,z=="page"||z=="window"){var Qe=a.display.lineSpace.getBoundingClientRect();Ne+=Qe.top+(z=="window"?0:bs());var ut=Qe.left+(z=="window"?0:ns());ee.left+=ut,ee.right+=ut}return ee.top+=Ne,ee.bottom+=Ne,ee}function Cs(a,y,ee){if(ee=="div")return y;var z=y.left,ie=y.top;if(ee=="page")z-=ns(),ie-=bs();else if(ee=="local"||!ee){var he=a.display.sizer.getBoundingClientRect();z+=he.left,ie+=he.top}var Ne=a.display.lineSpace.getBoundingClientRect();return{left:z-Ne.left,top:ie-Ne.top}}function Kl(a,y,ee,z,ie){return z||(z=En(a.doc,y.line)),fs(a,z,ys(a,z,y.ch,ie),ee)}function Ha(a,y,ee,z,ie,he){z=z||En(a.doc,y.line),ie||(ie=Zl(a,z));function Ne(pr,Lr){var ti=vl(a,ie,pr,Lr?"right":"left",he);return Lr?ti.left=ti.right:ti.right=ti.left,fs(a,z,ti,ee)}var Qe=ot(z,a.doc.direction),ut=y.ch,pt=y.sticky;if(ut>=z.text.length?(ut=z.text.length,pt="before"):ut<=0&&(ut=0,pt="after"),!Qe)return Ne(pt=="before"?ut-1:ut,pt=="before");function nn(pr,Lr,ti){var hi=Qe[Lr],Oi=hi.level==1;return Ne(ti?pr-1:pr,Oi!=ti)}var hn=dt(Qe,ut,pt),Nn=it,On=nn(ut,hn,pt=="before");return Nn!=null&&(On.other=nn(ut,Nn,pt!="before")),On}function Ko(a,y){var ee=0;y=jt(a.doc,y),a.options.lineWrapping||(ee=Fl(a.display)*y.ch);var z=En(a.doc,y.line),ie=ji(z)+Pa(a.display);return{left:ee,right:ee,top:ie,bottom:ie+z.height}}function Eo(a,y,ee,z,ie){var he=At(a,y,ee);return he.xRel=ie,z&&(he.outside=z),he}function Ma(a,y,ee){var z=a.doc;if(ee+=a.display.viewOffset,ee<0)return Eo(z.first,0,null,-1,-1);var ie=Qt(z,ee),he=z.first+z.size-1;if(ie>he)return Eo(z.first+z.size-1,En(z,he).text.length,null,1,1);y<0&&(y=0);for(var Ne=En(z,ie);;){var Qe=Pl(a,Ne,ie,y,ee),ut=lr(Ne,Qe.ch+(Qe.xRel>0||Qe.outside>0?1:0));if(!ut)return Qe;var pt=ut.find(1);if(pt.line==ie)return pt;Ne=En(z,ie=pt.line)}}function tl(a,y,ee,z){z-=$l(y);var ie=y.text.length,he=Ye(function(Ne){return vl(a,ee,Ne-1).bottom<=z},ie,0);return ie=Ye(function(Ne){return vl(a,ee,Ne).top>z},he,ie),{begin:he,end:ie}}function Oa(a,y,ee,z){ee||(ee=Zl(a,y));var ie=fs(a,y,vl(a,ee,z),"line").top;return tl(a,y,ee,ie)}function La(a,y,ee,z){return a.bottom<=ee?!1:a.top>ee?!0:(z?a.left:a.right)>y}function Pl(a,y,ee,z,ie){ie-=ji(y);var he=Zl(a,y),Ne=$l(y),Qe=0,ut=y.text.length,pt=!0,nn=ot(y,a.doc.direction);if(nn){var hn=(a.options.lineWrapping?Tl:El)(a,y,ee,he,nn,z,ie);pt=hn.level!=1,Qe=pt?hn.from:hn.to-1,ut=pt?hn.to:hn.from-1}var Nn=null,On=null,pr=Ye(function(mo){var io=vl(a,he,mo);return io.top+=Ne,io.bottom+=Ne,La(io,z,ie,!1)?(io.top<=ie&&io.left<=z&&(Nn=mo,On=io),!0):!1},Qe,ut),Lr,ti,hi=!1;if(On){var Oi=z-On.left<On.right-z,mi=Oi==pt;pr=Nn+(mi?0:1),ti=mi?"after":"before",Lr=Oi?On.left:On.right}else{!pt&&(pr==ut||pr==Qe)&&pr++,ti=pr==0?"after":pr==y.text.length?"before":vl(a,he,pr-(pt?1:0)).bottom+Ne<=ie==pt?"after":"before";var Wi=Ha(a,At(ee,pr,ti),"line",y,he);Lr=Wi.left,hi=ie<Wi.top?-1:ie>=Wi.bottom?1:0}return pr=Le(y.text,pr,1),Eo(ee,pr,ti,hi,z-Lr)}function El(a,y,ee,z,ie,he,Ne){var Qe=Ye(function(hn){var Nn=ie[hn],On=Nn.level!=1;return La(Ha(a,At(ee,On?Nn.to:Nn.from,On?"before":"after"),"line",y,z),he,Ne,!0)},0,ie.length-1),ut=ie[Qe];if(Qe>0){var pt=ut.level!=1,nn=Ha(a,At(ee,pt?ut.from:ut.to,pt?"after":"before"),"line",y,z);La(nn,he,Ne,!0)&&nn.top>Ne&&(ut=ie[Qe-1])}return ut}function Tl(a,y,ee,z,ie,he,Ne){var Qe=tl(a,y,z,Ne),ut=Qe.begin,pt=Qe.end;/\s/.test(y.text.charAt(pt-1))&&pt--;for(var nn=null,hn=null,Nn=0;Nn<ie.length;Nn++){var On=ie[Nn];if(!(On.from>=pt||On.to<=ut)){var pr=On.level!=1,Lr=vl(a,z,pr?Math.min(pt,On.to)-1:Math.max(ut,On.from)).right,ti=Lr<he?he-Lr+1e9:Lr-he;(!nn||hn>ti)&&(nn=On,hn=ti)}}return nn||(nn=ie[ie.length-1]),nn.from<ut&&(nn={from:ut,to:nn.to,level:nn.level}),nn.to>pt&&(nn={from:nn.from,to:pt,level:nn.level}),nn}var ol;function fl(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(ol==null){ol=Ve("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)ol.appendChild(document.createTextNode("x")),ol.appendChild(Ve("br"));ol.appendChild(document.createTextNode("x"))}ke(a.measure,ol);var ee=ol.offsetHeight/50;return ee>3&&(a.cachedTextHeight=ee),nt(a.measure),ee||1}function Fl(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Ve("span","xxxxxxxxxx"),ee=Ve("pre",[y],"CodeMirror-line-like");ke(a.measure,ee);var z=y.getBoundingClientRect(),ie=(z.right-z.left)/10;return ie>2&&(a.cachedCharWidth=ie),ie||10}function Ul(a){for(var y=a.display,ee={},z={},ie=y.gutters.clientLeft,he=y.gutters.firstChild,Ne=0;he;he=he.nextSibling,++Ne){var Qe=a.display.gutterSpecs[Ne].className;ee[Qe]=he.offsetLeft+he.clientLeft+ie,z[Qe]=he.clientWidth}return{fixedPos:Os(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:ee,gutterWidth:z,wrapperWidth:y.wrapper.clientWidth}}function Os(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Ms(a){var y=fl(a.display),ee=a.options.lineWrapping,z=ee&&Math.max(5,a.display.scroller.clientWidth/Fl(a.display)-3);return function(ie){if(Cr(a.doc,ie))return 0;var he=0;if(ie.widgets)for(var Ne=0;Ne<ie.widgets.length;Ne++)ie.widgets[Ne].height&&(he+=ie.widgets[Ne].height);return ee?he+(Math.ceil(ie.text.length/z)||1)*y:he+y}}function rs(a){var y=a.doc,ee=Ms(a);y.iter(function(z){var ie=ee(z);ie!=z.height&&rr(z,ie)})}function zl(a,y,ee,z){var ie=a.display;if(!ee&&Mt(y).getAttribute("cm-not-content")=="true")return null;var he,Ne,Qe=ie.lineSpace.getBoundingClientRect();try{he=y.clientX-Qe.left,Ne=y.clientY-Qe.top}catch(hn){return null}var ut=Ma(a,he,Ne),pt;if(z&&ut.xRel>0&&(pt=En(a.doc,ut.line).text).length==ut.ch){var nn=Ze(pt,pt.length,a.options.tabSize)-pt.length;ut=At(ut.line,Math.max(0,Math.round((he-Al(a.display).left)/Fl(a.display))-nn))}return ut}function kl(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var ee=a.display.view,z=0;z<ee.length;z++)if(y-=ee[z].size,y<0)return z}function Ga(a,y,ee,z){y==null&&(y=a.doc.first),ee==null&&(ee=a.doc.first+a.doc.size),z||(z=0);var ie=a.display;if(z&&ee<ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>y)&&(ie.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=ie.viewTo)$r&&ir(a.doc,y)<ie.viewTo&&Ll(a);else if(ee<=ie.viewFrom)$r&&Gn(a.doc,ee+z)>ie.viewFrom?Ll(a):(ie.viewFrom+=z,ie.viewTo+=z);else if(y<=ie.viewFrom&&ee>=ie.viewTo)Ll(a);else if(y<=ie.viewFrom){var he=xs(a,ee,ee+z,1);he?(ie.view=ie.view.slice(he.index),ie.viewFrom=he.lineN,ie.viewTo+=z):Ll(a)}else if(ee>=ie.viewTo){var Ne=xs(a,y,y,-1);Ne?(ie.view=ie.view.slice(0,Ne.index),ie.viewTo=Ne.lineN):Ll(a)}else{var Qe=xs(a,y,y,-1),ut=xs(a,ee,ee+z,1);Qe&&ut?(ie.view=ie.view.slice(0,Qe.index).concat(ta(a,Qe.lineN,ut.lineN)).concat(ie.view.slice(ut.index)),ie.viewTo+=z):Ll(a)}var pt=ie.externalMeasured;pt&&(ee<pt.lineN?pt.lineN+=z:y<pt.lineN+pt.size&&(ie.externalMeasured=null))}function Wl(a,y,ee){a.curOp.viewChanged=!0;var z=a.display,ie=a.display.externalMeasured;if(ie&&y>=ie.lineN&&y<ie.lineN+ie.size&&(z.externalMeasured=null),!(y<z.viewFrom||y>=z.viewTo)){var he=z.view[kl(a,y)];if(he.node!=null){var Ne=he.changes||(he.changes=[]);Be(Ne,ee)==-1&&Ne.push(ee)}}}function Ll(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function xs(a,y,ee,z){var ie=kl(a,y),he,Ne=a.display.view;if(!$r||ee==a.doc.first+a.doc.size)return{index:ie,lineN:ee};for(var Qe=a.display.viewFrom,ut=0;ut<ie;ut++)Qe+=Ne[ut].size;if(Qe!=y){if(z>0){if(ie==Ne.length-1)return null;he=Qe+Ne[ie].size-y,ie++}else he=Qe-y;y+=he,ee+=he}for(;ir(a.doc,ee)!=ee;){if(ie==(z<0?0:Ne.length-1))return null;ee+=z*Ne[ie-(z<0?1:0)].size,ie+=z}return{index:ie,lineN:ee}}function Vs(a,y,ee){var z=a.display,ie=z.view;ie.length==0||y>=z.viewTo||ee<=z.viewFrom?(z.view=ta(a,y,ee),z.viewFrom=y):(z.viewFrom>y?z.view=ta(a,y,z.viewFrom).concat(z.view):z.viewFrom<y&&(z.view=z.view.slice(kl(a,y))),z.viewFrom=y,z.viewTo<ee?z.view=z.view.concat(ta(a,z.viewTo,ee)):z.viewTo>ee&&(z.view=z.view.slice(0,kl(a,ee)))),z.viewTo=ee}function Es(a){for(var y=a.display.view,ee=0,z=0;z<y.length;z++){var ie=y[z];!ie.hidden&&(!ie.node||ie.changes)&&++ee}return ee}function Xl(a){a.display.input.showSelection(a.display.input.prepareSelection())}function hu(a,y){y===void 0&&(y=!0);for(var ee=a.doc,z={},ie=z.cursors=document.createDocumentFragment(),he=z.selection=document.createDocumentFragment(),Ne=0;Ne<ee.sel.ranges.length;Ne++)if(!(!y&&Ne==ee.sel.primIndex)){var Qe=ee.sel.ranges[Ne];if(!(Qe.from().line>=a.display.viewTo||Qe.to().line<a.display.viewFrom)){var ut=Qe.empty();(ut||a.options.showCursorWhenSelecting)&&Ks(a,Qe.head,ie),ut||xu(a,Qe,he)}}return z}function Ks(a,y,ee){var z=Ha(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ie=ee.appendChild(Ve("div","\xA0","CodeMirror-cursor"));if(ie.style.left=z.left+"px",ie.style.top=z.top+"px",ie.style.height=Math.max(0,z.bottom-z.top)*a.options.cursorHeight+"px",z.other){var he=ee.appendChild(Ve("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));he.style.display="",he.style.left=z.other.left+"px",he.style.top=z.other.top+"px",he.style.height=(z.other.bottom-z.other.top)*.85+"px"}}function hs(a,y){return a.top-y.top||a.left-y.left}function xu(a,y,ee){var z=a.display,ie=a.doc,he=document.createDocumentFragment(),Ne=Al(a.display),Qe=Ne.left,ut=Math.max(z.sizerWidth,Dl(a)-z.sizer.offsetLeft)-Ne.right,pt=ie.direction=="ltr";function nn(mi,Wi,mo,io){Wi<0&&(Wi=0),Wi=Math.round(Wi),io=Math.round(io),he.appendChild(Ve("div",null,"CodeMirror-selected","position: absolute; left: "+mi+`px;
|
|
|
top: `+Wi+"px; width: "+(mo==null?ut-mi:mo)+`px;
|
|
|
height: `+(io-Wi)+"px"))}function hn(mi,Wi,mo){var io=En(ie,mi),Vo=io.text.length,wa,cl;function Za(Ja,Ol){return Kl(a,At(mi,Ja),"div",io,Ol)}function Rl(Ja,Ol,ml){var nl=Oa(a,io,null,Ja),qa=Ol=="ltr"==(ml=="after")?"left":"right",ja=ml=="after"?nl.begin:nl.end-(/\s/.test(io.text.charAt(nl.end-1))?2:1);return Za(ja,qa)[qa]}var Bl=ot(io,ie.direction);return Ge(Bl,Wi||0,mo==null?Vo:mo,function(Ja,Ol,ml,nl){var qa=ml=="ltr",ja=Za(Ja,qa?"left":"right"),Ml=Za(Ol-1,qa?"right":"left"),Xs=Wi==null&&Ja==0,Is=mo==null&&Ol==Vo,bl=nl==0,ss=!Bl||nl==Bl.length-1;if(Ml.top-ja.top<=3){var dl=(pt?Xs:Is)&&bl,Bu=(pt?Is:Xs)&&ss,gs=dl?Qe:(qa?ja:Ml).left,Hs=Bu?ut:(qa?Ml:ja).right;nn(gs,ja.top,Hs-gs,ja.bottom)}else{var js,wl,Qs,Ou;qa?(js=pt&&Xs&&bl?Qe:ja.left,wl=pt?ut:Rl(Ja,ml,"before"),Qs=pt?Qe:Rl(Ol,ml,"after"),Ou=pt&&Is&&ss?ut:Ml.right):(js=pt?Rl(Ja,ml,"before"):Qe,wl=!pt&&Xs&&bl?ut:ja.right,Qs=!pt&&Is&&ss?Qe:Ml.left,Ou=pt?Rl(Ol,ml,"after"):ut),nn(js,ja.top,wl-js,ja.bottom),ja.bottom<Ml.top&&nn(Qe,ja.bottom,null,Ml.top),nn(Qs,Ml.top,Ou-Qs,Ml.bottom)}(!wa||hs(ja,wa)<0)&&(wa=ja),hs(Ml,wa)<0&&(wa=Ml),(!cl||hs(ja,cl)<0)&&(cl=ja),hs(Ml,cl)<0&&(cl=Ml)}),{start:wa,end:cl}}var Nn=y.from(),On=y.to();if(Nn.line==On.line)hn(Nn.line,Nn.ch,On.ch);else{var pr=En(ie,Nn.line),Lr=En(ie,On.line),ti=Qn(pr)==Qn(Lr),hi=hn(Nn.line,Nn.ch,ti?pr.text.length+1:null).end,Oi=hn(On.line,ti?0:null,On.ch).start;ti&&(hi.top<Oi.top-2?(nn(hi.right,hi.top,null,hi.bottom),nn(Qe,Oi.top,Oi.left,Oi.bottom)):nn(hi.right,hi.top,Oi.left-hi.right,hi.bottom)),hi.bottom<Oi.top&&nn(Qe,hi.bottom,null,Oi.top)}ee.appendChild(he)}function Ts(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var ee=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||is(a),y.cursorDiv.style.visibility=(ee=!ee)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function mu(a){a.state.focused||(a.display.input.focus(),Ql(a))}function ks(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,is(a))},100)}function Ql(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||($t(a,"focus",a,y),a.state.focused=!0,be(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),ye&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ts(a))}function is(a,y){a.state.delayingBlurEvent||(a.state.focused&&($t(a,"blur",a,y),a.state.focused=!1,ze(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Qi(a){for(var y=a.display,ee=y.lineDiv.offsetTop,z=0;z<y.view.length;z++){var ie=y.view[z],he=a.options.lineWrapping,Ne=void 0,Qe=0;if(!ie.hidden){if(De&&ve<8){var ut=ie.node.offsetTop+ie.node.offsetHeight;Ne=ut-ee,ee=ut}else{var pt=ie.node.getBoundingClientRect();Ne=pt.bottom-pt.top,!he&&ie.text.firstChild&&(Qe=ie.text.firstChild.getBoundingClientRect().right-pt.left-1)}var nn=ie.line.height-Ne;if((nn>.005||nn<-.005)&&(rr(ie.line,Ne),os(ie.line),ie.rest))for(var hn=0;hn<ie.rest.length;hn++)os(ie.rest[hn]);if(Qe>a.display.sizerWidth){var Nn=Math.ceil(Qe/Fl(a.display));Nn>a.display.maxLineLength&&(a.display.maxLineLength=Nn,a.display.maxLine=ie.line,a.display.maxLineChanged=!0)}}}}function os(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var ee=a.widgets[y],z=ee.node.parentNode;z&&(ee.height=z.offsetHeight)}}function me(a,y,ee){var z=ee&&ee.top!=null?Math.max(0,ee.top):a.scroller.scrollTop;z=Math.floor(z-Pa(a));var ie=ee&&ee.bottom!=null?ee.bottom:z+a.wrapper.clientHeight,he=Qt(y,z),Ne=Qt(y,ie);if(ee&&ee.ensure){var Qe=ee.ensure.from.line,ut=ee.ensure.to.line;Qe<he?(he=Qe,Ne=Qt(y,ji(En(y,Qe))+a.wrapper.clientHeight)):Math.min(ut,y.lastLine())>=Ne&&(he=Qt(y,ji(En(y,ut))-a.wrapper.clientHeight),Ne=ut)}return{from:he,to:Math.max(Ne,he+1)}}function Xe(a,y){if(!Rt(a,"scrollCursorIntoView")){var ee=a.display,z=ee.sizer.getBoundingClientRect(),ie=null;if(y.top+z.top<0?ie=!0:y.bottom+z.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!Te){var he=Ve("div","\u200B",null,`position: absolute;
|
|
|
top: `+(y.top-ee.viewOffset-Pa(a.display))+`px;
|
|
|
height: `+(y.bottom-y.top+el(a)+ee.barHeight)+`px;
|
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(he),he.scrollIntoView(ie),a.display.lineSpace.removeChild(he)}}}function mt(a,y,ee,z){z==null&&(z=0);var ie;!a.options.lineWrapping&&y==ee&&(y=y.ch?At(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,ee=y.sticky=="before"?At(y.line,y.ch+1,"before"):y);for(var he=0;he<5;he++){var Ne=!1,Qe=Ha(a,y),ut=!ee||ee==y?Qe:Ha(a,ee);ie={left:Math.min(Qe.left,ut.left),top:Math.min(Qe.top,ut.top)-z,right:Math.max(Qe.left,ut.left),bottom:Math.max(Qe.bottom,ut.bottom)+z};var pt=Bt(a,ie),nn=a.doc.scrollTop,hn=a.doc.scrollLeft;if(pt.scrollTop!=null&&(qn(a,pt.scrollTop),Math.abs(a.doc.scrollTop-nn)>1&&(Ne=!0)),pt.scrollLeft!=null&&(or(a,pt.scrollLeft),Math.abs(a.doc.scrollLeft-hn)>1&&(Ne=!0)),!Ne)break}return ie}function Ft(a,y){var ee=Bt(a,y);ee.scrollTop!=null&&qn(a,ee.scrollTop),ee.scrollLeft!=null&&or(a,ee.scrollLeft)}function Bt(a,y){var ee=a.display,z=fl(a.display);y.top<0&&(y.top=0);var ie=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ee.scroller.scrollTop,he=Ao(a),Ne={};y.bottom-y.top>he&&(y.bottom=y.top+he);var Qe=a.doc.height+pl(ee),ut=y.top<z,pt=y.bottom>Qe-z;if(y.top<ie)Ne.scrollTop=ut?0:y.top;else if(y.bottom>ie+he){var nn=Math.min(y.top,(pt?Qe:y.bottom)-he);nn!=ie&&(Ne.scrollTop=nn)}var hn=a.options.fixedGutter?0:ee.gutters.offsetWidth,Nn=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ee.scroller.scrollLeft-hn,On=Dl(a)-ee.gutters.offsetWidth,pr=y.right-y.left>On;return pr&&(y.right=y.left+On),y.left<10?Ne.scrollLeft=0:y.left<Nn?Ne.scrollLeft=Math.max(0,y.left+hn-(pr?0:10)):y.right>On+Nn-3&&(Ne.scrollLeft=y.right+(pr?0:10)-On),Ne}function fn(a,y){y!=null&&(Kn(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function bn(a){Kn(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function An(a,y,ee){(y!=null||ee!=null)&&Kn(a),y!=null&&(a.curOp.scrollLeft=y),ee!=null&&(a.curOp.scrollTop=ee)}function Zn(a,y){Kn(a),a.curOp.scrollToPos=y}function Kn(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var ee=Ko(a,y.from),z=Ko(a,y.to);Dn(a,ee,z,y.margin)}}function Dn(a,y,ee,z){var ie=Bt(a,{left:Math.min(y.left,ee.left),top:Math.min(y.top,ee.top)-z,right:Math.max(y.right,ee.right),bottom:Math.max(y.bottom,ee.bottom)+z});An(a,ie.scrollLeft,ie.scrollTop)}function qn(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||lo(a,{top:y}),sr(a,y,!0),b&&lo(a),Vi(a,100))}function sr(a,y,ee){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!ee)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function or(a,y,ee,z){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ee?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!z)&&(a.doc.scrollLeft=y,Ct(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function er(a){var y=a.display,ee=y.gutters.offsetWidth,z=Math.round(a.doc.height+pl(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?ee:0,docHeight:z,scrollHeight:z+el(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:ee}}var dr=function(a,y,ee){this.cm=ee;var z=this.vert=Ve("div",[Ve("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ie=this.horiz=Ve("div",[Ve("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");z.tabIndex=ie.tabIndex=-1,a(z),a(ie),Vt(z,"scroll",function(){z.clientHeight&&y(z.scrollTop,"vertical")}),Vt(ie,"scroll",function(){ie.clientWidth&&y(ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,De&&ve<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};dr.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,ee=a.scrollHeight>a.clientHeight+1,z=a.nativeBarWidth;if(ee){this.vert.style.display="block",this.vert.style.bottom=y?z+"px":"0";var ie=a.viewHeight-(y?z:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=ee?z+"px":"0",this.horiz.style.left=a.barLeft+"px";var he=a.viewWidth-a.barLeft-(ee?z:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+he)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(z==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ee?z:0,bottom:y?z:0}},dr.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},dr.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},dr.prototype.zeroWidthHack=function(){var a=Ae&&!Ce?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new se,this.disableVert=new se},dr.prototype.enableZeroWidthBar=function(a,y,ee){a.style.pointerEvents="auto";function z(){var ie=a.getBoundingClientRect(),he=ee=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);he!=a?a.style.pointerEvents="none":y.set(1e3,z)}y.set(1e3,z)},dr.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var hr=function(){};hr.prototype.update=function(){return{bottom:0,right:0}},hr.prototype.setScrollLeft=function(){},hr.prototype.setScrollTop=function(){},hr.prototype.clear=function(){};function mr(a,y){y||(y=er(a));var ee=a.display.barWidth,z=a.display.barHeight;_r(a,y);for(var ie=0;ie<4&&ee!=a.display.barWidth||z!=a.display.barHeight;ie++)ee!=a.display.barWidth&&a.options.lineWrapping&&Qi(a),_r(a,er(a)),ee=a.display.barWidth,z=a.display.barHeight}function _r(a,y){var ee=a.display,z=ee.scrollbars.update(y);ee.sizer.style.paddingRight=(ee.barWidth=z.right)+"px",ee.sizer.style.paddingBottom=(ee.barHeight=z.bottom)+"px",ee.heightForcer.style.borderBottom=z.bottom+"px solid transparent",z.right&&z.bottom?(ee.scrollbarFiller.style.display="block",ee.scrollbarFiller.style.height=z.bottom+"px",ee.scrollbarFiller.style.width=z.right+"px"):ee.scrollbarFiller.style.display="",z.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ee.gutterFiller.style.display="block",ee.gutterFiller.style.height=z.bottom+"px",ee.gutterFiller.style.width=y.gutterWidth+"px"):ee.gutterFiller.style.display=""}var kr={native:dr,null:hr};function xr(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&ze(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new kr[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),Vt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,ee){ee=="horizontal"?or(a,y):qn(a,y)},a),a.display.scrollbars.addClass&&be(a.display.wrapper,a.display.scrollbars.addClass)}var Qr=0;function Br(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++Qr},Wo(a.curOp)}function Nr(a){var y=a.curOp;y&&ho(y,function(ee){for(var z=0;z<ee.ops.length;z++)ee.ops[z].cm.curOp=null;Bi(ee)})}function Bi(a){for(var y=a.ops,ee=0;ee<y.length;ee++)pi(y[ee]);for(var z=0;z<y.length;z++)yi(y[z]);for(var ie=0;ie<y.length;ie++)di(y[ie]);for(var he=0;he<y.length;he++)Li(y[he]);for(var Ne=0;Ne<y.length;Ne++)xi(y[Ne])}function pi(a){var y=a.cm,ee=y.display;Si(y),a.updateMaxLine&&ao(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<ee.viewFrom||a.scrollToPos.to.line>=ee.viewTo)||ee.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new vi(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function yi(a){a.updatedDisplay=a.mustUpdate&&gi(a.cm,a.update)}function di(a){var y=a.cm,ee=y.display;a.updatedDisplay&&Qi(y),a.barMeasure=er(y),ee.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ys(y,ee.maxLine,ee.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ee.scroller.clientWidth,ee.sizer.offsetLeft+a.adjustWidthTo+el(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,ee.sizer.offsetLeft+a.adjustWidthTo-Dl(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ee.input.prepareSelection())}function Li(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&or(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var ee=a.focus&&a.focus==pe();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,ee),(a.updatedDisplay||a.startHeight!=y.doc.height)&&mr(y,a.barMeasure),a.updatedDisplay&&He(y,a.barMeasure),a.selectionChanged&&Ts(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),ee&&mu(a.cm)}function xi(a){var y=a.cm,ee=y.display,z=y.doc;if(a.updatedDisplay&&Ki(y,a.update),ee.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(ee.wheelStartX=ee.wheelStartY=null),a.scrollTop!=null&&sr(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&or(y,a.scrollLeft,!0,!0),a.scrollToPos){var ie=mt(y,jt(z,a.scrollToPos.from),jt(z,a.scrollToPos.to),a.scrollToPos.margin);Xe(y,ie)}var he=a.maybeHiddenMarkers,Ne=a.maybeUnhiddenMarkers;if(he)for(var Qe=0;Qe<he.length;++Qe)he[Qe].lines.length||$t(he[Qe],"hide");if(Ne)for(var ut=0;ut<Ne.length;++ut)Ne[ut].lines.length&&$t(Ne[ut],"unhide");ee.wrapper.offsetHeight&&(z.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&$t(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function ii(a,y){if(a.curOp)return y();Br(a);try{return y()}finally{Nr(a)}}function Gr(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Br(a);try{return y.apply(a,arguments)}finally{Nr(a)}}}function si(a){return function(){if(this.curOp)return a.apply(this,arguments);Br(this);try{return a.apply(this,arguments)}finally{Nr(this)}}}function li(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Br(y);try{return a.apply(this,arguments)}finally{Nr(y)}}}function Vi(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,at(Ni,a))}function Ni(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var ee=+new Date+a.options.workTime,z=zr(a,y.highlightFrontier),ie=[];y.iter(z.line,Math.min(y.first+y.size,a.display.viewTo+500),function(he){if(z.line>=a.display.viewFrom){var Ne=he.styles,Qe=he.text.length>a.options.maxHighlightLength?ar(y.mode,z.state):null,ut=Vn(a,he,z,!0);Qe&&(z.state=Qe),he.styles=ut.styles;var pt=he.styleClasses,nn=ut.classes;nn?he.styleClasses=nn:pt&&(he.styleClasses=null);for(var hn=!Ne||Ne.length!=he.styles.length||pt!=nn&&(!pt||!nn||pt.bgClass!=nn.bgClass||pt.textClass!=nn.textClass),Nn=0;!hn&&Nn<Ne.length;++Nn)hn=Ne[Nn]!=he.styles[Nn];hn&&ie.push(z.line),he.stateAfter=z.save(),z.nextLine()}else he.text.length<=a.options.maxHighlightLength&&Xr(a,he.text,z),he.stateAfter=z.line%5==0?z.save():null,z.nextLine();if(+new Date>ee)return Vi(a,a.options.workDelay),!0}),y.highlightFrontier=z.line,y.modeFrontier=Math.max(y.modeFrontier,z.line),ie.length&&ii(a,function(){for(var he=0;he<ie.length;he++)Wl(a,ie[he],"text")})}}var vi=function(a,y,ee){var z=a.display;this.viewport=y,this.visible=me(z,a.doc,y),this.editorIsHidden=!z.wrapper.offsetWidth,this.wrapperHeight=z.wrapper.clientHeight,this.wrapperWidth=z.wrapper.clientWidth,this.oldDisplayWidth=Dl(a),this.force=ee,this.dims=Ul(a),this.events=[]};vi.prototype.signal=function(a,y){qt(a,y)&&this.events.push(arguments)},vi.prototype.finish=function(){for(var a=0;a<this.events.length;a++)$t.apply(null,this.events[a])};function Si(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=el(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=el(a)+"px",y.scrollbarsClipped=!0)}function oi(a){if(a.hasFocus())return null;var y=pe();if(!y||!qe(a.display.lineDiv,y))return null;var ee={activeElt:y};if(window.getSelection){var z=window.getSelection();z.anchorNode&&z.extend&&qe(a.display.lineDiv,z.anchorNode)&&(ee.anchorNode=z.anchorNode,ee.anchorOffset=z.anchorOffset,ee.focusNode=z.focusNode,ee.focusOffset=z.focusOffset)}return ee}function bi(a){if(!(!a||!a.activeElt||a.activeElt==pe())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&qe(document.body,a.anchorNode)&&qe(document.body,a.focusNode))){var y=window.getSelection(),ee=document.createRange();ee.setEnd(a.anchorNode,a.anchorOffset),ee.collapse(!1),y.removeAllRanges(),y.addRange(ee),y.extend(a.focusNode,a.focusOffset)}}function gi(a,y){var ee=a.display,z=a.doc;if(y.editorIsHidden)return Ll(a),!1;if(!y.force&&y.visible.from>=ee.viewFrom&&y.visible.to<=ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo)&&ee.renderedView==ee.view&&Es(a)==0)return!1;Pt(a)&&(Ll(a),y.dims=Ul(a));var ie=z.first+z.size,he=Math.max(y.visible.from-a.options.viewportMargin,z.first),Ne=Math.min(ie,y.visible.to+a.options.viewportMargin);ee.viewFrom<he&&he-ee.viewFrom<20&&(he=Math.max(z.first,ee.viewFrom)),ee.viewTo>Ne&&ee.viewTo-Ne<20&&(Ne=Math.min(ie,ee.viewTo)),$r&&(he=ir(a.doc,he),Ne=Gn(a.doc,Ne));var Qe=he!=ee.viewFrom||Ne!=ee.viewTo||ee.lastWrapHeight!=y.wrapperHeight||ee.lastWrapWidth!=y.wrapperWidth;Vs(a,he,Ne),ee.viewOffset=ji(En(a.doc,ee.viewFrom)),a.display.mover.style.top=ee.viewOffset+"px";var ut=Es(a);if(!Qe&&ut==0&&!y.force&&ee.renderedView==ee.view&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo))return!1;var pt=oi(a);return ut>4&&(ee.lineDiv.style.display="none"),uo(a,ee.updateLineNumbers,y.dims),ut>4&&(ee.lineDiv.style.display=""),ee.renderedView=ee.view,bi(pt),nt(ee.cursorDiv),nt(ee.selectionDiv),ee.gutters.style.height=ee.sizer.style.minHeight=0,Qe&&(ee.lastWrapHeight=y.wrapperHeight,ee.lastWrapWidth=y.wrapperWidth,Vi(a,400)),ee.updateLineNumbers=null,!0}function Ki(a,y){for(var ee=y.viewport,z=!0;;z=!1){if(!z||!a.options.lineWrapping||y.oldDisplayWidth==Dl(a)){if(ee&&ee.top!=null&&(ee={top:Math.min(a.doc.height+pl(a.display)-Ao(a),ee.top)}),y.visible=me(a.display,a.doc,ee),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else z&&(y.visible=me(a.display,a.doc,ee));if(!gi(a,y))break;Qi(a);var ie=er(a);Xl(a),mr(a,ie),He(a,ie),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function lo(a,y){var ee=new vi(a,y);if(gi(a,ee)){Qi(a),Ki(a,ee);var z=er(a);Xl(a),mr(a,z),He(a,z),ee.finish()}}function uo(a,y,ee){var z=a.display,ie=a.options.lineNumbers,he=z.lineDiv,Ne=he.firstChild;function Qe(pr){var Lr=pr.nextSibling;return ye&&Ae&&a.display.currentWheelTarget==pr?pr.style.display="none":pr.parentNode.removeChild(pr),Lr}for(var ut=z.view,pt=z.viewFrom,nn=0;nn<ut.length;nn++){var hn=ut[nn];if(!hn.hidden)if(!hn.node||hn.node.parentNode!=he){var Nn=to(a,hn,pt,ee);he.insertBefore(Nn,Ne)}else{for(;Ne!=hn.node;)Ne=Qe(Ne);var On=ie&&y!=null&&y<=pt&&hn.lineNumber;hn.changes&&(Be(hn.changes,"gutter")>-1&&(On=!1),rl(a,hn,pt,ee)),On&&(nt(hn.lineNumber),hn.lineNumber.appendChild(document.createTextNode(Zt(a.options,pt)))),Ne=hn.node.nextSibling}pt+=hn.size}for(;Ne;)Ne=Qe(Ne)}function _e(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function He(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+el(a)+"px"}function Ct(a){var y=a.display,ee=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var z=Os(y)-y.scroller.scrollLeft+a.doc.scrollLeft,ie=y.gutters.offsetWidth,he=z+"px",Ne=0;Ne<ee.length;Ne++)if(!ee[Ne].hidden){a.options.fixedGutter&&(ee[Ne].gutter&&(ee[Ne].gutter.style.left=he),ee[Ne].gutterBackground&&(ee[Ne].gutterBackground.style.left=he));var Qe=ee[Ne].alignable;if(Qe)for(var ut=0;ut<Qe.length;ut++)Qe[ut].style.left=he}a.options.fixedGutter&&(y.gutters.style.left=z+ie+"px")}}function Pt(a){if(!a.options.lineNumbers)return!1;var y=a.doc,ee=Zt(a.options,y.first+y.size-1),z=a.display;if(ee.length!=z.lineNumChars){var ie=z.measure.appendChild(Ve("div",[Ve("div",ee)],"CodeMirror-linenumber CodeMirror-gutter-elt")),he=ie.firstChild.offsetWidth,Ne=ie.offsetWidth-he;return z.lineGutter.style.width="",z.lineNumInnerWidth=Math.max(he,z.lineGutter.offsetWidth-Ne)+1,z.lineNumWidth=z.lineNumInnerWidth+Ne,z.lineNumChars=z.lineNumInnerWidth?ee.length:-1,z.lineGutter.style.width=z.lineNumWidth+"px",_e(a.display),!0}return!1}function Nt(a,y){for(var ee=[],z=!1,ie=0;ie<a.length;ie++){var he=a[ie],Ne=null;if(typeof he!="string"&&(Ne=he.style,he=he.className),he=="CodeMirror-linenumbers")if(y)z=!0;else continue;ee.push({className:he,style:Ne})}return y&&!z&&ee.push({className:"CodeMirror-linenumbers",style:null}),ee}function _t(a){var y=a.gutters,ee=a.gutterSpecs;nt(y),a.lineGutter=null;for(var z=0;z<ee.length;++z){var ie=ee[z],he=ie.className,Ne=ie.style,Qe=y.appendChild(Ve("div",null,"CodeMirror-gutter "+he));Ne&&(Qe.style.cssText=Ne),he=="CodeMirror-linenumbers"&&(a.lineGutter=Qe,Qe.style.width=(a.lineNumWidth||1)+"px")}y.style.display=ee.length?"":"none",_e(a)}function cn(a){_t(a.display),Ga(a),Ct(a)}function rn(a,y,ee,z){var ie=this;this.input=ee,ie.scrollbarFiller=Ve("div",null,"CodeMirror-scrollbar-filler"),ie.scrollbarFiller.setAttribute("cm-not-content","true"),ie.gutterFiller=Ve("div",null,"CodeMirror-gutter-filler"),ie.gutterFiller.setAttribute("cm-not-content","true"),ie.lineDiv=et("div",null,"CodeMirror-code"),ie.selectionDiv=Ve("div",null,null,"position: relative; z-index: 1"),ie.cursorDiv=Ve("div",null,"CodeMirror-cursors"),ie.measure=Ve("div",null,"CodeMirror-measure"),ie.lineMeasure=Ve("div",null,"CodeMirror-measure"),ie.lineSpace=et("div",[ie.measure,ie.lineMeasure,ie.selectionDiv,ie.cursorDiv,ie.lineDiv],null,"position: relative; outline: none");var he=et("div",[ie.lineSpace],"CodeMirror-lines");ie.mover=Ve("div",[he],null,"position: relative"),ie.sizer=Ve("div",[ie.mover],"CodeMirror-sizer"),ie.sizerWidth=null,ie.heightForcer=Ve("div",null,null,"position: absolute; height: "+Je+"px; width: 1px;"),ie.gutters=Ve("div",null,"CodeMirror-gutters"),ie.lineGutter=null,ie.scroller=Ve("div",[ie.sizer,ie.heightForcer,ie.gutters],"CodeMirror-scroll"),ie.scroller.setAttribute("tabIndex","-1"),ie.wrapper=Ve("div",[ie.scrollbarFiller,ie.gutterFiller,ie.scroller],"CodeMirror"),De&&ve<8&&(ie.gutters.style.zIndex=-1,ie.scroller.style.paddingRight=0),!ye&&!(b&&ge)&&(ie.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ie.wrapper):a(ie.wrapper)),ie.viewFrom=ie.viewTo=y.first,ie.reportedViewFrom=ie.reportedViewTo=y.first,ie.view=[],ie.renderedView=null,ie.externalMeasured=null,ie.viewOffset=0,ie.lastWrapHeight=ie.lastWrapWidth=0,ie.updateLineNumbers=null,ie.nativeBarWidth=ie.barHeight=ie.barWidth=0,ie.scrollbarsClipped=!1,ie.lineNumWidth=ie.lineNumInnerWidth=ie.lineNumChars=null,ie.alignWidgets=!1,ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.maxLine=null,ie.maxLineLength=0,ie.maxLineChanged=!1,ie.wheelDX=ie.wheelDY=ie.wheelStartX=ie.wheelStartY=null,ie.shift=!1,ie.selForContextMenu=null,ie.activeTouch=null,ie.gutterSpecs=Nt(z.gutters,z.lineNumbers),_t(ie),ee.init(ie)}var pn=0,vn=null;De?vn=-.53:b?vn=15:xe?vn=-.7:Fe&&(vn=-1/3);function Tn(a){var y=a.wheelDeltaX,ee=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),ee==null&&a.detail&&a.axis==a.VERTICAL_AXIS?ee=a.detail:ee==null&&(ee=a.wheelDelta),{x:y,y:ee}}function Fn(a){var y=Tn(a);return y.x*=vn,y.y*=vn,y}function Pn(a,y){var ee=Tn(y),z=ee.x,ie=ee.y,he=a.display,Ne=he.scroller,Qe=Ne.scrollWidth>Ne.clientWidth,ut=Ne.scrollHeight>Ne.clientHeight;if(z&&Qe||ie&&ut){if(ie&&Ae&&ye){e:for(var pt=y.target,nn=he.view;pt!=Ne;pt=pt.parentNode)for(var hn=0;hn<nn.length;hn++)if(nn[hn].node==pt){a.display.currentWheelTarget=pt;break e}}if(z&&!b&&!ue&&vn!=null){ie&&ut&&qn(a,Math.max(0,Ne.scrollTop+ie*vn)),or(a,Math.max(0,Ne.scrollLeft+z*vn)),(!ie||ie&&ut)&&Tt(y),he.wheelStartX=null;return}if(ie&&vn!=null){var Nn=ie*vn,On=a.doc.scrollTop,pr=On+he.wrapper.clientHeight;Nn<0?On=Math.max(0,On+Nn-50):pr=Math.min(a.doc.height,pr+Nn+50),lo(a,{top:On,bottom:pr})}pn<20&&(he.wheelStartX==null?(he.wheelStartX=Ne.scrollLeft,he.wheelStartY=Ne.scrollTop,he.wheelDX=z,he.wheelDY=ie,setTimeout(function(){if(he.wheelStartX!=null){var Lr=Ne.scrollLeft-he.wheelStartX,ti=Ne.scrollTop-he.wheelStartY,hi=ti&&he.wheelDY&&ti/he.wheelDY||Lr&&he.wheelDX&&Lr/he.wheelDX;he.wheelStartX=he.wheelStartY=null,hi&&(vn=(vn*pn+hi)/(pn+1),++pn)}},200)):(he.wheelDX+=z,he.wheelDY+=ie))}}var Cn=function(a,y){this.ranges=a,this.primIndex=y};Cn.prototype.primary=function(){return this.ranges[this.primIndex]},Cn.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var ee=this.ranges[y],z=a.ranges[y];if(!ht(ee.anchor,z.anchor)||!ht(ee.head,z.head))return!1}return!0},Cn.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new gn(Xt(this.ranges[y].anchor),Xt(this.ranges[y].head));return new Cn(a,this.primIndex)},Cn.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Cn.prototype.contains=function(a,y){y||(y=a);for(var ee=0;ee<this.ranges.length;ee++){var z=this.ranges[ee];if(Ht(y,z.from())>=0&&Ht(a,z.to())<=0)return ee}return-1};var gn=function(a,y){this.anchor=a,this.head=y};gn.prototype.from=function(){return dn(this.anchor,this.head)},gn.prototype.to=function(){return tn(this.anchor,this.head)},gn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ur(a,y,ee){var z=a&&a.options.selectionsMayTouch,ie=y[ee];y.sort(function(Nn,On){return Ht(Nn.from(),On.from())}),ee=Be(y,ie);for(var he=1;he<y.length;he++){var Ne=y[he],Qe=y[he-1],ut=Ht(Qe.to(),Ne.from());if(z&&!Ne.empty()?ut>0:ut>=0){var pt=dn(Qe.from(),Ne.from()),nn=tn(Qe.to(),Ne.to()),hn=Qe.empty()?Ne.from()==Ne.head:Qe.from()==Qe.head;he<=ee&&--ee,y.splice(--he,2,new gn(hn?nn:pt,hn?pt:nn))}}return new Cn(y,ee)}function Hn(a,y){return new Cn([new gn(a,y||a)],0)}function vr(a){return a.text?At(a.from.line+a.text.length-1,ft(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function fr(a,y){if(Ht(a,y.from)<0)return a;if(Ht(a,y.to)<=0)return vr(y);var ee=a.line+y.text.length-(y.to.line-y.from.line)-1,z=a.ch;return a.line==y.to.line&&(z+=vr(y).ch-y.to.ch),At(ee,z)}function wr(a,y){for(var ee=[],z=0;z<a.sel.ranges.length;z++){var ie=a.sel.ranges[z];ee.push(new gn(fr(ie.anchor,y),fr(ie.head,y)))}return ur(a.cm,ee,a.sel.primIndex)}function yr(a,y,ee){return a.line==y.line?At(ee.line,a.ch-y.ch+ee.ch):At(ee.line+(a.line-y.line),a.ch)}function Er(a,y,ee){for(var z=[],ie=At(a.first,0),he=ie,Ne=0;Ne<y.length;Ne++){var Qe=y[Ne],ut=yr(Qe.from,ie,he),pt=yr(vr(Qe),ie,he);if(ie=Qe.to,he=pt,ee=="around"){var nn=a.sel.ranges[Ne],hn=Ht(nn.head,nn.anchor)<0;z[Ne]=new gn(hn?pt:ut,hn?ut:pt)}else z[Ne]=new gn(ut,ut)}return new Cn(z,a.sel.primIndex)}function Tr(a){a.doc.mode=Yn(a.options,a.doc.modeOption),Hr(a)}function Hr(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,Vi(a,100),a.state.modeGen++,a.curOp&&Ga(a)}function Ur(a,y){return y.from.ch==0&&y.to.ch==0&&ft(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Ci(a,y,ee,z){function ie(Oi){return ee?ee[Oi]:null}function he(Oi,mi,Wi){wo(Oi,mi,Wi,z),Fo(Oi,"change",Oi,y)}function Ne(Oi,mi){for(var Wi=[],mo=Oi;mo<mi;++mo)Wi.push(new Bo(pt[mo],ie(mo),z));return Wi}var Qe=y.from,ut=y.to,pt=y.text,nn=En(a,Qe.line),hn=En(a,ut.line),Nn=ft(pt),On=ie(pt.length-1),pr=ut.line-Qe.line;if(y.full)a.insert(0,Ne(0,pt.length)),a.remove(pt.length,a.size-pt.length);else if(Ur(a,y)){var Lr=Ne(0,pt.length-1);he(hn,hn.text,On),pr&&a.remove(Qe.line,pr),Lr.length&&a.insert(Qe.line,Lr)}else if(nn==hn)if(pt.length==1)he(nn,nn.text.slice(0,Qe.ch)+Nn+nn.text.slice(ut.ch),On);else{var ti=Ne(1,pt.length-1);ti.push(new Bo(Nn+nn.text.slice(ut.ch),On,z)),he(nn,nn.text.slice(0,Qe.ch)+pt[0],ie(0)),a.insert(Qe.line+1,ti)}else if(pt.length==1)he(nn,nn.text.slice(0,Qe.ch)+pt[0]+hn.text.slice(ut.ch),ie(0)),a.remove(Qe.line+1,pr);else{he(nn,nn.text.slice(0,Qe.ch)+pt[0],ie(0)),he(hn,Nn+hn.text.slice(ut.ch),On);var hi=Ne(1,pt.length-1);pr>1&&a.remove(Qe.line+1,pr-1),a.insert(Qe.line+1,hi)}Fo(a,"change",a,y)}function Sr(a,y,ee){function z(ie,he,Ne){if(ie.linked)for(var Qe=0;Qe<ie.linked.length;++Qe){var ut=ie.linked[Qe];if(ut.doc!=he){var pt=Ne&&ut.sharedHist;ee&&!pt||(y(ut.doc,pt),z(ut.doc,ie,pt))}}}z(a,null,!0)}function br(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,rs(a),Tr(a),Or(a),a.options.lineWrapping||ao(a),a.options.mode=y.modeOption,Ga(a)}function Or(a){(a.doc.direction=="rtl"?be:ze)(a.display.lineDiv,"CodeMirror-rtl")}function $n(a){ii(a,function(){Or(a),Ga(a)})}function _n(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function Fr(a,y){var ee={from:Xt(y.from),to:vr(y),text:kn(a,y.from,y.to)};return qo(a,ee,y.from.line,y.to.line+1),Sr(a,function(z){return qo(z,ee,y.from.line,y.to.line+1)},!0),ee}function jr(a){for(;a.length;){var y=ft(a);if(y.ranges)a.pop();else break}}function ei(a,y){if(y)return jr(a.done),ft(a.done);if(a.done.length&&!ft(a.done).ranges)return ft(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),ft(a.done)}function Ei(a,y,ee,z){var ie=a.history;ie.undone.length=0;var he=+new Date,Ne,Qe;if((ie.lastOp==z||ie.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ie.lastModTime>he-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(Ne=ei(ie,ie.lastOp==z)))Qe=ft(Ne.changes),Ht(y.from,y.to)==0&&Ht(y.from,Qe.to)==0?Qe.to=vr(y):Ne.changes.push(Fr(a,y));else{var ut=ft(ie.done);for((!ut||!ut.ranges)&&eo(a.sel,ie.done),Ne={changes:[Fr(a,y)],generation:ie.generation},ie.done.push(Ne);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(ee),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=he,ie.lastOp=ie.lastSelOp=z,ie.lastOrigin=ie.lastSelOrigin=y.origin,Qe||$t(a,"historyAdded")}function Kr(a,y,ee,z){var ie=y.charAt(0);return ie=="*"||ie=="+"&&ee.ranges.length==z.ranges.length&&ee.somethingSelected()==z.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function so(a,y,ee,z){var ie=a.history,he=z&&z.origin;ee==ie.lastSelOp||he&&ie.lastSelOrigin==he&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==he||Kr(a,he,ft(ie.done),y))?ie.done[ie.done.length-1]=y:eo(y,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=he,ie.lastSelOp=ee,z&&z.clearRedo!==!1&&jr(ie.undone)}function eo(a,y){var ee=ft(y);ee&&ee.ranges&&ee.equals(a)||y.push(a)}function qo(a,y,ee,z){var ie=y["spans_"+a.id],he=0;a.iter(Math.max(a.first,ee),Math.min(a.first+a.size,z),function(Ne){Ne.markedSpans&&((ie||(ie=y["spans_"+a.id]={}))[he]=Ne.markedSpans),++he})}function No(a){if(!a)return null;for(var y,ee=0;ee<a.length;++ee)a[ee].marker.explicitlyCleared?y||(y=a.slice(0,ee)):y&&y.push(a[ee]);return y?y.length?y:null:a}function Go(a,y){var ee=y["spans_"+a.id];if(!ee)return null;for(var z=[],ie=0;ie<y.text.length;++ie)z.push(No(ee[ie]));return z}function ra(a,y){var ee=Go(a,y),z=$i(a,y);if(!ee)return z;if(!z)return ee;for(var ie=0;ie<ee.length;++ie){var he=ee[ie],Ne=z[ie];if(he&&Ne)e:for(var Qe=0;Qe<Ne.length;++Qe){for(var ut=Ne[Qe],pt=0;pt<he.length;++pt)if(he[pt].marker==ut.marker)continue e;he.push(ut)}else Ne&&(ee[ie]=Ne)}return ee}function oa(a,y,ee){for(var z=[],ie=0;ie<a.length;++ie){var he=a[ie];if(he.ranges){z.push(ee?Cn.prototype.deepCopy.call(he):he);continue}var Ne=he.changes,Qe=[];z.push({changes:Qe});for(var ut=0;ut<Ne.length;++ut){var pt=Ne[ut],nn=void 0;if(Qe.push({from:pt.from,to:pt.to,text:pt.text}),y)for(var hn in pt)(nn=hn.match(/^spans_(\d+)$/))&&Be(y,Number(nn[1]))>-1&&(ft(Qe)[hn]=pt[hn],delete pt[hn])}}return z}function go(a,y,ee,z){if(z){var ie=a.anchor;if(ee){var he=Ht(y,ie)<0;he!=Ht(ee,ie)<0?(ie=y,y=ee):he!=Ht(y,ee)<0&&(y=ee)}return new gn(ie,y)}else return new gn(ee||y,y)}function po(a,y,ee,z,ie){ie==null&&(ie=a.cm&&(a.cm.display.shift||a.extend)),ci(a,new Cn([go(a.sel.primary(),y,ee,ie)],0),z)}function ma(a,y,ee){for(var z=[],ie=a.cm&&(a.cm.display.shift||a.extend),he=0;he<a.sel.ranges.length;he++)z[he]=go(a.sel.ranges[he],y[he],null,ie);var Ne=ur(a.cm,z,a.sel.primIndex);ci(a,Ne,ee)}function pa(a,y,ee,z){var ie=a.sel.ranges.slice(0);ie[y]=ee,ci(a,ur(a.cm,ie,a.sel.primIndex),z)}function Ii(a,y,ee,z){ci(a,Hn(y,ee),z)}function no(a,y,ee){var z={ranges:y.ranges,update:function(ie){this.ranges=[];for(var he=0;he<ie.length;he++)this.ranges[he]=new gn(jt(a,ie[he].anchor),jt(a,ie[he].head))},origin:ee&&ee.origin};return $t(a,"beforeSelectionChange",a,z),a.cm&&$t(a.cm,"beforeSelectionChange",a.cm,z),z.ranges!=y.ranges?ur(a.cm,z.ranges,z.ranges.length-1):y}function Di(a,y,ee){var z=a.history.done,ie=ft(z);ie&&ie.ranges?(z[z.length-1]=y,Do(a,y,ee)):ci(a,y,ee)}function ci(a,y,ee){Do(a,y,ee),so(a,a.sel,a.cm?a.cm.curOp.id:NaN,ee)}function Do(a,y,ee){(qt(a,"beforeSelectionChange")||a.cm&&qt(a.cm,"beforeSelectionChange"))&&(y=no(a,y,ee));var z=ee&&ee.bias||(Ht(y.primary().head,a.sel.primary().head)<0?-1:1);zo(a,Ho(a,y,z,!0)),!(ee&&ee.scroll===!1)&&a.cm&&bn(a.cm)}function zo(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,Kt(a.cm)),Fo(a,"cursorActivity",a))}function aa(a){zo(a,Ho(a,a.sel,null,!1))}function Ho(a,y,ee,z){for(var ie,he=0;he<y.ranges.length;he++){var Ne=y.ranges[he],Qe=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[he],ut=ca(a,Ne.anchor,Qe&&Qe.anchor,ee,z),pt=ca(a,Ne.head,Qe&&Qe.head,ee,z);(ie||ut!=Ne.anchor||pt!=Ne.head)&&(ie||(ie=y.ranges.slice(0,he)),ie[he]=new gn(ut,pt))}return ie?ur(a.cm,ie,y.primIndex):y}function va(a,y,ee,z,ie){var he=En(a,y.line);if(he.markedSpans)for(var Ne=0;Ne<he.markedSpans.length;++Ne){var Qe=he.markedSpans[Ne],ut=Qe.marker,pt="selectLeft"in ut?!ut.selectLeft:ut.inclusiveLeft,nn="selectRight"in ut?!ut.selectRight:ut.inclusiveRight;if((Qe.from==null||(pt?Qe.from<=y.ch:Qe.from<y.ch))&&(Qe.to==null||(nn?Qe.to>=y.ch:Qe.to>y.ch))){if(ie&&($t(ut,"beforeCursorEnter"),ut.explicitlyCleared))if(he.markedSpans){--Ne;continue}else break;if(!ut.atomic)continue;if(ee){var hn=ut.find(z<0?1:-1),Nn=void 0;if((z<0?nn:pt)&&(hn=ki(a,hn,-z,hn&&hn.line==y.line?he:null)),hn&&hn.line==y.line&&(Nn=Ht(hn,ee))&&(z<0?Nn<0:Nn>0))return va(a,hn,y,z,ie)}var On=ut.find(z<0?-1:1);return(z<0?pt:nn)&&(On=ki(a,On,z,On.line==y.line?he:null)),On?va(a,On,y,z,ie):null}}return y}function ca(a,y,ee,z,ie){var he=z||1,Ne=va(a,y,ee,he,ie)||!ie&&va(a,y,ee,he,!0)||va(a,y,ee,-he,ie)||!ie&&va(a,y,ee,-he,!0);return Ne||(a.cantEdit=!0,At(a.first,0))}function ki(a,y,ee,z){return ee<0&&y.ch==0?y.line>a.first?jt(a,At(y.line-1)):null:ee>0&&y.ch==(z||En(a,y.line)).text.length?y.line<a.first+a.size-1?At(y.line+1,0):null:new At(y.line,y.ch+ee)}function Ui(a){a.setSelection(At(a.firstLine(),0),At(a.lastLine()),Ee)}function jo(a,y,ee){var z={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return z.canceled=!0}};return ee&&(z.update=function(ie,he,Ne,Qe){ie&&(z.from=jt(a,ie)),he&&(z.to=jt(a,he)),Ne&&(z.text=Ne),Qe!==void 0&&(z.origin=Qe)}),$t(a,"beforeChange",a,z),a.cm&&$t(a.cm,"beforeChange",a.cm,z),z.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:z.from,to:z.to,text:z.text,origin:z.origin}}function $o(a,y,ee){if(a.cm){if(!a.cm.curOp)return Gr(a.cm,$o)(a,y,ee);if(a.cm.state.suppressEdits)return}if(!((qt(a,"beforeChange")||a.cm&&qt(a.cm,"beforeChange"))&&(y=jo(a,y,!0),!y))){var z=Jr&&!ee&&Ro(a,y.from,y.to);if(z)for(var ie=z.length-1;ie>=0;--ie)Xo(a,{from:z[ie].from,to:z[ie].to,text:ie?[""]:y.text,origin:y.origin});else Xo(a,y)}}function Xo(a,y){if(!(y.text.length==1&&y.text[0]==""&&Ht(y.from,y.to)==0)){var ee=wr(a,y);Ei(a,y,ee,a.cm?a.cm.curOp.id:NaN),Na(a,y,ee,$i(a,y));var z=[];Sr(a,function(ie,he){!he&&Be(z,ie.history)==-1&&(Ca(ie.history,y),z.push(ie.history)),Na(ie,y,null,$i(ie,y))})}}function Ea(a,y,ee){var z=a.cm&&a.cm.state.suppressEdits;if(!(z&&!ee)){for(var ie=a.history,he,Ne=a.sel,Qe=y=="undo"?ie.done:ie.undone,ut=y=="undo"?ie.undone:ie.done,pt=0;pt<Qe.length&&(he=Qe[pt],!(ee?he.ranges&&!he.equals(a.sel):!he.ranges));pt++);if(pt!=Qe.length){for(ie.lastOrigin=ie.lastSelOrigin=null;;)if(he=Qe.pop(),he.ranges){if(eo(he,ut),ee&&!he.equals(a.sel)){ci(a,he,{clearRedo:!1});return}Ne=he}else if(z){Qe.push(he);return}else break;var nn=[];eo(Ne,ut),ut.push({changes:nn,generation:ie.generation}),ie.generation=he.generation||++ie.maxGeneration;for(var hn=qt(a,"beforeChange")||a.cm&&qt(a.cm,"beforeChange"),Nn=function(Lr){var ti=he.changes[Lr];if(ti.origin=y,hn&&!jo(a,ti,!1))return Qe.length=0,{};nn.push(Fr(a,ti));var hi=Lr?wr(a,ti):ft(Qe);Na(a,ti,hi,ra(a,ti)),!Lr&&a.cm&&a.cm.scrollIntoView({from:ti.from,to:vr(ti)});var Oi=[];Sr(a,function(mi,Wi){!Wi&&Be(Oi,mi.history)==-1&&(Ca(mi.history,ti),Oi.push(mi.history)),Na(mi,ti,null,ra(mi,ti))})},On=he.changes.length-1;On>=0;--On){var pr=Nn(On);if(pr)return pr.v}}}}function la(a,y){if(y!=0&&(a.first+=y,a.sel=new Cn(It(a.sel.ranges,function(ie){return new gn(At(ie.anchor.line+y,ie.anchor.ch),At(ie.head.line+y,ie.head.ch))}),a.sel.primIndex),a.cm)){Ga(a.cm,a.first,a.first-y,y);for(var ee=a.cm.display,z=ee.viewFrom;z<ee.viewTo;z++)Wl(a.cm,z,"gutter")}}function Na(a,y,ee,z){if(a.cm&&!a.cm.curOp)return Gr(a.cm,Na)(a,y,ee,z);if(y.to.line<a.first){la(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var ie=y.text.length-1-(a.first-y.from.line);la(a,ie),y={from:At(a.first,0),to:At(y.to.line+ie,y.to.ch),text:[ft(y.text)],origin:y.origin}}var he=a.lastLine();y.to.line>he&&(y={from:y.from,to:At(he,En(a,he).text.length),text:[y.text[0]],origin:y.origin}),y.removed=kn(a,y.from,y.to),ee||(ee=wr(a,y)),a.cm?ia(a.cm,y,z):Ci(a,y,z),Do(a,ee,Ee),a.cantEdit&&ca(a,At(a.firstLine(),0))&&(a.cantEdit=!1)}}function ia(a,y,ee){var z=a.doc,ie=a.display,he=y.from,Ne=y.to,Qe=!1,ut=he.line;a.options.lineWrapping||(ut=Lt(Qn(En(z,he.line))),z.iter(ut,Ne.line+1,function(On){if(On==ie.maxLine)return Qe=!0,!0})),z.sel.contains(y.from,y.to)>-1&&Kt(a),Ci(z,y,ee,Ms(a)),a.options.lineWrapping||(z.iter(ut,he.line+y.text.length,function(On){var pr=vo(On);pr>ie.maxLineLength&&(ie.maxLine=On,ie.maxLineLength=pr,ie.maxLineChanged=!0,Qe=!1)}),Qe&&(a.curOp.updateMaxLine=!0)),Dr(z,he.line),Vi(a,400);var pt=y.text.length-(Ne.line-he.line)-1;y.full?Ga(a):he.line==Ne.line&&y.text.length==1&&!Ur(a.doc,y)?Wl(a,he.line,"text"):Ga(a,he.line,Ne.line+1,pt);var nn=qt(a,"changes"),hn=qt(a,"change");if(hn||nn){var Nn={from:he,to:Ne,text:y.text,removed:y.removed,origin:y.origin};hn&&Fo(a,"change",a,Nn),nn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Nn)}a.display.selForContextMenu=null}function Po(a,y,ee,z,ie){var he;z||(z=ee),Ht(z,ee)<0&&(he=[z,ee],ee=he[0],z=he[1]),typeof y=="string"&&(y=a.splitLines(y)),$o(a,{from:ee,to:z,text:y,origin:ie})}function na(a,y,ee,z){ee<a.line?a.line+=z:y<a.line&&(a.line=y,a.ch=0)}function sa(a,y,ee,z){for(var ie=0;ie<a.length;++ie){var he=a[ie],Ne=!0;if(he.ranges){he.copied||(he=a[ie]=he.deepCopy(),he.copied=!0);for(var Qe=0;Qe<he.ranges.length;Qe++)na(he.ranges[Qe].anchor,y,ee,z),na(he.ranges[Qe].head,y,ee,z);continue}for(var ut=0;ut<he.changes.length;++ut){var pt=he.changes[ut];if(ee<pt.from.line)pt.from=At(pt.from.line+z,pt.from.ch),pt.to=At(pt.to.line+z,pt.to.ch);else if(y<=pt.to.line){Ne=!1;break}}Ne||(a.splice(0,ie+1),ie=0)}}function Ca(a,y){var ee=y.from.line,z=y.to.line,ie=y.text.length-(z-ee)-1;sa(a.done,ee,z,ie),sa(a.undone,ee,z,ie)}function ga(a,y,ee,z){var ie=y,he=y;return typeof y=="number"?he=En(a,Ut(a,y)):ie=Lt(y),ie==null?null:(z(he,ie)&&a.cm&&Wl(a.cm,ie,ee),he)}function To(a){this.lines=a,this.parent=null;for(var y=0,ee=0;ee<a.length;++ee)a[ee].parent=this,y+=a[ee].height;this.height=y}To.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var ee=a,z=a+y;ee<z;++ee){var ie=this.lines[ee];this.height-=ie.height,Co(ie),Fo(ie,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,ee){this.height+=ee,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var z=0;z<y.length;++z)y[z].parent=this},iterN:function(a,y,ee){for(var z=a+y;a<z;++a)if(ee(this.lines[a]))return!0}};function fa(a){this.children=a;for(var y=0,ee=0,z=0;z<a.length;++z){var ie=a[z];y+=ie.chunkSize(),ee+=ie.height,ie.parent=this}this.size=y,this.height=ee,this.parent=null}fa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var ee=0;ee<this.children.length;++ee){var z=this.children[ee],ie=z.chunkSize();if(a<ie){var he=Math.min(y,ie-a),Ne=z.height;if(z.removeInner(a,he),this.height-=Ne-z.height,ie==he&&(this.children.splice(ee--,1),z.parent=null),(y-=he)==0)break;a=0}else a-=ie}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof To))){var Qe=[];this.collapse(Qe),this.children=[new To(Qe)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,ee){this.size+=y.length,this.height+=ee;for(var z=0;z<this.children.length;++z){var ie=this.children[z],he=ie.chunkSize();if(a<=he){if(ie.insertInner(a,y,ee),ie.lines&&ie.lines.length>50){for(var Ne=ie.lines.length%25+25,Qe=Ne;Qe<ie.lines.length;){var ut=new To(ie.lines.slice(Qe,Qe+=25));ie.height-=ut.height,this.children.splice(++z,0,ut),ut.parent=this}ie.lines=ie.lines.slice(0,Ne),this.maybeSpill()}break}a-=he}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),ee=new fa(y);if(a.parent){a.size-=ee.size,a.height-=ee.height;var ie=Be(a.parent.children,a);a.parent.children.splice(ie+1,0,ee)}else{var z=new fa(a.children);z.parent=a,a.children=[z,ee],a=z}ee.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,ee){for(var z=0;z<this.children.length;++z){var ie=this.children[z],he=ie.chunkSize();if(a<he){var Ne=Math.min(y,he-a);if(ie.iterN(a,Ne,ee))return!0;if((y-=Ne)==0)break;a=0}else a-=he}}};var Uo=function(a,y,ee){if(ee)for(var z in ee)ee.hasOwnProperty(z)&&(this[z]=ee[z]);this.doc=a,this.node=y};Uo.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,ee=this.line,z=Lt(ee);if(!(z==null||!y)){for(var ie=0;ie<y.length;++ie)y[ie]==this&&y.splice(ie--,1);y.length||(ee.widgets=null);var he=Ya(this);rr(ee,Math.max(0,ee.height-he)),a&&(ii(a,function(){Ra(a,ee,-he),Wl(a,z,"widget")}),Fo(a,"lineWidgetCleared",a,this,z))}},Uo.prototype.changed=function(){var a=this,y=this.height,ee=this.doc.cm,z=this.line;this.height=null;var ie=Ya(this)-y;ie&&(Cr(this.doc,z)||rr(z,z.height+ie),ee&&ii(ee,function(){ee.curOp.forceUpdate=!0,Ra(ee,z,ie),Fo(ee,"lineWidgetChanged",ee,a,Lt(z))}))},Et(Uo);function Ra(a,y,ee){ji(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&fn(a,ee)}function Sa(a,y,ee,z){var ie=new Uo(a,ee,z),he=a.cm;return he&&ie.noHScroll&&(he.display.alignWidgets=!0),ga(a,y,"widget",function(Ne){var Qe=Ne.widgets||(Ne.widgets=[]);if(ie.insertAt==null?Qe.push(ie):Qe.splice(Math.min(Qe.length-1,Math.max(0,ie.insertAt)),0,ie),ie.line=Ne,he&&!Cr(a,Ne)){var ut=ji(Ne)<a.scrollTop;rr(Ne,Ne.height+Ya(ie)),ut&&fn(he,ie.height),he.curOp.forceUpdate=!0}return!0}),he&&Fo(he,"lineWidgetAdded",he,ie,typeof y=="number"?y:Lt(y)),ie}var Va=0,$a=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++Va};$a.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&Br(a),qt(this,"clear")){var ee=this.find();ee&&Fo(this,"clear",ee.from,ee.to)}for(var z=null,ie=null,he=0;he<this.lines.length;++he){var Ne=this.lines[he],Qe=zi(Ne.markedSpans,this);a&&!this.collapsed?Wl(a,Lt(Ne),"text"):a&&(Qe.to!=null&&(ie=Lt(Ne)),Qe.from!=null&&(z=Lt(Ne))),Ne.markedSpans=Ji(Ne.markedSpans,Qe),Qe.from==null&&this.collapsed&&!Cr(this.doc,Ne)&&a&&rr(Ne,fl(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var ut=0;ut<this.lines.length;++ut){var pt=Qn(this.lines[ut]),nn=vo(pt);nn>a.display.maxLineLength&&(a.display.maxLine=pt,a.display.maxLineLength=nn,a.display.maxLineChanged=!0)}z!=null&&a&&this.collapsed&&Ga(a,z,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&aa(a.doc)),a&&Fo(a,"markerCleared",a,this,z,ie),y&&Nr(a),this.parent&&this.parent.clear()}},$a.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var ee,z,ie=0;ie<this.lines.length;++ie){var he=this.lines[ie],Ne=zi(he.markedSpans,this);if(Ne.from!=null&&(ee=At(y?he:Lt(he),Ne.from),a==-1))return ee;if(Ne.to!=null&&(z=At(y?he:Lt(he),Ne.to),a==1))return z}return ee&&{from:ee,to:z}},$a.prototype.changed=function(){var a=this,y=this.find(-1,!0),ee=this,z=this.doc.cm;!y||!z||ii(z,function(){var ie=y.line,he=Lt(y.line),Ne=il(z,he);if(Ne&&(ds(Ne),z.curOp.selectionChanged=z.curOp.forceUpdate=!0),z.curOp.updateMaxLine=!0,!Cr(ee.doc,ie)&&ee.height!=null){var Qe=ee.height;ee.height=null;var ut=Ya(ee)-Qe;ut&&rr(ie,ie.height+ut)}Fo(z,"markerChanged",z,a)})},$a.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||Be(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},$a.prototype.detachLine=function(a){if(this.lines.splice(Be(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Et($a);function Sl(a,y,ee,z,ie){if(z&&z.shared)return Jl(a,y,ee,z,ie);if(a.cm&&!a.cm.curOp)return Gr(a.cm,Sl)(a,y,ee,z,ie);var he=new $a(a,ie),Ne=Ht(y,ee);if(z&&bt(z,he,!1),Ne>0||Ne==0&&he.clearWhenEmpty!==!1)return he;if(he.replacedWith&&(he.collapsed=!0,he.widgetNode=et("span",[he.replacedWith],"CodeMirror-widget"),z.handleMouseEvents||he.widgetNode.setAttribute("cm-ignore-events","true"),z.insertLeft&&(he.widgetNode.insertLeft=!0)),he.collapsed){if(cr(a,y.line,y,ee,he)||y.line!=ee.line&&cr(a,ee.line,y,ee,he))throw new Error("Inserting collapsed marker partially overlapping an existing one");Hi()}he.addToHistory&&Ei(a,{from:y,to:ee,origin:"markText"},a.sel,NaN);var Qe=y.line,ut=a.cm,pt;if(a.iter(Qe,ee.line+1,function(hn){ut&&he.collapsed&&!ut.options.lineWrapping&&Qn(hn)==ut.display.maxLine&&(pt=!0),he.collapsed&&Qe!=y.line&&rr(hn,0),wi(hn,new Zi(he,Qe==y.line?y.ch:null,Qe==ee.line?ee.ch:null)),++Qe}),he.collapsed&&a.iter(y.line,ee.line+1,function(hn){Cr(a,hn)&&rr(hn,0)}),he.clearOnEnter&&Vt(he,"beforeCursorEnter",function(){return he.clear()}),he.readOnly&&(Ri(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),he.collapsed&&(he.id=++Va,he.atomic=!0),ut){if(pt&&(ut.curOp.updateMaxLine=!0),he.collapsed)Ga(ut,y.line,ee.line+1);else if(he.className||he.startStyle||he.endStyle||he.css||he.attributes||he.title)for(var nn=y.line;nn<=ee.line;nn++)Wl(ut,nn,"text");he.atomic&&aa(ut.doc),Fo(ut,"markerAdded",ut,he)}return he}var ua=function(a,y){this.markers=a,this.primary=y;for(var ee=0;ee<a.length;++ee)a[ee].parent=this};ua.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Fo(this,"clear")}},ua.prototype.find=function(a,y){return this.primary.find(a,y)},Et(ua);function Jl(a,y,ee,z,ie){z=bt(z),z.shared=!1;var he=[Sl(a,y,ee,z,ie)],Ne=he[0],Qe=z.widgetNode;return Sr(a,function(ut){Qe&&(z.widgetNode=Qe.cloneNode(!0)),he.push(Sl(ut,jt(ut,y),jt(ut,ee),z,ie));for(var pt=0;pt<ut.linked.length;++pt)if(ut.linked[pt].isParent)return;Ne=ft(he)}),new ua(he,Ne)}function Ka(a){return a.findMarks(At(a.first,0),a.clipPos(At(a.lastLine())),function(y){return y.parent})}function hl(a,y){for(var ee=0;ee<y.length;ee++){var z=y[ee],ie=z.find(),he=a.clipPos(ie.from),Ne=a.clipPos(ie.to);if(Ht(he,Ne)){var Qe=Sl(a,he,Ne,z.primary,z.primary.type);z.markers.push(Qe),Qe.parent=z}}}function al(a){for(var y=function(z){var ie=a[z],he=[ie.primary.doc];Sr(ie.primary.doc,function(ut){return he.push(ut)});for(var Ne=0;Ne<ie.markers.length;Ne++){var Qe=ie.markers[Ne];Be(he,Qe.doc)==-1&&(Qe.parent=null,ie.markers.splice(Ne--,1))}},ee=0;ee<a.length;ee++)y(ee)}var ro=0,Pi=function(a,y,ee,z,ie){if(!(this instanceof Pi))return new Pi(a,y,ee,z,ie);ee==null&&(ee=0),fa.call(this,[new To([new Bo("",null)])]),this.first=ee,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ee;var he=At(ee,0);this.sel=Hn(he),this.history=new _n(null),this.id=++ro,this.modeOption=y,this.lineSep=z,this.direction=ie=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Ci(this,{from:he,to:he,text:a}),ci(this,Hn(he),Ee)};Pi.prototype=ae(fa.prototype,{constructor:Pi,iter:function(a,y,ee){ee?this.iterN(a-this.first,y-a,ee):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var ee=0,z=0;z<y.length;++z)ee+=y[z].height;this.insertInner(a-this.first,y,ee)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=nr(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:li(function(a){var y=At(this.first,0),ee=this.first+this.size-1;$o(this,{from:y,to:At(ee,En(this,ee).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&An(this.cm,0,0),ci(this,Hn(y),Ee)}),replaceRange:function(a,y,ee,z){y=jt(this,y),ee=ee?jt(this,ee):y,Po(this,a,y,ee,z)},getRange:function(a,y,ee){var z=kn(this,jt(this,a),jt(this,y));return ee===!1?z:z.join(ee||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(St(this,a))return En(this,a)},getLineNumber:function(a){return Lt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=En(this,a)),Qn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return jt(this,a)},getCursor:function(a){var y=this.sel.primary(),ee;return a==null||a=="head"?ee=y.head:a=="anchor"?ee=y.anchor:a=="end"||a=="to"||a===!1?ee=y.to():ee=y.from(),ee},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:li(function(a,y,ee){Ii(this,jt(this,typeof a=="number"?At(a,y||0):a),null,ee)}),setSelection:li(function(a,y,ee){Ii(this,jt(this,a),jt(this,y||a),ee)}),extendSelection:li(function(a,y,ee){po(this,jt(this,a),y&&jt(this,y),ee)}),extendSelections:li(function(a,y){ma(this,an(this,a),y)}),extendSelectionsBy:li(function(a,y){var ee=It(this.sel.ranges,a);ma(this,an(this,ee),y)}),setSelections:li(function(a,y,ee){if(a.length){for(var z=[],ie=0;ie<a.length;ie++)z[ie]=new gn(jt(this,a[ie].anchor),jt(this,a[ie].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),ci(this,ur(this.cm,z,y),ee)}}),addSelection:li(function(a,y,ee){var z=this.sel.ranges.slice(0);z.push(new gn(jt(this,a),jt(this,y||a))),ci(this,ur(this.cm,z,z.length-1),ee)}),getSelection:function(a){for(var y=this.sel.ranges,ee,z=0;z<y.length;z++){var ie=kn(this,y[z].from(),y[z].to());ee=ee?ee.concat(ie):ie}return a===!1?ee:ee.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],ee=this.sel.ranges,z=0;z<ee.length;z++){var ie=kn(this,ee[z].from(),ee[z].to());a!==!1&&(ie=ie.join(a||this.lineSeparator())),y[z]=ie}return y},replaceSelection:function(a,y,ee){for(var z=[],ie=0;ie<this.sel.ranges.length;ie++)z[ie]=a;this.replaceSelections(z,y,ee||"+input")},replaceSelections:li(function(a,y,ee){for(var z=[],ie=this.sel,he=0;he<ie.ranges.length;he++){var Ne=ie.ranges[he];z[he]={from:Ne.from(),to:Ne.to(),text:this.splitLines(a[he]),origin:ee}}for(var Qe=y&&y!="end"&&Er(this,z,y),ut=z.length-1;ut>=0;ut--)$o(this,z[ut]);Qe?Di(this,Qe):this.cm&&bn(this.cm)}),undo:li(function(){Ea(this,"undo")}),redo:li(function(){Ea(this,"redo")}),undoSelection:li(function(){Ea(this,"undo",!0)}),redoSelection:li(function(){Ea(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,ee=0,z=0;z<a.done.length;z++)a.done[z].ranges||++y;for(var ie=0;ie<a.undone.length;ie++)a.undone[ie].ranges||++ee;return{undo:y,redo:ee}},clearHistory:function(){var a=this;this.history=new _n(this.history.maxGeneration),Sr(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:oa(this.history.done),undone:oa(this.history.undone)}},setHistory:function(a){var y=this.history=new _n(this.history.maxGeneration);y.done=oa(a.done.slice(0),null,!0),y.undone=oa(a.undone.slice(0),null,!0)},setGutterMarker:li(function(a,y,ee){return ga(this,a,"gutter",function(z){var ie=z.gutterMarkers||(z.gutterMarkers={});return ie[y]=ee,!ee&&ne(ie)&&(z.gutterMarkers=null),!0})}),clearGutter:li(function(a){var y=this;this.iter(function(ee){ee.gutterMarkers&&ee.gutterMarkers[a]&&ga(y,ee,"gutter",function(){return ee.gutterMarkers[a]=null,ne(ee.gutterMarkers)&&(ee.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!St(this,a)||(y=a,a=En(this,a),!a))return null}else if(y=Lt(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:li(function(a,y,ee){return ga(this,a,y=="gutter"?"gutter":"class",function(z){var ie=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!z[ie])z[ie]=ee;else{if(Ue(ee).test(z[ie]))return!1;z[ie]+=" "+ee}return!0})}),removeLineClass:li(function(a,y,ee){return ga(this,a,y=="gutter"?"gutter":"class",function(z){var ie=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",he=z[ie];if(he)if(ee==null)z[ie]=null;else{var Ne=he.match(Ue(ee));if(!Ne)return!1;var Qe=Ne.index+Ne[0].length;z[ie]=he.slice(0,Ne.index)+(!Ne.index||Qe==he.length?"":" ")+he.slice(Qe)||null}else return!1;return!0})}),addLineWidget:li(function(a,y,ee){return Sa(this,a,y,ee)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,ee){return Sl(this,jt(this,a),jt(this,y),ee,ee&&ee.type||"range")},setBookmark:function(a,y){var ee={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=jt(this,a),Sl(this,a,a,ee,"bookmark")},findMarksAt:function(a){a=jt(this,a);var y=[],ee=En(this,a.line).markedSpans;if(ee)for(var z=0;z<ee.length;++z){var ie=ee[z];(ie.from==null||ie.from<=a.ch)&&(ie.to==null||ie.to>=a.ch)&&y.push(ie.marker.parent||ie.marker)}return y},findMarks:function(a,y,ee){a=jt(this,a),y=jt(this,y);var z=[],ie=a.line;return this.iter(a.line,y.line+1,function(he){var Ne=he.markedSpans;if(Ne)for(var Qe=0;Qe<Ne.length;Qe++){var ut=Ne[Qe];!(ut.to!=null&&ie==a.line&&a.ch>=ut.to||ut.from==null&&ie!=a.line||ut.from!=null&&ie==y.line&&ut.from>=y.ch)&&(!ee||ee(ut.marker))&&z.push(ut.marker.parent||ut.marker)}++ie}),z},getAllMarks:function(){var a=[];return this.iter(function(y){var ee=y.markedSpans;if(ee)for(var z=0;z<ee.length;++z)ee[z].from!=null&&a.push(ee[z].marker)}),a},posFromIndex:function(a){var y,ee=this.first,z=this.lineSeparator().length;return this.iter(function(ie){var he=ie.text.length+z;if(he>a)return y=a,!0;a-=he,++ee}),jt(this,At(ee,y))},indexFromPos:function(a){a=jt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var ee=this.lineSeparator().length;return this.iter(this.first,a.line,function(z){y+=z.text.length+ee}),y},copy:function(a){var y=new Pi(nr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,ee=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<ee&&(ee=a.to);var z=new Pi(nr(this,y,ee),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(z.history=this.history),(this.linked||(this.linked=[])).push({doc:z,sharedHist:a.sharedHist}),z.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],hl(z,Ka(this)),z},unlinkDoc:function(a){if(a instanceof Ta&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var ee=this.linked[y];if(ee.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),al(Ka(this));break}}if(a.history==this.history){var z=[a.id];Sr(a,function(ie){return z.push(ie.id)},!0),a.history=new _n(null),a.history.done=oa(this.history.done,z),a.history.undone=oa(this.history.undone,z)}},iterLinkedDocs:function(a){Sr(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Bn(a)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:li(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&$n(this.cm))})}),Pi.prototype.eachLine=Pi.prototype.iter;var ya=0;function Xa(a){var y=this;if(Ss(y),!(Rt(y,a)||Wa(y.display,a))){Tt(a),De&&(ya=+new Date);var ee=zl(y,a,!0),z=a.dataTransfer.files;if(!(!ee||y.isReadOnly()))if(z&&z.length&&window.FileReader&&window.File)for(var ie=z.length,he=Array(ie),Ne=0,Qe=function(){++Ne==ie&&Gr(y,function(){ee=jt(y.doc,ee);var On={from:ee,to:ee,text:y.doc.splitLines(he.filter(function(pr){return pr!=null}).join(y.doc.lineSeparator())),origin:"paste"};$o(y.doc,On),Di(y.doc,Hn(jt(y.doc,ee),jt(y.doc,vr(On))))})()},ut=function(On,pr){if(y.options.allowDropFileTypes&&Be(y.options.allowDropFileTypes,On.type)==-1){Qe();return}var Lr=new FileReader;Lr.onerror=function(){return Qe()},Lr.onload=function(){var ti=Lr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ti)){Qe();return}he[pr]=ti,Qe()},Lr.readAsText(On)},pt=0;pt<z.length;pt++)ut(z[pt],pt);else{if(y.state.draggingText&&y.doc.sel.contains(ee)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var nn=a.dataTransfer.getData("Text");if(nn){var hn;if(y.state.draggingText&&!y.state.draggingText.copy&&(hn=y.listSelections()),Do(y.doc,Hn(ee,ee)),hn)for(var Nn=0;Nn<hn.length;++Nn)Po(y.doc,"",hn[Nn].anchor,hn[Nn].head,"drag");y.replaceSelection(nn,"around","paste"),y.display.input.focus()}}catch(On){}}}}function yl(a,y){if(De&&(!a.state.draggingText||+new Date-ya<100)){vt(y);return}if(!(Rt(a,y)||Wa(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Fe)){var ee=Ve("img",null,null,"position: fixed; left: 0; top: 0;");ee.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",ue&&(ee.width=ee.height=1,a.display.wrapper.appendChild(ee),ee._top=ee.offsetTop),y.dataTransfer.setDragImage(ee,0,0),ue&&ee.parentNode.removeChild(ee)}}function Nl(a,y){var ee=zl(a,y);if(ee){var z=document.createDocumentFragment();Ks(a,ee,z),a.display.dragCursor||(a.display.dragCursor=Ve("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),ke(a.display.dragCursor,z)}}function Ss(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function ws(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),ee=[],z=0;z<y.length;z++){var ie=y[z].CodeMirror;ie&&ee.push(ie)}ee.length&&ee[0].operation(function(){for(var he=0;he<ee.length;he++)a(ee[he])})}}var Ls=!1;function _o(){Ls||(So(),Ls=!0)}function So(){var a;Vt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,ws(ui)},100))}),Vt(window,"blur",function(){return ws(is)})}function ui(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var _i={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Io=0;Io<10;Io++)_i[Io+48]=_i[Io+96]=String(Io);for(var Fa=65;Fa<=90;Fa++)_i[Fa]=String.fromCharCode(Fa);for(var Qa=1;Qa<=12;Qa++)_i[Qa+111]=_i[Qa+63235]="F"+Qa;var Ua={};Ua.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ua.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ua.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ua.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ua.default=Ae?Ua.macDefault:Ua.pcDefault;function Hl(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var ee,z,ie,he,Ne=0;Ne<y.length-1;Ne++){var Qe=y[Ne];if(/^(cmd|meta|m)$/i.test(Qe))he=!0;else if(/^a(lt)?$/i.test(Qe))ee=!0;else if(/^(c|ctrl|control)$/i.test(Qe))z=!0;else if(/^s(hift)?$/i.test(Qe))ie=!0;else throw new Error("Unrecognized modifier name: "+Qe)}return ee&&(a="Alt-"+a),z&&(a="Ctrl-"+a),he&&(a="Cmd-"+a),ie&&(a="Shift-"+a),a}function ll(a){var y={};for(var ee in a)if(a.hasOwnProperty(ee)){var z=a[ee];if(/^(name|fallthrough|(de|at)tach)$/.test(ee))continue;if(z=="..."){delete a[ee];continue}for(var ie=It(ee.split(" "),Hl),he=0;he<ie.length;he++){var Ne=void 0,Qe=void 0;he==ie.length-1?(Qe=ie.join(" "),Ne=z):(Qe=ie.slice(0,he+1).join(" "),Ne="...");var ut=y[Qe];if(!ut)y[Qe]=Ne;else if(ut!=Ne)throw new Error("Inconsistent bindings for "+Qe)}delete a[ee]}for(var pt in y)a[pt]=y[pt];return a}function As(a,y,ee,z){y=Us(y);var ie=y.call?y.call(a,z):y[a];if(ie===!1)return"nothing";if(ie==="...")return"multi";if(ie!=null&&ee(ie))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return As(a,y.fallthrough,ee,z);for(var he=0;he<y.fallthrough.length;he++){var Ne=As(a,y.fallthrough[he],ee,z);if(Ne)return Ne}}}function qs(a){var y=typeof a=="string"?a:_i[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function Ns(a,y,ee){var z=a;return y.altKey&&z!="Alt"&&(a="Alt-"+a),(ce?y.metaKey:y.ctrlKey)&&z!="Ctrl"&&(a="Ctrl-"+a),(ce?y.ctrlKey:y.metaKey)&&z!="Mod"&&(a="Cmd-"+a),!ee&&y.shiftKey&&z!="Shift"&&(a="Shift-"+a),a}function ms(a,y){if(ue&&a.keyCode==34&&a.char)return!1;var ee=_i[a.keyCode];return ee==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(ee=a.code),Ns(ee,a,y))}function Us(a){return typeof a=="string"?Ua[a]:a}function ps(a,y){for(var ee=a.doc.sel.ranges,z=[],ie=0;ie<ee.length;ie++){for(var he=y(ee[ie]);z.length&&Ht(he.from,ft(z).to)<=0;){var Ne=z.pop();if(Ht(Ne.from,he.from)<0){he.from=Ne.from;break}}z.push(he)}ii(a,function(){for(var Qe=z.length-1;Qe>=0;Qe--)Po(a.doc,"",z[Qe].from,z[Qe].to,"+delete");bn(a)})}function eu(a,y,ee){var z=Le(a.text,y+ee,ee);return z<0||z>a.text.length?null:z}function _s(a,y,ee){var z=eu(a,y.ch,ee);return z==null?null:new At(y.line,z,ee<0?"after":"before")}function tu(a,y,ee,z,ie){if(a){y.doc.direction=="rtl"&&(ie=-ie);var he=ot(ee,y.doc.direction);if(he){var Ne=ie<0?ft(he):he[0],Qe=ie<0==(Ne.level==1),ut=Qe?"after":"before",pt;if(Ne.level>0||y.doc.direction=="rtl"){var nn=Zl(y,ee);pt=ie<0?ee.text.length-1:0;var hn=vl(y,nn,pt).top;pt=Ye(function(Nn){return vl(y,nn,Nn).top==hn},ie<0==(Ne.level==1)?Ne.from:Ne.to-1,pt),ut=="before"&&(pt=eu(ee,pt,1))}else pt=ie<0?Ne.to:Ne.from;return new At(z,pt,ut)}}return new At(z,ie<0?ee.text.length:0,ie<0?"before":"after")}function pu(a,y,ee,z){var ie=ot(y,a.doc.direction);if(!ie)return _s(y,ee,z);ee.ch>=y.text.length?(ee.ch=y.text.length,ee.sticky="before"):ee.ch<=0&&(ee.ch=0,ee.sticky="after");var he=dt(ie,ee.ch,ee.sticky),Ne=ie[he];if(a.doc.direction=="ltr"&&Ne.level%2==0&&(z>0?Ne.to>ee.ch:Ne.from<ee.ch))return _s(y,ee,z);var Qe=function(hi,Oi){return eu(y,hi instanceof At?hi.ch:hi,Oi)},ut,pt=function(hi){return a.options.lineWrapping?(ut=ut||Zl(a,y),Oa(a,y,ut,hi)):{begin:0,end:y.text.length}},nn=pt(ee.sticky=="before"?Qe(ee,-1):ee.ch);if(a.doc.direction=="rtl"||Ne.level==1){var hn=Ne.level==1==z<0,Nn=Qe(ee,hn?1:-1);if(Nn!=null&&(hn?Nn<=Ne.to&&Nn<=nn.end:Nn>=Ne.from&&Nn>=nn.begin)){var On=hn?"before":"after";return new At(ee.line,Nn,On)}}var pr=function(hi,Oi,mi){for(var Wi=function(wa,cl){return cl?new At(ee.line,Qe(wa,1),"before"):new At(ee.line,wa,"after")};hi>=0&&hi<ie.length;hi+=Oi){var mo=ie[hi],io=Oi>0==(mo.level!=1),Vo=io?mi.begin:Qe(mi.end,-1);if(mo.from<=Vo&&Vo<mo.to||(Vo=io?mo.from:Qe(mo.to,-1),mi.begin<=Vo&&Vo<mi.end))return Wi(Vo,io)}},Lr=pr(he+z,z,nn);if(Lr)return Lr;var ti=z>0?nn.end:Qe(nn.begin,-1);return ti!=null&&!(z>0&&ti==y.text.length)&&(Lr=pr(z>0?0:ie.length-1,z,pt(ti)),Lr)?Lr:null}var as={selectAll:Ui,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Ee)},killLine:function(a){return ps(a,function(y){if(y.empty()){var ee=En(a.doc,y.head.line).text.length;return y.head.ch==ee&&y.head.line<a.lastLine()?{from:y.head,to:At(y.head.line+1,0)}:{from:y.head,to:At(y.head.line,ee)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return ps(a,function(y){return{from:At(y.from().line,0),to:jt(a.doc,At(y.to().line+1,0))}})},delLineLeft:function(a){return ps(a,function(y){return{from:At(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return ps(a,function(y){var ee=a.charCoords(y.head,"div").top+5,z=a.coordsChar({left:0,top:ee},"div");return{from:z,to:y.from()}})},delWrappedLineRight:function(a){return ps(a,function(y){var ee=a.charCoords(y.head,"div").top+5,z=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ee},"div");return{from:y.from(),to:z}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(At(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(At(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return nu(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return ru(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Eu(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ee},"div")},rt)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:ee},"div")},rt)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5,z=a.coordsChar({left:0,top:ee},"div");return z.ch<a.getLine(z.line).search(/\S/)?ru(a,y.head):z},rt)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],ee=a.listSelections(),z=a.options.tabSize,ie=0;ie<ee.length;ie++){var he=ee[ie].from(),Ne=Ze(a.getLine(he.line),he.ch,z);y.push(wt(z-Ne%z))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return ii(a,function(){for(var y=a.listSelections(),ee=[],z=0;z<y.length;z++)if(y[z].empty()){var ie=y[z].head,he=En(a.doc,ie.line).text;if(he){if(ie.ch==he.length&&(ie=new At(ie.line,ie.ch-1)),ie.ch>0)ie=new At(ie.line,ie.ch+1),a.replaceRange(he.charAt(ie.ch-1)+he.charAt(ie.ch-2),At(ie.line,ie.ch-2),ie,"+transpose");else if(ie.line>a.doc.first){var Ne=En(a.doc,ie.line-1).text;Ne&&(ie=new At(ie.line,1),a.replaceRange(he.charAt(0)+a.doc.lineSeparator()+Ne.charAt(Ne.length-1),At(ie.line-1,Ne.length-1),ie,"+transpose"))}}ee.push(new gn(ie,ie))}a.setSelections(ee)})},newlineAndIndent:function(a){return ii(a,function(){for(var y=a.listSelections(),ee=y.length-1;ee>=0;ee--)a.replaceRange(a.doc.lineSeparator(),y[ee].anchor,y[ee].head,"+input");y=a.listSelections();for(var z=0;z<y.length;z++)a.indentLine(y[z].from().line,null,!0);bn(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function nu(a,y){var ee=En(a.doc,y),z=Qn(ee);return z!=ee&&(y=Lt(z)),tu(!0,a,z,y,1)}function Eu(a,y){var ee=En(a.doc,y),z=Wr(ee);return z!=ee&&(y=Lt(z)),tu(!0,a,ee,y,-1)}function ru(a,y){var ee=nu(a,y.line),z=En(a.doc,ee.line),ie=ot(z,a.doc.direction);if(!ie||ie[0].level==0){var he=Math.max(ee.ch,z.text.search(/\S/)),Ne=y.line==ee.line&&y.ch<=he&&y.ch;return At(ee.line,Ne?0:he,ee.sticky)}return ee}function Rs(a,y,ee){if(typeof y=="string"&&(y=as[y],!y))return!1;a.display.input.ensurePolled();var z=a.display.shift,ie=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ee&&(a.display.shift=!1),ie=y(a)!=lt}finally{a.display.shift=z,a.state.suppressEdits=!1}return ie}function Su(a,y,ee){for(var z=0;z<a.state.keyMaps.length;z++){var ie=As(y,a.state.keyMaps[z],ee,a);if(ie)return ie}return a.options.extraKeys&&As(y,a.options.extraKeys,ee,a)||As(y,a.options.keyMap,ee,a)}var wu=new se;function Zs(a,y,ee,z){var ie=a.state.keySeq;if(ie){if(qs(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:wu.set(50,function(){a.state.keySeq==ie&&(a.state.keySeq=null,a.display.input.reset())}),iu(a,ie+" "+y,ee,z))return!0}return iu(a,y,ee,z)}function iu(a,y,ee,z){var ie=Su(a,y,z);return ie=="multi"&&(a.state.keySeq=y),ie=="handled"&&Fo(a,"keyHandled",a,y,ee),(ie=="handled"||ie=="multi")&&(Tt(ee),Ts(a)),!!ie}function zs(a,y){var ee=ms(y,!0);return ee?y.shiftKey&&!a.state.keySeq?Zs(a,"Shift-"+ee,y,function(z){return Rs(a,z,!0)})||Zs(a,ee,y,function(z){if(typeof z=="string"?/^go[A-Z]/.test(z):z.motion)return Rs(a,z)}):Zs(a,ee,y,function(z){return Rs(a,z)}):!1}function ou(a,y,ee){return Zs(a,"'"+ee+"'",y,function(z){return Rs(a,z,!0)})}var Ws=null;function au(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=pe(),!Rt(y,a))){De&&ve<11&&a.keyCode==27&&(a.returnValue=!1);var ee=a.keyCode;y.display.shift=ee==16||a.shiftKey;var z=zs(y,a);ue&&(Ws=z?ee:null,!z&&ee==88&&!Wt&&(Ae?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!Ae&&!z&&ee==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),ee==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&vu(y)}}function vu(a){var y=a.display.lineDiv;be(y,"CodeMirror-crosshair");function ee(z){(z.keyCode==18||!z.altKey)&&(ze(y,"CodeMirror-crosshair"),un(document,"keyup",ee),un(document,"mouseover",ee))}Vt(document,"keyup",ee),Vt(document,"mouseover",ee)}function lu(a){a.keyCode==16&&(this.doc.sel.shift=!1),Rt(this,a)}function su(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Wa(y.display,a)||Rt(y,a)||a.ctrlKey&&!a.altKey||Ae&&a.metaKey)){var ee=a.keyCode,z=a.charCode;if(ue&&ee==Ws){Ws=null,Tt(a);return}if(!(ue&&(!a.which||a.which<10)&&zs(y,a))){var ie=String.fromCharCode(z==null?ee:z);ie!="\b"&&(ou(y,a,ie)||y.display.input.onKeyPress(a))}}}var Au=400,Ys=function(a,y,ee){this.time=a,this.pos=y,this.button=ee};Ys.prototype.compare=function(a,y,ee){return this.time+Au>a&&Ht(y,this.pos)==0&&ee==this.button};var vs,Ds;function uu(a,y){var ee=+new Date;return Ds&&Ds.compare(ee,a,y)?(vs=Ds=null,"triple"):vs&&vs.compare(ee,a,y)?(Ds=new Ys(ee,a,y),vs=null,"double"):(vs=new Ys(ee,a,y),Ds=null,"single")}function cu(a){var y=this,ee=y.display;if(!(Rt(y,a)||ee.activeTouch&&ee.input.supportsTouch())){if(ee.input.ensurePolled(),ee.shift=a.shiftKey,Wa(ee,a)){ye||(ee.scroller.draggable=!1,setTimeout(function(){return ee.scroller.draggable=!0},100));return}if(!ql(y,a)){var z=zl(y,a),ie=Yt(a),he=z?uu(z,ie):"single";window.focus(),ie==1&&y.state.selectingText&&y.state.selectingText(a),!(z&&Du(y,ie,z,he,a))&&(ie==1?z?Qo(y,z,he,a):Mt(a)==ee.scroller&&Tt(a):ie==2?(z&&po(y.doc,z),setTimeout(function(){return ee.input.focus()},20)):ie==3&&(Oe?y.display.input.onContextMenu(a):ks(y)))}}}function Du(a,y,ee,z,ie){var he="Click";return z=="double"?he="Double"+he:z=="triple"&&(he="Triple"+he),he=(y==1?"Left":y==2?"Middle":"Right")+he,Zs(a,Ns(he,ie),ie,function(Ne){if(typeof Ne=="string"&&(Ne=as[Ne]),!Ne)return!1;var Qe=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Qe=Ne(a,ee)!=lt}finally{a.state.suppressEdits=!1}return Qe})}function Yo(a,y,ee){var z=a.getOption("configureMouse"),ie=z?z(a,y,ee):{};if(ie.unit==null){var he=Pe?ee.shiftKey&&ee.metaKey:ee.altKey;ie.unit=he?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(ie.extend==null||a.doc.extend)&&(ie.extend=a.doc.extend||ee.shiftKey),ie.addNew==null&&(ie.addNew=Ae?ee.metaKey:ee.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(Ae?ee.altKey:ee.ctrlKey)),ie}function Qo(a,y,ee,z){De?setTimeout(at(mu,a),0):a.curOp.focus=pe();var ie=Yo(a,ee,z),he=a.doc.sel,Ne;a.options.dragDrop&&sn&&!a.isReadOnly()&&ee=="single"&&(Ne=he.contains(y))>-1&&(Ht((Ne=he.ranges[Ne]).from(),y)<0||y.xRel>0)&&(Ht(Ne.to(),y)>0||y.xRel<0)?sl(a,z,y,ie):ul(a,z,y,ie)}function sl(a,y,ee,z){var ie=a.display,he=!1,Ne=Gr(a,function(pt){ye&&(ie.scroller.draggable=!1),a.state.draggingText=!1,un(ie.wrapper.ownerDocument,"mouseup",Ne),un(ie.wrapper.ownerDocument,"mousemove",Qe),un(ie.scroller,"dragstart",ut),un(ie.scroller,"drop",Ne),he||(Tt(pt),z.addNew||po(a.doc,ee,null,null,z.extend),ye&&!Fe||De&&ve==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),Qe=function(pt){he=he||Math.abs(y.clientX-pt.clientX)+Math.abs(y.clientY-pt.clientY)>=10},ut=function(){return he=!0};ye&&(ie.scroller.draggable=!0),a.state.draggingText=Ne,Ne.copy=!z.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),Vt(ie.wrapper.ownerDocument,"mouseup",Ne),Vt(ie.wrapper.ownerDocument,"mousemove",Qe),Vt(ie.scroller,"dragstart",ut),Vt(ie.scroller,"drop",Ne),ks(a),setTimeout(function(){return ie.input.focus()},20)}function Il(a,y,ee){if(ee=="char")return new gn(y,y);if(ee=="word")return a.findWordAt(y);if(ee=="line")return new gn(At(y.line,0),jt(a.doc,At(y.line+1,0)));var z=ee(a,y);return new gn(z.from,z.to)}function ul(a,y,ee,z){var ie=a.display,he=a.doc;Tt(y);var Ne,Qe,ut=he.sel,pt=ut.ranges;if(z.addNew&&!z.extend?(Qe=he.sel.contains(ee),Qe>-1?Ne=pt[Qe]:Ne=new gn(ee,ee)):(Ne=he.sel.primary(),Qe=he.sel.primIndex),z.unit=="rectangle")z.addNew||(Ne=new gn(ee,ee)),ee=zl(a,y,!0,!0),Qe=-1;else{var nn=Il(a,ee,z.unit);z.extend?Ne=go(Ne,nn.anchor,nn.head,z.extend):Ne=nn}z.addNew?Qe==-1?(Qe=pt.length,ci(he,ur(a,pt.concat([Ne]),Qe),{scroll:!1,origin:"*mouse"})):pt.length>1&&pt[Qe].empty()&&z.unit=="char"&&!z.extend?(ci(he,ur(a,pt.slice(0,Qe).concat(pt.slice(Qe+1)),0),{scroll:!1,origin:"*mouse"}),ut=he.sel):pa(he,Qe,Ne,je):(Qe=0,ci(he,new Cn([Ne],0),je),ut=he.sel);var hn=ee;function Nn(mi){if(Ht(hn,mi)!=0)if(hn=mi,z.unit=="rectangle"){for(var Wi=[],mo=a.options.tabSize,io=Ze(En(he,ee.line).text,ee.ch,mo),Vo=Ze(En(he,mi.line).text,mi.ch,mo),wa=Math.min(io,Vo),cl=Math.max(io,Vo),Za=Math.min(ee.line,mi.line),Rl=Math.min(a.lastLine(),Math.max(ee.line,mi.line));Za<=Rl;Za++){var Bl=En(he,Za).text,Ja=xt(Bl,wa,mo);wa==cl?Wi.push(new gn(At(Za,Ja),At(Za,Ja))):Bl.length>Ja&&Wi.push(new gn(At(Za,Ja),At(Za,xt(Bl,cl,mo))))}Wi.length||Wi.push(new gn(ee,ee)),ci(he,ur(a,ut.ranges.slice(0,Qe).concat(Wi),Qe),{origin:"*mouse",scroll:!1}),a.scrollIntoView(mi)}else{var Ol=Ne,ml=Il(a,mi,z.unit),nl=Ol.anchor,qa;Ht(ml.anchor,nl)>0?(qa=ml.head,nl=dn(Ol.from(),ml.anchor)):(qa=ml.anchor,nl=tn(Ol.to(),ml.head));var ja=ut.ranges.slice(0);ja[Qe]=Ps(a,new gn(jt(he,nl),qa)),ci(he,ur(a,ja,Qe),je)}}var On=ie.wrapper.getBoundingClientRect(),pr=0;function Lr(mi){var Wi=++pr,mo=zl(a,mi,!0,z.unit=="rectangle");if(mo)if(Ht(mo,hn)!=0){a.curOp.focus=pe(),Nn(mo);var io=me(ie,he);(mo.line>=io.to||mo.line<io.from)&&setTimeout(Gr(a,function(){pr==Wi&&Lr(mi)}),150)}else{var Vo=mi.clientY<On.top?-20:mi.clientY>On.bottom?20:0;Vo&&setTimeout(Gr(a,function(){pr==Wi&&(ie.scroller.scrollTop+=Vo,Lr(mi))}),50)}}function ti(mi){a.state.selectingText=!1,pr=1/0,mi&&(Tt(mi),ie.input.focus()),un(ie.wrapper.ownerDocument,"mousemove",hi),un(ie.wrapper.ownerDocument,"mouseup",Oi),he.history.lastSelOrigin=null}var hi=Gr(a,function(mi){mi.buttons===0||!Yt(mi)?ti(mi):Lr(mi)}),Oi=Gr(a,ti);a.state.selectingText=Oi,Vt(ie.wrapper.ownerDocument,"mousemove",hi),Vt(ie.wrapper.ownerDocument,"mouseup",Oi)}function Ps(a,y){var ee=y.anchor,z=y.head,ie=En(a.doc,ee.line);if(Ht(ee,z)==0&&ee.sticky==z.sticky)return y;var he=ot(ie);if(!he)return y;var Ne=dt(he,ee.ch,ee.sticky),Qe=he[Ne];if(Qe.from!=ee.ch&&Qe.to!=ee.ch)return y;var ut=Ne+(Qe.from==ee.ch==(Qe.level!=1)?0:1);if(ut==0||ut==he.length)return y;var pt;if(z.line!=ee.line)pt=(z.line-ee.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var nn=dt(he,z.ch,z.sticky),hn=nn-Ne||(z.ch-ee.ch)*(Qe.level==1?-1:1);nn==ut-1||nn==ut?pt=hn<0:pt=hn>0}var Nn=he[ut+(pt?-1:0)],On=pt==(Nn.level==1),pr=On?Nn.from:Nn.to,Lr=On?"after":"before";return ee.ch==pr&&ee.sticky==Lr?y:new gn(new At(ee.line,pr,Lr),z)}function ls(a,y,ee,z){var ie,he;if(y.touches)ie=y.touches[0].clientX,he=y.touches[0].clientY;else try{ie=y.clientX,he=y.clientY}catch(Nn){return!1}if(ie>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;z&&Tt(y);var Ne=a.display,Qe=Ne.lineDiv.getBoundingClientRect();if(he>Qe.bottom||!qt(a,ee))return mn(y);he-=Qe.top-Ne.viewOffset;for(var ut=0;ut<a.display.gutterSpecs.length;++ut){var pt=Ne.gutters.childNodes[ut];if(pt&&pt.getBoundingClientRect().right>=ie){var nn=Qt(a.doc,he),hn=a.display.gutterSpecs[ut];return $t(a,ee,a,nn,hn.className,y),mn(y)}}}function ql(a,y){return ls(a,y,"gutterClick",!0)}function Fs(a,y){Wa(a.display,y)||du(a,y)||Rt(a,y,"contextmenu")||Oe||a.display.input.onContextMenu(y)}function du(a,y){return qt(a,"gutterContextMenu")?ls(a,y,"gutterContextMenu",!1):!1}function Mu(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Gl(a)}var Gs={toString:function(){return"CodeMirror.Init"}},Tu={},gu={};function ju(a){var y=a.optionHandlers;function ee(z,ie,he,Ne){a.defaults[z]=ie,he&&(y[z]=Ne?function(Qe,ut,pt){pt!=Gs&&he(Qe,ut,pt)}:he)}a.defineOption=ee,a.Init=Gs,ee("value","",function(z,ie){return z.setValue(ie)},!0),ee("mode",null,function(z,ie){z.doc.modeOption=ie,Tr(z)},!0),ee("indentUnit",2,Tr,!0),ee("indentWithTabs",!1),ee("smartIndent",!0),ee("tabSize",4,function(z){Hr(z),Gl(z),Ga(z)},!0),ee("lineSeparator",null,function(z,ie){if(z.doc.lineSep=ie,!!ie){var he=[],Ne=z.doc.first;z.doc.iter(function(ut){for(var pt=0;;){var nn=ut.text.indexOf(ie,pt);if(nn==-1)break;pt=nn+ie.length,he.push(At(Ne,nn))}Ne++});for(var Qe=he.length-1;Qe>=0;Qe--)Po(z.doc,ie,he[Qe],At(he[Qe].line,he[Qe].ch+ie.length))}}),ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(z,ie,he){z.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),he!=Gs&&z.refresh()}),ee("specialCharPlaceholder",Aa,function(z){return z.refresh()},!0),ee("electricChars",!0),ee("inputStyle",ge?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ee("spellcheck",!1,function(z,ie){return z.getInputField().spellcheck=ie},!0),ee("autocorrect",!1,function(z,ie){return z.getInputField().autocorrect=ie},!0),ee("autocapitalize",!1,function(z,ie){return z.getInputField().autocapitalize=ie},!0),ee("rtlMoveVisually",!Re),ee("wholeLineUpdateBefore",!0),ee("theme","default",function(z){Mu(z),cn(z)},!0),ee("keyMap","default",function(z,ie,he){var Ne=Us(ie),Qe=he!=Gs&&Us(he);Qe&&Qe.detach&&Qe.detach(z,Ne),Ne.attach&&Ne.attach(z,Qe||null)}),ee("extraKeys",null),ee("configureMouse",null),ee("lineWrapping",!1,Ku,!0),ee("gutters",[],function(z,ie){z.display.gutterSpecs=Nt(ie,z.options.lineNumbers),cn(z)},!0),ee("fixedGutter",!0,function(z,ie){z.display.gutters.style.left=ie?Os(z.display)+"px":"0",z.refresh()},!0),ee("coverGutterNextToScrollbar",!1,function(z){return mr(z)},!0),ee("scrollbarStyle","native",function(z){xr(z),mr(z),z.display.scrollbars.setScrollTop(z.doc.scrollTop),z.display.scrollbars.setScrollLeft(z.doc.scrollLeft)},!0),ee("lineNumbers",!1,function(z,ie){z.display.gutterSpecs=Nt(z.options.gutters,ie),cn(z)},!0),ee("firstLineNumber",1,cn,!0),ee("lineNumberFormatter",function(z){return z},cn,!0),ee("showCursorWhenSelecting",!1,Xl,!0),ee("resetSelectionOnContextMenu",!0),ee("lineWiseCopyCut",!0),ee("pasteLinesPerSelection",!0),ee("selectionsMayTouch",!1),ee("readOnly",!1,function(z,ie){ie=="nocursor"&&(is(z),z.display.input.blur()),z.display.input.readOnlyChanged(ie)}),ee("screenReaderLabel",null,function(z,ie){ie=ie===""?null:ie,z.display.input.screenReaderLabelChanged(ie)}),ee("disableInput",!1,function(z,ie){ie||z.display.input.reset()},!0),ee("dragDrop",!0,Vu),ee("allowDropFileTypes",null),ee("cursorBlinkRate",530),ee("cursorScrollMargin",0),ee("cursorHeight",1,Xl,!0),ee("singleCursorHeightPerLine",!0,Xl,!0),ee("workTime",100),ee("workDelay",100),ee("flattenSpans",!0,Hr,!0),ee("addModeClass",!1,Hr,!0),ee("pollInterval",100),ee("undoDepth",200,function(z,ie){return z.doc.history.undoDepth=ie}),ee("historyEventDelay",1250),ee("viewportMargin",10,function(z){return z.refresh()},!0),ee("maxHighlightLength",1e4,Hr,!0),ee("moveInputWithCursor",!0,function(z,ie){ie||z.display.input.resetPosition()}),ee("tabindex",null,function(z,ie){return z.display.input.getField().tabIndex=ie||""}),ee("autofocus",null),ee("direction","ltr",function(z,ie){return z.doc.setDirection(ie)},!0),ee("phrases",null)}function Vu(a,y,ee){var z=ee&&ee!=Gs;if(!y!=!z){var ie=a.display.dragFunctions,he=y?Vt:un;he(a.display.scroller,"dragstart",ie.start),he(a.display.scroller,"dragenter",ie.enter),he(a.display.scroller,"dragover",ie.over),he(a.display.scroller,"dragleave",ie.leave),he(a.display.scroller,"drop",ie.drop)}}function Ku(a){a.options.lineWrapping?(be(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(ze(a.display.wrapper,"CodeMirror-wrap"),ao(a)),rs(a),Ga(a),Gl(a),setTimeout(function(){return mr(a)},100)}function Ta(a,y){var ee=this;if(!(this instanceof Ta))return new Ta(a,y);this.options=y=y?bt(y):{},bt(Tu,y,!1);var z=y.value;typeof z=="string"?z=new Pi(z,y.mode,null,y.lineSeparator,y.direction):y.mode&&(z.modeOption=y.mode),this.doc=z;var ie=new Ta.inputStyles[y.inputStyle](this),he=this.display=new rn(a,z,ie,y);he.wrapper.CodeMirror=this,Mu(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xr(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 se,keySeq:null,specialChars:null},y.autofocus&&!ge&&he.input.focus(),De&&ve<11&&setTimeout(function(){return ee.display.input.reset(!0)},20),Uu(this),_o(),Br(this),this.curOp.forceUpdate=!0,br(this,z),y.autofocus&&!ge||this.hasFocus()?setTimeout(function(){ee.hasFocus()&&!ee.state.focused&&Ql(ee)},20):is(this);for(var Ne in gu)gu.hasOwnProperty(Ne)&&gu[Ne](this,y[Ne],Gs);Pt(this),y.finishInit&&y.finishInit(this);for(var Qe=0;Qe<Pu.length;++Qe)Pu[Qe](this);Nr(this),ye&&y.lineWrapping&&getComputedStyle(he.lineDiv).textRendering=="optimizelegibility"&&(he.lineDiv.style.textRendering="auto")}Ta.defaults=Tu,Ta.optionHandlers=gu;function Uu(a){var y=a.display;Vt(y.scroller,"mousedown",Gr(a,cu)),De&&ve<11?Vt(y.scroller,"dblclick",Gr(a,function(ut){if(!Rt(a,ut)){var pt=zl(a,ut);if(!(!pt||ql(a,ut)||Wa(a.display,ut))){Tt(ut);var nn=a.findWordAt(pt);po(a.doc,nn.anchor,nn.head)}}})):Vt(y.scroller,"dblclick",function(ut){return Rt(a,ut)||Tt(ut)}),Vt(y.scroller,"contextmenu",function(ut){return Fs(a,ut)}),Vt(y.input.getField(),"contextmenu",function(ut){y.scroller.contains(ut.target)||Fs(a,ut)});var ee,z={end:0};function ie(){y.activeTouch&&(ee=setTimeout(function(){return y.activeTouch=null},1e3),z=y.activeTouch,z.end=+new Date)}function he(ut){if(ut.touches.length!=1)return!1;var pt=ut.touches[0];return pt.radiusX<=1&&pt.radiusY<=1}function Ne(ut,pt){if(pt.left==null)return!0;var nn=pt.left-ut.left,hn=pt.top-ut.top;return nn*nn+hn*hn>20*20}Vt(y.scroller,"touchstart",function(ut){if(!Rt(a,ut)&&!he(ut)&&!ql(a,ut)){y.input.ensurePolled(),clearTimeout(ee);var pt=+new Date;y.activeTouch={start:pt,moved:!1,prev:pt-z.end<=300?z:null},ut.touches.length==1&&(y.activeTouch.left=ut.touches[0].pageX,y.activeTouch.top=ut.touches[0].pageY)}}),Vt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Vt(y.scroller,"touchend",function(ut){var pt=y.activeTouch;if(pt&&!Wa(y,ut)&&pt.left!=null&&!pt.moved&&new Date-pt.start<300){var nn=a.coordsChar(y.activeTouch,"page"),hn;!pt.prev||Ne(pt,pt.prev)?hn=new gn(nn,nn):!pt.prev.prev||Ne(pt,pt.prev.prev)?hn=a.findWordAt(nn):hn=new gn(At(nn.line,0),jt(a.doc,At(nn.line+1,0))),a.setSelection(hn.anchor,hn.head),a.focus(),Tt(ut)}ie()}),Vt(y.scroller,"touchcancel",ie),Vt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(qn(a,y.scroller.scrollTop),or(a,y.scroller.scrollLeft,!0),$t(a,"scroll",a))}),Vt(y.scroller,"mousewheel",function(ut){return Pn(a,ut)}),Vt(y.scroller,"DOMMouseScroll",function(ut){return Pn(a,ut)}),Vt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(ut){Rt(a,ut)||vt(ut)},over:function(ut){Rt(a,ut)||(Nl(a,ut),vt(ut))},start:function(ut){return yl(a,ut)},drop:Gr(a,Xa),leave:function(ut){Rt(a,ut)||Ss(a)}};var Qe=y.input.getField();Vt(Qe,"keyup",function(ut){return lu.call(a,ut)}),Vt(Qe,"keydown",Gr(a,au)),Vt(Qe,"keypress",Gr(a,su)),Vt(Qe,"focus",function(ut){return Ql(a,ut)}),Vt(Qe,"blur",function(ut){return is(a,ut)})}var Pu=[];Ta.defineInitHook=function(a){return Pu.push(a)};function fu(a,y,ee,z){var ie=a.doc,he;ee==null&&(ee="add"),ee=="smart"&&(ie.mode.indent?he=zr(a,y).state:ee="prev");var Ne=a.options.tabSize,Qe=En(ie,y),ut=Ze(Qe.text,null,Ne);Qe.stateAfter&&(Qe.stateAfter=null);var pt=Qe.text.match(/^\s*/)[0],nn;if(!z&&!/\S/.test(Qe.text))nn=0,ee="not";else if(ee=="smart"&&(nn=ie.mode.indent(he,Qe.text.slice(pt.length),Qe.text),nn==lt||nn>150)){if(!z)return;ee="prev"}ee=="prev"?y>ie.first?nn=Ze(En(ie,y-1).text,null,Ne):nn=0:ee=="add"?nn=ut+a.options.indentUnit:ee=="subtract"?nn=ut-a.options.indentUnit:typeof ee=="number"&&(nn=ut+ee),nn=Math.max(0,nn);var hn="",Nn=0;if(a.options.indentWithTabs)for(var On=Math.floor(nn/Ne);On;--On)Nn+=Ne,hn+=" ";if(Nn<nn&&(hn+=wt(nn-Nn)),hn!=pt)return Po(ie,hn,At(y,0),At(y,pt.length),"+input"),Qe.stateAfter=null,!0;for(var pr=0;pr<ie.sel.ranges.length;pr++){var Lr=ie.sel.ranges[pr];if(Lr.head.line==y&&Lr.head.ch<pt.length){var ti=At(y,pt.length);pa(ie,pr,new gn(ti,ti));break}}}var es=null;function yu(a){es=a}function Fu(a,y,ee,z,ie){var he=a.doc;a.display.shift=!1,z||(z=he.sel);var Ne=+new Date-200,Qe=ie=="paste"||a.state.pasteIncoming>Ne,ut=Bn(y),pt=null;if(Qe&&z.ranges.length>1)if(es&&es.text.join(`
|
|
|
`)==y){if(z.ranges.length%es.text.length==0){pt=[];for(var nn=0;nn<es.text.length;nn++)pt.push(he.splitLines(es.text[nn]))}}else ut.length==z.ranges.length&&a.options.pasteLinesPerSelection&&(pt=It(ut,function(hi){return[hi]}));for(var hn=a.curOp.updateInput,Nn=z.ranges.length-1;Nn>=0;Nn--){var On=z.ranges[Nn],pr=On.from(),Lr=On.to();On.empty()&&(ee&&ee>0?pr=At(pr.line,pr.ch-ee):a.state.overwrite&&!Qe?Lr=At(Lr.line,Math.min(En(he,Lr.line).text.length,Lr.ch+ft(ut).length)):Qe&&es&&es.lineWise&&es.text.join(`
|
|
|
`)==ut.join(`
|
|
|
`)&&(pr=Lr=At(pr.line,0)));var ti={from:pr,to:Lr,text:pt?pt[Nn%pt.length]:ut,origin:ie||(Qe?"paste":a.state.cutIncoming>Ne?"cut":"+input")};$o(a.doc,ti),Fo(a,"inputRead",a,ti)}y&&!Qe&&Lu(a,y),bn(a),a.curOp.updateInput<2&&(a.curOp.updateInput=hn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function ku(a,y){var ee=a.clipboardData&&a.clipboardData.getData("Text");if(ee)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&ii(y,function(){return Fu(y,ee,0,null,"paste")}),!0}function Lu(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ee=a.doc.sel,z=ee.ranges.length-1;z>=0;z--){var ie=ee.ranges[z];if(!(ie.head.ch>100||z&&ee.ranges[z-1].head.line==ie.head.line)){var he=a.getModeAt(ie.head),Ne=!1;if(he.electricChars){for(var Qe=0;Qe<he.electricChars.length;Qe++)if(y.indexOf(he.electricChars.charAt(Qe))>-1){Ne=fu(a,ie.head.line,"smart");break}}else he.electricInput&&he.electricInput.test(En(a.doc,ie.head.line).text.slice(0,ie.head.ch))&&(Ne=fu(a,ie.head.line,"smart"));Ne&&Fo(a,"electricInput",a,ie.head.line)}}}function Nu(a){for(var y=[],ee=[],z=0;z<a.doc.sel.ranges.length;z++){var ie=a.doc.sel.ranges[z].head.line,he={anchor:At(ie,0),head:At(ie+1,0)};ee.push(he),y.push(a.getRange(he.anchor,he.head))}return{text:y,ranges:ee}}function Ru(a,y,ee,z){a.setAttribute("autocorrect",ee?"":"off"),a.setAttribute("autocapitalize",z?"":"off"),a.setAttribute("spellcheck",!!y)}function Zu(){var a=Ve("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Ve("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ye?a.style.width="1000px":a.setAttribute("wrap","off"),we&&(a.style.border="1px solid black"),Ru(a),y}function _u(a){var y=a.optionHandlers,ee=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(z,ie){var he=this.options,Ne=he[z];he[z]==ie&&z!="mode"||(he[z]=ie,y.hasOwnProperty(z)&&Gr(this,y[z])(this,ie,Ne),$t(this,"optionChange",this,z))},getOption:function(z){return this.options[z]},getDoc:function(){return this.doc},addKeyMap:function(z,ie){this.state.keyMaps[ie?"push":"unshift"](Us(z))},removeKeyMap:function(z){for(var ie=this.state.keyMaps,he=0;he<ie.length;++he)if(ie[he]==z||ie[he].name==z)return ie.splice(he,1),!0},addOverlay:si(function(z,ie){var he=z.token?z:a.getMode(this.options,z);if(he.startState)throw new Error("Overlays may not be stateful.");Dt(this.state.overlays,{mode:he,modeSpec:z,opaque:ie&&ie.opaque,priority:ie&&ie.priority||0},function(Ne){return Ne.priority}),this.state.modeGen++,Ga(this)}),removeOverlay:si(function(z){for(var ie=this.state.overlays,he=0;he<ie.length;++he){var Ne=ie[he].modeSpec;if(Ne==z||typeof z=="string"&&Ne.name==z){ie.splice(he,1),this.state.modeGen++,Ga(this);return}}}),indentLine:si(function(z,ie,he){typeof ie!="string"&&typeof ie!="number"&&(ie==null?ie=this.options.smartIndent?"smart":"prev":ie=ie?"add":"subtract"),St(this.doc,z)&&fu(this,z,ie,he)}),indentSelection:si(function(z){for(var ie=this.doc.sel.ranges,he=-1,Ne=0;Ne<ie.length;Ne++){var Qe=ie[Ne];if(Qe.empty())Qe.head.line>he&&(fu(this,Qe.head.line,z,!0),he=Qe.head.line,Ne==this.doc.sel.primIndex&&bn(this));else{var ut=Qe.from(),pt=Qe.to(),nn=Math.max(he,ut.line);he=Math.min(this.lastLine(),pt.line-(pt.ch?0:1))+1;for(var hn=nn;hn<he;++hn)fu(this,hn,z);var Nn=this.doc.sel.ranges;ut.ch==0&&ie.length==Nn.length&&Nn[Ne].from().ch>0&&pa(this.doc,Ne,new gn(ut,Nn[Ne].to()),Ee)}}}),getTokenAt:function(z,ie){return Vr(this,z,ie)},getLineTokens:function(z,ie){return Vr(this,At(z),ie,!0)},getTokenTypeAt:function(z){z=jt(this.doc,z);var ie=Mr(this,En(this.doc,z.line)),he=0,Ne=(ie.length-1)/2,Qe=z.ch,ut;if(Qe==0)ut=ie[2];else for(;;){var pt=he+Ne>>1;if((pt?ie[pt*2-1]:0)>=Qe)Ne=pt;else if(ie[pt*2+1]<Qe)he=pt+1;else{ut=ie[pt*2+2];break}}var nn=ut?ut.indexOf("overlay "):-1;return nn<0?ut:nn==0?null:ut.slice(0,nn-1)},getModeAt:function(z){var ie=this.doc.mode;return ie.innerMode?a.innerMode(ie,this.getTokenAt(z).state).mode:ie},getHelper:function(z,ie){return this.getHelpers(z,ie)[0]},getHelpers:function(z,ie){var he=[];if(!ee.hasOwnProperty(ie))return he;var Ne=ee[ie],Qe=this.getModeAt(z);if(typeof Qe[ie]=="string")Ne[Qe[ie]]&&he.push(Ne[Qe[ie]]);else if(Qe[ie])for(var ut=0;ut<Qe[ie].length;ut++){var pt=Ne[Qe[ie][ut]];pt&&he.push(pt)}else Qe.helperType&&Ne[Qe.helperType]?he.push(Ne[Qe.helperType]):Ne[Qe.name]&&he.push(Ne[Qe.name]);for(var nn=0;nn<Ne._global.length;nn++){var hn=Ne._global[nn];hn.pred(Qe,this)&&Be(he,hn.val)==-1&&he.push(hn.val)}return he},getStateAfter:function(z,ie){var he=this.doc;return z=Ut(he,z==null?he.first+he.size-1:z),zr(this,z+1,ie).state},cursorCoords:function(z,ie){var he,Ne=this.doc.sel.primary();return z==null?he=Ne.head:typeof z=="object"?he=jt(this.doc,z):he=z?Ne.from():Ne.to(),Ha(this,he,ie||"page")},charCoords:function(z,ie){return Kl(this,jt(this.doc,z),ie||"page")},coordsChar:function(z,ie){return z=Cs(this,z,ie||"page"),Ma(this,z.left,z.top)},lineAtHeight:function(z,ie){return z=Cs(this,{top:z,left:0},ie||"page").top,Qt(this.doc,z+this.display.viewOffset)},heightAtLine:function(z,ie,he){var Ne=!1,Qe;if(typeof z=="number"){var ut=this.doc.first+this.doc.size-1;z<this.doc.first?z=this.doc.first:z>ut&&(z=ut,Ne=!0),Qe=En(this.doc,z)}else Qe=z;return fs(this,Qe,{top:0,left:0},ie||"page",he||Ne).top+(Ne?this.doc.height-ji(Qe):0)},defaultTextHeight:function(){return fl(this.display)},defaultCharWidth:function(){return Fl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(z,ie,he,Ne,Qe){var ut=this.display;z=Ha(this,jt(this.doc,z));var pt=z.bottom,nn=z.left;if(ie.style.position="absolute",ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ie),ut.sizer.appendChild(ie),Ne=="over")pt=z.top;else if(Ne=="above"||Ne=="near"){var hn=Math.max(ut.wrapper.clientHeight,this.doc.height),Nn=Math.max(ut.sizer.clientWidth,ut.lineSpace.clientWidth);(Ne=="above"||z.bottom+ie.offsetHeight>hn)&&z.top>ie.offsetHeight?pt=z.top-ie.offsetHeight:z.bottom+ie.offsetHeight<=hn&&(pt=z.bottom),nn+ie.offsetWidth>Nn&&(nn=Nn-ie.offsetWidth)}ie.style.top=pt+"px",ie.style.left=ie.style.right="",Qe=="right"?(nn=ut.sizer.clientWidth-ie.offsetWidth,ie.style.right="0px"):(Qe=="left"?nn=0:Qe=="middle"&&(nn=(ut.sizer.clientWidth-ie.offsetWidth)/2),ie.style.left=nn+"px"),he&&Ft(this,{left:nn,top:pt,right:nn+ie.offsetWidth,bottom:pt+ie.offsetHeight})},triggerOnKeyDown:si(au),triggerOnKeyPress:si(su),triggerOnKeyUp:lu,triggerOnMouseDown:si(cu),execCommand:function(z){if(as.hasOwnProperty(z))return as[z].call(null,this)},triggerElectric:si(function(z){Lu(this,z)}),findPosH:function(z,ie,he,Ne){var Qe=1;ie<0&&(Qe=-1,ie=-ie);for(var ut=jt(this.doc,z),pt=0;pt<ie&&(ut=Iu(this.doc,ut,Qe,he,Ne),!ut.hitSide);++pt);return ut},moveH:si(function(z,ie){var he=this;this.extendSelectionsBy(function(Ne){return he.display.shift||he.doc.extend||Ne.empty()?Iu(he.doc,Ne.head,z,ie,he.options.rtlMoveVisually):z<0?Ne.from():Ne.to()},rt)}),deleteH:si(function(z,ie){var he=this.doc.sel,Ne=this.doc;he.somethingSelected()?Ne.replaceSelection("",null,"+delete"):ps(this,function(Qe){var ut=Iu(Ne,Qe.head,z,ie,!1);return z<0?{from:ut,to:Qe.head}:{from:Qe.head,to:ut}})}),findPosV:function(z,ie,he,Ne){var Qe=1,ut=Ne;ie<0&&(Qe=-1,ie=-ie);for(var pt=jt(this.doc,z),nn=0;nn<ie;++nn){var hn=Ha(this,pt,"div");if(ut==null?ut=hn.left:hn.left=ut,pt=zu(this,hn,Qe,he),pt.hitSide)break}return pt},moveV:si(function(z,ie){var he=this,Ne=this.doc,Qe=[],ut=!this.display.shift&&!Ne.extend&&Ne.sel.somethingSelected();if(Ne.extendSelectionsBy(function(nn){if(ut)return z<0?nn.from():nn.to();var hn=Ha(he,nn.head,"div");nn.goalColumn!=null&&(hn.left=nn.goalColumn),Qe.push(hn.left);var Nn=zu(he,hn,z,ie);return ie=="page"&&nn==Ne.sel.primary()&&fn(he,Kl(he,Nn,"div").top-hn.top),Nn},rt),Qe.length)for(var pt=0;pt<Ne.sel.ranges.length;pt++)Ne.sel.ranges[pt].goalColumn=Qe[pt]}),findWordAt:function(z){var ie=this.doc,he=En(ie,z.line).text,Ne=z.ch,Qe=z.ch;if(he){var ut=this.getHelper(z,"wordChars");(z.sticky=="before"||Qe==he.length)&&Ne?--Ne:++Qe;for(var pt=he.charAt(Ne),nn=re(pt,ut)?function(hn){return re(hn,ut)}:/\s/.test(pt)?function(hn){return/\s/.test(hn)}:function(hn){return!/\s/.test(hn)&&!re(hn)};Ne>0&&nn(he.charAt(Ne-1));)--Ne;for(;Qe<he.length&&nn(he.charAt(Qe));)++Qe}return new gn(At(z.line,Ne),At(z.line,Qe))},toggleOverwrite:function(z){z!=null&&z==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?be(this.display.cursorDiv,"CodeMirror-overwrite"):ze(this.display.cursorDiv,"CodeMirror-overwrite"),$t(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==pe()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:si(function(z,ie){An(this,z,ie)}),getScrollInfo:function(){var z=this.display.scroller;return{left:z.scrollLeft,top:z.scrollTop,height:z.scrollHeight-el(this)-this.display.barHeight,width:z.scrollWidth-el(this)-this.display.barWidth,clientHeight:Ao(this),clientWidth:Dl(this)}},scrollIntoView:si(function(z,ie){z==null?(z={from:this.doc.sel.primary().head,to:null},ie==null&&(ie=this.options.cursorScrollMargin)):typeof z=="number"?z={from:At(z,0),to:null}:z.from==null&&(z={from:z,to:null}),z.to||(z.to=z.from),z.margin=ie||0,z.from.line!=null?Zn(this,z):Dn(this,z.from,z.to,z.margin)}),setSize:si(function(z,ie){var he=this,Ne=function(ut){return typeof ut=="number"||/^\d+$/.test(String(ut))?ut+"px":ut};z!=null&&(this.display.wrapper.style.width=Ne(z)),ie!=null&&(this.display.wrapper.style.height=Ne(ie)),this.options.lineWrapping&&gl(this);var Qe=this.display.viewFrom;this.doc.iter(Qe,this.display.viewTo,function(ut){if(ut.widgets){for(var pt=0;pt<ut.widgets.length;pt++)if(ut.widgets[pt].noHScroll){Wl(he,Qe,"widget");break}}++Qe}),this.curOp.forceUpdate=!0,$t(this,"refresh",this)}),operation:function(z){return ii(this,z)},startOperation:function(){return Br(this)},endOperation:function(){return Nr(this)},refresh:si(function(){var z=this.display.cachedTextHeight;Ga(this),this.curOp.forceUpdate=!0,Gl(this),An(this,this.doc.scrollLeft,this.doc.scrollTop),_e(this.display),(z==null||Math.abs(z-fl(this.display))>.5||this.options.lineWrapping)&&rs(this),$t(this,"refresh",this)}),swapDoc:si(function(z){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),br(this,z),Gl(this),this.display.input.reset(),An(this,z.scrollLeft,z.scrollTop),this.curOp.forceScroll=!0,Fo(this,"swapDoc",this,ie),ie}),phrase:function(z){var ie=this.options.phrases;return ie&&Object.prototype.hasOwnProperty.call(ie,z)?ie[z]:z},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}},Et(a),a.registerHelper=function(z,ie,he){ee.hasOwnProperty(z)||(ee[z]=a[z]={_global:[]}),ee[z][ie]=he},a.registerGlobalHelper=function(z,ie,he,Ne){a.registerHelper(z,ie,Ne),ee[z]._global.push({pred:he,val:Ne})}}function Iu(a,y,ee,z,ie){var he=y,Ne=ee,Qe=En(a,y.line),ut=ie&&a.direction=="rtl"?-ee:ee;function pt(){var Oi=y.line+ut;return Oi<a.first||Oi>=a.first+a.size?!1:(y=new At(Oi,y.ch,y.sticky),Qe=En(a,Oi))}function nn(Oi){var mi;if(z=="codepoint"){var Wi=Qe.text.charCodeAt(y.ch+(z>0?0:-1));isNaN(Wi)?mi=null:mi=new At(y.line,Math.max(0,Math.min(Qe.text.length,y.ch+ee*(Wi>=55296&&Wi<56320?2:1))),-ee)}else ie?mi=pu(a.cm,Qe,y,ee):mi=_s(Qe,y,ee);if(mi==null)if(!Oi&&pt())y=tu(ie,a.cm,Qe,y.line,ut);else return!1;else y=mi;return!0}if(z=="char"||z=="codepoint")nn();else if(z=="column")nn(!0);else if(z=="word"||z=="group")for(var hn=null,Nn=z=="group",On=a.cm&&a.cm.getHelper(y,"wordChars"),pr=!0;!(ee<0&&!nn(!pr));pr=!1){var Lr=Qe.text.charAt(y.ch)||`
|
|
|
`,ti=re(Lr,On)?"w":Nn&&Lr==`
|
|
|
`?"n":!Nn||/\s/.test(Lr)?null:"p";if(Nn&&!pr&&!ti&&(ti="s"),hn&&hn!=ti){ee<0&&(ee=1,nn(),y.sticky="after");break}if(ti&&(hn=ti),ee>0&&!nn(!pr))break}var hi=ca(a,y,he,Ne,!0);return ht(he,hi)&&(hi.hitSide=!0),hi}function zu(a,y,ee,z){var ie=a.doc,he=y.left,Ne;if(z=="page"){var Qe=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ut=Math.max(Qe-.5*fl(a.display),3);Ne=(ee>0?y.bottom:y.top)+ee*ut}else z=="line"&&(Ne=ee>0?y.bottom+3:y.top-3);for(var pt;pt=Ma(a,he,Ne),!!pt.outside;){if(ee<0?Ne<=0:Ne>=ie.height){pt.hitSide=!0;break}Ne+=ee*5}return pt}var ba=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new se,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ba.prototype.init=function(a){var y=this,ee=this,z=ee.cm,ie=ee.div=a.lineDiv;Ru(ie,z.options.spellcheck,z.options.autocorrect,z.options.autocapitalize);function he(Qe){for(var ut=Qe.target;ut;ut=ut.parentNode){if(ut==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ut.className))break}return!1}Vt(ie,"paste",function(Qe){!he(Qe)||Rt(z,Qe)||ku(Qe,z)||ve<=11&&setTimeout(Gr(z,function(){return y.updateFromDOM()}),20)}),Vt(ie,"compositionstart",function(Qe){y.composing={data:Qe.data,done:!1}}),Vt(ie,"compositionupdate",function(Qe){y.composing||(y.composing={data:Qe.data,done:!1})}),Vt(ie,"compositionend",function(Qe){y.composing&&(Qe.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Vt(ie,"touchstart",function(){return ee.forceCompositionEnd()}),Vt(ie,"input",function(){y.composing||y.readFromDOMSoon()});function Ne(Qe){if(!(!he(Qe)||Rt(z,Qe))){if(z.somethingSelected())yu({lineWise:!1,text:z.getSelections()}),Qe.type=="cut"&&z.replaceSelection("",null,"cut");else if(z.options.lineWiseCopyCut){var ut=Nu(z);yu({lineWise:!0,text:ut.text}),Qe.type=="cut"&&z.operation(function(){z.setSelections(ut.ranges,0,Ee),z.replaceSelection("",null,"cut")})}else return;if(Qe.clipboardData){Qe.clipboardData.clearData();var pt=es.text.join(`
|
|
|
`);if(Qe.clipboardData.setData("Text",pt),Qe.clipboardData.getData("Text")==pt){Qe.preventDefault();return}}var nn=Zu(),hn=nn.firstChild;z.display.lineSpace.insertBefore(nn,z.display.lineSpace.firstChild),hn.value=es.text.join(`
|
|
|
`);var Nn=document.activeElement;$e(hn),setTimeout(function(){z.display.lineSpace.removeChild(nn),Nn.focus(),Nn==ie&&ee.showPrimarySelection()},50)}}Vt(ie,"copy",Ne),Vt(ie,"cut",Ne)},ba.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},ba.prototype.prepareSelection=function(){var a=hu(this.cm,!1);return a.focus=document.activeElement==this.div,a},ba.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},ba.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ba.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,ee=y.doc.sel.primary(),z=ee.from(),ie=ee.to();if(y.display.viewTo==y.display.viewFrom||z.line>=y.display.viewTo||ie.line<y.display.viewFrom){a.removeAllRanges();return}var he=bu(y,a.anchorNode,a.anchorOffset),Ne=bu(y,a.focusNode,a.focusOffset);if(!(he&&!he.bad&&Ne&&!Ne.bad&&Ht(dn(he,Ne),z)==0&&Ht(tn(he,Ne),ie)==0)){var Qe=y.display.view,ut=z.line>=y.display.viewFrom&&Wu(y,z)||{node:Qe[0].measure.map[2],offset:0},pt=ie.line<y.display.viewTo&&Wu(y,ie);if(!pt){var nn=Qe[Qe.length-1].measure,hn=nn.maps?nn.maps[nn.maps.length-1]:nn.map;pt={node:hn[hn.length-1],offset:hn[hn.length-2]-hn[hn.length-3]}}if(!ut||!pt){a.removeAllRanges();return}var Nn=a.rangeCount&&a.getRangeAt(0),On;try{On=Se(ut.node,ut.offset,pt.offset,pt.node)}catch(pr){}On&&(!b&&y.state.focused?(a.collapse(ut.node,ut.offset),On.collapsed||(a.removeAllRanges(),a.addRange(On))):(a.removeAllRanges(),a.addRange(On)),Nn&&a.anchorNode==null?a.addRange(Nn):b&&this.startGracePeriod()),this.rememberSelection()}},ba.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},ba.prototype.showMultipleSelections=function(a){ke(this.cm.display.cursorDiv,a.cursors),ke(this.cm.display.selectionDiv,a.selection)},ba.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},ba.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return qe(this.div,y)},ba.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ba.prototype.blur=function(){this.div.blur()},ba.prototype.getField=function(){return this.div},ba.prototype.supportsTouch=function(){return!0},ba.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():ii(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},ba.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},ba.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(Me&&xe&&this.cm.display.gutterSpecs.length&&Yu(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ee=bu(y,a.anchorNode,a.anchorOffset),z=bu(y,a.focusNode,a.focusOffset);ee&&z&&ii(y,function(){ci(y.doc,Hn(ee,z),Ee),(ee.bad||z.bad)&&(y.curOp.selectionChanged=!0)})}}},ba.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,ee=a.doc.sel.primary(),z=ee.from(),ie=ee.to();if(z.ch==0&&z.line>a.firstLine()&&(z=At(z.line-1,En(a.doc,z.line-1).length)),ie.ch==En(a.doc,ie.line).text.length&&ie.line<a.lastLine()&&(ie=At(ie.line+1,0)),z.line<y.viewFrom||ie.line>y.viewTo-1)return!1;var he,Ne,Qe;z.line==y.viewFrom||(he=kl(a,z.line))==0?(Ne=Lt(y.view[0].line),Qe=y.view[0].node):(Ne=Lt(y.view[he].line),Qe=y.view[he-1].node.nextSibling);var ut=kl(a,ie.line),pt,nn;if(ut==y.view.length-1?(pt=y.viewTo-1,nn=y.lineDiv.lastChild):(pt=Lt(y.view[ut+1].line)-1,nn=y.view[ut+1].node.previousSibling),!Qe)return!1;for(var hn=a.doc.splitLines(Gu(a,Qe,nn,Ne,pt)),Nn=kn(a.doc,At(Ne,0),At(pt,En(a.doc,pt).text.length));hn.length>1&&Nn.length>1;)if(ft(hn)==ft(Nn))hn.pop(),Nn.pop(),pt--;else if(hn[0]==Nn[0])hn.shift(),Nn.shift(),Ne++;else break;for(var On=0,pr=0,Lr=hn[0],ti=Nn[0],hi=Math.min(Lr.length,ti.length);On<hi&&Lr.charCodeAt(On)==ti.charCodeAt(On);)++On;for(var Oi=ft(hn),mi=ft(Nn),Wi=Math.min(Oi.length-(hn.length==1?On:0),mi.length-(Nn.length==1?On:0));pr<Wi&&Oi.charCodeAt(Oi.length-pr-1)==mi.charCodeAt(mi.length-pr-1);)++pr;if(hn.length==1&&Nn.length==1&&Ne==z.line)for(;On&&On>z.ch&&Oi.charCodeAt(Oi.length-pr-1)==mi.charCodeAt(mi.length-pr-1);)On--,pr++;hn[hn.length-1]=Oi.slice(0,Oi.length-pr).replace(/^\u200b+/,""),hn[0]=hn[0].slice(On).replace(/\u200b+$/,"");var mo=At(Ne,On),io=At(pt,Nn.length?ft(Nn).length-pr:0);if(hn.length>1||hn[0]||Ht(mo,io))return Po(a.doc,hn,mo,io,"+input"),!0},ba.prototype.ensurePolled=function(){this.forceCompositionEnd()},ba.prototype.reset=function(){this.forceCompositionEnd()},ba.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ba.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},ba.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&ii(this.cm,function(){return Ga(a.cm)})},ba.prototype.setUneditable=function(a){a.contentEditable="false"},ba.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Gr(this.cm,Fu)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},ba.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},ba.prototype.onContextMenu=function(){},ba.prototype.resetPosition=function(){},ba.prototype.needsContentAttribute=!0;function Wu(a,y){var ee=il(a,y.line);if(!ee||ee.hidden)return null;var z=En(a.doc,y.line),ie=Vl(ee,z,y.line),he=ot(z,a.doc.direction),Ne="left";if(he){var Qe=dt(he,y.ch);Ne=Qe%2?"right":"left"}var ut=Yl(ie.map,y.ch,Ne);return ut.offset=ut.collapse=="right"?ut.end:ut.start,ut}function Yu(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function $s(a,y){return y&&(a.bad=!0),a}function Gu(a,y,ee,z,ie){var he="",Ne=!1,Qe=a.doc.lineSeparator(),ut=!1;function pt(On){return function(pr){return pr.id==On}}function nn(){Ne&&(he+=Qe,ut&&(he+=Qe),Ne=ut=!1)}function hn(On){On&&(nn(),he+=On)}function Nn(On){if(On.nodeType==1){var pr=On.getAttribute("cm-text");if(pr){hn(pr);return}var Lr=On.getAttribute("cm-marker"),ti;if(Lr){var hi=a.findMarks(At(z,0),At(ie+1,0),pt(+Lr));hi.length&&(ti=hi[0].find(0))&&hn(kn(a.doc,ti.from,ti.to).join(Qe));return}if(On.getAttribute("contenteditable")=="false")return;var Oi=/^(pre|div|p|li|table|br)$/i.test(On.nodeName);if(!/^br$/i.test(On.nodeName)&&On.textContent.length==0)return;Oi&&nn();for(var mi=0;mi<On.childNodes.length;mi++)Nn(On.childNodes[mi]);/^(pre|p)$/i.test(On.nodeName)&&(ut=!0),Oi&&(Ne=!0)}else On.nodeType==3&&hn(On.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Nn(y),y!=ee;)y=y.nextSibling,ut=!1;return he}function bu(a,y,ee){var z;if(y==a.display.lineDiv){if(z=a.display.lineDiv.childNodes[ee],!z)return $s(a.clipPos(At(a.display.viewTo-1)),!0);y=null,ee=0}else for(z=y;;z=z.parentNode){if(!z||z==a.display.lineDiv)return null;if(z.parentNode&&z.parentNode==a.display.lineDiv)break}for(var ie=0;ie<a.display.view.length;ie++){var he=a.display.view[ie];if(he.node==z)return $u(he,y,ee)}}function $u(a,y,ee){var z=a.text.firstChild,ie=!1;if(!y||!qe(z,y))return $s(At(Lt(a.line),0),!0);if(y==z&&(ie=!0,y=z.childNodes[ee],ee=0,!y)){var he=a.rest?ft(a.rest):a.line;return $s(At(Lt(he),he.text.length),ie)}var Ne=y.nodeType==3?y:null,Qe=y;for(!Ne&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(Ne=y.firstChild,ee&&(ee=Ne.nodeValue.length));Qe.parentNode!=z;)Qe=Qe.parentNode;var ut=a.measure,pt=ut.maps;function nn(ti,hi,Oi){for(var mi=-1;mi<(pt?pt.length:0);mi++)for(var Wi=mi<0?ut.map:pt[mi],mo=0;mo<Wi.length;mo+=3){var io=Wi[mo+2];if(io==ti||io==hi){var Vo=Lt(mi<0?a.line:a.rest[mi]),wa=Wi[mo]+Oi;return(Oi<0||io!=ti)&&(wa=Wi[mo+(Oi?1:0)]),At(Vo,wa)}}}var hn=nn(Ne,Qe,ee);if(hn)return $s(hn,ie);for(var Nn=Qe.nextSibling,On=Ne?Ne.nodeValue.length-ee:0;Nn;Nn=Nn.nextSibling){if(hn=nn(Nn,Nn.firstChild,0),hn)return $s(At(hn.line,hn.ch-On),ie);On+=Nn.textContent.length}for(var pr=Qe.previousSibling,Lr=ee;pr;pr=pr.previousSibling){if(hn=nn(pr,pr.firstChild,-1),hn)return $s(At(hn.line,hn.ch+Lr),ie);Lr+=pr.textContent.length}}var _a=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new se,this.hasSelection=!1,this.composing=null};_a.prototype.init=function(a){var y=this,ee=this,z=this.cm;this.createField(a);var ie=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),we&&(ie.style.width="0px"),Vt(ie,"input",function(){De&&ve>=9&&y.hasSelection&&(y.hasSelection=null),ee.poll()}),Vt(ie,"paste",function(Ne){Rt(z,Ne)||ku(Ne,z)||(z.state.pasteIncoming=+new Date,ee.fastPoll())});function he(Ne){if(!Rt(z,Ne)){if(z.somethingSelected())yu({lineWise:!1,text:z.getSelections()});else if(z.options.lineWiseCopyCut){var Qe=Nu(z);yu({lineWise:!0,text:Qe.text}),Ne.type=="cut"?z.setSelections(Qe.ranges,null,Ee):(ee.prevInput="",ie.value=Qe.text.join(`
|
|
|
`),$e(ie))}else return;Ne.type=="cut"&&(z.state.cutIncoming=+new Date)}}Vt(ie,"cut",he),Vt(ie,"copy",he),Vt(a.scroller,"paste",function(Ne){if(!(Wa(a,Ne)||Rt(z,Ne))){if(!ie.dispatchEvent){z.state.pasteIncoming=+new Date,ee.focus();return}var Qe=new Event("paste");Qe.clipboardData=Ne.clipboardData,ie.dispatchEvent(Qe)}}),Vt(a.lineSpace,"selectstart",function(Ne){Wa(a,Ne)||Tt(Ne)}),Vt(ie,"compositionstart",function(){var Ne=z.getCursor("from");ee.composing&&ee.composing.range.clear(),ee.composing={start:Ne,range:z.markText(Ne,z.getCursor("to"),{className:"CodeMirror-composing"})}}),Vt(ie,"compositionend",function(){ee.composing&&(ee.poll(),ee.composing.range.clear(),ee.composing=null)})},_a.prototype.createField=function(a){this.wrapper=Zu(),this.textarea=this.wrapper.firstChild},_a.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},_a.prototype.prepareSelection=function(){var a=this.cm,y=a.display,ee=a.doc,z=hu(a);if(a.options.moveInputWithCursor){var ie=Ha(a,ee.sel.primary().head,"div"),he=y.wrapper.getBoundingClientRect(),Ne=y.lineDiv.getBoundingClientRect();z.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ie.top+Ne.top-he.top)),z.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ie.left+Ne.left-he.left))}return z},_a.prototype.showSelection=function(a){var y=this.cm,ee=y.display;ke(ee.cursorDiv,a.cursors),ke(ee.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},_a.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var ee=y.getSelection();this.textarea.value=ee,y.state.focused&&$e(this.textarea),De&&ve>=9&&(this.hasSelection=ee)}else a||(this.prevInput=this.textarea.value="",De&&ve>=9&&(this.hasSelection=null))}},_a.prototype.getField=function(){return this.textarea},_a.prototype.supportsTouch=function(){return!1},_a.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ge||pe()!=this.textarea))try{this.textarea.focus()}catch(a){}},_a.prototype.blur=function(){this.textarea.blur()},_a.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},_a.prototype.receivedFocus=function(){this.slowPoll()},_a.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},_a.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function ee(){var z=y.poll();!z&&!a?(a=!0,y.polling.set(60,ee)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,ee)},_a.prototype.poll=function(){var a=this,y=this.cm,ee=this.textarea,z=this.prevInput;if(this.contextMenuPending||!y.state.focused||Un(ee)&&!z&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var ie=ee.value;if(ie==z&&!y.somethingSelected())return!1;if(De&&ve>=9&&this.hasSelection===ie||Ae&&/[\uf700-\uf7ff]/.test(ie))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var he=ie.charCodeAt(0);if(he==8203&&!z&&(z="\u200B"),he==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ne=0,Qe=Math.min(z.length,ie.length);Ne<Qe&&z.charCodeAt(Ne)==ie.charCodeAt(Ne);)++Ne;return ii(y,function(){Fu(y,ie.slice(Ne),z.length-Ne,null,a.composing?"*compose":null),ie.length>1e3||ie.indexOf(`
|
|
|
`)>-1?ee.value=a.prevInput="":a.prevInput=ie,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},_a.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},_a.prototype.onKeyPress=function(){De&&ve>=9&&(this.hasSelection=null),this.fastPoll()},_a.prototype.onContextMenu=function(a){var y=this,ee=y.cm,z=ee.display,ie=y.textarea;y.contextMenuPending&&y.contextMenuPending();var he=zl(ee,a),Ne=z.scroller.scrollTop;if(!he||ue)return;var Qe=ee.options.resetSelectionOnContextMenu;Qe&&ee.doc.sel.contains(he)==-1&&Gr(ee,ci)(ee.doc,Hn(he),Ee);var ut=ie.style.cssText,pt=y.wrapper.style.cssText,nn=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-nn.top-5)+"px; left: "+(a.clientX-nn.left-5)+`px;
|
|
|
z-index: 1000; background: `+(De?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var hn;ye&&(hn=window.scrollY),z.input.focus(),ye&&window.scrollTo(null,hn),z.input.reset(),ee.somethingSelected()||(ie.value=y.prevInput=" "),y.contextMenuPending=On,z.selForContextMenu=ee.doc.sel,clearTimeout(z.detectingSelectAll);function Nn(){if(ie.selectionStart!=null){var Lr=ee.somethingSelected(),ti="\u200B"+(Lr?ie.value:"");ie.value="\u21DA",ie.value=ti,y.prevInput=Lr?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=ti.length,z.selForContextMenu=ee.doc.sel}}function On(){if(y.contextMenuPending==On&&(y.contextMenuPending=!1,y.wrapper.style.cssText=pt,ie.style.cssText=ut,De&&ve<9&&z.scrollbars.setScrollTop(z.scroller.scrollTop=Ne),ie.selectionStart!=null)){(!De||De&&ve<9)&&Nn();var Lr=0,ti=function(){z.selForContextMenu==ee.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&y.prevInput=="\u200B"?Gr(ee,Ui)(ee):Lr++<10?z.detectingSelectAll=setTimeout(ti,500):(z.selForContextMenu=null,z.input.reset())};z.detectingSelectAll=setTimeout(ti,200)}}if(De&&ve>=9&&Nn(),Oe){vt(a);var pr=function(){un(window,"mouseup",pr),setTimeout(On,20)};Vt(window,"mouseup",pr)}else setTimeout(On,50)},_a.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},_a.prototype.setUneditable=function(){},_a.prototype.needsContentAttribute=!1;function Xu(a,y){if(y=y?bt(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var ee=pe();y.autofocus=ee==a||a.getAttribute("autofocus")!=null&&ee==document.body}function z(){a.value=Qe.getValue()}var ie;if(a.form&&(Vt(a.form,"submit",z),!y.leaveSubmitMethodAlone)){var he=a.form;ie=he.submit;try{var Ne=he.submit=function(){z(),he.submit=ie,he.submit(),he.submit=Ne}}catch(ut){}}y.finishInit=function(ut){ut.save=z,ut.getTextArea=function(){return a},ut.toTextArea=function(){ut.toTextArea=isNaN,z(),a.parentNode.removeChild(ut.getWrapperElement()),a.style.display="",a.form&&(un(a.form,"submit",z),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ie))}},a.style.display="none";var Qe=Ta(function(ut){return a.parentNode.insertBefore(ut,a.nextSibling)},y);return Qe}function Qu(a){a.off=un,a.on=Vt,a.wheelEventPixels=Fn,a.Doc=Pi,a.splitLines=Bn,a.countColumn=Ze,a.findColumn=xt,a.isWordChar=x,a.Pass=lt,a.signal=$t,a.Line=Bo,a.changeEnd=vr,a.scrollbarModel=kr,a.Pos=At,a.cmpPos=Ht,a.modes=en,a.mimeModes=Jt,a.resolveMode=Mn,a.getMode=Yn,a.modeExtensions=Wn,a.extendMode=In,a.copyState=ar,a.startState=Rr,a.innerMode=tr,a.commands=as,a.keyMap=Ua,a.keyName=ms,a.isModifierKey=qs,a.lookupKey=As,a.normalizeKeyMap=ll,a.StringStream=Ir,a.SharedTextMarker=ua,a.TextMarker=$a,a.LineWidget=Uo,a.e_preventDefault=Tt,a.e_stopPropagation=on,a.e_stop=vt,a.addClass=be,a.contains=qe,a.rmClass=ze,a.keyNames=_i}ju(Ta),_u(Ta);var Ju="iter insert remove copy getEditor constructor".split(" ");for(var Cu in Pi.prototype)Pi.prototype.hasOwnProperty(Cu)&&Be(Ju,Cu)<0&&(Ta.prototype[Cu]=function(a){return function(){return a.apply(this.doc,arguments)}}(Pi.prototype[Cu]));return Et(Pi),Ta.inputStyles={textarea:_a,contenteditable:ba},Ta.defineMode=function(a){!Ta.defaults.mode&&a!="null"&&(Ta.defaults.mode=a),Sn.apply(this,arguments)},Ta.defineMIME=yn,Ta.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ta.defineMIME("text/plain","null"),Ta.defineExtension=function(a,y){Ta.prototype[a]=y},Ta.defineDocExtension=function(a,y){Pi.prototype[a]=y},Ta.fromTextArea=Xu,Qu(Ta),Ta.version="5.58.2",Ta})},25419:function(wn,zt,E){(function(b){b(E(89780),E(15525),E(98101))})(function(b){"use strict";b.defineMode("markdown",function(We,de){var Ke=b.getMode(We,"text/html"),De=Ke.name=="null";function ve(Ze){if(b.findModeByName){var se=b.findModeByName(Ze);se&&(Ze=se.mime||se.mimes[0])}var Be=b.getMode(We,Ze);return Be.name=="null"?null:Be}de.highlightFormatting===void 0&&(de.highlightFormatting=!1),de.maxBlockquoteDepth===void 0&&(de.maxBlockquoteDepth=0),de.taskLists===void 0&&(de.taskLists=!1),de.strikethrough===void 0&&(de.strikethrough=!1),de.emoji===void 0&&(de.emoji=!1),de.fencedCodeBlockHighlighting===void 0&&(de.fencedCodeBlockHighlighting=!0),de.fencedCodeBlockDefaultMode===void 0&&(de.fencedCodeBlockDefaultMode="text/plain"),de.xml===void 0&&(de.xml=!0),de.tokenTypeOverrides===void 0&&(de.tokenTypeOverrides={});var ye={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 fe in ye)ye.hasOwnProperty(fe)&&de.tokenTypeOverrides[fe]&&(ye[fe]=de.tokenTypeOverrides[fe]);var xe=/^([*\-_])(?:\s*\1){2,}\s*$/,ue=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Fe=/^\[(x| )\](?=\s)/i,Ce=de.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Te=/^ {0,3}(?:\={1,}|-{2,})\s*$/,we=/^[^#!\[\]*_\\<>` "'(~:]+/,Me=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ge=/^\s*\[[^\]]+?\]:.*$/,Ae=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Pe=" ";function Re(Ze,se,Be){return se.f=se.inline=Be,Be(Ze,se)}function tt(Ze,se,Be){return se.f=se.block=Be,Be(Ze,se)}function ce(Ze){return!Ze||!/\S/.test(Ze.string)}function Oe(Ze){if(Ze.linkTitle=!1,Ze.linkHref=!1,Ze.linkText=!1,Ze.em=!1,Ze.strong=!1,Ze.strikethrough=!1,Ze.quote=0,Ze.indentedCode=!1,Ze.f==ze){var se=De;if(!se){var Be=b.innerMode(Ke,Ze.htmlState);se=Be.mode.name=="xml"&&Be.state.tagStart===null&&!Be.state.context&&Be.state.tokenize.isInText}se&&(Ze.f=et,Ze.block=Ue,Ze.htmlState=null)}return Ze.trailingSpace=0,Ze.trailingSpaceNewLine=!1,Ze.prevLine=Ze.thisLine,Ze.thisLine={stream:null},null}function Ue(Ze,se){var Be=Ze.column()===se.indentation,Je=ce(se.prevLine.stream),lt=se.indentedCode,Ee=se.prevLine.hr,je=se.list!==!1,rt=(se.listStack[se.listStack.length-1]||0)+3;se.indentedCode=!1;var xt=se.indentation;if(se.indentationDiff===null&&(se.indentationDiff=se.indentation,je)){for(se.list=null;xt<se.listStack[se.listStack.length-1];)se.listStack.pop(),se.listStack.length?se.indentation=se.listStack[se.listStack.length-1]:se.list=!1;se.list!==!1&&(se.indentationDiff=xt-se.listStack[se.listStack.length-1])}var ct=!Je&&!Ee&&!se.prevLine.header&&(!je||!lt)&&!se.prevLine.fencedCodeEnd,wt=(se.list===!1||Ee||Je)&&se.indentation<=rt&&Ze.match(xe),ft=null;if(se.indentationDiff>=4&&(lt||se.prevLine.fencedCodeEnd||se.prevLine.header||Je))return Ze.skipToEnd(),se.indentedCode=!0,ye.code;if(Ze.eatSpace())return null;if(Be&&se.indentation<=rt&&(ft=Ze.match(Ce))&&ft[1].length<=6)return se.quote=0,se.header=ft[1].length,se.thisLine.header=!0,de.highlightFormatting&&(se.formatting="header"),se.f=se.inline,ke(se);if(se.indentation<=rt&&Ze.eat(">"))return se.quote=Be?1:se.quote+1,de.highlightFormatting&&(se.formatting="quote"),Ze.eatSpace(),ke(se);if(!wt&&!se.setext&&Be&&se.indentation<=rt&&(ft=Ze.match(ue))){var It=ft[1]?"ol":"ul";return se.indentation=xt+Ze.current().length,se.list=!0,se.quote=0,se.listStack.push(se.indentation),se.em=!1,se.strong=!1,se.code=!1,se.strikethrough=!1,de.taskLists&&Ze.match(Fe,!1)&&(se.taskList=!0),se.f=se.inline,de.highlightFormatting&&(se.formatting=["list","list-"+It]),ke(se)}else{if(Be&&se.indentation<=rt&&(ft=Ze.match(Me,!0)))return se.quote=0,se.fencedEndRE=new RegExp(ft[1]+"+ *$"),se.localMode=de.fencedCodeBlockHighlighting&&ve(ft[2]||de.fencedCodeBlockDefaultMode),se.localMode&&(se.localState=b.startState(se.localMode)),se.f=se.block=nt,de.highlightFormatting&&(se.formatting="code-block"),se.code=-1,ke(se);if(se.setext||(!ct||!je)&&!se.quote&&se.list===!1&&!se.code&&!wt&&!ge.test(Ze.string)&&(ft=Ze.lookAhead(1))&&(ft=ft.match(Te)))return se.setext?(se.header=se.setext,se.setext=0,Ze.skipToEnd(),de.highlightFormatting&&(se.formatting="header")):(se.header=ft[0].charAt(0)=="="?1:2,se.setext=se.header),se.thisLine.header=!0,se.f=se.inline,ke(se);if(wt)return Ze.skipToEnd(),se.hr=!0,se.thisLine.hr=!0,ye.hr;if(Ze.peek()==="[")return Re(Ze,se,gt)}return Re(Ze,se,se.inline)}function ze(Ze,se){var Be=Ke.token(Ze,se.htmlState);if(!De){var Je=b.innerMode(Ke,se.htmlState);(Je.mode.name=="xml"&&Je.state.tagStart===null&&!Je.state.context&&Je.state.tokenize.isInText||se.md_inside&&Ze.current().indexOf(">")>-1)&&(se.f=et,se.block=Ue,se.htmlState=null)}return Be}function nt(Ze,se){var Be=se.listStack[se.listStack.length-1]||0,Je=se.indentation<Be,lt=Be+3;if(se.fencedEndRE&&se.indentation<=lt&&(Je||Ze.match(se.fencedEndRE))){de.highlightFormatting&&(se.formatting="code-block");var Ee;return Je||(Ee=ke(se)),se.localMode=se.localState=null,se.block=Ue,se.f=et,se.fencedEndRE=null,se.code=0,se.thisLine.fencedCodeEnd=!0,Je?tt(Ze,se,se.block):Ee}else return se.localMode?se.localMode.token(Ze,se.localState):(Ze.skipToEnd(),ye.code)}function ke(Ze){var se=[];if(Ze.formatting){se.push(ye.formatting),typeof Ze.formatting=="string"&&(Ze.formatting=[Ze.formatting]);for(var Be=0;Be<Ze.formatting.length;Be++)se.push(ye.formatting+"-"+Ze.formatting[Be]),Ze.formatting[Be]==="header"&&se.push(ye.formatting+"-"+Ze.formatting[Be]+"-"+Ze.header),Ze.formatting[Be]==="quote"&&(!de.maxBlockquoteDepth||de.maxBlockquoteDepth>=Ze.quote?se.push(ye.formatting+"-"+Ze.formatting[Be]+"-"+Ze.quote):se.push("error"))}if(Ze.taskOpen)return se.push("meta"),se.length?se.join(" "):null;if(Ze.taskClosed)return se.push("property"),se.length?se.join(" "):null;if(Ze.linkHref?se.push(ye.linkHref,"url"):(Ze.strong&&se.push(ye.strong),Ze.em&&se.push(ye.em),Ze.strikethrough&&se.push(ye.strikethrough),Ze.emoji&&se.push(ye.emoji),Ze.linkText&&se.push(ye.linkText),Ze.code&&se.push(ye.code),Ze.image&&se.push(ye.image),Ze.imageAltText&&se.push(ye.imageAltText,"link"),Ze.imageMarker&&se.push(ye.imageMarker)),Ze.header&&se.push(ye.header,ye.header+"-"+Ze.header),Ze.quote&&(se.push(ye.quote),!de.maxBlockquoteDepth||de.maxBlockquoteDepth>=Ze.quote?se.push(ye.quote+"-"+Ze.quote):se.push(ye.quote+"-"+de.maxBlockquoteDepth)),Ze.list!==!1){var Je=(Ze.listStack.length-1)%3;Je?Je===1?se.push(ye.list2):se.push(ye.list3):se.push(ye.list1)}return Ze.trailingSpaceNewLine?se.push("trailing-space-new-line"):Ze.trailingSpace&&se.push("trailing-space-"+(Ze.trailingSpace%2?"a":"b")),se.length?se.join(" "):null}function Ve(Ze,se){if(Ze.match(we,!0))return ke(se)}function et(Ze,se){var Be=se.text(Ze,se);if(typeof Be!="undefined")return Be;if(se.list)return se.list=null,ke(se);if(se.taskList){var Je=Ze.match(Fe,!0)[1]===" ";return Je?se.taskOpen=!0:se.taskClosed=!0,de.highlightFormatting&&(se.formatting="task"),se.taskList=!1,ke(se)}if(se.taskOpen=!1,se.taskClosed=!1,se.header&&Ze.match(/^#+$/,!0))return de.highlightFormatting&&(se.formatting="header"),ke(se);var lt=Ze.next();if(se.linkTitle){se.linkTitle=!1;var Ee=lt;lt==="("&&(Ee=")"),Ee=(Ee+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var je="^\\s*(?:[^"+Ee+"\\\\]+|\\\\\\\\|\\\\.)"+Ee;if(Ze.match(new RegExp(je),!0))return ye.linkHref}if(lt==="`"){var rt=se.formatting;de.highlightFormatting&&(se.formatting="code"),Ze.eatWhile("`");var xt=Ze.current().length;if(se.code==0&&(!se.quote||xt==1))return se.code=xt,ke(se);if(xt==se.code){var ct=ke(se);return se.code=0,ct}else return se.formatting=rt,ke(se)}else if(se.code)return ke(se);if(lt==="\\"&&(Ze.next(),de.highlightFormatting)){var wt=ke(se),ft=ye.formatting+"-escape";return wt?wt+" "+ft:ft}if(lt==="!"&&Ze.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return se.imageMarker=!0,se.image=!0,de.highlightFormatting&&(se.formatting="image"),ke(se);if(lt==="["&&se.imageMarker&&Ze.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return se.imageMarker=!1,se.imageAltText=!0,de.highlightFormatting&&(se.formatting="image"),ke(se);if(lt==="]"&&se.imageAltText){de.highlightFormatting&&(se.formatting="image");var wt=ke(se);return se.imageAltText=!1,se.image=!1,se.inline=se.f=qe,wt}if(lt==="["&&!se.image)return se.linkText&&Ze.match(/^.*?\]/)||(se.linkText=!0,de.highlightFormatting&&(se.formatting="link")),ke(se);if(lt==="]"&&se.linkText){de.highlightFormatting&&(se.formatting="link");var wt=ke(se);return se.linkText=!1,se.inline=se.f=Ze.match(/\(.*?\)| ?\[.*?\]/,!1)?qe:et,wt}if(lt==="<"&&Ze.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){se.f=se.inline=Se,de.highlightFormatting&&(se.formatting="link");var wt=ke(se);return wt?wt+=" ":wt="",wt+ye.linkInline}if(lt==="<"&&Ze.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){se.f=se.inline=Se,de.highlightFormatting&&(se.formatting="link");var wt=ke(se);return wt?wt+=" ":wt="",wt+ye.linkEmail}if(de.xml&<==="<"&&Ze.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var It=Ze.string.indexOf(">",Ze.pos);if(It!=-1){var Dt=Ze.string.substring(Ze.start,It);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Dt)&&(se.md_inside=!0)}return Ze.backUp(1),se.htmlState=b.startState(Ke),tt(Ze,se,ze)}if(de.xml&<==="<"&&Ze.match(/^\/\w*?>/))return se.md_inside=!1,"tag";if(lt==="*"||lt==="_"){for(var oe=1,ae=Ze.pos==1?" ":Ze.string.charAt(Ze.pos-2);oe<3&&Ze.eat(lt);)oe++;var te=Ze.peek()||" ",x=!/\s/.test(te)&&(!Ae.test(te)||/\s/.test(ae)||Ae.test(ae)),re=!/\s/.test(ae)&&(!Ae.test(ae)||/\s/.test(te)||Ae.test(te)),ne=null,le=null;if(oe%2&&(!se.em&&x&&(lt==="*"||!re||Ae.test(ae))?ne=!0:se.em==lt&&re&&(lt==="*"||!x||Ae.test(te))&&(ne=!1)),oe>1&&(!se.strong&&x&&(lt==="*"||!re||Ae.test(ae))?le=!0:se.strong==lt&&re&&(lt==="*"||!x||Ae.test(te))&&(le=!1)),le!=null||ne!=null){de.highlightFormatting&&(se.formatting=ne==null?"strong":le==null?"em":"strong em"),ne===!0&&(se.em=lt),le===!0&&(se.strong=lt);var ct=ke(se);return ne===!1&&(se.em=!1),le===!1&&(se.strong=!1),ct}}else if(lt===" "&&(Ze.eat("*")||Ze.eat("_"))){if(Ze.peek()===" ")return ke(se);Ze.backUp(1)}if(de.strikethrough){if(lt==="~"&&Ze.eatWhile(lt)){if(se.strikethrough){de.highlightFormatting&&(se.formatting="strikethrough");var ct=ke(se);return se.strikethrough=!1,ct}else if(Ze.match(/^[^\s]/,!1))return se.strikethrough=!0,de.highlightFormatting&&(se.formatting="strikethrough"),ke(se)}else if(lt===" "&&Ze.match(/^~~/,!0)){if(Ze.peek()===" ")return ke(se);Ze.backUp(2)}}if(de.emoji&<===":"&&Ze.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){se.emoji=!0,de.highlightFormatting&&(se.formatting="emoji");var Ie=ke(se);return se.emoji=!1,Ie}return lt===" "&&(Ze.match(/^ +$/,!1)?se.trailingSpace++:se.trailingSpace&&(se.trailingSpaceNewLine=!0)),ke(se)}function Se(Ze,se){var Be=Ze.next();if(Be===">"){se.f=se.inline=et,de.highlightFormatting&&(se.formatting="link");var Je=ke(se);return Je?Je+=" ":Je="",Je+ye.linkInline}return Ze.match(/^[^>]+/,!0),ye.linkInline}function qe(Ze,se){if(Ze.eatSpace())return null;var Be=Ze.next();return Be==="("||Be==="["?(se.f=se.inline=be(Be==="("?")":"]"),de.highlightFormatting&&(se.formatting="link-string"),se.linkHref=!0,ke(se)):"error"}var pe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function be(Ze){return function(se,Be){var Je=se.next();if(Je===Ze){Be.f=Be.inline=et,de.highlightFormatting&&(Be.formatting="link-string");var lt=ke(Be);return Be.linkHref=!1,lt}return se.match(pe[Ze]),Be.linkHref=!0,ke(Be)}}function gt(Ze,se){return Ze.match(/^([^\]\\]|\\.)*\]:/,!1)?(se.f=$e,Ze.next(),de.highlightFormatting&&(se.formatting="link"),se.linkText=!0,ke(se)):Re(Ze,se,et)}function $e(Ze,se){if(Ze.match(/^\]:/,!0)){se.f=se.inline=at,de.highlightFormatting&&(se.formatting="link");var Be=ke(se);return se.linkText=!1,Be}return Ze.match(/^([^\]\\]|\\.)+/,!0),ye.linkText}function at(Ze,se){return Ze.eatSpace()?null:(Ze.match(/^[^\s]+/,!0),Ze.peek()===void 0?se.linkTitle=!0:Ze.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),se.f=se.inline=et,ye.linkHref+" url")}var bt={startState:function(){return{f:Ue,prevLine:{stream:null},thisLine:{stream:null},block:Ue,htmlState:null,indentation:0,inline:et,text:Ve,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(Ze){return{f:Ze.f,prevLine:Ze.prevLine,thisLine:Ze.thisLine,block:Ze.block,htmlState:Ze.htmlState&&b.copyState(Ke,Ze.htmlState),indentation:Ze.indentation,localMode:Ze.localMode,localState:Ze.localMode?b.copyState(Ze.localMode,Ze.localState):null,inline:Ze.inline,text:Ze.text,formatting:!1,linkText:Ze.linkText,linkTitle:Ze.linkTitle,linkHref:Ze.linkHref,code:Ze.code,em:Ze.em,strong:Ze.strong,strikethrough:Ze.strikethrough,emoji:Ze.emoji,header:Ze.header,setext:Ze.setext,hr:Ze.hr,taskList:Ze.taskList,list:Ze.list,listStack:Ze.listStack.slice(0),quote:Ze.quote,indentedCode:Ze.indentedCode,trailingSpace:Ze.trailingSpace,trailingSpaceNewLine:Ze.trailingSpaceNewLine,md_inside:Ze.md_inside,fencedEndRE:Ze.fencedEndRE}},token:function(Ze,se){if(se.formatting=!1,Ze!=se.thisLine.stream){if(se.header=0,se.hr=!1,Ze.match(/^\s*$/,!0))return Oe(se),null;if(se.prevLine=se.thisLine,se.thisLine={stream:Ze},se.taskList=!1,se.trailingSpace=0,se.trailingSpaceNewLine=!1,!se.localState&&(se.f=se.block,se.f!=ze)){var Be=Ze.match(/^\s*/,!0)[0].replace(/\t/g,Pe).length;if(se.indentation=Be,se.indentationDiff=null,Be>0)return null}}return se.f(Ze,se)},innerMode:function(Ze){return Ze.block==ze?{state:Ze.htmlState,mode:Ke}:Ze.localState?{state:Ze.localState,mode:Ze.localMode}:{state:Ze,mode:bt}},indent:function(Ze,se,Be){return Ze.block==ze&&Ke.indent?Ke.indent(Ze.htmlState,se,Be):Ze.localState&&Ze.localMode.indent?Ze.localMode.indent(Ze.localState,se,Be):b.Pass},blankLine:Oe,getType:ke,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return bt},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(wn,zt,E){(function(b){b(E(89780))})(function(b){"use strict";b.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 We=0;We<b.modeInfo.length;We++){var de=b.modeInfo[We];de.mimes&&(de.mime=de.mimes[0])}b.findModeByMIME=function(Ke){Ke=Ke.toLowerCase();for(var De=0;De<b.modeInfo.length;De++){var ve=b.modeInfo[De];if(ve.mime==Ke)return ve;if(ve.mimes){for(var ye=0;ye<ve.mimes.length;ye++)if(ve.mimes[ye]==Ke)return ve}}if(/\+xml$/.test(Ke))return b.findModeByMIME("application/xml");if(/\+json$/.test(Ke))return b.findModeByMIME("application/json")},b.findModeByExtension=function(Ke){Ke=Ke.toLowerCase();for(var De=0;De<b.modeInfo.length;De++){var ve=b.modeInfo[De];if(ve.ext){for(var ye=0;ye<ve.ext.length;ye++)if(ve.ext[ye]==Ke)return ve}}},b.findModeByFileName=function(Ke){for(var De=0;De<b.modeInfo.length;De++){var ve=b.modeInfo[De];if(ve.file&&ve.file.test(Ke))return ve}var ye=Ke.lastIndexOf("."),fe=ye>-1&&Ke.substring(ye+1,Ke.length);if(fe)return b.findModeByExtension(fe)},b.findModeByName=function(Ke){Ke=Ke.toLowerCase();for(var De=0;De<b.modeInfo.length;De++){var ve=b.modeInfo[De];if(ve.name.toLowerCase()==Ke)return ve;if(ve.alias){for(var ye=0;ye<ve.alias.length;ye++)if(ve.alias[ye].toLowerCase()==Ke)return ve}}}})},67549:function(wn,zt,E){(function(b){b(E(89780))})(function(b){"use strict";b.defineMode("stex",function(We,de){"use strict";function Ke(we,Me){we.cmdState.push(Me)}function De(we){return we.cmdState.length>0?we.cmdState[we.cmdState.length-1]:null}function ve(we){var Me=we.cmdState.pop();Me&&Me.closeBracket()}function ye(we){for(var Me=we.cmdState,ge=Me.length-1;ge>=0;ge--){var Ae=Me[ge];if(Ae.name!="DEFAULT")return Ae}return{styleIdentifier:function(){return null}}}function fe(we,Me,ge){return function(){this.name=we,this.bracketNo=0,this.style=Me,this.styles=ge,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=fe("importmodule","tag",["string","builtin"]),xe.documentclass=fe("documentclass","tag",["","atom"]),xe.usepackage=fe("usepackage","tag",["atom"]),xe.begin=fe("begin","tag",["atom"]),xe.end=fe("end","tag",["atom"]),xe.label=fe("label","tag",["atom"]),xe.ref=fe("ref","tag",["atom"]),xe.eqref=fe("eqref","tag",["atom"]),xe.cite=fe("cite","tag",["atom"]),xe.bibitem=fe("bibitem","tag",["atom"]),xe.Bibitem=fe("Bibitem","tag",["atom"]),xe.RBibitem=fe("RBibitem","tag",["atom"]),xe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function ue(we,Me){we.f=Me}function Fe(we,Me){var ge;if(we.match(/^\\[a-zA-Z@]+/)){var Ae=we.current().slice(1);return ge=xe.hasOwnProperty(Ae)?xe[Ae]:xe.DEFAULT,ge=new ge,Ke(Me,ge),ue(Me,Te),ge.style}if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/\\]/))return"tag";if(we.match("\\["))return ue(Me,function(Re,tt){return Ce(Re,tt,"\\]")}),"keyword";if(we.match("\\("))return ue(Me,function(Re,tt){return Ce(Re,tt,"\\)")}),"keyword";if(we.match("$$"))return ue(Me,function(Re,tt){return Ce(Re,tt,"$$")}),"keyword";if(we.match("$"))return ue(Me,function(Re,tt){return Ce(Re,tt,"$")}),"keyword";var Pe=we.next();if(Pe=="%")return we.skipToEnd(),"comment";if(Pe=="}"||Pe=="]"){if(ge=De(Me),ge)ge.closeBracket(Pe),ue(Me,Te);else return"error";return"bracket"}else return Pe=="{"||Pe=="["?(ge=xe.DEFAULT,ge=new ge,Ke(Me,ge),"bracket"):/\d/.test(Pe)?(we.eatWhile(/[\w.%]/),"atom"):(we.eatWhile(/[\w\-_]/),ge=ye(Me),ge.name=="begin"&&(ge.argument=we.current()),ge.styleIdentifier())}function Ce(we,Me,ge){if(we.eatSpace())return null;if(ge&&we.match(ge))return ue(Me,Fe),"keyword";if(we.match(/^\\[a-zA-Z@]+/))return"tag";if(we.match(/^[a-zA-Z]+/))return"variable-2";if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/]/)||we.match(/^[\^_&]/))return"tag";if(we.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(we.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ae=we.next();return Ae=="{"||Ae=="}"||Ae=="["||Ae=="]"||Ae=="("||Ae==")"?"bracket":Ae=="%"?(we.skipToEnd(),"comment"):"error"}function Te(we,Me){var ge=we.peek(),Ae;return ge=="{"||ge=="["?(Ae=De(Me),Ae.openBracket(ge),we.eat(ge),ue(Me,Fe),"bracket"):/[ \t\r]/.test(ge)?(we.eat(ge),null):(ue(Me,Fe),ve(Me),Fe(we,Me))}return{startState:function(){var we=de.inMathMode?function(Me,ge){return Ce(Me,ge)}:Fe;return{cmdState:[],f:we}},copyState:function(we){return{cmdState:we.cmdState.slice(),f:we.f}},token:function(we,Me){return Me.f(we,Me)},blankLine:function(we){we.f=Fe,we.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(wn,zt,E){(function(b){b(E(89780))})(function(b){"use strict";var We={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},de={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(Ke,De){var ve=Ke.indentUnit,ye={},fe=De.htmlMode?We:de;for(var xe in fe)ye[xe]=fe[xe];for(var xe in De)ye[xe]=De[xe];var ue,Fe;function Ce(Se,qe){function pe($e){return qe.tokenize=$e,$e(Se,qe)}var be=Se.next();if(be=="<")return Se.eat("!")?Se.eat("[")?Se.match("CDATA[")?pe(Me("atom","]]>")):null:Se.match("--")?pe(Me("comment","-->")):Se.match("DOCTYPE",!0,!0)?(Se.eatWhile(/[\w\._\-]/),pe(ge(1))):null:Se.eat("?")?(Se.eatWhile(/[\w\._\-]/),qe.tokenize=Me("meta","?>"),"meta"):(ue=Se.eat("/")?"closeTag":"openTag",qe.tokenize=Te,"tag bracket");if(be=="&"){var gt;return Se.eat("#")?Se.eat("x")?gt=Se.eatWhile(/[a-fA-F\d]/)&&Se.eat(";"):gt=Se.eatWhile(/[\d]/)&&Se.eat(";"):gt=Se.eatWhile(/[\w\.\-:]/)&&Se.eat(";"),gt?"atom":"error"}else return Se.eatWhile(/[^&<]/),null}Ce.isInText=!0;function Te(Se,qe){var pe=Se.next();if(pe==">"||pe=="/"&&Se.eat(">"))return qe.tokenize=Ce,ue=pe==">"?"endTag":"selfcloseTag","tag bracket";if(pe=="=")return ue="equals",null;if(pe=="<"){qe.tokenize=Ce,qe.state=tt,qe.tagName=qe.tagStart=null;var be=qe.tokenize(Se,qe);return be?be+" tag error":"tag error"}else return/[\'\"]/.test(pe)?(qe.tokenize=we(pe),qe.stringStartCol=Se.column(),qe.tokenize(Se,qe)):(Se.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function we(Se){var qe=function(pe,be){for(;!pe.eol();)if(pe.next()==Se){be.tokenize=Te;break}return"string"};return qe.isInAttribute=!0,qe}function Me(Se,qe){return function(pe,be){for(;!pe.eol();){if(pe.match(qe)){be.tokenize=Ce;break}pe.next()}return Se}}function ge(Se){return function(qe,pe){for(var be;(be=qe.next())!=null;){if(be=="<")return pe.tokenize=ge(Se+1),pe.tokenize(qe,pe);if(be==">")if(Se==1){pe.tokenize=Ce;break}else return pe.tokenize=ge(Se-1),pe.tokenize(qe,pe)}return"meta"}}function Ae(Se,qe,pe){this.prev=Se.context,this.tagName=qe,this.indent=Se.indented,this.startOfLine=pe,(ye.doNotIndent.hasOwnProperty(qe)||Se.context&&Se.context.noIndent)&&(this.noIndent=!0)}function Pe(Se){Se.context&&(Se.context=Se.context.prev)}function Re(Se,qe){for(var pe;;){if(!Se.context||(pe=Se.context.tagName,!ye.contextGrabbers.hasOwnProperty(pe)||!ye.contextGrabbers[pe].hasOwnProperty(qe)))return;Pe(Se)}}function tt(Se,qe,pe){return Se=="openTag"?(pe.tagStart=qe.column(),ce):Se=="closeTag"?Oe:tt}function ce(Se,qe,pe){return Se=="word"?(pe.tagName=qe.current(),Fe="tag",nt):ye.allowMissingTagName&&Se=="endTag"?(Fe="tag bracket",nt(Se,qe,pe)):(Fe="error",ce)}function Oe(Se,qe,pe){if(Se=="word"){var be=qe.current();return pe.context&&pe.context.tagName!=be&&ye.implicitlyClosed.hasOwnProperty(pe.context.tagName)&&Pe(pe),pe.context&&pe.context.tagName==be||ye.matchClosing===!1?(Fe="tag",Ue):(Fe="tag error",ze)}else return ye.allowMissingTagName&&Se=="endTag"?(Fe="tag bracket",Ue(Se,qe,pe)):(Fe="error",ze)}function Ue(Se,qe,pe){return Se!="endTag"?(Fe="error",Ue):(Pe(pe),tt)}function ze(Se,qe,pe){return Fe="error",Ue(Se,qe,pe)}function nt(Se,qe,pe){if(Se=="word")return Fe="attribute",ke;if(Se=="endTag"||Se=="selfcloseTag"){var be=pe.tagName,gt=pe.tagStart;return pe.tagName=pe.tagStart=null,Se=="selfcloseTag"||ye.autoSelfClosers.hasOwnProperty(be)?Re(pe,be):(Re(pe,be),pe.context=new Ae(pe,be,gt==pe.indented)),tt}return Fe="error",nt}function ke(Se,qe,pe){return Se=="equals"?Ve:(ye.allowMissing||(Fe="error"),nt(Se,qe,pe))}function Ve(Se,qe,pe){return Se=="string"?et:Se=="word"&&ye.allowUnquoted?(Fe="string",nt):(Fe="error",nt(Se,qe,pe))}function et(Se,qe,pe){return Se=="string"?et:nt(Se,qe,pe)}return{startState:function(Se){var qe={tokenize:Ce,state:tt,indented:Se||0,tagName:null,tagStart:null,context:null};return Se!=null&&(qe.baseIndent=Se),qe},token:function(Se,qe){if(!qe.tagName&&Se.sol()&&(qe.indented=Se.indentation()),Se.eatSpace())return null;ue=null;var pe=qe.tokenize(Se,qe);return(pe||ue)&&pe!="comment"&&(Fe=null,qe.state=qe.state(ue||pe,Se,qe),Fe&&(pe=Fe=="error"?pe+" error":Fe)),pe},indent:function(Se,qe,pe){var be=Se.context;if(Se.tokenize.isInAttribute)return Se.tagStart==Se.indented?Se.stringStartCol+1:Se.indented+ve;if(be&&be.noIndent)return b.Pass;if(Se.tokenize!=Te&&Se.tokenize!=Ce)return pe?pe.match(/^(\s*)/)[0].length:0;if(Se.tagName)return ye.multilineTagIndentPastTag!==!1?Se.tagStart+Se.tagName.length+2:Se.tagStart+ve*(ye.multilineTagIndentFactor||1);if(ye.alignCDATA&&/<!\[CDATA\[/.test(qe))return 0;var gt=qe&&/^<(\/)?([\w_:\.-]*)/.exec(qe);if(gt&>[1])for(;be;)if(be.tagName==gt[2]){be=be.prev;break}else if(ye.implicitlyClosed.hasOwnProperty(be.tagName))be=be.prev;else break;else if(gt)for(;be;){var $e=ye.contextGrabbers[be.tagName];if($e&&$e.hasOwnProperty(gt[2]))be=be.prev;else break}for(;be&&be.prev&&!be.startOfLine;)be=be.prev;return be?be.indent+ve:Se.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ye.htmlMode?"html":"xml",helperType:ye.htmlMode?"html":"xml",skipAttribute:function(Se){Se.state==Ve&&(Se.state=nt)},xmlCurrentTag:function(Se){return Se.tagName?{name:Se.tagName,close:Se.type=="closeTag"}:null},xmlCurrentContext:function(Se){for(var qe=[],pe=Se.context;pe;pe=pe.prev)pe.tagName&&qe.push(pe.tagName);return qe.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},67467:function(wn,zt){zt.read=function(E,b,We,de,Ke){var De,ve,ye=Ke*8-de-1,fe=(1<<ye)-1,xe=fe>>1,ue=-7,Fe=We?Ke-1:0,Ce=We?-1:1,Te=E[b+Fe];for(Fe+=Ce,De=Te&(1<<-ue)-1,Te>>=-ue,ue+=ye;ue>0;De=De*256+E[b+Fe],Fe+=Ce,ue-=8);for(ve=De&(1<<-ue)-1,De>>=-ue,ue+=de;ue>0;ve=ve*256+E[b+Fe],Fe+=Ce,ue-=8);if(De===0)De=1-xe;else{if(De===fe)return ve?NaN:(Te?-1:1)*(1/0);ve=ve+Math.pow(2,de),De=De-xe}return(Te?-1:1)*ve*Math.pow(2,De-de)},zt.write=function(E,b,We,de,Ke,De){var ve,ye,fe,xe=De*8-Ke-1,ue=(1<<xe)-1,Fe=ue>>1,Ce=Ke===23?Math.pow(2,-24)-Math.pow(2,-77):0,Te=de?0:De-1,we=de?1:-1,Me=b<0||b===0&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(ye=isNaN(b)?1:0,ve=ue):(ve=Math.floor(Math.log(b)/Math.LN2),b*(fe=Math.pow(2,-ve))<1&&(ve--,fe*=2),ve+Fe>=1?b+=Ce/fe:b+=Ce*Math.pow(2,1-Fe),b*fe>=2&&(ve++,fe/=2),ve+Fe>=ue?(ye=0,ve=ue):ve+Fe>=1?(ye=(b*fe-1)*Math.pow(2,Ke),ve=ve+Fe):(ye=b*Math.pow(2,Fe-1)*Math.pow(2,Ke),ve=0));Ke>=8;E[We+Te]=ye&255,Te+=we,ye/=256,Ke-=8);for(ve=ve<<Ke|ye,xe+=Ke;xe>0;E[We+Te]=ve&255,Te+=we,ve/=256,xe-=8);E[We+Te-we]|=Me*128}},86129:function(wn,zt,E){var b=E(19208).lW,We=E(97671);(function(de){wn.exports=de()})(function(){return function de(Ke,De,ve){function ye(ue,Fe){if(!De[ue]){if(!Ke[ue]){var Ce=void 0;if(!Fe&&Ce)return require(ue,!0);if(fe)return fe(ue,!0);var Te=new Error("Cannot find module '"+ue+"'");throw Te.code="MODULE_NOT_FOUND",Te}var we=De[ue]={exports:{}};Ke[ue][0].call(we.exports,function(Me){var ge=Ke[ue][1][Me];return ye(ge||Me)},we,we.exports,de,Ke,De,ve)}return De[ue].exports}for(var fe=void 0,xe=0;xe<ve.length;xe++)ye(ve[xe]);return ye}({1:[function(de,Ke,De){"use strict";var ve=de("./utils"),ye=de("./support"),fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";De.encode=function(xe){for(var ue,Fe,Ce,Te,we,Me,ge,Ae=[],Pe=0,Re=xe.length,tt=Re,ce=ve.getTypeOf(xe)!=="string";Pe<xe.length;)tt=Re-Pe,Ce=ce?(ue=xe[Pe++],Fe=Pe<Re?xe[Pe++]:0,Pe<Re?xe[Pe++]:0):(ue=xe.charCodeAt(Pe++),Fe=Pe<Re?xe.charCodeAt(Pe++):0,Pe<Re?xe.charCodeAt(Pe++):0),Te=ue>>2,we=(3&ue)<<4|Fe>>4,Me=1<tt?(15&Fe)<<2|Ce>>6:64,ge=2<tt?63&Ce:64,Ae.push(fe.charAt(Te)+fe.charAt(we)+fe.charAt(Me)+fe.charAt(ge));return Ae.join("")},De.decode=function(xe){var ue,Fe,Ce,Te,we,Me,ge=0,Ae=0,Pe="data:";if(xe.substr(0,Pe.length)===Pe)throw new Error("Invalid base64 input, it looks like a data url.");var Re,tt=3*(xe=xe.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(xe.charAt(xe.length-1)===fe.charAt(64)&&tt--,xe.charAt(xe.length-2)===fe.charAt(64)&&tt--,tt%1!=0)throw new Error("Invalid base64 input, bad content length.");for(Re=ye.uint8array?new Uint8Array(0|tt):new Array(0|tt);ge<xe.length;)ue=fe.indexOf(xe.charAt(ge++))<<2|(Te=fe.indexOf(xe.charAt(ge++)))>>4,Fe=(15&Te)<<4|(we=fe.indexOf(xe.charAt(ge++)))>>2,Ce=(3&we)<<6|(Me=fe.indexOf(xe.charAt(ge++))),Re[Ae++]=ue,we!==64&&(Re[Ae++]=Fe),Me!==64&&(Re[Ae++]=Ce);return Re}},{"./support":30,"./utils":32}],2:[function(de,Ke,De){"use strict";var ve=de("./external"),ye=de("./stream/DataWorker"),fe=de("./stream/Crc32Probe"),xe=de("./stream/DataLengthProbe");function ue(Fe,Ce,Te,we,Me){this.compressedSize=Fe,this.uncompressedSize=Ce,this.crc32=Te,this.compression=we,this.compressedContent=Me}ue.prototype={getContentWorker:function(){var Fe=new ye(ve.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new xe("data_length")),Ce=this;return Fe.on("end",function(){if(this.streamInfo.data_length!==Ce.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Fe},getCompressedWorker:function(){return new ye(ve.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},ue.createWorkerFrom=function(Fe,Ce,Te){return Fe.pipe(new fe).pipe(new xe("uncompressedSize")).pipe(Ce.compressWorker(Te)).pipe(new xe("compressedSize")).withStreamInfo("compression",Ce)},Ke.exports=ue},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(de,Ke,De){"use strict";var ve=de("./stream/GenericWorker");De.STORE={magic:"\0\0",compressWorker:function(){return new ve("STORE compression")},uncompressWorker:function(){return new ve("STORE decompression")}},De.DEFLATE=de("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(de,Ke,De){"use strict";var ve=de("./utils"),ye=function(){for(var fe,xe=[],ue=0;ue<256;ue++){fe=ue;for(var Fe=0;Fe<8;Fe++)fe=1&fe?3988292384^fe>>>1:fe>>>1;xe[ue]=fe}return xe}();Ke.exports=function(fe,xe){return fe!==void 0&&fe.length?ve.getTypeOf(fe)!=="string"?function(ue,Fe,Ce,Te){var we=ye,Me=Te+Ce;ue^=-1;for(var ge=Te;ge<Me;ge++)ue=ue>>>8^we[255&(ue^Fe[ge])];return-1^ue}(0|xe,fe,fe.length,0):function(ue,Fe,Ce,Te){var we=ye,Me=Te+Ce;ue^=-1;for(var ge=Te;ge<Me;ge++)ue=ue>>>8^we[255&(ue^Fe.charCodeAt(ge))];return-1^ue}(0|xe,fe,fe.length,0):0}},{"./utils":32}],5:[function(de,Ke,De){"use strict";De.base64=!1,De.binary=!1,De.dir=!1,De.createFolders=!0,De.date=null,De.compression=null,De.compressionOptions=null,De.comment=null,De.unixPermissions=null,De.dosPermissions=null},{}],6:[function(de,Ke,De){"use strict";var ve=null;ve=typeof Promise!="undefined"?Promise:de("lie"),Ke.exports={Promise:ve}},{lie:37}],7:[function(de,Ke,De){"use strict";var ve=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",ye=de("pako"),fe=de("./utils"),xe=de("./stream/GenericWorker"),ue=ve?"uint8array":"array";function Fe(Ce,Te){xe.call(this,"FlateWorker/"+Ce),this._pako=null,this._pakoAction=Ce,this._pakoOptions=Te,this.meta={}}De.magic="\b\0",fe.inherits(Fe,xe),Fe.prototype.processChunk=function(Ce){this.meta=Ce.meta,this._pako===null&&this._createPako(),this._pako.push(fe.transformTo(ue,Ce.data),!1)},Fe.prototype.flush=function(){xe.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Fe.prototype.cleanUp=function(){xe.prototype.cleanUp.call(this),this._pako=null},Fe.prototype._createPako=function(){this._pako=new ye[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var Ce=this;this._pako.onData=function(Te){Ce.push({data:Te,meta:Ce.meta})}},De.compressWorker=function(Ce){return new Fe("Deflate",Ce)},De.uncompressWorker=function(){return new Fe("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(de,Ke,De){"use strict";function ve(we,Me){var ge,Ae="";for(ge=0;ge<Me;ge++)Ae+=String.fromCharCode(255&we),we>>>=8;return Ae}function ye(we,Me,ge,Ae,Pe,Re){var tt,ce,Oe=we.file,Ue=we.compression,ze=Re!==ue.utf8encode,nt=fe.transformTo("string",Re(Oe.name)),ke=fe.transformTo("string",ue.utf8encode(Oe.name)),Ve=Oe.comment,et=fe.transformTo("string",Re(Ve)),Se=fe.transformTo("string",ue.utf8encode(Ve)),qe=ke.length!==Oe.name.length,pe=Se.length!==Ve.length,be="",gt="",$e="",at=Oe.dir,bt=Oe.date,Ze={crc32:0,compressedSize:0,uncompressedSize:0};Me&&!ge||(Ze.crc32=we.crc32,Ze.compressedSize=we.compressedSize,Ze.uncompressedSize=we.uncompressedSize);var se=0;Me&&(se|=8),ze||!qe&&!pe||(se|=2048);var Be=0,Je=0;at&&(Be|=16),Pe==="UNIX"?(Je=798,Be|=function(Ee,je){var rt=Ee;return Ee||(rt=je?16893:33204),(65535&rt)<<16}(Oe.unixPermissions,at)):(Je=20,Be|=function(Ee){return 63&(Ee||0)}(Oe.dosPermissions)),tt=bt.getUTCHours(),tt<<=6,tt|=bt.getUTCMinutes(),tt<<=5,tt|=bt.getUTCSeconds()/2,ce=bt.getUTCFullYear()-1980,ce<<=4,ce|=bt.getUTCMonth()+1,ce<<=5,ce|=bt.getUTCDate(),qe&&(gt=ve(1,1)+ve(Fe(nt),4)+ke,be+="up"+ve(gt.length,2)+gt),pe&&($e=ve(1,1)+ve(Fe(et),4)+Se,be+="uc"+ve($e.length,2)+$e);var lt="";return lt+=`
|
|
|
\0`,lt+=ve(se,2),lt+=Ue.magic,lt+=ve(tt,2),lt+=ve(ce,2),lt+=ve(Ze.crc32,4),lt+=ve(Ze.compressedSize,4),lt+=ve(Ze.uncompressedSize,4),lt+=ve(nt.length,2),lt+=ve(be.length,2),{fileRecord:Ce.LOCAL_FILE_HEADER+lt+nt+be,dirRecord:Ce.CENTRAL_FILE_HEADER+ve(Je,2)+lt+ve(et.length,2)+"\0\0\0\0"+ve(Be,4)+ve(Ae,4)+nt+be+et}}var fe=de("../utils"),xe=de("../stream/GenericWorker"),ue=de("../utf8"),Fe=de("../crc32"),Ce=de("../signature");function Te(we,Me,ge,Ae){xe.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Me,this.zipPlatform=ge,this.encodeFileName=Ae,this.streamFiles=we,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}fe.inherits(Te,xe),Te.prototype.push=function(we){var Me=we.meta.percent||0,ge=this.entriesCount,Ae=this._sources.length;this.accumulate?this.contentBuffer.push(we):(this.bytesWritten+=we.data.length,xe.prototype.push.call(this,{data:we.data,meta:{currentFile:this.currentFile,percent:ge?(Me+100*(ge-Ae-1))/ge:100}}))},Te.prototype.openedSource=function(we){this.currentSourceOffset=this.bytesWritten,this.currentFile=we.file.name;var Me=this.streamFiles&&!we.file.dir;if(Me){var ge=ye(we,Me,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:ge.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Te.prototype.closedSource=function(we){this.accumulate=!1;var Me=this.streamFiles&&!we.file.dir,ge=ye(we,Me,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(ge.dirRecord),Me)this.push({data:function(Ae){return Ce.DATA_DESCRIPTOR+ve(Ae.crc32,4)+ve(Ae.compressedSize,4)+ve(Ae.uncompressedSize,4)}(we),meta:{percent:100}});else for(this.push({data:ge.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Te.prototype.flush=function(){for(var we=this.bytesWritten,Me=0;Me<this.dirRecords.length;Me++)this.push({data:this.dirRecords[Me],meta:{percent:100}});var ge=this.bytesWritten-we,Ae=function(Pe,Re,tt,ce,Oe){var Ue=fe.transformTo("string",Oe(ce));return Ce.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ve(Pe,2)+ve(Pe,2)+ve(Re,4)+ve(tt,4)+ve(Ue.length,2)+Ue}(this.dirRecords.length,ge,we,this.zipComment,this.encodeFileName);this.push({data:Ae,meta:{percent:100}})},Te.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Te.prototype.registerPrevious=function(we){this._sources.push(we);var Me=this;return we.on("data",function(ge){Me.processChunk(ge)}),we.on("end",function(){Me.closedSource(Me.previous.streamInfo),Me._sources.length?Me.prepareNextSource():Me.end()}),we.on("error",function(ge){Me.error(ge)}),this},Te.prototype.resume=function(){return!!xe.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Te.prototype.error=function(we){var Me=this._sources;if(!xe.prototype.error.call(this,we))return!1;for(var ge=0;ge<Me.length;ge++)try{Me[ge].error(we)}catch(Ae){}return!0},Te.prototype.lock=function(){xe.prototype.lock.call(this);for(var we=this._sources,Me=0;Me<we.length;Me++)we[Me].lock()},Ke.exports=Te},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(de,Ke,De){"use strict";var ve=de("../compressions"),ye=de("./ZipFileWorker");De.generateWorker=function(fe,xe,ue){var Fe=new ye(xe.streamFiles,ue,xe.platform,xe.encodeFileName),Ce=0;try{fe.forEach(function(Te,we){Ce++;var Me=function(Re,tt){var ce=Re||tt,Oe=ve[ce];if(!Oe)throw new Error(ce+" is not a valid compression method !");return Oe}(we.options.compression,xe.compression),ge=we.options.compressionOptions||xe.compressionOptions||{},Ae=we.dir,Pe=we.date;we._compressWorker(Me,ge).withStreamInfo("file",{name:Te,dir:Ae,date:Pe,comment:we.comment||"",unixPermissions:we.unixPermissions,dosPermissions:we.dosPermissions}).pipe(Fe)}),Fe.entriesCount=Ce}catch(Te){Fe.error(Te)}return Fe}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(de,Ke,De){"use strict";function ve(){if(!(this instanceof ve))return new ve;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var ye=new ve;for(var fe in this)typeof this[fe]!="function"&&(ye[fe]=this[fe]);return ye}}(ve.prototype=de("./object")).loadAsync=de("./load"),ve.support=de("./support"),ve.defaults=de("./defaults"),ve.version="3.10.1",ve.loadAsync=function(ye,fe){return new ve().loadAsync(ye,fe)},ve.external=de("./external"),Ke.exports=ve},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(de,Ke,De){"use strict";var ve=de("./utils"),ye=de("./external"),fe=de("./utf8"),xe=de("./zipEntries"),ue=de("./stream/Crc32Probe"),Fe=de("./nodejsUtils");function Ce(Te){return new ye.Promise(function(we,Me){var ge=Te.decompressed.getContentWorker().pipe(new ue);ge.on("error",function(Ae){Me(Ae)}).on("end",function(){ge.streamInfo.crc32!==Te.decompressed.crc32?Me(new Error("Corrupted zip : CRC32 mismatch")):we()}).resume()})}Ke.exports=function(Te,we){var Me=this;return we=ve.extend(we||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:fe.utf8decode}),Fe.isNode&&Fe.isStream(Te)?ye.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ve.prepareContent("the loaded zip file",Te,!0,we.optimizedBinaryString,we.base64).then(function(ge){var Ae=new xe(we);return Ae.load(ge),Ae}).then(function(ge){var Ae=[ye.Promise.resolve(ge)],Pe=ge.files;if(we.checkCRC32)for(var Re=0;Re<Pe.length;Re++)Ae.push(Ce(Pe[Re]));return ye.Promise.all(Ae)}).then(function(ge){for(var Ae=ge.shift(),Pe=Ae.files,Re=0;Re<Pe.length;Re++){var tt=Pe[Re],ce=tt.fileNameStr,Oe=ve.resolve(tt.fileNameStr);Me.file(Oe,tt.decompressed,{binary:!0,optimizedBinaryString:!0,date:tt.date,dir:tt.dir,comment:tt.fileCommentStr.length?tt.fileCommentStr:null,unixPermissions:tt.unixPermissions,dosPermissions:tt.dosPermissions,createFolders:we.createFolders}),tt.dir||(Me.file(Oe).unsafeOriginalName=ce)}return Ae.zipComment.length&&(Me.comment=Ae.zipComment),Me})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(de,Ke,De){"use strict";var ve=de("../utils"),ye=de("../stream/GenericWorker");function fe(xe,ue){ye.call(this,"Nodejs stream input adapter for "+xe),this._upstreamEnded=!1,this._bindStream(ue)}ve.inherits(fe,ye),fe.prototype._bindStream=function(xe){var ue=this;(this._stream=xe).pause(),xe.on("data",function(Fe){ue.push({data:Fe,meta:{percent:0}})}).on("error",function(Fe){ue.isPaused?this.generatedError=Fe:ue.error(Fe)}).on("end",function(){ue.isPaused?ue._upstreamEnded=!0:ue.end()})},fe.prototype.pause=function(){return!!ye.prototype.pause.call(this)&&(this._stream.pause(),!0)},fe.prototype.resume=function(){return!!ye.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},Ke.exports=fe},{"../stream/GenericWorker":28,"../utils":32}],13:[function(de,Ke,De){"use strict";var ve=de("readable-stream").Readable;function ye(fe,xe,ue){ve.call(this,xe),this._helper=fe;var Fe=this;fe.on("data",function(Ce,Te){Fe.push(Ce)||Fe._helper.pause(),ue&&ue(Te)}).on("error",function(Ce){Fe.emit("error",Ce)}).on("end",function(){Fe.push(null)})}de("../utils").inherits(ye,ve),ye.prototype._read=function(){this._helper.resume()},Ke.exports=ye},{"../utils":32,"readable-stream":16}],14:[function(de,Ke,De){"use strict";Ke.exports={isNode:typeof b!="undefined",newBufferFrom:function(ve,ye){if(b.from&&b.from!==Uint8Array.from)return b.from(ve,ye);if(typeof ve=="number")throw new Error('The "data" argument must not be a number');return new b(ve,ye)},allocBuffer:function(ve){if(b.alloc)return b.alloc(ve);var ye=new b(ve);return ye.fill(0),ye},isBuffer:function(ve){return b.isBuffer(ve)},isStream:function(ve){return ve&&typeof ve.on=="function"&&typeof ve.pause=="function"&&typeof ve.resume=="function"}}},{}],15:[function(de,Ke,De){"use strict";function ve(Oe,Ue,ze){var nt,ke=fe.getTypeOf(Ue),Ve=fe.extend(ze||{},Fe);Ve.date=Ve.date||new Date,Ve.compression!==null&&(Ve.compression=Ve.compression.toUpperCase()),typeof Ve.unixPermissions=="string"&&(Ve.unixPermissions=parseInt(Ve.unixPermissions,8)),Ve.unixPermissions&&16384&Ve.unixPermissions&&(Ve.dir=!0),Ve.dosPermissions&&16&Ve.dosPermissions&&(Ve.dir=!0),Ve.dir&&(Oe=Pe(Oe)),Ve.createFolders&&(nt=Ae(Oe))&&Re.call(this,nt,!0);var et=ke==="string"&&Ve.binary===!1&&Ve.base64===!1;ze&&ze.binary!==void 0||(Ve.binary=!et),(Ue instanceof Ce&&Ue.uncompressedSize===0||Ve.dir||!Ue||Ue.length===0)&&(Ve.base64=!1,Ve.binary=!0,Ue="",Ve.compression="STORE",ke="string");var Se=null;Se=Ue instanceof Ce||Ue instanceof xe?Ue:Me.isNode&&Me.isStream(Ue)?new ge(Oe,Ue):fe.prepareContent(Oe,Ue,Ve.binary,Ve.optimizedBinaryString,Ve.base64);var qe=new Te(Oe,Se,Ve);this.files[Oe]=qe}var ye=de("./utf8"),fe=de("./utils"),xe=de("./stream/GenericWorker"),ue=de("./stream/StreamHelper"),Fe=de("./defaults"),Ce=de("./compressedObject"),Te=de("./zipObject"),we=de("./generate"),Me=de("./nodejsUtils"),ge=de("./nodejs/NodejsStreamInputAdapter"),Ae=function(Oe){Oe.slice(-1)==="/"&&(Oe=Oe.substring(0,Oe.length-1));var Ue=Oe.lastIndexOf("/");return 0<Ue?Oe.substring(0,Ue):""},Pe=function(Oe){return Oe.slice(-1)!=="/"&&(Oe+="/"),Oe},Re=function(Oe,Ue){return Ue=Ue!==void 0?Ue:Fe.createFolders,Oe=Pe(Oe),this.files[Oe]||ve.call(this,Oe,null,{dir:!0,createFolders:Ue}),this.files[Oe]};function tt(Oe){return Object.prototype.toString.call(Oe)==="[object RegExp]"}var ce={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(Oe){var Ue,ze,nt;for(Ue in this.files)nt=this.files[Ue],(ze=Ue.slice(this.root.length,Ue.length))&&Ue.slice(0,this.root.length)===this.root&&Oe(ze,nt)},filter:function(Oe){var Ue=[];return this.forEach(function(ze,nt){Oe(ze,nt)&&Ue.push(nt)}),Ue},file:function(Oe,Ue,ze){if(arguments.length!==1)return Oe=this.root+Oe,ve.call(this,Oe,Ue,ze),this;if(tt(Oe)){var nt=Oe;return this.filter(function(Ve,et){return!et.dir&&nt.test(Ve)})}var ke=this.files[this.root+Oe];return ke&&!ke.dir?ke:null},folder:function(Oe){if(!Oe)return this;if(tt(Oe))return this.filter(function(ke,Ve){return Ve.dir&&Oe.test(ke)});var Ue=this.root+Oe,ze=Re.call(this,Ue),nt=this.clone();return nt.root=ze.name,nt},remove:function(Oe){Oe=this.root+Oe;var Ue=this.files[Oe];if(Ue||(Oe.slice(-1)!=="/"&&(Oe+="/"),Ue=this.files[Oe]),Ue&&!Ue.dir)delete this.files[Oe];else for(var ze=this.filter(function(ke,Ve){return Ve.name.slice(0,Oe.length)===Oe}),nt=0;nt<ze.length;nt++)delete this.files[ze[nt].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(Oe){var Ue,ze={};try{if((ze=fe.extend(Oe||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ye.utf8encode})).type=ze.type.toLowerCase(),ze.compression=ze.compression.toUpperCase(),ze.type==="binarystring"&&(ze.type="string"),!ze.type)throw new Error("No output type specified.");fe.checkSupport(ze.type),ze.platform!=="darwin"&&ze.platform!=="freebsd"&&ze.platform!=="linux"&&ze.platform!=="sunos"||(ze.platform="UNIX"),ze.platform==="win32"&&(ze.platform="DOS");var nt=ze.comment||this.comment||"";Ue=we.generateWorker(this,ze,nt)}catch(ke){(Ue=new xe("error")).error(ke)}return new ue(Ue,ze.type||"string",ze.mimeType)},generateAsync:function(Oe,Ue){return this.generateInternalStream(Oe).accumulate(Ue)},generateNodeStream:function(Oe,Ue){return(Oe=Oe||{}).type||(Oe.type="nodebuffer"),this.generateInternalStream(Oe).toNodejsStream(Ue)}};Ke.exports=ce},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(de,Ke,De){"use strict";Ke.exports=de("stream")},{stream:void 0}],17:[function(de,Ke,De){"use strict";var ve=de("./DataReader");function ye(fe){ve.call(this,fe);for(var xe=0;xe<this.data.length;xe++)fe[xe]=255&fe[xe]}de("../utils").inherits(ye,ve),ye.prototype.byteAt=function(fe){return this.data[this.zero+fe]},ye.prototype.lastIndexOfSignature=function(fe){for(var xe=fe.charCodeAt(0),ue=fe.charCodeAt(1),Fe=fe.charCodeAt(2),Ce=fe.charCodeAt(3),Te=this.length-4;0<=Te;--Te)if(this.data[Te]===xe&&this.data[Te+1]===ue&&this.data[Te+2]===Fe&&this.data[Te+3]===Ce)return Te-this.zero;return-1},ye.prototype.readAndCheckSignature=function(fe){var xe=fe.charCodeAt(0),ue=fe.charCodeAt(1),Fe=fe.charCodeAt(2),Ce=fe.charCodeAt(3),Te=this.readData(4);return xe===Te[0]&&ue===Te[1]&&Fe===Te[2]&&Ce===Te[3]},ye.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return[];var xe=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},Ke.exports=ye},{"../utils":32,"./DataReader":18}],18:[function(de,Ke,De){"use strict";var ve=de("../utils");function ye(fe){this.data=fe,this.length=fe.length,this.index=0,this.zero=0}ye.prototype={checkOffset:function(fe){this.checkIndex(this.index+fe)},checkIndex:function(fe){if(this.length<this.zero+fe||fe<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+fe+"). Corrupted zip ?")},setIndex:function(fe){this.checkIndex(fe),this.index=fe},skip:function(fe){this.setIndex(this.index+fe)},byteAt:function(){},readInt:function(fe){var xe,ue=0;for(this.checkOffset(fe),xe=this.index+fe-1;xe>=this.index;xe--)ue=(ue<<8)+this.byteAt(xe);return this.index+=fe,ue},readString:function(fe){return ve.transformTo("string",this.readData(fe))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var fe=this.readInt(4);return new Date(Date.UTC(1980+(fe>>25&127),(fe>>21&15)-1,fe>>16&31,fe>>11&31,fe>>5&63,(31&fe)<<1))}},Ke.exports=ye},{"../utils":32}],19:[function(de,Ke,De){"use strict";var ve=de("./Uint8ArrayReader");function ye(fe){ve.call(this,fe)}de("../utils").inherits(ye,ve),ye.prototype.readData=function(fe){this.checkOffset(fe);var xe=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},Ke.exports=ye},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(de,Ke,De){"use strict";var ve=de("./DataReader");function ye(fe){ve.call(this,fe)}de("../utils").inherits(ye,ve),ye.prototype.byteAt=function(fe){return this.data.charCodeAt(this.zero+fe)},ye.prototype.lastIndexOfSignature=function(fe){return this.data.lastIndexOf(fe)-this.zero},ye.prototype.readAndCheckSignature=function(fe){return fe===this.readData(4)},ye.prototype.readData=function(fe){this.checkOffset(fe);var xe=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},Ke.exports=ye},{"../utils":32,"./DataReader":18}],21:[function(de,Ke,De){"use strict";var ve=de("./ArrayReader");function ye(fe){ve.call(this,fe)}de("../utils").inherits(ye,ve),ye.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return new Uint8Array(0);var xe=this.data.subarray(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},Ke.exports=ye},{"../utils":32,"./ArrayReader":17}],22:[function(de,Ke,De){"use strict";var ve=de("../utils"),ye=de("../support"),fe=de("./ArrayReader"),xe=de("./StringReader"),ue=de("./NodeBufferReader"),Fe=de("./Uint8ArrayReader");Ke.exports=function(Ce){var Te=ve.getTypeOf(Ce);return ve.checkSupport(Te),Te!=="string"||ye.uint8array?Te==="nodebuffer"?new ue(Ce):ye.uint8array?new Fe(ve.transformTo("uint8array",Ce)):new fe(ve.transformTo("array",Ce)):new xe(Ce)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(de,Ke,De){"use strict";De.LOCAL_FILE_HEADER="PK",De.CENTRAL_FILE_HEADER="PK",De.CENTRAL_DIRECTORY_END="PK",De.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",De.ZIP64_CENTRAL_DIRECTORY_END="PK",De.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(de,Ke,De){"use strict";var ve=de("./GenericWorker"),ye=de("../utils");function fe(xe){ve.call(this,"ConvertWorker to "+xe),this.destType=xe}ye.inherits(fe,ve),fe.prototype.processChunk=function(xe){this.push({data:ye.transformTo(this.destType,xe.data),meta:xe.meta})},Ke.exports=fe},{"../utils":32,"./GenericWorker":28}],25:[function(de,Ke,De){"use strict";var ve=de("./GenericWorker"),ye=de("../crc32");function fe(){ve.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}de("../utils").inherits(fe,ve),fe.prototype.processChunk=function(xe){this.streamInfo.crc32=ye(xe.data,this.streamInfo.crc32||0),this.push(xe)},Ke.exports=fe},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(de,Ke,De){"use strict";var ve=de("../utils"),ye=de("./GenericWorker");function fe(xe){ye.call(this,"DataLengthProbe for "+xe),this.propName=xe,this.withStreamInfo(xe,0)}ve.inherits(fe,ye),fe.prototype.processChunk=function(xe){if(xe){var ue=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=ue+xe.data.length}ye.prototype.processChunk.call(this,xe)},Ke.exports=fe},{"../utils":32,"./GenericWorker":28}],27:[function(de,Ke,De){"use strict";var ve=de("../utils"),ye=de("./GenericWorker");function fe(xe){ye.call(this,"DataWorker");var ue=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,xe.then(function(Fe){ue.dataIsReady=!0,ue.data=Fe,ue.max=Fe&&Fe.length||0,ue.type=ve.getTypeOf(Fe),ue.isPaused||ue._tickAndRepeat()},function(Fe){ue.error(Fe)})}ve.inherits(fe,ye),fe.prototype.cleanUp=function(){ye.prototype.cleanUp.call(this),this.data=null},fe.prototype.resume=function(){return!!ye.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,ve.delay(this._tickAndRepeat,[],this)),!0)},fe.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(ve.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},fe.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var xe=null,ue=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":xe=this.data.substring(this.index,ue);break;case"uint8array":xe=this.data.subarray(this.index,ue);break;case"array":case"nodebuffer":xe=this.data.slice(this.index,ue)}return this.index=ue,this.push({data:xe,meta:{percent:this.max?this.index/this.max*100:0}})},Ke.exports=fe},{"../utils":32,"./GenericWorker":28}],28:[function(de,Ke,De){"use strict";function ve(ye){this.name=ye||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}ve.prototype={push:function(ye){this.emit("data",ye)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(ye){this.emit("error",ye)}return!0},error:function(ye){return!this.isFinished&&(this.isPaused?this.generatedError=ye:(this.isFinished=!0,this.emit("error",ye),this.previous&&this.previous.error(ye),this.cleanUp()),!0)},on:function(ye,fe){return this._listeners[ye].push(fe),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(ye,fe){if(this._listeners[ye])for(var xe=0;xe<this._listeners[ye].length;xe++)this._listeners[ye][xe].call(this,fe)},pipe:function(ye){return ye.registerPrevious(this)},registerPrevious:function(ye){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=ye.streamInfo,this.mergeStreamInfo(),this.previous=ye;var fe=this;return ye.on("data",function(xe){fe.processChunk(xe)}),ye.on("end",function(){fe.end()}),ye.on("error",function(xe){fe.error(xe)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var ye=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),ye=!0),this.previous&&this.previous.resume(),!ye},flush:function(){},processChunk:function(ye){this.push(ye)},withStreamInfo:function(ye,fe){return this.extraStreamInfo[ye]=fe,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var ye in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,ye)&&(this.streamInfo[ye]=this.extraStreamInfo[ye])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var ye="Worker "+this.name;return this.previous?this.previous+" -> "+ye:ye}},Ke.exports=ve},{}],29:[function(de,Ke,De){"use strict";var ve=de("../utils"),ye=de("./ConvertWorker"),fe=de("./GenericWorker"),xe=de("../base64"),ue=de("../support"),Fe=de("../external"),Ce=null;if(ue.nodestream)try{Ce=de("../nodejs/NodejsStreamOutputAdapter")}catch(Me){}function Te(Me,ge){return new Fe.Promise(function(Ae,Pe){var Re=[],tt=Me._internalType,ce=Me._outputType,Oe=Me._mimeType;Me.on("data",function(Ue,ze){Re.push(Ue),ge&&ge(ze)}).on("error",function(Ue){Re=[],Pe(Ue)}).on("end",function(){try{var Ue=function(ze,nt,ke){switch(ze){case"blob":return ve.newBlob(ve.transformTo("arraybuffer",nt),ke);case"base64":return xe.encode(nt);default:return ve.transformTo(ze,nt)}}(ce,function(ze,nt){var ke,Ve=0,et=null,Se=0;for(ke=0;ke<nt.length;ke++)Se+=nt[ke].length;switch(ze){case"string":return nt.join("");case"array":return Array.prototype.concat.apply([],nt);case"uint8array":for(et=new Uint8Array(Se),ke=0;ke<nt.length;ke++)et.set(nt[ke],Ve),Ve+=nt[ke].length;return et;case"nodebuffer":return b.concat(nt);default:throw new Error("concat : unsupported type '"+ze+"'")}}(tt,Re),Oe);Ae(Ue)}catch(ze){Pe(ze)}Re=[]}).resume()})}function we(Me,ge,Ae){var Pe=ge;switch(ge){case"blob":case"arraybuffer":Pe="uint8array";break;case"base64":Pe="string"}try{this._internalType=Pe,this._outputType=ge,this._mimeType=Ae,ve.checkSupport(Pe),this._worker=Me.pipe(new ye(Pe)),Me.lock()}catch(Re){this._worker=new fe("error"),this._worker.error(Re)}}we.prototype={accumulate:function(Me){return Te(this,Me)},on:function(Me,ge){var Ae=this;return Me==="data"?this._worker.on(Me,function(Pe){ge.call(Ae,Pe.data,Pe.meta)}):this._worker.on(Me,function(){ve.delay(ge,arguments,Ae)}),this},resume:function(){return ve.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(Me){if(ve.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new Ce(this,{objectMode:this._outputType!=="nodebuffer"},Me)}},Ke.exports=we},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(de,Ke,De){"use strict";if(De.base64=!0,De.array=!0,De.string=!0,De.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",De.nodebuffer=typeof b!="undefined",De.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")De.blob=!1;else{var ve=new ArrayBuffer(0);try{De.blob=new Blob([ve],{type:"application/zip"}).size===0}catch(fe){try{var ye=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);ye.append(ve),De.blob=ye.getBlob("application/zip").size===0}catch(xe){De.blob=!1}}}try{De.nodestream=!!de("readable-stream").Readable}catch(fe){De.nodestream=!1}},{"readable-stream":16}],31:[function(de,Ke,De){"use strict";for(var ve=de("./utils"),ye=de("./support"),fe=de("./nodejsUtils"),xe=de("./stream/GenericWorker"),ue=new Array(256),Fe=0;Fe<256;Fe++)ue[Fe]=252<=Fe?6:248<=Fe?5:240<=Fe?4:224<=Fe?3:192<=Fe?2:1;ue[254]=ue[254]=1;function Ce(){xe.call(this,"utf-8 decode"),this.leftOver=null}function Te(){xe.call(this,"utf-8 encode")}De.utf8encode=function(we){return ye.nodebuffer?fe.newBufferFrom(we,"utf-8"):function(Me){var ge,Ae,Pe,Re,tt,ce=Me.length,Oe=0;for(Re=0;Re<ce;Re++)(64512&(Ae=Me.charCodeAt(Re)))==55296&&Re+1<ce&&(64512&(Pe=Me.charCodeAt(Re+1)))==56320&&(Ae=65536+(Ae-55296<<10)+(Pe-56320),Re++),Oe+=Ae<128?1:Ae<2048?2:Ae<65536?3:4;for(ge=ye.uint8array?new Uint8Array(Oe):new Array(Oe),Re=tt=0;tt<Oe;Re++)(64512&(Ae=Me.charCodeAt(Re)))==55296&&Re+1<ce&&(64512&(Pe=Me.charCodeAt(Re+1)))==56320&&(Ae=65536+(Ae-55296<<10)+(Pe-56320),Re++),Ae<128?ge[tt++]=Ae:(Ae<2048?ge[tt++]=192|Ae>>>6:(Ae<65536?ge[tt++]=224|Ae>>>12:(ge[tt++]=240|Ae>>>18,ge[tt++]=128|Ae>>>12&63),ge[tt++]=128|Ae>>>6&63),ge[tt++]=128|63&Ae);return ge}(we)},De.utf8decode=function(we){return ye.nodebuffer?ve.transformTo("nodebuffer",we).toString("utf-8"):function(Me){var ge,Ae,Pe,Re,tt=Me.length,ce=new Array(2*tt);for(ge=Ae=0;ge<tt;)if((Pe=Me[ge++])<128)ce[Ae++]=Pe;else if(4<(Re=ue[Pe]))ce[Ae++]=65533,ge+=Re-1;else{for(Pe&=Re===2?31:Re===3?15:7;1<Re&&ge<tt;)Pe=Pe<<6|63&Me[ge++],Re--;1<Re?ce[Ae++]=65533:Pe<65536?ce[Ae++]=Pe:(Pe-=65536,ce[Ae++]=55296|Pe>>10&1023,ce[Ae++]=56320|1023&Pe)}return ce.length!==Ae&&(ce.subarray?ce=ce.subarray(0,Ae):ce.length=Ae),ve.applyFromCharCode(ce)}(we=ve.transformTo(ye.uint8array?"uint8array":"array",we))},ve.inherits(Ce,xe),Ce.prototype.processChunk=function(we){var Me=ve.transformTo(ye.uint8array?"uint8array":"array",we.data);if(this.leftOver&&this.leftOver.length){if(ye.uint8array){var ge=Me;(Me=new Uint8Array(ge.length+this.leftOver.length)).set(this.leftOver,0),Me.set(ge,this.leftOver.length)}else Me=this.leftOver.concat(Me);this.leftOver=null}var Ae=function(Re,tt){var ce;for((tt=tt||Re.length)>Re.length&&(tt=Re.length),ce=tt-1;0<=ce&&(192&Re[ce])==128;)ce--;return ce<0||ce===0?tt:ce+ue[Re[ce]]>tt?ce:tt}(Me),Pe=Me;Ae!==Me.length&&(ye.uint8array?(Pe=Me.subarray(0,Ae),this.leftOver=Me.subarray(Ae,Me.length)):(Pe=Me.slice(0,Ae),this.leftOver=Me.slice(Ae,Me.length))),this.push({data:De.utf8decode(Pe),meta:we.meta})},Ce.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:De.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},De.Utf8DecodeWorker=Ce,ve.inherits(Te,xe),Te.prototype.processChunk=function(we){this.push({data:De.utf8encode(we.data),meta:we.meta})},De.Utf8EncodeWorker=Te},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(de,Ke,De){"use strict";var ve=de("./support"),ye=de("./base64"),fe=de("./nodejsUtils"),xe=de("./external");function ue(ge){return ge}function Fe(ge,Ae){for(var Pe=0;Pe<ge.length;++Pe)Ae[Pe]=255&ge.charCodeAt(Pe);return Ae}de("setimmediate"),De.newBlob=function(ge,Ae){De.checkSupport("blob");try{return new Blob([ge],{type:Ae})}catch(Re){try{var Pe=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Pe.append(ge),Pe.getBlob(Ae)}catch(tt){throw new Error("Bug : can't construct the Blob.")}}};var Ce={stringifyByChunk:function(ge,Ae,Pe){var Re=[],tt=0,ce=ge.length;if(ce<=Pe)return String.fromCharCode.apply(null,ge);for(;tt<ce;)Ae==="array"||Ae==="nodebuffer"?Re.push(String.fromCharCode.apply(null,ge.slice(tt,Math.min(tt+Pe,ce)))):Re.push(String.fromCharCode.apply(null,ge.subarray(tt,Math.min(tt+Pe,ce)))),tt+=Pe;return Re.join("")},stringifyByChar:function(ge){for(var Ae="",Pe=0;Pe<ge.length;Pe++)Ae+=String.fromCharCode(ge[Pe]);return Ae},applyCanBeUsed:{uint8array:function(){try{return ve.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(ge){return!1}}(),nodebuffer:function(){try{return ve.nodebuffer&&String.fromCharCode.apply(null,fe.allocBuffer(1)).length===1}catch(ge){return!1}}()}};function Te(ge){var Ae=65536,Pe=De.getTypeOf(ge),Re=!0;if(Pe==="uint8array"?Re=Ce.applyCanBeUsed.uint8array:Pe==="nodebuffer"&&(Re=Ce.applyCanBeUsed.nodebuffer),Re)for(;1<Ae;)try{return Ce.stringifyByChunk(ge,Pe,Ae)}catch(tt){Ae=Math.floor(Ae/2)}return Ce.stringifyByChar(ge)}function we(ge,Ae){for(var Pe=0;Pe<ge.length;Pe++)Ae[Pe]=ge[Pe];return Ae}De.applyFromCharCode=Te;var Me={};Me.string={string:ue,array:function(ge){return Fe(ge,new Array(ge.length))},arraybuffer:function(ge){return Me.string.uint8array(ge).buffer},uint8array:function(ge){return Fe(ge,new Uint8Array(ge.length))},nodebuffer:function(ge){return Fe(ge,fe.allocBuffer(ge.length))}},Me.array={string:Te,array:ue,arraybuffer:function(ge){return new Uint8Array(ge).buffer},uint8array:function(ge){return new Uint8Array(ge)},nodebuffer:function(ge){return fe.newBufferFrom(ge)}},Me.arraybuffer={string:function(ge){return Te(new Uint8Array(ge))},array:function(ge){return we(new Uint8Array(ge),new Array(ge.byteLength))},arraybuffer:ue,uint8array:function(ge){return new Uint8Array(ge)},nodebuffer:function(ge){return fe.newBufferFrom(new Uint8Array(ge))}},Me.uint8array={string:Te,array:function(ge){return we(ge,new Array(ge.length))},arraybuffer:function(ge){return ge.buffer},uint8array:ue,nodebuffer:function(ge){return fe.newBufferFrom(ge)}},Me.nodebuffer={string:Te,array:function(ge){return we(ge,new Array(ge.length))},arraybuffer:function(ge){return Me.nodebuffer.uint8array(ge).buffer},uint8array:function(ge){return we(ge,new Uint8Array(ge.length))},nodebuffer:ue},De.transformTo=function(ge,Ae){if(Ae=Ae||"",!ge)return Ae;De.checkSupport(ge);var Pe=De.getTypeOf(Ae);return Me[Pe][ge](Ae)},De.resolve=function(ge){for(var Ae=ge.split("/"),Pe=[],Re=0;Re<Ae.length;Re++){var tt=Ae[Re];tt==="."||tt===""&&Re!==0&&Re!==Ae.length-1||(tt===".."?Pe.pop():Pe.push(tt))}return Pe.join("/")},De.getTypeOf=function(ge){return typeof ge=="string"?"string":Object.prototype.toString.call(ge)==="[object Array]"?"array":ve.nodebuffer&&fe.isBuffer(ge)?"nodebuffer":ve.uint8array&&ge instanceof Uint8Array?"uint8array":ve.arraybuffer&&ge instanceof ArrayBuffer?"arraybuffer":void 0},De.checkSupport=function(ge){if(!ve[ge.toLowerCase()])throw new Error(ge+" is not supported by this platform")},De.MAX_VALUE_16BITS=65535,De.MAX_VALUE_32BITS=-1,De.pretty=function(ge){var Ae,Pe,Re="";for(Pe=0;Pe<(ge||"").length;Pe++)Re+="\\x"+((Ae=ge.charCodeAt(Pe))<16?"0":"")+Ae.toString(16).toUpperCase();return Re},De.delay=function(ge,Ae,Pe){setImmediate(function(){ge.apply(Pe||null,Ae||[])})},De.inherits=function(ge,Ae){function Pe(){}Pe.prototype=Ae.prototype,ge.prototype=new Pe},De.extend=function(){var ge,Ae,Pe={};for(ge=0;ge<arguments.length;ge++)for(Ae in arguments[ge])Object.prototype.hasOwnProperty.call(arguments[ge],Ae)&&Pe[Ae]===void 0&&(Pe[Ae]=arguments[ge][Ae]);return Pe},De.prepareContent=function(ge,Ae,Pe,Re,tt){return xe.Promise.resolve(Ae).then(function(ce){return ve.blob&&(ce instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(ce))!==-1)&&typeof FileReader!="undefined"?new xe.Promise(function(Oe,Ue){var ze=new FileReader;ze.onload=function(nt){Oe(nt.target.result)},ze.onerror=function(nt){Ue(nt.target.error)},ze.readAsArrayBuffer(ce)}):ce}).then(function(ce){var Oe=De.getTypeOf(ce);return Oe?(Oe==="arraybuffer"?ce=De.transformTo("uint8array",ce):Oe==="string"&&(tt?ce=ye.decode(ce):Pe&&Re!==!0&&(ce=function(Ue){return Fe(Ue,ve.uint8array?new Uint8Array(Ue.length):new Array(Ue.length))}(ce))),ce):xe.Promise.reject(new Error("Can't read the data of '"+ge+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(de,Ke,De){"use strict";var ve=de("./reader/readerFor"),ye=de("./utils"),fe=de("./signature"),xe=de("./zipEntry"),ue=de("./support");function Fe(Ce){this.files=[],this.loadOptions=Ce}Fe.prototype={checkSignature:function(Ce){if(!this.reader.readAndCheckSignature(Ce)){this.reader.index-=4;var Te=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ye.pretty(Te)+", expected "+ye.pretty(Ce)+")")}},isSignature:function(Ce,Te){var we=this.reader.index;this.reader.setIndex(Ce);var Me=this.reader.readString(4)===Te;return this.reader.setIndex(we),Me},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var Ce=this.reader.readData(this.zipCommentLength),Te=ue.uint8array?"uint8array":"array",we=ye.transformTo(Te,Ce);this.zipComment=this.loadOptions.decodeFileName(we)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var Ce,Te,we,Me=this.zip64EndOfCentralSize-44;0<Me;)Ce=this.reader.readInt(2),Te=this.reader.readInt(4),we=this.reader.readData(Te),this.zip64ExtensibleData[Ce]={id:Ce,length:Te,value:we}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var Ce,Te;for(Ce=0;Ce<this.files.length;Ce++)Te=this.files[Ce],this.reader.setIndex(Te.localHeaderOffset),this.checkSignature(fe.LOCAL_FILE_HEADER),Te.readLocalPart(this.reader),Te.handleUTF8(),Te.processAttributes()},readCentralDir:function(){var Ce;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fe.CENTRAL_FILE_HEADER);)(Ce=new xe({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(Ce);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var Ce=this.reader.lastIndexOfSignature(fe.CENTRAL_DIRECTORY_END);if(Ce<0)throw this.isSignature(0,fe.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(Ce);var Te=Ce;if(this.checkSignature(fe.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ye.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ye.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ye.MAX_VALUE_16BITS||this.centralDirRecords===ye.MAX_VALUE_16BITS||this.centralDirSize===ye.MAX_VALUE_32BITS||this.centralDirOffset===ye.MAX_VALUE_32BITS){if(this.zip64=!0,(Ce=this.reader.lastIndexOfSignature(fe.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(Ce),this.checkSignature(fe.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fe.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fe.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(fe.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var we=this.centralDirOffset+this.centralDirSize;this.zip64&&(we+=20,we+=12+this.zip64EndOfCentralSize);var Me=Te-we;if(0<Me)this.isSignature(Te,fe.CENTRAL_FILE_HEADER)||(this.reader.zero=Me);else if(Me<0)throw new Error("Corrupted zip: missing "+Math.abs(Me)+" bytes.")},prepareReader:function(Ce){this.reader=ve(Ce)},load:function(Ce){this.prepareReader(Ce),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},Ke.exports=Fe},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(de,Ke,De){"use strict";var ve=de("./reader/readerFor"),ye=de("./utils"),fe=de("./compressedObject"),xe=de("./crc32"),ue=de("./utf8"),Fe=de("./compressions"),Ce=de("./support");function Te(we,Me){this.options=we,this.loadOptions=Me}Te.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(we){var Me,ge;if(we.skip(22),this.fileNameLength=we.readInt(2),ge=we.readInt(2),this.fileName=we.readData(this.fileNameLength),we.skip(ge),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((Me=function(Ae){for(var Pe in Fe)if(Object.prototype.hasOwnProperty.call(Fe,Pe)&&Fe[Pe].magic===Ae)return Fe[Pe];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+ye.pretty(this.compressionMethod)+" unknown (inner file : "+ye.transformTo("string",this.fileName)+")");this.decompressed=new fe(this.compressedSize,this.uncompressedSize,this.crc32,Me,we.readData(this.compressedSize))},readCentralPart:function(we){this.versionMadeBy=we.readInt(2),we.skip(2),this.bitFlag=we.readInt(2),this.compressionMethod=we.readString(2),this.date=we.readDate(),this.crc32=we.readInt(4),this.compressedSize=we.readInt(4),this.uncompressedSize=we.readInt(4);var Me=we.readInt(2);if(this.extraFieldsLength=we.readInt(2),this.fileCommentLength=we.readInt(2),this.diskNumberStart=we.readInt(2),this.internalFileAttributes=we.readInt(2),this.externalFileAttributes=we.readInt(4),this.localHeaderOffset=we.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");we.skip(Me),this.readExtraFields(we),this.parseZIP64ExtraField(we),this.fileComment=we.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var we=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),we==0&&(this.dosPermissions=63&this.externalFileAttributes),we==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var we=ve(this.extraFields[1].value);this.uncompressedSize===ye.MAX_VALUE_32BITS&&(this.uncompressedSize=we.readInt(8)),this.compressedSize===ye.MAX_VALUE_32BITS&&(this.compressedSize=we.readInt(8)),this.localHeaderOffset===ye.MAX_VALUE_32BITS&&(this.localHeaderOffset=we.readInt(8)),this.diskNumberStart===ye.MAX_VALUE_32BITS&&(this.diskNumberStart=we.readInt(4))}},readExtraFields:function(we){var Me,ge,Ae,Pe=we.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});we.index+4<Pe;)Me=we.readInt(2),ge=we.readInt(2),Ae=we.readData(ge),this.extraFields[Me]={id:Me,length:ge,value:Ae};we.setIndex(Pe)},handleUTF8:function(){var we=Ce.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=ue.utf8decode(this.fileName),this.fileCommentStr=ue.utf8decode(this.fileComment);else{var Me=this.findExtraFieldUnicodePath();if(Me!==null)this.fileNameStr=Me;else{var ge=ye.transformTo(we,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(ge)}var Ae=this.findExtraFieldUnicodeComment();if(Ae!==null)this.fileCommentStr=Ae;else{var Pe=ye.transformTo(we,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Pe)}}},findExtraFieldUnicodePath:function(){var we=this.extraFields[28789];if(we){var Me=ve(we.value);return Me.readInt(1)!==1||xe(this.fileName)!==Me.readInt(4)?null:ue.utf8decode(Me.readData(we.length-5))}return null},findExtraFieldUnicodeComment:function(){var we=this.extraFields[25461];if(we){var Me=ve(we.value);return Me.readInt(1)!==1||xe(this.fileComment)!==Me.readInt(4)?null:ue.utf8decode(Me.readData(we.length-5))}return null}},Ke.exports=Te},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(de,Ke,De){"use strict";function ve(Me,ge,Ae){this.name=Me,this.dir=Ae.dir,this.date=Ae.date,this.comment=Ae.comment,this.unixPermissions=Ae.unixPermissions,this.dosPermissions=Ae.dosPermissions,this._data=ge,this._dataBinary=Ae.binary,this.options={compression:Ae.compression,compressionOptions:Ae.compressionOptions}}var ye=de("./stream/StreamHelper"),fe=de("./stream/DataWorker"),xe=de("./utf8"),ue=de("./compressedObject"),Fe=de("./stream/GenericWorker");ve.prototype={internalStream:function(Me){var ge=null,Ae="string";try{if(!Me)throw new Error("No output type specified.");var Pe=(Ae=Me.toLowerCase())==="string"||Ae==="text";Ae!=="binarystring"&&Ae!=="text"||(Ae="string"),ge=this._decompressWorker();var Re=!this._dataBinary;Re&&!Pe&&(ge=ge.pipe(new xe.Utf8EncodeWorker)),!Re&&Pe&&(ge=ge.pipe(new xe.Utf8DecodeWorker))}catch(tt){(ge=new Fe("error")).error(tt)}return new ye(ge,Ae,"")},async:function(Me,ge){return this.internalStream(Me).accumulate(ge)},nodeStream:function(Me,ge){return this.internalStream(Me||"nodebuffer").toNodejsStream(ge)},_compressWorker:function(Me,ge){if(this._data instanceof ue&&this._data.compression.magic===Me.magic)return this._data.getCompressedWorker();var Ae=this._decompressWorker();return this._dataBinary||(Ae=Ae.pipe(new xe.Utf8EncodeWorker)),ue.createWorkerFrom(Ae,Me,ge)},_decompressWorker:function(){return this._data instanceof ue?this._data.getContentWorker():this._data instanceof Fe?this._data:new fe(this._data)}};for(var Ce=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Te=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},we=0;we<Ce.length;we++)ve.prototype[Ce[we]]=Te;Ke.exports=ve},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(de,Ke,De){(function(ve){"use strict";var ye,fe,xe=ve.MutationObserver||ve.WebKitMutationObserver;if(xe){var ue=0,Fe=new xe(Me),Ce=ve.document.createTextNode("");Fe.observe(Ce,{characterData:!0}),ye=function(){Ce.data=ue=++ue%2}}else if(ve.setImmediate||ve.MessageChannel===void 0)ye="document"in ve&&"onreadystatechange"in ve.document.createElement("script")?function(){var ge=ve.document.createElement("script");ge.onreadystatechange=function(){Me(),ge.onreadystatechange=null,ge.parentNode.removeChild(ge),ge=null},ve.document.documentElement.appendChild(ge)}:function(){setTimeout(Me,0)};else{var Te=new ve.MessageChannel;Te.port1.onmessage=Me,ye=function(){Te.port2.postMessage(0)}}var we=[];function Me(){var ge,Ae;fe=!0;for(var Pe=we.length;Pe;){for(Ae=we,we=[],ge=-1;++ge<Pe;)Ae[ge]();Pe=we.length}fe=!1}Ke.exports=function(ge){we.push(ge)!==1||fe||ye()}}).call(this,typeof E.g!="undefined"?E.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(de,Ke,De){"use strict";var ve=de("immediate");function ye(){}var fe={},xe=["REJECTED"],ue=["FULFILLED"],Fe=["PENDING"];function Ce(Pe){if(typeof Pe!="function")throw new TypeError("resolver must be a function");this.state=Fe,this.queue=[],this.outcome=void 0,Pe!==ye&&ge(this,Pe)}function Te(Pe,Re,tt){this.promise=Pe,typeof Re=="function"&&(this.onFulfilled=Re,this.callFulfilled=this.otherCallFulfilled),typeof tt=="function"&&(this.onRejected=tt,this.callRejected=this.otherCallRejected)}function we(Pe,Re,tt){ve(function(){var ce;try{ce=Re(tt)}catch(Oe){return fe.reject(Pe,Oe)}ce===Pe?fe.reject(Pe,new TypeError("Cannot resolve promise with itself")):fe.resolve(Pe,ce)})}function Me(Pe){var Re=Pe&&Pe.then;if(Pe&&(typeof Pe=="object"||typeof Pe=="function")&&typeof Re=="function")return function(){Re.apply(Pe,arguments)}}function ge(Pe,Re){var tt=!1;function ce(ze){tt||(tt=!0,fe.reject(Pe,ze))}function Oe(ze){tt||(tt=!0,fe.resolve(Pe,ze))}var Ue=Ae(function(){Re(Oe,ce)});Ue.status==="error"&&ce(Ue.value)}function Ae(Pe,Re){var tt={};try{tt.value=Pe(Re),tt.status="success"}catch(ce){tt.status="error",tt.value=ce}return tt}(Ke.exports=Ce).prototype.finally=function(Pe){if(typeof Pe!="function")return this;var Re=this.constructor;return this.then(function(tt){return Re.resolve(Pe()).then(function(){return tt})},function(tt){return Re.resolve(Pe()).then(function(){throw tt})})},Ce.prototype.catch=function(Pe){return this.then(null,Pe)},Ce.prototype.then=function(Pe,Re){if(typeof Pe!="function"&&this.state===ue||typeof Re!="function"&&this.state===xe)return this;var tt=new this.constructor(ye);return this.state!==Fe?we(tt,this.state===ue?Pe:Re,this.outcome):this.queue.push(new Te(tt,Pe,Re)),tt},Te.prototype.callFulfilled=function(Pe){fe.resolve(this.promise,Pe)},Te.prototype.otherCallFulfilled=function(Pe){we(this.promise,this.onFulfilled,Pe)},Te.prototype.callRejected=function(Pe){fe.reject(this.promise,Pe)},Te.prototype.otherCallRejected=function(Pe){we(this.promise,this.onRejected,Pe)},fe.resolve=function(Pe,Re){var tt=Ae(Me,Re);if(tt.status==="error")return fe.reject(Pe,tt.value);var ce=tt.value;if(ce)ge(Pe,ce);else{Pe.state=ue,Pe.outcome=Re;for(var Oe=-1,Ue=Pe.queue.length;++Oe<Ue;)Pe.queue[Oe].callFulfilled(Re)}return Pe},fe.reject=function(Pe,Re){Pe.state=xe,Pe.outcome=Re;for(var tt=-1,ce=Pe.queue.length;++tt<ce;)Pe.queue[tt].callRejected(Re);return Pe},Ce.resolve=function(Pe){return Pe instanceof this?Pe:fe.resolve(new this(ye),Pe)},Ce.reject=function(Pe){var Re=new this(ye);return fe.reject(Re,Pe)},Ce.all=function(Pe){var Re=this;if(Object.prototype.toString.call(Pe)!=="[object Array]")return this.reject(new TypeError("must be an array"));var tt=Pe.length,ce=!1;if(!tt)return this.resolve([]);for(var Oe=new Array(tt),Ue=0,ze=-1,nt=new this(ye);++ze<tt;)ke(Pe[ze],ze);return nt;function ke(Ve,et){Re.resolve(Ve).then(function(Se){Oe[et]=Se,++Ue!==tt||ce||(ce=!0,fe.resolve(nt,Oe))},function(Se){ce||(ce=!0,fe.reject(nt,Se))})}},Ce.race=function(Pe){var Re=this;if(Object.prototype.toString.call(Pe)!=="[object Array]")return this.reject(new TypeError("must be an array"));var tt=Pe.length,ce=!1;if(!tt)return this.resolve([]);for(var Oe=-1,Ue=new this(ye);++Oe<tt;)ze=Pe[Oe],Re.resolve(ze).then(function(nt){ce||(ce=!0,fe.resolve(Ue,nt))},function(nt){ce||(ce=!0,fe.reject(Ue,nt))});var ze;return Ue}},{immediate:36}],38:[function(de,Ke,De){"use strict";var ve={};(0,de("./lib/utils/common").assign)(ve,de("./lib/deflate"),de("./lib/inflate"),de("./lib/zlib/constants")),Ke.exports=ve},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(de,Ke,De){"use strict";var ve=de("./zlib/deflate"),ye=de("./utils/common"),fe=de("./utils/strings"),xe=de("./zlib/messages"),ue=de("./zlib/zstream"),Fe=Object.prototype.toString,Ce=0,Te=-1,we=0,Me=8;function ge(Pe){if(!(this instanceof ge))return new ge(Pe);this.options=ye.assign({level:Te,method:Me,chunkSize:16384,windowBits:15,memLevel:8,strategy:we,to:""},Pe||{});var Re=this.options;Re.raw&&0<Re.windowBits?Re.windowBits=-Re.windowBits:Re.gzip&&0<Re.windowBits&&Re.windowBits<16&&(Re.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ue,this.strm.avail_out=0;var tt=ve.deflateInit2(this.strm,Re.level,Re.method,Re.windowBits,Re.memLevel,Re.strategy);if(tt!==Ce)throw new Error(xe[tt]);if(Re.header&&ve.deflateSetHeader(this.strm,Re.header),Re.dictionary){var ce;if(ce=typeof Re.dictionary=="string"?fe.string2buf(Re.dictionary):Fe.call(Re.dictionary)==="[object ArrayBuffer]"?new Uint8Array(Re.dictionary):Re.dictionary,(tt=ve.deflateSetDictionary(this.strm,ce))!==Ce)throw new Error(xe[tt]);this._dict_set=!0}}function Ae(Pe,Re){var tt=new ge(Re);if(tt.push(Pe,!0),tt.err)throw tt.msg||xe[tt.err];return tt.result}ge.prototype.push=function(Pe,Re){var tt,ce,Oe=this.strm,Ue=this.options.chunkSize;if(this.ended)return!1;ce=Re===~~Re?Re:Re===!0?4:0,typeof Pe=="string"?Oe.input=fe.string2buf(Pe):Fe.call(Pe)==="[object ArrayBuffer]"?Oe.input=new Uint8Array(Pe):Oe.input=Pe,Oe.next_in=0,Oe.avail_in=Oe.input.length;do{if(Oe.avail_out===0&&(Oe.output=new ye.Buf8(Ue),Oe.next_out=0,Oe.avail_out=Ue),(tt=ve.deflate(Oe,ce))!==1&&tt!==Ce)return this.onEnd(tt),!(this.ended=!0);Oe.avail_out!==0&&(Oe.avail_in!==0||ce!==4&&ce!==2)||(this.options.to==="string"?this.onData(fe.buf2binstring(ye.shrinkBuf(Oe.output,Oe.next_out))):this.onData(ye.shrinkBuf(Oe.output,Oe.next_out)))}while((0<Oe.avail_in||Oe.avail_out===0)&&tt!==1);return ce===4?(tt=ve.deflateEnd(this.strm),this.onEnd(tt),this.ended=!0,tt===Ce):ce!==2||(this.onEnd(Ce),!(Oe.avail_out=0))},ge.prototype.onData=function(Pe){this.chunks.push(Pe)},ge.prototype.onEnd=function(Pe){Pe===Ce&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ye.flattenChunks(this.chunks)),this.chunks=[],this.err=Pe,this.msg=this.strm.msg},De.Deflate=ge,De.deflate=Ae,De.deflateRaw=function(Pe,Re){return(Re=Re||{}).raw=!0,Ae(Pe,Re)},De.gzip=function(Pe,Re){return(Re=Re||{}).gzip=!0,Ae(Pe,Re)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(de,Ke,De){"use strict";var ve=de("./zlib/inflate"),ye=de("./utils/common"),fe=de("./utils/strings"),xe=de("./zlib/constants"),ue=de("./zlib/messages"),Fe=de("./zlib/zstream"),Ce=de("./zlib/gzheader"),Te=Object.prototype.toString;function we(ge){if(!(this instanceof we))return new we(ge);this.options=ye.assign({chunkSize:16384,windowBits:0,to:""},ge||{});var Ae=this.options;Ae.raw&&0<=Ae.windowBits&&Ae.windowBits<16&&(Ae.windowBits=-Ae.windowBits,Ae.windowBits===0&&(Ae.windowBits=-15)),!(0<=Ae.windowBits&&Ae.windowBits<16)||ge&&ge.windowBits||(Ae.windowBits+=32),15<Ae.windowBits&&Ae.windowBits<48&&!(15&Ae.windowBits)&&(Ae.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Fe,this.strm.avail_out=0;var Pe=ve.inflateInit2(this.strm,Ae.windowBits);if(Pe!==xe.Z_OK)throw new Error(ue[Pe]);this.header=new Ce,ve.inflateGetHeader(this.strm,this.header)}function Me(ge,Ae){var Pe=new we(Ae);if(Pe.push(ge,!0),Pe.err)throw Pe.msg||ue[Pe.err];return Pe.result}we.prototype.push=function(ge,Ae){var Pe,Re,tt,ce,Oe,Ue,ze=this.strm,nt=this.options.chunkSize,ke=this.options.dictionary,Ve=!1;if(this.ended)return!1;Re=Ae===~~Ae?Ae:Ae===!0?xe.Z_FINISH:xe.Z_NO_FLUSH,typeof ge=="string"?ze.input=fe.binstring2buf(ge):Te.call(ge)==="[object ArrayBuffer]"?ze.input=new Uint8Array(ge):ze.input=ge,ze.next_in=0,ze.avail_in=ze.input.length;do{if(ze.avail_out===0&&(ze.output=new ye.Buf8(nt),ze.next_out=0,ze.avail_out=nt),(Pe=ve.inflate(ze,xe.Z_NO_FLUSH))===xe.Z_NEED_DICT&&ke&&(Ue=typeof ke=="string"?fe.string2buf(ke):Te.call(ke)==="[object ArrayBuffer]"?new Uint8Array(ke):ke,Pe=ve.inflateSetDictionary(this.strm,Ue)),Pe===xe.Z_BUF_ERROR&&Ve===!0&&(Pe=xe.Z_OK,Ve=!1),Pe!==xe.Z_STREAM_END&&Pe!==xe.Z_OK)return this.onEnd(Pe),!(this.ended=!0);ze.next_out&&(ze.avail_out!==0&&Pe!==xe.Z_STREAM_END&&(ze.avail_in!==0||Re!==xe.Z_FINISH&&Re!==xe.Z_SYNC_FLUSH)||(this.options.to==="string"?(tt=fe.utf8border(ze.output,ze.next_out),ce=ze.next_out-tt,Oe=fe.buf2string(ze.output,tt),ze.next_out=ce,ze.avail_out=nt-ce,ce&&ye.arraySet(ze.output,ze.output,tt,ce,0),this.onData(Oe)):this.onData(ye.shrinkBuf(ze.output,ze.next_out)))),ze.avail_in===0&&ze.avail_out===0&&(Ve=!0)}while((0<ze.avail_in||ze.avail_out===0)&&Pe!==xe.Z_STREAM_END);return Pe===xe.Z_STREAM_END&&(Re=xe.Z_FINISH),Re===xe.Z_FINISH?(Pe=ve.inflateEnd(this.strm),this.onEnd(Pe),this.ended=!0,Pe===xe.Z_OK):Re!==xe.Z_SYNC_FLUSH||(this.onEnd(xe.Z_OK),!(ze.avail_out=0))},we.prototype.onData=function(ge){this.chunks.push(ge)},we.prototype.onEnd=function(ge){ge===xe.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ye.flattenChunks(this.chunks)),this.chunks=[],this.err=ge,this.msg=this.strm.msg},De.Inflate=we,De.inflate=Me,De.inflateRaw=function(ge,Ae){return(Ae=Ae||{}).raw=!0,Me(ge,Ae)},De.ungzip=Me},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(de,Ke,De){"use strict";var ve=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";De.assign=function(xe){for(var ue=Array.prototype.slice.call(arguments,1);ue.length;){var Fe=ue.shift();if(Fe){if(typeof Fe!="object")throw new TypeError(Fe+"must be non-object");for(var Ce in Fe)Fe.hasOwnProperty(Ce)&&(xe[Ce]=Fe[Ce])}}return xe},De.shrinkBuf=function(xe,ue){return xe.length===ue?xe:xe.subarray?xe.subarray(0,ue):(xe.length=ue,xe)};var ye={arraySet:function(xe,ue,Fe,Ce,Te){if(ue.subarray&&xe.subarray)xe.set(ue.subarray(Fe,Fe+Ce),Te);else for(var we=0;we<Ce;we++)xe[Te+we]=ue[Fe+we]},flattenChunks:function(xe){var ue,Fe,Ce,Te,we,Me;for(ue=Ce=0,Fe=xe.length;ue<Fe;ue++)Ce+=xe[ue].length;for(Me=new Uint8Array(Ce),ue=Te=0,Fe=xe.length;ue<Fe;ue++)we=xe[ue],Me.set(we,Te),Te+=we.length;return Me}},fe={arraySet:function(xe,ue,Fe,Ce,Te){for(var we=0;we<Ce;we++)xe[Te+we]=ue[Fe+we]},flattenChunks:function(xe){return[].concat.apply([],xe)}};De.setTyped=function(xe){xe?(De.Buf8=Uint8Array,De.Buf16=Uint16Array,De.Buf32=Int32Array,De.assign(De,ye)):(De.Buf8=Array,De.Buf16=Array,De.Buf32=Array,De.assign(De,fe))},De.setTyped(ve)},{}],42:[function(de,Ke,De){"use strict";var ve=de("./common"),ye=!0,fe=!0;try{String.fromCharCode.apply(null,[0])}catch(Ce){ye=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Ce){fe=!1}for(var xe=new ve.Buf8(256),ue=0;ue<256;ue++)xe[ue]=252<=ue?6:248<=ue?5:240<=ue?4:224<=ue?3:192<=ue?2:1;function Fe(Ce,Te){if(Te<65537&&(Ce.subarray&&fe||!Ce.subarray&&ye))return String.fromCharCode.apply(null,ve.shrinkBuf(Ce,Te));for(var we="",Me=0;Me<Te;Me++)we+=String.fromCharCode(Ce[Me]);return we}xe[254]=xe[254]=1,De.string2buf=function(Ce){var Te,we,Me,ge,Ae,Pe=Ce.length,Re=0;for(ge=0;ge<Pe;ge++)(64512&(we=Ce.charCodeAt(ge)))==55296&&ge+1<Pe&&(64512&(Me=Ce.charCodeAt(ge+1)))==56320&&(we=65536+(we-55296<<10)+(Me-56320),ge++),Re+=we<128?1:we<2048?2:we<65536?3:4;for(Te=new ve.Buf8(Re),ge=Ae=0;Ae<Re;ge++)(64512&(we=Ce.charCodeAt(ge)))==55296&&ge+1<Pe&&(64512&(Me=Ce.charCodeAt(ge+1)))==56320&&(we=65536+(we-55296<<10)+(Me-56320),ge++),we<128?Te[Ae++]=we:(we<2048?Te[Ae++]=192|we>>>6:(we<65536?Te[Ae++]=224|we>>>12:(Te[Ae++]=240|we>>>18,Te[Ae++]=128|we>>>12&63),Te[Ae++]=128|we>>>6&63),Te[Ae++]=128|63&we);return Te},De.buf2binstring=function(Ce){return Fe(Ce,Ce.length)},De.binstring2buf=function(Ce){for(var Te=new ve.Buf8(Ce.length),we=0,Me=Te.length;we<Me;we++)Te[we]=Ce.charCodeAt(we);return Te},De.buf2string=function(Ce,Te){var we,Me,ge,Ae,Pe=Te||Ce.length,Re=new Array(2*Pe);for(we=Me=0;we<Pe;)if((ge=Ce[we++])<128)Re[Me++]=ge;else if(4<(Ae=xe[ge]))Re[Me++]=65533,we+=Ae-1;else{for(ge&=Ae===2?31:Ae===3?15:7;1<Ae&&we<Pe;)ge=ge<<6|63&Ce[we++],Ae--;1<Ae?Re[Me++]=65533:ge<65536?Re[Me++]=ge:(ge-=65536,Re[Me++]=55296|ge>>10&1023,Re[Me++]=56320|1023&ge)}return Fe(Re,Me)},De.utf8border=function(Ce,Te){var we;for((Te=Te||Ce.length)>Ce.length&&(Te=Ce.length),we=Te-1;0<=we&&(192&Ce[we])==128;)we--;return we<0||we===0?Te:we+xe[Ce[we]]>Te?we:Te}},{"./common":41}],43:[function(de,Ke,De){"use strict";Ke.exports=function(ve,ye,fe,xe){for(var ue=65535&ve|0,Fe=ve>>>16&65535|0,Ce=0;fe!==0;){for(fe-=Ce=2e3<fe?2e3:fe;Fe=Fe+(ue=ue+ye[xe++]|0)|0,--Ce;);ue%=65521,Fe%=65521}return ue|Fe<<16|0}},{}],44:[function(de,Ke,De){"use strict";Ke.exports={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_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}},{}],45:[function(de,Ke,De){"use strict";var ve=function(){for(var ye,fe=[],xe=0;xe<256;xe++){ye=xe;for(var ue=0;ue<8;ue++)ye=1&ye?3988292384^ye>>>1:ye>>>1;fe[xe]=ye}return fe}();Ke.exports=function(ye,fe,xe,ue){var Fe=ve,Ce=ue+xe;ye^=-1;for(var Te=ue;Te<Ce;Te++)ye=ye>>>8^Fe[255&(ye^fe[Te])];return-1^ye}},{}],46:[function(de,Ke,De){"use strict";var ve,ye=de("../utils/common"),fe=de("./trees"),xe=de("./adler32"),ue=de("./crc32"),Fe=de("./messages"),Ce=0,Te=4,we=0,Me=-2,ge=-1,Ae=4,Pe=2,Re=8,tt=9,ce=286,Oe=30,Ue=19,ze=2*ce+1,nt=15,ke=3,Ve=258,et=Ve+ke+1,Se=42,qe=113,pe=1,be=2,gt=3,$e=4;function at(oe,ae){return oe.msg=Fe[ae],ae}function bt(oe){return(oe<<1)-(4<oe?9:0)}function Ze(oe){for(var ae=oe.length;0<=--ae;)oe[ae]=0}function se(oe){var ae=oe.state,te=ae.pending;te>oe.avail_out&&(te=oe.avail_out),te!==0&&(ye.arraySet(oe.output,ae.pending_buf,ae.pending_out,te,oe.next_out),oe.next_out+=te,ae.pending_out+=te,oe.total_out+=te,oe.avail_out-=te,ae.pending-=te,ae.pending===0&&(ae.pending_out=0))}function Be(oe,ae){fe._tr_flush_block(oe,0<=oe.block_start?oe.block_start:-1,oe.strstart-oe.block_start,ae),oe.block_start=oe.strstart,se(oe.strm)}function Je(oe,ae){oe.pending_buf[oe.pending++]=ae}function lt(oe,ae){oe.pending_buf[oe.pending++]=ae>>>8&255,oe.pending_buf[oe.pending++]=255&ae}function Ee(oe,ae){var te,x,re=oe.max_chain_length,ne=oe.strstart,le=oe.prev_length,Ie=oe.nice_match,Le=oe.strstart>oe.w_size-et?oe.strstart-(oe.w_size-et):0,Ye=oe.window,Ge=oe.w_mask,it=oe.prev,dt=oe.strstart+Ve,yt=Ye[ne+le-1],ot=Ye[ne+le];oe.prev_length>=oe.good_match&&(re>>=2),Ie>oe.lookahead&&(Ie=oe.lookahead);do if(Ye[(te=ae)+le]===ot&&Ye[te+le-1]===yt&&Ye[te]===Ye[ne]&&Ye[++te]===Ye[ne+1]){ne+=2,te++;do;while(Ye[++ne]===Ye[++te]&&Ye[++ne]===Ye[++te]&&Ye[++ne]===Ye[++te]&&Ye[++ne]===Ye[++te]&&Ye[++ne]===Ye[++te]&&Ye[++ne]===Ye[++te]&&Ye[++ne]===Ye[++te]&&Ye[++ne]===Ye[++te]&&ne<dt);if(x=Ve-(dt-ne),ne=dt-Ve,le<x){if(oe.match_start=ae,Ie<=(le=x))break;yt=Ye[ne+le-1],ot=Ye[ne+le]}}while((ae=it[ae&Ge])>Le&&--re!=0);return le<=oe.lookahead?le:oe.lookahead}function je(oe){var ae,te,x,re,ne,le,Ie,Le,Ye,Ge,it=oe.w_size;do{if(re=oe.window_size-oe.lookahead-oe.strstart,oe.strstart>=it+(it-et)){for(ye.arraySet(oe.window,oe.window,it,it,0),oe.match_start-=it,oe.strstart-=it,oe.block_start-=it,ae=te=oe.hash_size;x=oe.head[--ae],oe.head[ae]=it<=x?x-it:0,--te;);for(ae=te=it;x=oe.prev[--ae],oe.prev[ae]=it<=x?x-it:0,--te;);re+=it}if(oe.strm.avail_in===0)break;if(le=oe.strm,Ie=oe.window,Le=oe.strstart+oe.lookahead,Ye=re,Ge=void 0,Ge=le.avail_in,Ye<Ge&&(Ge=Ye),te=Ge===0?0:(le.avail_in-=Ge,ye.arraySet(Ie,le.input,le.next_in,Ge,Le),le.state.wrap===1?le.adler=xe(le.adler,Ie,Ge,Le):le.state.wrap===2&&(le.adler=ue(le.adler,Ie,Ge,Le)),le.next_in+=Ge,le.total_in+=Ge,Ge),oe.lookahead+=te,oe.lookahead+oe.insert>=ke)for(ne=oe.strstart-oe.insert,oe.ins_h=oe.window[ne],oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[ne+1])&oe.hash_mask;oe.insert&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[ne+ke-1])&oe.hash_mask,oe.prev[ne&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=ne,ne++,oe.insert--,!(oe.lookahead+oe.insert<ke)););}while(oe.lookahead<et&&oe.strm.avail_in!==0)}function rt(oe,ae){for(var te,x;;){if(oe.lookahead<et){if(je(oe),oe.lookahead<et&&ae===Ce)return pe;if(oe.lookahead===0)break}if(te=0,oe.lookahead>=ke&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+ke-1])&oe.hash_mask,te=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart),te!==0&&oe.strstart-te<=oe.w_size-et&&(oe.match_length=Ee(oe,te)),oe.match_length>=ke)if(x=fe._tr_tally(oe,oe.strstart-oe.match_start,oe.match_length-ke),oe.lookahead-=oe.match_length,oe.match_length<=oe.max_lazy_match&&oe.lookahead>=ke){for(oe.match_length--;oe.strstart++,oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+ke-1])&oe.hash_mask,te=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart,--oe.match_length!=0;);oe.strstart++}else oe.strstart+=oe.match_length,oe.match_length=0,oe.ins_h=oe.window[oe.strstart],oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+1])&oe.hash_mask;else x=fe._tr_tally(oe,0,oe.window[oe.strstart]),oe.lookahead--,oe.strstart++;if(x&&(Be(oe,!1),oe.strm.avail_out===0))return pe}return oe.insert=oe.strstart<ke-1?oe.strstart:ke-1,ae===Te?(Be(oe,!0),oe.strm.avail_out===0?gt:$e):oe.last_lit&&(Be(oe,!1),oe.strm.avail_out===0)?pe:be}function xt(oe,ae){for(var te,x,re;;){if(oe.lookahead<et){if(je(oe),oe.lookahead<et&&ae===Ce)return pe;if(oe.lookahead===0)break}if(te=0,oe.lookahead>=ke&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+ke-1])&oe.hash_mask,te=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart),oe.prev_length=oe.match_length,oe.prev_match=oe.match_start,oe.match_length=ke-1,te!==0&&oe.prev_length<oe.max_lazy_match&&oe.strstart-te<=oe.w_size-et&&(oe.match_length=Ee(oe,te),oe.match_length<=5&&(oe.strategy===1||oe.match_length===ke&&4096<oe.strstart-oe.match_start)&&(oe.match_length=ke-1)),oe.prev_length>=ke&&oe.match_length<=oe.prev_length){for(re=oe.strstart+oe.lookahead-ke,x=fe._tr_tally(oe,oe.strstart-1-oe.prev_match,oe.prev_length-ke),oe.lookahead-=oe.prev_length-1,oe.prev_length-=2;++oe.strstart<=re&&(oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[oe.strstart+ke-1])&oe.hash_mask,te=oe.prev[oe.strstart&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=oe.strstart),--oe.prev_length!=0;);if(oe.match_available=0,oe.match_length=ke-1,oe.strstart++,x&&(Be(oe,!1),oe.strm.avail_out===0))return pe}else if(oe.match_available){if((x=fe._tr_tally(oe,0,oe.window[oe.strstart-1]))&&Be(oe,!1),oe.strstart++,oe.lookahead--,oe.strm.avail_out===0)return pe}else oe.match_available=1,oe.strstart++,oe.lookahead--}return oe.match_available&&(x=fe._tr_tally(oe,0,oe.window[oe.strstart-1]),oe.match_available=0),oe.insert=oe.strstart<ke-1?oe.strstart:ke-1,ae===Te?(Be(oe,!0),oe.strm.avail_out===0?gt:$e):oe.last_lit&&(Be(oe,!1),oe.strm.avail_out===0)?pe:be}function ct(oe,ae,te,x,re){this.good_length=oe,this.max_lazy=ae,this.nice_length=te,this.max_chain=x,this.func=re}function wt(){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=Re,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 ye.Buf16(2*ze),this.dyn_dtree=new ye.Buf16(2*(2*Oe+1)),this.bl_tree=new ye.Buf16(2*(2*Ue+1)),Ze(this.dyn_ltree),Ze(this.dyn_dtree),Ze(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ye.Buf16(nt+1),this.heap=new ye.Buf16(2*ce+1),Ze(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ye.Buf16(2*ce+1),Ze(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ft(oe){var ae;return oe&&oe.state?(oe.total_in=oe.total_out=0,oe.data_type=Pe,(ae=oe.state).pending=0,ae.pending_out=0,ae.wrap<0&&(ae.wrap=-ae.wrap),ae.status=ae.wrap?Se:qe,oe.adler=ae.wrap===2?0:1,ae.last_flush=Ce,fe._tr_init(ae),we):at(oe,Me)}function It(oe){var ae=ft(oe);return ae===we&&function(te){te.window_size=2*te.w_size,Ze(te.head),te.max_lazy_match=ve[te.level].max_lazy,te.good_match=ve[te.level].good_length,te.nice_match=ve[te.level].nice_length,te.max_chain_length=ve[te.level].max_chain,te.strstart=0,te.block_start=0,te.lookahead=0,te.insert=0,te.match_length=te.prev_length=ke-1,te.match_available=0,te.ins_h=0}(oe.state),ae}function Dt(oe,ae,te,x,re,ne){if(!oe)return Me;var le=1;if(ae===ge&&(ae=6),x<0?(le=0,x=-x):15<x&&(le=2,x-=16),re<1||tt<re||te!==Re||x<8||15<x||ae<0||9<ae||ne<0||Ae<ne)return at(oe,Me);x===8&&(x=9);var Ie=new wt;return(oe.state=Ie).strm=oe,Ie.wrap=le,Ie.gzhead=null,Ie.w_bits=x,Ie.w_size=1<<Ie.w_bits,Ie.w_mask=Ie.w_size-1,Ie.hash_bits=re+7,Ie.hash_size=1<<Ie.hash_bits,Ie.hash_mask=Ie.hash_size-1,Ie.hash_shift=~~((Ie.hash_bits+ke-1)/ke),Ie.window=new ye.Buf8(2*Ie.w_size),Ie.head=new ye.Buf16(Ie.hash_size),Ie.prev=new ye.Buf16(Ie.w_size),Ie.lit_bufsize=1<<re+6,Ie.pending_buf_size=4*Ie.lit_bufsize,Ie.pending_buf=new ye.Buf8(Ie.pending_buf_size),Ie.d_buf=1*Ie.lit_bufsize,Ie.l_buf=3*Ie.lit_bufsize,Ie.level=ae,Ie.strategy=ne,Ie.method=te,It(oe)}ve=[new ct(0,0,0,0,function(oe,ae){var te=65535;for(te>oe.pending_buf_size-5&&(te=oe.pending_buf_size-5);;){if(oe.lookahead<=1){if(je(oe),oe.lookahead===0&&ae===Ce)return pe;if(oe.lookahead===0)break}oe.strstart+=oe.lookahead,oe.lookahead=0;var x=oe.block_start+te;if((oe.strstart===0||oe.strstart>=x)&&(oe.lookahead=oe.strstart-x,oe.strstart=x,Be(oe,!1),oe.strm.avail_out===0)||oe.strstart-oe.block_start>=oe.w_size-et&&(Be(oe,!1),oe.strm.avail_out===0))return pe}return oe.insert=0,ae===Te?(Be(oe,!0),oe.strm.avail_out===0?gt:$e):(oe.strstart>oe.block_start&&(Be(oe,!1),oe.strm.avail_out),pe)}),new ct(4,4,8,4,rt),new ct(4,5,16,8,rt),new ct(4,6,32,32,rt),new ct(4,4,16,16,xt),new ct(8,16,32,32,xt),new ct(8,16,128,128,xt),new ct(8,32,128,256,xt),new ct(32,128,258,1024,xt),new ct(32,258,258,4096,xt)],De.deflateInit=function(oe,ae){return Dt(oe,ae,Re,15,8,0)},De.deflateInit2=Dt,De.deflateReset=It,De.deflateResetKeep=ft,De.deflateSetHeader=function(oe,ae){return oe&&oe.state?oe.state.wrap!==2?Me:(oe.state.gzhead=ae,we):Me},De.deflate=function(oe,ae){var te,x,re,ne;if(!oe||!oe.state||5<ae||ae<0)return oe?at(oe,Me):Me;if(x=oe.state,!oe.output||!oe.input&&oe.avail_in!==0||x.status===666&&ae!==Te)return at(oe,oe.avail_out===0?-5:Me);if(x.strm=oe,te=x.last_flush,x.last_flush=ae,x.status===Se)if(x.wrap===2)oe.adler=0,Je(x,31),Je(x,139),Je(x,8),x.gzhead?(Je(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),Je(x,255&x.gzhead.time),Je(x,x.gzhead.time>>8&255),Je(x,x.gzhead.time>>16&255),Je(x,x.gzhead.time>>24&255),Je(x,x.level===9?2:2<=x.strategy||x.level<2?4:0),Je(x,255&x.gzhead.os),x.gzhead.extra&&x.gzhead.extra.length&&(Je(x,255&x.gzhead.extra.length),Je(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(oe.adler=ue(oe.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=69):(Je(x,0),Je(x,0),Je(x,0),Je(x,0),Je(x,0),Je(x,x.level===9?2:2<=x.strategy||x.level<2?4:0),Je(x,3),x.status=qe);else{var le=Re+(x.w_bits-8<<4)<<8;le|=(2<=x.strategy||x.level<2?0:x.level<6?1:x.level===6?2:3)<<6,x.strstart!==0&&(le|=32),le+=31-le%31,x.status=qe,lt(x,le),x.strstart!==0&&(lt(x,oe.adler>>>16),lt(x,65535&oe.adler)),oe.adler=1}if(x.status===69)if(x.gzhead.extra){for(re=x.pending;x.gzindex<(65535&x.gzhead.extra.length)&&(x.pending!==x.pending_buf_size||(x.gzhead.hcrc&&x.pending>re&&(oe.adler=ue(oe.adler,x.pending_buf,x.pending-re,re)),se(oe),re=x.pending,x.pending!==x.pending_buf_size));)Je(x,255&x.gzhead.extra[x.gzindex]),x.gzindex++;x.gzhead.hcrc&&x.pending>re&&(oe.adler=ue(oe.adler,x.pending_buf,x.pending-re,re)),x.gzindex===x.gzhead.extra.length&&(x.gzindex=0,x.status=73)}else x.status=73;if(x.status===73)if(x.gzhead.name){re=x.pending;do{if(x.pending===x.pending_buf_size&&(x.gzhead.hcrc&&x.pending>re&&(oe.adler=ue(oe.adler,x.pending_buf,x.pending-re,re)),se(oe),re=x.pending,x.pending===x.pending_buf_size)){ne=1;break}ne=x.gzindex<x.gzhead.name.length?255&x.gzhead.name.charCodeAt(x.gzindex++):0,Je(x,ne)}while(ne!==0);x.gzhead.hcrc&&x.pending>re&&(oe.adler=ue(oe.adler,x.pending_buf,x.pending-re,re)),ne===0&&(x.gzindex=0,x.status=91)}else x.status=91;if(x.status===91)if(x.gzhead.comment){re=x.pending;do{if(x.pending===x.pending_buf_size&&(x.gzhead.hcrc&&x.pending>re&&(oe.adler=ue(oe.adler,x.pending_buf,x.pending-re,re)),se(oe),re=x.pending,x.pending===x.pending_buf_size)){ne=1;break}ne=x.gzindex<x.gzhead.comment.length?255&x.gzhead.comment.charCodeAt(x.gzindex++):0,Je(x,ne)}while(ne!==0);x.gzhead.hcrc&&x.pending>re&&(oe.adler=ue(oe.adler,x.pending_buf,x.pending-re,re)),ne===0&&(x.status=103)}else x.status=103;if(x.status===103&&(x.gzhead.hcrc?(x.pending+2>x.pending_buf_size&&se(oe),x.pending+2<=x.pending_buf_size&&(Je(x,255&oe.adler),Je(x,oe.adler>>8&255),oe.adler=0,x.status=qe)):x.status=qe),x.pending!==0){if(se(oe),oe.avail_out===0)return x.last_flush=-1,we}else if(oe.avail_in===0&&bt(ae)<=bt(te)&&ae!==Te)return at(oe,-5);if(x.status===666&&oe.avail_in!==0)return at(oe,-5);if(oe.avail_in!==0||x.lookahead!==0||ae!==Ce&&x.status!==666){var Ie=x.strategy===2?function(Le,Ye){for(var Ge;;){if(Le.lookahead===0&&(je(Le),Le.lookahead===0)){if(Ye===Ce)return pe;break}if(Le.match_length=0,Ge=fe._tr_tally(Le,0,Le.window[Le.strstart]),Le.lookahead--,Le.strstart++,Ge&&(Be(Le,!1),Le.strm.avail_out===0))return pe}return Le.insert=0,Ye===Te?(Be(Le,!0),Le.strm.avail_out===0?gt:$e):Le.last_lit&&(Be(Le,!1),Le.strm.avail_out===0)?pe:be}(x,ae):x.strategy===3?function(Le,Ye){for(var Ge,it,dt,yt,ot=Le.window;;){if(Le.lookahead<=Ve){if(je(Le),Le.lookahead<=Ve&&Ye===Ce)return pe;if(Le.lookahead===0)break}if(Le.match_length=0,Le.lookahead>=ke&&0<Le.strstart&&(it=ot[dt=Le.strstart-1])===ot[++dt]&&it===ot[++dt]&&it===ot[++dt]){yt=Le.strstart+Ve;do;while(it===ot[++dt]&&it===ot[++dt]&&it===ot[++dt]&&it===ot[++dt]&&it===ot[++dt]&&it===ot[++dt]&&it===ot[++dt]&&it===ot[++dt]&&dt<yt);Le.match_length=Ve-(yt-dt),Le.match_length>Le.lookahead&&(Le.match_length=Le.lookahead)}if(Le.match_length>=ke?(Ge=fe._tr_tally(Le,1,Le.match_length-ke),Le.lookahead-=Le.match_length,Le.strstart+=Le.match_length,Le.match_length=0):(Ge=fe._tr_tally(Le,0,Le.window[Le.strstart]),Le.lookahead--,Le.strstart++),Ge&&(Be(Le,!1),Le.strm.avail_out===0))return pe}return Le.insert=0,Ye===Te?(Be(Le,!0),Le.strm.avail_out===0?gt:$e):Le.last_lit&&(Be(Le,!1),Le.strm.avail_out===0)?pe:be}(x,ae):ve[x.level].func(x,ae);if(Ie!==gt&&Ie!==$e||(x.status=666),Ie===pe||Ie===gt)return oe.avail_out===0&&(x.last_flush=-1),we;if(Ie===be&&(ae===1?fe._tr_align(x):ae!==5&&(fe._tr_stored_block(x,0,0,!1),ae===3&&(Ze(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),se(oe),oe.avail_out===0))return x.last_flush=-1,we}return ae!==Te?we:x.wrap<=0?1:(x.wrap===2?(Je(x,255&oe.adler),Je(x,oe.adler>>8&255),Je(x,oe.adler>>16&255),Je(x,oe.adler>>24&255),Je(x,255&oe.total_in),Je(x,oe.total_in>>8&255),Je(x,oe.total_in>>16&255),Je(x,oe.total_in>>24&255)):(lt(x,oe.adler>>>16),lt(x,65535&oe.adler)),se(oe),0<x.wrap&&(x.wrap=-x.wrap),x.pending!==0?we:1)},De.deflateEnd=function(oe){var ae;return oe&&oe.state?(ae=oe.state.status)!==Se&&ae!==69&&ae!==73&&ae!==91&&ae!==103&&ae!==qe&&ae!==666?at(oe,Me):(oe.state=null,ae===qe?at(oe,-3):we):Me},De.deflateSetDictionary=function(oe,ae){var te,x,re,ne,le,Ie,Le,Ye,Ge=ae.length;if(!oe||!oe.state||(ne=(te=oe.state).wrap)===2||ne===1&&te.status!==Se||te.lookahead)return Me;for(ne===1&&(oe.adler=xe(oe.adler,ae,Ge,0)),te.wrap=0,Ge>=te.w_size&&(ne===0&&(Ze(te.head),te.strstart=0,te.block_start=0,te.insert=0),Ye=new ye.Buf8(te.w_size),ye.arraySet(Ye,ae,Ge-te.w_size,te.w_size,0),ae=Ye,Ge=te.w_size),le=oe.avail_in,Ie=oe.next_in,Le=oe.input,oe.avail_in=Ge,oe.next_in=0,oe.input=ae,je(te);te.lookahead>=ke;){for(x=te.strstart,re=te.lookahead-(ke-1);te.ins_h=(te.ins_h<<te.hash_shift^te.window[x+ke-1])&te.hash_mask,te.prev[x&te.w_mask]=te.head[te.ins_h],te.head[te.ins_h]=x,x++,--re;);te.strstart=x,te.lookahead=ke-1,je(te)}return te.strstart+=te.lookahead,te.block_start=te.strstart,te.insert=te.lookahead,te.lookahead=0,te.match_length=te.prev_length=ke-1,te.match_available=0,oe.next_in=Ie,oe.input=Le,oe.avail_in=le,te.wrap=ne,we},De.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(de,Ke,De){"use strict";Ke.exports=function(){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}},{}],48:[function(de,Ke,De){"use strict";Ke.exports=function(ve,ye){var fe,xe,ue,Fe,Ce,Te,we,Me,ge,Ae,Pe,Re,tt,ce,Oe,Ue,ze,nt,ke,Ve,et,Se,qe,pe,be;fe=ve.state,xe=ve.next_in,pe=ve.input,ue=xe+(ve.avail_in-5),Fe=ve.next_out,be=ve.output,Ce=Fe-(ye-ve.avail_out),Te=Fe+(ve.avail_out-257),we=fe.dmax,Me=fe.wsize,ge=fe.whave,Ae=fe.wnext,Pe=fe.window,Re=fe.hold,tt=fe.bits,ce=fe.lencode,Oe=fe.distcode,Ue=(1<<fe.lenbits)-1,ze=(1<<fe.distbits)-1;e:do{tt<15&&(Re+=pe[xe++]<<tt,tt+=8,Re+=pe[xe++]<<tt,tt+=8),nt=ce[Re&Ue];t:for(;;){if(Re>>>=ke=nt>>>24,tt-=ke,(ke=nt>>>16&255)===0)be[Fe++]=65535&nt;else{if(!(16&ke)){if(!(64&ke)){nt=ce[(65535&nt)+(Re&(1<<ke)-1)];continue t}if(32&ke){fe.mode=12;break e}ve.msg="invalid literal/length code",fe.mode=30;break e}Ve=65535&nt,(ke&=15)&&(tt<ke&&(Re+=pe[xe++]<<tt,tt+=8),Ve+=Re&(1<<ke)-1,Re>>>=ke,tt-=ke),tt<15&&(Re+=pe[xe++]<<tt,tt+=8,Re+=pe[xe++]<<tt,tt+=8),nt=Oe[Re&ze];n:for(;;){if(Re>>>=ke=nt>>>24,tt-=ke,!(16&(ke=nt>>>16&255))){if(!(64&ke)){nt=Oe[(65535&nt)+(Re&(1<<ke)-1)];continue n}ve.msg="invalid distance code",fe.mode=30;break e}if(et=65535&nt,tt<(ke&=15)&&(Re+=pe[xe++]<<tt,(tt+=8)<ke&&(Re+=pe[xe++]<<tt,tt+=8)),we<(et+=Re&(1<<ke)-1)){ve.msg="invalid distance too far back",fe.mode=30;break e}if(Re>>>=ke,tt-=ke,(ke=Fe-Ce)<et){if(ge<(ke=et-ke)&&fe.sane){ve.msg="invalid distance too far back",fe.mode=30;break e}if(qe=Pe,(Se=0)===Ae){if(Se+=Me-ke,ke<Ve){for(Ve-=ke;be[Fe++]=Pe[Se++],--ke;);Se=Fe-et,qe=be}}else if(Ae<ke){if(Se+=Me+Ae-ke,(ke-=Ae)<Ve){for(Ve-=ke;be[Fe++]=Pe[Se++],--ke;);if(Se=0,Ae<Ve){for(Ve-=ke=Ae;be[Fe++]=Pe[Se++],--ke;);Se=Fe-et,qe=be}}}else if(Se+=Ae-ke,ke<Ve){for(Ve-=ke;be[Fe++]=Pe[Se++],--ke;);Se=Fe-et,qe=be}for(;2<Ve;)be[Fe++]=qe[Se++],be[Fe++]=qe[Se++],be[Fe++]=qe[Se++],Ve-=3;Ve&&(be[Fe++]=qe[Se++],1<Ve&&(be[Fe++]=qe[Se++]))}else{for(Se=Fe-et;be[Fe++]=be[Se++],be[Fe++]=be[Se++],be[Fe++]=be[Se++],2<(Ve-=3););Ve&&(be[Fe++]=be[Se++],1<Ve&&(be[Fe++]=be[Se++]))}break}}break}}while(xe<ue&&Fe<Te);xe-=Ve=tt>>3,Re&=(1<<(tt-=Ve<<3))-1,ve.next_in=xe,ve.next_out=Fe,ve.avail_in=xe<ue?ue-xe+5:5-(xe-ue),ve.avail_out=Fe<Te?Te-Fe+257:257-(Fe-Te),fe.hold=Re,fe.bits=tt}},{}],49:[function(de,Ke,De){"use strict";var ve=de("../utils/common"),ye=de("./adler32"),fe=de("./crc32"),xe=de("./inffast"),ue=de("./inftrees"),Fe=1,Ce=2,Te=0,we=-2,Me=1,ge=852,Ae=592;function Pe(Se){return(Se>>>24&255)+(Se>>>8&65280)+((65280&Se)<<8)+((255&Se)<<24)}function Re(){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 ve.Buf16(320),this.work=new ve.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function tt(Se){var qe;return Se&&Se.state?(qe=Se.state,Se.total_in=Se.total_out=qe.total=0,Se.msg="",qe.wrap&&(Se.adler=1&qe.wrap),qe.mode=Me,qe.last=0,qe.havedict=0,qe.dmax=32768,qe.head=null,qe.hold=0,qe.bits=0,qe.lencode=qe.lendyn=new ve.Buf32(ge),qe.distcode=qe.distdyn=new ve.Buf32(Ae),qe.sane=1,qe.back=-1,Te):we}function ce(Se){var qe;return Se&&Se.state?((qe=Se.state).wsize=0,qe.whave=0,qe.wnext=0,tt(Se)):we}function Oe(Se,qe){var pe,be;return Se&&Se.state?(be=Se.state,qe<0?(pe=0,qe=-qe):(pe=1+(qe>>4),qe<48&&(qe&=15)),qe&&(qe<8||15<qe)?we:(be.window!==null&&be.wbits!==qe&&(be.window=null),be.wrap=pe,be.wbits=qe,ce(Se))):we}function Ue(Se,qe){var pe,be;return Se?(be=new Re,(Se.state=be).window=null,(pe=Oe(Se,qe))!==Te&&(Se.state=null),pe):we}var ze,nt,ke=!0;function Ve(Se){if(ke){var qe;for(ze=new ve.Buf32(512),nt=new ve.Buf32(32),qe=0;qe<144;)Se.lens[qe++]=8;for(;qe<256;)Se.lens[qe++]=9;for(;qe<280;)Se.lens[qe++]=7;for(;qe<288;)Se.lens[qe++]=8;for(ue(Fe,Se.lens,0,288,ze,0,Se.work,{bits:9}),qe=0;qe<32;)Se.lens[qe++]=5;ue(Ce,Se.lens,0,32,nt,0,Se.work,{bits:5}),ke=!1}Se.lencode=ze,Se.lenbits=9,Se.distcode=nt,Se.distbits=5}function et(Se,qe,pe,be){var gt,$e=Se.state;return $e.window===null&&($e.wsize=1<<$e.wbits,$e.wnext=0,$e.whave=0,$e.window=new ve.Buf8($e.wsize)),be>=$e.wsize?(ve.arraySet($e.window,qe,pe-$e.wsize,$e.wsize,0),$e.wnext=0,$e.whave=$e.wsize):(be<(gt=$e.wsize-$e.wnext)&&(gt=be),ve.arraySet($e.window,qe,pe-be,gt,$e.wnext),(be-=gt)?(ve.arraySet($e.window,qe,pe-be,be,0),$e.wnext=be,$e.whave=$e.wsize):($e.wnext+=gt,$e.wnext===$e.wsize&&($e.wnext=0),$e.whave<$e.wsize&&($e.whave+=gt))),0}De.inflateReset=ce,De.inflateReset2=Oe,De.inflateResetKeep=tt,De.inflateInit=function(Se){return Ue(Se,15)},De.inflateInit2=Ue,De.inflate=function(Se,qe){var pe,be,gt,$e,at,bt,Ze,se,Be,Je,lt,Ee,je,rt,xt,ct,wt,ft,It,Dt,oe,ae,te,x,re=0,ne=new ve.Buf8(4),le=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Se||!Se.state||!Se.output||!Se.input&&Se.avail_in!==0)return we;(pe=Se.state).mode===12&&(pe.mode=13),at=Se.next_out,gt=Se.output,Ze=Se.avail_out,$e=Se.next_in,be=Se.input,bt=Se.avail_in,se=pe.hold,Be=pe.bits,Je=bt,lt=Ze,ae=Te;e:for(;;)switch(pe.mode){case Me:if(pe.wrap===0){pe.mode=13;break}for(;Be<16;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(2&pe.wrap&&se===35615){ne[pe.check=0]=255&se,ne[1]=se>>>8&255,pe.check=fe(pe.check,ne,2,0),Be=se=0,pe.mode=2;break}if(pe.flags=0,pe.head&&(pe.head.done=!1),!(1&pe.wrap)||(((255&se)<<8)+(se>>8))%31){Se.msg="incorrect header check",pe.mode=30;break}if((15&se)!=8){Se.msg="unknown compression method",pe.mode=30;break}if(Be-=4,oe=8+(15&(se>>>=4)),pe.wbits===0)pe.wbits=oe;else if(oe>pe.wbits){Se.msg="invalid window size",pe.mode=30;break}pe.dmax=1<<oe,Se.adler=pe.check=1,pe.mode=512&se?10:12,Be=se=0;break;case 2:for(;Be<16;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(pe.flags=se,(255&pe.flags)!=8){Se.msg="unknown compression method",pe.mode=30;break}if(57344&pe.flags){Se.msg="unknown header flags set",pe.mode=30;break}pe.head&&(pe.head.text=se>>8&1),512&pe.flags&&(ne[0]=255&se,ne[1]=se>>>8&255,pe.check=fe(pe.check,ne,2,0)),Be=se=0,pe.mode=3;case 3:for(;Be<32;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}pe.head&&(pe.head.time=se),512&pe.flags&&(ne[0]=255&se,ne[1]=se>>>8&255,ne[2]=se>>>16&255,ne[3]=se>>>24&255,pe.check=fe(pe.check,ne,4,0)),Be=se=0,pe.mode=4;case 4:for(;Be<16;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}pe.head&&(pe.head.xflags=255&se,pe.head.os=se>>8),512&pe.flags&&(ne[0]=255&se,ne[1]=se>>>8&255,pe.check=fe(pe.check,ne,2,0)),Be=se=0,pe.mode=5;case 5:if(1024&pe.flags){for(;Be<16;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}pe.length=se,pe.head&&(pe.head.extra_len=se),512&pe.flags&&(ne[0]=255&se,ne[1]=se>>>8&255,pe.check=fe(pe.check,ne,2,0)),Be=se=0}else pe.head&&(pe.head.extra=null);pe.mode=6;case 6:if(1024&pe.flags&&(bt<(Ee=pe.length)&&(Ee=bt),Ee&&(pe.head&&(oe=pe.head.extra_len-pe.length,pe.head.extra||(pe.head.extra=new Array(pe.head.extra_len)),ve.arraySet(pe.head.extra,be,$e,Ee,oe)),512&pe.flags&&(pe.check=fe(pe.check,be,Ee,$e)),bt-=Ee,$e+=Ee,pe.length-=Ee),pe.length))break e;pe.length=0,pe.mode=7;case 7:if(2048&pe.flags){if(bt===0)break e;for(Ee=0;oe=be[$e+Ee++],pe.head&&oe&&pe.length<65536&&(pe.head.name+=String.fromCharCode(oe)),oe&&Ee<bt;);if(512&pe.flags&&(pe.check=fe(pe.check,be,Ee,$e)),bt-=Ee,$e+=Ee,oe)break e}else pe.head&&(pe.head.name=null);pe.length=0,pe.mode=8;case 8:if(4096&pe.flags){if(bt===0)break e;for(Ee=0;oe=be[$e+Ee++],pe.head&&oe&&pe.length<65536&&(pe.head.comment+=String.fromCharCode(oe)),oe&&Ee<bt;);if(512&pe.flags&&(pe.check=fe(pe.check,be,Ee,$e)),bt-=Ee,$e+=Ee,oe)break e}else pe.head&&(pe.head.comment=null);pe.mode=9;case 9:if(512&pe.flags){for(;Be<16;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(se!==(65535&pe.check)){Se.msg="header crc mismatch",pe.mode=30;break}Be=se=0}pe.head&&(pe.head.hcrc=pe.flags>>9&1,pe.head.done=!0),Se.adler=pe.check=0,pe.mode=12;break;case 10:for(;Be<32;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}Se.adler=pe.check=Pe(se),Be=se=0,pe.mode=11;case 11:if(pe.havedict===0)return Se.next_out=at,Se.avail_out=Ze,Se.next_in=$e,Se.avail_in=bt,pe.hold=se,pe.bits=Be,2;Se.adler=pe.check=1,pe.mode=12;case 12:if(qe===5||qe===6)break e;case 13:if(pe.last){se>>>=7&Be,Be-=7&Be,pe.mode=27;break}for(;Be<3;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}switch(pe.last=1&se,Be-=1,3&(se>>>=1)){case 0:pe.mode=14;break;case 1:if(Ve(pe),pe.mode=20,qe!==6)break;se>>>=2,Be-=2;break e;case 2:pe.mode=17;break;case 3:Se.msg="invalid block type",pe.mode=30}se>>>=2,Be-=2;break;case 14:for(se>>>=7&Be,Be-=7&Be;Be<32;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if((65535&se)!=(se>>>16^65535)){Se.msg="invalid stored block lengths",pe.mode=30;break}if(pe.length=65535&se,Be=se=0,pe.mode=15,qe===6)break e;case 15:pe.mode=16;case 16:if(Ee=pe.length){if(bt<Ee&&(Ee=bt),Ze<Ee&&(Ee=Ze),Ee===0)break e;ve.arraySet(gt,be,$e,Ee,at),bt-=Ee,$e+=Ee,Ze-=Ee,at+=Ee,pe.length-=Ee;break}pe.mode=12;break;case 17:for(;Be<14;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(pe.nlen=257+(31&se),se>>>=5,Be-=5,pe.ndist=1+(31&se),se>>>=5,Be-=5,pe.ncode=4+(15&se),se>>>=4,Be-=4,286<pe.nlen||30<pe.ndist){Se.msg="too many length or distance symbols",pe.mode=30;break}pe.have=0,pe.mode=18;case 18:for(;pe.have<pe.ncode;){for(;Be<3;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}pe.lens[le[pe.have++]]=7&se,se>>>=3,Be-=3}for(;pe.have<19;)pe.lens[le[pe.have++]]=0;if(pe.lencode=pe.lendyn,pe.lenbits=7,te={bits:pe.lenbits},ae=ue(0,pe.lens,0,19,pe.lencode,0,pe.work,te),pe.lenbits=te.bits,ae){Se.msg="invalid code lengths set",pe.mode=30;break}pe.have=0,pe.mode=19;case 19:for(;pe.have<pe.nlen+pe.ndist;){for(;ct=(re=pe.lencode[se&(1<<pe.lenbits)-1])>>>16&255,wt=65535&re,!((xt=re>>>24)<=Be);){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(wt<16)se>>>=xt,Be-=xt,pe.lens[pe.have++]=wt;else{if(wt===16){for(x=xt+2;Be<x;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(se>>>=xt,Be-=xt,pe.have===0){Se.msg="invalid bit length repeat",pe.mode=30;break}oe=pe.lens[pe.have-1],Ee=3+(3&se),se>>>=2,Be-=2}else if(wt===17){for(x=xt+3;Be<x;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}Be-=xt,oe=0,Ee=3+(7&(se>>>=xt)),se>>>=3,Be-=3}else{for(x=xt+7;Be<x;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}Be-=xt,oe=0,Ee=11+(127&(se>>>=xt)),se>>>=7,Be-=7}if(pe.have+Ee>pe.nlen+pe.ndist){Se.msg="invalid bit length repeat",pe.mode=30;break}for(;Ee--;)pe.lens[pe.have++]=oe}}if(pe.mode===30)break;if(pe.lens[256]===0){Se.msg="invalid code -- missing end-of-block",pe.mode=30;break}if(pe.lenbits=9,te={bits:pe.lenbits},ae=ue(Fe,pe.lens,0,pe.nlen,pe.lencode,0,pe.work,te),pe.lenbits=te.bits,ae){Se.msg="invalid literal/lengths set",pe.mode=30;break}if(pe.distbits=6,pe.distcode=pe.distdyn,te={bits:pe.distbits},ae=ue(Ce,pe.lens,pe.nlen,pe.ndist,pe.distcode,0,pe.work,te),pe.distbits=te.bits,ae){Se.msg="invalid distances set",pe.mode=30;break}if(pe.mode=20,qe===6)break e;case 20:pe.mode=21;case 21:if(6<=bt&&258<=Ze){Se.next_out=at,Se.avail_out=Ze,Se.next_in=$e,Se.avail_in=bt,pe.hold=se,pe.bits=Be,xe(Se,lt),at=Se.next_out,gt=Se.output,Ze=Se.avail_out,$e=Se.next_in,be=Se.input,bt=Se.avail_in,se=pe.hold,Be=pe.bits,pe.mode===12&&(pe.back=-1);break}for(pe.back=0;ct=(re=pe.lencode[se&(1<<pe.lenbits)-1])>>>16&255,wt=65535&re,!((xt=re>>>24)<=Be);){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(ct&&!(240&ct)){for(ft=xt,It=ct,Dt=wt;ct=(re=pe.lencode[Dt+((se&(1<<ft+It)-1)>>ft)])>>>16&255,wt=65535&re,!(ft+(xt=re>>>24)<=Be);){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}se>>>=ft,Be-=ft,pe.back+=ft}if(se>>>=xt,Be-=xt,pe.back+=xt,pe.length=wt,ct===0){pe.mode=26;break}if(32&ct){pe.back=-1,pe.mode=12;break}if(64&ct){Se.msg="invalid literal/length code",pe.mode=30;break}pe.extra=15&ct,pe.mode=22;case 22:if(pe.extra){for(x=pe.extra;Be<x;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}pe.length+=se&(1<<pe.extra)-1,se>>>=pe.extra,Be-=pe.extra,pe.back+=pe.extra}pe.was=pe.length,pe.mode=23;case 23:for(;ct=(re=pe.distcode[se&(1<<pe.distbits)-1])>>>16&255,wt=65535&re,!((xt=re>>>24)<=Be);){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(!(240&ct)){for(ft=xt,It=ct,Dt=wt;ct=(re=pe.distcode[Dt+((se&(1<<ft+It)-1)>>ft)])>>>16&255,wt=65535&re,!(ft+(xt=re>>>24)<=Be);){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}se>>>=ft,Be-=ft,pe.back+=ft}if(se>>>=xt,Be-=xt,pe.back+=xt,64&ct){Se.msg="invalid distance code",pe.mode=30;break}pe.offset=wt,pe.extra=15&ct,pe.mode=24;case 24:if(pe.extra){for(x=pe.extra;Be<x;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}pe.offset+=se&(1<<pe.extra)-1,se>>>=pe.extra,Be-=pe.extra,pe.back+=pe.extra}if(pe.offset>pe.dmax){Se.msg="invalid distance too far back",pe.mode=30;break}pe.mode=25;case 25:if(Ze===0)break e;if(Ee=lt-Ze,pe.offset>Ee){if((Ee=pe.offset-Ee)>pe.whave&&pe.sane){Se.msg="invalid distance too far back",pe.mode=30;break}je=Ee>pe.wnext?(Ee-=pe.wnext,pe.wsize-Ee):pe.wnext-Ee,Ee>pe.length&&(Ee=pe.length),rt=pe.window}else rt=gt,je=at-pe.offset,Ee=pe.length;for(Ze<Ee&&(Ee=Ze),Ze-=Ee,pe.length-=Ee;gt[at++]=rt[je++],--Ee;);pe.length===0&&(pe.mode=21);break;case 26:if(Ze===0)break e;gt[at++]=pe.length,Ze--,pe.mode=21;break;case 27:if(pe.wrap){for(;Be<32;){if(bt===0)break e;bt--,se|=be[$e++]<<Be,Be+=8}if(lt-=Ze,Se.total_out+=lt,pe.total+=lt,lt&&(Se.adler=pe.check=pe.flags?fe(pe.check,gt,lt,at-lt):ye(pe.check,gt,lt,at-lt)),lt=Ze,(pe.flags?se:Pe(se))!==pe.check){Se.msg="incorrect data check",pe.mode=30;break}Be=se=0}pe.mode=28;case 28:if(pe.wrap&&pe.flags){for(;Be<32;){if(bt===0)break e;bt--,se+=be[$e++]<<Be,Be+=8}if(se!==(4294967295&pe.total)){Se.msg="incorrect length check",pe.mode=30;break}Be=se=0}pe.mode=29;case 29:ae=1;break e;case 30:ae=-3;break e;case 31:return-4;case 32:default:return we}return Se.next_out=at,Se.avail_out=Ze,Se.next_in=$e,Se.avail_in=bt,pe.hold=se,pe.bits=Be,(pe.wsize||lt!==Se.avail_out&&pe.mode<30&&(pe.mode<27||qe!==4))&&et(Se,Se.output,Se.next_out,lt-Se.avail_out)?(pe.mode=31,-4):(Je-=Se.avail_in,lt-=Se.avail_out,Se.total_in+=Je,Se.total_out+=lt,pe.total+=lt,pe.wrap&<&&(Se.adler=pe.check=pe.flags?fe(pe.check,gt,lt,Se.next_out-lt):ye(pe.check,gt,lt,Se.next_out-lt)),Se.data_type=pe.bits+(pe.last?64:0)+(pe.mode===12?128:0)+(pe.mode===20||pe.mode===15?256:0),(Je==0&<===0||qe===4)&&ae===Te&&(ae=-5),ae)},De.inflateEnd=function(Se){if(!Se||!Se.state)return we;var qe=Se.state;return qe.window&&(qe.window=null),Se.state=null,Te},De.inflateGetHeader=function(Se,qe){var pe;return Se&&Se.state&&2&(pe=Se.state).wrap?((pe.head=qe).done=!1,Te):we},De.inflateSetDictionary=function(Se,qe){var pe,be=qe.length;return Se&&Se.state?(pe=Se.state).wrap!==0&&pe.mode!==11?we:pe.mode===11&&ye(1,qe,be,0)!==pe.check?-3:et(Se,qe,be,be)?(pe.mode=31,-4):(pe.havedict=1,Te):we},De.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(de,Ke,De){"use strict";var ve=de("../utils/common"),ye=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],fe=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],xe=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],ue=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];Ke.exports=function(Fe,Ce,Te,we,Me,ge,Ae,Pe){var Re,tt,ce,Oe,Ue,ze,nt,ke,Ve,et=Pe.bits,Se=0,qe=0,pe=0,be=0,gt=0,$e=0,at=0,bt=0,Ze=0,se=0,Be=null,Je=0,lt=new ve.Buf16(16),Ee=new ve.Buf16(16),je=null,rt=0;for(Se=0;Se<=15;Se++)lt[Se]=0;for(qe=0;qe<we;qe++)lt[Ce[Te+qe]]++;for(gt=et,be=15;1<=be&<[be]===0;be--);if(be<gt&&(gt=be),be===0)return Me[ge++]=20971520,Me[ge++]=20971520,Pe.bits=1,0;for(pe=1;pe<be&<[pe]===0;pe++);for(gt<pe&&(gt=pe),Se=bt=1;Se<=15;Se++)if(bt<<=1,(bt-=lt[Se])<0)return-1;if(0<bt&&(Fe===0||be!==1))return-1;for(Ee[1]=0,Se=1;Se<15;Se++)Ee[Se+1]=Ee[Se]+lt[Se];for(qe=0;qe<we;qe++)Ce[Te+qe]!==0&&(Ae[Ee[Ce[Te+qe]]++]=qe);if(ze=Fe===0?(Be=je=Ae,19):Fe===1?(Be=ye,Je-=257,je=fe,rt-=257,256):(Be=xe,je=ue,-1),Se=pe,Ue=ge,at=qe=se=0,ce=-1,Oe=(Ze=1<<($e=gt))-1,Fe===1&&852<Ze||Fe===2&&592<Ze)return 1;for(;;){for(nt=Se-at,Ve=Ae[qe]<ze?(ke=0,Ae[qe]):Ae[qe]>ze?(ke=je[rt+Ae[qe]],Be[Je+Ae[qe]]):(ke=96,0),Re=1<<Se-at,pe=tt=1<<$e;Me[Ue+(se>>at)+(tt-=Re)]=nt<<24|ke<<16|Ve|0,tt!==0;);for(Re=1<<Se-1;seℜ)Re>>=1;if(Re!==0?(se&=Re-1,se+=Re):se=0,qe++,--lt[Se]==0){if(Se===be)break;Se=Ce[Te+Ae[qe]]}if(gt<Se&&(se&Oe)!==ce){for(at===0&&(at=gt),Ue+=pe,bt=1<<($e=Se-at);$e+at<be&&!((bt-=lt[$e+at])<=0);)$e++,bt<<=1;if(Ze+=1<<$e,Fe===1&&852<Ze||Fe===2&&592<Ze)return 1;Me[ce=se&Oe]=gt<<24|$e<<16|Ue-ge|0}}return se!==0&&(Me[Ue+se]=Se-at<<24|64<<16|0),Pe.bits=gt,0}},{"../utils/common":41}],51:[function(de,Ke,De){"use strict";Ke.exports={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"}},{}],52:[function(de,Ke,De){"use strict";var ve=de("../utils/common"),ye=0,fe=1;function xe(re){for(var ne=re.length;0<=--ne;)re[ne]=0}var ue=0,Fe=29,Ce=256,Te=Ce+1+Fe,we=30,Me=19,ge=2*Te+1,Ae=15,Pe=16,Re=7,tt=256,ce=16,Oe=17,Ue=18,ze=[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],nt=[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],ke=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ve=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],et=new Array(2*(Te+2));xe(et);var Se=new Array(2*we);xe(Se);var qe=new Array(512);xe(qe);var pe=new Array(256);xe(pe);var be=new Array(Fe);xe(be);var gt,$e,at,bt=new Array(we);function Ze(re,ne,le,Ie,Le){this.static_tree=re,this.extra_bits=ne,this.extra_base=le,this.elems=Ie,this.max_length=Le,this.has_stree=re&&re.length}function se(re,ne){this.dyn_tree=re,this.max_code=0,this.stat_desc=ne}function Be(re){return re<256?qe[re]:qe[256+(re>>>7)]}function Je(re,ne){re.pending_buf[re.pending++]=255&ne,re.pending_buf[re.pending++]=ne>>>8&255}function lt(re,ne,le){re.bi_valid>Pe-le?(re.bi_buf|=ne<<re.bi_valid&65535,Je(re,re.bi_buf),re.bi_buf=ne>>Pe-re.bi_valid,re.bi_valid+=le-Pe):(re.bi_buf|=ne<<re.bi_valid&65535,re.bi_valid+=le)}function Ee(re,ne,le){lt(re,le[2*ne],le[2*ne+1])}function je(re,ne){for(var le=0;le|=1&re,re>>>=1,le<<=1,0<--ne;);return le>>>1}function rt(re,ne,le){var Ie,Le,Ye=new Array(Ae+1),Ge=0;for(Ie=1;Ie<=Ae;Ie++)Ye[Ie]=Ge=Ge+le[Ie-1]<<1;for(Le=0;Le<=ne;Le++){var it=re[2*Le+1];it!==0&&(re[2*Le]=je(Ye[it]++,it))}}function xt(re){var ne;for(ne=0;ne<Te;ne++)re.dyn_ltree[2*ne]=0;for(ne=0;ne<we;ne++)re.dyn_dtree[2*ne]=0;for(ne=0;ne<Me;ne++)re.bl_tree[2*ne]=0;re.dyn_ltree[2*tt]=1,re.opt_len=re.static_len=0,re.last_lit=re.matches=0}function ct(re){8<re.bi_valid?Je(re,re.bi_buf):0<re.bi_valid&&(re.pending_buf[re.pending++]=re.bi_buf),re.bi_buf=0,re.bi_valid=0}function wt(re,ne,le,Ie){var Le=2*ne,Ye=2*le;return re[Le]<re[Ye]||re[Le]===re[Ye]&&Ie[ne]<=Ie[le]}function ft(re,ne,le){for(var Ie=re.heap[le],Le=le<<1;Le<=re.heap_len&&(Le<re.heap_len&&wt(ne,re.heap[Le+1],re.heap[Le],re.depth)&&Le++,!wt(ne,Ie,re.heap[Le],re.depth));)re.heap[le]=re.heap[Le],le=Le,Le<<=1;re.heap[le]=Ie}function It(re,ne,le){var Ie,Le,Ye,Ge,it=0;if(re.last_lit!==0)for(;Ie=re.pending_buf[re.d_buf+2*it]<<8|re.pending_buf[re.d_buf+2*it+1],Le=re.pending_buf[re.l_buf+it],it++,Ie===0?Ee(re,Le,ne):(Ee(re,(Ye=pe[Le])+Ce+1,ne),(Ge=ze[Ye])!==0&<(re,Le-=be[Ye],Ge),Ee(re,Ye=Be(--Ie),le),(Ge=nt[Ye])!==0&<(re,Ie-=bt[Ye],Ge)),it<re.last_lit;);Ee(re,tt,ne)}function Dt(re,ne){var le,Ie,Le,Ye=ne.dyn_tree,Ge=ne.stat_desc.static_tree,it=ne.stat_desc.has_stree,dt=ne.stat_desc.elems,yt=-1;for(re.heap_len=0,re.heap_max=ge,le=0;le<dt;le++)Ye[2*le]!==0?(re.heap[++re.heap_len]=yt=le,re.depth[le]=0):Ye[2*le+1]=0;for(;re.heap_len<2;)Ye[2*(Le=re.heap[++re.heap_len]=yt<2?++yt:0)]=1,re.depth[Le]=0,re.opt_len--,it&&(re.static_len-=Ge[2*Le+1]);for(ne.max_code=yt,le=re.heap_len>>1;1<=le;le--)ft(re,Ye,le);for(Le=dt;le=re.heap[1],re.heap[1]=re.heap[re.heap_len--],ft(re,Ye,1),Ie=re.heap[1],re.heap[--re.heap_max]=le,re.heap[--re.heap_max]=Ie,Ye[2*Le]=Ye[2*le]+Ye[2*Ie],re.depth[Le]=(re.depth[le]>=re.depth[Ie]?re.depth[le]:re.depth[Ie])+1,Ye[2*le+1]=Ye[2*Ie+1]=Le,re.heap[1]=Le++,ft(re,Ye,1),2<=re.heap_len;);re.heap[--re.heap_max]=re.heap[1],function(ot,st){var Vt,kt,un,$t,Rt,Kt,qt=st.dyn_tree,Et=st.max_code,Tt=st.stat_desc.static_tree,on=st.stat_desc.has_stree,mn=st.stat_desc.extra_bits,vt=st.stat_desc.extra_base,Mt=st.stat_desc.max_length,Yt=0;for($t=0;$t<=Ae;$t++)ot.bl_count[$t]=0;for(qt[2*ot.heap[ot.heap_max]+1]=0,Vt=ot.heap_max+1;Vt<ge;Vt++)Mt<($t=qt[2*qt[2*(kt=ot.heap[Vt])+1]+1]+1)&&($t=Mt,Yt++),qt[2*kt+1]=$t,Et<kt||(ot.bl_count[$t]++,Rt=0,vt<=kt&&(Rt=mn[kt-vt]),Kt=qt[2*kt],ot.opt_len+=Kt*($t+Rt),on&&(ot.static_len+=Kt*(Tt[2*kt+1]+Rt)));if(Yt!==0){do{for($t=Mt-1;ot.bl_count[$t]===0;)$t--;ot.bl_count[$t]--,ot.bl_count[$t+1]+=2,ot.bl_count[Mt]--,Yt-=2}while(0<Yt);for($t=Mt;$t!==0;$t--)for(kt=ot.bl_count[$t];kt!==0;)Et<(un=ot.heap[--Vt])||(qt[2*un+1]!==$t&&(ot.opt_len+=($t-qt[2*un+1])*qt[2*un],qt[2*un+1]=$t),kt--)}}(re,ne),rt(Ye,yt,re.bl_count)}function oe(re,ne,le){var Ie,Le,Ye=-1,Ge=ne[1],it=0,dt=7,yt=4;for(Ge===0&&(dt=138,yt=3),ne[2*(le+1)+1]=65535,Ie=0;Ie<=le;Ie++)Le=Ge,Ge=ne[2*(Ie+1)+1],++it<dt&&Le===Ge||(it<yt?re.bl_tree[2*Le]+=it:Le!==0?(Le!==Ye&&re.bl_tree[2*Le]++,re.bl_tree[2*ce]++):it<=10?re.bl_tree[2*Oe]++:re.bl_tree[2*Ue]++,Ye=Le,yt=(it=0)===Ge?(dt=138,3):Le===Ge?(dt=6,3):(dt=7,4))}function ae(re,ne,le){var Ie,Le,Ye=-1,Ge=ne[1],it=0,dt=7,yt=4;for(Ge===0&&(dt=138,yt=3),Ie=0;Ie<=le;Ie++)if(Le=Ge,Ge=ne[2*(Ie+1)+1],!(++it<dt&&Le===Ge)){if(it<yt)for(;Ee(re,Le,re.bl_tree),--it!=0;);else Le!==0?(Le!==Ye&&(Ee(re,Le,re.bl_tree),it--),Ee(re,ce,re.bl_tree),lt(re,it-3,2)):it<=10?(Ee(re,Oe,re.bl_tree),lt(re,it-3,3)):(Ee(re,Ue,re.bl_tree),lt(re,it-11,7));Ye=Le,yt=(it=0)===Ge?(dt=138,3):Le===Ge?(dt=6,3):(dt=7,4)}}xe(bt);var te=!1;function x(re,ne,le,Ie){lt(re,(ue<<1)+(Ie?1:0),3),function(Le,Ye,Ge,it){ct(Le),it&&(Je(Le,Ge),Je(Le,~Ge)),ve.arraySet(Le.pending_buf,Le.window,Ye,Ge,Le.pending),Le.pending+=Ge}(re,ne,le,!0)}De._tr_init=function(re){te||(function(){var ne,le,Ie,Le,Ye,Ge=new Array(Ae+1);for(Le=Ie=0;Le<Fe-1;Le++)for(be[Le]=Ie,ne=0;ne<1<<ze[Le];ne++)pe[Ie++]=Le;for(pe[Ie-1]=Le,Le=Ye=0;Le<16;Le++)for(bt[Le]=Ye,ne=0;ne<1<<nt[Le];ne++)qe[Ye++]=Le;for(Ye>>=7;Le<we;Le++)for(bt[Le]=Ye<<7,ne=0;ne<1<<nt[Le]-7;ne++)qe[256+Ye++]=Le;for(le=0;le<=Ae;le++)Ge[le]=0;for(ne=0;ne<=143;)et[2*ne+1]=8,ne++,Ge[8]++;for(;ne<=255;)et[2*ne+1]=9,ne++,Ge[9]++;for(;ne<=279;)et[2*ne+1]=7,ne++,Ge[7]++;for(;ne<=287;)et[2*ne+1]=8,ne++,Ge[8]++;for(rt(et,Te+1,Ge),ne=0;ne<we;ne++)Se[2*ne+1]=5,Se[2*ne]=je(ne,5);gt=new Ze(et,ze,Ce+1,Te,Ae),$e=new Ze(Se,nt,0,we,Ae),at=new Ze(new Array(0),ke,0,Me,Re)}(),te=!0),re.l_desc=new se(re.dyn_ltree,gt),re.d_desc=new se(re.dyn_dtree,$e),re.bl_desc=new se(re.bl_tree,at),re.bi_buf=0,re.bi_valid=0,xt(re)},De._tr_stored_block=x,De._tr_flush_block=function(re,ne,le,Ie){var Le,Ye,Ge=0;0<re.level?(re.strm.data_type===2&&(re.strm.data_type=function(it){var dt,yt=4093624447;for(dt=0;dt<=31;dt++,yt>>>=1)if(1&yt&&it.dyn_ltree[2*dt]!==0)return ye;if(it.dyn_ltree[18]!==0||it.dyn_ltree[20]!==0||it.dyn_ltree[26]!==0)return fe;for(dt=32;dt<Ce;dt++)if(it.dyn_ltree[2*dt]!==0)return fe;return ye}(re)),Dt(re,re.l_desc),Dt(re,re.d_desc),Ge=function(it){var dt;for(oe(it,it.dyn_ltree,it.l_desc.max_code),oe(it,it.dyn_dtree,it.d_desc.max_code),Dt(it,it.bl_desc),dt=Me-1;3<=dt&&it.bl_tree[2*Ve[dt]+1]===0;dt--);return it.opt_len+=3*(dt+1)+5+5+4,dt}(re),Le=re.opt_len+3+7>>>3,(Ye=re.static_len+3+7>>>3)<=Le&&(Le=Ye)):Le=Ye=le+5,le+4<=Le&&ne!==-1?x(re,ne,le,Ie):re.strategy===4||Ye===Le?(lt(re,2+(Ie?1:0),3),It(re,et,Se)):(lt(re,4+(Ie?1:0),3),function(it,dt,yt,ot){var st;for(lt(it,dt-257,5),lt(it,yt-1,5),lt(it,ot-4,4),st=0;st<ot;st++)lt(it,it.bl_tree[2*Ve[st]+1],3);ae(it,it.dyn_ltree,dt-1),ae(it,it.dyn_dtree,yt-1)}(re,re.l_desc.max_code+1,re.d_desc.max_code+1,Ge+1),It(re,re.dyn_ltree,re.dyn_dtree)),xt(re),Ie&&ct(re)},De._tr_tally=function(re,ne,le){return re.pending_buf[re.d_buf+2*re.last_lit]=ne>>>8&255,re.pending_buf[re.d_buf+2*re.last_lit+1]=255&ne,re.pending_buf[re.l_buf+re.last_lit]=255&le,re.last_lit++,ne===0?re.dyn_ltree[2*le]++:(re.matches++,ne--,re.dyn_ltree[2*(pe[le]+Ce+1)]++,re.dyn_dtree[2*Be(ne)]++),re.last_lit===re.lit_bufsize-1},De._tr_align=function(re){lt(re,2,3),Ee(re,tt,et),function(ne){ne.bi_valid===16?(Je(ne,ne.bi_buf),ne.bi_buf=0,ne.bi_valid=0):8<=ne.bi_valid&&(ne.pending_buf[ne.pending++]=255&ne.bi_buf,ne.bi_buf>>=8,ne.bi_valid-=8)}(re)}},{"../utils/common":41}],53:[function(de,Ke,De){"use strict";Ke.exports=function(){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}},{}],54:[function(de,Ke,De){(function(ve){(function(ye,fe){"use strict";if(!ye.setImmediate){var xe,ue,Fe,Ce,Te=1,we={},Me=!1,ge=ye.document,Ae=Object.getPrototypeOf&&Object.getPrototypeOf(ye);Ae=Ae&&Ae.setTimeout?Ae:ye,xe={}.toString.call(ye.process)==="[object process]"?function(ce){We.nextTick(function(){Re(ce)})}:function(){if(ye.postMessage&&!ye.importScripts){var ce=!0,Oe=ye.onmessage;return ye.onmessage=function(){ce=!1},ye.postMessage("","*"),ye.onmessage=Oe,ce}}()?(Ce="setImmediate$"+Math.random()+"$",ye.addEventListener?ye.addEventListener("message",tt,!1):ye.attachEvent("onmessage",tt),function(ce){ye.postMessage(Ce+ce,"*")}):ye.MessageChannel?((Fe=new MessageChannel).port1.onmessage=function(ce){Re(ce.data)},function(ce){Fe.port2.postMessage(ce)}):ge&&"onreadystatechange"in ge.createElement("script")?(ue=ge.documentElement,function(ce){var Oe=ge.createElement("script");Oe.onreadystatechange=function(){Re(ce),Oe.onreadystatechange=null,ue.removeChild(Oe),Oe=null},ue.appendChild(Oe)}):function(ce){setTimeout(Re,0,ce)},Ae.setImmediate=function(ce){typeof ce!="function"&&(ce=new Function(""+ce));for(var Oe=new Array(arguments.length-1),Ue=0;Ue<Oe.length;Ue++)Oe[Ue]=arguments[Ue+1];var ze={callback:ce,args:Oe};return we[Te]=ze,xe(Te),Te++},Ae.clearImmediate=Pe}function Pe(ce){delete we[ce]}function Re(ce){if(Me)setTimeout(Re,0,ce);else{var Oe=we[ce];if(Oe){Me=!0;try{(function(Ue){var ze=Ue.callback,nt=Ue.args;switch(nt.length){case 0:ze();break;case 1:ze(nt[0]);break;case 2:ze(nt[0],nt[1]);break;case 3:ze(nt[0],nt[1],nt[2]);break;default:ze.apply(fe,nt)}})(Oe)}finally{Pe(ce),Me=!1}}}}function tt(ce){ce.source===ye&&typeof ce.data=="string"&&ce.data.indexOf(Ce)===0&&Re(+ce.data.slice(Ce.length))}})(typeof self=="undefined"?ve===void 0?this:ve:self)}).call(this,typeof E.g!="undefined"?E.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},2859:function(wn,zt,E){"use strict";E.d(zt,{hP:function(){return Dt}});var b=function(oe,ae){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,x){te.__proto__=x}||function(te,x){for(var re in x)Object.prototype.hasOwnProperty.call(x,re)&&(te[re]=x[re])})(oe,ae)};function We(oe,ae){function te(){this.constructor=oe}b(oe,ae),oe.prototype=ae===null?Object.create(ae):(te.prototype=ae.prototype,new te)}function de(oe,ae,te,x){return new(te||(te=Promise))(function(re,ne){function le(Ye){try{Le(x.next(Ye))}catch(Ge){ne(Ge)}}function Ie(Ye){try{Le(x.throw(Ye))}catch(Ge){ne(Ge)}}function Le(Ye){var Ge;Ye.done?re(Ye.value):(Ge=Ye.value,Ge instanceof te?Ge:new te(function(it){it(Ge)})).then(le,Ie)}Le((x=x.apply(oe,ae||[])).next())})}function Ke(oe,ae){var te,x,re,ne,le={label:0,sent:function(){if(1&re[0])throw re[1];return re[1]},trys:[],ops:[]};return ne={next:Ie(0),throw:Ie(1),return:Ie(2)},typeof Symbol=="function"&&(ne[Symbol.iterator]=function(){return this}),ne;function Ie(Le){return function(Ye){return function(Ge){if(te)throw new TypeError("Generator is already executing.");for(;le;)try{if(te=1,x&&(re=2&Ge[0]?x.return:Ge[0]?x.throw||((re=x.return)&&re.call(x),0):x.next)&&!(re=re.call(x,Ge[1])).done)return re;switch(x=0,re&&(Ge=[2&Ge[0],re.value]),Ge[0]){case 0:case 1:re=Ge;break;case 4:return le.label++,{value:Ge[1],done:!1};case 5:le.label++,x=Ge[1],Ge=[0];continue;case 7:Ge=le.ops.pop(),le.trys.pop();continue;default:if(re=le.trys,!((re=re.length>0&&re[re.length-1])||Ge[0]!==6&&Ge[0]!==2)){le=0;continue}if(Ge[0]===3&&(!re||Ge[1]>re[0]&&Ge[1]<re[3])){le.label=Ge[1];break}if(Ge[0]===6&&le.label<re[1]){le.label=re[1],re=Ge;break}if(re&&le.label<re[2]){le.label=re[2],le.ops.push(Ge);break}re[2]&&le.ops.pop(),le.trys.pop();continue}Ge=ae.call(oe,le)}catch(it){Ge=[6,it],x=0}finally{te=re=0}if(5&Ge[0])throw Ge[1];return{value:Ge[0]?Ge[1]:void 0,done:!0}}([Le,Ye])}}}function De(){for(var oe=0,ae=0,te=arguments.length;ae<te;ae++)oe+=arguments[ae].length;var x=Array(oe),re=0;for(ae=0;ae<te;ae++)for(var ne=arguments[ae],le=0,Ie=ne.length;le<Ie;le++,re++)x[re]=ne[le];return x}var ve=function(){function oe(){}return oe.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},oe.setAttributes=function(ae,te){for(var x=0,re=te;x<re.length;x++){var ne=re[x],le=ne[0],Ie=ne[1];ae.setAttribute(le,Ie)}},oe.createRect=function(ae,te,x){var re=document.createElementNS("http://www.w3.org/2000/svg","rect");return re.setAttribute("width",ae.toString()),re.setAttribute("height",te.toString()),x&&oe.setAttributes(re,x),re},oe.createLine=function(ae,te,x,re,ne){var le=document.createElementNS("http://www.w3.org/2000/svg","line");return le.setAttribute("x1",ae.toString()),le.setAttribute("y1",te.toString()),le.setAttribute("x2",x.toString()),le.setAttribute("y2",re.toString()),ne&&oe.setAttributes(le,ne),le},oe.createPolygon=function(ae,te){var x=document.createElementNS("http://www.w3.org/2000/svg","polygon");return x.setAttribute("points",ae),te&&oe.setAttributes(x,te),x},oe.createCircle=function(ae,te){var x=document.createElementNS("http://www.w3.org/2000/svg","circle");return x.setAttribute("cx",(ae/2).toString()),x.setAttribute("cy",(ae/2).toString()),x.setAttribute("r",ae.toString()),te&&oe.setAttributes(x,te),x},oe.createEllipse=function(ae,te,x){var re=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return re.setAttribute("cx",(ae/2).toString()),re.setAttribute("cy",(te/2).toString()),re.setAttribute("rx",(ae/2).toString()),re.setAttribute("ry",(te/2).toString()),x&&oe.setAttributes(re,x),re},oe.createGroup=function(ae){var te=document.createElementNS("http://www.w3.org/2000/svg","g");return ae&&oe.setAttributes(te,ae),te},oe.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},oe.createMarker=function(ae,te,x,re,ne,le,Ie){var Le=document.createElementNS("http://www.w3.org/2000/svg","marker");return oe.setAttributes(Le,[["id",ae],["orient",te],["markerWidth",x.toString()],["markerHeight",re.toString()],["refX",ne.toString()],["refY",le.toString()]]),Le.appendChild(Ie),Le},oe.createText=function(ae){var te=document.createElementNS("http://www.w3.org/2000/svg","text");return te.setAttribute("x","0"),te.setAttribute("y","0"),ae&&oe.setAttributes(te,ae),te},oe.createTSpan=function(ae,te){var x=document.createElementNS("http://www.w3.org/2000/svg","tspan");return x.textContent=ae,te&&oe.setAttributes(x,te),x},oe.createImage=function(ae){var te=document.createElementNS("http://www.w3.org/2000/svg","image");return ae&&oe.setAttributes(te,ae),te},oe.createPoint=function(ae,te){var x=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return x.x=ae,x.y=te,x},oe.createPath=function(ae,te){var x=document.createElementNS("http://www.w3.org/2000/svg","path");return x.setAttribute("d",ae),te&&oe.setAttributes(x,te),x},oe}(),ye=function(){function oe(){}return oe.addKey=function(ae){oe.key=ae},Object.defineProperty(oe,"isLicensed",{get:function(){return!!oe.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(oe.key)},enumerable:!1,configurable:!0}),oe}(),fe=function(){function oe(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return oe.prototype.rasterize=function(ae,te,x){var re=this;return new Promise(function(ne){var le=x!==void 0?x:document.createElement("canvas");ae===null&&(re.markersOnly=!0,re.naturalSize=!1);var Ie=document.createElementNS("http://www.w3.org/2000/svg","svg");Ie.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ie.setAttribute("width",te.width.baseVal.valueAsString),Ie.setAttribute("height",te.height.baseVal.valueAsString),Ie.setAttribute("viewBox","0 0 "+te.viewBox.baseVal.width.toString()+" "+te.viewBox.baseVal.height.toString()),Ie.innerHTML=te.innerHTML,re.naturalSize===!0?(Ie.width.baseVal.value=ae.naturalWidth,Ie.height.baseVal.value=ae.naturalHeight):re.width!==void 0&&re.height!==void 0&&(Ie.width.baseVal.value=re.width,Ie.height.baseVal.value=re.height),le.width=Ie.width.baseVal.value,le.height=Ie.height.baseVal.value;var Le=Ie.outerHTML,Ye=le.getContext("2d");re.markersOnly!==!0&&Ye.drawImage(ae,0,0,le.width,le.height);var Ge=window.URL,it=new Image(le.width,le.height);it.setAttribute("crossOrigin","anonymous");var dt=new Blob([Le],{type:"image/svg+xml"}),yt=Ge.createObjectURL(dt);it.onload=function(){Ye.drawImage(it,0,0),Ge.revokeObjectURL(yt);var ot=le.toDataURL(re.imageType,re.imageQuality);ne(ot)},it.src=yt})},oe}(),xe=function(){},ue=function(){function oe(ae){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ae+"_"}return Object.defineProperty(oe.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),oe.prototype.addClass=function(ae){return this.styleSheet===void 0&&this.addStyleSheet(),ae.name=""+this.classNamePrefix+ae.localName,this.classes.push(ae),this.styleSheet.sheet.insertRule("."+ae.name+" {"+ae.style+"}",this.styleSheet.sheet.cssRules.length),ae},oe.prototype.addRule=function(ae){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ae),this.styleSheet.sheet.insertRule(ae.selector+" {"+ae.style+"}",this.styleSheet.sheet.cssRules.length)},oe.prototype.addStyleSheet=function(){var ae;this.styleSheet=document.createElement("style"),((ae=this.styleSheetRoot)!==null&&ae!==void 0?ae:document.head).appendChild(this.styleSheet),this.addRule(new Fe("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Fe("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new Fe("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Ce("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Ce("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},oe.prototype.removeStyleSheet=function(){var ae;this.styleSheet&&(((ae=this.styleSheetRoot)!==null&&ae!==void 0?ae:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},oe}(),Fe=function(oe,ae){this.selector=oe,this.style=ae},Ce=function(oe,ae){this.localName=oe,this.style=ae},Te=function(){function oe(ae,te,x,re,ne){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ae,this.displayMode=te,this.markerItems=x,this.uiStyleSettings=re,this.styles=ne,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return oe.prototype.show=function(ae){var te=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ae,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var x=document.createElement("div");x.className=this.toolbarBlockStyleClass.name,x.style.whiteSpace="nowrap",this.uiContainer.appendChild(x),this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(x,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(ne){var le=document.createElement("div");le.className=""+te.toolbarButtonStyleClass.name,le.setAttribute("data-type-name",ne.typeName),le.innerHTML=ne.icon,le.addEventListener("click",function(){te.markerToolbarButtonClicked(le,ne)}),te.buttons.push(le),te.markerButtons.push(le)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var re=document.createElement("div");re.className=this.toolbarBlockStyleClass.name,re.style.whiteSpace="nowrap",re.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(re),this.addActionButton(re,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(re,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},oe.prototype.addButtonClickListener=function(ae){this.buttonClickListeners.push(ae)},oe.prototype.removeButtonClickListener=function(ae){this.buttonClickListeners.indexOf(ae)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ae),1)},oe.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},oe.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ae=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var te=0;te<this.markerButtons.length;te++)te<ae||te===ae&&this.markerButtons.length-1===ae?this.markerButtonBlock.appendChild(this.markerButtons[te]):(te===ae&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[te]))}},oe.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},oe.prototype.resetButtonStyles=function(){var ae=this;this.buttons.forEach(function(te){te.className=te.className.replace(ae.uiStyleSettings.toolbarButtonStyleColorsClassName?ae.uiStyleSettings.toolbarButtonStyleColorsClassName:ae.toolbarButtonStyleColorsClass.name,"").trim(),te.className=te.className.replace(ae.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ae.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ae.toolbarActiveButtonStyleColorsClass.name,"").trim(),te.className+=" "+(ae.uiStyleSettings.toolbarButtonStyleColorsClassName?ae.uiStyleSettings.toolbarButtonStyleColorsClassName:ae.toolbarButtonStyleColorsClass.name)})},oe.prototype.addActionButton=function(ae,te,x){var re=this,ne=document.createElement("div");switch(ne.className=""+this.toolbarButtonStyleClass.name,ne.innerHTML=te,ne.setAttribute("data-action",x),ne.addEventListener("click",function(){re.actionToolbarButtonClicked(ne,x)}),x){case"select":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":ne.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":ne.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":ne.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":ne.style.fill=this.uiStyleSettings.closeButtonColor}ae.appendChild(ne),this.buttons.push(ne)},oe.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Ce("toolbar",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
height: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolbarStyleColorsClass=this.styles.addClass(new Ce("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Ce("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Ce("toolbar-overflow-block",`
|
|
|
position: absolute;
|
|
|
top: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
z-index: 10;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new Ce("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ae=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Ce("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ae)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ae)+`px;
|
|
|
padding: `+ae+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Ce("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Ce("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Fe("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new Fe("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},oe.prototype.markerToolbarButtonClicked=function(ae,te){this.setActiveButton(ae),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(x){return x("marker",te)}),this.markerButtonOverflowBlock.style.display="none"},oe.prototype.actionToolbarButtonClicked=function(ae,te){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(x){return x("action",te)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},oe.prototype.setActiveButton=function(ae){this.resetButtonStyles(),ae.className=ae.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ae.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},oe.prototype.setActiveMarkerButton=function(ae){var te=this.markerButtons.find(function(x){return x.getAttribute("data-type-name")===ae});te&&this.setActiveButton(te)},oe.prototype.setCurrentMarker=function(ae){var te=this;this.currentMarker=ae,this.buttons.filter(function(x){return/delete|notes/.test(x.getAttribute("data-action"))}).forEach(function(x){te.currentMarker===void 0?(x.style.fillOpacity="0.4",x.style.pointerEvents="none"):(x.style.fillOpacity="1",x.style.pointerEvents="all")})},oe}(),we=function(){function oe(ae,te,x,re){this.panels=[],this.panelButtons=[],this.markerjsContainer=ae,this.displayMode=te,this.uiStyleSettings=x,this.styles=re,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return oe.prototype.addStyles=function(){var ae;this.toolboxStyleClass=this.styles.addClass(new Ce("toolbox",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
font-family: sans-serif;
|
|
|
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolboxStyleColorsClass=this.styles.addClass(new Ce("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ce("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ce("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ce("toolbox-panel-row",`
|
|
|
display: flex;
|
|
|
`+(this.displayMode==="inline"?"position: absolute;":"")+`
|
|
|
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
cursor: default;
|
|
|
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
`+(this.displayMode==="inline"?"width: 100%;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new Ce("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ae=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ae!==void 0?ae:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Ce("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px;
|
|
|
padding: `+te+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Ce("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ce("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new Fe("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Fe("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},oe.prototype.show=function(ae){var te;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ae,this.uiContainer.className=this.toolboxStyleClass.name+" "+((te=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},oe.prototype.setPanelButtons=function(ae){var te,x,re=this;this.panels=ae,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((te=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((x=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&x!==void 0?x:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ne){var le;ne.uiStyleSettings=re.uiStyleSettings;var Ie=document.createElement("div");Ie.className=re.toolboxButtonStyleClass.name+" "+((le=re.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&le!==void 0?le:re.toolboxButtonStyleColorsClass.name),Ie.innerHTML=ne.icon,Ie.title=ne.title,Ie.addEventListener("click",function(){re.panelButtonClick(ne)}),re.panelButtons.push(Ie),re.buttonRow.appendChild(Ie)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},oe.prototype.panelButtonClick=function(ae){var te=this,x=-1;if(ae!==this.activePanel){x=this.panels.indexOf(ae),this.panelRow.innerHTML="";var re=ae.getUi();re.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(re),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ae}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){te.displayMode==="inline"?te.panelRow.style.display="none":te.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ne,le){var Ie,Le;ne.className=te.toolboxButtonStyleClass.name+" "+(le===x?""+((Ie=te.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ie!==void 0?Ie:te.toolboxActiveButtonStyleColorsClass.name):""+((Le=te.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Le!==void 0?Le:te.toolboxButtonStyleColorsClass.name))})},oe}(),Me=function(oe,ae){this.title=oe,this.icon=ae},ge=function(oe){function ae(te,x,re,ne){var le=oe.call(this,te,ne||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return le.colors=[],le.addTransparent=!1,le.colorBoxes=[],le.colors=x,le.currentColor=re,le.setCurrentColor=le.setCurrentColor.bind(le),le.getColorBox=le.getColorBox.bind(le),le}return We(ae,oe),ae.prototype.getUi=function(){var te=this,x=document.createElement("div");return x.style.overflow="hidden",x.style.whiteSpace="nowrap",this.colors.forEach(function(re){var ne=te.getColorBox(re);x.appendChild(ne),te.colorBoxes.push(ne)}),x},ae.prototype.getColorBox=function(te){var x=this,re=this.uiStyleSettings.toolbarHeight/4,ne=this.uiStyleSettings.toolbarHeight-re,le=document.createElement("div");le.style.display="inline-block",le.style.boxSizing="content-box",le.style.width=ne-2+"px",le.style.height=ne-2+"px",le.style.padding="1px",le.style.marginRight="2px",le.style.marginBottom="2px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderRadius=(ne+2)/2+"px",le.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){x.setCurrentColor(te,le)});var Ie=document.createElement("div");return Ie.style.display="inline-block",Ie.style.width=ne-2+"px",Ie.style.height=ne-2+"px",Ie.style.backgroundColor=te,Ie.style.borderRadius=ne/2+"px",te==="transparent"&&(Ie.style.fill=this.uiStyleSettings.toolboxAccentColor,Ie.innerHTML=`<svg viewBox="0 0 24 24">
|
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
|
</svg>`),le.appendChild(Ie),le},ae.prototype.setCurrentColor=function(te,x){var re=this;this.currentColor=te,this.colorBoxes.forEach(function(ne){ne.style.borderColor=ne===x?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(te)},ae}(Me),Ae=function(){function oe(ae,te,x){this._state="new",this._isSelected=!1,this._container=ae,this._overlayContainer=te,this.globalSettings=x,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(oe.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),oe.prototype.ownsTarget=function(ae){return!1},Object.defineProperty(oe.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),oe.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},oe.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},oe.prototype.pointerDown=function(ae,te){},oe.prototype.dblClick=function(ae,te){},oe.prototype.manipulate=function(ae){},oe.prototype.pointerUp=function(ae){this.stateChanged()},oe.prototype.dispose=function(){},oe.prototype.addMarkerVisualToContainer=function(ae){this.container.childNodes.length>0?this.container.insertBefore(ae,this.container.childNodes[0]):this.container.appendChild(ae)},oe.prototype.getState=function(){return{typeName:oe.typeName,state:this.state,notes:this.notes}},oe.prototype.restoreState=function(ae){this._state=ae.state,this.notes=ae.notes},oe.prototype.scale=function(ae,te){},oe.prototype.colorChanged=function(ae){this.onColorChanged&&this.onColorChanged(ae),this.stateChanged()},oe.prototype.fillColorChanged=function(ae){this.onFillColorChanged&&this.onFillColorChanged(ae),this.stateChanged()},oe.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ae=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ae.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ae)&&this.onStateChanged(this)}},oe.typeName="MarkerBase",oe}(),Pe=function(){function oe(){this.findGripByVisual=this.findGripByVisual.bind(this)}return oe.prototype.findGripByVisual=function(ae){return this.topLeft.ownsTarget(ae)?this.topLeft:this.topCenter.ownsTarget(ae)?this.topCenter:this.topRight.ownsTarget(ae)?this.topRight:this.centerLeft.ownsTarget(ae)?this.centerLeft:this.centerRight.ownsTarget(ae)?this.centerRight:this.bottomLeft.ownsTarget(ae)?this.bottomLeft:this.bottomCenter.ownsTarget(ae)?this.bottomCenter:this.bottomRight.ownsTarget(ae)?this.bottomRight:void 0},oe}(),Re=function(){function oe(){this.GRIP_SIZE=10,this.visual=ve.createGroup(),this.visual.appendChild(ve.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ve.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return oe.prototype.ownsTarget=function(ae){return ae===this.visual||ae===this.visual.childNodes[0]||ae===this.visual.childNodes[1]},oe}(),tt=function(){function oe(){}return oe.toITransformMatrix=function(ae){return{a:ae.a,b:ae.b,c:ae.c,d:ae.d,e:ae.e,f:ae.f}},oe.toSVGMatrix=function(ae,te){return ae.a=te.a,ae.b=te.b,ae.c=te.c,ae.d=te.d,ae.e=te.e,ae.f=te.f,ae},oe}(),ce=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.left=0,ne.top=0,ne.width=0,ne.height=0,ne.defaultSize={x:50,y:20},ne.offsetX=0,ne.offsetY=0,ne.rotationAngle=0,ne.CB_DISTANCE=10,ne._suppressMarkerCreateEvent=!1,ne.container.transform.baseVal.appendItem(ve.createTransform()),ne.setupControlBox(),ne}return We(ae,oe),Object.defineProperty(ae.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"visual",{get:function(){return this._visual},set:function(te){this._visual=te;var x=ve.createTransform();this._visual.transform.baseVal.appendItem(x)},enumerable:!1,configurable:!0}),ae.prototype.ownsTarget=function(te){return!!oe.prototype.ownsTarget.call(this,te)||!!(this.controlGrips.findGripByVisual(te)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(te))},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.state==="new"&&(this.left=te.x,this.top=te.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var re=this.unrotatePoint(te);if(this.manipulationStartX=re.x,this.manipulationStartY=re.y,this.offsetX=re.x-this.left,this.offsetY=re.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(x),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(x)){this.activeGrip=this.rotatorGrip;var ne=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ne.x-this.width/2,this.top=ne.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var le=this.container.transform.baseVal.getItem(0);le.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(le,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ae.prototype.pointerUp=function(te){var x=this.state;oe.prototype.pointerUp.call(this,te),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(te),this._state="select",x==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ae.prototype.moveVisual=function(te){this.visual.style.transform="translate("+te.x+"px, "+te.y+"px)"},ae.prototype.manipulate=function(te){var x=this.unrotatePoint(te);this.state==="creating"?this.resize(te):this.state==="move"?(this.left=this.manipulationStartLeft+(x.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(x.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(x):this.state==="rotate"&&this.rotate(te)},ae.prototype.resize=function(te){var x=this.manipulationStartLeft,re=this.manipulationStartWidth,ne=this.manipulationStartTop,le=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:x=this.manipulationStartLeft+te.x-this.manipulationStartX,re=this.manipulationStartWidth+this.manipulationStartLeft-x;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:re=this.manipulationStartWidth+te.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ne=this.manipulationStartTop+te.y-this.manipulationStartY,le=this.manipulationStartHeight+this.manipulationStartTop-ne;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:le=this.manipulationStartHeight+te.y-this.manipulationStartY}re>=0?(this.left=x,this.width=re):(this.left=x+re,this.width=-re),le>=0?(this.top=ne,this.height=le):(this.top=ne+le,this.height=-le),this.setSize()},ae.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ae.prototype.rotate=function(te){if(Math.abs(te.x-this.centerX)>.1){var x=Math.sign(te.x-this.centerX);this.rotationAngle=180*Math.atan((te.y-this.centerY)/(te.x-this.centerX))/Math.PI+90*x,this.applyRotation()}},ae.prototype.applyRotation=function(){var te=this.container.transform.baseVal.getItem(0);te.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(te,0)},ae.prototype.rotatePoint=function(te){if(this.rotationAngle===0)return te;var x=this.container.getCTM(),re=ve.createPoint(te.x,te.y);return{x:(re=re.matrixTransform(x)).x,y:re.y}},ae.prototype.unrotatePoint=function(te){if(this.rotationAngle===0)return te;var x=this.container.getCTM();x=x.inverse();var re=ve.createPoint(te.x,te.y);return{x:(re=re.matrixTransform(x)).x,y:re.y}},ae.prototype.select=function(){oe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ae.prototype.deselect=function(){oe.prototype.deselect.call(this),this.controlBox.style.display="none"},ae.prototype.setupControlBox=function(){this.controlBox=ve.createGroup();var te=ve.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=ve.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=ve.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Pe,this.addControlGrips(),this.controlBox.style.display="none"},ae.prototype.adjustControlBox=function(){var te=this.controlBox.transform.baseVal.getItem(0);te.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(te,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ae.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ae.prototype.createGrip=function(){var te=new Re;return te.visual.transform.baseVal.appendItem(ve.createTransform()),this.controlBox.appendChild(te.visual),te},ae.prototype.positionGrips=function(){var te=this.controlGrips.topLeft.GRIP_SIZE,x=-te/2,re=x,ne=(this.width+this.CB_DISTANCE)/2-te/2,le=(this.height+this.CB_DISTANCE)/2-te/2,Ie=this.height+this.CB_DISTANCE-te/2,Le=this.width+this.CB_DISTANCE-te/2;this.positionGrip(this.controlGrips.topLeft.visual,x,re),this.positionGrip(this.controlGrips.topCenter.visual,ne,re),this.positionGrip(this.controlGrips.topRight.visual,Le,re),this.positionGrip(this.controlGrips.centerLeft.visual,x,le),this.positionGrip(this.controlGrips.centerRight.visual,Le,le),this.positionGrip(this.controlGrips.bottomLeft.visual,x,Ie),this.positionGrip(this.controlGrips.bottomCenter.visual,ne,Ie),this.positionGrip(this.controlGrips.bottomRight.visual,Le,Ie),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ne,re-3*this.CB_DISTANCE)},ae.prototype.positionGrip=function(te,x,re){var ne=te.transform.baseVal.getItem(0);ne.setTranslate(x,re),te.transform.baseVal.replaceItem(ne,0)},ae.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ae.prototype.showControlBox=function(){this.controlBox.style.display=""},ae.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:tt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:tt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},oe.prototype.getState.call(this))},ae.prototype.restoreState=function(te){oe.prototype.restoreState.call(this,te);var x=te;this.left=x.left,this.top=x.top,this.width=x.width,this.height=x.height,this.rotationAngle=x.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(tt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,x.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(tt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,x.containerTransformMatrix))},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x);var re=this.rotatePoint({x:this.left,y:this.top}),ne=this.unrotatePoint({x:re.x*te,y:re.y*x});this.left=ne.x,this.top=ne.y,this.width=this.width*te,this.height=this.height*x,this.adjustControlBox()},ae}(Ae),Oe=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ae.prototype.createVisual=function(){this.visual=ve.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ae.prototype.manipulate=function(te){oe.prototype.manipulate.call(this,te)},ae.prototype.resize=function(te){oe.prototype.resize.call(this,te),this.setSize()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ae.prototype.pointerUp=function(te){oe.prototype.pointerUp.call(this,te),this.setSize()},ae.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&ve.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ae.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&ve.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ae.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&ve.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ae.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&ve.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ae.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},oe.prototype.getState.call(this))},ae.prototype.restoreState=function(te){var x=te;this.fillColor=x.fillColor,this.strokeColor=x.strokeColor,this.strokeWidth=x.strokeWidth,this.strokeDasharray=x.strokeDasharray,this.opacity=x.opacity,this.createVisual(),oe.prototype.restoreState.call(this,te),this.setSize()},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x),this.setSize()},ae.title="Rectangle marker",ae}(ce),Ue=function(oe){function ae(te,x,re,ne){var le=oe.call(this,te,ne||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return le.widths=[],le.widthBoxes=[],le.widths=x,le.currentWidth=re,le.setCurrentWidth=le.setCurrentWidth.bind(le),le}return We(ae,oe),ae.prototype.getUi=function(){var te=this,x=document.createElement("div");return x.style.display="flex",x.style.overflow="hidden",x.style.flexGrow="2",this.widths.forEach(function(re){var ne=document.createElement("div");ne.style.display="flex",ne.style.flexGrow="2",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=re===te.currentWidth?te.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){te.setCurrentWidth(re,ne)}),x.appendChild(ne);var le=document.createElement("div");le.innerText=re.toString(),le.style.marginRight="5px",ne.appendChild(le);var Ie=document.createElement("div");Ie.style.minHeight="20px",Ie.style.flexGrow="2",Ie.style.display="flex",Ie.style.alignItems="center";var Le=document.createElement("hr");Le.style.minWidth="20px",Le.style.border="0px",Le.style.borderTop=re+"px solid "+te.uiStyleSettings.toolboxColor,Le.style.flexGrow="2",Ie.appendChild(Le),ne.appendChild(Ie),te.widthBoxes.push(ne)}),x},ae.prototype.setCurrentWidth=function(te,x){var re=this;this.currentWidth=te,this.widthBoxes.forEach(function(ne){ne.style.borderColor=ne===x?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ae}(Me),ze=function(oe){function ae(te,x,re,ne){var le=oe.call(this,te,ne||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return le.styles=[],le.styleBoxes=[],le.styles=x,le.currentStyle=re,le.setCurrentStyle=le.setCurrentStyle.bind(le),le}return We(ae,oe),ae.prototype.getUi=function(){var te=this,x=document.createElement("div");return x.style.display="flex",x.style.overflow="hidden",x.style.flexGrow="2",this.styles.forEach(function(re){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/te.styles.length-5+"%",ne.style.borderColor=re===te.currentStyle?te.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){te.setCurrentStyle(re,ne)}),x.appendChild(ne);var le=document.createElement("div");le.style.minHeight="20px",le.style.flexGrow="2",le.style.overflow="hidden";var Ie=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+te.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(re!==""?'stroke-dasharray="'+re+'"':"")+` />
|
|
|
</svg>`;le.innerHTML=Ie,ne.appendChild(le),te.styleBoxes.push(ne)}),x},ae.prototype.setCurrentStyle=function(te,x){var re=this;this.currentStyle=te,this.styleBoxes.forEach(function(ne){ne.style.borderColor=ne===x?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ae}(Me),nt=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.strokePanel=new ge("Line color",re.defaultColorSet,re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new Ue("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new ze("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return We(ae,oe),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=oe.prototype.getState.call(this);return te.typeName=ae.typeName,te},ae.typeName="FrameMarker",ae.title="Frame marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ae}(Oe),ke=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Ve=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.x1=0,ne.y1=0,ne.x2=0,ne.y2=0,ne.defaultLength=50,ne.manipulationStartX=0,ne.manipulationStartY=0,ne.manipulationStartX1=0,ne.manipulationStartY1=0,ne.manipulationStartX2=0,ne.manipulationStartY2=0,ne.setupControlBox(),ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!!oe.prototype.ownsTarget.call(this,te)||!(!this.grip1.ownsTarget(te)&&!this.grip2.ownsTarget(te))},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.manipulationStartX=te.x,this.manipulationStartY=te.y,this.state==="new"&&(this.x1=te.x,this.y1=te.y,this.x2=te.x,this.y2=te.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(x)?this.activeGrip=this.grip1:this.grip2.ownsTarget(x)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ae.prototype.pointerUp=function(te){var x=this.state;oe.prototype.pointerUp.call(this,te),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(te),this._state="select",x==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ae.prototype.adjustVisual=function(){},ae.prototype.manipulate=function(te){this.state==="creating"?this.resize(te):this.state==="move"?(this.x1=this.manipulationStartX1+te.x-this.manipulationStartX,this.y1=this.manipulationStartY1+te.y-this.manipulationStartY,this.x2=this.manipulationStartX2+te.x-this.manipulationStartX,this.y2=this.manipulationStartY2+te.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(te)},ae.prototype.resize=function(te){switch(this.activeGrip){case this.grip1:this.x1=te.x,this.y1=te.y;break;case this.grip2:case void 0:this.x2=te.x,this.y2=te.y}this.adjustVisual(),this.adjustControlBox()},ae.prototype.select=function(){oe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ae.prototype.deselect=function(){oe.prototype.deselect.call(this),this.controlBox.style.display="none"},ae.prototype.setupControlBox=function(){this.controlBox=ve.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ae.prototype.adjustControlBox=function(){this.positionGrips()},ae.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ae.prototype.createGrip=function(){var te=new Re;return te.visual.transform.baseVal.appendItem(ve.createTransform()),this.controlBox.appendChild(te.visual),te},ae.prototype.positionGrips=function(){var te=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-te/2,this.y1-te/2),this.positionGrip(this.grip2.visual,this.x2-te/2,this.y2-te/2)},ae.prototype.positionGrip=function(te,x,re){var ne=te.transform.baseVal.getItem(0);ne.setTranslate(x,re),te.transform.baseVal.replaceItem(ne,0)},ae.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},oe.prototype.getState.call(this))},ae.prototype.restoreState=function(te){oe.prototype.restoreState.call(this,te);var x=te;this.x1=x.x1,this.y1=x.y1,this.x2=x.x2,this.y2=x.y2},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x),this.x1=this.x1*te,this.y1=this.y1*x,this.x2=this.x2*te,this.y2=this.y2*x,this.adjustVisual(),this.adjustControlBox()},ae}(Ae),et=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.strokePanel=new ge("Line color",re.defaultColorSet,re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new Ue("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new ze("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorLine&&te!==this.visibleLine)},ae.prototype.createVisual=function(){this.visual=ve.createGroup(),this.selectorLine=ve.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ve.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ae.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),ve.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ve.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ae.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ae.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ae.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},oe.prototype.getState.call(this));return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){oe.prototype.restoreState.call(this,te);var x=te;this.strokeColor=x.strokeColor,this.strokeWidth=x.strokeWidth,this.strokeDasharray=x.strokeDasharray,this.createVisual(),this.adjustVisual()},ae.typeName="LineMarker",ae.title="Line marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ae}(Ve),Se=function(oe){function ae(te,x,re,ne){var le=oe.call(this,te,ne||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return le.fonts=[],le.fontBoxes=[],le.fonts=x,le.currentFont=re,le.setCurrentFont=le.setCurrentFont.bind(le),le}return We(ae,oe),ae.prototype.getUi=function(){var te=this,x=document.createElement("div");return x.style.overflow="hidden",x.style.flexGrow="2",this.fonts.forEach(function(re){var ne=document.createElement("div");ne.style.display="inline-block",ne.style.alignItems="center",ne.style.justifyContent="space-between",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.overflow="hidden",ne.style.maxWidth=100/te.fonts.length-5+"%",ne.style.borderColor=re===te.currentFont?te.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){te.setCurrentFont(re,ne)}),x.appendChild(ne);var le=document.createElement("div");le.style.display="flex",le.style.minHeight="20px",le.style.flexGrow="2",le.style.fontFamily=re,le.style.overflow="hidden";var Ie=document.createElement("div");Ie.style.whiteSpace="nowrap",Ie.style.overflow="hidden",Ie.style.textOverflow="ellipsis",Ie.innerHTML="The quick brown fox jumps over the lazy dog",le.appendChild(Ie),ne.appendChild(le),te.fontBoxes.push(ne)}),x},ae.prototype.setCurrentFont=function(te,x){var re=this;this.currentFont=te,this.fontBoxes.forEach(function(ne){ne.style.borderColor=ne===x?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ae}(Me),qe=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.color="transparent",ne.padding=5,ne.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ne.text=ne.DEFAULT_TEXT,ne.isMoved=!1,ne.color=re.defaultColor,ne.fontFamily=re.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setColor=ne.setColor.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.renderText=ne.renderText.bind(ne),ne.sizeText=ne.sizeText.bind(ne),ne.textEditDivClicked=ne.textEditDivClicked.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.setSize=ne.setSize.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.colorPanel=new ge("Color",re.defaultColorSet,re.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.fontFamilyPanel=new Se("Font",re.defaultFontFamilies,re.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){if(oe.prototype.ownsTarget.call(this,te)||te===this.visual||te===this.textElement||te===this.bgRectangle)return!0;var x=!1;return this.textElement.childNodes.forEach(function(re){re===te&&(x=!0)}),x},ae.prototype.createVisual=function(){this.visual=ve.createGroup(),this.bgRectangle=ve.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ve.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ve.createTransform()),this.textElement.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ae.prototype.renderText=function(){var te=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(x){te.textElement.appendChild(ve.createTSpan(x.trim()===""?" ":x.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ae.prototype.getTextScale=function(){var te=this.textElement.getBBox(),x=1;if(te.width>0&&te.height>0){var re=(1*this.width-this.width*this.padding*2/100)/te.width,ne=(1*this.height-this.height*this.padding*2/100)/te.height;x=Math.min(re,ne)}return x},ae.prototype.getTextPosition=function(te){var x=this.textElement.getBBox(),re=0,ne=0;return x.width>0&&x.height>0&&(re=(this.width-x.width*te)/2,ne=this.height/2-x.height*te/2),{x:re,y:ne}},ae.prototype.sizeText=function(){var te=this.textElement.getBBox(),x=this.getTextScale(),re=this.getTextPosition(x);re.y-=te.y*x,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+re.x+"px, "+re.y+"px) scale("+x+", "+x+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(re.x,re.y),this.textElement.transform.baseVal.getItem(1).setScale(x,x))},ae.prototype.manipulate=function(te){oe.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ae.prototype.resize=function(te){oe.prototype.resize.call(this,te),this.isMoved=!0,this.setSize(),this.sizeText()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ae.prototype.pointerUp=function(te){var x=this.state;x==="creating"&&(this._suppressMarkerCreateEvent=!0),oe.prototype.pointerUp.call(this,te),this.setSize(),(x==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ae.prototype.showTextEditor=function(){var te=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(x){x.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var x=Number.parseFloat(te.textEditor.style.fontSize);te.textEditor.clientWidth>=Number.parseInt(te.textEditor.style.maxWidth)&&x>.9;)x-=.1,te.textEditor.style.fontSize=Math.max(x,.9)+"em"}),this.textEditor.addEventListener("keyup",function(x){x.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(x){if(x.clipboardData){var re=x.clipboardData.getData("text"),ne=window.getSelection();if(!ne.rangeCount)return!1;ne.deleteFromDocument(),ne.getRangeAt(0).insertNode(document.createTextNode(re)),x.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){te.textEditDivClicked(te.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ae.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var te=this.getTextScale(),x=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),re=this.textElement.getBBox(),ne={x:re.width*te,y:re.height*te};x.x-=ne.x/2,x.y-=ne.y/2,this.textEditor.style.top=x.y+"px",this.textEditor.style.left=x.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-x.x+"px",this.textEditor.style.fontSize=Math.max(16*te,12)+"px",this.textElement.style.display="none"}},ae.prototype.textEditDivClicked=function(te){this.text=te.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ae.prototype.select=function(){oe.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ae.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),oe.prototype.deselect.call(this)},ae.prototype.dblClick=function(te,x){oe.prototype.dblClick.call(this,te,x),this.showTextEditor()},ae.prototype.setColor=function(te){this.textElement&&ve.setAttributes(this.textElement,[["fill",te]]),this.color=te,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(te)},ae.prototype.setFont=function(te){this.textElement&&ve.setAttributes(this.textElement,[["font-family",te]]),this.fontFamily=te,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ae.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ae.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},oe.prototype.getState.call(this));return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){var x=te;this.color=x.color,this.fontFamily=x.fontFamily,this.padding=x.padding,this.text=x.text,this.createVisual(),oe.prototype.restoreState.call(this,te),this.setSize()},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x),this.setSize(),this.sizeText(),this.positionTextEditor()},ae.typeName="TextMarker",ae.title="Text marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ae}(ce),pe=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.color="transparent",ne.lineWidth=3,ne.drawing=!1,ne.pixelRatio=1,ne.color=re.defaultColor,ne.lineWidth=re.defaultStrokeWidth,ne.pixelRatio=re.freehandPixelRatio,ne.setColor=ne.setColor.bind(ne),ne.addCanvas=ne.addCanvas.bind(ne),ne.finishCreation=ne.finishCreation.bind(ne),ne.setLineWidth=ne.setLineWidth.bind(ne),ne.colorPanel=new ge("Color",re.defaultColorSet,re.defaultColor),ne.colorPanel.onColorChanged=ne.setColor,ne.lineWidthPanel=new Ue("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.lineWidthPanel.onWidthChanged=ne.setLineWidth,ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.drawingImage)},ae.prototype.createVisual=function(){this.visual=ve.createGroup(),this.drawingImage=ve.createImage(),this.visual.appendChild(this.drawingImage);var te=ve.createTransform();this.visual.transform.baseVal.appendItem(te),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(te,x){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(te.x,te.y),this.drawing=!0):oe.prototype.pointerDown.call(this,te,x)},ae.prototype.manipulate=function(te){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(te.x,te.y),this.canvasContext.stroke()):oe.prototype.manipulate.call(this,te)},ae.prototype.resize=function(te){oe.prototype.resize.call(this,te),ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ae.prototype.pointerUp=function(te){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):oe.prototype.pointerUp.call(this,te)},ae.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ae.prototype.select=function(){this.state==="creating"&&this.finishCreation(),oe.prototype.select.call(this)},ae.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),oe.prototype.deselect.call(this)},ae.prototype.finishCreation=function(){for(var te=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),x=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],re=x[0],ne=x[1],le=x[2],Ie=x[3],Le=!1,Ye=0;Ye<this.canvasElement.height;Ye++)for(var Ge=0;Ge<this.canvasElement.width;Ge++)te.data[Ye*this.canvasElement.width*4+4*Ge+3]>0&&(Le=!0,Ye<ne&&(ne=Ye),Ge<re&&(re=Ge),Ye>Ie&&(Ie=Ye),Ge>le&&(le=Ge));if(Le){this.left=re/this.pixelRatio,this.top=ne/this.pixelRatio,this.width=(le-re)/this.pixelRatio,this.height=(Ie-ne)/this.pixelRatio;var it=document.createElement("canvas");it.width=le-re,it.height=Ie-ne,it.getContext("2d").putImageData(this.canvasContext.getImageData(re,ne,le-re,Ie-ne),0,0),this.drawingImgUrl=it.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ae.prototype.setDrawingImage=function(){ve.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ae.prototype.setColor=function(te){this.color=te,this.colorChanged(te)},ae.prototype.setLineWidth=function(te){this.lineWidth=te},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=Object.assign({drawingImgUrl:this.drawingImgUrl},oe.prototype.getState.call(this));return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){this.createVisual(),oe.prototype.restoreState.call(this,te),this.drawingImgUrl=te.drawingImgUrl,this.setDrawingImage()},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x),this.setDrawingImage()},ae.typeName="FreehandMarker",ae.title="Freehand marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ae}(ce),be=function(oe){function ae(te,x,re){var ne=oe.call(this,te,re||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return ne.typeBoxes=[],ne.currentType=x,ne.setCurrentType=ne.setCurrentType.bind(ne),ne}return We(ae,oe),ae.prototype.getUi=function(){var te=this,x=document.createElement("div");x.style.display="flex",x.style.overflow="hidden",x.style.flexGrow="2";for(var re=function(Ie){var Le="both";switch(Ie){case 0:Le="both";break;case 1:Le="start";break;case 2:Le="end";break;case 3:Le="none"}var Ye=document.createElement("div");if(Ye.style.display="flex",Ye.style.flexGrow="2",Ye.style.alignItems="center",Ye.style.justifyContent="space-between",Ye.style.padding="5px",Ye.style.borderWidth="2px",Ye.style.borderStyle="solid",Ye.style.borderColor=Le===ne.currentType?ne.uiStyleSettings.toolboxAccentColor:"transparent",Ye.addEventListener("click",function(){te.setCurrentType(Le,Ye)}),x.appendChild(Ye),Le==="both"||Le==="start"){var Ge=document.createElement("div");Ge.style.display="flex",Ge.style.alignItems="center",Ge.style.minHeight="20px",Ge.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,5 10,0 10,10" fill="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Ge.style.marginLeft="5px",Ye.appendChild(Ge)}var it=document.createElement("div");it.style.display="flex",it.style.alignItems="center",it.style.minHeight="20px",it.style.flexGrow="2";var dt=document.createElement("hr");if(dt.style.minWidth="20px",dt.style.border="0px",dt.style.borderTop="3px solid "+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee"),dt.style.flexGrow="2",it.appendChild(dt),Ye.appendChild(it),Le==="both"||Le==="end"){var yt=document.createElement("div");yt.style.display="flex",yt.style.alignItems="center",yt.style.minHeight="20px",yt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,0 10,5 0,10" fill="`+(ne.uiStyleSettings!==void 0?ne.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,yt.style.marginRight="5px",Ye.appendChild(yt)}ne.typeBoxes.push(Ye)},ne=this,le=0;le<4;le++)re(le);return x},ae.prototype.setCurrentType=function(te,x){var re=this;this.currentType=te,this.typeBoxes.forEach(function(ne){ne.style.borderColor=ne===x?re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ae}(Me),gt=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.arrowType="end",ne.arrowBaseHeight=10,ne.arrowBaseWidth=10,ne.getArrowPoints=ne.getArrowPoints.bind(ne),ne.setArrowType=ne.setArrowType.bind(ne),ne.arrowTypePanel=new be("Arrow type","end"),ne.arrowTypePanel.onArrowTypeChanged=ne.setArrowType,ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.arrow1&&te!==this.arrow2)},ae.prototype.getArrowPoints=function(te,x){var re=this.arrowBaseWidth+2*this.strokeWidth,ne=this.arrowBaseHeight+2*this.strokeWidth;return te-re/2+","+(x+ne/2)+" "+te+","+(x-ne/2)+" "+(te+re/2)+","+(x+ne/2)},ae.prototype.createTips=function(){this.arrow1=ve.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ve.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.arrow2)},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.state==="creating"&&this.createTips()},ae.prototype.adjustVisual=function(){if(oe.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",ve.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ve.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var te=0;Math.abs(this.x1-this.x2)>.1&&(te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var x=this.arrow1.transform.baseVal.getItem(0);x.setRotate(te,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(x,0);var re=this.arrow2.transform.baseVal.getItem(0);re.setRotate(te+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(re,0)}},ae.prototype.setArrowType=function(te){this.arrowType=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=Object.assign({arrowType:this.arrowType},oe.prototype.getState.call(this));return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){oe.prototype.restoreState.call(this,te);var x=te;this.arrowType=x.arrowType,this.createTips(),this.adjustVisual()},ae.typeName="ArrowMarker",ae.title="Arrow marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ae}(et),$e=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.fillColor=re.defaultFillColor,ne.strokeWidth=0,ne.fillPanel=new ge("Color",re.defaultColorSet,re.defaultFillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne}return We(ae,oe),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=oe.prototype.getState.call(this);return te.typeName=ae.typeName,te},ae.typeName="CoverMarker",ae.title="Cover marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ae}(Oe),at=function(oe){function ae(te,x,re,ne){var le=oe.call(this,te,ne||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return le.opacities=[],le.opacityBoxes=[],le.opacities=x,le.currentOpacity=re,le.setCurrentOpacity=le.setCurrentOpacity.bind(le),le}return We(ae,oe),ae.prototype.getUi=function(){var te=this,x=document.createElement("div");return x.style.display="flex",x.style.overflow="hidden",x.style.flexGrow="2",x.style.justifyContent="space-between",this.opacities.forEach(function(re){var ne=document.createElement("div");ne.style.display="flex",ne.style.alignItems="center",ne.style.justifyContent="center",ne.style.padding="5px",ne.style.borderWidth="2px",ne.style.borderStyle="solid",ne.style.borderColor=re===te.currentOpacity?te.uiStyleSettings.toolboxAccentColor:"transparent",ne.addEventListener("click",function(){te.setCurrentOpacity(re,ne)}),x.appendChild(ne);var le=document.createElement("div");le.innerText=100*re+"%",ne.appendChild(le),te.opacityBoxes.push(ne)}),x},ae.prototype.setCurrentOpacity=function(te,x){var re=this;this.currentOpacity=te,this.opacityBoxes.forEach(function(ne){ne.style.borderColor=ne===x?re.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ae}(Me),bt=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.setOpacity=ne.setOpacity.bind(ne),ne.fillColor=re.defaultHighlightColor,ne.strokeWidth=0,ne.opacity=re.defaultHighlightOpacity,ne.fillPanel=new ge("Color",re.defaultColorSet,ne.fillColor),ne.fillPanel.onColorChanged=ne.setFillColor,ne.opacityPanel=new at("Opacity",re.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return We(ae,oe),ae.prototype.setOpacity=function(te){this.opacity=te,this.visual&&ve.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=oe.prototype.getState.call(this);return te.typeName=ae.typeName,te},ae.typeName="HighlightMarker",ae.title="Highlight marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ae}($e),Ze='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',se='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',Be=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.bgColor="transparent",ne.tipPosition={x:0,y:0},ne.tipBase1Position={x:0,y:0},ne.tipBase2Position={x:0,y:0},ne.tipMoving=!1,ne.color=re.defaultStrokeColor,ne.bgColor=re.defaultFillColor,ne.fontFamily=re.defaultFontFamily,ne.defaultSize={x:100,y:30},ne.setBgColor=ne.setBgColor.bind(ne),ne.getTipPoints=ne.getTipPoints.bind(ne),ne.positionTip=ne.positionTip.bind(ne),ne.setTipPoints=ne.setTipPoints.bind(ne),ne.colorPanel=new ge("Text color",re.defaultColorSet,ne.color,Ze),ne.colorPanel.onColorChanged=ne.setColor,ne.bgColorPanel=new ge("Fill color",re.defaultColorSet,ne.bgColor,se),ne.bgColorPanel.onColorChanged=ne.setBgColor,ne.fontFamilyPanel=new Se("Font",re.defaultFontFamilies,re.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.tipGrip=new Re,ne.tipGrip.visual.transform.baseVal.appendItem(ve.createTransform()),ne.controlBox.appendChild(ne.tipGrip.visual),ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return oe.prototype.ownsTarget.call(this,te)||this.tipGrip.ownsTarget(te)||this.tip===te},ae.prototype.createTip=function(){ve.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ve.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ae.prototype.pointerDown=function(te,x){this.state==="new"&&oe.prototype.pointerDown.call(this,te,x),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(x)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):oe.prototype.pointerDown.call(this,te,x)},ae.prototype.pointerUp=function(te){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,oe.prototype.pointerUp.call(this,te);else{var x=this.state==="creating";oe.prototype.pointerUp.call(this,te),this.setTipPoints(x),this.positionTip()}},ae.prototype.manipulate=function(te){if(this.tipMoving){var x=this.unrotatePoint(te);this.tipPosition={x:x.x-this.manipulationStartLeft,y:x.y-this.manipulationStartTop},this.positionTip()}else oe.prototype.manipulate.call(this,te)},ae.prototype.setBgColor=function(te){this.bgRectangle&&this.tip&&(ve.setAttributes(this.bgRectangle,[["fill",te]]),ve.setAttributes(this.tip,[["fill",te]])),this.bgColor=te,this.fillColorChanged(te)},ae.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ae.prototype.setTipPoints=function(te){te===void 0&&(te=!1);var x=Math.min(this.height/2,15),re=this.height/5;te&&(this.tipPosition={x:x+re/2,y:this.height+20});var ne=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(re=this.width/5,x=Math.min(this.width/2,15),this.tipBase1Position={x,y:0},this.tipBase2Position={x:x+re,y:0}):(this.tipBase1Position={x:0,y:x},this.tipBase2Position={x:0,y:x+re}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?ne<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(re=this.width/5,x=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-x-re,y:0},this.tipBase2Position={x:this.width-x,y:0}):(this.tipBase1Position={x:this.width,y:x},this.tipBase2Position={x:this.width,y:x+re}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?ne<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(re=this.width/5,x=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-x-re,y:this.height},this.tipBase2Position={x:this.width-x,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-x-re},this.tipBase2Position={x:this.width,y:this.height-x}):ne<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(re=this.width/5,x=Math.min(this.width/2,15),this.tipBase1Position={x,y:this.height},this.tipBase2Position={x:x+re,y:this.height}):(this.tipBase1Position={x:0,y:this.height-x},this.tipBase2Position={x:0,y:this.height-x-re})},ae.prototype.resize=function(te){oe.prototype.resize.call(this,te),this.positionTip()},ae.prototype.positionTip=function(){ve.setAttributes(this.tip,[["points",this.getTipPoints()]]);var te=this.tipGrip.visual.transform.baseVal.getItem(0);te.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(te,0)},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ae.prototype.select=function(){this.positionTip(),oe.prototype.select.call(this)},ae.prototype.getState=function(){var te=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},oe.prototype.getState.call(this));return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){var x=te;this.bgColor=x.bgColor,this.tipPosition=x.tipPosition,oe.prototype.restoreState.call(this,te),this.createTip(),this.setTipPoints()},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x),this.tipPosition={x:this.tipPosition.x*te,y:this.tipPosition.y*x},this.positionTip()},ae.typeName="CalloutMarker",ae.title="Callout marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ae}(qe),Je=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.opacity=1,ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.fillColor=re.defaultFillColor,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.setOpacity=ne.setOpacity.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.strokePanel=new ge("Line color",De(re.defaultColorSet,["transparent"]),re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new ge("Fill color",De(re.defaultColorSet,["transparent"]),ne.fillColor,se),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new Ue("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new ze("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.opacityPanel=new at("Opacity",re.defaultOpacitySteps,ne.opacity),ne.opacityPanel.onOpacityChanged=ne.setOpacity,ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ae.prototype.createVisual=function(){this.visual=ve.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ae.prototype.manipulate=function(te){oe.prototype.manipulate.call(this,te)},ae.prototype.resize=function(te){oe.prototype.resize.call(this,te),this.setSize()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),ve.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ae.prototype.pointerUp=function(te){oe.prototype.pointerUp.call(this,te),this.setSize()},ae.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&ve.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ae.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&ve.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ae.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&ve.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ae.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&ve.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ae.prototype.setOpacity=function(te){this.opacity=te,this.visual&&ve.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},oe.prototype.getState.call(this));return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){var x=te;this.fillColor=x.fillColor,this.strokeColor=x.strokeColor,this.strokeWidth=x.strokeWidth,this.strokeDasharray=x.strokeDasharray,this.opacity=x.opacity,this.createVisual(),oe.prototype.restoreState.call(this,te),this.setSize()},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x),this.setSize()},ae.typeName="EllipseMarker",ae.title="Ellipse marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ae}(ce),lt=function(oe){function ae(te,x,re){return oe.call(this,te,x,re)||this}return We(ae,oe),Object.defineProperty(ae.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.tip1&&te!==this.tip2)},ae.prototype.createTips=function(){this.tip1=ve.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ve.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.tip2)},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.state==="creating"&&this.createTips()},ae.prototype.adjustVisual=function(){if(oe.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ve.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),x=this.tip1.transform.baseVal.getItem(0);x.setRotate(te,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(x,0);var re=this.tip2.transform.baseVal.getItem(0);re.setRotate(te+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(re,0)}},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=oe.prototype.getState.call(this);return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){oe.prototype.restoreState.call(this,te),this.createTips(),this.adjustVisual()},ae.typeName="MeasurementMarker",ae.title="Measurement marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ae}(et),Ee=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.strokePanel.colors=re.defaultColorSet,ne.fillColor="transparent",ne}return We(ae,oe),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=oe.prototype.getState.call(this);return te.typeName=ae.typeName,te},ae.typeName="EllipseFrameMarker",ae.title="Ellipse frame marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ae}(Je),je=function(){function oe(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(oe.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),oe.prototype.addUndoStep=function(ae){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ae)||(this.undoStack.push(ae),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ae)&&this.redoStack.splice(0,this.redoStack.length))},oe.prototype.replaceLastUndoStep=function(ae){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ae)},oe.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},oe.prototype.undo=function(){if(this.undoStack.length>1){var ae=this.undoStack.pop();return ae!==void 0&&this.redoStack.push(ae),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},oe.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},oe}(),rt=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.curveX=0,ne.curveY=0,ne.manipulationStartCurveX=0,ne.manipulationStartCurveY=0,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.positionGrips=ne.positionGrips.bind(ne),ne.addControlGrips=ne.addControlGrips.bind(ne),ne.adjustVisual=ne.adjustVisual.bind(ne),ne.setupControlBox=ne.setupControlBox.bind(ne),ne.resize=ne.resize.bind(ne),ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.strokePanel=new ge("Line color",re.defaultColorSet,re.defaultColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.strokeWidthPanel=new Ue("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new ze("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorCurve&&te!==this.visibleCurve&&!this.curveGrip.ownsTarget(te))},ae.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ae.prototype.createVisual=function(){this.visual=ve.createGroup(),this.selectorCurve=ve.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ve.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=te.x,this.curveY=te.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(x)&&(this.activeGrip=this.curveGrip,this._state="resize")},ae.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ve.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ve.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ae.prototype.setupControlBox=function(){oe.prototype.setupControlBox.call(this),this.curveControlLine1=ve.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ve.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ae.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,oe.prototype.addControlGrips.call(this)},ae.prototype.positionGrips=function(){oe.prototype.positionGrips.call(this);var te=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-te/2,this.curveY-te/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ae.prototype.manipulate=function(te){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+te.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+te.y-this.manipulationStartY),oe.prototype.manipulate.call(this,te)},ae.prototype.resize=function(te){this.activeGrip===this.curveGrip&&(this.curveX=te.x,this.curveY=te.y),oe.prototype.resize.call(this,te),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ae.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ae.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ae.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual()},ae.prototype.scale=function(te,x){this.curveX=this.curveX*te,this.curveY=this.curveY*x,oe.prototype.scale.call(this,te,x)},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},oe.prototype.getState.call(this));return te.typeName=ae.typeName,te},ae.prototype.restoreState=function(te){oe.prototype.restoreState.call(this,te);var x=te;this.strokeColor=x.strokeColor,this.strokeWidth=x.strokeWidth,this.strokeDasharray=x.strokeDasharray,this.curveX=x.curveX,this.curveY=x.curveY,this.createVisual(),this.adjustVisual()},ae.typeName="CurveMarker",ae.title="Curve marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ae}(Ve),xt=function(oe){function ae(te,x,re){var ne=oe.call(this,te,x,re)||this;return ne.fillColor="transparent",ne.strokeColor="transparent",ne.strokeWidth=0,ne.strokeDasharray="",ne.textColor="transparent",ne.fontSize="1rem",ne.isMoved=!1,ne.captionText="Caption",ne.PADDING=5,ne.captionBoxWidth=0,ne.captionBoxHeight=0,ne.strokeColor=re.defaultColor,ne.strokeWidth=re.defaultStrokeWidth,ne.strokeDasharray=re.defaultStrokeDasharray,ne.fillColor=re.defaultFillColor,ne.textColor=re.defaultStrokeColor,ne.fontFamily=re.defaultFontFamily,ne.fontSize=re.defaultCaptionFontSize,ne.captionText=re.defaultCaptionText,ne.setStrokeColor=ne.setStrokeColor.bind(ne),ne.setFillColor=ne.setFillColor.bind(ne),ne.setStrokeWidth=ne.setStrokeWidth.bind(ne),ne.setStrokeDasharray=ne.setStrokeDasharray.bind(ne),ne.createVisual=ne.createVisual.bind(ne),ne.sizeCaption=ne.sizeCaption.bind(ne),ne.setCaptionText=ne.setCaptionText.bind(ne),ne.showTextEditor=ne.showTextEditor.bind(ne),ne.positionTextEditor=ne.positionTextEditor.bind(ne),ne.finishTextEditing=ne.finishTextEditing.bind(ne),ne.setFont=ne.setFont.bind(ne),ne.setTextColor=ne.setTextColor.bind(ne),ne.strokePanel=new ge("Line color",De(re.defaultColorSet,["transparent"]),ne.strokeColor),ne.strokePanel.onColorChanged=ne.setStrokeColor,ne.fillPanel=new ge("Fill color",De(re.defaultColorSet,["transparent"]),ne.fillColor,se),ne.fillPanel.onColorChanged=ne.setFillColor,ne.strokeWidthPanel=new Ue("Line width",re.defaultStrokeWidths,re.defaultStrokeWidth),ne.strokeWidthPanel.onWidthChanged=ne.setStrokeWidth,ne.strokeStylePanel=new ze("Line style",re.defaultStrokeDasharrays,re.defaultStrokeDasharray),ne.strokeStylePanel.onStyleChanged=ne.setStrokeDasharray,ne.fontFamilyPanel=new Se("Font",re.defaultFontFamilies,re.defaultFontFamily),ne.fontFamilyPanel.onFontChanged=ne.setFont,ne.textColorPanel=new ge("Text color",re.defaultColorSet,ne.textColor,Ze),ne.textColorPanel.onColorChanged=ne.setTextColor,ne}return We(ae,oe),ae.prototype.ownsTarget=function(te){return!(!oe.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.frame&&te!==this.captionBg&&te!==this.captionElement)},ae.prototype.createVisual=function(){this.visual=ve.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ve.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ve.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=ve.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ae.prototype.setCaptionText=function(te){this.captionText=te,this.captionElement.textContent=this.captionText,this.sizeCaption()},ae.prototype.pointerDown=function(te,x){oe.prototype.pointerDown.call(this,te,x),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ae.prototype.manipulate=function(te){oe.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ae.prototype.resize=function(te){oe.prototype.resize.call(this,te),this.setSize()},ae.prototype.sizeCaption=function(){var te=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=te.width+2*this.PADDING,this.captionBoxHeight=te.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ve.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),ve.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ae.prototype.showTextEditor=function(){var te=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(x){x.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(x){x.key==="Enter"&&te.finishTextEditing(te.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(x){x.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){te.finishTextEditing(te.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){te.finishTextEditing(te.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ae.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ae.prototype.finishTextEditing=function(te){this.setCaptionText(te.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ae.prototype.setFont=function(te){this.captionElement&&ve.setAttributes(this.captionElement,[["font-family",te]]),this.fontFamily=te,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ae.prototype.setTextColor=function(te){this.captionElement&&ve.setAttributes(this.captionElement,[["fill",te]]),this.textColor=te,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ae.prototype.setSize=function(){oe.prototype.setSize.call(this),ve.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ae.prototype.pointerUp=function(te){oe.prototype.pointerUp.call(this,te),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ae.prototype.dblClick=function(te,x){oe.prototype.dblClick.call(this,te,x),this.showTextEditor()},ae.prototype.setStrokeColor=function(te){this.strokeColor=te,this.frame&&ve.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ae.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&ve.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ae.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&ve.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ae.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&ve.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ae.prototype.getState=function(){var te=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},oe.prototype.getState.call(this));return te.typeName=this.typeName,te},ae.prototype.restoreState=function(te){var x=te;this.fillColor=x.fillColor,this.strokeColor=x.strokeColor,this.strokeWidth=x.strokeWidth,this.strokeDasharray=x.strokeDasharray,this.textColor=x.textColor,this.fontFamily=x.fontFamily,this.captionText=x.captionText,this.fontSize=x.fontSize,this.createVisual(),oe.prototype.restoreState.call(this,te),this.setSize()},ae.prototype.scale=function(te,x){oe.prototype.scale.call(this,te,x),this.setSize()},ae.typeName="CaptionFrameMarker",ae.title="Caption frame marker",ae.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ae}(ce),ct=function(){function oe(ae,te){te===void 0&&(te=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ae,this.cancelable=te}return Object.defineProperty(oe.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),oe.prototype.preventDefault=function(){this._defaultPrevented=!0},oe}(),wt=function(oe){function ae(te,x,re){var ne=oe.call(this,te,!1)||this;return ne.dataUrl=x,ne.state=re,ne}return We(ae,oe),ae}(ct),ft=function(oe){function ae(te,x,re){re===void 0&&(re=!1);var ne=oe.call(this,te,re)||this;return ne.marker=x,ne}return We(ae,oe),ae}(ct),It=function(){function oe(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return oe.prototype.addEventListener=function(ae,te){this[ae].push(te)},oe.prototype.removeEventListener=function(ae,te){var x=this[ae].indexOf(te);x>-1&&this[ae].splice(x,1)},oe}(),Dt=function(){function oe(ae){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new ke,this._isOpen=!1,this.undoRedoManager=new je,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new It,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=oe.instanceCounter++,this.styles=new ue(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ae,this.targetRoot=document.body,this.width=ae.clientWidth,this.height=ae.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(oe.prototype,"ALL_MARKER_TYPES",{get:function(){return[nt,pe,gt,qe,Ee,Je,bt,Be,lt,$e,et,rt,xt]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[nt,pe,gt,qe,Je,bt,Be]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"BASIC_MARKER_TYPES",{get:function(){return[nt,pe,gt,qe,bt]},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ae){var te=this;this._availableMarkerTypes.splice(0),ae.forEach(function(x){if(typeof x=="string"){var re=te.ALL_MARKER_TYPES.find(function(ne){return ne.typeName===x});re!==void 0&&te._availableMarkerTypes.push(re)}else te._availableMarkerTypes.push(x)})},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ae){this._zoomLevel=ae,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),oe.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ye.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},oe.prototype.show=function(){var ae=this;this.styles.styleSheetRoot===void 0&&xe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=xe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new ct(ae))})},oe.prototype.render=function(){return de(this,void 0,void 0,function(){var ae;return Ke(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ae=new fe).naturalSize=this.renderAtNaturalSize,ae.imageType=this.renderImageType,ae.imageQuality=this.renderImageQuality,ae.markersOnly=this.renderMarkersOnly,ae.width=this.renderWidth,ae.height=this.renderHeight,[4,ae.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return te.sent(),[4,ae.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,te.sent()]}})})},oe.prototype.close=function(ae){var te=this;if(ae===void 0&&(ae=!1),this.isOpen){var x=!1;ae||this.eventListeners.beforeclose.forEach(function(re){var ne=new ct(te,!0);re(ne),ne.defaultPrevented&&(x=!0)}),x||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(re){return re(new ct(te))}),this.detachEvents(),this._isOpen=!1)}},oe.prototype.addMarkersToToolbar=function(){for(var ae,te=[],x=0;x<arguments.length;x++)te[x]=arguments[x];(ae=this._availableMarkerTypes).push.apply(ae,te)},oe.prototype.addRenderEventListener=function(ae){this.addEventListener("render",function(te){ae(te.dataUrl,te.state)})},oe.prototype.removeRenderEventListener=function(ae){},oe.prototype.addCloseEventListener=function(ae){this.addEventListener("close",function(){ae()})},oe.prototype.removeCloseEventListener=function(ae){},oe.prototype.setupResizeObserver=function(){var ae=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ae.resize(ae.target.clientWidth,ae.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ae.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},oe.prototype.onPopupTargetResize=function(){var ae=1*this.target.clientWidth/this.target.clientHeight,te=this.editorCanvas.clientWidth/ae>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ae:this.editorCanvas.clientWidth,x=te<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ae;this.resize(te,x)},oe.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},oe.prototype.resize=function(ae,te){this._isResizing=!0;var x=ae/this.imageWidth,re=te/this.imageHeight;this.imageWidth=Math.round(ae),this.imageHeight=Math.round(te),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(x,re),this._isResizing=!1},oe.prototype.scaleMarkers=function(ae,te){var x,re=this;this._currentMarker&&this._currentMarker instanceof qe?this._currentMarker.scale(ae,te):(x=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(ne){ne!==re._currentMarker&&ne.scale(ae,te)}),x!==void 0&&this.setCurrentMarker(x)},oe.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},oe.prototype.setTopLeft=function(){var ae=this.editingTarget.getBoundingClientRect(),te=this.editorCanvas.getBoundingClientRect();this.left=ae.left-te.left,this.top=ae.top-te.top},oe.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},oe.prototype.addDefs=function(){for(var ae,te=[],x=0;x<arguments.length;x++)te[x]=arguments[x];this.defs=ve.createDefs(),this.addDefsToImage(),(ae=this.defs).append.apply(ae,te)},oe.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},oe.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},oe.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},oe.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},oe.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},oe.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},oe.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},oe.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ae=document.createElement("a");ae.href="https://markerjs.com/",ae.target="_blank",ae.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ae.title="Powered by marker.js",ae.style.display="grid",ae.style.alignItems="center",ae.style.justifyItems="center",ae.style.padding="3px",ae.style.width="20px",ae.style.height="20px",this.logoUI.appendChild(ae),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},oe.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},oe.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},oe.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},oe.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ae=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ae+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Te(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new we(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},oe.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},oe.prototype.removeMarker=function(ae){this.markerImage.removeChild(ae.container),this.markers.indexOf(ae)>-1&&this.markers.splice(this.markers.indexOf(ae),1),ae.dispose()},oe.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},oe.prototype.toolbarButtonClicked=function(ae,te){if(ae==="marker"&&te!==void 0)this.createNewMarker(te);else if(ae==="action")switch(te){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},oe.prototype.deleteSelectedMarker=function(){var ae=this;if(this._currentMarker!==void 0){var te=!1;if(this.eventListeners.markerbeforedelete.forEach(function(re){var ne=new ft(ae,ae._currentMarker,!0);re(ne),ne.defaultPrevented&&(te=!0)}),!te){var x=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(re){return re(new ft(ae,x))})}}},oe.prototype.clear=function(){var ae=this,te=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(le){var Ie=new ft(ae,void 0,!0);le(Ie),Ie.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var x=function(le){var Ie=re.markers[le];re.setCurrentMarker(re.markers[le]),re._currentMarker.dispose(),re.markerImage.removeChild(re._currentMarker.container),re.markers.splice(re.markers.indexOf(re._currentMarker),1),re.eventListeners.markerdelete.forEach(function(Le){return Le(new ft(ae,Ie))})},re=this,ne=this.markers.length-1;ne>=0;ne--)x(ne);this.addUndoStep()}},Object.defineProperty(oe.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),oe.prototype.showNotesEditor=function(){var ae;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ae=this._currentMarker.notes)!==null&&ae!==void 0?ae:"",this.overlayContainer.appendChild(this.notesArea))},oe.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},oe.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},oe.prototype.addUndoStep=function(){var ae=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var te=this.getState(),x=this.undoRedoManager.getLastUndoStep();if(!x||x.width===te.width&&x.height===te.height){var re=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(te),re<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(ne){return ne(new ct(ae))})}else this.undoRedoManager.replaceLastUndoStep(te),this.eventListeners.statechange.forEach(function(ne){return ne(new ct(ae))})}},oe.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},oe.prototype.undoStep=function(){var ae=this,te=this.undoRedoManager.undo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(x){return x(new ct(ae))}))},oe.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},oe.prototype.redoStep=function(){var ae=this,te=this.undoRedoManager.redo();te!==void 0&&(this.restoreState(te),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(x){return x(new ct(ae))}))},oe.prototype.stepZoom=function(){var ae=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ae<this.zoomSteps.length-1?this.zoomSteps[ae+1]:this.zoomSteps[0]},oe.prototype.panTo=function(ae){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ae.x,top:this.prevPanPoint.y-ae.y}),this.prevPanPoint=ae},oe.prototype.startRenderAndClose=function(){return de(this,void 0,void 0,function(){var ae,te,x=this;return Ke(this,function(re){switch(re.label){case 0:return[4,this.render()];case 1:return ae=re.sent(),te=this.getState(),this.eventListeners.render.forEach(function(ne){return ne(new wt(x,ae,te))}),this.close(!0),[2]}})})},oe.prototype.getState=function(ae){ae===!0&&this.setCurrentMarker();var te={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(x){return te.markers.push(x.getState())}),te},oe.prototype.restoreState=function(ae){var te=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ae.markers.forEach(function(x){var re=te._availableMarkerTypes.find(function(le){return le.typeName===x.typeName});if(re!==void 0){var ne=te.addNewMarker(re);ne.restoreState(x),te.markers.push(ne)}}),ae.width&&ae.height&&(ae.width!==this.imageWidth||ae.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ae.width,this.imageHeight/ae.height),this.eventListeners.restorestate.forEach(function(x){return x(new ct(te))})},oe.prototype.addNewMarker=function(ae){var te=ve.createGroup();return this.markerImage.appendChild(te),new ae(te,this.overlayContainer,this.settings)},oe.prototype.createNewMarker=function(ae){var te,x=this;(te=typeof ae=="string"?this._availableMarkerTypes.find(function(re){return re.typeName===ae}):ae)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(te),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(te.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(re){return re(new ft(x,x._currentMarker))}))},oe.prototype.markerCreated=function(ae){var te=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ae),this.setCurrentMarker(ae),ae instanceof pe&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(pe):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(x){return x(new ft(te,te._currentMarker))})},oe.prototype.colorChanged=function(ae){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ae,this.settings.defaultStrokeColor=ae)},oe.prototype.fillColorChanged=function(ae){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ae)},oe.prototype.markerStateChanged=function(ae){var te=this;this.eventListeners.markerchange.forEach(function(x){return x(new ft(te,ae))})},oe.prototype.setCurrentMarker=function(ae){var te=this;this._currentMarker!==ae&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(x){return x(new ft(te,te._currentMarker))})),this._currentMarker=ae,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(x){return x(new ft(te,te._currentMarker))}))},oe.prototype.onPointerDown=function(ae){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ae.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var te=this.markers.find(function(x){return x.ownsTarget(ae.target)});te!==void 0?(this.setCurrentMarker(te),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ae.clientX,ae.clientY),ae.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ae.clientX,y:ae.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ae.clientX,ae.clientY))},oe.prototype.onDblClick=function(ae){if(this._isFocused||this.focus(),this.mode==="select"){var te=this.markers.find(function(x){return x.ownsTarget(ae.target)});te!==void 0&&te!==this._currentMarker&&this.setCurrentMarker(te),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ae.clientX,ae.clientY),ae.target):this.setCurrentMarker()}},oe.prototype.onPointerMove=function(ae){this.touchPoints!==1&&ae.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ae.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ae.clientX,ae.clientY)):this.zoomLevel>1&&this.panTo({x:ae.clientX,y:ae.clientY}))},oe.prototype.onPointerUp=function(ae){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ae.clientX,ae.clientY)),this.isDragging=!1,this.addUndoStep()},oe.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},oe.prototype.onKeyUp=function(ae){this._currentMarker===void 0||this.notesArea!==void 0||ae.key!=="Delete"&&ae.key!=="Backspace"||this.deleteSelectedMarker()},oe.prototype.clientToLocalCoordinates=function(ae,te){var x=this.markerImage.getBoundingClientRect();return{x:(ae-x.left)/this.zoomLevel,y:(te-x.top)/this.zoomLevel}},oe.prototype.onWindowResize=function(){this.positionUI()},oe.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ae=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ae+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},oe.prototype.addLicenseKey=function(ae){ye.addKey(ae)},oe.prototype.addEventListener=function(ae,te){this.eventListeners.addEventListener(ae,te)},oe.prototype.removeEventListener=function(ae,te){this.eventListeners.removeEventListener(ae,te)},oe.prototype.renderState=function(ae){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ae),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(oe.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),oe.prototype.focus=function(){var ae=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(te){return te(new ct(ae))}))},oe.prototype.blur=function(){var ae=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(te){return te(new ct(ae))}))},oe.instanceCounter=0,oe}()},6551:function(wn,zt,E){"use strict";E.d(zt,{ZP:function(){return ye}});var b=E(42978),We=E(59301),de=E(47273),Ke=0,De=(0,de.Z)();function ve(){var fe;return De?(fe=Ke,Ke+=1):fe="TEST_OR_SSR",fe}function ye(fe){var xe=We.useState(),ue=(0,b.Z)(xe,2),Fe=ue[0],Ce=ue[1];return We.useEffect(function(){Ce("rc_select_".concat(ve()))},[]),fe||Fe}},37463:function(wn,zt,E){"use strict";E.d(zt,{Ac:function(){return Rt},Xo:function(){return qt},Wx:function(){return Tt},ZP:function(){return rr},lk:function(){return tt}});var b=E(54476),We=E(94480),de=E(20068),Ke=E(33885),De=E(42978),ve=E(75931),ye=E(76190),fe=E(18929),xe=E(48736),ue=E(59301),Fe=E(92310),Ce=E.n(Fe),Te=E(34280),we=E(49658),Me=E(8654),ge=function(Qt){var St=Qt.className,Zt=Qt.customizeIcon,At=Qt.customizeIconProps,Ht=Qt.children,ht=Qt.onMouseDown,Xt=Qt.onClick,tn=typeof Zt=="function"?Zt(At):Zt;return ue.createElement("span",{className:St,onMouseDown:function(Ut){Ut.preventDefault(),ht==null||ht(Ut)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Xt,"aria-hidden":!0},tn!==void 0?tn:ue.createElement("span",{className:Ce()(St.split(/\s+/).map(function(dn){return"".concat(dn,"-icon")}))},Ht))},Ae=ge,Pe=function(Qt,St,Zt,At,Ht){var ht=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Xt=arguments.length>6?arguments[6]:void 0,tn=arguments.length>7?arguments[7]:void 0,dn=ue.useMemo(function(){if((0,ye.Z)(At)==="object")return At.clearIcon;if(Ht)return Ht},[At,Ht]),Ut=ue.useMemo(function(){return!!(!ht&&At&&(Zt.length||Xt)&&!(tn==="combobox"&&Xt===""))},[At,ht,Zt.length,Xt,tn]);return{allowClear:Ut,clearIcon:ue.createElement(Ae,{className:"".concat(Qt,"-clear"),onMouseDown:St,customizeIcon:dn},"\xD7")}},Re=ue.createContext(null);function tt(){return ue.useContext(Re)}function ce(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qt=ue.useState(!1),St=(0,De.Z)(Qt,2),Zt=St[0],At=St[1],Ht=ue.useRef(null),ht=function(){window.clearTimeout(Ht.current)};ue.useEffect(function(){return ht},[]);var Xt=function(dn,Ut){ht(),Ht.current=window.setTimeout(function(){At(dn),Ut&&Ut()},Lt)};return[Zt,Xt,ht]}function Oe(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Qt=ue.useRef(null),St=ue.useRef(null);ue.useEffect(function(){return function(){window.clearTimeout(St.current)}},[]);function Zt(At){(At||Qt.current===null)&&(Qt.current=At),window.clearTimeout(St.current),St.current=window.setTimeout(function(){Qt.current=null},Lt)}return[function(){return Qt.current},Zt]}function Ue(Lt,Qt,St,Zt){var At=ue.useRef(null);At.current={open:Qt,triggerOpen:St,customizedTrigger:Zt},ue.useEffect(function(){function Ht(ht){var Xt;if(!((Xt=At.current)!==null&&Xt!==void 0&&Xt.customizedTrigger)){var tn=ht.target;tn.shadowRoot&&ht.composed&&(tn=ht.composedPath()[0]||tn),At.current.open&&Lt().filter(function(dn){return dn}).every(function(dn){return!dn.contains(tn)&&dn!==tn})&&At.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ht),function(){return window.removeEventListener("mousedown",Ht)}},[])}var ze=E(10228);function nt(Lt){return Lt&&![ze.Z.ESC,ze.Z.SHIFT,ze.Z.BACKSPACE,ze.Z.TAB,ze.Z.WIN_KEY,ze.Z.ALT,ze.Z.META,ze.Z.WIN_KEY_RIGHT,ze.Z.CTRL,ze.Z.SEMICOLON,ze.Z.EQUALS,ze.Z.CAPS_LOCK,ze.Z.CONTEXT_MENU,ze.Z.F1,ze.Z.F2,ze.Z.F3,ze.Z.F4,ze.Z.F5,ze.Z.F6,ze.Z.F7,ze.Z.F8,ze.Z.F9,ze.Z.F10,ze.Z.F11,ze.Z.F12].includes(Lt)}var ke=E(26112),Ve=E(83836);function et(Lt,Qt,St){var Zt=(0,Ke.Z)((0,Ke.Z)({},Lt),St?Qt:{});return Object.keys(Qt).forEach(function(At){var Ht=Qt[At];typeof Ht=="function"&&(Zt[At]=function(){for(var ht,Xt=arguments.length,tn=new Array(Xt),dn=0;dn<Xt;dn++)tn[dn]=arguments[dn];return Ht.apply(void 0,tn),(ht=Lt[At])===null||ht===void 0?void 0:ht.call.apply(ht,[Lt].concat(tn))})}),Zt}var Se=et,qe=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],pe=function(Qt,St){var Zt=Qt.prefixCls,At=Qt.id,Ht=Qt.inputElement,ht=Qt.autoFocus,Xt=Qt.autoComplete,tn=Qt.editable,dn=Qt.activeDescendantId,Ut=Qt.value,jt=Qt.open,Gt=Qt.attrs,an=(0,ve.Z)(Qt,qe),zn=Ht||ue.createElement("input",null),Rn=zn,Vn=Rn.ref,Mr=Rn.props;return(0,xe.Kp)(!("maxLength"in zn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),zn=ue.cloneElement(zn,(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({type:"search"},Se(an,Mr,!0)),{},{id:At,ref:(0,Me.sQ)(St,Vn),autoComplete:Xt||"off",autoFocus:ht,className:Ce()("".concat(Zt,"-selection-search-input"),Mr==null?void 0:Mr.className),role:"combobox","aria-expanded":jt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(At,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(At,"_list"),"aria-activedescendant":jt?dn:void 0},Gt),{},{value:tn?Ut:"",readOnly:!tn,unselectable:tn?null:"on",style:(0,Ke.Z)((0,Ke.Z)({},Mr.style),{},{opacity:tn?null:0})})),zn},be=ue.forwardRef(pe),gt=be;function $e(Lt){return Array.isArray(Lt)?Lt:Lt!==void 0?[Lt]:[]}var at=typeof window!="undefined"&&window.document&&window.document.documentElement,bt=at;function Ze(Lt){return Lt!=null}function se(Lt){return!Lt&&Lt!==0}function Be(Lt){return["string","number"].includes((0,ye.Z)(Lt))}function Je(Lt){var Qt=void 0;return Lt&&(Be(Lt.title)?Qt=Lt.title.toString():Be(Lt.label)&&(Qt=Lt.label.toString())),Qt}function lt(Lt,Qt){bt?ue.useLayoutEffect(Lt,Qt):ue.useEffect(Lt,Qt)}function Ee(Lt){var Qt;return(Qt=Lt.key)!==null&&Qt!==void 0?Qt:Lt.value}var je=function(Qt){Qt.preventDefault(),Qt.stopPropagation()},rt=function(Qt){var St=Qt.id,Zt=Qt.prefixCls,At=Qt.values,Ht=Qt.open,ht=Qt.searchValue,Xt=Qt.autoClearSearchValue,tn=Qt.inputRef,dn=Qt.placeholder,Ut=Qt.disabled,jt=Qt.mode,Gt=Qt.showSearch,an=Qt.autoFocus,zn=Qt.autoComplete,Rn=Qt.activeDescendantId,Vn=Qt.tabIndex,Mr=Qt.removeIcon,zr=Qt.maxTagCount,Xr=Qt.maxTagTextLength,Pr=Qt.maxTagPlaceholder,gr=Pr===void 0?function(cr){return"+ ".concat(cr.length," ...")}:Pr,Ar=Qt.tagRender,Vr=Qt.onToggleOpen,ni=Qt.onRemove,ri=Qt.onInputChange,ai=Qt.onInputPaste,Dr=Qt.onInputKeyDown,Jr=Qt.onInputMouseDown,$r=Qt.onInputCompositionStart,Ri=Qt.onInputCompositionEnd,Hi=Qt.onInputBlur,Zi=ue.useRef(null),zi=(0,ue.useState)(0),Ji=(0,De.Z)(zi,2),wi=Ji[0],Mi=Ji[1],fi=(0,ue.useState)(!1),$i=(0,De.Z)(fi,2),oo=$i[0],Ro=$i[1],fo="".concat(Zt,"-selection"),bo=Ht||jt==="multiple"&&Xt===!1||jt==="tags"?ht:"",co=jt==="tags"||jt==="multiple"&&Xt===!1||Gt&&(Ht||oo);lt(function(){Mi(Zi.current.scrollWidth)},[bo]);var yo=function(Qn,Wr,qr,ir,Gn){return ue.createElement("span",{title:Je(Qn),className:Ce()("".concat(fo,"-item"),(0,de.Z)({},"".concat(fo,"-item-disabled"),qr))},ue.createElement("span",{className:"".concat(fo,"-item-content")},Wr),ir&&ue.createElement(Ae,{className:"".concat(fo,"-item-remove"),onMouseDown:je,onClick:Gn,customizeIcon:Mr},"\xD7"))},Fi=function(Qn,Wr,qr,ir,Gn,Cr){var Zr=function(vo){je(vo),Vr(!Ht)};return ue.createElement("span",{onMouseDown:Zr},Ar({label:Wr,value:Qn,disabled:qr,closable:ir,onClose:Gn,isMaxTag:!!Cr}))},Ai=function(Qn){var Wr=Qn.disabled,qr=Qn.label,ir=Qn.value,Gn=!Ut&&!Wr,Cr=qr;if(typeof Xr=="number"&&(typeof qr=="string"||typeof qr=="number")){var Zr=String(Cr);Zr.length>Xr&&(Cr="".concat(Zr.slice(0,Xr),"..."))}var ji=function(ao){ao&&ao.stopPropagation(),ni(Qn)};return typeof Ar=="function"?Fi(ir,Cr,Wr,Gn,ji):yo(Qn,Cr,Wr,Gn,ji)},Yr=function(Qn){if(!At.length)return null;var Wr=typeof gr=="function"?gr(Qn):gr;return typeof Ar=="function"?Fi(void 0,Wr,!1,!1,void 0,!0):yo({title:Wr},Wr,!1)},jn=ue.createElement("div",{className:"".concat(fo,"-search"),style:{width:wi},onFocus:function(){Ro(!0)},onBlur:function(){Ro(!1)}},ue.createElement(gt,{ref:tn,open:Ht,prefixCls:Zt,id:St,inputElement:null,disabled:Ut,autoFocus:an,autoComplete:zn,editable:co,activeDescendantId:Rn,value:bo,onKeyDown:Dr,onMouseDown:Jr,onChange:ri,onPaste:ai,onCompositionStart:$r,onCompositionEnd:Ri,onBlur:Hi,tabIndex:Vn,attrs:(0,ke.Z)(Qt,!0)}),ue.createElement("span",{ref:Zi,className:"".concat(fo,"-search-mirror"),"aria-hidden":!0},bo,"\xA0")),lr=ue.createElement(Ve.Z,{prefixCls:"".concat(fo,"-overflow"),data:At,renderItem:Ai,renderRest:Yr,suffix:jn,itemKey:Ee,maxCount:zr});return ue.createElement("span",{className:"".concat(fo,"-wrap")},lr,!At.length&&!bo&&ue.createElement("span",{className:"".concat(fo,"-placeholder")},dn))},xt=rt,ct=function(Qt){var St=Qt.inputElement,Zt=Qt.prefixCls,At=Qt.id,Ht=Qt.inputRef,ht=Qt.disabled,Xt=Qt.autoFocus,tn=Qt.autoComplete,dn=Qt.activeDescendantId,Ut=Qt.mode,jt=Qt.open,Gt=Qt.values,an=Qt.placeholder,zn=Qt.tabIndex,Rn=Qt.showSearch,Vn=Qt.searchValue,Mr=Qt.activeValue,zr=Qt.maxLength,Xr=Qt.onInputKeyDown,Pr=Qt.onInputMouseDown,gr=Qt.onInputChange,Ar=Qt.onInputPaste,Vr=Qt.onInputCompositionStart,ni=Qt.onInputCompositionEnd,ri=Qt.onInputBlur,ai=Qt.title,Dr=ue.useState(!1),Jr=(0,De.Z)(Dr,2),$r=Jr[0],Ri=Jr[1],Hi=Ut==="combobox",Zi=Hi||Rn,zi=Gt[0],Ji=Vn||"";Hi&&Mr&&!$r&&(Ji=Mr),ue.useEffect(function(){Hi&&Ri(!1)},[Hi,Mr]);var wi=Ut!=="combobox"&&!jt&&!Rn?!1:!!Ji,Mi=ai===void 0?Je(zi):ai,fi=ue.useMemo(function(){return zi?null:ue.createElement("span",{className:"".concat(Zt,"-selection-placeholder"),style:wi?{visibility:"hidden"}:void 0},an)},[zi,wi,an,Zt]);return ue.createElement("span",{className:"".concat(Zt,"-selection-wrap")},ue.createElement("span",{className:"".concat(Zt,"-selection-search")},ue.createElement(gt,{ref:Ht,prefixCls:Zt,id:At,open:jt,inputElement:St,disabled:ht,autoFocus:Xt,autoComplete:tn,editable:Zi,activeDescendantId:dn,value:Ji,onKeyDown:Xr,onMouseDown:Pr,onChange:function(oo){Ri(!0),gr(oo)},onPaste:Ar,onCompositionStart:Vr,onCompositionEnd:ni,onBlur:ri,tabIndex:zn,attrs:(0,ke.Z)(Qt,!0),maxLength:Hi?zr:void 0})),!Hi&&zi?ue.createElement("span",{className:"".concat(Zt,"-selection-item"),title:Mi,style:wi?{visibility:"hidden"}:void 0},zi.label):null,fi)},wt=ct,ft=function(Qt,St){var Zt=(0,ue.useRef)(null),At=(0,ue.useRef)(!1),Ht=Qt.prefixCls,ht=Qt.open,Xt=Qt.mode,tn=Qt.showSearch,dn=Qt.tokenWithEnter,Ut=Qt.disabled,jt=Qt.prefix,Gt=Qt.autoClearSearchValue,an=Qt.onSearch,zn=Qt.onSearchSubmit,Rn=Qt.onToggleOpen,Vn=Qt.onInputKeyDown,Mr=Qt.onInputBlur,zr=Qt.domRef;ue.useImperativeHandle(St,function(){return{focus:function(Mi){Zt.current.focus(Mi)},blur:function(){Zt.current.blur()}}});var Xr=Oe(0),Pr=(0,De.Z)(Xr,2),gr=Pr[0],Ar=Pr[1],Vr=function(Mi){var fi=Mi.which,$i=Zt.current instanceof HTMLTextAreaElement;!$i&&ht&&(fi===ze.Z.UP||fi===ze.Z.DOWN)&&Mi.preventDefault(),Vn&&Vn(Mi),fi===ze.Z.ENTER&&Xt==="tags"&&!At.current&&!ht&&(zn==null||zn(Mi.target.value)),!($i&&!ht&&~[ze.Z.UP,ze.Z.DOWN,ze.Z.LEFT,ze.Z.RIGHT].indexOf(fi))&&nt(fi)&&Rn(!0)},ni=function(){Ar(!0)},ri=(0,ue.useRef)(null),ai=function(Mi){an(Mi,!0,At.current)!==!1&&Rn(!0)},Dr=function(){At.current=!0},Jr=function(Mi){At.current=!1,Xt!=="combobox"&&ai(Mi.target.value)},$r=function(Mi){var fi=Mi.target.value;if(dn&&ri.current&&/[\r\n]/.test(ri.current)){var $i=ri.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");fi=fi.replace($i,ri.current)}ri.current=null,ai(fi)},Ri=function(Mi){var fi=Mi.clipboardData,$i=fi==null?void 0:fi.getData("text");ri.current=$i||""},Hi=function(Mi){var fi=Mi.target;if(fi!==Zt.current){var $i=document.body.style.msTouchAction!==void 0;$i?setTimeout(function(){Zt.current.focus()}):Zt.current.focus()}},Zi=function(Mi){var fi=gr();Mi.target!==Zt.current&&!fi&&!(Xt==="combobox"&&Ut)&&Mi.preventDefault(),(Xt!=="combobox"&&(!tn||!fi)||!ht)&&(ht&&Gt!==!1&&an("",!0,!1),Rn())},zi={inputRef:Zt,onInputKeyDown:Vr,onInputMouseDown:ni,onInputChange:$r,onInputPaste:Ri,onInputCompositionStart:Dr,onInputCompositionEnd:Jr,onInputBlur:Mr},Ji=Xt==="multiple"||Xt==="tags"?ue.createElement(xt,(0,b.Z)({},Qt,zi)):ue.createElement(wt,(0,b.Z)({},Qt,zi));return ue.createElement("div",{ref:zr,className:"".concat(Ht,"-selector"),onClick:Hi,onMouseDown:Zi},jt&&ue.createElement("div",{className:"".concat(Ht,"-prefix")},jt),Ji)},It=ue.forwardRef(ft),Dt=It,oe=E(65030),ae=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],te=function(Qt){var St=Qt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"}}},x=function(Qt,St){var Zt=Qt.prefixCls,At=Qt.disabled,Ht=Qt.visible,ht=Qt.children,Xt=Qt.popupElement,tn=Qt.animation,dn=Qt.transitionName,Ut=Qt.dropdownStyle,jt=Qt.dropdownClassName,Gt=Qt.direction,an=Gt===void 0?"ltr":Gt,zn=Qt.placement,Rn=Qt.builtinPlacements,Vn=Qt.dropdownMatchSelectWidth,Mr=Qt.dropdownRender,zr=Qt.dropdownAlign,Xr=Qt.getPopupContainer,Pr=Qt.empty,gr=Qt.getTriggerDOMNode,Ar=Qt.onPopupVisibleChange,Vr=Qt.onPopupMouseEnter,ni=(0,ve.Z)(Qt,ae),ri="".concat(Zt,"-dropdown"),ai=Xt;Mr&&(ai=Mr(Xt));var Dr=ue.useMemo(function(){return Rn||te(Vn)},[Rn,Vn]),Jr=tn?"".concat(ri,"-").concat(tn):dn,$r=typeof Vn=="number",Ri=ue.useMemo(function(){return $r?null:Vn===!1?"minWidth":"width"},[Vn,$r]),Hi=Ut;$r&&(Hi=(0,Ke.Z)((0,Ke.Z)({},Hi),{},{width:Vn}));var Zi=ue.useRef(null);return ue.useImperativeHandle(St,function(){return{getPopupElement:function(){var Ji;return(Ji=Zi.current)===null||Ji===void 0?void 0:Ji.popupElement}}}),ue.createElement(oe.Z,(0,b.Z)({},ni,{showAction:Ar?["click"]:[],hideAction:Ar?["click"]:[],popupPlacement:zn||(an==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Dr,prefixCls:ri,popupTransitionName:Jr,popup:ue.createElement("div",{onMouseEnter:Vr},ai),ref:Zi,stretch:Ri,popupAlign:zr,popupVisible:Ht,getPopupContainer:Xr,popupClassName:Ce()(jt,(0,de.Z)({},"".concat(ri,"-empty"),Pr)),popupStyle:Hi,getTriggerDOMNode:gr,onPopupVisibleChange:Ar}),ht)},re=ue.forwardRef(x),ne=re,le=E(66712);function Ie(Lt,Qt){var St=Lt.key,Zt;return"value"in Lt&&(Zt=Lt.value),St!=null?St:Zt!==void 0?Zt:"rc-index-key-".concat(Qt)}function Le(Lt){return typeof Lt!="undefined"&&!Number.isNaN(Lt)}function Ye(Lt,Qt){var St=Lt||{},Zt=St.label,At=St.value,Ht=St.options,ht=St.groupLabel,Xt=Zt||(Qt?"children":"label");return{label:Xt,value:At||"value",options:Ht||"options",groupLabel:ht||Xt}}function Ge(Lt){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},St=Qt.fieldNames,Zt=Qt.childrenAsData,At=[],Ht=Ye(St,!1),ht=Ht.label,Xt=Ht.value,tn=Ht.options,dn=Ht.groupLabel;function Ut(jt,Gt){Array.isArray(jt)&&jt.forEach(function(an){if(Gt||!(tn in an)){var zn=an[Xt];At.push({key:Ie(an,At.length),groupOption:Gt,data:an,label:an[ht],value:zn})}else{var Rn=an[dn];Rn===void 0&&Zt&&(Rn=an.label),At.push({key:Ie(an,At.length),group:!0,data:an,label:Rn}),Ut(an[tn],!0)}})}return Ut(Lt,!1),At}function it(Lt){var Qt=(0,Ke.Z)({},Lt);return"props"in Qt||Object.defineProperty(Qt,"props",{get:function(){return(0,xe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Qt}}),Qt}var dt=function(Qt,St,Zt){if(!St||!St.length)return null;var At=!1,Ht=function Xt(tn,dn){var Ut=(0,le.Z)(dn),jt=Ut[0],Gt=Ut.slice(1);if(!jt)return[tn];var an=tn.split(jt);return At=At||an.length>1,an.reduce(function(zn,Rn){return[].concat((0,We.Z)(zn),(0,We.Z)(Xt(Rn,Gt)))},[]).filter(Boolean)},ht=Ht(Qt,St);return At?typeof Zt!="undefined"?ht.slice(0,Zt):ht:null},yt=ue.createContext(null),ot=yt;function st(Lt){var Qt=Lt.visible,St=Lt.values;if(!Qt)return null;var Zt=50;return ue.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(St.slice(0,Zt).map(function(At){var Ht=At.label,ht=At.value;return["number","string"].includes((0,ye.Z)(Ht))?Ht:ht}).join(", ")),St.length>Zt?", ...":null)}var Vt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],kt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],un=function(Qt){return Qt==="tags"||Qt==="multiple"},$t=ue.forwardRef(function(Lt,Qt){var St,Zt=Lt.id,At=Lt.prefixCls,Ht=Lt.className,ht=Lt.showSearch,Xt=Lt.tagRender,tn=Lt.direction,dn=Lt.omitDomProps,Ut=Lt.displayValues,jt=Lt.onDisplayValuesChange,Gt=Lt.emptyOptions,an=Lt.notFoundContent,zn=an===void 0?"Not Found":an,Rn=Lt.onClear,Vn=Lt.mode,Mr=Lt.disabled,zr=Lt.loading,Xr=Lt.getInputElement,Pr=Lt.getRawInputElement,gr=Lt.open,Ar=Lt.defaultOpen,Vr=Lt.onDropdownVisibleChange,ni=Lt.activeValue,ri=Lt.onActiveValueChange,ai=Lt.activeDescendantId,Dr=Lt.searchValue,Jr=Lt.autoClearSearchValue,$r=Lt.onSearch,Ri=Lt.onSearchSplit,Hi=Lt.tokenSeparators,Zi=Lt.allowClear,zi=Lt.prefix,Ji=Lt.suffixIcon,wi=Lt.clearIcon,Mi=Lt.OptionList,fi=Lt.animation,$i=Lt.transitionName,oo=Lt.dropdownStyle,Ro=Lt.dropdownClassName,fo=Lt.dropdownMatchSelectWidth,bo=Lt.dropdownRender,co=Lt.dropdownAlign,yo=Lt.placement,Fi=Lt.builtinPlacements,Ai=Lt.getPopupContainer,Yr=Lt.showAction,jn=Yr===void 0?[]:Yr,lr=Lt.onFocus,cr=Lt.onBlur,Qn=Lt.onKeyUp,Wr=Lt.onKeyDown,qr=Lt.onMouseDown,ir=(0,ve.Z)(Lt,Vt),Gn=un(Vn),Cr=(ht!==void 0?ht:Gn)||Vn==="combobox",Zr=(0,Ke.Z)({},ir);kt.forEach(function(Ko){delete Zr[Ko]}),dn==null||dn.forEach(function(Ko){delete Zr[Ko]});var ji=ue.useState(!1),vo=(0,De.Z)(ji,2),ao=vo[0],Bo=vo[1];ue.useEffect(function(){Bo((0,we.Z)())},[]);var wo=ue.useRef(null),Co=ue.useRef(null),ko=ue.useRef(null),Oo=ue.useRef(null),Mo=ue.useRef(null),ha=ue.useRef(!1),Aa=ce(),xa=(0,De.Z)(Aa,3),Ia=xa[0],Da=xa[1],Yi=xa[2];ue.useImperativeHandle(Qt,function(){var Ko,Eo;return{focus:(Ko=Oo.current)===null||Ko===void 0?void 0:Ko.focus,blur:(Eo=Oo.current)===null||Eo===void 0?void 0:Eo.blur,scrollTo:function(tl){var Oa;return(Oa=Mo.current)===null||Oa===void 0?void 0:Oa.scrollTo(tl)},nativeElement:wo.current||Co.current}});var Ti=ue.useMemo(function(){var Ko;if(Vn!=="combobox")return Dr;var Eo=(Ko=Ut[0])===null||Ko===void 0?void 0:Ko.value;return typeof Eo=="string"||typeof Eo=="number"?String(Eo):""},[Dr,Vn,Ut]),ea=Vn==="combobox"&&typeof Xr=="function"&&Xr()||null,ta=typeof Pr=="function"&&Pr(),Gi=(0,Me.x1)(Co,ta==null||(St=ta.props)===null||St===void 0?void 0:St.ref),Wo=ue.useState(!1),Jo=(0,De.Z)(Wo,2),ho=Jo[0],Zo=Jo[1];(0,Te.Z)(function(){Zo(!0)},[]);var Fo=(0,fe.Z)(!1,{defaultValue:Ar,value:gr}),ka=(0,De.Z)(Fo,2),rl=ka[0],za=ka[1],Ba=ho?rl:!1,_l=!zn&≫(Mr||_l&&Ba&&Vn==="combobox")&&(Ba=!1);var jl=_l?!1:Ba,qi=ue.useCallback(function(Ko){var Eo=Ko!==void 0?Ko:!Ba;Mr||(za(Eo),Ba!==Eo&&(Vr==null||Vr(Eo)))},[Mr,Ba,za,Vr]),xo=ue.useMemo(function(){return(Hi||[]).some(function(Ko){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ko)})},[Hi]),Xi=ue.useContext(ot)||{},to=Xi.maxCount,Lo=Xi.rawValues,da=function(Eo,Ma,tl){if(!(Gn&&Le(to)&&(Lo==null?void 0:Lo.size)>=to)){var Oa=!0,La=Eo;ri==null||ri(null);var Pl=dt(Eo,Hi,Le(to)?to-Lo.size:void 0),El=tl?null:Pl;return Vn!=="combobox"&&El&&(La="",Ri==null||Ri(El),qi(!1),Oa=!1),$r&&Ti!==La&&$r(La,{source:Ma?"typing":"effect"}),Oa}},Cl=function(Eo){!Eo||!Eo.trim()||$r(Eo,{source:"submit"})};ue.useEffect(function(){!Ba&&!Gn&&Vn!=="combobox"&&da("",!1,!1)},[Ba]),ue.useEffect(function(){rl&&Mr&&za(!1),Mr&&!ha.current&&Da(!1)},[Mr]);var Ya=Oe(),Wa=(0,De.Z)(Ya,2),Pa=Wa[0],pl=Wa[1],Al=ue.useRef(!1),el=function(Eo){var Ma=Pa(),tl=Eo.key,Oa=tl==="Enter";if(Oa&&(Vn!=="combobox"&&Eo.preventDefault(),Ba||qi(!0)),pl(!!Ti),tl==="Backspace"&&!Ma&&Gn&&!Ti&&Ut.length){for(var La=(0,We.Z)(Ut),Pl=null,El=La.length-1;El>=0;El-=1){var Tl=La[El];if(!Tl.disabled){La.splice(El,1),Pl=Tl;break}}Pl&&jt(La,{type:"remove",values:[Pl]})}for(var ol=arguments.length,fl=new Array(ol>1?ol-1:0),Fl=1;Fl<ol;Fl++)fl[Fl-1]=arguments[Fl];if(Ba&&(!Oa||!Al.current)){var Ul;Oa&&(Al.current=!0),(Ul=Mo.current)===null||Ul===void 0||Ul.onKeyDown.apply(Ul,[Eo].concat(fl))}Wr==null||Wr.apply(void 0,[Eo].concat(fl))},Dl=function(Eo){for(var Ma=arguments.length,tl=new Array(Ma>1?Ma-1:0),Oa=1;Oa<Ma;Oa++)tl[Oa-1]=arguments[Oa];if(Ba){var La;(La=Mo.current)===null||La===void 0||La.onKeyUp.apply(La,[Eo].concat(tl))}Eo.key==="Enter"&&(Al.current=!1),Qn==null||Qn.apply(void 0,[Eo].concat(tl))},Ao=function(Eo){var Ma=Ut.filter(function(tl){return tl!==Eo});jt(Ma,{type:"remove",values:[Eo]})},xl=function(){Al.current=!1},Vl=ue.useRef(!1),us=function(){Da(!0),Mr||(lr&&!Vl.current&&lr.apply(void 0,arguments),jn.includes("focus")&&qi(!0)),Vl.current=!0},ys=function(){ha.current=!0,Da(!1,function(){Vl.current=!1,ha.current=!1,qi(!1)}),!Mr&&(Ti&&(Vn==="tags"?$r(Ti,{source:"submit"}):Vn==="multiple"&&$r("",{source:"blur"})),cr&&cr.apply(void 0,arguments))},il=[];ue.useEffect(function(){return function(){il.forEach(function(Ko){return clearTimeout(Ko)}),il.splice(0,il.length)}},[]);var Zl=function(Eo){var Ma,tl=Eo.target,Oa=(Ma=ko.current)===null||Ma===void 0?void 0:Ma.getPopupElement();if(Oa&&Oa.contains(tl)){var La=setTimeout(function(){var ol=il.indexOf(La);if(ol!==-1&&il.splice(ol,1),Yi(),!ao&&!Oa.contains(document.activeElement)){var fl;(fl=Oo.current)===null||fl===void 0||fl.focus()}});il.push(La)}for(var Pl=arguments.length,El=new Array(Pl>1?Pl-1:0),Tl=1;Tl<Pl;Tl++)El[Tl-1]=arguments[Tl];qr==null||qr.apply(void 0,[Eo].concat(El))},vl=ue.useState({}),Bs=(0,De.Z)(vl,2),Yl=Bs[1];function cs(){Yl({})}var ts;ta&&(ts=function(Eo){qi(Eo)}),Ue(function(){var Ko;return[wo.current,(Ko=ko.current)===null||Ko===void 0?void 0:Ko.getPopupElement()]},jl,qi,!!ta);var Js=ue.useMemo(function(){return(0,Ke.Z)((0,Ke.Z)({},Lt),{},{notFoundContent:zn,open:Ba,triggerOpen:jl,id:Zt,showSearch:Cr,multiple:Gn,toggleOpen:qi})},[Lt,zn,jl,Ba,Zt,Cr,Gn,qi]),ds=!!Ji||zr,gl;ds&&(gl=ue.createElement(Ae,{className:Ce()("".concat(At,"-arrow"),(0,de.Z)({},"".concat(At,"-arrow-loading"),zr)),customizeIcon:Ji,customizeIconProps:{loading:zr,searchValue:Ti,open:Ba,focused:Ia,showSearch:Cr}}));var Gl=function(){var Eo;Rn==null||Rn(),(Eo=Oo.current)===null||Eo===void 0||Eo.focus(),jt([],{type:"clear",values:Ut}),da("",!1,!1)},ns=Pe(At,Gl,Ut,Zi,wi,Mr,Ti,Vn),bs=ns.allowClear,$l=ns.clearIcon,fs=ue.createElement(Mi,{ref:Mo}),Cs=Ce()(At,Ht,(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(At,"-focused"),Ia),"".concat(At,"-multiple"),Gn),"".concat(At,"-single"),!Gn),"".concat(At,"-allow-clear"),Zi),"".concat(At,"-show-arrow"),ds),"".concat(At,"-disabled"),Mr),"".concat(At,"-loading"),zr),"".concat(At,"-open"),Ba),"".concat(At,"-customize-input"),ea),"".concat(At,"-show-search"),Cr)),Kl=ue.createElement(ne,{ref:ko,disabled:Mr,prefixCls:At,visible:jl,popupElement:fs,animation:fi,transitionName:$i,dropdownStyle:oo,dropdownClassName:Ro,direction:tn,dropdownMatchSelectWidth:fo,dropdownRender:bo,dropdownAlign:co,placement:yo,builtinPlacements:Fi,getPopupContainer:Ai,empty:Gt,getTriggerDOMNode:function(Eo){return Co.current||Eo},onPopupVisibleChange:ts,onPopupMouseEnter:cs},ta?ue.cloneElement(ta,{ref:Gi}):ue.createElement(Dt,(0,b.Z)({},Lt,{domRef:Co,prefixCls:At,inputElement:ea,ref:Oo,id:Zt,prefix:zi,showSearch:Cr,autoClearSearchValue:Jr,mode:Vn,activeDescendantId:ai,tagRender:Xt,values:Ut,open:Ba,onToggleOpen:qi,activeValue:ni,searchValue:Ti,onSearch:da,onSearchSubmit:Cl,onRemove:Ao,tokenWithEnter:xo,onInputBlur:xl}))),Ha;return ta?Ha=Kl:Ha=ue.createElement("div",(0,b.Z)({className:Cs},Zr,{ref:wo,onMouseDown:Zl,onKeyDown:el,onKeyUp:Dl,onFocus:us,onBlur:ys}),ue.createElement(st,{visible:Ia&&!Ba,values:Ut}),Kl,gl,bs&&$l),ue.createElement(Re.Provider,{value:Js},Ha)}),Rt=$t,Kt=function(){return null};Kt.isSelectOptGroup=!0;var qt=Kt,Et=function(){return null};Et.isSelectOption=!0;var Tt=Et,on=E(80547),mn=E(2738),vt=E(48911);function Mt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Yt=["disabled","title","children","style","className"];function sn(Lt){return typeof Lt=="string"||typeof Lt=="number"}var xn=function(Qt,St){var Zt=tt(),At=Zt.prefixCls,Ht=Zt.id,ht=Zt.open,Xt=Zt.multiple,tn=Zt.mode,dn=Zt.searchValue,Ut=Zt.toggleOpen,jt=Zt.notFoundContent,Gt=Zt.onPopupScroll,an=ue.useContext(ot),zn=an.maxCount,Rn=an.flattenOptions,Vn=an.onActiveValue,Mr=an.defaultActiveFirstOption,zr=an.onSelect,Xr=an.menuItemSelectedIcon,Pr=an.rawValues,gr=an.fieldNames,Ar=an.virtual,Vr=an.direction,ni=an.listHeight,ri=an.listItemHeight,ai=an.optionRender,Dr="".concat(At,"-item"),Jr=(0,on.Z)(function(){return Rn},[ht,Rn],function(Yr,jn){return jn[0]&&Yr[1]!==jn[1]}),$r=ue.useRef(null),Ri=ue.useMemo(function(){return Xt&&Le(zn)&&(Pr==null?void 0:Pr.size)>=zn},[Xt,zn,Pr==null?void 0:Pr.size]),Hi=function(jn){jn.preventDefault()},Zi=function(jn){var lr;(lr=$r.current)===null||lr===void 0||lr.scrollTo(typeof jn=="number"?{index:jn}:jn)},zi=ue.useCallback(function(Yr){return tn==="combobox"?!1:Pr.has(Yr)},[tn,(0,We.Z)(Pr).toString(),Pr.size]),Ji=function(jn){for(var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,cr=Jr.length,Qn=0;Qn<cr;Qn+=1){var Wr=(jn+Qn*lr+cr)%cr,qr=Jr[Wr]||{},ir=qr.group,Gn=qr.data;if(!ir&&!(Gn!=null&&Gn.disabled)&&(zi(Gn.value)||!Ri))return Wr}return-1},wi=ue.useState(function(){return Ji(0)}),Mi=(0,De.Z)(wi,2),fi=Mi[0],$i=Mi[1],oo=function(jn){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;$i(jn);var cr={source:lr?"keyboard":"mouse"},Qn=Jr[jn];if(!Qn){Vn(null,-1,cr);return}Vn(Qn.value,jn,cr)};(0,ue.useEffect)(function(){oo(Mr!==!1?Ji(0):-1)},[Jr.length,dn]);var Ro=ue.useCallback(function(Yr){return tn==="combobox"?String(Yr).toLowerCase()===dn.toLowerCase():Pr.has(Yr)},[tn,dn,(0,We.Z)(Pr).toString(),Pr.size]);(0,ue.useEffect)(function(){var Yr=setTimeout(function(){if(!Xt&&ht&&Pr.size===1){var lr=Array.from(Pr)[0],cr=Jr.findIndex(function(Qn){var Wr=Qn.data;return dn?String(Wr.value).startsWith(dn):Wr.value===lr});cr!==-1&&(oo(cr),Zi(cr))}});if(ht){var jn;(jn=$r.current)===null||jn===void 0||jn.scrollTo(void 0)}return function(){return clearTimeout(Yr)}},[ht,dn]);var fo=function(jn){jn!==void 0&&zr(jn,{selected:!Pr.has(jn)}),Xt||Ut(!1)};if(ue.useImperativeHandle(St,function(){return{onKeyDown:function(jn){var lr=jn.which,cr=jn.ctrlKey;switch(lr){case ze.Z.N:case ze.Z.P:case ze.Z.UP:case ze.Z.DOWN:{var Qn=0;if(lr===ze.Z.UP?Qn=-1:lr===ze.Z.DOWN?Qn=1:Mt()&&cr&&(lr===ze.Z.N?Qn=1:lr===ze.Z.P&&(Qn=-1)),Qn!==0){var Wr=Ji(fi+Qn,Qn);Zi(Wr),oo(Wr,!0)}break}case ze.Z.TAB:case ze.Z.ENTER:{var qr,ir=Jr[fi];ir&&!(ir!=null&&(qr=ir.data)!==null&&qr!==void 0&&qr.disabled)&&!Ri?fo(ir.value):fo(void 0),ht&&jn.preventDefault();break}case ze.Z.ESC:Ut(!1),ht&&jn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(jn){Zi(jn)}}}),Jr.length===0)return ue.createElement("div",{role:"listbox",id:"".concat(Ht,"_list"),className:"".concat(Dr,"-empty"),onMouseDown:Hi},jt);var bo=Object.keys(gr).map(function(Yr){return gr[Yr]}),co=function(jn){return jn.label};function yo(Yr,jn){var lr=Yr.group;return{role:lr?"presentation":"option",id:"".concat(Ht,"_list_").concat(jn)}}var Fi=function(jn){var lr=Jr[jn];if(!lr)return null;var cr=lr.data||{},Qn=cr.value,Wr=lr.group,qr=(0,ke.Z)(cr,!0),ir=co(lr);return lr?ue.createElement("div",(0,b.Z)({"aria-label":typeof ir=="string"&&!Wr?ir:null},qr,{key:jn},yo(lr,jn),{"aria-selected":Ro(Qn)}),Qn):null},Ai={role:"listbox",id:"".concat(Ht,"_list")};return ue.createElement(ue.Fragment,null,Ar&&ue.createElement("div",(0,b.Z)({},Ai,{style:{height:0,width:0,overflow:"hidden"}}),Fi(fi-1),Fi(fi),Fi(fi+1)),ue.createElement(vt.Z,{itemKey:"key",ref:$r,data:Jr,height:ni,itemHeight:ri,fullHeight:!1,onMouseDown:Hi,onScroll:Gt,virtual:Ar,direction:Vr,innerProps:Ar?null:Ai},function(Yr,jn){var lr=Yr.group,cr=Yr.groupOption,Qn=Yr.data,Wr=Yr.label,qr=Yr.value,ir=Qn.key;if(lr){var Gn,Cr=(Gn=Qn.title)!==null&&Gn!==void 0?Gn:sn(Wr)?Wr.toString():void 0;return ue.createElement("div",{className:Ce()(Dr,"".concat(Dr,"-group"),Qn.className),title:Cr},Wr!==void 0?Wr:ir)}var Zr=Qn.disabled,ji=Qn.title,vo=Qn.children,ao=Qn.style,Bo=Qn.className,wo=(0,ve.Z)(Qn,Yt),Co=(0,mn.Z)(wo,bo),ko=zi(qr),Oo=Zr||!ko&&Ri,Mo="".concat(Dr,"-option"),ha=Ce()(Dr,Mo,Bo,(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(Mo,"-grouped"),cr),"".concat(Mo,"-active"),fi===jn&&!Oo),"".concat(Mo,"-disabled"),Oo),"".concat(Mo,"-selected"),ko)),Aa=co(Yr),xa=!Xr||typeof Xr=="function"||ko,Ia=typeof Aa=="number"?Aa:Aa||qr,Da=sn(Ia)?Ia.toString():void 0;return ji!==void 0&&(Da=ji),ue.createElement("div",(0,b.Z)({},(0,ke.Z)(Co),Ar?{}:yo(Yr,jn),{"aria-selected":Ro(qr),className:ha,title:Da,onMouseMove:function(){fi===jn||Oo||oo(jn)},onClick:function(){Oo||fo(qr)},style:ao}),ue.createElement("div",{className:"".concat(Mo,"-content")},typeof ai=="function"?ai(Yr,{index:jn}):Ia),ue.isValidElement(Xr)||ko,xa&&ue.createElement(Ae,{className:"".concat(Dr,"-option-state"),customizeIcon:Xr,customizeIconProps:{value:qr,disabled:Oo,isSelected:ko}},ko?"\u2713":null))}))},Ln=ue.forwardRef(xn),Xn=Ln,Jn=function(Lt,Qt){var St=ue.useRef({values:new Map,options:new Map}),Zt=ue.useMemo(function(){var Ht=St.current,ht=Ht.values,Xt=Ht.options,tn=Lt.map(function(jt){if(jt.label===void 0){var Gt;return(0,Ke.Z)((0,Ke.Z)({},jt),{},{label:(Gt=ht.get(jt.value))===null||Gt===void 0?void 0:Gt.label})}return jt}),dn=new Map,Ut=new Map;return tn.forEach(function(jt){dn.set(jt.value,jt),Ut.set(jt.value,Qt.get(jt.value)||Xt.get(jt.value))}),St.current.values=dn,St.current.options=Ut,tn},[Lt,Qt]),At=ue.useCallback(function(Ht){return Qt.get(Ht)||St.current.options.get(Ht)},[Qt]);return[Zt,At]};function Bn(Lt,Qt){return $e(Lt).join("").toUpperCase().includes(Qt)}var Un=function(Lt,Qt,St,Zt,At){return ue.useMemo(function(){if(!St||Zt===!1)return Lt;var Ht=Qt.options,ht=Qt.label,Xt=Qt.value,tn=[],dn=typeof Zt=="function",Ut=St.toUpperCase(),jt=dn?Zt:function(an,zn){return At?Bn(zn[At],Ut):zn[Ht]?Bn(zn[ht!=="children"?ht:"label"],Ut):Bn(zn[Xt],Ut)},Gt=dn?function(an){return it(an)}:function(an){return an};return Lt.forEach(function(an){if(an[Ht]){var zn=jt(St,Gt(an));if(zn)tn.push(an);else{var Rn=an[Ht].filter(function(Vn){return jt(St,Gt(Vn))});Rn.length&&tn.push((0,Ke.Z)((0,Ke.Z)({},an),{},(0,de.Z)({},Ht,Rn)))}return}jt(St,Gt(an))&&tn.push(an)}),tn},[Lt,Zt,At,St,Qt])},Wt=E(6551),Ot=E(11592),ln=["children","value"],en=["children"];function Jt(Lt){var Qt=Lt,St=Qt.key,Zt=Qt.props,At=Zt.children,Ht=Zt.value,ht=(0,ve.Z)(Zt,ln);return(0,Ke.Z)({key:St,value:Ht!==void 0?Ht:St,children:At},ht)}function Sn(Lt){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Ot.Z)(Lt).map(function(St,Zt){if(!ue.isValidElement(St)||!St.type)return null;var At=St,Ht=At.type.isSelectOptGroup,ht=At.key,Xt=At.props,tn=Xt.children,dn=(0,ve.Z)(Xt,en);return Qt||!Ht?Jt(St):(0,Ke.Z)((0,Ke.Z)({key:"__RC_SELECT_GRP__".concat(ht===null?Zt:ht,"__"),label:ht},dn),{},{options:Sn(tn)})}).filter(function(St){return St})}var yn=function(Qt,St,Zt,At,Ht){return ue.useMemo(function(){var ht=Qt,Xt=!Qt;Xt&&(ht=Sn(St));var tn=new Map,dn=new Map,Ut=function(an,zn,Rn){Rn&&typeof Rn=="string"&&an.set(zn[Rn],zn)},jt=function Gt(an){for(var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rn=0;Rn<an.length;Rn+=1){var Vn=an[Rn];!Vn[Zt.options]||zn?(tn.set(Vn[Zt.value],Vn),Ut(dn,Vn,Zt.label),Ut(dn,Vn,At),Ut(dn,Vn,Ht)):Gt(Vn[Zt.options],!0)}};return jt(ht),{options:ht,valueOptions:tn,labelOptions:dn}},[Qt,St,Zt,At,Ht])},Mn=yn;function Yn(Lt){var Qt=ue.useRef();Qt.current=Lt;var St=ue.useCallback(function(){return Qt.current.apply(Qt,arguments)},[]);return St}function Wn(Lt){var Qt=Lt.mode,St=Lt.options,Zt=Lt.children,At=Lt.backfill,Ht=Lt.allowClear,ht=Lt.placeholder,Xt=Lt.getInputElement,tn=Lt.showSearch,dn=Lt.onSearch,Ut=Lt.defaultOpen,jt=Lt.autoFocus,Gt=Lt.labelInValue,an=Lt.value,zn=Lt.inputValue,Rn=Lt.optionLabelProp,Vn=isMultiple(Qt),Mr=tn!==void 0?tn:Vn||Qt==="combobox",zr=St||convertChildrenToData(Zt);if(warning(Qt!=="tags"||zr.every(function(Ar){return!Ar.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Qt==="tags"||Qt==="combobox"){var Xr=zr.some(function(Ar){return Ar.options?Ar.options.some(function(Vr){return typeof("value"in Vr?Vr.value:Vr.key)=="number"}):typeof("value"in Ar?Ar.value:Ar.key)=="number"});warning(!Xr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Qt!=="combobox"||!Rn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Qt==="combobox"||!At,"`backfill` only works with `combobox` mode."),warning(Qt==="combobox"||!Xt,"`getInputElement` only work with `combobox` mode."),noteOnce(Qt!=="combobox"||!Xt||!Ht||!ht,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),dn&&!Mr&&Qt!=="combobox"&&Qt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Ut||jt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),an!=null){var Pr=toArray(an);warning(!Gt||Pr.every(function(Ar){return _typeof(Ar)==="object"&&("key"in Ar||"value"in Ar)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Vn||Array.isArray(an),"`value` should be array when `mode` is `multiple` or `tags`")}if(Zt){var gr=null;toNodeArray(Zt).some(function(Ar){if(!React.isValidElement(Ar)||!Ar.type)return!1;var Vr=Ar,ni=Vr.type;if(ni.isSelectOption)return!1;if(ni.isSelectOptGroup){var ri=toNodeArray(Ar.props.children).every(function(ai){return!React.isValidElement(ai)||!Ar.type||ai.type.isSelectOption?!0:(gr=ai.type,!1)});return!ri}return gr=ni,!0}),gr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(gr.displayName||gr.name||gr,"`.")),warning(zn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function In(Lt,Qt){if(Lt){var St=function Zt(At){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ht=0;ht<At.length;ht++){var Xt=At[ht];if(Xt[Qt==null?void 0:Qt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ht&&Array.isArray(Xt[Qt==null?void 0:Qt.options])&&Zt(Xt[Qt==null?void 0:Qt.options],!0))break}};St(Lt)}}var ar=null,tr=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Rr=["inputValue"];function Ir(Lt){return!Lt||(0,ye.Z)(Lt)!=="object"}var En=ue.forwardRef(function(Lt,Qt){var St=Lt.id,Zt=Lt.mode,At=Lt.prefixCls,Ht=At===void 0?"rc-select":At,ht=Lt.backfill,Xt=Lt.fieldNames,tn=Lt.inputValue,dn=Lt.searchValue,Ut=Lt.onSearch,jt=Lt.autoClearSearchValue,Gt=jt===void 0?!0:jt,an=Lt.onSelect,zn=Lt.onDeselect,Rn=Lt.dropdownMatchSelectWidth,Vn=Rn===void 0?!0:Rn,Mr=Lt.filterOption,zr=Lt.filterSort,Xr=Lt.optionFilterProp,Pr=Lt.optionLabelProp,gr=Lt.options,Ar=Lt.optionRender,Vr=Lt.children,ni=Lt.defaultActiveFirstOption,ri=Lt.menuItemSelectedIcon,ai=Lt.virtual,Dr=Lt.direction,Jr=Lt.listHeight,$r=Jr===void 0?200:Jr,Ri=Lt.listItemHeight,Hi=Ri===void 0?20:Ri,Zi=Lt.labelRender,zi=Lt.value,Ji=Lt.defaultValue,wi=Lt.labelInValue,Mi=Lt.onChange,fi=Lt.maxCount,$i=(0,ve.Z)(Lt,tr),oo=(0,Wt.ZP)(St),Ro=un(Zt),fo=!!(!gr&&Vr),bo=ue.useMemo(function(){return Mr===void 0&&Zt==="combobox"?!1:Mr},[Mr,Zt]),co=ue.useMemo(function(){return Ye(Xt,fo)},[JSON.stringify(Xt),fo]),yo=(0,fe.Z)("",{value:dn!==void 0?dn:tn,postState:function(xo){return xo||""}}),Fi=(0,De.Z)(yo,2),Ai=Fi[0],Yr=Fi[1],jn=Mn(gr,Vr,co,Xr,Pr),lr=jn.valueOptions,cr=jn.labelOptions,Qn=jn.options,Wr=ue.useCallback(function(qi){var xo=$e(qi);return xo.map(function(Xi){var to,Lo,da,Cl,Ya;if(Ir(Xi))to=Xi;else{var Wa;da=Xi.key,Lo=Xi.label,to=(Wa=Xi.value)!==null&&Wa!==void 0?Wa:da}var Pa=lr.get(to);if(Pa){var pl;if(Lo===void 0&&(Lo=Pa==null?void 0:Pa[Pr||co.label]),da===void 0&&(da=(pl=Pa==null?void 0:Pa.key)!==null&&pl!==void 0?pl:to),Cl=Pa==null?void 0:Pa.disabled,Ya=Pa==null?void 0:Pa.title,0)var Al}return{label:Lo,value:to,key:da,disabled:Cl,title:Ya}})},[co,Pr,lr]),qr=(0,fe.Z)(Ji,{value:zi}),ir=(0,De.Z)(qr,2),Gn=ir[0],Cr=ir[1],Zr=ue.useMemo(function(){var qi,xo=Ro&&Gn===null?[]:Gn,Xi=Wr(xo);return Zt==="combobox"&&se((qi=Xi[0])===null||qi===void 0?void 0:qi.value)?[]:Xi},[Gn,Wr,Zt,Ro]),ji=Jn(Zr,lr),vo=(0,De.Z)(ji,2),ao=vo[0],Bo=vo[1],wo=ue.useMemo(function(){if(!Zt&&ao.length===1){var qi=ao[0];if(qi.value===null&&(qi.label===null||qi.label===void 0))return[]}return ao.map(function(xo){var Xi;return(0,Ke.Z)((0,Ke.Z)({},xo),{},{label:(Xi=typeof Zi=="function"?Zi(xo):xo.label)!==null&&Xi!==void 0?Xi:xo.value})})},[Zt,ao,Zi]),Co=ue.useMemo(function(){return new Set(ao.map(function(qi){return qi.value}))},[ao]);ue.useEffect(function(){if(Zt==="combobox"){var qi,xo=(qi=ao[0])===null||qi===void 0?void 0:qi.value;Yr(Ze(xo)?String(xo):"")}},[ao]);var ko=Yn(function(qi,xo){var Xi=xo!=null?xo:qi;return(0,de.Z)((0,de.Z)({},co.value,qi),co.label,Xi)}),Oo=ue.useMemo(function(){if(Zt!=="tags")return Qn;var qi=(0,We.Z)(Qn),xo=function(to){return lr.has(to)};return(0,We.Z)(ao).sort(function(Xi,to){return Xi.value<to.value?-1:1}).forEach(function(Xi){var to=Xi.value;xo(to)||qi.push(ko(to,Xi.label))}),qi},[ko,Qn,lr,ao,Zt]),Mo=Un(Oo,co,Ai,bo,Xr),ha=ue.useMemo(function(){return Zt!=="tags"||!Ai||Mo.some(function(qi){return qi[Xr||"value"]===Ai})||Mo.some(function(qi){return qi[co.value]===Ai})?Mo:[ko(Ai)].concat((0,We.Z)(Mo))},[ko,Xr,Zt,Mo,Ai,co]),Aa=function qi(xo){var Xi=(0,We.Z)(xo).sort(function(to,Lo){return zr(to,Lo,{searchValue:Ai})});return Xi.map(function(to){return Array.isArray(to.options)?(0,Ke.Z)((0,Ke.Z)({},to),{},{options:to.options.length>0?qi(to.options):to.options}):to})},xa=ue.useMemo(function(){return zr?Aa(ha):ha},[ha,zr,Ai]),Ia=ue.useMemo(function(){return Ge(xa,{fieldNames:co,childrenAsData:fo})},[xa,co,fo]),Da=function(xo){var Xi=Wr(xo);if(Cr(Xi),Mi&&(Xi.length!==ao.length||Xi.some(function(da,Cl){var Ya;return((Ya=ao[Cl])===null||Ya===void 0?void 0:Ya.value)!==(da==null?void 0:da.value)}))){var to=wi?Xi:Xi.map(function(da){return da.value}),Lo=Xi.map(function(da){return it(Bo(da.value))});Mi(Ro?to:to[0],Ro?Lo:Lo[0])}},Yi=ue.useState(null),Ti=(0,De.Z)(Yi,2),ea=Ti[0],ta=Ti[1],Gi=ue.useState(0),Wo=(0,De.Z)(Gi,2),Jo=Wo[0],ho=Wo[1],Zo=ni!==void 0?ni:Zt!=="combobox",Fo=ue.useCallback(function(qi,xo){var Xi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},to=Xi.source,Lo=to===void 0?"keyboard":to;ho(xo),ht&&Zt==="combobox"&&qi!==null&&Lo==="keyboard"&&ta(String(qi))},[ht,Zt]),ka=function(xo,Xi,to){var Lo=function(){var Ao,xl=Bo(xo);return[wi?{label:xl==null?void 0:xl[co.label],value:xo,key:(Ao=xl==null?void 0:xl.key)!==null&&Ao!==void 0?Ao:xo}:xo,it(xl)]};if(Xi&&an){var da=Lo(),Cl=(0,De.Z)(da,2),Ya=Cl[0],Wa=Cl[1];an(Ya,Wa)}else if(!Xi&&zn&&to!=="clear"){var Pa=Lo(),pl=(0,De.Z)(Pa,2),Al=pl[0],el=pl[1];zn(Al,el)}},rl=Yn(function(qi,xo){var Xi,to=Ro?xo.selected:!0;to?Xi=Ro?[].concat((0,We.Z)(ao),[qi]):[qi]:Xi=ao.filter(function(Lo){return Lo.value!==qi}),Da(Xi),ka(qi,to),Zt==="combobox"?ta(""):(!un||Gt)&&(Yr(""),ta(""))}),za=function(xo,Xi){Da(xo);var to=Xi.type,Lo=Xi.values;(to==="remove"||to==="clear")&&Lo.forEach(function(da){ka(da.value,!1,to)})},Ba=function(xo,Xi){if(Yr(xo),ta(null),Xi.source==="submit"){var to=(xo||"").trim();if(to){var Lo=Array.from(new Set([].concat((0,We.Z)(Co),[to])));Da(Lo),ka(to,!0),Yr("")}return}Xi.source!=="blur"&&(Zt==="combobox"&&Da(xo),Ut==null||Ut(xo))},_l=function(xo){var Xi=xo;Zt!=="tags"&&(Xi=xo.map(function(Lo){var da=cr.get(Lo);return da==null?void 0:da.value}).filter(function(Lo){return Lo!==void 0}));var to=Array.from(new Set([].concat((0,We.Z)(Co),(0,We.Z)(Xi))));Da(to),to.forEach(function(Lo){ka(Lo,!0)})},jl=ue.useMemo(function(){var qi=ai!==!1&&Vn!==!1;return(0,Ke.Z)((0,Ke.Z)({},jn),{},{flattenOptions:Ia,onActiveValue:Fo,defaultActiveFirstOption:Zo,onSelect:rl,menuItemSelectedIcon:ri,rawValues:Co,fieldNames:co,virtual:qi,direction:Dr,listHeight:$r,listItemHeight:Hi,childrenAsData:fo,maxCount:fi,optionRender:Ar})},[fi,jn,Ia,Fo,Zo,rl,ri,Co,co,ai,Vn,Dr,$r,Hi,fo,Ar]);return ue.createElement(ot.Provider,{value:jl},ue.createElement(Rt,(0,b.Z)({},$i,{id:oo,prefixCls:Ht,ref:Qt,omitDomProps:Rr,mode:Zt,displayValues:wo,onDisplayValuesChange:za,direction:Dr,searchValue:Ai,onSearch:Ba,autoClearSearchValue:Gt,onSearchSplit:_l,dropdownMatchSelectWidth:Vn,OptionList:Xn,emptyOptions:!Ia.length,activeValue:ea,activeDescendantId:"".concat(oo,"_list_").concat(Jo)})))}),kn=En;kn.Option=Tt,kn.OptGroup=qt;var nr=kn,rr=nr},22711:function(wn,zt,E){"use strict";E.r(zt),E.d(zt,{ResizableTextArea:function(){return Se},default:function(){return gt}});var b=E(54476),We=E(20068),de=E(33885),Ke=E(94480),De=E(42978),ve=E(75931),ye=E(92310),fe=E.n(ye),xe=E(36901),ue=E(66003),Fe=E(30292),Ce=E(18929),Te=E(59301),we=E(76190),Me=E(29301),ge=E(34280),Ae=E(16089),Pe=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,Re=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],tt={},ce;function Oe($e){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=$e.getAttribute("id")||$e.getAttribute("data-reactid")||$e.getAttribute("name");if(at&&tt[bt])return tt[bt];var Ze=window.getComputedStyle($e),se=Ze.getPropertyValue("box-sizing")||Ze.getPropertyValue("-moz-box-sizing")||Ze.getPropertyValue("-webkit-box-sizing"),Be=parseFloat(Ze.getPropertyValue("padding-bottom"))+parseFloat(Ze.getPropertyValue("padding-top")),Je=parseFloat(Ze.getPropertyValue("border-bottom-width"))+parseFloat(Ze.getPropertyValue("border-top-width")),lt=Re.map(function(je){return"".concat(je,":").concat(Ze.getPropertyValue(je))}).join(";"),Ee={sizingStyle:lt,paddingSize:Be,borderSize:Je,boxSizing:se};return at&&bt&&(tt[bt]=Ee),Ee}function Ue($e){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ce||(ce=document.createElement("textarea"),ce.setAttribute("tab-index","-1"),ce.setAttribute("aria-hidden","true"),ce.setAttribute("name","hiddenTextarea"),document.body.appendChild(ce)),$e.getAttribute("wrap")?ce.setAttribute("wrap",$e.getAttribute("wrap")):ce.removeAttribute("wrap");var se=Oe($e,at),Be=se.paddingSize,Je=se.borderSize,lt=se.boxSizing,Ee=se.sizingStyle;ce.setAttribute("style","".concat(Ee,";").concat(Pe)),ce.value=$e.value||$e.placeholder||"";var je=void 0,rt=void 0,xt,ct=ce.scrollHeight;if(lt==="border-box"?ct+=Je:lt==="content-box"&&(ct-=Be),bt!==null||Ze!==null){ce.value=" ";var wt=ce.scrollHeight-Be;bt!==null&&(je=wt*bt,lt==="border-box"&&(je=je+Be+Je),ct=Math.max(je,ct)),Ze!==null&&(rt=wt*Ze,lt==="border-box"&&(rt=rt+Be+Je),xt=ct>rt?"":"hidden",ct=Math.min(rt,ct))}var ft={height:ct,overflowY:xt,resize:"none"};return je&&(ft.minHeight=je),rt&&(ft.maxHeight=rt),ft}var ze=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],nt=0,ke=1,Ve=2,et=Te.forwardRef(function($e,at){var bt=$e,Ze=bt.prefixCls,se=bt.defaultValue,Be=bt.value,Je=bt.autoSize,lt=bt.onResize,Ee=bt.className,je=bt.style,rt=bt.disabled,xt=bt.onChange,ct=bt.onInternalAutoSize,wt=(0,ve.Z)(bt,ze),ft=(0,Ce.Z)(se,{value:Be,postState:function(Tt){return Tt!=null?Tt:""}}),It=(0,De.Z)(ft,2),Dt=It[0],oe=It[1],ae=function(Tt){oe(Tt.target.value),xt==null||xt(Tt)},te=Te.useRef();Te.useImperativeHandle(at,function(){return{textArea:te.current}});var x=Te.useMemo(function(){return Je&&(0,we.Z)(Je)==="object"?[Je.minRows,Je.maxRows]:[]},[Je]),re=(0,De.Z)(x,2),ne=re[0],le=re[1],Ie=!!Je,Le=function(){try{if(document.activeElement===te.current){var Tt=te.current,on=Tt.selectionStart,mn=Tt.selectionEnd,vt=Tt.scrollTop;te.current.setSelectionRange(on,mn),te.current.scrollTop=vt}}catch(Mt){}},Ye=Te.useState(Ve),Ge=(0,De.Z)(Ye,2),it=Ge[0],dt=Ge[1],yt=Te.useState(),ot=(0,De.Z)(yt,2),st=ot[0],Vt=ot[1],kt=function(){dt(nt)};(0,ge.Z)(function(){Ie&&kt()},[Be,ne,le,Ie]),(0,ge.Z)(function(){if(it===nt)dt(ke);else if(it===ke){var Et=Ue(te.current,!1,ne,le);dt(Ve),Vt(Et)}else Le()},[it]);var un=Te.useRef(),$t=function(){Ae.Z.cancel(un.current)},Rt=function(Tt){it===Ve&&(lt==null||lt(Tt),Je&&($t(),un.current=(0,Ae.Z)(function(){kt()})))};Te.useEffect(function(){return $t},[]);var Kt=Ie?st:null,qt=(0,de.Z)((0,de.Z)({},je),Kt);return(it===nt||it===ke)&&(qt.overflowY="hidden",qt.overflowX="hidden"),Te.createElement(Me.Z,{onResize:Rt,disabled:!(Je||lt)},Te.createElement("textarea",(0,b.Z)({},wt,{ref:te,style:qt,className:fe()(Ze,Ee,(0,We.Z)({},"".concat(Ze,"-disabled"),rt)),disabled:rt,value:Dt,onChange:ae})))}),Se=et,qe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],pe=Te.forwardRef(function($e,at){var bt,Ze=$e.defaultValue,se=$e.value,Be=$e.onFocus,Je=$e.onBlur,lt=$e.onChange,Ee=$e.allowClear,je=$e.maxLength,rt=$e.onCompositionStart,xt=$e.onCompositionEnd,ct=$e.suffix,wt=$e.prefixCls,ft=wt===void 0?"rc-textarea":wt,It=$e.showCount,Dt=$e.count,oe=$e.className,ae=$e.style,te=$e.disabled,x=$e.hidden,re=$e.classNames,ne=$e.styles,le=$e.onResize,Ie=$e.onClear,Le=$e.onPressEnter,Ye=$e.readOnly,Ge=$e.autoSize,it=$e.onKeyDown,dt=(0,ve.Z)($e,qe),yt=(0,Ce.Z)(Ze,{value:se,defaultValue:Ze}),ot=(0,De.Z)(yt,2),st=ot[0],Vt=ot[1],kt=st==null?"":String(st),un=Te.useState(!1),$t=(0,De.Z)(un,2),Rt=$t[0],Kt=$t[1],qt=Te.useRef(!1),Et=Te.useState(null),Tt=(0,De.Z)(Et,2),on=Tt[0],mn=Tt[1],vt=(0,Te.useRef)(null),Mt=(0,Te.useRef)(null),Yt=function(){var kn;return(kn=Mt.current)===null||kn===void 0?void 0:kn.textArea},sn=function(){Yt().focus()};(0,Te.useImperativeHandle)(at,function(){var En;return{resizableTextArea:Mt.current,focus:sn,blur:function(){Yt().blur()},nativeElement:((En=vt.current)===null||En===void 0?void 0:En.nativeElement)||Yt()}}),(0,Te.useEffect)(function(){Kt(function(En){return!te&&En})},[te]);var xn=Te.useState(null),Ln=(0,De.Z)(xn,2),Xn=Ln[0],Jn=Ln[1];Te.useEffect(function(){if(Xn){var En;(En=Yt()).setSelectionRange.apply(En,(0,Ke.Z)(Xn))}},[Xn]);var Bn=(0,ue.Z)(Dt,It),Un=(bt=Bn.max)!==null&&bt!==void 0?bt:je,Wt=Number(Un)>0,Ot=Bn.strategy(kt),ln=!!Un&&Ot>Un,en=function(kn,nr){var rr=nr;!qt.current&&Bn.exceedFormatter&&Bn.max&&Bn.strategy(nr)>Bn.max&&(rr=Bn.exceedFormatter(nr,{max:Bn.max}),nr!==rr&&Jn([Yt().selectionStart||0,Yt().selectionEnd||0])),Vt(rr),(0,Fe.rJ)(kn.currentTarget,kn,lt,rr)},Jt=function(kn){qt.current=!0,rt==null||rt(kn)},Sn=function(kn){qt.current=!1,en(kn,kn.currentTarget.value),xt==null||xt(kn)},yn=function(kn){en(kn,kn.target.value)},Mn=function(kn){kn.key==="Enter"&&Le&&Le(kn),it==null||it(kn)},Yn=function(kn){Kt(!0),Be==null||Be(kn)},Wn=function(kn){Kt(!1),Je==null||Je(kn)},In=function(kn){Vt(""),sn(),(0,Fe.rJ)(Yt(),kn,lt)},ar=ct,tr;Bn.show&&(Bn.showFormatter?tr=Bn.showFormatter({value:kt,count:Ot,maxLength:Un}):tr="".concat(Ot).concat(Wt?" / ".concat(Un):""),ar=Te.createElement(Te.Fragment,null,ar,Te.createElement("span",{className:fe()("".concat(ft,"-data-count"),re==null?void 0:re.count),style:ne==null?void 0:ne.count},tr)));var Rr=function(kn){var nr;le==null||le(kn),(nr=Yt())!==null&&nr!==void 0&&nr.style.height&&mn(!0)},Ir=!Ge&&!It&&!Ee;return Te.createElement(xe.BaseInput,{ref:vt,value:kt,allowClear:Ee,handleReset:In,suffix:ar,prefixCls:ft,classNames:(0,de.Z)((0,de.Z)({},re),{},{affixWrapper:fe()(re==null?void 0:re.affixWrapper,(0,We.Z)((0,We.Z)({},"".concat(ft,"-show-count"),It),"".concat(ft,"-textarea-allow-clear"),Ee))}),disabled:te,focused:Rt,className:fe()(oe,ln&&"".concat(ft,"-out-of-range")),style:(0,de.Z)((0,de.Z)({},ae),on&&!Ir?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof tr=="string"?tr:void 0}},hidden:x,readOnly:Ye,onClear:Ie},Te.createElement(Se,(0,b.Z)({},dt,{autoSize:Ge,maxLength:je,onKeyDown:Mn,onChange:yn,onFocus:Yn,onBlur:Wn,onCompositionStart:Jt,onCompositionEnd:Sn,className:fe()(re==null?void 0:re.textarea),style:(0,de.Z)((0,de.Z)({},ne==null?void 0:ne.textarea),{},{resize:ae==null?void 0:ae.resize}),disabled:te,prefixCls:ft,onResize:Rr,ref:Mt,readOnly:Ye})))}),be=pe,gt=be},639:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return tt}});var b=E(54476),We=E(20068),de=E(33885),Ke=E(42978),De=E(75931),ve=E(59301),ye=E(92310),fe=E.n(ye),xe=E(26112),ue=E(30699),Fe=function(Oe){for(var Ue=Oe.prefixCls,ze=Oe.level,nt=Oe.isStart,ke=Oe.isEnd,Ve="".concat(Ue,"-indent-unit"),et=[],Se=0;Se<ze;Se+=1)et.push(ve.createElement("span",{key:Se,className:fe()(Ve,(0,We.Z)((0,We.Z)({},"".concat(Ve,"-start"),nt[Se]),"".concat(Ve,"-end"),ke[Se]))}));return ve.createElement("span",{"aria-hidden":"true",className:"".concat(Ue,"-indent")},et)},Ce=ve.memo(Fe),Te=E(65065),we=E(34061),Me=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ge="open",Ae="close",Pe="---",Re=function(Oe){var Ue,ze,nt,ke=Oe.eventKey,Ve=Oe.className,et=Oe.style,Se=Oe.dragOver,qe=Oe.dragOverGapTop,pe=Oe.dragOverGapBottom,be=Oe.isLeaf,gt=Oe.isStart,$e=Oe.isEnd,at=Oe.expanded,bt=Oe.selected,Ze=Oe.checked,se=Oe.halfChecked,Be=Oe.loading,Je=Oe.domRef,lt=Oe.active,Ee=Oe.data,je=Oe.onMouseMove,rt=Oe.selectable,xt=(0,De.Z)(Oe,Me),ct=ve.useContext(ue.k),wt=ve.useContext(ue.y),ft=ve.useRef(null),It=ve.useState(!1),Dt=(0,Ke.Z)(It,2),oe=Dt[0],ae=Dt[1],te=!!(ct.disabled||Oe.disabled||(Ue=wt.nodeDisabled)!==null&&Ue!==void 0&&Ue.call(wt,Ee)),x=ve.useMemo(function(){return!ct.checkable||Oe.checkable===!1?!1:ct.checkable},[ct.checkable,Oe.checkable]),re=function(Ot){te||ct.onNodeSelect(Ot,(0,we.F)(Oe))},ne=function(Ot){te||!x||Oe.disableCheckbox||ct.onNodeCheck(Ot,(0,we.F)(Oe),!Ze)},le=ve.useMemo(function(){return typeof rt=="boolean"?rt:ct.selectable},[rt,ct.selectable]),Ie=function(Ot){ct.onNodeClick(Ot,(0,we.F)(Oe)),le?re(Ot):ne(Ot)},Le=function(Ot){ct.onNodeDoubleClick(Ot,(0,we.F)(Oe))},Ye=function(Ot){ct.onNodeMouseEnter(Ot,(0,we.F)(Oe))},Ge=function(Ot){ct.onNodeMouseLeave(Ot,(0,we.F)(Oe))},it=function(Ot){ct.onNodeContextMenu(Ot,(0,we.F)(Oe))},dt=ve.useMemo(function(){return!!(ct.draggable&&(!ct.draggable.nodeDraggable||ct.draggable.nodeDraggable(Ee)))},[ct.draggable,Ee]),yt=function(Ot){Ot.stopPropagation(),ae(!0),ct.onNodeDragStart(Ot,Oe);try{Ot.dataTransfer.setData("text/plain","")}catch(ln){}},ot=function(Ot){Ot.preventDefault(),Ot.stopPropagation(),ct.onNodeDragEnter(Ot,Oe)},st=function(Ot){Ot.preventDefault(),Ot.stopPropagation(),ct.onNodeDragOver(Ot,Oe)},Vt=function(Ot){Ot.stopPropagation(),ct.onNodeDragLeave(Ot,Oe)},kt=function(Ot){Ot.stopPropagation(),ae(!1),ct.onNodeDragEnd(Ot,Oe)},un=function(Ot){Ot.preventDefault(),Ot.stopPropagation(),ae(!1),ct.onNodeDrop(Ot,Oe)},$t=function(Ot){Be||ct.onNodeExpand(Ot,(0,we.F)(Oe))},Rt=ve.useMemo(function(){var Wt=(0,Te.Z)(ct.keyEntities,ke)||{},Ot=Wt.children;return!!(Ot||[]).length},[ct.keyEntities,ke]),Kt=ve.useMemo(function(){return be===!1?!1:be||!ct.loadData&&!Rt||ct.loadData&&Oe.loaded&&!Rt},[be,ct.loadData,Rt,Oe.loaded]);ve.useEffect(function(){Be||typeof ct.loadData=="function"&&at&&!Kt&&!Oe.loaded&&ct.onNodeLoad((0,we.F)(Oe))},[Be,ct.loadData,ct.onNodeLoad,at,Kt,Oe]);var qt=ve.useMemo(function(){var Wt;return(Wt=ct.draggable)!==null&&Wt!==void 0&&Wt.icon?ve.createElement("span",{className:"".concat(ct.prefixCls,"-draggable-icon")},ct.draggable.icon):null},[ct.draggable]),Et=function(Ot){var ln=Oe.switcherIcon||ct.switcherIcon;return typeof ln=="function"?ln((0,de.Z)((0,de.Z)({},Oe),{},{isLeaf:Ot})):ln},Tt=function(){if(Kt){var Ot=Et(!0);return Ot!==!1?ve.createElement("span",{className:fe()("".concat(ct.prefixCls,"-switcher"),"".concat(ct.prefixCls,"-switcher-noop"))},Ot):null}var ln=Et(!1);return ln!==!1?ve.createElement("span",{onClick:$t,className:fe()("".concat(ct.prefixCls,"-switcher"),"".concat(ct.prefixCls,"-switcher_").concat(at?ge:Ae))},ln):null},on=ve.useMemo(function(){if(!x)return null;var Wt=typeof x!="boolean"?x:null;return ve.createElement("span",{className:fe()("".concat(ct.prefixCls,"-checkbox"),(0,We.Z)((0,We.Z)((0,We.Z)({},"".concat(ct.prefixCls,"-checkbox-checked"),Ze),"".concat(ct.prefixCls,"-checkbox-indeterminate"),!Ze&&se),"".concat(ct.prefixCls,"-checkbox-disabled"),te||Oe.disableCheckbox)),onClick:ne,role:"checkbox","aria-checked":se?"mixed":Ze,"aria-disabled":te||Oe.disableCheckbox,"aria-label":"Select ".concat(typeof Oe.title=="string"?Oe.title:"tree node")},Wt)},[x,Ze,se,te,Oe.disableCheckbox,Oe.title]),mn=ve.useMemo(function(){return Kt?null:at?ge:Ae},[Kt,at]),vt=ve.useMemo(function(){return ve.createElement("span",{className:fe()("".concat(ct.prefixCls,"-iconEle"),"".concat(ct.prefixCls,"-icon__").concat(mn||"docu"),(0,We.Z)({},"".concat(ct.prefixCls,"-icon_loading"),Be))})},[ct.prefixCls,mn,Be]),Mt=ve.useMemo(function(){var Wt=!!ct.draggable,Ot=!Oe.disabled&&Wt&&ct.dragOverNodeKey===ke;return Ot?ct.dropIndicatorRender({dropPosition:ct.dropPosition,dropLevelOffset:ct.dropLevelOffset,indent:ct.indent,prefixCls:ct.prefixCls,direction:ct.direction}):null},[ct.dropPosition,ct.dropLevelOffset,ct.indent,ct.prefixCls,ct.direction,ct.draggable,ct.dragOverNodeKey,ct.dropIndicatorRender]),Yt=ve.useMemo(function(){var Wt=Oe.title,Ot=Wt===void 0?Pe:Wt,ln="".concat(ct.prefixCls,"-node-content-wrapper"),en;if(ct.showIcon){var Jt=Oe.icon||ct.icon;en=Jt?ve.createElement("span",{className:fe()("".concat(ct.prefixCls,"-iconEle"),"".concat(ct.prefixCls,"-icon__customize"))},typeof Jt=="function"?Jt(Oe):Jt):vt}else ct.loadData&&Be&&(en=vt);var Sn;return typeof Ot=="function"?Sn=Ot(Ee):ct.titleRender?Sn=ct.titleRender(Ee):Sn=Ot,ve.createElement("span",{ref:ft,title:typeof Ot=="string"?Ot:"",className:fe()(ln,"".concat(ln,"-").concat(mn||"normal"),(0,We.Z)({},"".concat(ct.prefixCls,"-node-selected"),!te&&(bt||oe))),onMouseEnter:Ye,onMouseLeave:Ge,onContextMenu:it,onClick:Ie,onDoubleClick:Le},en,ve.createElement("span",{className:"".concat(ct.prefixCls,"-title")},Sn),Mt)},[ct.prefixCls,ct.showIcon,Oe,ct.icon,vt,ct.titleRender,Ee,mn,Ye,Ge,it,Ie,Le]),sn=(0,xe.Z)(xt,{aria:!0,data:!0}),xn=(0,Te.Z)(ct.keyEntities,ke)||{},Ln=xn.level,Xn=$e[$e.length-1],Jn=!te&&dt,Bn=ct.draggingNodeKey===ke,Un=rt!==void 0?{"aria-selected":!!rt}:void 0;return ve.createElement("div",(0,b.Z)({ref:Je,role:"treeitem","aria-expanded":be?void 0:at,className:fe()(Ve,"".concat(ct.prefixCls,"-treenode"),(nt={},(0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)(nt,"".concat(ct.prefixCls,"-treenode-disabled"),te),"".concat(ct.prefixCls,"-treenode-switcher-").concat(at?"open":"close"),!be),"".concat(ct.prefixCls,"-treenode-checkbox-checked"),Ze),"".concat(ct.prefixCls,"-treenode-checkbox-indeterminate"),se),"".concat(ct.prefixCls,"-treenode-selected"),bt),"".concat(ct.prefixCls,"-treenode-loading"),Be),"".concat(ct.prefixCls,"-treenode-active"),lt),"".concat(ct.prefixCls,"-treenode-leaf-last"),Xn),"".concat(ct.prefixCls,"-treenode-draggable"),dt),"dragging",Bn),(0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)(nt,"drop-target",ct.dropTargetKey===ke),"drop-container",ct.dropContainerKey===ke),"drag-over",!te&&Se),"drag-over-gap-top",!te&&qe),"drag-over-gap-bottom",!te&&pe),"filter-node",(ze=ct.filterTreeNode)===null||ze===void 0?void 0:ze.call(ct,(0,we.F)(Oe))),"".concat(ct.prefixCls,"-treenode-leaf"),Kt))),style:et,draggable:Jn,onDragStart:Jn?yt:void 0,onDragEnter:dt?ot:void 0,onDragOver:dt?st:void 0,onDragLeave:dt?Vt:void 0,onDrop:dt?un:void 0,onDragEnd:dt?kt:void 0,onMouseMove:je},Un,sn),ve.createElement(Ce,{prefixCls:ct.prefixCls,level:Ln,isStart:gt,isEnd:$e}),qt,Tt(),on,Yt)};Re.isTreeNode=1;var tt=Re},30699:function(wn,zt,E){"use strict";E.d(zt,{k:function(){return We},y:function(){return de}});var b=E(59301),We=b.createContext(null),de=b.createContext({})},3741:function(wn,zt,E){"use strict";E.d(zt,{OF:function(){return ke.Z},y6:function(){return Ae.y},ZP:function(){return te}});var b=E(54476),We=E(76190),de=E(33885),Ke=E(94480),De=E(67732),ve=E(83652),ye=E(31226),fe=E(42403),xe=E(158),ue=E(20068),Fe=E(92310),Ce=E.n(Fe),Te=E(10228),we=E(26112),Me=E(48736),ge=E(59301),Ae=E(30699),Pe=function(re){var ne=re.dropPosition,le=re.dropLevelOffset,Ie=re.indent,Le={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ne){case-1:Le.top=0,Le.left=-le*Ie;break;case 1:Le.bottom=0,Le.left=-le*Ie;break;case 0:Le.bottom=0,Le.left=Ie;break}return ge.createElement("div",{style:Le})},Re=Pe;function tt(x){if(x==null)throw new TypeError("Cannot destructure "+x)}var ce=E(42978),Oe=E(75931),Ue=E(34280),ze=E(48911),nt=E(77900),ke=E(639);function Ve(x,re){var ne=ge.useState(!1),le=(0,ce.Z)(ne,2),Ie=le[0],Le=le[1];(0,Ue.Z)(function(){if(Ie)return x(),function(){re()}},[Ie]),(0,Ue.Z)(function(){return Le(!0),function(){Le(!1)}},[])}var et=Ve,Se=E(34061),qe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],pe=ge.forwardRef(function(x,re){var ne=x.className,le=x.style,Ie=x.motion,Le=x.motionNodes,Ye=x.motionType,Ge=x.onMotionStart,it=x.onMotionEnd,dt=x.active,yt=x.treeNodeRequiredProps,ot=(0,Oe.Z)(x,qe),st=ge.useState(!0),Vt=(0,ce.Z)(st,2),kt=Vt[0],un=Vt[1],$t=ge.useContext(Ae.k),Rt=$t.prefixCls,Kt=Le&&Ye!=="hide";(0,Ue.Z)(function(){Le&&Kt!==kt&&un(Kt)},[Le]);var qt=function(){Le&&Ge()},Et=ge.useRef(!1),Tt=function(){Le&&!Et.current&&(Et.current=!0,it())};et(qt,Tt);var on=function(vt){Kt===vt&&Tt()};return Le?ge.createElement(nt.default,(0,b.Z)({ref:re,visible:kt},Ie,{motionAppear:Ye==="show",onVisibleChanged:on}),function(mn,vt){var Mt=mn.className,Yt=mn.style;return ge.createElement("div",{ref:vt,className:Ce()("".concat(Rt,"-treenode-motion"),Mt),style:Yt},Le.map(function(sn){var xn=Object.assign({},(tt(sn.data),sn.data)),Ln=sn.title,Xn=sn.key,Jn=sn.isStart,Bn=sn.isEnd;delete xn.children;var Un=(0,Se.H8)(Xn,yt);return ge.createElement(ke.Z,(0,b.Z)({},xn,Un,{title:Ln,active:dt,data:sn.data,key:Xn,isStart:Jn,isEnd:Bn}))}))}):ge.createElement(ke.Z,(0,b.Z)({domRef:re,className:ne,style:le},ot,{active:dt}))}),be=pe;function gt(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ne=x.length,le=re.length;if(Math.abs(ne-le)!==1)return{add:!1,key:null};function Ie(Le,Ye){var Ge=new Map;Le.forEach(function(dt){Ge.set(dt,!0)});var it=Ye.filter(function(dt){return!Ge.has(dt)});return it.length===1?it[0]:null}return ne<le?{add:!0,key:Ie(x,re)}:{add:!1,key:Ie(re,x)}}function $e(x,re,ne){var le=x.findIndex(function(Ge){return Ge.key===ne}),Ie=x[le+1],Le=re.findIndex(function(Ge){return Ge.key===ne});if(Ie){var Ye=re.findIndex(function(Ge){return Ge.key===Ie.key});return re.slice(Le+1,Ye)}return re.slice(Le+1)}var at=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],bt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ze=function(){},se="RC_TREE_MOTION_".concat(Math.random()),Be={key:se},Je={key:se,level:0,index:0,pos:"0",node:Be,nodes:[Be]},lt={parent:null,children:[],pos:Je.pos,data:Be,title:null,key:se,isStart:[],isEnd:[]};function Ee(x,re,ne,le){return re===!1||!ne?x:x.slice(0,Math.ceil(ne/le)+1)}function je(x){var re=x.key,ne=x.pos;return(0,Se.km)(re,ne)}function rt(x){for(var re=String(x.data.key),ne=x;ne.parent;)ne=ne.parent,re="".concat(ne.data.key," > ").concat(re);return re}var xt=ge.forwardRef(function(x,re){var ne=x.prefixCls,le=x.data,Ie=x.selectable,Le=x.checkable,Ye=x.expandedKeys,Ge=x.selectedKeys,it=x.checkedKeys,dt=x.loadedKeys,yt=x.loadingKeys,ot=x.halfCheckedKeys,st=x.keyEntities,Vt=x.disabled,kt=x.dragging,un=x.dragOverNodeKey,$t=x.dropPosition,Rt=x.motion,Kt=x.height,qt=x.itemHeight,Et=x.virtual,Tt=x.scrollWidth,on=x.focusable,mn=x.activeItem,vt=x.focused,Mt=x.tabIndex,Yt=x.onKeyDown,sn=x.onFocus,xn=x.onBlur,Ln=x.onActiveChange,Xn=x.onListChangeStart,Jn=x.onListChangeEnd,Bn=(0,Oe.Z)(x,at),Un=ge.useRef(null),Wt=ge.useRef(null);ge.useImperativeHandle(re,function(){return{scrollTo:function(Xt){Un.current.scrollTo(Xt)},getIndentWidth:function(){return Wt.current.offsetWidth}}});var Ot=ge.useState(Ye),ln=(0,ce.Z)(Ot,2),en=ln[0],Jt=ln[1],Sn=ge.useState(le),yn=(0,ce.Z)(Sn,2),Mn=yn[0],Yn=yn[1],Wn=ge.useState(le),In=(0,ce.Z)(Wn,2),ar=In[0],tr=In[1],Rr=ge.useState([]),Ir=(0,ce.Z)(Rr,2),En=Ir[0],kn=Ir[1],nr=ge.useState(null),rr=(0,ce.Z)(nr,2),Lt=rr[0],Qt=rr[1],St=ge.useRef(le);St.current=le;function Zt(){var ht=St.current;Yn(ht),tr(ht),kn([]),Qt(null),Jn()}(0,Ue.Z)(function(){Jt(Ye);var ht=gt(en,Ye);if(ht.key!==null)if(ht.add){var Xt=Mn.findIndex(function(an){var zn=an.key;return zn===ht.key}),tn=Ee($e(Mn,le,ht.key),Et,Kt,qt),dn=Mn.slice();dn.splice(Xt+1,0,lt),tr(dn),kn(tn),Qt("show")}else{var Ut=le.findIndex(function(an){var zn=an.key;return zn===ht.key}),jt=Ee($e(le,Mn,ht.key),Et,Kt,qt),Gt=le.slice();Gt.splice(Ut+1,0,lt),tr(Gt),kn(jt),Qt("hide")}else Mn!==le&&(Yn(le),tr(le))},[Ye,le]),ge.useEffect(function(){kt||Zt()},[kt]);var At=Rt?ar:le,Ht={expandedKeys:Ye,selectedKeys:Ge,loadedKeys:dt,loadingKeys:yt,checkedKeys:it,halfCheckedKeys:ot,dragOverNodeKey:un,dropPosition:$t,keyEntities:st};return ge.createElement(ge.Fragment,null,vt&&mn&&ge.createElement("span",{style:bt,"aria-live":"assertive"},rt(mn)),ge.createElement("div",null,ge.createElement("input",{style:bt,disabled:on===!1||Vt,tabIndex:on!==!1?Mt:null,onKeyDown:Yt,onFocus:sn,onBlur:xn,value:"",onChange:Ze,"aria-label":"for screen reader"})),ge.createElement("div",{className:"".concat(ne,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ge.createElement("div",{className:"".concat(ne,"-indent")},ge.createElement("div",{ref:Wt,className:"".concat(ne,"-indent-unit")}))),ge.createElement(ze.Z,(0,b.Z)({},Bn,{data:At,itemKey:je,height:Kt,fullHeight:!1,virtual:Et,itemHeight:qt,scrollWidth:Tt,prefixCls:"".concat(ne,"-list"),ref:Un,role:"tree",onVisibleChange:function(Xt){Xt.every(function(tn){return je(tn)!==se})&&Zt()}}),function(ht){var Xt=ht.pos,tn=Object.assign({},(tt(ht.data),ht.data)),dn=ht.title,Ut=ht.key,jt=ht.isStart,Gt=ht.isEnd,an=(0,Se.km)(Ut,Xt);delete tn.key,delete tn.children;var zn=(0,Se.H8)(an,Ht);return ge.createElement(be,(0,b.Z)({},tn,zn,{title:dn,active:!!mn&&Ut===mn.key,pos:Xt,data:ht.data,isStart:jt,isEnd:Gt,motion:Rt,motionNodes:Ut===se?En:null,motionType:Lt,onMotionStart:Xn,onMotionEnd:Zt,treeNodeRequiredProps:Ht,onMouseMove:function(){Ln(null)}}))}))}),ct=xt,wt=E(82661),ft=E(34643),It=E(65065),Dt=10,oe=function(x){(0,fe.Z)(ne,x);var re=(0,xe.Z)(ne);function ne(){var le;(0,De.Z)(this,ne);for(var Ie=arguments.length,Le=new Array(Ie),Ye=0;Ye<Ie;Ye++)Le[Ye]=arguments[Ye];return le=re.call.apply(re,[this].concat(Le)),(0,ue.Z)((0,ye.Z)(le),"destroyed",!1),(0,ue.Z)((0,ye.Z)(le),"delayedDragEnterLogic",void 0),(0,ue.Z)((0,ye.Z)(le),"loadingRetryTimes",{}),(0,ue.Z)((0,ye.Z)(le),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Se.w$)()}),(0,ue.Z)((0,ye.Z)(le),"dragStartMousePosition",null),(0,ue.Z)((0,ye.Z)(le),"dragNodeProps",null),(0,ue.Z)((0,ye.Z)(le),"currentMouseOverDroppableNodeKey",null),(0,ue.Z)((0,ye.Z)(le),"listRef",ge.createRef()),(0,ue.Z)((0,ye.Z)(le),"onNodeDragStart",function(Ge,it){var dt=le.state,yt=dt.expandedKeys,ot=dt.keyEntities,st=le.props.onDragStart,Vt=it.eventKey;le.dragNodeProps=it,le.dragStartMousePosition={x:Ge.clientX,y:Ge.clientY};var kt=(0,wt._5)(yt,Vt);le.setState({draggingNodeKey:Vt,dragChildrenKeys:(0,wt.wA)(Vt,ot),indent:le.listRef.current.getIndentWidth()}),le.setExpandedKeys(kt),window.addEventListener("dragend",le.onWindowDragEnd),st==null||st({event:Ge,node:(0,Se.F)(it)})}),(0,ue.Z)((0,ye.Z)(le),"onNodeDragEnter",function(Ge,it){var dt=le.state,yt=dt.expandedKeys,ot=dt.keyEntities,st=dt.dragChildrenKeys,Vt=dt.flattenNodes,kt=dt.indent,un=le.props,$t=un.onDragEnter,Rt=un.onExpand,Kt=un.allowDrop,qt=un.direction,Et=it.pos,Tt=it.eventKey;if(le.currentMouseOverDroppableNodeKey!==Tt&&(le.currentMouseOverDroppableNodeKey=Tt),!le.dragNodeProps){le.resetDragState();return}var on=(0,wt.OM)(Ge,le.dragNodeProps,it,kt,le.dragStartMousePosition,Kt,Vt,ot,yt,qt),mn=on.dropPosition,vt=on.dropLevelOffset,Mt=on.dropTargetKey,Yt=on.dropContainerKey,sn=on.dropTargetPos,xn=on.dropAllowed,Ln=on.dragOverNodeKey;if(st.includes(Mt)||!xn){le.resetDragState();return}if(le.delayedDragEnterLogic||(le.delayedDragEnterLogic={}),Object.keys(le.delayedDragEnterLogic).forEach(function(Xn){clearTimeout(le.delayedDragEnterLogic[Xn])}),le.dragNodeProps.eventKey!==it.eventKey&&(Ge.persist(),le.delayedDragEnterLogic[Et]=window.setTimeout(function(){if(le.state.draggingNodeKey!==null){var Xn=(0,Ke.Z)(yt),Jn=(0,It.Z)(ot,it.eventKey);Jn&&(Jn.children||[]).length&&(Xn=(0,wt.L0)(yt,it.eventKey)),le.props.hasOwnProperty("expandedKeys")||le.setExpandedKeys(Xn),Rt==null||Rt(Xn,{node:(0,Se.F)(it),expanded:!0,nativeEvent:Ge.nativeEvent})}},800)),le.dragNodeProps.eventKey===Mt&&vt===0){le.resetDragState();return}le.setState({dragOverNodeKey:Ln,dropPosition:mn,dropLevelOffset:vt,dropTargetKey:Mt,dropContainerKey:Yt,dropTargetPos:sn,dropAllowed:xn}),$t==null||$t({event:Ge,node:(0,Se.F)(it),expandedKeys:yt})}),(0,ue.Z)((0,ye.Z)(le),"onNodeDragOver",function(Ge,it){var dt=le.state,yt=dt.dragChildrenKeys,ot=dt.flattenNodes,st=dt.keyEntities,Vt=dt.expandedKeys,kt=dt.indent,un=le.props,$t=un.onDragOver,Rt=un.allowDrop,Kt=un.direction;if(le.dragNodeProps){var qt=(0,wt.OM)(Ge,le.dragNodeProps,it,kt,le.dragStartMousePosition,Rt,ot,st,Vt,Kt),Et=qt.dropPosition,Tt=qt.dropLevelOffset,on=qt.dropTargetKey,mn=qt.dropContainerKey,vt=qt.dropTargetPos,Mt=qt.dropAllowed,Yt=qt.dragOverNodeKey;yt.includes(on)||!Mt||(le.dragNodeProps.eventKey===on&&Tt===0?le.state.dropPosition===null&&le.state.dropLevelOffset===null&&le.state.dropTargetKey===null&&le.state.dropContainerKey===null&&le.state.dropTargetPos===null&&le.state.dropAllowed===!1&&le.state.dragOverNodeKey===null||le.resetDragState():Et===le.state.dropPosition&&Tt===le.state.dropLevelOffset&&on===le.state.dropTargetKey&&mn===le.state.dropContainerKey&&vt===le.state.dropTargetPos&&Mt===le.state.dropAllowed&&Yt===le.state.dragOverNodeKey||le.setState({dropPosition:Et,dropLevelOffset:Tt,dropTargetKey:on,dropContainerKey:mn,dropTargetPos:vt,dropAllowed:Mt,dragOverNodeKey:Yt}),$t==null||$t({event:Ge,node:(0,Se.F)(it)}))}}),(0,ue.Z)((0,ye.Z)(le),"onNodeDragLeave",function(Ge,it){le.currentMouseOverDroppableNodeKey===it.eventKey&&!Ge.currentTarget.contains(Ge.relatedTarget)&&(le.resetDragState(),le.currentMouseOverDroppableNodeKey=null);var dt=le.props.onDragLeave;dt==null||dt({event:Ge,node:(0,Se.F)(it)})}),(0,ue.Z)((0,ye.Z)(le),"onWindowDragEnd",function(Ge){le.onNodeDragEnd(Ge,null,!0),window.removeEventListener("dragend",le.onWindowDragEnd)}),(0,ue.Z)((0,ye.Z)(le),"onNodeDragEnd",function(Ge,it){var dt=le.props.onDragEnd;le.setState({dragOverNodeKey:null}),le.cleanDragState(),dt==null||dt({event:Ge,node:(0,Se.F)(it)}),le.dragNodeProps=null,window.removeEventListener("dragend",le.onWindowDragEnd)}),(0,ue.Z)((0,ye.Z)(le),"onNodeDrop",function(Ge,it){var dt,yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ot=le.state,st=ot.dragChildrenKeys,Vt=ot.dropPosition,kt=ot.dropTargetKey,un=ot.dropTargetPos,$t=ot.dropAllowed;if($t){var Rt=le.props.onDrop;if(le.setState({dragOverNodeKey:null}),le.cleanDragState(),kt!==null){var Kt=(0,de.Z)((0,de.Z)({},(0,Se.H8)(kt,le.getTreeNodeRequiredProps())),{},{active:((dt=le.getActiveItem())===null||dt===void 0?void 0:dt.key)===kt,data:(0,It.Z)(le.state.keyEntities,kt).node}),qt=st.includes(kt);(0,Me.ZP)(!qt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Et=(0,wt.yx)(un),Tt={event:Ge,node:(0,Se.F)(Kt),dragNode:le.dragNodeProps?(0,Se.F)(le.dragNodeProps):null,dragNodesKeys:[le.dragNodeProps.eventKey].concat(st),dropToGap:Vt!==0,dropPosition:Vt+Number(Et[Et.length-1])};yt||Rt==null||Rt(Tt),le.dragNodeProps=null}}}),(0,ue.Z)((0,ye.Z)(le),"cleanDragState",function(){var Ge=le.state.draggingNodeKey;Ge!==null&&le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),le.dragStartMousePosition=null,le.currentMouseOverDroppableNodeKey=null}),(0,ue.Z)((0,ye.Z)(le),"triggerExpandActionExpand",function(Ge,it){var dt=le.state,yt=dt.expandedKeys,ot=dt.flattenNodes,st=it.expanded,Vt=it.key,kt=it.isLeaf;if(!(kt||Ge.shiftKey||Ge.metaKey||Ge.ctrlKey)){var un=ot.filter(function(Rt){return Rt.key===Vt})[0],$t=(0,Se.F)((0,de.Z)((0,de.Z)({},(0,Se.H8)(Vt,le.getTreeNodeRequiredProps())),{},{data:un.data}));le.setExpandedKeys(st?(0,wt._5)(yt,Vt):(0,wt.L0)(yt,Vt)),le.onNodeExpand(Ge,$t)}}),(0,ue.Z)((0,ye.Z)(le),"onNodeClick",function(Ge,it){var dt=le.props,yt=dt.onClick,ot=dt.expandAction;ot==="click"&&le.triggerExpandActionExpand(Ge,it),yt==null||yt(Ge,it)}),(0,ue.Z)((0,ye.Z)(le),"onNodeDoubleClick",function(Ge,it){var dt=le.props,yt=dt.onDoubleClick,ot=dt.expandAction;ot==="doubleClick"&&le.triggerExpandActionExpand(Ge,it),yt==null||yt(Ge,it)}),(0,ue.Z)((0,ye.Z)(le),"onNodeSelect",function(Ge,it){var dt=le.state.selectedKeys,yt=le.state,ot=yt.keyEntities,st=yt.fieldNames,Vt=le.props,kt=Vt.onSelect,un=Vt.multiple,$t=it.selected,Rt=it[st.key],Kt=!$t;Kt?un?dt=(0,wt.L0)(dt,Rt):dt=[Rt]:dt=(0,wt._5)(dt,Rt);var qt=dt.map(function(Et){var Tt=(0,It.Z)(ot,Et);return Tt?Tt.node:null}).filter(Boolean);le.setUncontrolledState({selectedKeys:dt}),kt==null||kt(dt,{event:"select",selected:Kt,node:it,selectedNodes:qt,nativeEvent:Ge.nativeEvent})}),(0,ue.Z)((0,ye.Z)(le),"onNodeCheck",function(Ge,it,dt){var yt=le.state,ot=yt.keyEntities,st=yt.checkedKeys,Vt=yt.halfCheckedKeys,kt=le.props,un=kt.checkStrictly,$t=kt.onCheck,Rt=it.key,Kt,qt={event:"check",node:it,checked:dt,nativeEvent:Ge.nativeEvent};if(un){var Et=dt?(0,wt.L0)(st,Rt):(0,wt._5)(st,Rt),Tt=(0,wt._5)(Vt,Rt);Kt={checked:Et,halfChecked:Tt},qt.checkedNodes=Et.map(function(sn){return(0,It.Z)(ot,sn)}).filter(Boolean).map(function(sn){return sn.node}),le.setUncontrolledState({checkedKeys:Et})}else{var on=(0,ft.S)([].concat((0,Ke.Z)(st),[Rt]),!0,ot),mn=on.checkedKeys,vt=on.halfCheckedKeys;if(!dt){var Mt=new Set(mn);Mt.delete(Rt);var Yt=(0,ft.S)(Array.from(Mt),{checked:!1,halfCheckedKeys:vt},ot);mn=Yt.checkedKeys,vt=Yt.halfCheckedKeys}Kt=mn,qt.checkedNodes=[],qt.checkedNodesPositions=[],qt.halfCheckedKeys=vt,mn.forEach(function(sn){var xn=(0,It.Z)(ot,sn);if(xn){var Ln=xn.node,Xn=xn.pos;qt.checkedNodes.push(Ln),qt.checkedNodesPositions.push({node:Ln,pos:Xn})}}),le.setUncontrolledState({checkedKeys:mn},!1,{halfCheckedKeys:vt})}$t==null||$t(Kt,qt)}),(0,ue.Z)((0,ye.Z)(le),"onNodeLoad",function(Ge){var it,dt=Ge.key,yt=le.state.keyEntities,ot=(0,It.Z)(yt,dt);if(!(ot!=null&&(it=ot.children)!==null&&it!==void 0&&it.length)){var st=new Promise(function(Vt,kt){le.setState(function(un){var $t=un.loadedKeys,Rt=$t===void 0?[]:$t,Kt=un.loadingKeys,qt=Kt===void 0?[]:Kt,Et=le.props,Tt=Et.loadData,on=Et.onLoad;if(!Tt||Rt.includes(dt)||qt.includes(dt))return null;var mn=Tt(Ge);return mn.then(function(){var vt=le.state.loadedKeys,Mt=(0,wt.L0)(vt,dt);on==null||on(Mt,{event:"load",node:Ge}),le.setUncontrolledState({loadedKeys:Mt}),le.setState(function(Yt){return{loadingKeys:(0,wt._5)(Yt.loadingKeys,dt)}}),Vt()}).catch(function(vt){if(le.setState(function(Yt){return{loadingKeys:(0,wt._5)(Yt.loadingKeys,dt)}}),le.loadingRetryTimes[dt]=(le.loadingRetryTimes[dt]||0)+1,le.loadingRetryTimes[dt]>=Dt){var Mt=le.state.loadedKeys;(0,Me.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),le.setUncontrolledState({loadedKeys:(0,wt.L0)(Mt,dt)}),Vt()}kt(vt)}),{loadingKeys:(0,wt.L0)(qt,dt)}})});return st.catch(function(){}),st}}),(0,ue.Z)((0,ye.Z)(le),"onNodeMouseEnter",function(Ge,it){var dt=le.props.onMouseEnter;dt==null||dt({event:Ge,node:it})}),(0,ue.Z)((0,ye.Z)(le),"onNodeMouseLeave",function(Ge,it){var dt=le.props.onMouseLeave;dt==null||dt({event:Ge,node:it})}),(0,ue.Z)((0,ye.Z)(le),"onNodeContextMenu",function(Ge,it){var dt=le.props.onRightClick;dt&&(Ge.preventDefault(),dt({event:Ge,node:it}))}),(0,ue.Z)((0,ye.Z)(le),"onFocus",function(){var Ge=le.props.onFocus;le.setState({focused:!0});for(var it=arguments.length,dt=new Array(it),yt=0;yt<it;yt++)dt[yt]=arguments[yt];Ge==null||Ge.apply(void 0,dt)}),(0,ue.Z)((0,ye.Z)(le),"onBlur",function(){var Ge=le.props.onBlur;le.setState({focused:!1}),le.onActiveChange(null);for(var it=arguments.length,dt=new Array(it),yt=0;yt<it;yt++)dt[yt]=arguments[yt];Ge==null||Ge.apply(void 0,dt)}),(0,ue.Z)((0,ye.Z)(le),"getTreeNodeRequiredProps",function(){var Ge=le.state,it=Ge.expandedKeys,dt=Ge.selectedKeys,yt=Ge.loadedKeys,ot=Ge.loadingKeys,st=Ge.checkedKeys,Vt=Ge.halfCheckedKeys,kt=Ge.dragOverNodeKey,un=Ge.dropPosition,$t=Ge.keyEntities;return{expandedKeys:it||[],selectedKeys:dt||[],loadedKeys:yt||[],loadingKeys:ot||[],checkedKeys:st||[],halfCheckedKeys:Vt||[],dragOverNodeKey:kt,dropPosition:un,keyEntities:$t}}),(0,ue.Z)((0,ye.Z)(le),"setExpandedKeys",function(Ge){var it=le.state,dt=it.treeData,yt=it.fieldNames,ot=(0,Se.oH)(dt,Ge,yt);le.setUncontrolledState({expandedKeys:Ge,flattenNodes:ot},!0)}),(0,ue.Z)((0,ye.Z)(le),"onNodeExpand",function(Ge,it){var dt=le.state.expandedKeys,yt=le.state,ot=yt.listChanging,st=yt.fieldNames,Vt=le.props,kt=Vt.onExpand,un=Vt.loadData,$t=it.expanded,Rt=it[st.key];if(!ot){var Kt=dt.includes(Rt),qt=!$t;if((0,Me.ZP)($t&&Kt||!$t&&!Kt,"Expand state not sync with index check"),dt=qt?(0,wt.L0)(dt,Rt):(0,wt._5)(dt,Rt),le.setExpandedKeys(dt),kt==null||kt(dt,{node:it,expanded:qt,nativeEvent:Ge.nativeEvent}),qt&&un){var Et=le.onNodeLoad(it);Et&&Et.then(function(){var Tt=(0,Se.oH)(le.state.treeData,dt,st);le.setUncontrolledState({flattenNodes:Tt})}).catch(function(){var Tt=le.state.expandedKeys,on=(0,wt._5)(Tt,Rt);le.setExpandedKeys(on)})}}}),(0,ue.Z)((0,ye.Z)(le),"onListChangeStart",function(){le.setUncontrolledState({listChanging:!0})}),(0,ue.Z)((0,ye.Z)(le),"onListChangeEnd",function(){setTimeout(function(){le.setUncontrolledState({listChanging:!1})})}),(0,ue.Z)((0,ye.Z)(le),"onActiveChange",function(Ge){var it=le.state.activeKey,dt=le.props,yt=dt.onActiveChange,ot=dt.itemScrollOffset,st=ot===void 0?0:ot;it!==Ge&&(le.setState({activeKey:Ge}),Ge!==null&&le.scrollTo({key:Ge,offset:st}),yt==null||yt(Ge))}),(0,ue.Z)((0,ye.Z)(le),"getActiveItem",function(){var Ge=le.state,it=Ge.activeKey,dt=Ge.flattenNodes;return it===null?null:dt.find(function(yt){var ot=yt.key;return ot===it})||null}),(0,ue.Z)((0,ye.Z)(le),"offsetActiveKey",function(Ge){var it=le.state,dt=it.flattenNodes,yt=it.activeKey,ot=dt.findIndex(function(kt){var un=kt.key;return un===yt});ot===-1&&Ge<0&&(ot=dt.length),ot=(ot+Ge+dt.length)%dt.length;var st=dt[ot];if(st){var Vt=st.key;le.onActiveChange(Vt)}else le.onActiveChange(null)}),(0,ue.Z)((0,ye.Z)(le),"onKeyDown",function(Ge){var it=le.state,dt=it.activeKey,yt=it.expandedKeys,ot=it.checkedKeys,st=it.fieldNames,Vt=le.props,kt=Vt.onKeyDown,un=Vt.checkable,$t=Vt.selectable;switch(Ge.which){case Te.Z.UP:{le.offsetActiveKey(-1),Ge.preventDefault();break}case Te.Z.DOWN:{le.offsetActiveKey(1),Ge.preventDefault();break}}var Rt=le.getActiveItem();if(Rt&&Rt.data){var Kt=le.getTreeNodeRequiredProps(),qt=Rt.data.isLeaf===!1||!!(Rt.data[st.children]||[]).length,Et=(0,Se.F)((0,de.Z)((0,de.Z)({},(0,Se.H8)(dt,Kt)),{},{data:Rt.data,active:!0}));switch(Ge.which){case Te.Z.LEFT:{qt&&yt.includes(dt)?le.onNodeExpand({},Et):Rt.parent&&le.onActiveChange(Rt.parent.key),Ge.preventDefault();break}case Te.Z.RIGHT:{qt&&!yt.includes(dt)?le.onNodeExpand({},Et):Rt.children&&Rt.children.length&&le.onActiveChange(Rt.children[0].key),Ge.preventDefault();break}case Te.Z.ENTER:case Te.Z.SPACE:{un&&!Et.disabled&&Et.checkable!==!1&&!Et.disableCheckbox?le.onNodeCheck({},Et,!ot.includes(dt)):!un&&$t&&!Et.disabled&&Et.selectable!==!1&&le.onNodeSelect({},Et);break}}}kt==null||kt(Ge)}),(0,ue.Z)((0,ye.Z)(le),"setUncontrolledState",function(Ge){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!le.destroyed){var yt=!1,ot=!0,st={};Object.keys(Ge).forEach(function(Vt){if(le.props.hasOwnProperty(Vt)){ot=!1;return}yt=!0,st[Vt]=Ge[Vt]}),yt&&(!it||ot)&&le.setState((0,de.Z)((0,de.Z)({},st),dt))}}),(0,ue.Z)((0,ye.Z)(le),"scrollTo",function(Ge){le.listRef.current.scrollTo(Ge)}),le}return(0,ve.Z)(ne,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ie=this.props,Le=Ie.activeKey,Ye=Ie.itemScrollOffset,Ge=Ye===void 0?0:Ye;Le!==void 0&&Le!==this.state.activeKey&&(this.setState({activeKey:Le}),Le!==null&&this.scrollTo({key:Le,offset:Ge}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ie=this.state,Le=Ie.focused,Ye=Ie.flattenNodes,Ge=Ie.keyEntities,it=Ie.draggingNodeKey,dt=Ie.activeKey,yt=Ie.dropLevelOffset,ot=Ie.dropContainerKey,st=Ie.dropTargetKey,Vt=Ie.dropPosition,kt=Ie.dragOverNodeKey,un=Ie.indent,$t=this.props,Rt=$t.prefixCls,Kt=$t.className,qt=$t.style,Et=$t.showLine,Tt=$t.focusable,on=$t.tabIndex,mn=on===void 0?0:on,vt=$t.selectable,Mt=$t.showIcon,Yt=$t.icon,sn=$t.switcherIcon,xn=$t.draggable,Ln=$t.checkable,Xn=$t.checkStrictly,Jn=$t.disabled,Bn=$t.motion,Un=$t.loadData,Wt=$t.filterTreeNode,Ot=$t.height,ln=$t.itemHeight,en=$t.scrollWidth,Jt=$t.virtual,Sn=$t.titleRender,yn=$t.dropIndicatorRender,Mn=$t.onContextMenu,Yn=$t.onScroll,Wn=$t.direction,In=$t.rootClassName,ar=$t.rootStyle,tr=(0,we.Z)(this.props,{aria:!0,data:!0}),Rr;xn&&((0,We.Z)(xn)==="object"?Rr=xn:typeof xn=="function"?Rr={nodeDraggable:xn}:Rr={});var Ir={prefixCls:Rt,selectable:vt,showIcon:Mt,icon:Yt,switcherIcon:sn,draggable:Rr,draggingNodeKey:it,checkable:Ln,checkStrictly:Xn,disabled:Jn,keyEntities:Ge,dropLevelOffset:yt,dropContainerKey:ot,dropTargetKey:st,dropPosition:Vt,dragOverNodeKey:kt,indent:un,direction:Wn,dropIndicatorRender:yn,loadData:Un,filterTreeNode:Wt,titleRender:Sn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return ge.createElement(Ae.k.Provider,{value:Ir},ge.createElement("div",{className:Ce()(Rt,Kt,In,(0,ue.Z)((0,ue.Z)((0,ue.Z)({},"".concat(Rt,"-show-line"),Et),"".concat(Rt,"-focused"),Le),"".concat(Rt,"-active-focused"),dt!==null)),style:ar},ge.createElement(ct,(0,b.Z)({ref:this.listRef,prefixCls:Rt,style:qt,data:Ye,disabled:Jn,selectable:vt,checkable:!!Ln,motion:Bn,dragging:it!==null,height:Ot,itemHeight:ln,virtual:Jt,focusable:Tt,focused:Le,tabIndex:mn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Mn,onScroll:Yn,scrollWidth:en},this.getTreeNodeRequiredProps(),tr))))}}],[{key:"getDerivedStateFromProps",value:function(Ie,Le){var Ye=Le.prevProps,Ge={prevProps:Ie};function it(mn){return!Ye&&Ie.hasOwnProperty(mn)||Ye&&Ye[mn]!==Ie[mn]}var dt,yt=Le.fieldNames;if(it("fieldNames")&&(yt=(0,Se.w$)(Ie.fieldNames),Ge.fieldNames=yt),it("treeData")?dt=Ie.treeData:it("children")&&((0,Me.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),dt=(0,Se.zn)(Ie.children)),dt){Ge.treeData=dt;var ot=(0,Se.I8)(dt,{fieldNames:yt});Ge.keyEntities=(0,de.Z)((0,ue.Z)({},se,Je),ot.keyEntities)}var st=Ge.keyEntities||Le.keyEntities;if(it("expandedKeys")||Ye&&it("autoExpandParent"))Ge.expandedKeys=Ie.autoExpandParent||!Ye&&Ie.defaultExpandParent?(0,wt.r7)(Ie.expandedKeys,st):Ie.expandedKeys;else if(!Ye&&Ie.defaultExpandAll){var Vt=(0,de.Z)({},st);delete Vt[se];var kt=[];Object.keys(Vt).forEach(function(mn){var vt=Vt[mn];vt.children&&vt.children.length&&kt.push(vt.key)}),Ge.expandedKeys=kt}else!Ye&&Ie.defaultExpandedKeys&&(Ge.expandedKeys=Ie.autoExpandParent||Ie.defaultExpandParent?(0,wt.r7)(Ie.defaultExpandedKeys,st):Ie.defaultExpandedKeys);if(Ge.expandedKeys||delete Ge.expandedKeys,dt||Ge.expandedKeys){var un=(0,Se.oH)(dt||Le.treeData,Ge.expandedKeys||Le.expandedKeys,yt);Ge.flattenNodes=un}if(Ie.selectable&&(it("selectedKeys")?Ge.selectedKeys=(0,wt.BT)(Ie.selectedKeys,Ie):!Ye&&Ie.defaultSelectedKeys&&(Ge.selectedKeys=(0,wt.BT)(Ie.defaultSelectedKeys,Ie))),Ie.checkable){var $t;if(it("checkedKeys")?$t=(0,wt.E6)(Ie.checkedKeys)||{}:!Ye&&Ie.defaultCheckedKeys?$t=(0,wt.E6)(Ie.defaultCheckedKeys)||{}:dt&&($t=(0,wt.E6)(Ie.checkedKeys)||{checkedKeys:Le.checkedKeys,halfCheckedKeys:Le.halfCheckedKeys}),$t){var Rt=$t,Kt=Rt.checkedKeys,qt=Kt===void 0?[]:Kt,Et=Rt.halfCheckedKeys,Tt=Et===void 0?[]:Et;if(!Ie.checkStrictly){var on=(0,ft.S)(qt,!0,st);qt=on.checkedKeys,Tt=on.halfCheckedKeys}Ge.checkedKeys=qt,Ge.halfCheckedKeys=Tt}}return it("loadedKeys")&&(Ge.loadedKeys=Ie.loadedKeys),Ge}}]),ne}(ge.Component);(0,ue.Z)(oe,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Re,allowDrop:function(){return!0},expandAction:!1}),(0,ue.Z)(oe,"TreeNode",ke.Z);var ae=oe,te=ae},82661:function(wn,zt,E){"use strict";E.d(zt,{BT:function(){return ge},E6:function(){return Re},L0:function(){return ue},OM:function(){return Me},_5:function(){return xe},r7:function(){return tt},wA:function(){return Ce},yx:function(){return Fe}});var b=E(94480),We=E(76190),de=E(48736),Ke=E(59301),De=E(639),ve=E(65065),ye=E(34061),fe=null;function xe(ce,Oe){if(!ce)return[];var Ue=ce.slice(),ze=Ue.indexOf(Oe);return ze>=0&&Ue.splice(ze,1),Ue}function ue(ce,Oe){var Ue=(ce||[]).slice();return Ue.indexOf(Oe)===-1&&Ue.push(Oe),Ue}function Fe(ce){return ce.split("-")}function Ce(ce,Oe){var Ue=[],ze=(0,ve.Z)(Oe,ce);function nt(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ke.forEach(function(Ve){var et=Ve.key,Se=Ve.children;Ue.push(et),nt(Se)})}return nt(ze.children),Ue}function Te(ce){if(ce.parent){var Oe=Fe(ce.pos);return Number(Oe[Oe.length-1])===ce.parent.children.length-1}return!1}function we(ce){var Oe=Fe(ce.pos);return Number(Oe[Oe.length-1])===0}function Me(ce,Oe,Ue,ze,nt,ke,Ve,et,Se,qe){var pe,be=ce.clientX,gt=ce.clientY,$e=ce.target.getBoundingClientRect(),at=$e.top,bt=$e.height,Ze=(qe==="rtl"?-1:1)*(((nt==null?void 0:nt.x)||0)-be),se=(Ze-12)/ze,Be=Se.filter(function(te){var x;return(x=et[te])===null||x===void 0||(x=x.children)===null||x===void 0?void 0:x.length}),Je=(0,ve.Z)(et,Ue.eventKey);if(gt<at+bt/2){var lt=Ve.findIndex(function(te){return te.key===Je.key}),Ee=lt<=0?0:lt-1,je=Ve[Ee].key;Je=(0,ve.Z)(et,je)}var rt=Je.key,xt=Je,ct=Je.key,wt=0,ft=0;if(!Be.includes(rt))for(var It=0;It<se&&Te(Je);It+=1)Je=Je.parent,ft+=1;var Dt=Oe.data,oe=Je.node,ae=!0;return we(Je)&&Je.level===0&><at+bt/2&&ke({dragNode:Dt,dropNode:oe,dropPosition:-1})&&Je.key===Ue.eventKey?wt=-1:(xt.children||[]).length&&Be.includes(ct)?ke({dragNode:Dt,dropNode:oe,dropPosition:0})?wt=0:ae=!1:ft===0?se>-1.5?ke({dragNode:Dt,dropNode:oe,dropPosition:1})?wt=1:ae=!1:ke({dragNode:Dt,dropNode:oe,dropPosition:0})?wt=0:ke({dragNode:Dt,dropNode:oe,dropPosition:1})?wt=1:ae=!1:ke({dragNode:Dt,dropNode:oe,dropPosition:1})?wt=1:ae=!1,{dropPosition:wt,dropLevelOffset:ft,dropTargetKey:Je.key,dropTargetPos:Je.pos,dragOverNodeKey:ct,dropContainerKey:wt===0?null:((pe=Je.parent)===null||pe===void 0?void 0:pe.key)||null,dropAllowed:ae}}function ge(ce,Oe){if(ce){var Ue=Oe.multiple;return Ue?ce.slice():ce.length?[ce[0]]:ce}}var Ae=function(Oe){return Oe};function Pe(ce,Oe){if(!ce)return[];var Ue=Oe||{},ze=Ue.processProps,nt=ze===void 0?Ae:ze,ke=Array.isArray(ce)?ce:[ce];return ke.map(function(Ve){var et=Ve.children,Se=_objectWithoutProperties(Ve,fe),qe=Pe(et,Oe);return React.createElement(TreeNode,_extends({key:Se.key},nt(Se)),qe)})}function Re(ce){if(!ce)return null;var Oe;if(Array.isArray(ce))Oe={checkedKeys:ce,halfCheckedKeys:void 0};else if((0,We.Z)(ce)==="object")Oe={checkedKeys:ce.checked||void 0,halfCheckedKeys:ce.halfChecked||void 0};else return(0,de.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Oe}function tt(ce,Oe){var Ue=new Set;function ze(nt){if(!Ue.has(nt)){var ke=(0,ve.Z)(Oe,nt);if(ke){Ue.add(nt);var Ve=ke.parent,et=ke.node;et.disabled||Ve&&ze(Ve.key)}}}return(ce||[]).forEach(function(nt){ze(nt)}),(0,b.Z)(Ue)}},34643:function(wn,zt,E){"use strict";E.d(zt,{S:function(){return ye}});var b=E(48736),We=E(65065);function de(fe,xe){var ue=new Set;return fe.forEach(function(Fe){xe.has(Fe)||ue.add(Fe)}),ue}function Ke(fe){var xe=fe||{},ue=xe.disabled,Fe=xe.disableCheckbox,Ce=xe.checkable;return!!(ue||Fe)||Ce===!1}function De(fe,xe,ue,Fe){for(var Ce=new Set(fe),Te=new Set,we=0;we<=ue;we+=1){var Me=xe.get(we)||new Set;Me.forEach(function(Re){var tt=Re.key,ce=Re.node,Oe=Re.children,Ue=Oe===void 0?[]:Oe;Ce.has(tt)&&!Fe(ce)&&Ue.filter(function(ze){return!Fe(ze.node)}).forEach(function(ze){Ce.add(ze.key)})})}for(var ge=new Set,Ae=ue;Ae>=0;Ae-=1){var Pe=xe.get(Ae)||new Set;Pe.forEach(function(Re){var tt=Re.parent,ce=Re.node;if(!(Fe(ce)||!Re.parent||ge.has(Re.parent.key))){if(Fe(Re.parent.node)){ge.add(tt.key);return}var Oe=!0,Ue=!1;(tt.children||[]).filter(function(ze){return!Fe(ze.node)}).forEach(function(ze){var nt=ze.key,ke=Ce.has(nt);Oe&&!ke&&(Oe=!1),!Ue&&(ke||Te.has(nt))&&(Ue=!0)}),Oe&&Ce.add(tt.key),Ue&&Te.add(tt.key),ge.add(tt.key)}})}return{checkedKeys:Array.from(Ce),halfCheckedKeys:Array.from(de(Te,Ce))}}function ve(fe,xe,ue,Fe,Ce){for(var Te=new Set(fe),we=new Set(xe),Me=0;Me<=Fe;Me+=1){var ge=ue.get(Me)||new Set;ge.forEach(function(tt){var ce=tt.key,Oe=tt.node,Ue=tt.children,ze=Ue===void 0?[]:Ue;!Te.has(ce)&&!we.has(ce)&&!Ce(Oe)&&ze.filter(function(nt){return!Ce(nt.node)}).forEach(function(nt){Te.delete(nt.key)})})}we=new Set;for(var Ae=new Set,Pe=Fe;Pe>=0;Pe-=1){var Re=ue.get(Pe)||new Set;Re.forEach(function(tt){var ce=tt.parent,Oe=tt.node;if(!(Ce(Oe)||!tt.parent||Ae.has(tt.parent.key))){if(Ce(tt.parent.node)){Ae.add(ce.key);return}var Ue=!0,ze=!1;(ce.children||[]).filter(function(nt){return!Ce(nt.node)}).forEach(function(nt){var ke=nt.key,Ve=Te.has(ke);Ue&&!Ve&&(Ue=!1),!ze&&(Ve||we.has(ke))&&(ze=!0)}),Ue||Te.delete(ce.key),ze&&we.add(ce.key),Ae.add(ce.key)}})}return{checkedKeys:Array.from(Te),halfCheckedKeys:Array.from(de(we,Te))}}function ye(fe,xe,ue,Fe){var Ce=[],Te;Fe?Te=Fe:Te=Ke;var we=new Set(fe.filter(function(Pe){var Re=!!(0,We.Z)(ue,Pe);return Re||Ce.push(Pe),Re})),Me=new Map,ge=0;Object.keys(ue).forEach(function(Pe){var Re=ue[Pe],tt=Re.level,ce=Me.get(tt);ce||(ce=new Set,Me.set(tt,ce)),ce.add(Re),ge=Math.max(ge,tt)}),(0,b.ZP)(!Ce.length,"Tree missing follow keys: ".concat(Ce.slice(0,100).map(function(Pe){return"'".concat(Pe,"'")}).join(", ")));var Ae;return xe===!0?Ae=De(we,Me,ge,Te):Ae=ve(we,xe.halfCheckedKeys,Me,ge,Te),Ae}},65065:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return b}});function b(We,de){return We[de]}},34061:function(wn,zt,E){"use strict";E.d(zt,{F:function(){return tt},H8:function(){return Re},I8:function(){return Pe},km:function(){return Ce},oH:function(){return ge},w$:function(){return Te},zn:function(){return Me}});var b=E(76190),We=E(94480),de=E(33885),Ke=E(75931),De=E(11592),ve=E(2738),ye=E(48736),fe=E(65065),xe=["children"];function ue(ce,Oe){return"".concat(ce,"-").concat(Oe)}function Fe(ce){return ce&&ce.type&&ce.type.isTreeNode}function Ce(ce,Oe){return ce!=null?ce:Oe}function Te(ce){var Oe=ce||{},Ue=Oe.title,ze=Oe._title,nt=Oe.key,ke=Oe.children,Ve=Ue||"title";return{title:Ve,_title:ze||[Ve],key:nt||"key",children:ke||"children"}}function we(ce,Oe){var Ue=new Map;function ze(nt){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(nt||[]).forEach(function(Ve){var et=Ve[Oe.key],Se=Ve[Oe.children];warning(et!=null,"Tree node must have a certain key: [".concat(ke).concat(et,"]"));var qe=String(et);warning(!Ue.has(qe)||et===null||et===void 0,"Same 'key' exist in the Tree: ".concat(qe)),Ue.set(qe,!0),ze(Se,"".concat(ke).concat(qe," > "))})}ze(ce)}function Me(ce){function Oe(Ue){var ze=(0,De.Z)(Ue);return ze.map(function(nt){if(!Fe(nt))return(0,ye.ZP)(!nt,"Tree/TreeNode can only accept TreeNode as children."),null;var ke=nt.key,Ve=nt.props,et=Ve.children,Se=(0,Ke.Z)(Ve,xe),qe=(0,de.Z)({key:ke},Se),pe=Oe(et);return pe.length&&(qe.children=pe),qe}).filter(function(nt){return nt})}return Oe(ce)}function ge(ce,Oe,Ue){var ze=Te(Ue),nt=ze._title,ke=ze.key,Ve=ze.children,et=new Set(Oe===!0?[]:Oe),Se=[];function qe(pe){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return pe.map(function(gt,$e){for(var at=ue(be?be.pos:"0",$e),bt=Ce(gt[ke],at),Ze,se=0;se<nt.length;se+=1){var Be=nt[se];if(gt[Be]!==void 0){Ze=gt[Be];break}}var Je=Object.assign((0,ve.Z)(gt,[].concat((0,We.Z)(nt),[ke,Ve])),{title:Ze,key:bt,parent:be,pos:at,children:null,data:gt,isStart:[].concat((0,We.Z)(be?be.isStart:[]),[$e===0]),isEnd:[].concat((0,We.Z)(be?be.isEnd:[]),[$e===pe.length-1])});return Se.push(Je),Oe===!0||et.has(bt)?Je.children=qe(gt[Ve]||[],Je):Je.children=[],Je})}return qe(ce),Se}function Ae(ce,Oe,Ue){var ze={};(0,b.Z)(Ue)==="object"?ze=Ue:ze={externalGetKey:Ue},ze=ze||{};var nt=ze,ke=nt.childrenPropName,Ve=nt.externalGetKey,et=nt.fieldNames,Se=Te(et),qe=Se.key,pe=Se.children,be=ke||pe,gt;Ve?typeof Ve=="string"?gt=function(bt){return bt[Ve]}:typeof Ve=="function"&&(gt=function(bt){return Ve(bt)}):gt=function(bt,Ze){return Ce(bt[qe],Ze)};function $e(at,bt,Ze,se){var Be=at?at[be]:ce,Je=at?ue(Ze.pos,bt):"0",lt=at?[].concat((0,We.Z)(se),[at]):[];if(at){var Ee=gt(at,Je),je={node:at,index:bt,pos:Je,key:Ee,parentPos:Ze.node?Ze.pos:null,level:Ze.level+1,nodes:lt};Oe(je)}Be&&Be.forEach(function(rt,xt){$e(rt,xt,{node:at,pos:Je,level:Ze?Ze.level+1:-1},lt)})}$e(null)}function Pe(ce){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ue=Oe.initWrapper,ze=Oe.processEntity,nt=Oe.onProcessFinished,ke=Oe.externalGetKey,Ve=Oe.childrenPropName,et=Oe.fieldNames,Se=arguments.length>2?arguments[2]:void 0,qe=ke||Se,pe={},be={},gt={posEntities:pe,keyEntities:be};return Ue&&(gt=Ue(gt)||gt),Ae(ce,function($e){var at=$e.node,bt=$e.index,Ze=$e.pos,se=$e.key,Be=$e.parentPos,Je=$e.level,lt=$e.nodes,Ee={node:at,nodes:lt,index:bt,key:se,pos:Ze,level:Je},je=Ce(se,Ze);pe[Ze]=Ee,be[je]=Ee,Ee.parent=pe[Be],Ee.parent&&(Ee.parent.children=Ee.parent.children||[],Ee.parent.children.push(Ee)),ze&&ze(Ee,gt)},{externalGetKey:qe,childrenPropName:Ve,fieldNames:et}),nt&&nt(gt),gt}function Re(ce,Oe){var Ue=Oe.expandedKeys,ze=Oe.selectedKeys,nt=Oe.loadedKeys,ke=Oe.loadingKeys,Ve=Oe.checkedKeys,et=Oe.halfCheckedKeys,Se=Oe.dragOverNodeKey,qe=Oe.dropPosition,pe=Oe.keyEntities,be=(0,fe.Z)(pe,ce),gt={eventKey:ce,expanded:Ue.indexOf(ce)!==-1,selected:ze.indexOf(ce)!==-1,loaded:nt.indexOf(ce)!==-1,loading:ke.indexOf(ce)!==-1,checked:Ve.indexOf(ce)!==-1,halfChecked:et.indexOf(ce)!==-1,pos:String(be?be.pos:""),dragOver:Se===ce&&qe===0,dragOverGapTop:Se===ce&&qe===-1,dragOverGapBottom:Se===ce&&qe===1};return gt}function tt(ce){var Oe=ce.data,Ue=ce.expanded,ze=ce.selected,nt=ce.checked,ke=ce.loaded,Ve=ce.loading,et=ce.halfChecked,Se=ce.dragOver,qe=ce.dragOverGapTop,pe=ce.dragOverGapBottom,be=ce.pos,gt=ce.active,$e=ce.eventKey,at=(0,de.Z)((0,de.Z)({},Oe),{},{expanded:Ue,selected:ze,checked:nt,loaded:ke,loading:Ve,halfChecked:et,dragOver:Se,dragOverGapTop:qe,dragOverGapBottom:pe,pos:be,active:gt,key:$e});return"props"in at||Object.defineProperty(at,"props",{get:function(){return(0,ye.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ce}}),at}},8224:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return We}});var b=E(4676);function We(de,Ke,De,ve){var ye=b.unstable_batchedUpdates?function(xe){b.unstable_batchedUpdates(De,xe)}:De;return de!=null&&de.addEventListener&&de.addEventListener(Ke,ye,ve),{remove:function(){de!=null&&de.removeEventListener&&de.removeEventListener(Ke,ye,ve)}}}},24514:function(wn,zt,E){"use strict";E.d(zt,{G:function(){return Ke}});var b=E(47273),We=function(ve){if((0,b.Z)()&&window.document.documentElement){var ye=Array.isArray(ve)?ve:[ve],fe=window.document.documentElement;return ye.some(function(xe){return xe in fe.style})}return!1},de=function(ve,ye){if(!We(ve))return!1;var fe=document.createElement("div"),xe=fe.style[ve];return fe.style[ve]=ye,fe.style[ve]!==xe};function Ke(De,ve){return!Array.isArray(De)&&ve!==void 0?de(De,ve):We(De)}},48911:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return Dt}});var b=E(54476),We=E(76190),de=E(33885),Ke=E(20068),De=E(42978),ve=E(75931),ye=E(92310),fe=E.n(ye),xe=E(29301),ue=E(70425),Fe=E(34280),Ce=E(59301),Te=E(4676),we=Ce.forwardRef(function(oe,ae){var te=oe.height,x=oe.offsetY,re=oe.offsetX,ne=oe.children,le=oe.prefixCls,Ie=oe.onInnerResize,Le=oe.innerProps,Ye=oe.rtl,Ge=oe.extra,it={},dt={display:"flex",flexDirection:"column"};return x!==void 0&&(it={height:te,position:"relative",overflow:"hidden"},dt=(0,de.Z)((0,de.Z)({},dt),{},(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({transform:"translateY(".concat(x,"px)")},Ye?"marginRight":"marginLeft",-re),"position","absolute"),"left",0),"right",0),"top",0))),Ce.createElement("div",{style:it},Ce.createElement(xe.Z,{onResize:function(ot){var st=ot.offsetHeight;st&&Ie&&Ie()}},Ce.createElement("div",(0,b.Z)({style:dt,className:fe()((0,Ke.Z)({},"".concat(le,"-holder-inner"),le)),ref:ae},Le),ne,Ge)))});we.displayName="Filler";var Me=we;function ge(oe){var ae=oe.children,te=oe.setRef,x=Ce.useCallback(function(re){te(re)},[]);return Ce.cloneElement(ae,{ref:x})}function Ae(oe,ae,te,x,re,ne,le,Ie){var Le=Ie.getKey;return oe.slice(ae,te+1).map(function(Ye,Ge){var it=ae+Ge,dt=le(Ye,it,{style:{width:x},offsetX:re}),yt=Le(Ye);return Ce.createElement(ge,{key:yt,setRef:function(st){return ne(Ye,st)}},dt)})}function Pe(oe,ae,te,x){var re=te-oe,ne=ae-te,le=Math.min(re,ne)*2;if(x<=le){var Ie=Math.floor(x/2);return x%2?te+Ie+1:te-Ie}return re>ne?te-(x-ne):te+(x-re)}function Re(oe,ae,te){var x=oe.length,re=ae.length,ne,le;if(x===0&&re===0)return null;x<re?(ne=oe,le=ae):(ne=ae,le=oe);var Ie={__EMPTY_ITEM__:!0};function Le(ot){return ot!==void 0?te(ot):Ie}for(var Ye=null,Ge=Math.abs(x-re)!==1,it=0;it<le.length;it+=1){var dt=Le(ne[it]),yt=Le(le[it]);if(dt!==yt){Ye=it,Ge=Ge||dt!==Le(le[it+1]);break}}return Ye===null?null:{index:Ye,multiple:Ge}}function tt(oe,ae,te){var x=Ce.useState(oe),re=(0,De.Z)(x,2),ne=re[0],le=re[1],Ie=Ce.useState(null),Le=(0,De.Z)(Ie,2),Ye=Le[0],Ge=Le[1];return Ce.useEffect(function(){var it=Re(ne||[],oe||[],ae);(it==null?void 0:it.index)!==void 0&&(te==null||te(it.index),Ge(oe[it.index])),le(oe)},[oe]),[Ye]}var ce=E(16089),Oe=(typeof navigator=="undefined"?"undefined":(0,We.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ue=Oe,ze=function(oe,ae,te,x){var re=(0,Ce.useRef)(!1),ne=(0,Ce.useRef)(null);function le(){clearTimeout(ne.current),re.current=!0,ne.current=setTimeout(function(){re.current=!1},50)}var Ie=(0,Ce.useRef)({top:oe,bottom:ae,left:te,right:x});return Ie.current.top=oe,Ie.current.bottom=ae,Ie.current.left=te,Ie.current.right=x,function(Le,Ye){var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,it=Le?Ye<0&&Ie.current.left||Ye>0&&Ie.current.right:Ye<0&&Ie.current.top||Ye>0&&Ie.current.bottom;return Ge&&it?(clearTimeout(ne.current),re.current=!1):(!it||re.current)&&le(),!re.current&&it}};function nt(oe,ae,te,x,re,ne,le){var Ie=(0,Ce.useRef)(0),Le=(0,Ce.useRef)(null),Ye=(0,Ce.useRef)(null),Ge=(0,Ce.useRef)(!1),it=ze(ae,te,x,re);function dt(un,$t){if(ce.Z.cancel(Le.current),!it(!1,$t)){var Rt=un;if(!Rt._virtualHandled)Rt._virtualHandled=!0;else return;Ie.current+=$t,Ye.current=$t,Ue||Rt.preventDefault(),Le.current=(0,ce.Z)(function(){var Kt=Ge.current?10:1;le(Ie.current*Kt,!1),Ie.current=0})}}function yt(un,$t){le($t,!0),Ue||un.preventDefault()}var ot=(0,Ce.useRef)(null),st=(0,Ce.useRef)(null);function Vt(un){if(oe){ce.Z.cancel(st.current),st.current=(0,ce.Z)(function(){ot.current=null},2);var $t=un.deltaX,Rt=un.deltaY,Kt=un.shiftKey,qt=$t,Et=Rt;(ot.current==="sx"||!ot.current&&Kt&&Rt&&!$t)&&(qt=Rt,Et=0,ot.current="sx");var Tt=Math.abs(qt),on=Math.abs(Et);ot.current===null&&(ot.current=ne&&Tt>on?"x":"y"),ot.current==="y"?dt(un,Et):yt(un,qt)}}function kt(un){oe&&(Ge.current=un.detail===Ye.current)}return[Vt,kt]}function ke(oe,ae,te,x){var re=Ce.useMemo(function(){return[new Map,[]]},[oe,te.id,x]),ne=(0,De.Z)(re,2),le=ne[0],Ie=ne[1],Le=function(Ge){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ge,dt=le.get(Ge),yt=le.get(it);if(dt===void 0||yt===void 0)for(var ot=oe.length,st=Ie.length;st<ot;st+=1){var Vt,kt=oe[st],un=ae(kt);le.set(un,st);var $t=(Vt=te.get(un))!==null&&Vt!==void 0?Vt:x;if(Ie[st]=(Ie[st-1]||0)+$t,un===Ge&&(dt=st),un===it&&(yt=st),dt!==void 0&&yt!==void 0)break}return{top:Ie[dt-1]||0,bottom:Ie[yt]}};return Le}var Ve=E(67732),et=E(83652),Se=function(){function oe(){(0,Ve.Z)(this,oe),(0,Ke.Z)(this,"maps",void 0),(0,Ke.Z)(this,"id",0),(0,Ke.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,et.Z)(oe,[{key:"set",value:function(te,x){this.diffRecords.set(te,this.maps[te]),this.maps[te]=x,this.id+=1}},{key:"get",value:function(te){return this.maps[te]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),oe}(),qe=Se;function pe(oe){var ae=parseFloat(oe);return isNaN(ae)?0:ae}function be(oe,ae,te){var x=Ce.useState(0),re=(0,De.Z)(x,2),ne=re[0],le=re[1],Ie=(0,Ce.useRef)(new Map),Le=(0,Ce.useRef)(new qe),Ye=(0,Ce.useRef)(0);function Ge(){Ye.current+=1}function it(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ge();var ot=function(){var kt=!1;Ie.current.forEach(function(un,$t){if(un&&un.offsetParent){var Rt=un.offsetHeight,Kt=getComputedStyle(un),qt=Kt.marginTop,Et=Kt.marginBottom,Tt=pe(qt),on=pe(Et),mn=Rt+Tt+on;Le.current.get($t)!==mn&&(Le.current.set($t,mn),kt=!0)}}),kt&&le(function(un){return un+1})};if(yt)ot();else{Ye.current+=1;var st=Ye.current;Promise.resolve().then(function(){st===Ye.current&&ot()})}}function dt(yt,ot){var st=oe(yt),Vt=Ie.current.get(st);ot?(Ie.current.set(st,ot),it()):Ie.current.delete(st),!Vt!=!ot&&(ot?ae==null||ae(yt):te==null||te(yt))}return(0,Ce.useEffect)(function(){return Ge},[]),[dt,it,Le.current,ne]}var gt=14/15;function $e(oe,ae,te){var x=(0,Ce.useRef)(!1),re=(0,Ce.useRef)(0),ne=(0,Ce.useRef)(0),le=(0,Ce.useRef)(null),Ie=(0,Ce.useRef)(null),Le,Ye=function(yt){if(x.current){var ot=Math.ceil(yt.touches[0].pageX),st=Math.ceil(yt.touches[0].pageY),Vt=re.current-ot,kt=ne.current-st,un=Math.abs(Vt)>Math.abs(kt);un?re.current=ot:ne.current=st;var $t=te(un,un?Vt:kt,!1,yt);$t&&yt.preventDefault(),clearInterval(Ie.current),$t&&(Ie.current=setInterval(function(){un?Vt*=gt:kt*=gt;var Rt=Math.floor(un?Vt:kt);(!te(un,Rt,!0)||Math.abs(Rt)<=.1)&&clearInterval(Ie.current)},16))}},Ge=function(){x.current=!1,Le()},it=function(yt){Le(),yt.touches.length===1&&!x.current&&(x.current=!0,re.current=Math.ceil(yt.touches[0].pageX),ne.current=Math.ceil(yt.touches[0].pageY),le.current=yt.target,le.current.addEventListener("touchmove",Ye,{passive:!1}),le.current.addEventListener("touchend",Ge,{passive:!0}))};Le=function(){le.current&&(le.current.removeEventListener("touchmove",Ye),le.current.removeEventListener("touchend",Ge))},(0,Fe.Z)(function(){return oe&&ae.current.addEventListener("touchstart",it,{passive:!0}),function(){var dt;(dt=ae.current)===null||dt===void 0||dt.removeEventListener("touchstart",it),Le(),clearInterval(Ie.current)}},[oe])}function at(oe){return Math.floor(Math.pow(oe,.5))}function bt(oe,ae){var te="touches"in oe?oe.touches[0]:oe;return te[ae?"pageX":"pageY"]-window[ae?"scrollX":"scrollY"]}function Ze(oe,ae,te){Ce.useEffect(function(){var x=ae.current;if(oe&&x){var re=!1,ne,le,Ie=function(){ce.Z.cancel(ne)},Le=function dt(){Ie(),ne=(0,ce.Z)(function(){te(le),dt()})},Ye=function(){re=!1,Ie()},Ge=function(yt){if(!(yt.target.draggable||yt.button!==0)){var ot=yt;ot._virtualHandled||(ot._virtualHandled=!0,re=!0)}},it=function(yt){if(re){var ot=bt(yt,!1),st=x.getBoundingClientRect(),Vt=st.top,kt=st.bottom;if(ot<=Vt){var un=Vt-ot;le=-at(un),Le()}else if(ot>=kt){var $t=ot-kt;le=at($t),Le()}else Ie()}};return x.addEventListener("mousedown",Ge),x.ownerDocument.addEventListener("mouseup",Ye),x.ownerDocument.addEventListener("mousemove",it),x.ownerDocument.addEventListener("dragend",Ye),function(){x.removeEventListener("mousedown",Ge),x.ownerDocument.removeEventListener("mouseup",Ye),x.ownerDocument.removeEventListener("mousemove",it),x.ownerDocument.removeEventListener("dragend",Ye),Ie()}}},[oe])}var se=10;function Be(oe,ae,te,x,re,ne,le,Ie){var Le=Ce.useRef(),Ye=Ce.useState(null),Ge=(0,De.Z)(Ye,2),it=Ge[0],dt=Ge[1];return(0,Fe.Z)(function(){if(it&&it.times<se){if(!oe.current){dt(function(Bn){return(0,de.Z)({},Bn)});return}ne();var yt=it.targetAlign,ot=it.originAlign,st=it.index,Vt=it.offset,kt=oe.current.clientHeight,un=!1,$t=yt,Rt=null;if(kt){for(var Kt=yt||ot,qt=0,Et=0,Tt=0,on=Math.min(ae.length-1,st),mn=0;mn<=on;mn+=1){var vt=re(ae[mn]);Et=qt;var Mt=te.get(vt);Tt=Et+(Mt===void 0?x:Mt),qt=Tt}for(var Yt=Kt==="top"?Vt:kt-Vt,sn=on;sn>=0;sn-=1){var xn=re(ae[sn]),Ln=te.get(xn);if(Ln===void 0){un=!0;break}if(Yt-=Ln,Yt<=0)break}switch(Kt){case"top":Rt=Et-Vt;break;case"bottom":Rt=Tt-kt+Vt;break;default:{var Xn=oe.current.scrollTop,Jn=Xn+kt;Et<Xn?$t="top":Tt>Jn&&($t="bottom")}}Rt!==null&&le(Rt),Rt!==it.lastTop&&(un=!0)}un&&dt((0,de.Z)((0,de.Z)({},it),{},{times:it.times+1,targetAlign:$t,lastTop:Rt}))}},[it,oe.current]),function(yt){if(yt==null){Ie();return}if(ce.Z.cancel(Le.current),typeof yt=="number")le(yt);else if(yt&&(0,We.Z)(yt)==="object"){var ot,st=yt.align;"index"in yt?ot=yt.index:ot=ae.findIndex(function(un){return re(un)===yt.key});var Vt=yt.offset,kt=Vt===void 0?0:Vt;dt({times:0,index:ot,offset:kt,originAlign:st})}}}var Je=Ce.forwardRef(function(oe,ae){var te=oe.prefixCls,x=oe.rtl,re=oe.scrollOffset,ne=oe.scrollRange,le=oe.onStartMove,Ie=oe.onStopMove,Le=oe.onScroll,Ye=oe.horizontal,Ge=oe.spinSize,it=oe.containerSize,dt=oe.style,yt=oe.thumbStyle,ot=oe.showScrollBar,st=Ce.useState(!1),Vt=(0,De.Z)(st,2),kt=Vt[0],un=Vt[1],$t=Ce.useState(null),Rt=(0,De.Z)($t,2),Kt=Rt[0],qt=Rt[1],Et=Ce.useState(null),Tt=(0,De.Z)(Et,2),on=Tt[0],mn=Tt[1],vt=!x,Mt=Ce.useRef(),Yt=Ce.useRef(),sn=Ce.useState(ot),xn=(0,De.Z)(sn,2),Ln=xn[0],Xn=xn[1],Jn=Ce.useRef(),Bn=function(){ot===!0||ot===!1||(clearTimeout(Jn.current),Xn(!0),Jn.current=setTimeout(function(){Xn(!1)},3e3))},Un=ne-it||0,Wt=it-Ge||0,Ot=Ce.useMemo(function(){if(re===0||Un===0)return 0;var In=re/Un;return In*Wt},[re,Un,Wt]),ln=function(ar){ar.stopPropagation(),ar.preventDefault()},en=Ce.useRef({top:Ot,dragging:kt,pageY:Kt,startTop:on});en.current={top:Ot,dragging:kt,pageY:Kt,startTop:on};var Jt=function(ar){un(!0),qt(bt(ar,Ye)),mn(en.current.top),le(),ar.stopPropagation(),ar.preventDefault()};Ce.useEffect(function(){var In=function(Ir){Ir.preventDefault()},ar=Mt.current,tr=Yt.current;return ar.addEventListener("touchstart",In,{passive:!1}),tr.addEventListener("touchstart",Jt,{passive:!1}),function(){ar.removeEventListener("touchstart",In),tr.removeEventListener("touchstart",Jt)}},[]);var Sn=Ce.useRef();Sn.current=Un;var yn=Ce.useRef();yn.current=Wt,Ce.useEffect(function(){if(kt){var In,ar=function(Ir){var En=en.current,kn=En.dragging,nr=En.pageY,rr=En.startTop;ce.Z.cancel(In);var Lt=Mt.current.getBoundingClientRect(),Qt=it/(Ye?Lt.width:Lt.height);if(kn){var St=(bt(Ir,Ye)-nr)*Qt,Zt=rr;!vt&&Ye?Zt-=St:Zt+=St;var At=Sn.current,Ht=yn.current,ht=Ht?Zt/Ht:0,Xt=Math.ceil(ht*At);Xt=Math.max(Xt,0),Xt=Math.min(Xt,At),In=(0,ce.Z)(function(){Le(Xt,Ye)})}},tr=function(){un(!1),Ie()};return window.addEventListener("mousemove",ar,{passive:!0}),window.addEventListener("touchmove",ar,{passive:!0}),window.addEventListener("mouseup",tr,{passive:!0}),window.addEventListener("touchend",tr,{passive:!0}),function(){window.removeEventListener("mousemove",ar),window.removeEventListener("touchmove",ar),window.removeEventListener("mouseup",tr),window.removeEventListener("touchend",tr),ce.Z.cancel(In)}}},[kt]),Ce.useEffect(function(){return Bn(),function(){clearTimeout(Jn.current)}},[re]),Ce.useImperativeHandle(ae,function(){return{delayHidden:Bn}});var Mn="".concat(te,"-scrollbar"),Yn={position:"absolute",visibility:Ln?null:"hidden"},Wn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Ye?(Object.assign(Yn,{height:8,left:0,right:0,bottom:0}),Object.assign(Wn,(0,Ke.Z)({height:"100%",width:Ge},vt?"left":"right",Ot))):(Object.assign(Yn,(0,Ke.Z)({width:8,top:0,bottom:0},vt?"right":"left",0)),Object.assign(Wn,{width:"100%",height:Ge,top:Ot})),Ce.createElement("div",{ref:Mt,className:fe()(Mn,(0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},"".concat(Mn,"-horizontal"),Ye),"".concat(Mn,"-vertical"),!Ye),"".concat(Mn,"-visible"),Ln)),style:(0,de.Z)((0,de.Z)({},Yn),dt),onMouseDown:ln,onMouseMove:Bn},Ce.createElement("div",{ref:Yt,className:fe()("".concat(Mn,"-thumb"),(0,Ke.Z)({},"".concat(Mn,"-thumb-moving"),kt)),style:(0,de.Z)((0,de.Z)({},Wn),yt),onMouseDown:Jt}))}),lt=Je,Ee=20;function je(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=oe/ae*oe;return isNaN(te)&&(te=0),te=Math.max(te,Ee),Math.floor(te)}var rt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],xt=[],ct={overflowY:"auto",overflowAnchor:"none"};function wt(oe,ae){var te=oe.prefixCls,x=te===void 0?"rc-virtual-list":te,re=oe.className,ne=oe.height,le=oe.itemHeight,Ie=oe.fullHeight,Le=Ie===void 0?!0:Ie,Ye=oe.style,Ge=oe.data,it=oe.children,dt=oe.itemKey,yt=oe.virtual,ot=oe.direction,st=oe.scrollWidth,Vt=oe.component,kt=Vt===void 0?"div":Vt,un=oe.onScroll,$t=oe.onVirtualScroll,Rt=oe.onVisibleChange,Kt=oe.innerProps,qt=oe.extraRender,Et=oe.styles,Tt=oe.showScrollBar,on=Tt===void 0?"optional":Tt,mn=(0,ve.Z)(oe,rt),vt=Ce.useCallback(function(jn){return typeof dt=="function"?dt(jn):jn==null?void 0:jn[dt]},[dt]),Mt=be(vt,null,null),Yt=(0,De.Z)(Mt,4),sn=Yt[0],xn=Yt[1],Ln=Yt[2],Xn=Yt[3],Jn=!!(yt!==!1&&ne&&le),Bn=Ce.useMemo(function(){return Object.values(Ln.maps).reduce(function(jn,lr){return jn+lr},0)},[Ln.id,Ln.maps]),Un=Jn&&Ge&&(Math.max(le*Ge.length,Bn)>ne||!!st),Wt=ot==="rtl",Ot=fe()(x,(0,Ke.Z)({},"".concat(x,"-rtl"),Wt),re),ln=Ge||xt,en=(0,Ce.useRef)(),Jt=(0,Ce.useRef)(),Sn=(0,Ce.useRef)(),yn=(0,Ce.useState)(0),Mn=(0,De.Z)(yn,2),Yn=Mn[0],Wn=Mn[1],In=(0,Ce.useState)(0),ar=(0,De.Z)(In,2),tr=ar[0],Rr=ar[1],Ir=(0,Ce.useState)(!1),En=(0,De.Z)(Ir,2),kn=En[0],nr=En[1],rr=function(){nr(!0)},Lt=function(){nr(!1)},Qt={getKey:vt};function St(jn){Wn(function(lr){var cr;typeof jn=="function"?cr=jn(lr):cr=jn;var Qn=ni(cr);return en.current.scrollTop=Qn,Qn})}var Zt=(0,Ce.useRef)({start:0,end:ln.length}),At=(0,Ce.useRef)(),Ht=tt(ln,vt),ht=(0,De.Z)(Ht,1),Xt=ht[0];At.current=Xt;var tn=Ce.useMemo(function(){if(!Jn)return{scrollHeight:void 0,start:0,end:ln.length-1,offset:void 0};if(!Un){var jn;return{scrollHeight:((jn=Jt.current)===null||jn===void 0?void 0:jn.offsetHeight)||0,start:0,end:ln.length-1,offset:void 0}}for(var lr=0,cr,Qn,Wr,qr=ln.length,ir=0;ir<qr;ir+=1){var Gn=ln[ir],Cr=vt(Gn),Zr=Ln.get(Cr),ji=lr+(Zr===void 0?le:Zr);ji>=Yn&&cr===void 0&&(cr=ir,Qn=lr),ji>Yn+ne&&Wr===void 0&&(Wr=ir),lr=ji}return cr===void 0&&(cr=0,Qn=0,Wr=Math.ceil(ne/le)),Wr===void 0&&(Wr=ln.length-1),Wr=Math.min(Wr+1,ln.length-1),{scrollHeight:lr,start:cr,end:Wr,offset:Qn}},[Un,Jn,Yn,ln,Xn,ne]),dn=tn.scrollHeight,Ut=tn.start,jt=tn.end,Gt=tn.offset;Zt.current.start=Ut,Zt.current.end=jt,Ce.useLayoutEffect(function(){var jn=Ln.getRecord();if(jn.size===1){var lr=Array.from(jn.keys())[0],cr=jn.get(lr),Qn=ln[Ut];if(Qn&&cr===void 0){var Wr=vt(Qn);if(Wr===lr){var qr=Ln.get(lr),ir=qr-le;St(function(Gn){return Gn+ir})}}}Ln.resetRecord()},[dn]);var an=Ce.useState({width:0,height:ne}),zn=(0,De.Z)(an,2),Rn=zn[0],Vn=zn[1],Mr=function(lr){Vn({width:lr.offsetWidth,height:lr.offsetHeight})},zr=(0,Ce.useRef)(),Xr=(0,Ce.useRef)(),Pr=Ce.useMemo(function(){return je(Rn.width,st)},[Rn.width,st]),gr=Ce.useMemo(function(){return je(Rn.height,dn)},[Rn.height,dn]),Ar=dn-ne,Vr=(0,Ce.useRef)(Ar);Vr.current=Ar;function ni(jn){var lr=jn;return Number.isNaN(Vr.current)||(lr=Math.min(lr,Vr.current)),lr=Math.max(lr,0),lr}var ri=Yn<=0,ai=Yn>=Ar,Dr=tr<=0,Jr=tr>=st,$r=ze(ri,ai,Dr,Jr),Ri=function(){return{x:Wt?-tr:tr,y:Yn}},Hi=(0,Ce.useRef)(Ri()),Zi=(0,ue.zX)(function(jn){if($t){var lr=(0,de.Z)((0,de.Z)({},Ri()),jn);(Hi.current.x!==lr.x||Hi.current.y!==lr.y)&&($t(lr),Hi.current=lr)}});function zi(jn,lr){var cr=jn;lr?((0,Te.flushSync)(function(){Rr(cr)}),Zi()):St(cr)}function Ji(jn){var lr=jn.currentTarget.scrollTop;lr!==Yn&&St(lr),un==null||un(jn),Zi()}var wi=function(lr){var cr=lr,Qn=st?st-Rn.width:0;return cr=Math.max(cr,0),cr=Math.min(cr,Qn),cr},Mi=(0,ue.zX)(function(jn,lr){lr?((0,Te.flushSync)(function(){Rr(function(cr){var Qn=cr+(Wt?-jn:jn);return wi(Qn)})}),Zi()):St(function(cr){var Qn=cr+jn;return Qn})}),fi=nt(Jn,ri,ai,Dr,Jr,!!st,Mi),$i=(0,De.Z)(fi,2),oo=$i[0],Ro=$i[1];$e(Jn,en,function(jn,lr,cr,Qn){var Wr=Qn;return $r(jn,lr,cr)?!1:!Wr||!Wr._virtualHandled?(Wr&&(Wr._virtualHandled=!0),oo({preventDefault:function(){},deltaX:jn?lr:0,deltaY:jn?0:lr}),!0):!1}),Ze(Un,en,function(jn){St(function(lr){return lr+jn})}),(0,Fe.Z)(function(){function jn(cr){var Qn=ri&&cr.detail<0,Wr=ai&&cr.detail>0;Jn&&!Qn&&!Wr&&cr.preventDefault()}var lr=en.current;return lr.addEventListener("wheel",oo,{passive:!1}),lr.addEventListener("DOMMouseScroll",Ro,{passive:!0}),lr.addEventListener("MozMousePixelScroll",jn,{passive:!1}),function(){lr.removeEventListener("wheel",oo),lr.removeEventListener("DOMMouseScroll",Ro),lr.removeEventListener("MozMousePixelScroll",jn)}},[Jn,ri,ai]),(0,Fe.Z)(function(){if(st){var jn=wi(tr);Rr(jn),Zi({x:jn})}},[Rn.width,st]);var fo=function(){var lr,cr;(lr=zr.current)===null||lr===void 0||lr.delayHidden(),(cr=Xr.current)===null||cr===void 0||cr.delayHidden()},bo=Be(en,ln,Ln,le,vt,function(){return xn(!0)},St,fo);Ce.useImperativeHandle(ae,function(){return{nativeElement:Sn.current,getScrollInfo:Ri,scrollTo:function(lr){function cr(Qn){return Qn&&(0,We.Z)(Qn)==="object"&&("left"in Qn||"top"in Qn)}cr(lr)?(lr.left!==void 0&&Rr(wi(lr.left)),bo(lr.top)):bo(lr)}}}),(0,Fe.Z)(function(){if(Rt){var jn=ln.slice(Ut,jt+1);Rt(jn,ln)}},[Ut,jt,ln]);var co=ke(ln,vt,Ln,le),yo=qt==null?void 0:qt({start:Ut,end:jt,virtual:Un,offsetX:tr,offsetY:Gt,rtl:Wt,getSize:co}),Fi=Ae(ln,Ut,jt,st,tr,sn,it,Qt),Ai=null;ne&&(Ai=(0,de.Z)((0,Ke.Z)({},Le?"height":"maxHeight",ne),ct),Jn&&(Ai.overflowY="hidden",st&&(Ai.overflowX="hidden"),kn&&(Ai.pointerEvents="none")));var Yr={};return Wt&&(Yr.dir="rtl"),Ce.createElement("div",(0,b.Z)({ref:Sn,style:(0,de.Z)((0,de.Z)({},Ye),{},{position:"relative"}),className:Ot},Yr,mn),Ce.createElement(xe.Z,{onResize:Mr},Ce.createElement(kt,{className:"".concat(x,"-holder"),style:Ai,ref:en,onScroll:Ji,onMouseEnter:fo},Ce.createElement(Me,{prefixCls:x,height:dn,offsetX:tr,offsetY:Gt,scrollWidth:st,onInnerResize:xn,ref:Jt,innerProps:Kt,rtl:Wt,extra:yo},Fi))),Un&&dn>ne&&Ce.createElement(lt,{ref:zr,prefixCls:x,scrollOffset:Yn,scrollRange:dn,rtl:Wt,onScroll:zi,onStartMove:rr,onStopMove:Lt,spinSize:gr,containerSize:Rn.height,style:Et==null?void 0:Et.verticalScrollBar,thumbStyle:Et==null?void 0:Et.verticalScrollBarThumb,showScrollBar:on}),Un&&st>Rn.width&&Ce.createElement(lt,{ref:Xr,prefixCls:x,scrollOffset:tr,scrollRange:st,rtl:Wt,onScroll:zi,onStartMove:rr,onStopMove:Lt,spinSize:Pr,containerSize:Rn.width,horizontal:!0,style:Et==null?void 0:Et.horizontalScrollBar,thumbStyle:Et==null?void 0:Et.horizontalScrollBarThumb,showScrollBar:on}))}var ft=Ce.forwardRef(wt);ft.displayName="List";var It=ft,Dt=It},25510:function(wn){"use strict";wn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGg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Zs23s+LEBsLBbJ8Szjhphs+bOC5YO3FOvvPyy/ebMM+zggw6y5595zsaMHm2LTppgL7/wYtiQvOOu/2jv/cAH7P27vc/m2Ov2u4vOtyuuuNyO+eY3bez4Cbbi8svbqy/PtJf+9oLNnTXbRsydZ8d+81u21VZb2wpvfasdcMD+dtIpPwoxLJMmTwrbp595/Anb7O1vt2223Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQsvvMj++7+/attsu7Udc8yxtu5664YTn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1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},16722:function(wn,zt,E){"use strict";E.d(zt,{Z:function(){return fe}});const b=xe=>typeof xe=="object"&&xe!=null&&xe.nodeType===1,We=(xe,ue)=>(!ue||xe!=="hidden")&&xe!=="visible"&&xe!=="clip",de=(xe,ue)=>{if(xe.clientHeight<xe.scrollHeight||xe.clientWidth<xe.scrollWidth){const Fe=getComputedStyle(xe,null);return We(Fe.overflowY,ue)||We(Fe.overflowX,ue)||(Ce=>{const Te=(we=>{if(!we.ownerDocument||!we.ownerDocument.defaultView)return null;try{return we.ownerDocument.defaultView.frameElement}catch(Me){return null}})(Ce);return!!Te&&(Te.clientHeight<Ce.scrollHeight||Te.clientWidth<Ce.scrollWidth)})(xe)}return!1},Ke=(xe,ue,Fe,Ce,Te,we,Me,ge)=>we<xe&&Me>ue||we>xe&&Me<ue?0:we<=xe&&ge<=Fe||Me>=ue&&ge>=Fe?we-xe-Ce:Me>ue&&ge<Fe||we<xe&&ge>Fe?Me-ue+Te:0,De=xe=>{const ue=xe.parentElement;return ue==null?xe.getRootNode().host||null:ue},ve=(xe,ue)=>{var Fe,Ce,Te,we;if(typeof document=="undefined")return[];const{scrollMode:Me,block:ge,inline:Ae,boundary:Pe,skipOverflowHiddenElements:Re}=ue,tt=typeof Pe=="function"?Pe:lt=>lt!==Pe;if(!b(xe))throw new TypeError("Invalid target");const ce=document.scrollingElement||document.documentElement,Oe=[];let Ue=xe;for(;b(Ue)&&tt(Ue);){if(Ue=De(Ue),Ue===ce){Oe.push(Ue);break}Ue!=null&&Ue===document.body&&de(Ue)&&!de(document.documentElement)||Ue!=null&&de(Ue,Re)&&Oe.push(Ue)}const ze=(Ce=(Fe=window.visualViewport)==null?void 0:Fe.width)!=null?Ce:innerWidth,nt=(we=(Te=window.visualViewport)==null?void 0:Te.height)!=null?we:innerHeight,{scrollX:ke,scrollY:Ve}=window,{height:et,width:Se,top:qe,right:pe,bottom:be,left:gt}=xe.getBoundingClientRect(),{top:$e,right:at,bottom:bt,left:Ze}=(lt=>{const Ee=window.getComputedStyle(lt);return{top:parseFloat(Ee.scrollMarginTop)||0,right:parseFloat(Ee.scrollMarginRight)||0,bottom:parseFloat(Ee.scrollMarginBottom)||0,left:parseFloat(Ee.scrollMarginLeft)||0}})(xe);let se=ge==="start"||ge==="nearest"?qe-$e:ge==="end"?be+bt:qe+et/2-$e+bt,Be=Ae==="center"?gt+Se/2-Ze+at:Ae==="end"?pe+at:gt-Ze;const Je=[];for(let lt=0;lt<Oe.length;lt++){const Ee=Oe[lt],{height:je,width:rt,top:xt,right:ct,bottom:wt,left:ft}=Ee.getBoundingClientRect();if(Me==="if-needed"&&qe>=0&>>=0&&be<=nt&&pe<=ze&&(Ee===ce&&!de(Ee)||qe>=xt&&be<=wt&>>=ft&&pe<=ct))return Je;const It=getComputedStyle(Ee),Dt=parseInt(It.borderLeftWidth,10),oe=parseInt(It.borderTopWidth,10),ae=parseInt(It.borderRightWidth,10),te=parseInt(It.borderBottomWidth,10);let x=0,re=0;const ne="offsetWidth"in Ee?Ee.offsetWidth-Ee.clientWidth-Dt-ae:0,le="offsetHeight"in Ee?Ee.offsetHeight-Ee.clientHeight-oe-te:0,Ie="offsetWidth"in Ee?Ee.offsetWidth===0?0:rt/Ee.offsetWidth:0,Le="offsetHeight"in Ee?Ee.offsetHeight===0?0:je/Ee.offsetHeight:0;if(ce===Ee)x=ge==="start"?se:ge==="end"?se-nt:ge==="nearest"?Ke(Ve,Ve+nt,nt,oe,te,Ve+se,Ve+se+et,et):se-nt/2,re=Ae==="start"?Be:Ae==="center"?Be-ze/2:Ae==="end"?Be-ze:Ke(ke,ke+ze,ze,Dt,ae,ke+Be,ke+Be+Se,Se),x=Math.max(0,x+Ve),re=Math.max(0,re+ke);else{x=ge==="start"?se-xt-oe:ge==="end"?se-wt+te+le:ge==="nearest"?Ke(xt,wt,je,oe,te+le,se,se+et,et):se-(xt+je/2)+le/2,re=Ae==="start"?Be-ft-Dt:Ae==="center"?Be-(ft+rt/2)+ne/2:Ae==="end"?Be-ct+ae+ne:Ke(ft,ct,rt,Dt,ae+ne,Be,Be+Se,Se);const{scrollLeft:Ye,scrollTop:Ge}=Ee;x=Le===0?0:Math.max(0,Math.min(Ge+x/Le,Ee.scrollHeight-je/Le+le)),re=Ie===0?0:Math.max(0,Math.min(Ye+re/Ie,Ee.scrollWidth-rt/Ie+ne)),se+=Ge-x,Be+=Ye-re}Je.push({el:Ee,top:x,left:re})}return Je},ye=xe=>xe===!1?{block:"end",inline:"nearest"}:(ue=>ue===Object(ue)&&Object.keys(ue).length!==0)(xe)?xe:{block:"start",inline:"nearest"};function fe(xe,ue){if(!xe.isConnected||!(Te=>{let we=Te;for(;we&&we.parentNode;){if(we.parentNode===document)return!0;we=we.parentNode instanceof ShadowRoot?we.parentNode.host:we.parentNode}return!1})(xe))return;const Fe=(Te=>{const we=window.getComputedStyle(Te);return{top:parseFloat(we.scrollMarginTop)||0,right:parseFloat(we.scrollMarginRight)||0,bottom:parseFloat(we.scrollMarginBottom)||0,left:parseFloat(we.scrollMarginLeft)||0}})(xe);if((Te=>typeof Te=="object"&&typeof Te.behavior=="function")(ue))return ue.behavior(ve(xe,ue));const Ce=typeof ue=="boolean"||ue==null?void 0:ue.behavior;for(const{el:Te,top:we,left:Me}of ve(xe,ye(ue))){const ge=we-Fe.top+Fe.bottom,Ae=Me-Fe.left+Fe.right;Te.scroll({top:ge,left:Ae,behavior:Ce})}}}}]);
|