!(function(){var T1=Object.defineProperty,k1=Object.defineProperties;var M1=Object.getOwnPropertyDescriptors;var jm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable;var S0=(Vn,Tt,ae)=>Tt in Vn?T1(Vn,Tt,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Vn[Tt]=ae,wf=(Vn,Tt)=>{for(var ae in Tt||(Tt={}))Lv.call(Tt,ae)&&S0(Vn,ae,Tt[ae]);if(jm)for(var ae of jm(Tt))Dv.call(Tt,ae)&&S0(Vn,ae,Tt[ae]);return Vn},F0=(Vn,Tt)=>k1(Vn,M1(Tt));var Nv=(Vn,Tt)=>{var ae={};for(var x in Vn)Lv.call(Vn,x)&&Tt.indexOf(x)<0&&(ae[x]=Vn[x]);if(Vn!=null&&jm)for(var x of jm(Vn))Tt.indexOf(x)<0&&Dv.call(Vn,x)&&(ae[x]=Vn[x]);return ae};var Ll=(Vn,Tt,ae)=>S0(Vn,typeof Tt!="symbol"?Tt+"":Tt,ae);(self.webpackChunk=self.webpackChunk||[]).push([[342],{27812:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},89489:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},59477:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},40001:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},26227:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},49198:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},87169:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},73331:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},15277:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},52671:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},8657:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},56082:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},33853:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},15075:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},43531:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},61485:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},47472:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},95869:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},87395:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(54476),ct=ae(59301),Le={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"},Je=Le,He=ae(7657),Se=function(oe,Oe){return ct.createElement(He.Z,(0,x.Z)({},oe,{ref:Oe,icon:Je}))},Ue=ct.forwardRef(Se),fe=Ue},45559:function(){"use strict"},42313:function(){"use strict"},96408:function(Vn,Tt){"use strict";Tt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},93510: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 Vn={},Tt="5.0",ae={},x=null,ct=!1,Le=!1,Je=null,He=!1,Se=null,Ue=null,fe=0;fe4?parseFloat(rt):5};Vn.setHTML5Codebase=function(rt,Nt){Ue=rt,At(rt,Nt)},Vn.setJavaCodebase=Vn.setJavaCodebaseVersion=Vn.isCompiledInstalled=Vn.setPreCompiledScriptPath=Vn.setPreCompiledResourcePath=function(){},Vn.setHTML5CodebaseVersion=function(rt,Nt){var Qt=parseFloat(rt);if(Qt!==NaN&&Qt<5){console.log("The GeoGebra HTML5 codebase version "+Qt+" is deprecated. Using version latest instead.");return}Se=rt,Te(rt,Nt)},Vn.getHTML5CodebaseVersion=function(){return Ie},Vn.getParameters=function(){return ae},Vn.setFontsCSSURL=function(rt){ze=rt},Vn.setGiacJSURL=function(rt){},Vn.setJNLPFile=function(rt){oe=rt},Vn.setJNLPBaseDir=function(rt){},Vn.inject=function(){function rt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Nt="auto",Qt=ae.id,pn,Ot=!1,vn=0;vn=5)return!0;var rt=Vn.getAppletObject();return rt&&typeof rt.recalculateEnvironments=="function"?(rt.recalculateEnvironments(),!0):!1},Vn.startAnimation=function(){var rt=Vn.getAppletObject();return rt&&typeof rt.startAnimation=="function"?(rt.startAnimation(),!0):!1},Vn.stopAnimation=function(){var rt=Vn.getAppletObject();return rt&&typeof rt.stopAnimation=="function"?(rt.stopAnimation(),!0):!1},Vn.getAppletObject=function(){var rt=ae.id!==void 0?ae.id:"ggbApplet";return window[rt]},Vn.resize=function(){};var bt=function(rt,Nt,Qt){var pn=document.createElement("param");pn.setAttribute("name",Nt),pn.setAttribute("value",Qt),rt.appendChild(pn)},je=function(rt){return rt&&rt!=="false"},ht=function(rt,Nt,Qt){Re(Ie)<=4.2&&(Qt=!0);var pn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ie||ggbHTML5LoadedCodebaseIsWebSimple&&!we)&&(pn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ot=document.createElement("div");Ot.classList.add("appletParameters","notranslate");var vn=Nt.width,_t=Nt.height;if(Nt.disableAutoScale=Nt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Nt.disableAutoScale,Nt.width!==void 0)if(Re(Ie)<=4.4)je(Nt.showToolBar)&&(Nt.height-=7),je(Nt.showAlgebraInput)&&(Nt.height-=37),Nt.width<605&&je(Nt.showToolBar)&&(Nt.width=605,vn=605);else{var Fn=100;(je(Nt.showToolBar)||je(Nt.showMenuBar))&&(Nt.hasOwnProperty("customToolBar")&&(Nt.customToolbar=Nt.customToolBar),Fn=je(Nt.showMenuBar)?245:155),vn=5?(Nt.appletOnLoad=function(Lt){var Rt=rt.querySelector(".ggb_preview");Rt&&Rt.parentNode.removeChild(Rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ge),window.GGBT_wsf_view&&$(window).trigger("resize"),de(Lt)},ie||ge.appendChild(ee)):Ot.appendChild(ee),ge.appendChild(Ot),ie||rt.appendChild(ge),setTimeout(function(){Vn.resize()},1)}else{var le=document.createElement("div");le.className="applet_scaler",le.style.position="relative",le.style.display="block",le.appendChild(Ot),rt.appendChild(le),Nt.appletOnLoad=function(Lt){Vn.resize(),de(Lt)}}function se(Lt,Rt){Rt&&typeof Rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Lt,Rt.appletOnLoad):renderGGBElement(Lt),Zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Rt)}function Be(Lt,Rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Lt,params:Rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ct){se(Ct.article,Ct.params)}),html5AppletsToProcess=null)},Re(Ie)<5&&(Lt.className+=" geogebraweb")):se(Lt,Rt)}if(pn){scriptLoadStarted=!0;for(var $e=0;$e0?(on.remove(),ge.attr("id","fullscreencontent").show(),jQuery(de).append(ge),window.dispatchEvent(new Event("resize"))):ht(on,Nt,!1),window.GGBT_wsf_view.launchFullScreen(de)}else Me=pn,ht(rt,Nt,!1);if(!window.GGBT_wsf_view)for(_t=0;_trt/4*3&&(on=rt/4*3),de=on/5.8,Fn.setAttribute("src",Ee),Fn.setAttribute("width",on),Fn.setAttribute("height",de);var ge=(rt-on)/2,ie=(Nt-de)/2;Fn.style.left=ge+"px",Fn.style.top=ie+"px",Ot.appendChild(Fn)}}return Ot.appendChild(_t),Ot},Ft=function(rt){return rt=rt.toLowerCase(),rt==="html5"||rt==="screenshot"?rt:"html5"},Ze=["web","webSimple","web3d","tablet","tablet3d","phone"],Te=function(rt,Nt){if(Ie=rt,Nt){At(Ie,!0);return}var Qt=!ct;if(Qt){var pn=Re(Ie);!isNaN(pn)&&pn<4.4&&(Qt=!1)}var Ot,vn;window.location.protocol.substr(0,4)==="http"?Ot=window.location.protocol:Ot="http:";var _t=Ie.indexOf("//");_t>0?vn=Ie:_t===0?vn=Ot+Ie:vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Fn in Ze)if(Ie.slice(Ze[Fn].length*-1)===Ze[Fn]||Ie.slice((Ze[Fn].length+1)*-1)===Ze[Fn]+"/"){At(vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Qt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!je(ae.showToolBar)&&!je(ae.showMenuBar)&&!je(ae.showAlgebraInput)&&!je(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?vn+="webSimple/":vn+="web3d/",At(vn,!1)},At=function(rt,Nt){if(rt.requirejs){Oe=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),Oe=rt,Nt===null&&(Nt=rt.indexOf("http")===-1),ve=Nt,_e="web.nocache.js",we=!1;var Qt=Oe.split("/");Qt.length>1&&(!Nt&&Qt[Qt.length-2]==="webSimple"?(_e="webSimple.nocache.js",we=!0):Ze.indexOf(Qt[Qt.length-2])>=0&&(_e=Qt[Qt.length-2]+".nocache.js")),Qt=rt.split("/"),Ie=Qt[Qt.length-3],Ie.substr(0,4)==="test"?Ie=Ie.substr(4,1)+"."+Ie.substr(5,1):(Ie.substr(0,3)==="war"||Ie.substr(0,4)==="beta")&&(Ie="5.0");var pn=parseFloat(Ie);pn!==NaN&&pn<5&&rt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+pn+" is deprecated. Using version latest instead."),Te("5.0",Nt))},Zt=function(rt,Nt){window.console&&window.console.log&&(!Nt||typeof Nt.showLogging=="undefined"||Nt.showLogging&&Nt.showLogging!=="false")&&console.log(rt)};ae.material_id!==void 0?lt(Kt):Kt();function Kt(){var rt=Tt;Se!==null?rt=Se:parseFloat(rt)<5&&(rt="5.0"),Te(rt,!1),Ue!==null&&At(Ue,ve),He=!0}return Vn},GGBAppletUtils=function(){"use strict";function Vn(){return window.GGBT_wsf_edit!==void 0}function Tt(He,Se){Se!=1?(He.style.transformOrigin="0% 0% 0px",He.style.webkitTransformOrigin="0% 0% 0px",He.style.transform="scale("+Se+","+Se+")",He.style.webkitTransform="scale("+Se+","+Se+")",He.style.maxWidth="initial",He.querySelector(".ggb_preview")!==null&&(He.querySelector(".ggb_preview").style.maxWidth="initial"),He.querySelectorAll(".ggb_preview img")[0]!==void 0&&(He.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),He.querySelectorAll(".ggb_preview img")[1]!==void 0&&(He.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(He.style.transform="none",He.style.webkitTransform="none")}function ae(He,Se,Ue,fe,Ce,oe){var Oe=null;if(oe!=null&&oe!="")for(var ve=He.parentNode;ve!=null;)if((" "+ve.className+" ").indexOf(" "+oe+" ")>-1){Oe=ve;break}else ve=ve.parentNode;var Me=0,Ie=0,_e=0,we=0,xe=0,Ee=0,ke=0;if(Oe)Me=Oe.offsetWidth,Ie=Math.max(fe?Oe.offsetWidth:0,Oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Me=Math.min(window.innerWidth,document.documentElement.clientWidth),Ie=Math.min(window.innerHeight,document.documentElement.clientHeight),_e=Me):(Me=window.innerWidth,Ie=window.innerHeight,_e=window.innerWidth),He){var ze=He.getBoundingClientRect();ze.left>0&&ze.left<=Me&&(Ce===void 0||!Ce)&&(document.dir==="rtl"?(xe=Me-ze.width-ze.left,Ee=_e<=480?10:30):(Ee=ze.left,xe=_e<=480?10:30),we=Ee+xe)}if(He&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Qe=He.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(we=40,ke=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(we=0,ke=40)}}return He&&((Ue===void 0||!Ue)&&Se>0&&Se+we1&&(oe=!0)),Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(He.hasOwnProperty("disableAutoScale")&&He.disableAutoScale))Ce=x(He,Se,oe,Ue,He.scaleContainerClass);else return fe;return oe&&(!He.hasOwnProperty("scale")||fe===1)?Ce:Math.min(fe,Ce)}function Le(He){var Se=Math.min(window.innerWidth,document.documentElement.clientWidth),Ue=Math.min(window.innerHeight,document.documentElement.clientHeight),fe=He.getBoundingClientRect(),Ce=(Se-fe.width)/2,oe=(Ue-fe.height)/2;oe<0&&(oe=0),He.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ce<40?He.style.left="40px":He.style.left=Ce+"px",He.style.top=oe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(oe<40?He.style.top="40px":He.style.top=oe+"px",He.style.left=Ce+"px")}function Je(He,Se){var Ue=He.querySelector(".appletParameters");if(Ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Se.id!==Ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(He)}if(Ue.parentElement&&/fullscreen/.test(Ue.parentElement.className))return;var fe=ct(Se,He);Vn()&&Ue.setAttribute("data-param-scale",fe);for(var Ce=null,oe=0;oe=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(Vn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Vn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Vn){var Tt=c[Vn];return Tt==null?null:Tt},r=d,webModule.__errFn=e}function B(){function Vn(He){var Se=He.lastIndexOf(rb);Se==-1&&(Se=He.length);var Ue=He.indexOf(sb);Ue==-1&&(Ue=He.length);var fe=He.lastIndexOf(tb,Math.min(Ue,Se));return fe>=O?He.substring(O,fe+P):W}function Tt(He){if(!He.match(/^\w+:\/\//)){var Se=o.createElement(ub);Se.src=He+vb,He=Vn(Se.src)}return He}function ae(){var He=__gwt_getMetaProperty(wb);return He!=null?He:W}function x(){for(var He=o.getElementsByTagName(_),Se=O;SeO?He[He.length-P].href:W}function Le(){var He=o.location;return He.href==He.protocol+zb+He.host+He.pathname+He.search+He.hash}var Je=ae();return Je==W&&(Je=x()),Je==W&&(Je=ct()),Je==W&&Le()&&(Je=Vn(o.location.href)),Je=Tt(Je),Je}function C(Vn){return Vn.match(/^\//)||Vn.match(/^[a-zA-Z]+:\/\//)?Vn:webModule.__moduleBase+Vn}function D(){var Vn=[],Tt=O,ae=[],x=[];function ct(He){var Se=x[He](),Ue=ae[He];if(Se in Ue)return Se;var fe=[];for(var Ce in Ue)fe[Ue[Ce]]=Ce;throw r&&r(He,fe,Se),null}if(__gwt_isKnownPropertyValue=function(He,Se){return Se in ae[He]},webModule.__getPropMap=function(){var He={};for(var Se in ae)ae.hasOwnProperty(Se)&&(He[Se]=ct(Se));return He},webModule.__computePropValue=ct,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Le;try{Le=Cb;var Je=Le.indexOf(Db);Je!=-1&&(Tt=parseInt(Le.substring(Je+P),$),Le=Le.substring(O,Je))}catch(He){}return webModule.__softPermutationId=Tt,C(Le+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})()},28735:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Ax:function(){return Je},Ds:function(){return He},KI:function(){return Ue},SI:function(){return Le},f1:function(){return ct}});var x=ae(74128);function ct(fe){let Ce=!0;if(fe.length>0){for(let oe=0;oeet in Re?Oe(Re,et,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Re[et]=Ge,we=(Re,et)=>{for(var Ge in et||(et={}))Me.call(et,Ge)&&_e(Re,Ge,et[Ge]);if(ve)for(var Ge of ve(et))Ie.call(et,Ge)&&_e(Re,Ge,et[Ge]);return Re};const xe=(Re={})=>{var et,Ge,lt,it;let ft=(et=Re==null?void 0:Re.emotion)==null?void 0:et.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne)),bt=(Ge=Re==null?void 0:Re.focus)==null?void 0:Ge.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne)),je=(lt=Re==null?void 0:Re.action)==null?void 0:lt.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne)),ht=(it=Re==null?void 0:Re.intention)==null?void 0:it.map(Ne=>we({value:Ne==null?void 0:Ne.rate},Ne));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ft||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:bt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:je||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:ht||[]}]},Ee=({className:Re,dataSource:et=[],col:Ge=4,right:lt,bottom:it=23,precision:ft=0,wrapWidth:bt=1200})=>{const je=(Ne="",We,Ut="--")=>Ne?(Ne==null?void 0:Ne.length)>We?(Ne==null?void 0:Ne.slice(0,We-1))+"...":Ne:Ut,ht=Math.floor((bt-(Ge-1)*lt)/Ge);return x.createElement("div",{className:Je()(ct.list,Re)},!!(et!=null&&et.length)&&(et==null?void 0:et.map((Ne,We)=>{const{cover_pic:Ut,created_at:ot,emotion:yt,action:Ft,intention:Ze,focus:Te}=Ne;return x.createElement("div",{key:We,className:ct.wrap,style:{width:ht,marginRight:(1+We)%Ge===0?0:lt+ft,marginBottom:it}},x.createElement("div",{className:ct.img},x.createElement("img",{src:`${oe.Z.API_SERVER}${Ut}`}),x.createElement("div",{className:ct.tips},x.createElement("div",null,x.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),x.createElement("span",null,ot))),x.createElement("div",{className:ct.footer},x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-biaoqing"}),x.createElement("span",null,"\u8868\u60C5\uFF1A",x.createElement(Se.Z,{title:yt},x.createElement("span",{className:"c-grey-333"},je(yt,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-hangwei"}),x.createElement("span",null,"\u884C\u4E3A\uFF1A",x.createElement(Se.Z,{title:Ft},x.createElement("span",{className:"c-grey-333"},je(Ft,4)))))),x.createElement("ul",null,x.createElement("li",null,x.createElement("i",{className:"iconfont icon-yitu"}),x.createElement("span",null,"\u610F\u56FE\uFF1A",x.createElement(Se.Z,{title:Ze},x.createElement("span",{className:"c-grey-333"},je(Ze,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-zhuangtai"}),x.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",x.createElement(Se.Z,{title:Te},x.createElement("span",{className:"c-grey-333"},je(Te,3))))))))})))},ke=({className:Re,style:et,title:Ge,hideBar:lt=!1,children:it,customText:ft="",noDataText:bt="",emptyData:je=[],loading:ht,actionAnalysis:Ne})=>{var We,Ut;const ot=((We=je==null?void 0:je[0])==null?void 0:We.every(Ft=>{var Ze;return!((Ze=Ft==null?void 0:Ft.data)!=null&&Ze.length)}))&&!((Ut=je==null?void 0:je[1])!=null&&Ut.length)||!Ne,yt=Ne?bt:ft;return x.createElement(Ue.Z,{loading:ht,active:!0},ot&&x.createElement("div",{className:Je()(ct.noData,Re),style:et},!!Ge&&x.createElement("div",{className:ct.title},!lt&&x.createElement("b",null),x.createElement("span",null,Ge)),x.createElement("div",{className:ct.itemWrap},x.createElement(Ce.Z,{customText:yt}))),!ot&&it)};var Qe=({className:Re,style:et,data:Ge=[],title:lt,hideBar:it=!1,loading:ft=!1})=>x.createElement("div",{className:Je()(ct.analysis,Re),style:et},!!lt&&x.createElement("div",{className:ct.title},!it&&x.createElement("b",null),x.createElement("span",null,lt)),x.createElement(fe.Z,{spinning:ft},x.createElement("div",{className:ct.itemWrap},Ge==null?void 0:Ge.map((bt,je)=>x.createElement("div",{className:ct.item,key:je},x.createElement(He.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:bt==null?void 0:bt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(ht){for(let Ne in bt==null?void 0:bt.data)if(ht==(bt==null?void 0:bt.data[Ne].name))return ht+" "+(bt==null?void 0:bt.data[Ne].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:bt==null?void 0:bt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:bt==null?void 0:bt.data}]},style:{height:145}}))))))},48530:function(Vn,Tt,ae){"use strict";var x=ae(86204),ct=ae.n(x),Le=Object.defineProperty,Je=(fe,Ce,oe)=>Ce in fe?Le(fe,Ce,{enumerable:!0,configurable:!0,writable:!0,value:oe}):fe[Ce]=oe,He=(fe,Ce,oe)=>Je(fe,typeof Ce!="symbol"?Ce+"":Ce,oe),Se=(fe,Ce,oe)=>new Promise((Oe,ve)=>{var Me=we=>{try{_e(oe.next(we))}catch(xe){ve(xe)}},Ie=we=>{try{_e(oe.throw(we))}catch(xe){ve(xe)}},_e=we=>we.done?Oe(we.value):Promise.resolve(we.value).then(Me,Ie);_e((oe=oe.apply(fe,Ce)).next())});class Ue extends x.EventEmitter{constructor(Ce,oe){super(),He(this,"url"),He(this,"body"),He(this,"fullContent",""),He(this,"controller",null),He(this,"buffer",""),this.url=Ce,this.body=oe}startStream(){return Se(this,null,function*(){this.controller=new AbortController;const{signal:Ce}=this.controller;try{const oe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ce});if(!oe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${oe.status}`);const Oe=oe.headers.get("content-type");if(!Oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Oe.includes("application/json")){const Ie=yield oe.json();this.emit("error",Ie);return}if(!Oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ve=oe.body.getReader(),Me=new TextDecoder("utf-8");for(;;){const{done:Ie,value:_e}=yield ve.read();if(Ie)break;const we=Me.decode(_e,{stream:!0});this.buffer+=we;const xe=this.buffer.split(` `);this.buffer=xe.pop()||"";for(const Ee of xe)if(Ee.startsWith("data:")){const ke=Ee.slice(5).trim();if(ke==="[DONE]")break;try{const ze=JSON.parse(ke);ze.data&&this.handleData(ze.data)}catch(ze){this.buffer=Ee+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ze)}}}this.emit("done",this.fullContent)}catch(oe){oe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",oe.message)}})}handleData(Ce){Ce.content&&(this.fullContent+=Ce.content,this.emit("data",{chunk:Ce,full:this.fullContent}))}cancelRequest(){var Ce;(Ce=this.controller)==null||Ce.abort()}}Tt.Z=Ue},27183:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return _e}});var x=ae(59301),ct={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"},Le=ae(92310),Je=ae.n(Le),He=ae(52918),Se=ae(16750),Ue=ae(65862),fe=ae(74128),Ce=ae(38147),oe=ae(41867),Oe=ae(65582),ve=ae(6767),Me=(we,xe,Ee)=>new Promise((ke,ze)=>{var Qe=Ge=>{try{et(Ee.next(Ge))}catch(lt){ze(lt)}},Re=Ge=>{try{et(Ee.throw(Ge))}catch(lt){ze(lt)}},et=Ge=>Ge.done?ke(Ge.value):Promise.resolve(Ge.value).then(Qe,Re);et((Ee=Ee.apply(we,xe)).next())});const Ie=({className:we,style:xe,dataSource:Ee=[],authority:ke=!1,callback:ze,showDimensions:Qe=!0,classroomList:Re})=>{var et;const[Ge,lt]=(0,x.useState)({content:"",type:""}),[it,ft]=(0,x.useState)({}),[bt,je]=(0,x.useState)(!1),[ht,Ne]=(0,x.useState)({title:"",visible:!1,src:"",snapshotData:{}}),We=(0,x.useRef)(),Ut=Ze=>Me(void 0,null,function*(){if(ft(Ze),Ze.file_type==="txt"){const Te=yield(0,Ce.ZP)(Ze.url,{method:"get",headers:{"Content-Type":"application/xml"}});We.current=Te}lt({type:Ze.file_type,content:fe.Z.API_SERVER+Ze.url})}),ot=Ze=>{var Te;Ne({visible:!0,src:fe.Z.API_SERVER+Ze.url,id:Ze.id,title:Ze.title,snapshotData:(Te=Ze==null?void 0:Ze.subitem)==null?void 0:Te.settings})},yt=Ze=>Me(void 0,null,function*(){var Te;lt({type:Ze.file_type,content:fe.Z.API_SERVER+((Te=Ze==null?void 0:Ze.subitem)==null?void 0:Te.url)})}),Ft=()=>{ze(),Ne({visible:!1})};return Ee!=null&&Ee.length?x.createElement(x.Fragment,null,x.createElement("div",{className:Je()(ct.list,we),style:xe},Ee.map((Ze,Te)=>{var At,Zt,Kt;return x.createElement("div",{key:Te,className:ct.row},x.createElement("div",{className:ct.title,onClick:()=>Ut(Ze)},x.createElement("i",{className:"iconfont icon-fujian1"}),x.createElement("span",{title:Ze.title},Ze.title)),x.createElement("div",{className:ct.size},Ze.filesize),x.createElement("div",{className:ct.download,onClick:()=>{var rt,Nt;if((0,oe.Rm)()&&!((rt=Re.AssistantObject.normal)!=null&&rt.can_download)){ve.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,Ue.Nd)("",`${fe.Z.API_SERVER}${(Nt=Ze.url)==null?void 0:Nt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(Ze==null?void 0:Ze.file_type)&&x.createElement("div",{className:ct.preview,onClick:()=>Ut(Ze)},x.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(Ze==null?void 0:Ze.file_type)&&Qe&&(ke?x.createElement("div",{className:ct.annotation,onClick:()=>ot(Ze)},x.createElement("i",{className:"iconfont icon-pizhu"}),(At=Ze.subitem)!=null&&At.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Zt=Ze.subitem)==null?void 0:Zt.id)&&x.createElement("div",{className:ct.annotation,onClick:()=>yt(Ze)},x.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(Ze==null?void 0:Ze.file_type)&&((Kt=Ze.subitem)==null?void 0:Kt.id)&&x.createElement("div",{className:ct.download,style:{marginLeft:20},onClick:()=>{var rt,Nt;(0,Ue.Nd)("",`${fe.Z.API_SERVER}${(Nt=(rt=Ze==null?void 0:Ze.subitem)==null?void 0:rt.url)==null?void 0:Nt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(Ze==null?void 0:Ze.file_type)&&(0,oe.eB)()&&["xlsx","docx","pptx"].includes(Ze==null?void 0:Ze.file_sub)&&Qe&&x.createElement("div",{className:ct.annotation,onClick:()=>{je(!0),Ut(Ze)}},x.createElement("i",{className:"iconfont icon-pizhu"}),Ze.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),Ze.is_edit&&(0,oe.dE)()&&Qe&&x.createElement("div",{className:ct.annotation,onClick:()=>{Ut(Ze)}},x.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),x.createElement(He.Z,{close:!0,data:Ge==null?void 0:Ge.content,type:Ge==null?void 0:Ge.type,hasMask:!0,disabledDownload:(0,oe.Rm)()&&!((et=Re.AssistantObject.normal)!=null&&et.can_download),editOffice:bt?"edit":"view",monacoEditor:{value:We.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:ke&&Qe&&Ge.type==="image"?()=>ot(it):null,onClose:()=>{ze(),je(!1),lt({content:"",type:""})}}),x.createElement(Se.Z,{onOk:Ft,onClose:()=>Ne({visible:!1}),data:ht,showFullTools:!0})):null};var _e=(0,Oe.connect)(({classroomList:we})=>({classroomList:we}))(Ie)},16750:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Oe}});var x=ae(59301),ct={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Le=ae(92310),Je=ae.n(Le),He=ae(29787),Se=ae(2859),Ue=ae(38147),fe=ae(65862),Ce=(ve,Me,Ie)=>new Promise((_e,we)=>{var xe=ze=>{try{ke(Ie.next(ze))}catch(Qe){we(Qe)}},Ee=ze=>{try{ke(Ie.throw(ze))}catch(Qe){we(Qe)}},ke=ze=>ze.done?_e(ze.value):Promise.resolve(ze.value).then(xe,Ee);ke((Ie=Ie.apply(ve,Me)).next())}),Oe=({data:ve,className:Me,fullWidth:Ie,style:_e={},onClose:we,onOk:xe,showFullTools:Ee,noAssociationId:ke})=>{const ze=(0,x.useRef)(null),Qe=(0,x.useRef)(null),Re=(0,x.useRef)(null),et=(0,x.useRef)(null),[Ge,lt]=(0,x.useState)(!1),[it,ft]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>(Re.current||(Re.current=document.createElement("style"),document.head.appendChild(Re.current)),ve!=null&&ve.visible?(document.body.setAttribute("data-custom","y-hidden"),Re.current.innerHTML=" html { overflow-y: hidden; }",ve!=null&&ve.src&&bt()):(document.body.removeAttribute("data-custom"),Re.current&&(document.head.removeChild(Re.current),Re.current=null)),()=>{document.body.removeAttribute("data-custom"),Re.current&&(document.head.removeChild(Re.current),Re.current=null)}),[ve==null?void 0:ve.visible]);const bt=()=>Ce(void 0,null,function*(){lt(!0),ft("\u6B63\u5728\u52A0\u8F7D\u4E2D");const We=yield(0,fe.ZJ)(ve==null?void 0:ve.src);ze.current.src="",ze.current.src=We,ze.current.onload=function(){Ne()},lt(!1),ft("")}),je=We=>Ce(void 0,null,function*(){lt(!0),ft("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ut=yield(0,Ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ve.title,file:We.dataUrl}});Ut!=null&&Ut.id&&!ke?(yield(0,Ue.ZP)(`/api/attachments/${ve.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ut==null?void 0:Ut.id,settings:JSON.stringify(We.state)}})).status===0&&xe():Ut!=null&&Ut.id&&xe(Ut),lt(!1),ft("")}),ht=()=>{const We=document.querySelector('a[href="https://markerjs.com/"]');We&&We.parentNode&&(We.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(ot=>{const yt=document.querySelector(ot.name);yt&&yt.setAttribute("title",ot.title)})},Ne=()=>{Qe.current=new Se.hP(ze.current),Qe.current.targetRoot=et.current,Qe.current.addEventListener("render",je),Qe.current.addEventListener("beforeclose",we),Ee&&(Qe.current.availableMarkerTypes=Qe.current.ALL_MARKER_TYPES,Qe.current.uiStyleSettings.redoButtonVisible=!0,Qe.current.uiStyleSettings.notesButtonVisible=!0,Qe.current.uiStyleSettings.zoomButtonVisible=!0,Qe.current.uiStyleSettings.zoomOutButtonVisible=!0,Qe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Qe.current.uiStyleSettings,Qe.current.show(),ve!=null&&ve.snapshotData&&Qe.current.restoreState(ve.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ht()},300)};return x.createElement(x.Fragment,null,(ve==null?void 0:ve.visible)&&x.createElement(He.Z,{spinning:Ge,tip:it,style:{position:"absolute",width:"100vw"}},x.createElement("div",{ref:et,className:Je()(ct.imageDimensions,Me,Ie?ct.fullWidth:""),style:_e},x.createElement("img",{className:ct.img,ref:ze}))))}},99298:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(77019),Le=ae(5269),Je=ae(31691),He=ae(7939),Se=ae(95097),Ue=ae(96408),fe=ae(48136),Ce=ae(59301);const oe=(0,x.forwardRef)(({callback:Oe,showSaveButton:ve,value:Me=""},Ie)=>{const _e=(0,x.useRef)(),we=[{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 "}]}]}],xe=[{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}`}]}]}],Ee=Qe=>{_e.current.setValue(_e.current.getValue()+" "+Qe.value+" ")},ke=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ce.createElement(ct.Z,{className:Ue.Z.lists,gutter:[10,10]},we.map((Qe,Re)=>Ce.createElement(Le.Z,{flex:"110px",className:Ue.Z.item},Ce.createElement("div",null,Ce.createElement(Se.Z,{value:`$$${Qe.value}$$`}),Qe.name),Ce.createElement("div",{className:Ue.Z.children},Qe.children.map((et,Ge)=>Ce.createElement("div",{key:Ge},Ce.createElement("h1",null,et.name),Ce.createElement(ct.Z,{gutter:[10,10]},et.data.map((lt,it)=>Ce.createElement(Le.Z,{key:it,onClick:()=>Ee(lt),className:Ue.Z.diamond},Ce.createElement(Se.Z,{value:"`$$"+lt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ce.createElement(ct.Z,{className:Ue.Z.lists,gutter:[10,10]},xe.map((Qe,Re)=>Ce.createElement(Le.Z,{flex:"110px",className:Ue.Z.item},Ce.createElement("div",null,Ce.createElement(Se.Z,{value:"`$$"+Qe.value+"$$`"}),Qe.name),Ce.createElement("div",{className:Ue.Z.children},Qe.children.map((et,Ge)=>Ce.createElement("div",{key:Ge},et.name&&Ce.createElement("h1",null,et.name),Ce.createElement(ct.Z,{gutter:[10,10]},et.data.map((lt,it)=>Ce.createElement(Le.Z,{key:it,onClick:()=>Ee(lt),className:Ue.Z.diamond},Ce.createElement(Se.Z,{value:"`$$"+lt.value+"$$`"}))))))))))}],ze=()=>{var Qe=document.createElement("div");Qe.innerHTML=_e.current.getValue();var Re=Qe.innerText;return Oe&&Oe(Re),Re};return(0,x.useImperativeHandle)(Ie,()=>({getData:ze})),Ce.createElement("div",{className:Ue.Z.mathWrap},Ce.createElement(Je.default,{defaultActiveKey:"1",items:ke}),Ce.createElement("math-field",{locale:"zh_cn",className:Ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:_e,style:{width:800,marginTop:30,fontSize:18}},Me||""),ve&&Ce.createElement("div",{className:Ue.Z.button},Ce.createElement(He.ZP,{size:"large",onClick:ze,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Tt.Z=oe},2524:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(93314),Le=ae(7939),Je=Object.defineProperty,He=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,oe=(Ie,_e,we)=>_e in Ie?Je(Ie,_e,{enumerable:!0,configurable:!0,writable:!0,value:we}):Ie[_e]=we,Oe=(Ie,_e)=>{for(var we in _e||(_e={}))fe.call(_e,we)&&oe(Ie,we,_e[we]);if(Ue)for(var we of Ue(_e))Ce.call(_e,we)&&oe(Ie,we,_e[we]);return Ie},ve=(Ie,_e)=>He(Ie,Se(_e));const Me=({img:Ie,buttonProps:_e={},styles:we={},customText:xe,ButtonText:Ee,ButtonClick:ke,Buttonclass:ze,ButtonTwo:Qe,imgStyles:Re,loading:et=!1,className:Ge=""})=>x.createElement("section",{className:`tc animated fadeIn ${Ge}`,style:Oe({color:"#999",margin:"100px auto",visibility:et?"hidden":"visible"},we)},x.createElement("img",{src:Ie||ct,style:ve(Oe({},Re),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},xe||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ee&&x.createElement(Le.ZP,Oe({className:ze,onClick:ke},_e),Ee),Qe&&Qe);Tt.Z=Me},52918:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ze}});var x=ae(59301),ct={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Le=ae(7939),Je=ae(70557),He=ae(50258),Se=ae(25399),Ue=ae(65862),fe=ae(87513),Ce=ae(2524),oe=ae(74128),Oe=ae(7310),ve=ae(59301),Me=Object.defineProperty,Ie=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(Qe,Re,et)=>Re in Qe?Me(Qe,Re,{enumerable:!0,configurable:!0,writable:!0,value:et}):Qe[Re]=et,Ee=(Qe,Re)=>{for(var et in Re||(Re={}))_e.call(Re,et)&&xe(Qe,et,Re[et]);if(Ie)for(var et of Ie(Re))we.call(Re,et)&&xe(Qe,et,Re[et]);return Qe},ke=(Qe,Re,et)=>new Promise((Ge,lt)=>{var it=je=>{try{bt(et.next(je))}catch(ht){lt(ht)}},ft=je=>{try{bt(et.throw(je))}catch(ht){lt(ht)}},bt=je=>je.done?Ge(je.value):Promise.resolve(je.value).then(it,ft);bt((et=et.apply(Qe,Re)).next())}),ze=({editOffice:Qe="view",data:Re,issaver:et,onSaver:Ge,theme:lt,type:it,filename:ft,monacoEditor:bt,className:je,style:ht,close:Ne,onClose:We,hasMask:Ut,disabledDownload:ot,onImgDimensions:yt,showNodata:Ft,recordInfo:Ze})=>{const[Te,At]=(0,x.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Zt,Kt]=(0,x.useState)(""),[rt,Nt]=(0,x.useState)(),Qt=window.ENV==="build"?"/react/build":"",pn=location.host.startsWith("localhost")?oe.Z.PROXY_SERVER:oe.Z.API_SERVER,vn=10*(1024*1024),_t=(0,x.useRef)();Re!=null&&Re.startsWith("/api")&&it!=="txt"&&(Re=oe.Z.API_SERVER+Re);const Fn=ee=>ee.substring(ee.lastIndexOf("/")+1).split(".").pop();ft&&bt&&(bt.filename=ft),(0,x.useEffect)(()=>{var ee,le;const se=(le=(ee=document.cookie)==null?void 0:ee.replace(/\s/g,""))==null?void 0:le.split(";");se==null||se.map(Be=>{let $e=Be.split("=");$e[0]==="_educoder_session"&&Kt($e[1])})},[]),(0,x.useEffect)(()=>{it==="office"&&(Re.indexOf("bigfilescdn.")>-1||Re.indexOf("bigfiles1")>-1?Nt({url:Re,fileType:Fn(Re),model:Re.indexOf("model=edit")?"edit":"view"}):de())},[it,Re]);function on(ee){return ke(this,null,function*(){ee.data.type==="pdfdata"&&(Ge(ee.data.data),window.removeEventListener("message",on,!1)),console.log("mess---:",ee.data)})}const de=()=>ke(void 0,null,function*(){console.log("data:",Re);let ee=Re;Re.startsWith("http")||(ee=location.origin+ee);let le=new URL(ee).pathname.split("/").pop();const se=yield(0,fe.gJ)({attachment_id:le});se.url=pn+se.url,Nt(se)}),ge=()=>{if(Re.startsWith("http")||Re.startsWith("blob:")){ie();return}(0,Ue.Sv)(ft||"educoder",Re,ft)},ie=()=>{Ze&&(0,Oe.fc)({id:Ze==null?void 0:Ze.id,watch_type:1,course_id:Ze==null?void 0:Ze.course_id}),(0,Ue.Nd)(ft||"educoder",decodeURIComponent(Re))};return ve.createElement("div",{style:Ee({},ht||{}),className:`${Ut&&ct.bgBlack} ${it?ct.wrp:"hide"}`},Ne&&ve.createElement("div",{className:ct.close,ref:_t},!!yt&&ve.createElement(Se.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>_t.current},ve.createElement("span",{onClick:()=>{We(),yt()}},ve.createElement("i",{className:"icon-yulanpizhu"}))),!ot&&ve.createElement(Se.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>_t.current},ve.createElement("span",{onClick:ie},ve.createElement("i",{className:"icon-quxiaozhiding"}))),et&&ve.createElement(Se.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>_t.current},ve.createElement("span",{className:"",onClick:()=>{const ee=document.getElementById("pdfiframe");window.addEventListener("message",on,!1),setTimeout(()=>{ee.contentWindow.postMessage("getData","*")},300)}},ve.createElement("i",{className:"icon-baocun"}))),ve.createElement(Se.Z,{title:"\u5173\u95ED",getPopupContainer:()=>_t.current},ve.createElement("span",{className:"",onClick:()=>{We()}},ve.createElement("i",{className:"icon-guanbi1"})))),ve.createElement("div",{className:`${ct[je]} ${je} ${ct.monaco} ${it==="txt"?"show":"hide"}`},it==="txt"&&ve.createElement(ve.Fragment,null,ve.createElement(He.ZP,Ee({},bt)))),it==="audio"&&ve.createElement("audio",{src:`${(Re==null?void 0:Re.indexOf("http://"))>-1||(Re==null?void 0:Re.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Re}`,autoPlay:!0}),it==="video"&&ve.createElement(ve.Fragment,null,(Re==null?void 0:Re.indexOf("http"))>-1?ve.createElement("video",{controls:!0,src:`${Re}`,autoPlay:!0}):ve.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Re}`,autoPlay:!0})),it==="office"&&rt&&ve.createElement("iframe",{src:`${Qt}/office.html?key=${rt.key}&url=${btoa(rt.url)}&callbackUrl=${pn+(rt.callbackUrl||"")}&fileType=${rt.fileType}&title=${rt.title||""}&model=${Qe}&officeServer=${oe.Z.ONLYOFFICE}&disabledDownload=${!!ot}`}),it==="html"&&ve.createElement("iframe",{src:Re+"&disposition=inline"}),it==="pdf"&&ve.createElement("iframe",{id:"pdfiframe",src:`${Qt}/js/pdf/index.html?filename=${ft||"educoder.pdf"}&url=${encodeURIComponent(Re)}&disabledDownload=${!!ot}&model=${Qe}`}),it==="image"&&ve.createElement("img",{src:`${(Re==null?void 0:Re.indexOf("http://"))>-1||(Re==null?void 0:Re.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Re}`}),(it==="other"||it==="download")&&ve.createElement(ve.Fragment,null,Ft?ve.createElement(Ce.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ve.createElement(Le.ZP,{icon:ve.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ge,disabled:ot},"\u4E0B\u8F7D")}):ve.createElement(Le.ZP,{type:"primary",size:"middle",onClick:ge,disabled:ot},ve.createElement(Je.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),it==="flowChart"&&ve.createElement("div",{className:"embed"},ve.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Re||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},95097:function(Vn,Tt,ae){"use strict";ae.d(Tt,{z:function(){return bt},Z:function(){return je}});var x=ae(59301),ct=ae(48850),Le=ae(49142),Je=ae(64018),He=ae(17030),Se=ae(74128),Ue=ae(65862),fe=ae(15342),Ce=ae(44104),oe=ae(7939),Oe=ae(1012),ve=ae(52918),Me=ae(59301),_e=({html:ht})=>{const Ne=(0,x.useRef)(null),We=(0,x.useRef)(null),Ut=`.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,x.useEffect)(()=>{const ot=Ne.current.attachShadow({mode:"open"});We.current=document.createElement("div"),We.current.className="markdown-body",We.current.innerHTML=ht,ot.appendChild(We.current);const yt=document.createElement("style");return yt.textContent=Ut,ot.appendChild(yt),()=>{ot.innerHTML=""}},[]),(0,x.useEffect)(()=>{We.current&&(We.current.innerHTML=ht)},[ht]),Me.createElement("div",{ref:Ne})};function we(ht){const Ne=["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"],We=new RegExp(`\\b(${Ne.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return ht.replace(We,"").trim()}var xe={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ee=Object.defineProperty,ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Re=(ht,Ne,We)=>Ne in ht?Ee(ht,Ne,{enumerable:!0,configurable:!0,writable:!0,value:We}):ht[Ne]=We,et=(ht,Ne)=>{for(var We in Ne||(Ne={}))ze.call(Ne,We)&&Re(ht,We,Ne[We]);if(ke)for(var We of ke(Ne))Qe.call(Ne,We)&&Re(ht,We,Ne[We]);return ht};const Ge="@\u2581\u2581@",lt="@\u2581@",it=/]*>/g;function ft(ht){let Ne=document.createElement("div");return Ne.innerHTML=ht,Ne.childNodes.length===0?"":Ne.childNodes[0].nodeValue}const bt=(ht,Ne)=>{ht=ht||"";const We=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ut=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ot=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,yt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ne?ht.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(We,(Ft,Ze,Te,At,Zt,Kt,rt)=>{const Nt=Ze||At||Kt,Qt=Te||Zt||rt||"?";return Se.Z.API_SERVER+"/api/attachments/"+Nt+Qt+"&t="+(0,Ue.Jn)(Nt,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ht=ht.replace(yt,(Ft,Ze,Te,At,Zt,Kt,rt)=>{const Nt=Ze||At||Kt,Qt=Te||Zt||rt||"?";return Se.Z.API_SERVER+"/attachments/download/"+Nt+Qt+"&t="+(0,Ue.Jn)(Nt,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replace(We,(Ft,Ze,Te,At,Zt,Kt,rt)=>{const Nt=Ze||At||Kt,Qt=Te||Zt||rt||"?";return Se.Z.API_SERVER+"/api/attachments/"+Nt+Qt+"&t="+(0,Ue.Jn)(Nt,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replace(Ut,(Ft,Ze,Te,At,Zt)=>{const Kt=Ze||At,rt=Te||Zt||"";return'"'+Se.Z.API_SERVER+"/api/attachments/"+Kt+rt+Kt+rt+"&t="+(0,Ue.Jn)(Kt,Date.now())}).replace(ot,(Ft,Ze,Te,At,Zt)=>{const Kt=Ze||At,rt=Te||Zt||"";return"("+Se.Z.API_SERVER+"/files/uploads/"+Kt+rt+Kt+rt+"&t="+(0,Ue.Jn)(Kt,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,` `),ht)};var je=({value:ht="",edit:Ne=!1,className:We,showTextOnly:Ut,showLines:ot,style:yt={},stylesPrev:Ft={},highlightKeywords:Ze,showProgramFill:Te,isProgramFill:At,disabledFill:Zt=!1,programFillValue:Kt,openEditor:rt=()=>{},onFillChange:Nt=Ot=>{},onFillBlur:Qt=()=>{},onFillFocus:pn=()=>{}})=>{let Ot=we(String(ht||""));const vn=(0,x.useRef)(),_t=(0,x.useRef)(),[Fn,on]=(0,x.useState)(""),[de,ge]=(0,x.useState)("office"),[ie,ee]=(0,x.useState)([]),le=(0,x.useRef)("a"+(0,Oe.Z)()),se={},Be=en=>//i.test(en||""),$e=(en,Hn,En)=>{const Mt=document.createElement(en===lt?"input":"textarea");Mt.style.width="100%",Mt.style.height=en===lt?"40px":"151px",Mt.rows=5,Mt.spellcheck=!1,Mt.name="edu-program-fill",Mt.placeholder="\u8BF7\u8F93\u5165",Mt.dataset.id=Hn;const sn=Object.keys(se).length;return se[sn]=Mt,`${Mt.outerHTML}`};function at(en){return en=en.replace(/!\[.*?\]\(.*?\)/g,""),en=en.replace(/\[.*?\]\(.*?\)/g,""),en=en.replace(new RegExp("","gs"),""),en=en.replace(//g,""),en=en.replace(//g,""),en=en.replace(new RegExp(".*?<\\/video>","gs"),""),en=en.replace(new RegExp(".*?<\\/audio>","gs"),""),en=en.replace(new RegExp(".*?<\\/style>","gs"),""),en=en.replace(new RegExp(".*?<\\/script>","gs"),""),en}const pt=en=>!Ut&&Be(Ot)?en:en.replace(/([\s\S]+?)<\/style>/gim,function(Hn,En){let Mt=En.replace(/(\n|\r)/g,"").split("}"),sn=[];return Mt.map(Dn=>{Dn!=""&&sn.push(`.${le.current} ${Dn}`)}),``}),gt=(0,x.useMemo)(()=>{try{const Mt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,sn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Dn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Wn=/\(\/attachments\/download\//g;Ot=Ot.replace(Wn,"("+Se.Z.API_SERVER+"/attachments/download/").replace(Mt,"("+Se.Z.API_SERVER+"/api/attachments/").replace(sn,'"'+Se.Z.API_SERVER+"/api/attachments/").replace(Dn,'"'+Se.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,` `),vn.current.style.display="none"}catch(Mt){}if(Te){let Mt=-1;return Ot=Ot.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(sn,Dn,Wn){var It;return++Mt,$e(sn,Mt,(It=Kt==null?void 0:Kt[Mt])==null?void 0:It.value.replaceAll("<","<").replaceAll(">",">"))}),`
${pt(Ot||"")}
`}let en=pt(Ot);en=(0,Le.ZP)(en);const Hn=(0,Le.ez)();Ot.match(/\[TOC\]/)&&(en=en.replace("

[TOC]

",(0,Le.Qv)()),(0,Le.Iy)()),en=en.replace(/(__special_katext_id_\d+__)/g,(Mt,sn)=>{const{type:Dn,expression:Wn}=Hn[sn];return(0,fe.renderToString)(ft(Wn)||"",{displayMode:Dn==="block",throwOnError:!1,output:"html"})}),en=en.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Le.AL)();const En=document.createElement("div");if(En.innerHTML=en,Ut)return En.innerText;if(Ze){const Mt=Ze.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ct(En,Mt),En.innerHTML}return setTimeout(()=>Vt(),500),En.innerHTML},[Ot,Ze]);(0,x.useEffect)(()=>{st.current&&st.current.querySelectorAll(["input","textarea"]).forEach(Hn=>{Hn.oninput=Bt,Hn.onblur=Lt,Hn.onfocus=Rt})},[ie]),(0,x.useEffect)(()=>{var en,Hn,En,Mt,sn;if(Kt!=null&&Kt.length)try{const Dn=st.current.querySelectorAll(".edu-program-fill-score"),Wn=st.current.querySelectorAll('[name="edu-program-fill"]');for(const[It,Wt]of Wn.entries())Wt.value=((en=Kt==null?void 0:Kt[It])==null?void 0:en.value)||"",((Hn=Kt==null?void 0:Kt[It])==null?void 0:Hn.type)==="warning"?Wt.className="program-fill-warning":((En=Kt==null?void 0:Kt[It])==null?void 0:En.type)==="success"?Wt.className="program-fill-success":Wt.className="";for(const[It,Wt]of Dn.entries())Wt.innerHTML=(Mt=Kt==null?void 0:Kt[It])!=null&&Mt.score?`${(sn=Kt==null?void 0:Kt[It])==null?void 0:sn.score}\u5206`:"";ee(Kt)}catch(Dn){console.log(Dn,"error")}},[Kt]);const Bt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),Nt(ie,en.target.dataset.id)},Lt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),Qt(ie,en.target.dataset.id)},Rt=en=>{ie[en.target.dataset.id]=ie[en.target.dataset.id]||{},ie[en.target.dataset.id].value=en.target.value,ee([...ie]),pn(ie,en.target.dataset.id)};function Ct(en,Hn){return en.childNodes.forEach(En=>{var Mt;if(En.childNodes.length>0)Ct(En,Hn);else if(En.nodeName!=="IMG")if(En.innerHTML)En.innerHTML=(Mt=En.innerHTML)==null?void 0:Mt.replace(new RegExp(Hn,"gi"),'$&');else{const sn=document.createElement("span");sn.innerHTML=En.textContent.replace(new RegExp(Hn,"gi"),'$&'),En.replaceWith(sn)}})}const st=(0,x.useRef)();Le.jb.WebkitLineClamp=ot,ot&&(yt=et(et({},yt),Le.jb));function $t(en){let Hn=en.target;if(Hn.tagName.toUpperCase()==="A"){let En=Hn.getAttribute("href");if(En.indexOf("office")>-1)en.preventDefault(),on(En),ge("office");else if(En.indexOf("application/pdf")>-1)en.preventDefault(),on(En),ge("pdf");else if(En.indexOf("text/html")>-1)en.preventDefault(),on(En),ge("html");else if(En.startsWith("#")){en.preventDefault();let Mt=document.getElementById(En.replace("#",""));Mt&&Mt.scrollIntoView(!0)}}}const Vt=()=>{var en;const Hn=(en=st.current)==null?void 0:en.querySelectorAll("video");Hn==null||Hn.forEach(En=>{if(En.oncontextmenu=()=>!1,En.src.indexOf(".m3u8")>-1&&!En.canPlayType("application/vnd.apple.mpegurl")){if(He.ZP.isSupported()){var Mt=new He.ZP;Mt.loadSource(En.src),Mt.attachMedia(En)}}})};(0,x.useEffect)(()=>{if(st.current&>&>.match(it)&&window.PR.prettyPrint(),st.current)return st.current.addEventListener("click",$t),()=>{var en;(en=st.current)==null||en.removeEventListener("click",$t),(0,Le.AL)(),(0,Le.Iy)()}},[gt,st.current,$t]);const bn=en=>{en.target.nodeName==="IMG"&&en.target.className.indexOf("draw-flowchart")>-1?(vn.current.style.zIndex=1,vn.current.style.display="flex",vn.current.style.width=en.target.clientWidth+"px",vn.current.style.height=en.target.clientHeight+"px",vn.current.style.top=en.target.offsetTop+"px",vn.current.style.left=en.target.offsetLeft+"px",en.target.id&&(_t.current=en.target.id)):vn.current.style.display="none"},an=()=>{vn.current.style.display="none"};return(0,x.useEffect)(()=>{var en;const Hn=En=>{En.preventDefault(),En.clipboardData.setData("text",window.getSelection().toString())};return(en=st.current)==null||en.addEventListener("copy",Hn),()=>{var En;(En=st.current)==null||En.removeEventListener("copy",Hn)}},[st.current]),x.createElement("div",{style:{position:"relative"},onMouseLeave:an},Ut&&x.createElement("div",{ref:st,className:`${xe.mdBody} `},gt),!Ut&&!Be(gt)&&x.createElement("div",{ref:st,style:et({},yt),onMouseOver:bn,className:`${We||""} ${Zt?"disabled-fill":""} markdown-body ${xe.mdBody} ${le.current}`,dangerouslySetInnerHTML:{__html:gt}}),!Ut&&Be(gt)&&x.createElement(_e,{html:gt}),x.createElement("div",{ref:vn,className:`${xe.button} ${Ne?"":xe.previewFlowChart}`},x.createElement(Ce.Z,null,x.createElement(oe.ZP,{onClick:()=>{Ne?rt(_t.current):(on(_t.current),ge("flowChart"))}},Ne?"\u7F16\u8F91":"\u9884\u89C8"))),x.createElement(ve.Z,{close:!0,data:Fn,type:Fn!=null&&Fn.length?de:"",style:et({},Ft),onClose:()=>on("")}))}},27185:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ht}});var x=ae(59301),ct=ae(65582),Le=ae(62957),Je=ae(28284),He=ae(6767),Se=ae(29787),Ue=ae(18287),fe=ae(77019),Ce=ae(5269),oe=ae(25399),Oe=ae(37568),ve={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Me=ae(61527),Ie=ae(89540),_e=ae(2524),we=ae(82636),xe=Object.defineProperty,Ee=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,et=(Ne,We,Ut)=>We in Ne?xe(Ne,We,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Ne[We]=Ut,Ge=(Ne,We)=>{for(var Ut in We||(We={}))Qe.call(We,Ut)&&et(Ne,Ut,We[Ut]);if(ze)for(var Ut of ze(We))Re.call(We,Ut)&&et(Ne,Ut,We[Ut]);return Ne},lt=(Ne,We)=>Ee(Ne,ke(We)),it=(Ne,We)=>{var Ut={};for(var ot in Ne)Qe.call(Ne,ot)&&We.indexOf(ot)<0&&(Ut[ot]=Ne[ot]);if(Ne!=null&&ze)for(var ot of ze(Ne))We.indexOf(ot)<0&&Re.call(Ne,ot)&&(Ut[ot]=Ne[ot]);return Ut},ft=(Ne,We,Ut)=>new Promise((ot,yt)=>{var Ft=At=>{try{Te(Ut.next(At))}catch(Zt){yt(Zt)}},Ze=At=>{try{Te(Ut.throw(At))}catch(Zt){yt(Zt)}},Te=At=>At.done?ot(At.value):Promise.resolve(At.value).then(Ft,Ze);Te((Ut=Ut.apply(Ne,We)).next())});const bt=(Ne=[])=>Ne==null?void 0:Ne.map(We=>lt(Ge({},We),{title:(We==null?void 0:We.value)||"",key:We==null?void 0:We.id,isLeaf:!0})),je=Ne=>{var We=Ne,{user:Ut,children:ot,isShowComponent:yt=!0,ModalProps:Ft={},onDataSelect:Ze}=We,Te=it(We,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[At,Zt]=Le.default.useModal(),[Kt]=Je.default.useForm(),[rt,Nt]=(0,x.useState)([]),[Qt,pn]=(0,x.useState)(!1),[Ot,vn]=(0,x.useState)(!1),[,_t,Fn,on]=(0,Me.U)(Ie.qE,{page:1,limit:9999}),[,,de]=(0,Me.U)(Ie.V8,{}),[,,ge]=(0,Me.U)(Ie.B$,{}),[,,ie]=(0,Me.U)(Ie.DH,{}),[,,ee]=(0,Me.U)(Ie.bJ,{}),le=()=>{pn(!1),Kt.resetFields(),vn(!1)},se=$e=>ft(void 0,null,function*(){const{node:at,dragNode:pt,event:gt}=$e,Bt=$e.node.pos.split("-"),Lt=$e.dropPosition-Number(Bt[Bt.length-1]);if(Lt==0){He.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Lt==1&&(pt==null?void 0:pt.item_index)==(at==null?void 0:at.item_index)+1){He.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Rt=yield ee({id:pt==null?void 0:pt.key,position:Lt==-1?1:(pt==null?void 0:pt.item_index)>(at==null?void 0:at.item_index)?(at==null?void 0:at.item_index)+1:at==null?void 0:at.item_index});(Rt==null?void 0:Rt.status)===0&&(He.ZP.success("\u79FB\u52A8\u6210\u529F"),Fn({},!0))}),Be=$e=>ft(void 0,null,function*(){let at={};Ot?at=yield ge(Ge({},$e)):at=yield ie(Ge({},$e)),(at==null?void 0:at.status)==0&&(He.ZP.success((at==null?void 0:at.message)||(Ot?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Fn({},!0),le())});return(0,x.useEffect)(()=>{Ft!=null&&Ft.open&&Fn({},!0)},[Ft==null?void 0:Ft.open]),(0,x.useEffect)(()=>{var $e;Nt(bt(($e=on==null?void 0:on.data)==null?void 0:$e.list))},[on]),yt?x.createElement(x.Fragment,null,Zt,ot,x.createElement(Le.default,Ge({},Ge({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Ft)),x.createElement(Se.Z,{spinning:_t},(rt==null?void 0:rt.length)>0?x.createElement(x.Fragment,null,x.createElement(Ue.default.DirectoryTree,{height:500,className:ve.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:Ze,treeData:rt,onDrop:se,titleRender:$e=>x.createElement(x.Fragment,null,x.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},$e==null?void 0:$e.title),x.createElement("div",{className:`${ve.EditDom}`},x.createElement(fe.Z,{wrap:!1,align:"middle",gutter:16},x.createElement(Ce.Z,null,x.createElement(oe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},x.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ve.currentPrimary}`}))),x.createElement(Ce.Z,null,x.createElement(oe.Z,{title:"\u7F16\u8F91"},x.createElement("i",{className:`iconfont icon-bianji11 font12 ${ve.currentPrimary}`,onClick:at=>{at.stopPropagation(),Kt.setFieldsValue(Ge({},$e)),pn(!0)}}))),x.createElement(Ce.Z,null,x.createElement(oe.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ve.currentDelete}`,onClick:at=>{at.stopPropagation(),At.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>ft(void 0,null,function*(){const pt=yield de({id:$e==null?void 0:$e.key});(pt==null?void 0:pt.status)==0&&(He.ZP.success((pt==null?void 0:pt.message)||"\u5220\u9664\u6210\u529F"),Fn({},!0))})})}}))))))}),x.createElement(we.op,{className:"ml20 mt20",icon:x.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{vn(!0),pn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):x.createElement(_e.Z,{styles:{margin:"30px auto"},customText:x.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",x.createElement("a",{onClick:()=>{vn(!0),pn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),x.createElement(Le.default,{title:Ot?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Qt,okText:Ot?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{le()},onOk:()=>{Kt.submit()}},x.createElement(Je.default,{form:Kt,onFinish:Be},Ot&&x.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),x.createElement(Je.default.Item,{hidden:!0,name:"id"}),x.createElement(Je.default.Item,{className:"mt10",name:"value"},x.createElement(Oe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var ht=(0,ct.connect)(({loading:Ne,user:We})=>({user:We,loading:Ne.effects}))(je)},30214:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Je}});var x=ae(59301),ct=ae(77254),Le=ae(75786),Je=()=>{const[He,Se]=(0,x.useState)(""),[Ue,fe]=(0,x.useState)(0);let[Ce,oe]=(0,x.useState)(),[Oe,ve]=(0,x.useState)();const[Me,Ie]=(0,x.useState)(!1),_e=(0,x.useRef)("");(0,x.useEffect)(()=>ct.Z.subscribe("preview-image",it=>{Se(it),console.log(et.current)}),[]),(0,x.useEffect)(()=>(document.addEventListener("keydown",we),()=>{document.removeEventListener("keydown",we)}),[]),(0,x.useEffect)(()=>{_e.current=He},[He]);function we(lt){console.log("e====",lt),lt.keyCode==27&&_e.current&&xe()}function xe(){document.body.style.overflow="auto",oe(void 0),ve(void 0),fe(0),Se("")}function Ee(){fe(Ue+90)}function ke(){Ce=et.current.width*1.1,Oe=et.current.height*1.1,ve(Oe),oe(Ce)}function ze(){Ce=et.current.width/1.1,Oe=et.current.height/1.1,ve(Oe),oe(Ce)}const Qe=(0,x.useRef)(),Re=(0,x.useRef)(),et=(0,x.useRef)(),Ge=lt=>{(lt.nativeEvent.target===Qe.current||lt.nativeEvent.target===Re.current)&&xe()};return x.createElement(x.Fragment,null,He?x.createElement("div",null,x.createElement("div",{className:"preview-wrp-group",ref:Re},x.createElement(Le.Z,{className:"image-preview",src:He,style:{display:"none"},preview:{visible:!0,src:He,onVisibleChange:lt=>{Se("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(Vn,Tt,ae){"use strict";ae.d(Tt,{h:function(){return Qe}});var x=ae(59301),ct=ae(82326),Le=ae(28284),Je=ae(7939),He=ae(89780),Se=ae.n(He),Ue=ae(45559),fe=ae(42313),Ce=Object.defineProperty,oe=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,_e=(Re,et,Ge)=>et in Re?Ce(Re,et,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Re[et]=Ge,we=(Re,et)=>{for(var Ge in et||(et={}))Me.call(et,Ge)&&_e(Re,Ge,et[Ge]);if(ve)for(var Ge of ve(et))Ie.call(et,Ge)&&_e(Re,Ge,et[Ge]);return Re},xe=(Re,et)=>oe(Re,Oe(et));const Ee=ct.default.Option,ke={labelCol:{span:4},wrapperCol:{span:20}},ze={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Tt.Z=({callback:Re,onCancel:et})=>{const[Ge,lt]=(0,x.useState)("python");function it(bt){lt(ze[bt][1])}function ft(bt){Re(bt)}return x.createElement(Le.default,xe(we({},ke),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ft,style:{width:500}}),x.createElement(Le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(ct.default,{getPopupContainer:bt=>bt.parentNode,onChange:it},Object.keys(ze).map(bt=>x.createElement(Ee,{key:bt,value:bt},ze[bt][0])))),x.createElement(Le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(Qe,{mode:Ge})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Je.ZP,{type:"ghost",onClick:et},"\u53D6\u6D88")))};function Qe({value:Re,onChange:et,mode:Ge,options:lt={}}){const it=(0,x.useRef)(),[ft,bt]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ft){let je=function(ht){const Ne=ht.getValue();et&&et(Ne)};return ft.on("change",je),()=>{ft.off("change",je)}}},[ft,et]),(0,x.useEffect)(()=>{ft&&ft.setOption("mode",Ge)},[ft,Ge]),(0,x.useEffect)(()=>{ft&&(Re!==ft.getValue()||Re==="")&&setTimeout(()=>{ft.setValue(Re||"")},300)},[ft,Re]),(0,x.useEffect)(()=>{if(it.current&&!ft){const je=Se().fromTextArea(it.current,we({mode:Ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},lt));bt(je)}},[it.current,ft]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:it}))}},25374:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return sr}});var x=ae(59301),ct=ae(65582),Le=ae(89780),Je=ae.n(Le),He=ae(76374),Se=ae(45559),Ue=ae(6313),fe=ae(25717),Ce=ae(99498),oe=ae(25419),Oe=ae(67549),ve=ae(95097),Me=({value:jn="",className:ur,showTextOnly:br,showLines:Xr,style:Yr={}})=>{const gi=(0,x.useMemo)(()=>"",[jn]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:gi}}))},Ie=Object.defineProperty,_e=Object.defineProperties,we=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ze=(jn,ur,br)=>ur in jn?Ie(jn,ur,{enumerable:!0,configurable:!0,writable:!0,value:br}):jn[ur]=br,Qe=(jn,ur)=>{for(var br in ur||(ur={}))Ee.call(ur,br)&&ze(jn,br,ur[br]);if(xe)for(var br of xe(ur))ke.call(ur,br)&&ze(jn,br,ur[br]);return jn},Re=(jn,ur)=>_e(jn,we(ur));let et=[{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 Ge({onActionCallback:jn,title:ur,icon:br,actionName:Xr,className:Yr="",children:gi}){function ci(){jn(Xr)}return x.createElement("a",{title:ur,className:Yr,onClick:ci},x.createElement("i",{className:`${br}`}),gi)}var lt=({watch:jn,showNullButton:ur,showNullProgramButton:br,onActionCallback:Xr,fullScreen:Yr,insertTemp:gi,hidetoolBar:ci,extraUse:Hi})=>{const vi=[...et,{title:`${jn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${jn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return x.createElement("ul",{className:"markdown-toolbar-container"},!ci&&vi.map((no,Ki)=>x.createElement("li",{key:Ki},no.actionName?x.createElement(Ge,Re(Qe({},no),{onActionCallback:Xr})):x.createElement("span",{className:"v-line"}))),ur?x.createElement("li",null,x.createElement(Ge,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,br?x.createElement(x.Fragment,null,x.createElement("li",null,x.createElement(Ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),x.createElement("li",null,x.createElement(Ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,gi&&x.createElement("li",null,x.createElement(Ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${gi}`,onActionCallback:Xr},x.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Hi&&x.createElement("li",null,Hi),x.createElement("li",{className:"btn-full-screen"},x.createElement(Ge,{icon:`${Yr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Xr})))},it=ae(57261),ft=ae(28284),bt=ae(37568),je=ae(7939),ht=Object.defineProperty,Ne=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Ft=(jn,ur,br)=>ur in jn?ht(jn,ur,{enumerable:!0,configurable:!0,writable:!0,value:br}):jn[ur]=br,Ze=(jn,ur)=>{for(var br in ur||(ur={}))ot.call(ur,br)&&Ft(jn,br,ur[br]);if(Ut)for(var br of Ut(ur))yt.call(ur,br)&&Ft(jn,br,ur[br]);return jn},Te=(jn,ur)=>Ne(jn,We(ur));const At={labelCol:{span:4},wrapperCol:{span:20}};var Zt=({callback:jn,onCancel:ur})=>{function br(Xr){jn(Xr)}return x.createElement(ft.default,Te(Ze({},At),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:br,style:{width:500}}),x.createElement(ft.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(bt.default,null)),x.createElement(ft.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(bt.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(je.ZP,{type:"ghost",onClick:ur},"\u53D6\u6D88")))},Kt=ae(85533),rt=ae(45053),Nt=ae(62957),Qt=ae(77019),pn=ae(16750),Ot=ae(59301),vn=({callback:jn,onCancel:ur})=>{const br=document.createElement("canvas"),Xr=br.getContext("2d");br.width=1e3,br.height=800,Xr.fillStyle="#ffffff",Xr.fillRect(0,0,br.width,br.height);const Yr=br.toDataURL("image/png");return Ot.createElement(Nt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ot.createElement(Qt.Z,{style:{height:"100vh"}},Ot.createElement(pn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yr,visible:!0,title:String(Date.now())},onOk:gi=>{jn({src:gi.url})},onClose:ur})))},_t=ae(36207),Fn=ae(5269),on=ae(6767),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ge=ae(59301),ee=(0,x.forwardRef)(({onCancel:jn,editImgId:ur,callback:br},Xr)=>{let Yr=(0,x.useRef)(),gi=(0,x.useRef)(),ci=(0,x.useRef)(),Hi=(0,x.useRef)(!1);const vi=(0,x.useRef)(!1);console.log("ref:",Xr);const[no,Ki]=(0,x.useState)(0),[fr,Lr]=(0,x.useState)("100vh");return(0,x.useEffect)(()=>{Ki(1)},[]),(0,x.useImperativeHandle)(Xr,()=>({setHeight:Lr})),ge.createElement("div",{ref:vi,className:"body-overflow-initial"},ge.createElement(_t.Z,{width:"100vw",height:fr,footer:null,closable:!0,placement:"bottom",open:!!no,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${de.drawerWrap}`,onClose:()=>{window.saveDrawData(mi=>{br({src:`/api/attachments/${mi}`,id:mi})})},title:ge.createElement(Qt.Z,{align:"middle"},ge.createElement(Fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ge.createElement(Fn.Z,{onClick:()=>{Lr(fr==="60px"?"100vh":"60px")}},ge.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ge.createElement(Fn.Z,{onClick:()=>{window.saveDrawData(mi=>{if(mi===null){on.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}on.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),br({src:`/api/attachments/${mi}`,id:mi,disabledClose:!0})})}},ge.createElement(je.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ge.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${ur||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:gi})))}),le=ae(74128),se=ae(47889),Be=ae(4875);const $e=se.ZP.Group,at={margin:"0 8px"};var pt=({callback:jn,onCancel:ur})=>{function br(Xr){jn(Xr)}return x.createElement(ft.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:br},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:at},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:at},"\u884C\u6570"),x.createElement(ft.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Be.Z,null)),x.createElement("span",{style:at},"\u5217\u6570"),x.createElement(ft.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(Be.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:at},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ft.default.Item,{name:"align"},x.createElement($e,null,x.createElement(se.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(se.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(se.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(se.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(je.ZP,{type:"ghost",onClick:ur},"\u53D6\u6D88")))},gt=ae(58755),Bt=ae(93510),Lt=ae.n(Bt),Ct=(0,x.forwardRef)(({use3d:jn,width:ur,height:br,callback:Xr,showSaveButton:Yr},gi)=>{const ci=(0,x.useRef)(),Hi=(0,x.useRef)(),[vi,no]=(0,x.useState)(!1),Ki=(0,x.useRef)({id:ci,appName:"graphing",width:ur||1e3,height:br||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Hi.current=new(Lt())(Ki.current,!0),window.onload=function(){Hi.current.inject("applet_container")}},[]);const fr=()=>{var Lr=window.ggbApplet.getPNGBase64(1,!0,72);return Xr&&Xr(Lr),Lr};return(0,x.useEffect)(()=>{Ki.current.appName=vi?"3D":"graphing",Hi.current.inject("applet_container")},[vi]),(0,x.useEffect)(()=>{no(jn)},[jn]),(0,x.useImperativeHandle)(gi,()=>({getImgData:fr})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ci}),x.createElement(Qt.Z,{align:"middle"},x.createElement(Fn.Z,{flex:1},x.createElement(gt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:vi,onChange:Lr=>no(Lr)})),x.createElement(Fn.Z,null,x.createElement(je.ZP,{size:"large",onClick:fr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),st=ae(99298);const $t="link",Vt="upload-image",bn="add-flowchart",an="draw-image",en="add-flowchart",Hn="code-block",En="add-table",Mt="------------",sn={default:Mt,left:`:${Mt}`,center:`:${Mt}:`,right:`${Mt}:`};var Dn=ae(31103),Wn=ae(65862);function It(){}let Wt=0;const rn=1e4,mn="\u2581",Xn="@\u2581\u2581@",Fr="@\u2581@",ri=` **\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`,Hr=["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 Ir(jn){return/^\d+$/.test(jn)?`${jn}px`:jn}const vr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Mr={[vr+"-B"]:"bold",[vr+"-I"]:"italic"},Yn={[$t]:"\u6DFB\u52A0\u94FE\u63A5",[Hn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Vt]:"\u6DFB\u52A0\u56FE\u7247",[an]:"\u6DFB\u52A0\u753B\u56FE",[bn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[En]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var sr=({defaultValue:jn="",onChange:ur,width:br="100%",height:Xr=400,miniToolbar:Yr=!1,isFocus:gi=!1,watch:ci,insertTemp:Hi,mode:vi="markdown",id:no="markdown-editor-id",showResizeBar:Ki=!1,noStorage:fr=!1,showNullButton:Lr=!1,showNullProgramButton:mi=!1,hidetoolBar:Xt=!1,fullScreen:ln=!1,onBlur:yn,onCMBeforeChange:kt,onFullScreen:dn,className:zt="",disablePaste:hn=!1,disabled:Pn=!1,disabledFill:_r=!1,placeholder:Jr="",values:di="",extraUse:ir,onAddBlank:Ar})=>{const[ar,ti]=(0,x.useState)(null),[tr,Un]=(0,x.useState)(jn),[cr,Ei]=(0,x.useState)(ci),[Kn,gn]=(0,x.useState)(ln),[$n,nr]=(0,x.useState)(""),[pr,zr]=(0,x.useState)(0),[Ni,fi]=(0,x.useState)(Xr),[Li,hi]=(0,x.useState)(!1),[Si,wi]=(0,x.useState)(0),[Ci,yi]=(0,x.useState)(0),Ti=(0,x.useRef)(),eo=(0,x.useRef)(),mo=(0,x.useRef)(),Yi=(0,x.useRef)(),Lo=(0,x.useRef)(),Mi=(0,x.useRef)(),Mo=(0,ct.useDispatch)();(0,x.useEffect)(()=>{const Kr=window.scrollY||window.pageYOffset;Un(di),ar==null||ar.setValue(di),window.scrollTo(0,Kr)},[di]),(0,x.useEffect)(()=>{dn==null||dn(Kn)},[Kn]),(0,x.useEffect)(()=>{if(Ti.current){let Kr=function(yr,ei){var co;if(hn){ei.preventDefault();return}const Jo=ei.clipboardData;if(Jo){const No=Jo.types.toString(),ma=Jo.items;if(No==="Files"||Jo.types.indexOf("Files")>-1){if(ei.preventDefault(),vi=="stex")return;try{let Oo=ma[1];((co=ma[0])==null?void 0:co.kind)==="file"&&(Oo=ma[0]);const qo=Oo.getAsFile(),jo=qo.name.split(".").pop();(0,rt.I)(qo,aa=>{var fa,Wa,Ds;aa.id?((fa=qo==null?void 0:qo.type)==null?void 0:fa.indexOf("image"))>-1?oi.replaceSelection(``):((Wa=qo==null?void 0:qo.type)==null?void 0:Wa.indexOf("video"))>-1?oi.replaceSelection(``):((Ds=qo==null?void 0:qo.type)==null?void 0:Ds.indexOf("pdf"))>-1?oi.replaceSelection(`${qo.name}`):Hr.includes(jo)?oi.replaceSelection(`${qo.name}`):oi.replaceSelection(`[${qo.name}](/api/attachments/${aa.id}?type=${aa.content_type})`):(aa==null?void 0:aa.status)===401&&(document.location.href="/user/login")})}catch(Oo){on.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const oi=Je().fromTextArea(Ti.current,{mode:vi,lineNumbers:!Yr,lineWrapping:!0,value:jn,autoCloseTags:!0,autoCloseBrackets:!0});return oi.on("keyup",function(yr,ei){ei.keyCode===8&&(yr.getValue()==""?oi.setOption("placeholder",Jr):oi.setOption("placeholder",null))}),oi.on("keydown",function(yr,ei){if(ei.keyCode===8){var co=Xo(yr);co&&ei.preventDefault()}}),gi&&oi.focus(),oi.on("paste",Kr),Pn&&oi.on("beforeChange",function(yr,ei){(ei.origin==="paste"||ei.origin==="+input")&&ei.cancel()}),ti(oi),()=>{oi.off("paste",Kr)}}},[]);const Ao=(0,x.useCallback)(()=>{if(eo.current)try{}catch(Kr){console.log(Kr,"---- to set md editor body height")}},[Ni,eo,Kn]);(0,x.useEffect)(()=>{function Kr(){let oi=new He.Z(yr=>{for(let ei of yr)(ei.target.offsetHeight>0||ei.target.offsetWidth>0)&&(Ao(),ar.setSize("100%","100%"),ar.refresh())});return oi.observe(Ti.current.parentElement),oi}if(ar){const oi=Kr();return()=>{var yr,ei;(yr=Ti.current)!=null&&yr.parentElement&&oi.unobserve((ei=Ti.current)==null?void 0:ei.parentElement)}}},[ar,Ao]),(0,x.useEffect)(()=>{if(ar){let Kr=[];for(const[oi,yr]of Object.entries(Mr)){let ei={[oi]:()=>{bo(yr)}};Kr.push(ei),ar.addKeyMap(ei)}return()=>{for(let oi of Kr)ar.removeKeyMap(oi)}}},[ar]),(0,x.useEffect)(()=>{ln!==Kn&&gn(ln)},[ln]),(0,Dn.Z)(()=>{if(!fr&&pr>0){let Kr=new Date().getTime(),oi=window.sessionStorage.getItem(no);Kr>=pr+rn&&(!oi||oi!==tr)&&(window.sessionStorage.setItem(no,tr),hi(!0))}},rn),(0,x.useEffect)(()=>{Ei(ci)},[ar,ci]),(0,x.useEffect)(()=>{ar&&gi&&ar.focus()},[ar,gi]),(0,x.useEffect)(()=>{if(cr&&ar){let Kr=function(yr){let ei=yr.target;if(Yi.current){let co=ei.scrollTop/ei.scrollHeight;Yi.current.scrollTop=Yi.current.scrollHeight*co}};const oi=ar.getScrollerElement();return oi.addEventListener("scroll",Kr),()=>{oi.removeEventListener("scroll",Kr)}}},[ar,cr]),(0,x.useEffect)(()=>{if(ar&&kt){let Kr=function(oi,yr){kt(oi,yr)};return ar.on("beforeChange",Kr),()=>{ar.off("beforeChange",Kr)}}},[ar,kt]),(0,x.useEffect)(()=>{if(ar&&yn){let Kr=function(){yn(ar.getValue())};return ar.on("blur",Kr),()=>{ar.off("blur",Kr)}}},[ar,yn]);function Xo(Kr,oi){var yr=Kr.getDoc(),ei=yr.getCursor(),co=yr.getLine(ei.line),Jo=co.charAt(ei.ch-1),No=co.lastIndexOf("@\u2581@",ei.ch),ma=co.lastIndexOf("@\u2581\u2581@",ei.ch),Oo=No>ma?No:ma,qo=No>ma?3:4;if(Xn.indexOf(Jo)===-1)return null;if(console.log("change1:",oi,Kr,co,ei,Oo,No,ma,Jo),Oo>=0&&ei.ch-Oo<5){var jo=Oo+qo;return yr.replaceRange("",{line:ei.line,ch:Oo},{line:ei.line,ch:jo}),{line:ei.line,ch:jo}}return null}(0,x.useEffect)(()=>{if(ar){let Kr=function(oi,yr){const ei=oi.getValue();Un(ei),zr(new Date().getTime()),oi.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ur&&(mi?ur(ei,qr(ei)):ur(ei))};return ar.on("change",Kr),()=>{ar.off("change",Kr)}}},[ar,ur]),(0,x.useEffect)(()=>{if(ar)if(jn==null)ar.setValue(""),Un("");else{const Kr=window.scrollY||window.pageYOffset;jn!==ar.getValue()&&(ar.setValue(jn),Un(jn),ar.setCursor(Pn?1:ar.lineCount(),0),window.scrollTo(0,Kr))}},[ar,jn]);const bo=(0,x.useCallback)(Kr=>{const oi=ar.getCursor(),yr=ar.getSelection();let ei=yr.split(` `);switch(Kr){case"bold":return ar.replaceSelection("**"+yr+"**"),yr===""&&ar.setCursor(oi.line,oi.ch+2),ar.focus();case"italic":return ar.replaceSelection("*"+yr+"*"),yr===""&&ar.setCursor(oi.line,oi.ch+1),ar.focus();case"code":return ar.replaceSelection("`"+yr+"`"),yr===""&&ar.setCursor(oi.line,oi.ch+1),ar.focus();case"inline-latex":return(0,Wn.Ye)(Mo)?void 0:(nr("inline-latex"),ar.focus());case"latex":return ar.replaceSelection("```latex\n"+yr+"\n```"),ar.setCursor(oi.line+1,yr.length+1),ar.focus();case"line-break":return ar.replaceSelection(`
`),ar.focus();case"list-ul":return yr===""?ar.replaceSelection("- "+yr):ar.replaceSelection(ei.map(co=>co===""?"":`- ${co}`).join(` `)),ar.focus();case"list-ol":return yr===""?ar.replaceSelection("1. "+yr):ar.replaceSelection(ei.map((co,Jo)=>co===""?"":`${Jo+1}. ${co}`).join(` `)),ar.focus();case"add-null-ch":Ar==null||Ar();return;case"add-signal":return yr===""&&ar.setCursor(oi.line,oi.ch),ar.replaceSelection(Fr),ar.focus();case"add-multiple":return yr===""&&ar.setCursor(oi.line,oi.ch),ar.replaceSelection(Xn),ar.focus();case"inster-template-1":return yr===""&&ar.setCursor(oi.line,oi.ch),ar.replaceSelection(ri),ar.focus();case"eraser":return ar.setValue(""),ar.focus();case"trigger-watch":return Ei(!cr),ar.focus();case"trigger-full-screen":return gn(!Kn),ar.focus();case $t:nr($t);return;case Hn:nr(Hn);return;case Vt:nr(Vt);return;case an:nr(an);return;case"maths-latex":if((0,Wn.Ye)(Mo))return;nr("maths-latex");return;case bn:Lo.current="",sessionStorage.removeItem("file_id"),nr(bn);return;case En:nr(En);return;default:throw new Error}},[ar,cr,Kn]),to=(0,x.useCallback)((Kr,oi)=>{var yr,ei,co,Jo,No,ma;Kr!=null&&Kr.disabledClose||nr("");const{src:Oo,alt:qo,id:jo}=Kr||{};switch($n){case $t:const{title:zs,link:is}=Kr;return ar.replaceSelection(`[${zs}](${is})`),ar.focus();case Hn:const{language:us,content:Uo}=Kr;return ar.replaceSelection(["```"+us,Uo,"```"].join(` `)),ar.focus();case"maths-latex":for(var aa=atob(Kr),fa=new Uint8Array(aa.length),Wa=0;Wa{hl.id?ar.replaceSelection(`![,](/api/attachments/${hl.id}?type=${hl.content_type})`):(hl==null?void 0:hl.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,Wn.Ye)(Mo))return;ar.replaceSelection("`$$"+Kr+"$$`");break;case en:if(!jo)return;ar.getValue().indexOf(Oo)===-1?ar.replaceSelection(`
${qo||
`):document.getElementById(jo).src=le.Z.API_SERVER+Oo+"?t="+Date.now();break;case Vt:case an:const go=oi,Fa=(co=(ei=(yr=go==null?void 0:go.name)==null?void 0:yr.split("."))==null?void 0:ei.pop)==null?void 0:co.call(ei);return((Jo=go==null?void 0:go.type)==null?void 0:Jo.indexOf("image"))>-1||!(go!=null&&go.type)?go!=null&&go.align||go!=null&&go.width?ar.replaceSelection(`

${qo||

`):ar.replaceSelection(`${qo||`):((No=go==null?void 0:go.type)==null?void 0:No.indexOf("video"))>-1?ar.replaceSelection(``):((ma=go==null?void 0:go.type)==null?void 0:ma.indexOf("pdf"))>-1?ar.replaceSelection(`${go.name}`):Hr.includes(Fa)?ar.replaceSelection(`${go.name}`):ar.replaceSelection(`[${go.name}](${Oo})`),ar.focus();case En:const{row:hs,col:el,align:tl}=Kr;let nl=` `;for(let hl=0;hl{switch($n){case $t:return x.createElement(Zt,{callback:to,onCancel:Vo});case Hn:return x.createElement(Kt.Z,{callback:to,onCancel:Vo});case Vt:return x.createElement(rt.Z,{callback:to,onCancel:Vo});case bn:return x.createElement(ee,{editImgId:Lo.current,callback:to,onCancel:Vo});case En:return x.createElement(pt,{callback:to,onCancel:Vo});case"maths-latex":return x.createElement(Ct,{showSaveButton:!0,callback:to});case"inline-latex":return x.createElement(st.Z,{showSaveButton:!0,callback:to});default:return null}},[$n]);function Vo(){nr("")}(0,x.useEffect)(()=>{if(mo.current){let Kr=function(No){co=!0,Jo=No.pageY},oi=function(){co=!1},yr=function(No){if(co){let ma=No.pageY-Jo;ma<0&&(ma=0),ma>300&&(ma=300);let Oo=Xr+ma+"px";fi(Oo)}},ei=mo.current,co=!1,Jo=0;return ei.addEventListener("mousedown",Kr),document.addEventListener("mousemove",yr),document.addEventListener("mouseup",oi),()=>{ei.removeEventListener("mousedown",Kr),document.removeEventListener("mousemove",yr),document.removeEventListener("mouseup",oi)}}},[ar,mo]),(0,x.useEffect)(()=>{fi(Xr)},[Xr]);const _n=Ir(br),Do=Ir(Ni),Vi={width:_n,height:Do},Ur=(0,x.useMemo)(()=>{if(pr){let Kr=new Date(pr),oi=Kr.getHours(),yr=Kr.getMinutes(),ei=Kr.getSeconds();return oi=oi<10?"0"+oi:oi,yr=yr<10?"0"+yr:yr,ei=ei<10?"0"+ei:ei,`${oi}:${yr}:${ei}`}return 0},[pr]),qr=Kr=>{const oi=[];if(mi){let yr=-1;Kr=Kr.replace(/(@▁▁@|@▁@)/g,function(ei,co,Jo){oi.push({multiLine:ei!==Fr})})}return oi};function ni(){window.sessionStorage.removeItem(no),hi(!1),zr(0)}function Wr(){hi(!1),zr(0),ar.setValue(window.sessionStorage.getItem(no))}(0,x.useEffect)(()=>{Yn[$n]&&$n!==an&&$n!==bn&&setTimeout(()=>{const Kr=document.getElementsByClassName("markdown-popup-form")[0],oi=window.innerWidth/2-Kr.offsetWidth/2,yr=window.innerHeight/2-Kr.offsetHeight/2;wi(oi),yi(yr)},0)},[$n]);const ji=Kr=>{Kr.preventDefault();const oi=Kr.clientX-Si,yr=Kr.clientY-Ci;document.body.onmousemove=ei=>{let co=ei.clientX-oi,Jo=ei.clientY-yr;const No=document.getElementsByClassName("markdown-popup-form")[0],ma=window.innerWidth-No.offsetWidth,Oo=window.innerHeight-No.offsetHeight;co=Math.max(0,Math.min(co,ma)),Jo=Math.max(0,Math.min(Jo,Oo)),ro(ei.clientX,ei.clientY,oi,yr)&&(wi(co),yi(Jo))},document.body.onmouseup=function(){document.body.onmousemove=null}},ro=(Kr,oi,yr,ei)=>{const co=document.body.clientHeight,Jo=document.body.clientWidth;return Kr<20&&yr>Kr||Kr>Jo-20&&yroi||oi>co-20&&ei{var oi;Lo.current=Kr,(oi=Mi.current)==null||oi.setHeight("100vh"),setTimeout(()=>{nr("add-flowchart")},150)}})):null))),Ki?x.createElement("a",{ref:mo,className:"editor-resize"}):null,$n===an&&x.createElement(vn,{callback:to,onCancel:Vo}),$n===bn&&x.createElement(ee,{ref:Mi,editImgId:Lo.current,callback:to,onCancel:Vo}),x.createElement(it.Z,null,Yn[$n]&&$n!==an&&$n!==bn?x.createElement(Nt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Si,top:Ci},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:ji},Yn[$n]),open:!0,onCancel:Vo,footer:null,destroyOnClose:!0,width:$n===bn?"1200px":null,height:$n===bn?"80vh":null,className:"markdown-popup-form"},Co):null))}},45053:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return et},I:function(){return lt}});var x=ae(28284),ct=ae(6767),Le=ae(37568),Je=ae(44104),He=ae(4875),Se=ae(47889),Ue=ae(7939),fe=ae(28735),Ce=ae(59301),oe=ae(59301),Oe=Object.defineProperty,ve=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(it,ft,bt)=>ft in it?Oe(it,ft,{enumerable:!0,configurable:!0,writable:!0,value:bt}):it[ft]=bt,Ee=(it,ft)=>{for(var bt in ft||(ft={}))_e.call(ft,bt)&&xe(it,bt,ft[bt]);if(Ie)for(var bt of Ie(ft))we.call(ft,bt)&&xe(it,bt,ft[bt]);return it},ke=(it,ft)=>ve(it,Me(ft));const{useForm:ze}=x.default,Qe={width:280,marginRight:10},Re={labelCol:{span:5},wrapperCol:{span:19}};var et=({callback:it,onCancel:ft})=>{const[bt]=ze();let je=(0,Ce.useRef)();function ht(Ut){je.current.width=bt.getFieldValue("width"),je.current.align=bt.getFieldValue("align"),it(Ut,je.current)}function Ne(Ut,ot){if(Ut.status===-1){ct.ZP.error(Ut.message);return}bt.setFieldsValue({src:`/api/attachments/${Ut.id}`,type:ot.type})}function We(Ut){let ot=Ut.target.files[0];je.current=ot,lt(ot,Ne)}return oe.createElement(x.default,ke(Ee({form:bt},Re),{className:"upload-image-panel",onFinish:ht,style:{width:470,overflow:"hidden"}}),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(Le.default,{style:Qe})),oe.createElement(Ge,{onFileChange:We}))),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(Le.default,{style:{width:264}})),oe.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},oe.createElement(Je.Z,null,oe.createElement(x.default.Item,{name:"width",style:{margin:0}},oe.createElement(He.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},oe.createElement(Se.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"}]})),oe.createElement("aside",null,oe.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Ue.ZP,{type:"default",onClick:ft},"\u53D6\u6D88"))))};function Ge({onFileChange:it}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:it}))}function lt(it,ft){if(!it)throw new String("\u6CA1\u6709\u6587\u4EF6");let bt=new FormData;bt.append("editormd-image-file",it),bt.append("file_param_name","editormd-image-file"),bt.append("byxhr","true");var je=new window.XMLHttpRequest;je.withCredentials=!0,je.addEventListener("load",function(ht){ft(JSON.parse(ht.target.responseText),it)},!1),je.addEventListener("error",function(ht){console.error(ht)},!1),je.open("POST",`${fe.KI}/api/attachments.json`),je.send(bt)}},57261:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Le}});var x=ae(59301),ct=ae(4676);class Le extends x.Component{constructor(He){super(He);const Se=window.document;this.node=Se.createElement("div"),Se.body.appendChild(this.node)}render(){const{children:He}=this.props;return(0,ct.createPortal)(He,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},50258:function(Vn,Tt,ae){"use strict";ae.d(Tt,{SV:function(){return vn},ZP:function(){return Ot}});var x=ae(59301),ct=ae(76374);const Le={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"]},Je={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"]},He={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 ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},Se={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(` `)}]},Ue={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=ae(53184),Ce=ae.n(fe),oe=(_t,Fn,on)=>new Promise((de,ge)=>{var ie=se=>{try{le(on.next(se))}catch(Be){ge(Be)}},ee=se=>{try{le(on.throw(se))}catch(Be){ge(Be)}},le=se=>se.done?de(se.value):Promise.resolve(se.value).then(ie,ee);le((on=on.apply(_t,Fn)).next())});const Oe={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"]}},ve=(_t,Fn,on,de)=>{const ge=Fn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:on.lineNumber,endColumn:on.column});return Array.from(new Set(ge.match(/\b\w{2,}\b/g)||[])).map(ee=>({label:ee,kind:_t.languages.CompletionItemKind.Text,insertText:ee,range:de}))},Me=(_t,Fn,on,de)=>{_t.languages.registerCompletionItemProvider(Fn,{provideCompletionItems(ge,ie){const ee=ge.getWordUntilPosition(ie),le={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},se=ge.getLineContent(ie.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...ve(_t,ge,ie,le),...on.map($e=>({label:$e,kind:_t.languages.CompletionItemKind.Keyword,documentation:$e,insertText:$e,insertTextRules:_t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...de.map($e=>({label:$e.label,kind:_t.languages.CompletionItemKind.Snippet,documentation:$e.content,insertText:se.startsWith("#")?$e.content.replace(/#/,""):$e.content,insertTextRules:_t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}})};var Ie=_t=>{Oe.languages.forEach(Fn=>{_t.languages.registerDocumentFormattingEditProvider(Fn,{provideDocumentFormattingEdits(on){return oe(this,null,function*(){const de=Ce()(on.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:on.getFullModelRange(),text:de}]})}})}),Me(_t,"java",Je.keywords,Je.quickKey),Me(_t,"cpp",He.keywords,He.quickKey),Me(_t,"c",Le.keywords,[]),Me(_t,"python",Se.keywords,Se.quickKey),Me(_t,"scala",Ue.keywords,Ue.quickKey)};const _e="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var we=Object.defineProperty,xe=(_t,Fn,on)=>Fn in _t?we(_t,Fn,{enumerable:!0,configurable:!0,writable:!0,value:on}):_t[Fn]=on,Ee=(_t,Fn,on)=>xe(_t,typeof Fn!="symbol"?Fn+"":Fn,on);const ke=class Ov{constructor(Fn,on,de){this.placeholder=Fn,this.editor=on,this.monaco=de,on.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Ov.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)}};Ee(ke,"ID","editor.widget.placeholderHint");var Qe=ke,Re=ae(96236),et=ae(6767),Ge=ae(25399),lt=ae(89392),it=ae(77254),ft=ae(56102),bt=Object.defineProperty,je=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,ot=(_t,Fn,on)=>Fn in _t?bt(_t,Fn,{enumerable:!0,configurable:!0,writable:!0,value:on}):_t[Fn]=on,yt=(_t,Fn)=>{for(var on in Fn||(Fn={}))We.call(Fn,on)&&ot(_t,on,Fn[on]);if(Ne)for(var on of Ne(Fn))Ut.call(Fn,on)&&ot(_t,on,Fn[on]);return _t},Ft=(_t,Fn)=>je(_t,ht(Fn)),Ze=(_t,Fn)=>{var on={};for(var de in _t)We.call(_t,de)&&Fn.indexOf(de)<0&&(on[de]=_t[de]);if(_t!=null&&Ne)for(var de of Ne(_t))Fn.indexOf(de)<0&&Ut.call(_t,de)&&(on[de]=_t[de]);return on},Te=(_t,Fn,on)=>new Promise((de,ge)=>{var ie=se=>{try{le(on.next(se))}catch(Be){ge(Be)}},ee=se=>{try{le(on.throw(se))}catch(Be){ge(Be)}},le=se=>se.done?de(se.value):Promise.resolve(se.value).then(ie,ee);le((on=on.apply(_t,Fn)).next())});function At(_t){return/^\d+$/.test(_t)?`${_t}px`:_t}function Zt(){}let Kt=!1;const rt={"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 Nt(_t=[]){let Fn=_t;if(Array.isArray(_t)){for(let on=0;on<_t.length;on++){let de=rt[_t[on]];if(de)return de}return Fn[0]}return rt[Fn]||Fn}let Qt=null;const pn=()=>Te(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(_t){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",_t)}});var Ot=_t=>{var Fn=_t,{width:on="100%",height:de="100%",value:ge,language:ie="javascript",style:ee={},options:le={},overrideServices:se={},theme:Be="vs-dark",onEditBlur:$e,isCopy:at=!1,onSave:pt,autoHeight:gt=!1,forbidCopy:Bt=!1,forbidCopyTips:Lt,onChange:Rt=Zt,editorDidMount:Ct=Zt,onFocus:st=Zt,onBreakPoint:$t=Zt,breakPointValue:Vt=[],filename:bn="educoder.txt",errorLine:an,errorContent:en="",highlightLine:Hn,openBreakPoint:En=!1,placeholder:Mt="",showMiniMap:sn=!0}=Fn,Dn=Ze(Fn,["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 Wn=(0,x.useRef)(),It=(0,x.useRef)({}),Wt=(0,x.useRef)(),rn=(0,x.useRef)(),mn=(0,x.useRef)([]),Xn=(0,x.useRef)(!1),Fr=(0,x.useRef)(),ri=(0,x.useRef)(),Hr=(0,x.useRef)(!1),[Ir,qn]=(0,x.useState)(!1);function vr(){let fr;return Wn.current&&(fr=new ct.Z(Lr=>{for(let mi of Lr)(mi.target.offsetHeight>0||mi.target.offsetWidth>0)&&It.current.instance.layout()}),fr.observe(Wn.current)),fr}function Mr(){et.ZP.warning({content:decodeURIComponent(Lt||_e),key:"monaco-editor-tip"})}const Yn=()=>{let fr=It.current.instance;if(ge!=null&&fr&&Ir){const Lr=fr.getModel();Lr&&ge!==Lr.getValue()&&(Kt=!0,Lr.setValue(ge),fr.layout(),Kt=!1)}};(0,x.useEffect)(()=>{const fr=it.Z.subscribe("formatDocument",Lr=>{var mi;let Xt=It.current.instance;(mi=Xt==null?void 0:Xt.getAction)==null||mi.call(Xt,"editor.action.formatDocument").run()});return window.updateMonacoValue=Lr=>{Rt(Lr)},fr},[]),(0,x.useEffect)(()=>{var fr;let Lr=It.current.instance;rn.current&&clearTimeout(rn.current),rn.current=setTimeout(()=>{Yn()},500),ge&&(ge!=null&&ge.length)&&((fr=Lr==null?void 0:Lr.updateOptions)==null||fr.call(Lr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[ge,Ir,It.current]),(0,x.useEffect)(()=>{if(an&&It.current&&It.current.instance){let Lr=It.current.instance;Lr.changeViewZones(function(mi){var Xt=document.createElement("div");Xt.style.padding="10px 20px",Xt.style.width="calc(100% - 20px)",Xt.className="my-error-line-wrp",Xt.innerHTML=en,mi.addZone({afterLineNumber:an||11,heightInLines:3,domNode:Xt})});var fr={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}};Lr.addOverlayWidget(fr),Lr.revealPositionInCenter({lineNumber:20,column:1})}},[an,It.current,Ir]);const sr=(fr="",Lr)=>{if(!fr||fr.trim()==="")return!0;const Xt=It.current.instance.getModel().getLineTokens(Lr);let ln=!1;for(let yn=0;yn<2;yn++)Xt.getStandardTokenType(yn)===1&&(ln=!0);return ln};(0,x.useEffect)(()=>{var fr;const Lr=(fr=It.current)==null?void 0:fr.instance;if(Lr&&Ir&&Bt){const mi=Lr.onDidBlurEditorWidget(()=>{Hr.current=!1}),Xt=Lr.onDidFocusEditorText(()=>{Hr.current=!0});return()=>{mi.dispose(),Xt.dispose()}}},[It.current,Ir,Bt]),(0,x.useEffect)(()=>{var fr;if((fr=It.current)!=null&&fr.instance&&Ir&&En){let Lr=It.current.instance,mi=Lr.getModel();if(!mi)return;(()=>{var ir;let Ar=[],ar=[];const ti=mi.getAllDecorations();for(let Un of ti)Un.options.className==="highlighted-line"&&(Ar.push((ir=Un==null?void 0:Un.range)==null?void 0:ir.startLineNumber),ar.push(Un==null?void 0:Un.id));if(Hn===Ar[0])return;mi.deltaDecorations(ar,[]);const tr=mi.getLineCount();Hn&&Hn<=tr&&(Lr.deltaDecorations([],[{range:new Qt.Range(Hn,1,Hn,mi.getLineMaxColumn(Hn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Lr.revealLineInCenter(Hn))})();const ln=(ir=!1)=>{var Ar;let ar=[],ti=[];const tr=mi.getAllDecorations();for(let Un of tr)Un.options.linesDecorationsClassName==="breakpoints-select"&&(ar.push((Ar=Un==null?void 0:Un.range)==null?void 0:Ar.startLineNumber),ti.push(Un==null?void 0:Un.id));if(ir)return{lines:ar,ids:ti};$t(ar)},yn=ir=>Te(void 0,null,function*(){let Ar={range:new Qt.Range(ir,1,ir,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield mi.deltaDecorations([],[Ar]),ln()}),kt=ir=>Te(void 0,null,function*(){let Ar=[];const ar=Lr.getLineDecorations(ir);for(let ti of ar)ti.options.linesDecorationsClassName==="breakpoints-select"&&Ar.push(ti.id);yield mi.deltaDecorations(Ar,[]),ln()}),dn=ir=>{let Ar=Lr.getLineDecorations(ir);for(let ar of Ar)if(ar.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,lt.isEqual)(Vt,ln(!0).lines)){mi.deltaDecorations(ln(!0).ids,[]);const ir=Vt.map(Ar=>({range:new Qt.Range(Ar,1,Ar,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));mi.deltaDecorations([],ir)}const zt=Lr.onDidChangeModelContent(ir=>{let Ar=Lr.getPosition();if(Ar){let ar=Ar.lineNumber;clearTimeout(ri.current),ri.current=setTimeout(()=>{sr(mi.getLineContent(ar),ar)?kt(ar):dn(ar)?(kt(ar),yn(ar)):ln()},100)}}),hn=Lr.onMouseDown(ir=>{var Ar,ar,ti;if(ir.target.detail&&((ti=(ar=(Ar=ir.target)==null?void 0:Ar.element)==null?void 0:ar.className)!=null&&ti.includes("line-numbers"))){let tr=ir.target.position.lineNumber;if(sr(mi.getLineContent(tr),tr))return;dn(tr)?kt(tr):yn(tr)}}),Pn=ir=>{let Ar={range:new Qt.Range(ir,1,ir,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mn.current=Lr.deltaDecorations(mn.current,[Ar])},_r=()=>{mn.current=Lr.deltaDecorations(mn.current,[])},Jr=Lr.onMouseMove(ir=>{var Ar,ar,ti;if(_r(),ir.target.detail&&((ti=(ar=(Ar=ir.target)==null?void 0:Ar.element)==null?void 0:ar.className)!=null&&ti.includes("line-numbers"))){let tr=ir.target.position.lineNumber;if(sr(mi.getLineContent(tr),tr))return;Pn(tr)}}),di=Lr.onMouseLeave(()=>{_r()});return()=>{zt.dispose(),hn.dispose(),Jr.dispose(),di.dispose()}}},[It.current,Ir,Vt,Hn,En,ie]),(0,x.useEffect)(()=>{var fr;(fr=It.current)!=null&&fr.instance&&En&&It.current.instance.setPosition({lineNumber:0,column:0})},[Hn]);function jn(){let fr=It.current.instance;if(fr){const Lr=fr.getSelection(),mi=It.current.pastePos||{},Xt=new Qt.Range(mi.startLineNumber||Lr.endLineNumber,mi.startColumn||Lr.endColumn,mi.endLineNumber||Lr.endLineNumber,mi.endColumn||Lr.endColumn);setTimeout(()=>{fr.executeEdits("",[{range:Xt,text:""}])},300)}}function ur(fr){(window.navigator.platform.match("Mac")?fr.metaKey:fr.ctrlKey)&&fr.keyCode==83&&(fr.preventDefault(),pt())}const br=()=>{if(gt&&It.current.instance){const fr=It.current.instance.getContentHeight();no(fr{if(!Hr.current)return;const{keyCode:Lr,ctrlKey:mi,metaKey:Xt,target:ln,type:yn}=fr;return(yn==="paste"||(Lr===67||Lr===86)&&(Xt||mi))&&ln.nodeName==="TEXTAREA"&&(Mr(),fr.preventDefault()),!1};function gi(fr,Lr){var mi=window.URL||window.webkitURL||window,Xt=new Blob([Lr]),ln=document.createElementNS("http://www.w3.org/1999/xhtml","a");ln.href=mi.createObjectURL(Xt),ln.download=fr,Xr(ln)}(0,x.useEffect)(()=>{br()},[br]),(0,x.useEffect)(()=>{Wn.current&&!Ir&&Promise.all([ae.e(8909),ae.e(2460)]).then(ae.bind(ae,71448)).then(fr=>{try{Qt=fr,It.current.instance=Qt.editor.create(Wn.current,{value:ge,language:Nt(ie),theme:Be,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:sn||!1}},se);const Lr=It.current.instance;let ln=[...Re.BH._menuItems].find(zt=>zt[0]._debugName=="EditorContext")[1],yn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],kt=(zt,hn)=>{var Pn,_r;let Jr=zt._first;do hn.includes((_r=(Pn=Jr.element)==null?void 0:Pn.command)==null?void 0:_r.id)&&zt._remove(Jr);while(Jr=Jr.next)};if(Ct(Lr,Qt),setTimeout(()=>{br(),It.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{gi(bn||"educoder.txt",Lr.getValue())}})},500),It.current.subscription=Lr.onDidChangeModelContent(zt=>{Xn.current?clearTimeout(Fr.current):(br(),Rt(Lr.getValue(),zt)),Fr.current=setTimeout(()=>{Xn.current=!1},500)}),window.Monaco||Ie(Qt,Nt(ie)),Bt&&(kt(ln,yn),Wn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Yr),window.removeEventListener("paste",Yr),window.addEventListener("keydown",Yr),window.addEventListener("paste",Yr)),window.Monaco=Qt,$e&&Lr.onDidBlurEditorWidget(()=>{$e(Lr.getValue())}),st&&Lr.onDidFocusEditorText(()=>{Bt&&pn(),st(Lr.getValue())}),Bt){pn();try{Lr.onDidPaste(zt=>{const hn=Lr.getSelection(),Pn=It.current.pastePos||{},_r=new Qt.Range(Pn.startLineNumber||hn.endLineNumber,Pn.startColumn||hn.endColumn,Pn.endLineNumber||hn.endLineNumber,Pn.endColumn||hn.endColumn);Lr.executeEdits("",[{range:zt.range,text:""}])})}catch(zt){}}let dn=vr();return Mt&&typeof Mt=="string"&&new Qe(Mt,Lr,Qt),qn(!0),()=>{const zt=It.current.instance;zt.dispose();const hn=zt.getModel();hn&&hn.dispose(),It.current.subscription&&It.current.subscription.dispose(),dn.unobserve(Wn.current)}}catch(Lr){}})},[]),(0,x.useEffect)(()=>{if(It.current.instance&&Ir)return document.addEventListener("keydown",ur,!1),()=>{document.removeEventListener("keydown",ur)}},[pt,Ir]),(0,x.useEffect)(()=>{let fr=It.current.instance;if(fr&&Ir){let Lr=Nt(ie);Qt.editor.setModelLanguage(fr.getModel(),Lr)}},[ie,Ir]),(0,x.useEffect)(()=>{It.current.instance&&Ir&&Qt.editor.setTheme(Be)},[Be,Ir]),(0,x.useEffect)(()=>{let fr=It.current.instance;Wt.current=le,fr&&Ir&&(fr.updateOptions(yt({},le)),setTimeout(()=>{fr.getModel().updateOptions(yt({},le))},200))},[JSON.stringify(le),Ir]),(0,x.useEffect)(()=>{let fr=It.current.instance;fr&&Ir&&fr.layout()},[on,de,Ir]);const[ci,Hi]=(0,x.useState)(At(on)),[vi,no]=(0,x.useState)(At(de)),Ki=Ft(yt({},ee),{width:ci,height:vi,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:Wn,style:Ki,onFocus:()=>{Bt&&pn()}},at&&x.createElement(ft.CopyToClipboard,{text:ge,onCopy:()=>et.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Ge.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function vn({width:_t="100%",height:Fn="100%",original:on,modified:de,language:ge,options:ie={}}){const ee=(0,x.useRef)(),[le,se]=(0,x.useState)(null);function Be(gt){let Bt;return ee.current&&(Bt=new ct.Z(Lt=>{for(let Rt of Lt)(Rt.target.offsetHeight>0||Rt.target.offsetWidth>0)&>.layout()}),Bt.observe(ee.current)),Bt}(0,x.useEffect)(()=>(ee.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(gt=>{Qt=gt;const Bt=Qt.editor.createDiffEditor(ee.current,Ft(yt({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},ie),{wordWrap:!0}));se(Bt);let Lt=Be(Bt);return()=>{Bt.dispose();const Rt=Bt.getModel();Rt&&Rt.dispose(),Lt.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{le&&le.setModel({original:Qt.editor.createModel(on,ge),modified:Qt.editor.createModel(de,ge)})},[on,de,ge,le]);const $e=At(_t),at=At(Fn),pt={width:$e,height:at};return x.createElement("div",{className:"my-diff-editor",ref:ee,style:pt})}},61584:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Oe}});var x={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},ct=ae(29787),Le=ae(25399),Je=ae(89787),He=ae(92310),Se=ae.n(He),Ue=ae(65862),fe=ae(2524),Ce=ae(59301),Oe=({className:ve,dataSource:Me=[],col:Ie=4,right:_e,bottom:we=23,precision:xe=0,wrapWidth:Ee=1200,trackEventItems:ke,loading:ze,onRemove:Qe=()=>{},isCurrent:Re=!0,showProgress:et=!1,showAlias:Ge=!1,category:lt,hiddenClick:it})=>{const ft=Math.floor((Ee-(Ie-1)*_e)/Ie),bt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Ce.createElement(ct.Z,{spinning:ze},Ce.createElement("div",{className:Se()(x.list,ve)},!!(Me!=null&&Me.length)&&(Me==null?void 0:Me.map((je,ht)=>{var Ne,We,Ut,ot,yt,Ft,Ze,Te,At,Zt,Kt,rt,Nt;const{name:Qt,id:pn,identifier:Ot,featured:vn,school_name:_t,image_url:Fn,excellent:on,is_plan:de}=je;return Ce.createElement("div",{key:pn,className:Re&&et?x.wrapisCurrent:x.wrap,style:{width:ft,marginRight:(1+ht)%Ie===0?0:_e+xe,marginBottom:we}},Ce.createElement("a",{className:x.li,onClick:ge=>{ge.preventDefault(),ge.stopPropagation(),ke&&(0,Ue.L9)([ke]),(0,Ue.xg)(`/paths/${Ot}`)}},Ce.createElement("div",{className:x.img},Ce.createElement("img",{className:x.cover,src:`${Fn}`}),(Ne=je==null?void 0:je.subject_tags)==null?void 0:Ne.map((ge,ie)=>{var ee,le;if(ie===0){const Be=(ee=bt.find($e=>$e.name==ge))==null?void 0:ee.swimg;return Ce.createElement("img",{className:x.sign,src:Be,style:{left:"-4px"}})}const se=(le=bt.find(Be=>Be.name==ge))==null?void 0:le.ptimg;return Ce.createElement("img",{className:x.sign,src:se,style:{left:`${48+52*(ie-1)+2*ie}px`}})}),Ce.createElement("div",{className:x.tagsDom},Ce.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(je==null?void 0:je.excellent)&&Ce.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"),((We=je==null?void 0:je.custom_tags)==null?void 0:We.length)>0&&Ce.createElement(Le.Z,{title:(yt=(ot=je==null?void 0:je.custom_tags)==null?void 0:ot[((Ut=je==null?void 0:je.custom_tags)==null?void 0:Ut.length)-1])==null?void 0:yt.tag_name},Ce.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},Ce.createElement("span",{className:"multi-llipsis1e text-10px"},(Te=(Ze=je==null?void 0:je.custom_tags)==null?void 0:Ze[((Ft=je==null?void 0:je.custom_tags)==null?void 0:Ft.length)-1])==null?void 0:Te.tag_name))))),lt=="hide"&&(je==null?void 0:je.studying)&&Re&&Ce.createElement("div",{className:`${x.movebq} user-path-items`,onClick:ge=>{ge.stopPropagation(),Qe(je)}},Ce.createElement("i",{className:"iconfont icon-yichu1 font12"}),Ce.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(lt)&&Re&&Ce.createElement("div",{className:`${x.hiddenbq} user-path-items`,onClick:ge=>{ge.stopPropagation(),it(je)}},Ce.createElement("i",{className:`iconfont ${lt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Ce.createElement("span",null,lt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Ce.createElement("div",{className:x.name},Ce.createElement(Le.Z,{title:Ge&&(je!=null&&je.excellent_alias_name)?Ce.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Qt}`,Ce.createElement("br",null),Ce.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${je==null?void 0:je.excellent_alias_name}`)):Qt},Ce.createElement("span",{className:x.e},Ge&&(je==null?void 0:je.excellent_alias_name)||Qt))),Re&&et&&((At=je==null?void 0:je.progress)==null?void 0:At.all_score)!=0&&Ce.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Ce.createElement(Je.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Zt=je==null?void 0:je.progress)==null?void 0:Zt.my_score)/((Kt=je==null?void 0:je.progress)==null?void 0:Kt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(rt=je==null?void 0:je.progress)==null?void 0:rt.my_score,"/",(Nt=je==null?void 0:je.progress)==null?void 0:Nt.all_score),(!Re||!et)&&Ce.createElement(Le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${_t}`},Ce.createElement("div",{className:x.unit},Ce.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),_t)),(!Re||!et)&&Ce.createElement("div",{className:x.tags},Ce.createElement("div",null,Ce.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ce.createElement("span",null,je.stages_count))),Ce.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ce.createElement("span",null,je.members_count)))))))})),!Me.length&&Ce.createElement(fe.Z,null)))}},82636:function(Vn,Tt,ae){"use strict";ae.d(Tt,{jL:function(){return He},w9:function(){return At},QD:function(){return bn},cQ:function(){return ot.Z},op:function(){return Lt},O5:function(){return Mr},_b:function(){return sn},t7:function(){return Ee},Gi:function(){return pn},YG:function(){return Nt},qp:function(){return Oe},vr:function(){return Hn},qE:function(){return st},Je:function(){return Qe},wb:function(){return Ut},cq:function(){return de},tp:function(){return Ie}});var x=ae(59301),ct={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"},Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",He=({dataSource:Yn=[],img:sr,imgWidth:jn=346,title:ur,sunTitle:br,bannerExtraContent:Xr})=>x.createElement("div",{className:ct.banner},x.createElement("div",{className:ct.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,ur),x.createElement("span",null,br)),Yn.length>0&&x.createElement("div",{className:ct.btns},Yn.map((Yr,gi)=>x.createElement("div",{key:gi,onClick:Yr.click},Yr.name,Yr.sign?x.createElement("img",{src:Le,width:39}):null))),Xr),sr&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:sr,width:jn}))),Se={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"},Ue=ae(92310),fe=ae.n(Ue),Ce=ae(89392),Oe=({dataSource:Yn=[],value:sr,onChange:jn,onTitleChange:ur,className:br,title:Xr,titleWidth:Yr=41,style:gi={},fontColor:ci="#6A7283",showCount:Hi})=>{const[vi,no]=(0,x.useState)(1),[Ki,fr]=(0,x.useState)(!1),Lr=(0,x.useRef)(null),mi=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var Xt;Yn.length!==0&&(((Xt=Lr==null?void 0:Lr.current)==null?void 0:Xt.clientHeight)>97?no(1):no(0)),Yn.length===0&&no(0),fr(!1)},[Yn]),x.createElement("div",{className:fe()(Se.row,br,"fadeIn","animated"),style:gi},x.createElement("div",{onClick:(0,Ce.throttle)(()=>ur==null?void 0:ur(),2e3),style:{width:Yr,marginTop:Ki?12:4},className:`${Se.title} ${ur?"current":""}`},Xr),x.createElement("div",{className:Ki?`${Se.tagsWrap} ${Se.tagsBorderWrap}`:Se.tagsWrap},x.createElement("div",{className:Se.bar,ref:mi,style:vi>0?{height:vi===1?97:"auto",overflow:vi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Se.tag,ref:Lr},Yn==null?void 0:Yn.map(Xt=>x.createElement("span",{onClick:()=>jn(Xt.id),key:Xt.id,style:{color:ci},className:sr===Xt.id?Se.active:""},x.createElement("span",{title:Xt.name,className:Se.name},Xt.name),!!Hi&&x.createElement("span",{className:Se.num},Xt.count))))),!!vi&&x.createElement(x.Fragment,null,vi===1?x.createElement("div",{onClick:()=>{var Xt;no(2),((Xt=Lr==null?void 0:Lr.current)==null?void 0:Xt.clientHeight)>245?fr(!0):fr(!1)},className:Se.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{mi.current.scrollTop=0,no(1),fr(!1)},className:Se.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ve={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"},Ie=({dataSource:Yn=[],value:sr,onChange:jn,className:ur,style:br={}})=>x.createElement("div",{style:br,className:fe()(ve.tabs,ur)},Yn.map(Xr=>x.createElement("span",{onClick:()=>jn(Xr.id),className:sr===Xr.id?ve.active:"",key:Xr.id},Xr.name))),_e={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},we=ae(37568),Ee=({dataSource:Yn=[],value:sr="",onChange:jn,onInputChange:ur=()=>{},className:br,style:Xr={},placeholder:Yr,allowClear:gi=!1})=>{var ci;const[Hi,vi]=(0,x.useState)(""),[no,Ki]=(0,x.useState)("");(0,x.useEffect)(()=>{var mi;let Xt=sr;(mi=JSON.stringify(sr))!=null&&mi.includes("{")&&(vi(sr.id),Xt=sr.value||"");try{Ki(decodeURIComponent(Xt||""))}catch(ln){Ki(decodeURIComponent(Xt||""))}},[sr]);const fr=()=>{jn(encodeURIComponent(no),Hi||null)},Lr=mi=>{mi!==Hi&&(vi(mi),jn(encodeURIComponent(no),mi))};return x.createElement("div",{className:fe()(_e.input,br),style:Xr},!!Yn.length&&x.createElement("div",{className:_e.dropdown},x.createElement("div",{className:_e.text},(ci=Yn.find(mi=>mi.id===Hi))==null?void 0:ci.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:_e.b1}),x.createElement("b",{className:_e.b2})),x.createElement("div",{className:_e.menu},Yn.map((mi,Xt)=>x.createElement("div",{key:Xt,onClick:()=>Lr(mi.id)},mi.name)))),x.createElement(we.default,{onPressEnter:fr,value:no,onChange:mi=>{Ki(mi.target.value),ur(encodeURIComponent(mi.target.value),Hi||null)},placeholder:Yr,variant:"borderless",allowClear:gi,onClear:()=>jn("",Hi||null)}),x.createElement("i",{onClick:fr,className:"iconfont icon-sousuo9 font14 current"}))},ke={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"},Qe=({value:Yn,onChange:sr,className:jn,total:ur,pageSize:br,style:Xr={}})=>{const Yr=Yn<2,gi=Yn>=Math.ceil(ur/br);return ur<=br?x.createElement(x.Fragment,null):x.createElement("div",{className:fe()(ke.quickPager,jn),style:Xr},x.createElement("div",{onClick:()=>{Yr||sr(Yn-1,"prev")},className:Yr?ke.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{gi||sr(Yn+1,"next")},className:gi?ke.disabled:""},"\u4E0B\u4E00\u9875"))},Re={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"},et=ae(29787),Ge=ae(25399),lt=ae(63139),it=ae(74128),ft=ae(65862),bt=ae(96908),je=ae(57177),ht=ae(81378),Ne=ae(2524),Ut=({className:Yn,dataSource:sr=[],col:jn=4,right:ur,bottom:br=23,precision:Xr=0,wrapWidth:Yr=1200,trackEventItems:gi,loading:ci})=>{const Hi=Math.floor((Yr-(jn-1)*ur)/jn);return x.createElement(et.Z,{spinning:ci},x.createElement("div",{className:fe()(Re.list,Yn)},!!sr.length&&sr.map((vi,no)=>{const{name:Ki,id:fr,identifier:Lr,power:mi,cover_image_id:Xt,pic:ln}=vi;return x.createElement("div",{className:Re.wrap,key:fr,style:{width:Hi,marginRight:(1+no)%jn===0?0:ur+Xr,marginBottom:br}},x.createElement("a",{target:"_blank",href:`/shixuns/${Lr}/challenges`,className:Re.li,onClick:yn=>{yn.preventDefault(),gi&&(0,ft.L9)([gi]),mi&&(0,ft.xg)(`/shixuns/${Lr}/challenges`)}},x.createElement("div",{className:Re.img},x.createElement("img",{className:Re.cover,src:`${ln}`}),vi.is_jupyter&&x.createElement("img",{className:Re.sign,src:bt}),vi.is_jupyter_lab&&x.createElement("img",{className:Re.sign,src:je}),vi.is_unity_3d&&x.createElement("img",{className:Re.sign,src:ht})),x.createElement("div",{className:Re.name},x.createElement(Ge.Z,{title:Ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:Re.e},Ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:Re.tags},x.createElement(Ge.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,vi.challenges_count))),!!vi.myshixuns_count&&x.createElement(Ge.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,vi.myshixuns_count))),x.createElement(Ge.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,vi.level))),x.createElement("div",{className:Re.rate},x.createElement(lt.Z,{allowHalf:!0,disabled:!0,defaultValue:vi.score_info}),x.createElement("span",null,"\xA0",vi.score_info?`${vi.score_info}\u5206`:"5\u5206")))),!mi&&x.createElement("div",{className:Re.lockWrap},x.createElement("img",{src:`${it.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!sr.length&&x.createElement(Ne.Z,null)))},ot=ae(61584),yt={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",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ze=ae(59301),At=({className:Yn,dataSource:sr=[],col:jn=4,right:ur,bottom:br=23,precision:Xr=0,wrapWidth:Yr=1200,trackEventItems:gi,loading:ci,category:Hi,hiddenClick:vi,handleVery:no=()=>!0,isCurrent:Ki})=>{const fr=Math.floor((Yr-(jn-1)*ur)/jn);return Ze.createElement(et.Z,{spinning:ci},Ze.createElement("div",{className:fe()(yt.list,Yn)},!!sr.length&&sr.map((Lr,mi)=>{const{subject_identifier:Xt,id:ln,identifier:yn,power:kt}=Lr,dn=Lr.is_public!=0&&Lr.is_public;return Ze.createElement("div",{className:yt.wrap,key:ln,style:{width:fr,marginRight:(1+mi)%jn===0?0:ur+Xr,marginBottom:br}},Ze.createElement("a",{className:yt.li,onClick:zt=>{zt.preventDefault(),no(Lr==null?void 0:Lr.first_category_url)&&(gi&&(0,ft.L9)([gi]),(0,ft.xg)(Lr.first_category_url))}},Ze.createElement("div",{className:yt.top},Ze.createElement(Ge.Z,{title:Lr.name},Ze.createElement("div",{className:yt.name},Lr.name)),Ze.createElement("img",{className:yt.img,src:it.Z.IMG_SERVER+"/images/"+Lr.avatar_url}),Ze.createElement("div",{className:yt.text,title:Lr.creator},Lr.creator),Xt&&Ze.createElement("div",{className:yt.btns},Ze.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ze.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),dn&&Ze.createElement("div",{className:yt.sign},"\u516C\u5F00"),Ki&&Ze.createElement("div",{className:yt.hidden,onClick:zt=>{zt.stopPropagation(),vi(Lr)}},Ze.createElement("i",{className:`iconfont ${Hi=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Hi=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),Ze.createElement("div",{className:yt.bottom},Lr.visits>0&&Ze.createElement(Ge.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-liulanyan"}),Ze.createElement("span",null,Lr.visits))),Lr.course_members_count>0&&Ze.createElement(Ge.Z,{title:"\u6210\u5458",placement:"bottom"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-chengyuan"}),Lr.course_members_count)),Lr.tasks_count>0&&Ze.createElement(Ge.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-zuoye"}),Lr.tasks_count)),Lr.is_end?Ze.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ze.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Lr.is_accessible&&Ze.createElement("div",{className:yt.lockWrap},Ze.createElement("img",{src:`${it.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ze.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!sr.length&&Ze.createElement(Ne.Z,null)))},Zt={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"},Kt=ae(65582),Nt=({dataSource:Yn=[],value:sr,onChange:jn,className:ur,style:br={},tabBarExtraContent:Xr})=>x.createElement("div",{className:fe()(Zt.tabs,ur),style:br},x.createElement("div",{className:Zt.tabsWrap},Yn.map((Yr,gi)=>!(Yr!=null&&Yr.hide)&&x.createElement("aside",{className:Zt.tab,onClick:()=>{jn(Yr.id),Yr.link&&Kt.history.push(Yr.link)},key:gi},x.createElement("div",{className:sr===Yr.id?Zt.active:""},Yr.name),(Yr==null?void 0:Yr.resetCount)==null&&(Yr==null?void 0:Yr.total)!==void 0&&x.createElement("span",null,"\uFF08",Yr==null?void 0:Yr.total,"\uFF09"),(Yr==null?void 0:Yr.resetCount)!==void 0&&(Yr==null?void 0:Yr.total)!==void 0&&x.createElement(Ge.Z,{title:(Yr==null?void 0:Yr.tip)!=null?Yr==null?void 0:Yr.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Yr==null?void 0:Yr.resetCount),"/",x.createElement("span",null,Yr==null?void 0:Yr.total),"\uFF09"))))),x.createElement("div",{className:Zt.tabBar},Xr)),pn=({className:Yn,style:sr={},children:jn})=>x.createElement("div",{className:fe()(Yn),style:sr},jn),Ot={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},vn=ae(75727),_t=ae(93041);const Fn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var de=({sortValue:Yn,dropValue:sr,className:jn,onSort:ur,onDrop:br,dataSource:Xr=Fn})=>{var Yr;return x.createElement("div",{className:fe()(Ot.orderWrap,jn)},x.createElement(vn.Z,{dropdownRender:()=>x.createElement(_t.default,null,Xr.map((gi,ci)=>x.createElement(_t.default.Item,{key:ci,onClick:()=>br(gi.id)},gi.name)))},x.createElement("span",{className:Ot.orderTextWrap},(Yr=Xr.find(gi=>sr===gi.id))==null?void 0:Yr.name)),x.createElement("span",{className:Ot.orderIconWrap},x.createElement("span",{className:Ot.orderAsc},x.createElement("i",{className:Yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ot.cursorPointer} ${Ot.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ot.cursorPointer}`,onClick:()=>ur(Yn==="asc"?"desc":"asc")})),x.createElement("span",{className:Ot.orderDesc},x.createElement("i",{className:Yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ot.cursorPointer} ${Ot.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ot.cursorPointer}`,onClick:()=>ur(Yn==="asc"?"desc":"asc")}))))},ge={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"},ie=ae(7939),ee=Object.defineProperty,le=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,$e=(Yn,sr,jn)=>sr in Yn?ee(Yn,sr,{enumerable:!0,configurable:!0,writable:!0,value:jn}):Yn[sr]=jn,at=(Yn,sr)=>{for(var jn in sr||(sr={}))se.call(sr,jn)&&$e(Yn,jn,sr[jn]);if(le)for(var jn of le(sr))Be.call(sr,jn)&&$e(Yn,jn,sr[jn]);return Yn},pt=(Yn,sr)=>{var jn={};for(var ur in Yn)se.call(Yn,ur)&&sr.indexOf(ur)<0&&(jn[ur]=Yn[ur]);if(Yn!=null&&le)for(var ur of le(Yn))sr.indexOf(ur)<0&&Be.call(Yn,ur)&&(jn[ur]=Yn[ur]);return jn},gt=(Yn,sr,jn)=>new Promise((ur,br)=>{var Xr=ci=>{try{gi(jn.next(ci))}catch(Hi){br(Hi)}},Yr=ci=>{try{gi(jn.throw(ci))}catch(Hi){br(Hi)}},gi=ci=>ci.done?ur(ci.value):Promise.resolve(ci.value).then(Xr,Yr);gi((jn=jn.apply(Yn,sr)).next())}),Lt=Yn=>{var sr=Yn,{className:jn,style:ur,children:br,loading:Xr=!1,openLoading:Yr,onClick:gi=()=>{},size:ci="middle",shape:Hi="round"}=sr,vi=pt(sr,["className","style","children","loading","openLoading","onClick","size","shape"]);const[no,Ki]=(0,x.useState)(!1);return x.createElement(ie.ZP,at({onClick:(0,Ce.throttle)(fr=>gt(void 0,null,function*(){Yr&&Ki(!0);try{yield gi(fr)}catch(Lr){console.log("error",Lr)}Yr&&Ki(!1)}),2e3,{leading:!0,trailing:!1}),className:fe()(ge.btn,ge[`${ci}-${Hi}`],jn),style:ur,size:ci,shape:Hi,loading:no||Xr},vi),br)},Rt={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"},st=({className:Yn,style:sr,children:jn=null,onClick:ur,title:br})=>x.createElement("div",{className:fe()(Rt.head,Yn),style:sr},x.createElement("span",{className:"primary-hover",onClick:ur},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:br},br),x.createElement("div",{className:Rt.node},jn)),$t={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"},bn=({confirmShow:Yn=!0,confirmTitle:sr,confirmClick:jn,cancelShow:ur=!0,cancelTitle:br,cancelClick:Xr,className:Yr,style:gi,confirmLoading:ci=!1})=>x.createElement("div",{className:fe()($t.btns,Yr),style:gi},Yn&&x.createElement(ie.ZP,{loading:ci,onClick:jn,type:"primary",className:$t.confirm},sr),ur&&x.createElement(ie.ZP,{onClick:Xr,className:$t.cancel},br)),an={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"},Hn=({className:Yn,style:sr={},LeftContent:jn,children:ur,RightContent:br})=>x.createElement("div",{className:fe()(an.fixedBottom,Yn),style:sr},x.createElement("div",{className:an.wrap},x.createElement("div",{className:an.left},jn),x.createElement("div",{className:an.center},ur),x.createElement("div",{className:an.right},br))),En={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},sn=({className:Yn,style:sr={},dataSource:jn=[]})=>x.createElement("div",{className:fe()(En.crumbs,Yn),style:sr},jn.map((ur,br)=>brKt.history.push(ur.path)},ur.name):x.createElement("span",null,ur.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:br,style:{color:"#5F6368"}},ur.name))),Dn=ae(11938),Wn=Object.defineProperty,It=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Fr=(Yn,sr,jn)=>sr in Yn?Wn(Yn,sr,{enumerable:!0,configurable:!0,writable:!0,value:jn}):Yn[sr]=jn,ri=(Yn,sr)=>{for(var jn in sr||(sr={}))mn.call(sr,jn)&&Fr(Yn,jn,sr[jn]);if(rn)for(var jn of rn(sr))Xn.call(sr,jn)&&Fr(Yn,jn,sr[jn]);return Yn},Hr=(Yn,sr)=>It(Yn,Wt(sr)),Ir=(Yn,sr)=>{var jn={};for(var ur in Yn)mn.call(Yn,ur)&&sr.indexOf(ur)<0&&(jn[ur]=Yn[ur]);if(Yn!=null&&rn)for(var ur of rn(Yn))sr.indexOf(ur)<0&&Xn.call(Yn,ur)&&(jn[ur]=Yn[ur]);return jn};const{Countdown:qn}=Dn.default;var Mr=Yn=>{var sr=Yn,{onChange:jn}=sr,ur=Ir(sr,["onChange"]);const[br,Xr]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof br=="number"&&br>=0&&jn(br)},[br]);const Yr=gi=>{const ci=Math.floor(gi/1e3);Xr(ci)};return x.createElement(qn,Hr(ri({},ur),{onChange:Yr}))}},31103:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ct}});var x=ae(59301);function ct(Le,Je){const He=(0,x.useRef)();(0,x.useEffect)(()=>{He.current=Le}),(0,x.useEffect)(()=>{function Se(){He.current()}if(Je!==null){let Ue=setInterval(Se,Je);return()=>clearInterval(Ue)}},[Je])}},27127:function(Vn,Tt,ae){"use strict";ae.r(Tt),ae.d(Tt,{default:function(){return ti}});var x=ae(59301),ct=ae(66649),Le=ae.n(ct),Je=ae(86129),He=ae.n(Je),Se=ae(38147),Ue=ae(65582),fe=ae(62957),Ce=ae(6767),oe=ae(458),Oe=ae(91882),ve=ae(77019),Me=ae(5269),Ie=ae(7939),_e=ae(25399),we=ae(37285),xe=ae(37568),Ee=ae(70858),ke=ae(82326),ze=ae(31709),Qe=ae(27812),Re=ae(95869),et=ae(87169),Ge=ae(26227),lt=ae(74128),it=ae(41867),ft=ae(65862),bt=ae(42441),je={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy",fa:"fa____jywp"},ht={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Ne=({shixunHomeworks:tr,data:Un,globalSetting:cr,loading:Ei,dispatch:Kn})=>{var gn;const{shixunWorkReport:$n}=tr;let nr=((gn=Un==null?void 0:Un.efficiency_list)==null?void 0:gn.length)-parseInt(Un==null?void 0:Un.myself_eff[0]);const pr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ni){return Ni.name===$n.username?"\u59D3\u540D\uFF1A"+$n.username+"
\u5B66\u53F7\uFF1A "+$n.user_id+"
\u6548\u7387\uFF1A"+(Un==null?void 0:Un.myself_eff[1]):Ni.name+":"+Ni.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Un==null?void 0:Un.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:$n.username,xAxis:nr,yAxis:Un==null?void 0:Un.myself_eff[1],value:Un==null?void 0:Un.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),zr=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ni){var fi=Ni.value;if(Ni.name===$n.username)return"\u59D3\u540D\uFF1A"+$n.username+"
\u5B66\u53F7\uFF1A "+$n.user_id+"
\u5F97\u5206\uFF1A"+(Un==null?void 0:Un.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:ht,data:Un==null?void 0:Un.consume_list,symbolSize:function(Ni){return Math.round(Ni[2])},markPoint:{data:[{name:$n.username,xAxis:Un==null?void 0:Un.myself_object[0],yAxis:Un==null?void 0:Un.myself_object[1],value:Un==null?void 0:Un.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return x.createElement(x.Fragment,null,x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Me.Z,{flex:"800px"},x.createElement(bt.Z,{style:{width:750,height:580},option:pr()})),x.createElement(Me.Z,{flex:"1"},x.createElement("aside",{className:je.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},$n.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},$n.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",x.createElement("span",{className:"ml30 c-orange"},Un==null?void 0:Un.myself_eff[1])),x.createElement("li",null,x.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",x.createElement("span",{className:"ml30 c-orange"},Un==null?void 0:Un.myself_eff[0]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",x.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",x.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),x.createElement("aside",{className:"ml60 pr30"},x.createElement(ve.Z,null,x.createElement(Me.Z,{flex:"800px"},x.createElement(bt.Z,{style:{width:750,height:580},option:zr()})),x.createElement(Me.Z,{flex:"1"},x.createElement("aside",{className:je.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},$n.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},$n.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u80FD\u529B")," ",x.createElement("span",{className:"ml30 c-orange"},Un==null?void 0:Un.myself_object[1]))),x.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",x.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",x.createElement("br",null)))))))};var We=(0,Ue.connect)(({shixunHomeworks:tr,loading:Un,globalSetting:cr})=>({shixunHomeworks:tr,globalSetting:cr,loading:Un.effects}))(Ne),Ut=ae(50258),ot=ae(4875),yt=({defaultValue:tr,onBlur:Un,max:cr,className:Ei="game-score",disabled:Kn=!1})=>{const[gn,$n]=(0,x.useState)(tr);(0,x.useEffect)(()=>{$n(tr)},[tr]);function nr(zr){$n(zr)}function pr(){gn!==tr&&Un(gn>cr?cr:gn)}return x.createElement(ot.Z,{max:cr,min:0,className:Ei,value:gn,disabled:Kn,onChange:nr,onBlur:pr})},Ft=ae(25374),Ze={md:"md___TEmcT"},Te=ae(59301),At=Object.defineProperty,Zt=Object.defineProperties,Kt=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,pn=(tr,Un,cr)=>Un in tr?At(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,Ot=(tr,Un)=>{for(var cr in Un||(Un={}))Nt.call(Un,cr)&&pn(tr,cr,Un[cr]);if(rt)for(var cr of rt(Un))Qt.call(Un,cr)&&pn(tr,cr,Un[cr]);return tr},vn=(tr,Un)=>Zt(tr,Kt(Un));const _t=ke.default.Option,Fn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var on=(tr=>(tr[tr.SET_PATH=0]="SET_PATH",tr[tr.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",tr))(on||{});function de(tr,Un){switch(Un.type){case 0:return vn(Ot({},tr),{selectedPath:Un.payload});case 1:return vn(Ot({},tr),{passedContent:Un.payload});default:throw new Error}}var ge=({path:tr,game_id:Un,onPathChange:cr,autoHeight:Ei,diff_code_count:Kn,data:gn,game_codes_cn:$n})=>{var nr,pr,zr,Ni;const fi=tr.split("\uFF1B").filter(Ti=>!!Ti),[Li,hi]=(0,x.useReducer)(de,{selectedPath:fi[0],passedContent:{language:"python",content:""}}),{selectedPath:Si,passedContent:wi}=Li;function Ci(Ti){hi({type:0,payload:Ti})}const yi={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Te.createElement(Te.Fragment,null,Te.createElement("h2",null," ",Te.createElement("span",null,$n,Te.createElement(_e.Z,{title:Te.createElement("div",null,Te.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Te.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Te.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Te.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Te.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Kn&&Te.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Kn),Te.createElement("span",null,Te.createElement(ke.default,{style:{width:200},value:Si,onChange:Ci}," ",fi.map(Ti=>Te.createElement(_t,{key:Ti,value:Ti},Ti))," "))," "),(Si==null?void 0:Si.split(".")[1])==="md"&&Te.createElement(Ft.Z,{height:300,autoHeight:Ei,defaultValue:((pr=(nr=gn==null?void 0:gn.filter(Ti=>Ti.path===Si))==null?void 0:nr[0])==null?void 0:pr.content)||"",className:Ze.md}),(Si==null?void 0:Si.split(".")[1])!=="md"&&Te.createElement(Ut.ZP,{height:300,language:wi.language,value:((Ni=(zr=gn==null?void 0:gn.filter(Ti=>Ti.path===Si))==null?void 0:zr[0])==null?void 0:Ni.content)||"",autoHeight:Ei,theme:"default",isCopy:!0,options:Fn}))},ie=ae(33270),ee=ae(96249),le=ae.n(ee),se=Object.defineProperty,Be=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,pt=(tr,Un,cr)=>Un in tr?se(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,gt=(tr,Un)=>{for(var cr in Un||(Un={}))$e.call(Un,cr)&&pt(tr,cr,Un[cr]);if(Be)for(var cr of Be(Un))at.call(Un,cr)&&pt(tr,cr,Un[cr]);return tr};const Bt=tr=>React.createElement("svg",gt({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},tr),React.createElement("path",{d:"M512 327.68c245.76 0 445.44 153.6 445.44 348.16C957.44 870.4 757.76 1024 512 1024c-245.76-5.12-445.44-153.6-445.44-348.16 0-194.56 199.68-348.16 445.44-348.16z",fill:"#DBDCFF"}),React.createElement("path",{d:"M645.12 947.2c117.76-10.24 158.72-143.36 163.84-266.24 0-128-128-174.08-291.84-174.08-163.84 0-291.84 46.08-291.84 174.08 0 112.64 35.84 240.64 143.36 261.12 30.72 5.12 261.12 10.24 276.48 5.12z",fill:"#111ACC"}),React.createElement("path",{d:"M404.48 686.08c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c-5.12-10.24 10.24-25.6 25.6-25.6zm220.16 0c15.36 0 25.6 10.24 25.6 25.6v61.44c0 15.36-10.24 25.6-25.6 25.6-15.36 0-25.6-10.24-25.6-25.6v-61.44c0-10.24 10.24-25.6 25.6-25.6z",fill:"#FFF"}),React.createElement("path",{d:"M916.48 527.36c56.32 0 107.52 71.68 107.52 153.6 0 87.04-61.44 153.6-117.76 153.6 0 0 51.2-76.8 51.2-158.72s-40.96-148.48-40.96-148.48zm-808.96 5.12-5.12 5.12c-10.24 20.48-35.84 76.8-35.84 138.24 0 76.8 35.84 138.24 51.2 158.72C61.44 834.56 0 768 0 680.96c0-81.92 51.2-148.48 107.52-148.48z",fill:"#8187FF"}),React.createElement("path",{d:"M512 0c20.48 0 30.72 15.36 30.72 30.72v220.16c0 20.48-15.36 30.72-30.72 30.72s-30.72-10.24-30.72-30.72V30.72C481.28 15.36 496.64 0 512 0z",fill:"#701CDC"}),React.createElement("path",{d:"M384 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-35.84-15.36-35.84-30.72V76.8c0-20.48 15.36-30.72 35.84-30.72z",fill:"#371CDC"}),React.createElement("path",{d:"M645.12 46.08c20.48 0 30.72 15.36 30.72 30.72v133.12c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72V76.8c0-20.48 15.36-30.72 30.72-30.72z",fill:"#AB2FF0"}),React.createElement("path",{d:"M250.88 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-35.84-10.24-35.84-30.72v-40.96c0-20.48 15.36-35.84 35.84-35.84z",fill:"#6D57F2"}),React.createElement("path",{d:"M778.24 87.04c20.48 0 30.72 15.36 30.72 30.72v46.08c0 20.48-15.36 30.72-30.72 30.72s-30.72-15.36-30.72-30.72v-40.96c0-20.48 15.36-35.84 30.72-35.84z",fill:"#C86FFA"}));var Lt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI3LjY4YzI0NS43NiAwIDQ0NS40NCAxNTMuNiA0NDUuNDQgMzQ4LjE2Qzk1Ny40NCA4NzAuNCA3NTcuNzYgMTAyNCA1MTIgMTAyNGMtMjQ1Ljc2LTUuMTItNDQ1LjQ0LTE1My42LTQ0NS40NC0zNDguMTYgMC0xOTQuNTYgMTk5LjY4LTM0OC4xNiA0NDUuNDQtMzQ4LjE2eiIgZmlsbD0iI0RCRENGRiIvPjxwYXRoIGQ9Ik02NDUuMTIgOTQ3LjJjMTE3Ljc2LTEwLjI0IDE1OC43Mi0xNDMuMzYgMTYzLjg0LTI2Ni4yNCAwLTEyOC0xMjgtMTc0LjA4LTI5MS44NC0xNzQuMDgtMTYzLjg0IDAtMjkxLjg0IDQ2LjA4LTI5MS44NCAxNzQuMDggMCAxMTIuNjQgMzUuODQgMjQwLjY0IDE0My4zNiAyNjEuMTIgMzAuNzIgNS4xMiAyNjEuMTIgMTAuMjQgMjc2LjQ4IDUuMTJ6IiBmaWxsPSIjMTExQUNDIi8+PHBhdGggZD0iTTQwNC40OCA2ODYuMDhjMTUuMzYgMCAyNS42IDEwLjI0IDI1LjYgMjUuNnY2MS40NGMwIDE1LjM2LTEwLjI0IDI1LjYtMjUuNiAyNS42LTE1LjM2IDAtMjUuNi0xMC4yNC0yNS42LTI1LjZ2LTYxLjQ0Yy01LjEyLTEwLjI0IDEwLjI0LTI1LjYgMjUuNi0yNS42em0yMjAuMTYgMGMxNS4zNiAwIDI1LjYgMTAuMjQgMjUuNiAyNS42djYxLjQ0YzAgMTUuMzYtMTAuMjQgMjUuNi0yNS42IDI1LjYtMTUuMzYgMC0yNS42LTEwLjI0LTI1LjYtMjUuNnYtNjEuNDRjMC0xMC4yNCAxMC4yNC0yNS42IDI1LjYtMjUuNnoiIGZpbGw9IiNGRkYiLz48cGF0aCBkPSJNOTE2LjQ4IDUyNy4zNmM1Ni4zMiAwIDEwNy41MiA3MS42OCAxMDcuNTIgMTUzLjYgMCA4Ny4wNC02MS40NCAxNTMuNi0xMTcuNzYgMTUzLjYgMCAwIDUxLjItNzYuOCA1MS4yLTE1OC43MnMtNDAuOTYtMTQ4LjQ4LTQwLjk2LTE0OC40OHptLTgwOC45NiA1LjEyLTUuMTIgNS4xMmMtMTAuMjQgMjAuNDgtMzUuODQgNzYuOC0zNS44NCAxMzguMjQgMCA3Ni44IDM1Ljg0IDEzOC4yNCA1MS4yIDE1OC43MkM2MS40NCA4MzQuNTYgMCA3NjggMCA2ODAuOTZjMC04MS45MiA1MS4yLTE0OC40OCAxMDcuNTItMTQ4LjQ4eiIgZmlsbD0iIzgxODdGRiIvPjxwYXRoIGQ9Ik01MTIgMGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjIyMC4xNmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xMC4yNC0zMC43Mi0zMC43MlYzMC43MkM0ODEuMjggMTUuMzYgNDk2LjY0IDAgNTEyIDB6IiBmaWxsPSIjNzAxQ0RDIi8+PHBhdGggZD0iTTM4NCA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zNS44NC0xNS4zNi0zNS44NC0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzUuODQtMzAuNzJ6IiBmaWxsPSIjMzcxQ0RDIi8+PHBhdGggZD0iTTY0NS4xMiA0Ni4wOGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjEzMy4xMmMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MlY3Ni44YzAtMjAuNDggMTUuMzYtMzAuNzIgMzAuNzItMzAuNzJ6IiBmaWxsPSIjQUIyRkYwIi8+PHBhdGggZD0iTTI1MC44OCA4Ny4wNGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjQ2LjA4YzAgMjAuNDgtMTUuMzYgMzAuNzItMzAuNzIgMzAuNzJzLTM1Ljg0LTEwLjI0LTM1Ljg0LTMwLjcydi00MC45NmMwLTIwLjQ4IDE1LjM2LTM1Ljg0IDM1Ljg0LTM1Ljg0eiIgZmlsbD0iIzZENTdGMiIvPjxwYXRoIGQ9Ik03NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",Rt=ae(48530),Ct=ae(95097),st=ae(30214),$t=ae(77254),Vt=ae(27183),bn=ae(2524);const an=({shixunHomeworks:tr,classroomList:Un,items:cr,dispatch:Ei})=>{var Kn;const{shixunWorkReport:gn}=tr,$n=(0,x.useRef)(null),[nr,pr]=(0,x.useState)(!1),[zr,Ni]=(0,x.useState)(!1);(0,x.useEffect)(()=>{if($n.current)return $n.current.addEventListener("mousedown",fi),()=>{var Li;(Li=$n.current)==null||Li.removeEventListener("mousedown",fi)}},[$n.current]),(0,x.useEffect)(()=>{setTimeout(()=>{$n.current&&$n.current.clientHeight>=500&&pr(!0)},500)},[(Kn=gn==null?void 0:gn.student_work_test_result_info)==null?void 0:Kn.content,$n.current]);function fi(Li){const hi=(Ci,yi)=>{if(Ci.localName===yi)return Ci;for(let Ti=0,eo=Ci;eo=eo.parentNode;Ti++){if(eo.localName===yi)return eo;if(eo==document.documentElement)return!1}},Si=Li.target,wi=hi(Si,"a");if(console.log([wi],wi==null?void 0:wi.href,44),!(wi!=null&&wi.href)&&Si.tagName.toUpperCase()==="IMG"){let Ci=Si.src||Si.getAttribute("src");Ci&&Ci.indexOf("/images/avatars/User")===-1&&(Li.stopPropagation(),Li.preventDefault(),$t.Z.publish("preview-image",Ci))}}return x.createElement("div",null,(gn==null?void 0:gn.is_open_submit_test_result)&&x.createElement(x.Fragment,null,x.createElement(st.Z,null),x.createElement("strong",{className:"c-black font14"},"\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"),cr?x.createElement("div",{style:{marginTop:10},className:""},x.createElement("div",{className:"py-20px px-36px",style:{background:"#F6F7F9"}},x.createElement("div",{ref:$n,style:{maxHeight:!zr&&"500px",overflow:"hidden"}},x.createElement(Ct.Z,{value:cr==null?void 0:cr.content})),nr&&x.createElement("div",{className:"w-full current",onClick:()=>{Ni(!zr)}},x.createElement(we.Z,{variant:"dashed",style:{borderColor:"#3061D0",marginBottom:"0px"},dashed:!0},x.createElement("span",{style:{color:"#3061D0"}},zr?"\u6536\u8D77":"\u5C55\u5F00")))),x.createElement(Vt.Z,{className:"px-36px",showDimensions:!1,dataSource:cr==null?void 0:cr.test_result_files,callback:()=>{}})):x.createElement(bn.Z,{customText:"\u5B66\u751F\u672A\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"})))};var en=(0,Ue.connect)(({shixunHomeworks:tr,loading:Un,globalSetting:cr,classroomList:Ei})=>({shixunHomeworks:tr,globalSetting:cr,loading:Un.effects,classroomList:Ei}))(an),Hn=Object.defineProperty,En=Object.defineProperties,Mt=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,Dn=Object.prototype.hasOwnProperty,Wn=Object.prototype.propertyIsEnumerable,It=(tr,Un,cr)=>Un in tr?Hn(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,Wt=(tr,Un)=>{for(var cr in Un||(Un={}))Dn.call(Un,cr)&&It(tr,cr,Un[cr]);if(sn)for(var cr of sn(Un))Wn.call(Un,cr)&&It(tr,cr,Un[cr]);return tr},rn=(tr,Un)=>En(tr,Mt(Un)),mn=(tr,Un,cr)=>new Promise((Ei,Kn)=>{var gn=pr=>{try{nr(cr.next(pr))}catch(zr){Kn(zr)}},$n=pr=>{try{nr(cr.throw(pr))}catch(zr){Kn(zr)}},nr=pr=>pr.done?Ei(pr.value):Promise.resolve(pr.value).then(gn,$n);nr((cr=cr.apply(tr,Un)).next())});const Xn=({shixunHomeworks:tr,autoHeight:Un,classroomList:cr,dispatch:Ei})=>{var Kn,gn,$n,nr,pr,zr,Ni,fi;const{shixunWorkReport:Li}=tr,{stage_list:hi,work_id:Si,ai_code_evaluation_promote:wi}=Li,[Ci,yi]=(0,x.useState)(!1),[Ti,eo]=(0,x.useState)(!0),[mo,Yi]=(0,x.useState)({left:0,top:0,bottom:0,right:0}),Lo=(0,x.useRef)(null),[Mi,Mo]=(0,x.useState)(!1),[Ao,Xo]=(0,x.useState)(""),bo=(0,x.useRef)(null),to=(yr,ei)=>{var co;const{clientWidth:Jo,clientHeight:No}=window.document.documentElement,ma=(co=Lo.current)==null?void 0:co.getBoundingClientRect();ma&&Yi({left:-ma.left+ei.x,right:Jo-(ma.right-ei.x),top:-ma.top+ei.y,bottom:No-(ma.bottom-ei.y)})},Co=(0,Ue.useParams)(),Vo=(0,it.GJ)(),_n={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,x.useEffect)(()=>{console.log(Co)},[]);const Do=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(yr,ei,co)=>x.createElement("div",null,yr,ei.is_work_end_evaluate&&x.createElement(ft.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:yr=>Le()(yr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(yr,ei)=>x.createElement("span",{className:"c-blue current",onClick:()=>mn(void 0,null,function*(){var co,Jo;const No=yield(0,ie.Lk)(ei.game_identifier,{path:(Jo=(co=ei.path)==null?void 0:co.replace(/\;/g,";"))==null?void 0:Jo.split(";")[0],query_index:ei.query_index,homework_common_id:Co.categoryId});(No==null?void 0:No.status)===0&&(Mo(No),yi(!0))})},ei.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Vi=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(yr,ei)=>{var co;return x.createElement("span",null,x.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:lt.Z.IMG_SERVER+"/images/"+((co=ei==null?void 0:ei.user)==null?void 0:co.image_url)}),yr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:yr=>x.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",yr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:yr=>x.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",yr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:yr=>x.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",yr?Le()(yr).format("YYYY-MM-DD HH:mm"):"--")}];function Ur(yr,ei){return mn(this,null,function*(){const{challenge_id:co}=hi[yr],Jo=yield Ei({type:"shixunHomeworks/changeScore",payload:{categoryId:Co.homeworkId,type:"report",score:ei,challenge_id:co}});yield Ei({type:"shixunHomeworks/getShixunWorkReport",payload:Wt({},Co)}),Jo.status===0&&Ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function qr(yr,ei){return(0,Se.U2)(`student_works/${Si}/rep_passed_content.json`,{path:ei,game_id:yr})}const[ni,Wr]=(0,x.useState)((Kn=Li==null?void 0:Li.shixun_detail)==null?void 0:Kn.map(yr=>rn(Wt({},yr),{commentEdit:!1}))),ji=yr=>yr.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[ro,Kr]=(0,x.useState)(!1),oi=(yr,ei)=>mn(void 0,null,function*(){var co,Jo;Kr(!0),bo.current=new Rt.Z(lt.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-plus-latest",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:wi,shixun_id:Li==null?void 0:Li.myshixun_identifier,game_id:yr==null?void 0:yr.id,source:"shixun",is_chat:!1,type:9,description:yr==null?void 0:yr.challenge_description,query:(Jo=(co=yr==null?void 0:yr.game_codes)==null?void 0:co[0])==null?void 0:Jo.content,homework_common_id:Co.categoryId}),yield new Promise((No,ma)=>{bo.current.on("data",Oo=>{const qo=[...ni];qo[ei].comment=ji(Oo==null?void 0:Oo.full),Wr(qo)}),bo.current.on("done",()=>mn(void 0,null,function*(){var Oo;Kr(!1);const qo=[...ni],jo=yield(0,Se.ZP)(`/api/student_works/${Co==null?void 0:Co.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:yr==null?void 0:yr.challenge_id,comment:qo[ei].comment}});if((jo==null?void 0:jo.status)==0){Ce.ZP.success("\u8BC4\u4EF7\u6210\u529F");const aa=[...ni];aa[ei].comment_updated_at=(Oo=jo==null?void 0:jo.data)==null?void 0:Oo.comment_updated_at,Wr(aa)}})),bo.current.startStream()})});return x.createElement(x.Fragment,null,ni==null?void 0:ni.map(function(yr,ei){var co,Jo,No,ma;return x.createElement("div",{key:ei},x.createElement("aside",{className:"pl30 pr30",key:ei},x.createElement("div",{className:`${je.shixunTitle} mt10`},x.createElement("div",null,x.createElement("span",{className:"fa fa-code "}),x.createElement("strong",{className:"c-black"},"\u7B2C",ei+1,"\u5173 ",x.createElement(Ue.Link,{className:"c-black",target:"_blank",to:`/tasks/${Co.coursesId}/${Co.categoryId}/${yr.game_identifier}`},yr.subject))),Vo?x.createElement("span",null,"\u8C03\u5206\uFF1A",x.createElement(yt,{className:"game-score",max:hi[ei].game_score_full,defaultValue:hi[ei].game_score,disabled:!((co=hi==null?void 0:hi[ei])!=null&&co.checked)&&((Jo=hi==null?void 0:hi[ei])==null?void 0:Jo.is_show),onBlur:Oo=>{var qo;if((0,it.Rm)()&&!((qo=cr.AssistantObject.practice)!=null&&qo.can_appraise)){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}Ur(ei,Oo)}})):null),x.createElement("div",{className:"font16 mt10"},yr.st===0&&(yr.path?typeof(yr==null?void 0:yr.game_codes_cn)=="string"?x.createElement("aside",{className:je.shixunWrp},x.createElement(ge,{game_codes_cn:yr==null?void 0:yr.game_codes_cn,autoHeight:Un,path:yr.path,game_id:yr.id,data:yr.game_codes,diff_code_count:yr.diff_code_count,onPathChange:qr})):x.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),yr.st===1&&(yr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),x.createElement("aside",{className:"mt10 font16"},(No=yr.outputs)!=null&&No.length?x.createElement(Ee.default,{columns:Do,pagination:{hideOnSinglePage:!0},dataSource:yr.outputs.map(Oo=>Wt(Wt({},yr),Oo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),x.createElement(en,{items:yr==null?void 0:yr.student_work_test_result_info}),x.createElement("aside",{className:"mt10"},x.createElement("div",null,x.createElement("div",{style:{display:"flex",alignItems:"center"}},x.createElement("strong",{className:"c-black font14"},"\u4EE3\u7801\u8BC4\u4EF7"),!(yr!=null&&yr.commentEdit)&&!(0,it.dE)()&&(yr!=null&&yr.comment?x.createElement(x.Fragment,null,x.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",yr!=null&&yr.comment_updated_at?Le()(yr==null?void 0:yr.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>mn(this,null,function*(){ro?Ce.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):fe.default.confirm({title:"\u63D0\u793A",content:"\u786E\u8BA4\u662F\u5426\u91CD\u65B0\u751F\u6210\u8BC4\u8BBA\uFF1F",okText:"\u786E\u8BA4",icon:null,cancelText:"\u53D6\u6D88",onOk:()=>mn(this,null,function*(){oi(yr,ei)})})})},x.createElement("i",{className:"iconfont icon-zhongxinshengcheng1 mr8 font14"}),"\u91CD\u65B0\u751F\u6210")):x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"auto",cursor:"pointer"},onClick:()=>mn(this,null,function*(){ro?Ce.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):oi(yr,ei)})},x.createElement("img",{src:Lt,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(yr!=null&&yr.commentEdit)&&!(0,it.dE)()&&x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const Oo=[...ni];Oo[ei].commentEdit=!0,Wr(Oo),Xo(yr==null?void 0:yr.comment)}},x.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(yr==null?void 0:yr.commentEdit)&&x.createElement(x.Fragment,null,x.createElement("div",{className:je.pj_close,onClick:()=>{const Oo=[...ni];Oo[ei].commentEdit=!1,Wr(Oo)}},"\u53D6\u6D88"),x.createElement("div",{className:je.pj_save,onClick:()=>mn(this,null,function*(){var Oo;const qo=yield(0,Se.ZP)(`/api/student_works/${Co==null?void 0:Co.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:yr==null?void 0:yr.challenge_id,comment:Ao}});if((qo==null?void 0:qo.status)==0){Ce.ZP.success("\u8BC4\u4EF7\u6210\u529F");const jo=[...ni];jo[ei].commentEdit=!1,jo[ei].comment=Ao,jo[ei].comment_updated_at=(Oo=qo==null?void 0:qo.data)==null?void 0:Oo.comment_updated_at,Wr(jo)}})},"\u4FDD\u5B58"))),!(yr!=null&&yr.commentEdit)&&x.createElement("div",{className:je.pingjia},yr!=null&&yr.comment?x.createElement(Ct.Z,{value:yr==null?void 0:yr.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(yr==null?void 0:yr.commentEdit)&&x.createElement(xe.default.TextArea,{defaultValue:Ao,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:Oo=>Xo(Oo.target.value)}))),x.createElement("aside",{className:"mt10 font16"},((ma=yr==null?void 0:yr.adjust_review_score_list)==null?void 0:ma.length)>0&&(0,it.GJ)()&&x.createElement("div",null,x.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),x.createElement(Ee.default,{columns:Vi,pagination:{hideOnSinglePage:!0},dataSource:yr.adjust_review_score_list,showHeader:!1})))))}),x.createElement(fe.default,{open:Ci,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Mo({}),yi(!1)},onCancel:()=>{Mo({}),yi(!1)},title:x.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Ti&&eo(!1)},onMouseOut:()=>{eo(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:yr=>x.createElement(le(),{disabled:Ti,bounds:mo,nodeRef:Lo,onStart:(ei,co)=>to(ei,co)},x.createElement("div",{ref:Lo},yr))},x.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},x.createElement("div",{style:{display:"flex",alignItems:"center"}},((gn=Mi==null?void 0:Mi.data)==null?void 0:gn.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?x.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):x.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),x.createElement("div",{style:{color:(($n=Mi==null?void 0:Mi.data)==null?void 0:$n.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(nr=Mi==null?void 0:Mi.data)==null?void 0:nr.output_detail)),x.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Le()((pr=Mi==null?void 0:Mi.data)==null?void 0:pr.created_at).format("YYYY-MM-DD HH:mm:ss"))),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(zr=Mi==null?void 0:Mi.data)==null?void 0:zr.ts_time,"s")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ni=Mi==null?void 0:Mi.data)==null?void 0:Ni.ts_mem,"mb")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((fi=Mi==null?void 0:Mi.data)==null?void 0:fi.test_set_passed_rate)*100,"%")))),x.createElement(Ut.ZP,{height:500,autoHeight:Un,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Mi==null?void 0:Mi.content)||""))),options:_n})))};var Fr=(0,Ue.connect)(({shixunHomeworks:tr,loading:Un,globalSetting:cr,classroomList:Ei})=>({shixunHomeworks:tr,globalSetting:cr,loading:Un.effects,classroomList:Ei}))(Xn),ri=ae(28284),Hr={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Ir=ae(27185),qn=ae(59301),vr=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,jn=(tr,Un,cr)=>Un in tr?vr(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,ur=(tr,Un)=>{for(var cr in Un||(Un={}))Yn.call(Un,cr)&&jn(tr,cr,Un[cr]);if(Mr)for(var cr of Mr(Un))sr.call(Un,cr)&&jn(tr,cr,Un[cr]);return tr},br=(tr,Un,cr)=>new Promise((Ei,Kn)=>{var gn=pr=>{try{nr(cr.next(pr))}catch(zr){Kn(zr)}},$n=pr=>{try{nr(cr.throw(pr))}catch(zr){Kn(zr)}},nr=pr=>pr.done?Ei(pr.value):Promise.resolve(pr.value).then(gn,$n);nr((cr=cr.apply(tr,Un)).next())});const Xr=({shixunHomeworks:tr,dispatch:Un,classroomList:cr})=>{const{shixunWorkReport:Ei}=tr,Kn=(0,Ue.useParams)(),[gn,$n]=(0,x.useState)(!1),[nr]=ri.default.useForm(),[pr,zr]=fe.default.useModal(),[Ni,fi]=(0,x.useState)(!1),[Li,hi]=(0,x.useState)(!1);(0,x.useEffect)(()=>{var Ci,yi,Ti,eo;tr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&nr.setFieldsValue({comment:(yi=(Ci=tr.actionTabs.selectArrs)==null?void 0:Ci.data)==null?void 0:yi.work_comment,hidden_comment:(eo=(Ti=tr.actionTabs.selectArrs)==null?void 0:Ti.data)==null?void 0:eo.work_comment_hidden})},[tr.actionTabs.key]);const Si=()=>br(void 0,null,function*(){const Ci=nr.getFieldsValue();(yield(0,Se.ZP)(`/api/student_works/${Kn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Ci.hidden_comment,comment:Ci.comment}})).status===0&&(Ce.ZP.success("\u8BC4\u9605\u6210\u529F"),nr.resetFields(),Un({type:"shixunHomeworks/setActionTabs",payload:{}}),Un({type:"shixunHomeworks/getShixunWorkReport",payload:ur({},Kn)}))}),wi=[{title:"\u5173\u5361",dataIndex:"name",render:(Ci,yi,Ti)=>Ti+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Ci,yi,Ti)=>qn.createElement("div",null,Ci,yi.complete_status===4&&qn.createElement(ft.vA,{status:yi.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5173\u5361\u7C7B\u522B",dataIndex:"checked",render:Ci=>qn.createElement("span",{style:{color:Ci?"green":"#13B5D1"}},Ci?"\u5FC5\u505A":"\u9009\u505A")},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Ci=>Ci?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Ci,yi)=>qn.createElement("div",null,qn.createElement("span",{style:{color:parseFloat(yi.game_score_full)!==parseFloat(Ci)?"#E30000":"#53C41B"}},Ci),"/",yi.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Ci,yi)=>(0,it.GJ)()?qn.createElement(yt,{max:yi.game_score_full,defaultValue:parseFloat(Ci),disabled:!(yi!=null&&yi.checked)&&(yi==null?void 0:yi.is_show),onBlur:Ti=>br(void 0,null,function*(){var eo,mo;if((0,it.Rm)()&&!((eo=cr.AssistantObject.practice)!=null&&eo.can_appraise)){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}const Yi=yield Un({type:"shixunHomeworks/changeScore",payload:{categoryId:Kn.homeworkId,type:"report",score:Ti,challenge_id:yi.challenge_id}});(mo=tr==null?void 0:tr.actionTabs)==null||mo.fn(),yield Un({type:"shixunHomeworks/getShixunWorkReport",payload:ur({},Kn)}),Yi.status===0&&Ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Ci}];return qn.createElement(qn.Fragment,null,zr,qn.createElement(fe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:tr.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>br(void 0,null,function*(){var Ci;if((0,it.Rm)()&&!((Ci=cr.AssistantObject.practice)!=null&&Ci.can_appraise)){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}const yi=nr.getFieldsValue();JSON.stringify(yi)==="{}"||yi.hidden_comment===""&&yi.comment===""?$n(!0):Si()}),onCancel:()=>{Un({type:"shixunHomeworks/setActionTabs",payload:{}})}},qn.createElement(ve.Z,{justify:"space-between",className:Hr.info},qn.createElement(Me.Z,null,qn.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u59D3\u540D"),qn.createElement("span",{className:Hr.blackContent},Ei==null?void 0:Ei.username)),qn.createElement(Me.Z,null,qn.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u5B66\u53F7"),qn.createElement("span",{className:Hr.blackContent},(Ei==null?void 0:Ei.student_id)||"--")),qn.createElement(Me.Z,null,qn.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u73ED\u7EA7"),qn.createElement("span",{className:Hr.blackContent},(Ei==null?void 0:Ei.group_name)||"--")),qn.createElement(Me.Z,null,qn.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u5173\u5361\u5F97\u5206"),qn.createElement("span",{className:Hr.orangeContent},(Ei==null?void 0:Ei.challenge_score)||"--")),qn.createElement(Me.Z,null,qn.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u6548\u7387\u5206"),qn.createElement("span",{className:Hr.orangeContent},(Ei==null?void 0:Ei.eff_score)||"--")),qn.createElement(Me.Z,null,qn.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u8865\u4EA4\u6263\u5206"),qn.createElement("span",{className:Hr.orangeContent},(Ei==null?void 0:Ei.late_penalty)||"--")),qn.createElement(Me.Z,null,qn.createElement("span",{className:`${Hr.label} ${Hr.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),qn.createElement("span",{className:Hr.orangeContent},(Ei==null?void 0:Ei.work_score)||"--"))),qn.createElement(ri.default,{form:nr,onChange:()=>{gn&&$n(!1)}},qn.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},qn.createElement(Me.Z,null,qn.createElement("div",{className:`${Hr.inputLabel} ${Hr.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),qn.createElement(Me.Z,null,qn.createElement(Ir.Z,{isShowComponent:(0,it.G5)(),ModalProps:{open:Ni,onCancel:()=>{fi(!1)}},onDataSelect:(Ci,yi)=>br(void 0,[Ci,yi],function*(Ti,{node:eo}){const mo=()=>{nr.setFieldsValue({comment:eo==null?void 0:eo.value}),fi(!1)};if(nr.getFieldValue("comment")){pr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:mo});return}mo()})},qn.createElement(Ie.ZP,{style:{padding:0,height:"auto"},icon:qn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Ci=>{fi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),qn.createElement(ri.default.Item,{name:"comment"},qn.createElement(xe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),qn.createElement(ve.Z,{wrap:!1,align:"middle",justify:"space-between"},qn.createElement(Me.Z,null,qn.createElement("div",{className:`${Hr.inputLabel} ${Hr.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),qn.createElement(Me.Z,null,qn.createElement(Ir.Z,{isShowComponent:(0,it.G5)(),ModalProps:{open:Li,onCancel:()=>{hi(!1)}},onDataSelect:(Ci,yi)=>br(void 0,[Ci,yi],function*(Ti,{node:eo}){const mo=()=>{nr.setFieldsValue({hidden_comment:eo==null?void 0:eo.value}),hi(!1)};if(nr.getFieldValue("hidden_comment")){pr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:mo});return}mo()})},qn.createElement(Ie.ZP,{style:{padding:0,height:"auto"},icon:qn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Ci=>{hi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),qn.createElement(ri.default.Item,{name:"hidden_comment"},qn.createElement(xe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),gn&&qn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),qn.createElement("div",{className:Hr.tableTitle},"\u5173\u5361\u6210\u7EE9"),qn.createElement(Ee.default,{className:Hr.scoreTable,dataSource:Ei.stage_list,rowKey:"challenge_id",pagination:!1,columns:wi,scroll:{x:"max-content"}})))};var Yr=(0,Ue.connect)(({shixunHomeworks:tr,classroomList:Un})=>({shixunHomeworks:tr,classroomList:Un}))(Xr),gi=ae(52217),ci=ae(88761),Hi=ae(44164),vi=ae.n(Hi),no={wrap:"wrap___LZOi9",line:"line___oju0L"},Ki=ae(65078),Lr=({detailData:tr})=>{var Un;return x.createElement("div",{className:no.wrap},x.createElement(Ki.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Ki.Uf)(tr),(tr==null?void 0:tr.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},x.createElement(Ki.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Ki.Uf)(tr)}),!!((Un=tr==null?void 0:tr.photos)!=null&&Un.length)&&x.createElement(x.Fragment,null,x.createElement("div",{className:no.line}),x.createElement(Ki._s,{dataSource:tr==null?void 0:tr.photos,right:21,col:4,wrapWidth:1140}))))},mi=ae(84454),Xt=ae(59301),ln=Object.defineProperty,yn=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Pn=(tr,Un,cr)=>Un in tr?ln(tr,Un,{enumerable:!0,configurable:!0,writable:!0,value:cr}):tr[Un]=cr,_r=(tr,Un)=>{for(var cr in Un||(Un={}))zt.call(Un,cr)&&Pn(tr,cr,Un[cr]);if(dn)for(var cr of dn(Un))hn.call(Un,cr)&&Pn(tr,cr,Un[cr]);return tr},Jr=(tr,Un)=>yn(tr,kt(Un)),di=(tr,Un)=>{var cr={};for(var Ei in tr)zt.call(tr,Ei)&&Un.indexOf(Ei)<0&&(cr[Ei]=tr[Ei]);if(tr!=null&&dn)for(var Ei of dn(tr))Un.indexOf(Ei)<0&&hn.call(tr,Ei)&&(cr[Ei]=tr[Ei]);return cr},ir=(tr,Un,cr)=>new Promise((Ei,Kn)=>{var gn=pr=>{try{nr(cr.next(pr))}catch(zr){Kn(zr)}},$n=pr=>{try{nr(cr.throw(pr))}catch(zr){Kn(zr)}},nr=pr=>pr.done?Ei(pr.value):Promise.resolve(pr.value).then(gn,$n);nr((cr=cr.apply(tr,Un)).next())});function Ar(tr){const Un=(Kn,gn)=>{if(Kn.localName===gn)return Kn;for(let $n=0,nr=Kn;nr=nr.parentNode;$n++){if(nr.localName===gn)return nr;if(nr==document.documentElement)return!1}},cr=tr.target,Ei=Un(cr,"a");if(console.log([Ei],Ei==null?void 0:Ei.href,44),!(Ei!=null&&Ei.href)&&cr.tagName.toUpperCase()==="IMG"){let Kn=cr.src||cr.getAttribute("src");Kn&&Kn.indexOf("/images/avatars/User")===-1&&(tr.stopPropagation(),tr.preventDefault(),$t.Z.publish("preview-image",Kn))}}const ar=tr=>{var Un=tr,{shixunHomeworks:cr,classroomList:Ei,globalSetting:Kn,loading:gn,user:$n,dispatch:nr}=Un,pr=di(Un,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),zr,Ni,fi,Li;const[hi,Si]=(0,x.useState)(_r({},(0,Ue.useParams)())),wi=(0,Ue.useParams)(),[Ci,yi]=(0,x.useState)({page:1,page_size:10}),Ti=(0,Ue.useLocation)(),[]=(0,x.useState)([]),[eo,mo]=(0,x.useState)(),Yi=(0,x.useRef)(),Lo=(0,x.useRef)(),[Mi,Mo]=(0,x.useState)(!1),[Ao,Xo]=(0,x.useState)(!0),[bo,to]=(0,x.useState)(!1),[Co,Vo]=(0,x.useState)(!1),{shixunWorkReport:_n}=cr,[Do,Vi]=(0,x.useState)(),[Ur,qr]=(0,x.useState)([]),[ni,Wr]=(0,x.useState)(),[ji,ro]=(0,x.useState)("all"),Kr=(0,it.GJ)(),[oi,yr]=(0,x.useState)(new(He())),[ei,co]=(0,x.useState)(0),[Jo,No]=(0,x.useState)(!1),[ma,Oo]=(0,x.useState)(!1),[qo,jo]=(0,x.useState)(!1),[aa,fa]=(0,x.useState)(""),[Wa,Ds]=(0,x.useState)(!1),[zs,is]=(0,x.useState)(!0),[us,Uo]=(0,x.useState)(0),go=(0,x.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Fa=(0,x.useRef)(),[hs,el]=(0,x.useState)(!1),[tl,nl]=(0,x.useState)(!1),hl=(0,x.useRef)(null),lu=()=>ir(void 0,null,function*(){($n.userInfo.is_teacher||$n.userInfo.admin)&&(Ds(!0),is(!1))});(0,x.useEffect)(()=>{var ki;(0,it.Rm)()&&Ei.AssistantObject.practice&&!((ki=Ei.AssistantObject.practice)!=null&&ki.can_view)&&Ue.history.replace("/403")},[(zr=Ei.AssistantObject.practice)==null?void 0:zr.can_view]),(0,x.useEffect)(()=>{lu(),console.log("\u6253\u5370\u7684------",_n),Fa.current=_n==null?void 0:_n.next_student_work_id,fa(_n.repeat_minus_score)},[_n,$n]),(0,x.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",_n.work_score),Uo(_n.work_score)},[_n.work_score,aa]),(0,x.useEffect)(()=>(nr({type:"globalSetting/footerToggle",payload:!1}),()=>{nr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,x.useEffect)(()=>{if(hl.current)return hl.current.addEventListener("mousedown",Ar),()=>{var ki;(ki=hl.current)==null||ki.removeEventListener("mousedown",Ar)}},[hl.current]),(0,x.useEffect)(()=>{setTimeout(()=>{hl.current&&hl.current.clientHeight>=500&&nl(!0)},500)},[(Ni=_n==null?void 0:_n.student_work_test_result_info)==null?void 0:Ni.content,hl.current]),(0,x.useEffect)(()=>{var ki;if(_n){let na=[];(ki=_n==null?void 0:_n.target_test_sets)==null||ki.map((Ta,iu)=>{var Pl;(Pl=Ta==null?void 0:Ta.targets)==null||Pl.map((ps,Cu)=>{var pl;ps.name=Ta==null?void 0:Ta.name,ps.total_target_score=Ta==null?void 0:Ta.total_target_score,ps.actual_target_score=Ta==null?void 0:Ta.actual_target_score,ps.rowSpan=Cu===0?(pl=Ta==null?void 0:Ta.targets)==null?void 0:pl.length:0,ps.order=iu+1,na.push(ps)})}),Vi(na),(0,it.Rm)()&&nr({type:"classroomList/getAssistantPermissions",payload:{course_id:hi.coursesId}})}},[_n]),(0,x.useEffect)(()=>{cr.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(_n==null?void 0:_n.students_count)>0&&!Ao&&setTimeout(()=>{ga("all")},800)},[_n==null?void 0:_n.homework_common_id,Ao]),(0,x.useEffect)(()=>{Si(_r({},wi))},[Ti.pathname]);const Js=()=>{document.body.scrollIntoView()},Kl=ki=>{Ci.page=ki,yi(_r({},Ci)),Zl(Ci,ji)},Zl=(ki,na)=>ir(void 0,null,function*(){to(!0);const Ta=yield(0,Se.ZP)(`/api/student_works/${hi==null?void 0:hi.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Jr(_r({},ki),{challenge_id:na=="all"?null:na})});(Ta==null?void 0:Ta.status)===0&&(qr(Ta==null?void 0:Ta.list),Wr(Ta==null?void 0:Ta.count)),to(!1)});function Lu(){return ir(this,null,function*(){go.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const dl=()=>{document.querySelectorAll("canvas").forEach(ki=>{(!ki.clientWidth||!ki.clientHeight)&&ki.remove()})},FA=()=>{Yi.current.offsetHeight>62e3?Vo(!1):Vo(!0)},hA=ki=>ir(void 0,null,function*(){const na=yield(0,ci.t1)({homeworkId:ki||hi.homeworkId});mo(na==null?void 0:na.data)}),ga=ki=>ir(void 0,null,function*(){var na,Ta,iu,Pl;el(!0);let ps=0,Cu;Cu=fe.default.info({width:460,title:Xt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",Xt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Xt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Xt.createElement("span",{className:"c-blue"},ps+1),"/",ki!=="all"?1:_n==null?void 0:_n.students_count,Xt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:je.modal,onOk:()=>{}});const pl={margin:[0,0],filename:`${_n!=null&&_n.student_id&&(_n==null?void 0:_n.student_id)!="--"?_n==null?void 0:_n.student_id:""}${_n.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Kc=oi.folder(_n==null?void 0:_n.shixun_name);function IA(xu){return ir(this,null,function*(){yield hA(xu||Fa.current);const sa=yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r({homeworkId:xu||Fa.current},go.current||{})});Fa.current=sa==null?void 0:sa.next_student_work_id,Js(),ps++,setTimeout(()=>ir(this,null,function*(){var Wu,dc,Mu,Ns;dl();const pA=Kc.folder(`${sa==null?void 0:sa.group_name}`).folder(`${sa!=null&&sa.student_id&&(sa==null?void 0:sa.student_id)!="--"?sa.student_id+"+":""}${sa==null?void 0:sa.username}`),_A=document.querySelector("#export-all").children;let bl=vi()();for(let Cl=0;Cl<_A.length;Cl++)yield bl.set(pl).from(_A[Cl]).toContainer().toCanvas().toPdf().get("pdf").then(rl=>ir(this,null,function*(){Cl<_A.length-1&&(yield rl.addPage())}));if(pA.file(`${sa!=null&&sa.student_id&&(sa==null?void 0:sa.student_id)!="--"?sa.student_id+"+":""}${sa==null?void 0:sa.username}.pdf`,bl.output("blob")),((Wu=sa==null?void 0:sa.shixun_detail)==null?void 0:Wu.length)>0&&((Mu=(dc=sa==null?void 0:sa.shixun_detail)==null?void 0:dc.filter(Cl=>{var rl;return((rl=Cl==null?void 0:Cl.game_codes)==null?void 0:rl.length)>0}))==null?void 0:Mu.length)>0){const Cl=pA.folder("\u4EE3\u7801\u6587\u4EF6");(Ns=sa==null?void 0:sa.shixun_detail)==null||Ns.map((rl,$l)=>{var Gl,Oc;if(((Gl=rl==null?void 0:rl.game_codes)==null?void 0:Gl.length)>0){const nd=Cl.folder(`\u7B2C${$l+1}\u5173-${rl.subject}-${rl.id}`);(Oc=rl==null?void 0:rl.game_codes)==null||Oc.map(_l=>{nd.file(`${_l.filename}.txt`,_l==null?void 0:_l.content)})}})}Cu.update({content:Xt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Xt.createElement("span",{className:"c-blue"},ps),"/",sa==null?void 0:sa.students_count,Xt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),ps==(sa==null?void 0:sa.students_count)?(Cu.destroy(),Ia()):IA()}),2200)})}if(ki!=="all"||(_n==null?void 0:_n.students_count)<2){dl(),Js();const xu=Lo.current.children;let sa=vi()();const dc=Kc.folder(`${_n==null?void 0:_n.group_name}`).folder(`${_n!=null&&_n.student_id&&(_n==null?void 0:_n.student_id)!="--"?(_n==null?void 0:_n.student_id)+"+":""}${_n==null?void 0:_n.username}`);for(let Mu=0;Muir(void 0,null,function*(){Mu0&&((iu=(Ta=_n==null?void 0:_n.shixun_detail)==null?void 0:Ta.filter(Mu=>{var Ns;return((Ns=Mu==null?void 0:Mu.game_codes)==null?void 0:Ns.length)>0}))==null?void 0:iu.length)>0){const Mu=dc.folder("\u4EE3\u7801\u6587\u4EF6");(Pl=_n==null?void 0:_n.shixun_detail)==null||Pl.map((Ns,eA)=>{var pA,_A;if(((pA=Ns==null?void 0:Ns.game_codes)==null?void 0:pA.length)>0){const bl=Mu.folder(`\u7B2C${eA+1}\u5173-${Ns.subject}-${Ns.id}`);(_A=Ns==null?void 0:Ns.game_codes)==null||_A.map(Cl=>{bl.file(`${Cl.filename}.txt`,Cl==null?void 0:Cl.content)})}})}Cu.destroy(),Ia();return}else IA(_n==null?void 0:_n.first_student_work_id)}),Ia=()=>{oi.generateAsync({type:"blob"}).then(function(ki){console.log(_n,"shixunWorkReport");const na=document.createElement("a");na.href=window.URL.createObjectURL(ki),na.download=(_n==null?void 0:_n.shixun_name)+".zip",document.body.appendChild(na);const Ta=document.createEvent("MouseEvents");Ta.initEvent("click",!1,!1),na.dispatchEvent(Ta),document.body.removeChild(na),yr(new(He()))}),Vo(!1)};(0,x.useEffect)(()=>{va()},[hi.homeworkId]);const va=()=>ir(void 0,null,function*(){Xo(!0),yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},hi),go.current||{})}),hA(),(0,it.GJ)()&&Lu(),Xo(!1)}),Ca=[{title:"\u5173\u5361",dataIndex:"name",render:(ki,na,Ta)=>Ta+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ki,na,Ta)=>Xt.createElement("div",null,ki,na.complete_status===4&&Xt.createElement(ft.vA,{status:na.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(ki,na,Ta)=>ki||"- -"},{title:"\u5173\u5361\u7C7B\u522B",dataIndex:"checked",render:ki=>Xt.createElement("span",{style:{color:ki?"green":"#13B5D1"}},ki?"\u5FC5\u505A":"\u9009\u505A")},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:ki=>ki?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(ki,na)=>Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(na.myself_experience)!==parseFloat(ki)?"red":"green"}},na.myself_experience),"/",ki)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(ki,na)=>Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(na.game_score_full)!==parseFloat(ki)?"red":"green"}},ki),"/",na.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(ki,na)=>Kr?Xt.createElement(yt,{max:na.game_score_full,defaultValue:parseFloat(ki),disabled:!(na!=null&&na.checked)&&(na==null?void 0:na.is_show),onBlur:Ta=>ir(void 0,null,function*(){var iu;if((0,it.Rm)()&&!((iu=Ei.AssistantObject.practice)!=null&&iu.can_appraise)){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}const Pl=yield nr({type:"shixunHomeworks/changeScore",payload:{categoryId:hi.homeworkId,type:"report",score:Ta,challenge_id:na.challenge_id}});Zl({page:1,page_size:10},"all"),yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},hi),go.current||{})}),Pl.status===0&&Ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ki}];let qa=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(ki,na,Ta)=>({children:ki,props:{rowSpan:na.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(ki,na,Ta)=>({children:ki,props:{rowSpan:na.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(ki,na,Ta)=>Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(na.actual_test_score)!==parseFloat(ki)?"red":"green"}},na.actual_test_score),"/",ki)},{title:"\u6307\u6807\u603B\u5206",render:(ki,na,Ta)=>({children:Xt.createElement("div",null,Xt.createElement("span",{style:{color:parseFloat(na.actual_target_score)!==parseFloat(ki)?"red":"green"}},na.actual_target_score),"/",ki),props:{rowSpan:na.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Xa=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:ki=>Xt.createElement("span",null,ki?Le()(ki).format("YYYY-MM-DD HH:mm"):"--")}],Ha=ki=>{nr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{ki==="next"?Ue.history.push(`/classrooms/${hi.coursesId}/shixun_homework/${hi.categoryId}/${_n==null?void 0:_n.next_student_work_id}/comment`):Ue.history.push(`/classrooms/${hi.coursesId}/shixun_homework/${hi.categoryId}/${_n==null?void 0:_n.pre_student_work_id}/comment`)},200)},Wl=ki=>{fa(""),ki.target.value&&(console.log("\u8FDB\u6765",_n),ki.target.value=ki.target.value>_n.repeat_setting_score?_n.repeat_setting_score:ki.target.value,fa(ki.target.value))},uu=()=>ir(void 0,null,function*(){const ki=yield(0,Se.ZP)(`/api/student_works/${_n==null?void 0:_n.work_id}/update_repeat_score`,{method:"put",body:{score:aa}});yield nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},hi),go.current||{})}),ki.status===0&&Ce.ZP.info("\u64CD\u4F5C\u6210\u529F")});return Xt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},Xt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},Xt.createElement(oe.Z,{loading:gn["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Xt.createElement("div",{className:"edu-container"},_n.course_id&&Xt.createElement("section",{className:"animated fadeIn"},Xt.createElement("aside",{className:""},_n.category&&Xt.createElement(Oe.Z,{separator:">"},Xt.createElement(Oe.Z.Item,null,Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework`},_n.course_name)),Xt.createElement(Oe.Z.Item,null,Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework/${_n.category.main?"":_n.category.category_id}`},_n.category.category_name)),Xt.createElement(Oe.Z.Item,null,Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework/${_n.homework_common_id}/detail${(0,it.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),Xt.createElement(Oe.Z.Item,null,_n.username))),Xt.createElement("aside",{className:[je.title1,"mt20"].join(" ")},Xt.createElement(ve.Z,{align:"middle"},Xt.createElement(Me.Z,{flex:1},Xt.createElement(Ue.Link,{to:`/classrooms/${_n.course_id}/shixun_homework/${_n.homework_common_id}/detail`},Xt.createElement(Qe.Z,{className:"font16 c-black"})),Xt.createElement("strong",{className:"font20 ml5"},_n==null?void 0:_n.homework_name),Xt.createElement(ft.VV,{temporary:!0,status:_n.homework_status})),Xt.createElement(Me.Z,{className:je.title1_right},_n.view_tpi&&Xt.createElement(Ie.ZP,{onClick:()=>{var ki,na;(0,ft.xg)(`/tasks/${_n==null?void 0:_n.course_id}/${_n==null?void 0:_n.homework_common_id}/${(na=(ki=_n==null?void 0:_n.shixun_detail)==null?void 0:ki[0])==null?void 0:na.game_identifier}`)}},Xt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,it.GJ)()&&_n.homework_end===!1&&!!_n.myshixun_id&&Xt.createElement(Ie.ZP,{className:"ml10",onClick:()=>ir(void 0,null,function*(){yield nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:_n.myshixun_identifier},homework_common_id:wi.categoryId}})})},Xt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),Xt.createElement(Ie.ZP,{className:"ml10",onClick:()=>{var ki;if(!(!(_n!=null&&_n.is_old_data_for_time)&&(0,ft.Ye)(nr))){if((0,it.Rm)()&&!((ki=Ei.AssistantObject.practice)!=null&&ki.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}ga("")}},loading:Mi},Xt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,it.GJ)()&&(_n==null?void 0:_n.students_count)>1&&Xt.createElement(Ie.ZP,{className:"ml10",onClick:()=>{var ki;if(!(!(_n!=null&&_n.is_old_data_for_time)&&(0,ft.Ye)(nr))){if((0,it.Rm)()&&!((ki=Ei.AssistantObject.practice)!=null&&ki.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}fe.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:Xt.createElement(_e.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:Xt.createElement(_e.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{ga("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,mi.jj)({categoryId:hi.categoryId,coursesId:hi.coursesId},"shixun_report")}}})}}},Xt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),Xt.createElement("aside",{className:"mt30 relative"})),Xt.createElement("aside",{className:"edu-container bg-white",ref:Yi},Xt.createElement("div",{id:"export-all",ref:Lo},Xt.createElement("div",{id:"export-all-1"},Xt.createElement("div",{className:je.title},Xt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),Xt.createElement("div",null,(0,it.GJ)()&&Xt.createElement(Ie.ZP,{className:"mr20",type:"primary",onClick:()=>{nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:_n.user_id,data:_r({},_n)},fn:()=>Zl({page:1,page_size:10},"all")}})}},Xt.createElement(Re.Z,null),_n.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),Xt.createElement(we.Z,{style:{marginTop:0}}),Xt.createElement(ve.Z,{className:"pl30 pr30"},Xt.createElement(Me.Z,null,Xt.createElement("img",{className:je.userPic,src:`${lt.Z.IMG_SERVER}/images/${_n.image_url}`,alt:_n.username})),Xt.createElement(Me.Z,null,Xt.createElement("span",{className:"font16 ml40"},_n.username),Xt.createElement(ft.vA,{status:_n.compelete_status}),Xt.createElement("ul",{className:je.userInfo},Xt.createElement("li",null,"\u5B66\u53F7\uFF1A",_n.student_id||"--"),Xt.createElement("li",null,"\u5206\u73ED\uFF1A",_n.group_name||"--"),Xt.createElement("br",null),Xt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",Xt.createElement("span",{className:"c-red"},_n.complete_count),"/",Xt.createElement("span",{className:"c-red"},_n.checked_challenge_count)),Xt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",Xt.createElement("span",{className:"c-red"},_n.current_complete_count||"-"),"/",Xt.createElement("span",{className:"c-red"},_n.checked_challenge_count)),Xt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",_n&&_n.efficiency===null?"--":_n&&_n.efficiency),Xt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",_n&&_n.max_efficiency===null?"--":_n&&_n.max_efficiency))),Xt.createElement("ul",{className:[je.listItem,"mt10"].join(" ")},Xt.createElement("li",null,Xt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),Xt.createElement("div",{className:"c-light-black mt20"},_n&&_n.passed_time===null||_n&&_n.passed_time==="--"?"--":Le()(_n&&_n.passed_time).format("YYYY-MM-DD HH:mm"))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",Xt.createElement("i",{onClick:ki=>{ki.stopPropagation(),ki.preventDefault(),No(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),Xt.createElement("div",{className:"c-light-black mt20"},_n==null?void 0:_n.human_training_time_rules)),Xt.createElement("li",null,Xt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",Xt.createElement("i",{onClick:ki=>{ki.stopPropagation(),ki.preventDefault(),Oo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),Xt.createElement("div",{className:"c-light-black mt20"},_n.time_consuming)),Xt.createElement("li",null,Xt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),Xt.createElement("div",{className:"mt20"},_n.evaluate_count)),(_n==null?void 0:_n.eff_score_full)&&Xt.createElement(Xt.Fragment,null,Xt.createElement("li",null,Xt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},_n.challenge_score),"/",Xt.createElement("span",{className:"c-light-black"},_n.challenge_score_full))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u6548\u7387\u5206"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},_n.eff_score),"/",Xt.createElement("span",{className:"c-light-black"},_n.eff_score_full)))),(_n==null?void 0:_n.have_repeat)&&(_n==null?void 0:_n.repeat_minus_score)!==0&&Xt.createElement("li",{style:{position:"relative"}},Xt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},Xt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),Xt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},_n!=null&&_n.review_rate?Xt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(_n!=null&&_n.review_id&&Wa)localStorage.setItem("studentDetial",window.location.pathname),Ue.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${hi.categoryId}/review_detail/${_n==null?void 0:_n.review_id}`});else return}},_n.review_rate.toFixed(1),"%"):Xt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),Wa?Xt.createElement("div",{className:"mt20"},Xt.createElement(xe.default,{style:{width:"45px",height:"22px"},value:aa,onChange:ki=>{Wl(ki)},onBlur:uu,disabled:zs})," / ",_n==null?void 0:_n.repeat_setting_score):Xt.createElement("div",{className:"mt20"},_n==null?void 0:_n.repeat_minus_score," / ",_n==null?void 0:_n.repeat_setting_score)),console.log("sssssssssssssssssssssss",_n==null?void 0:_n.have_repeat,_n==null?void 0:_n.repeat_minus_score),(_n==null?void 0:_n.have_repeat)&&(_n==null?void 0:_n.repeat_minus_score)===0&&Xt.createElement("li",null,Xt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),Xt.createElement("div",{className:"mt20"}," - -")),!(_n!=null&&_n.have_repeat)&&Xt.createElement("li",null,Xt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),Xt.createElement("div",{className:"mt20"}," - -")),Xt.createElement("li",null,Xt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",null,_n.late_penalty||"- -"))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},us),"/",Xt.createElement("span",{className:"c-light-black"},_n.all_work_score))),Xt.createElement("li",null,Xt.createElement("strong",null,"\u603B\u8BC4"),Xt.createElement("div",{className:"mt20"},Xt.createElement("span",{className:"c-orange"},_n.overall_appraisal))))),Xt.createElement(we.Z,{style:{margin:0}}),(_n.work_comment_hidden||_n.work_comment)&&Xt.createElement("div",null,Xt.createElement(ve.Z,{align:"middle"},Xt.createElement(Me.Z,{flex:1},Xt.createElement("h1",{className:je.title},"\u70B9\u8BC4\u5185\u5BB9")),Xt.createElement(Me.Z,{className:"pr30"},(0,it.GJ)()&&Xt.createElement(Ie.ZP,{onClick:()=>ir(void 0,null,function*(){fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Xt.createElement(et.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return ir(this,null,function*(){(yield(0,ci.gZ)({comment_id:_n.comment_id,homeworkId:hi.homeworkId})).status===0&&(Ce.ZP.success("\u5220\u9664\u6210\u529F"),nr({type:"shixunHomeworks/getShixunWorkReport",payload:_r(_r({},hi),go.current||{})}))})}})})},Xt.createElement(Ge.Z,null),"\u5220\u9664"))),Xt.createElement(we.Z,{style:{margin:0}}),_n.work_comment&&Xt.createElement("aside",{className:"pl30 pr30 mt20"},Xt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Xt.createElement("br",null),Xt.createElement(Ct.Z,{value:_n.work_comment})),_n.work_comment_hidden&&Xt.createElement("aside",{className:"pl30 pr30 mt20"},Xt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Xt.createElement("br",null),Xt.createElement(Ct.Z,{value:_n.work_comment_hidden}))),(_n==null?void 0:_n.action_analysis)&&Xt.createElement(Lr,{detailData:_n}),Xt.createElement("div",{className:je.score},Xt.createElement("h1",{className:je.title},"\u9636\u6BB5\u6210\u7EE9"),(_n==null?void 0:_n.adjust_review_score_count)>0&&(0,it.GJ)()&&Xt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{jo(!0),Zl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",_n==null?void 0:_n.adjust_review_score_count,"\u6B21\uFF09")),Xt.createElement("aside",{className:"pl30 pr30"},Xt.createElement(Ee.default,{dataSource:_n.stage_list,rowKey:ki=>ki==null?void 0:ki.challenge_id,pagination:!1,columns:Ca})),((fi=_n==null?void 0:_n.target_test_sets)==null?void 0:fi.length)>0&&Xt.createElement("div",null,Xt.createElement("h1",{className:je.title},"\u6307\u6807\u6210\u7EE9"),Xt.createElement("aside",{className:"pl30 pr30"},Xt.createElement(Ee.default,{dataSource:Do,rowKey:ki=>ki==null?void 0:ki.challenge_id,pagination:!1,bordered:!0,columns:qa}))),(_n==null?void 0:_n.work_description)&&Xt.createElement(Xt.Fragment,null,Xt.createElement("h1",{className:je.title},"\u4E2A\u4EBA\u603B\u7ED3"),Xt.createElement("aside",{className:"pl30 pr30"},Xt.createElement(Ct.Z,{value:_n==null?void 0:_n.work_description}))),Xt.createElement("h1",{className:je.title},"\u56FE\u5F62\u7EDF\u8BA1"),Xt.createElement(We,{data:eo}),(_n==null?void 0:_n.is_open_submit_test_result)&&Xt.createElement(Xt.Fragment,null),Xt.createElement("h1",{className:je.title},"\u5B9E\u8BAD\u8BE6\u60C5")),Xt.createElement(Fr,{autoHeight:Co}))),(0,it.GJ)()&&Xt.createElement("aside",{className:`${je.footerBar} ${Mi?je.footerBarStatic:""}`},Xt.createElement("aside",{className:"edu-container"},Xt.createElement(ve.Z,{align:"middle"},Xt.createElement(Me.Z,{flex:"1"},Xt.createElement(Ue.Link,{className:je.exitComment,to:`/classrooms/${hi.coursesId}/shixun_homework/${hi.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),Xt.createElement(Me.Z,{flex:"1",className:"tr"},Xt.createElement(Ie.ZP,{type:"default",disabled:!(_n!=null&&_n.pre_student_work_id),onClick:()=>Ha()},"\u4E0A\u4E00\u4E2A"),Xt.createElement(Ie.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(_n!=null&&_n.next_student_work_id),onClick:()=>Ha("next")},"\u4E0B\u4E00\u4E2A"),(0,it.GJ)()&&Xt.createElement(Ie.ZP,{type:"primary",onClick:()=>ir(void 0,null,function*(){nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:_n.user_id,data:_r({},_n)},fn:()=>Zl({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),Xt.createElement(Yr,null),Xt.createElement(gi.Z,null),Xt.createElement(fe.default,{open:Jo,width:860,centered:!0,onCancel:()=>{No(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Xt.createElement("div",{style:{color:"#333333",fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Xt.createElement("br",null),Xt.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Xt.createElement("br",null),Xt.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Xt.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Xt.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),Xt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Xt.createElement("br",null),Xt.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),Xt.createElement("br",null),Xt.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),Xt.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Xt.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),Xt.createElement("br",null),Xt.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),Xt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Xt.createElement("br",null),Xt.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),Xt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Xt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Xt.createElement("br",null),Xt.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),Xt.createElement(fe.default,{open:ma,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Oo(!1)},width:600},Xt.createElement("div",{style:{fontWeight:400,color:"#333333"}},Xt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Xt.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Xt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Xt.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Xt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Xt.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),Xt.createElement(fe.default,{open:qo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{ro("all"),jo(!1)},destroyOnClose:!0,width:900},Xt.createElement("div",{style:{fontWeight:400,color:"#333333"}},Xt.createElement("div",null,Xt.createElement("span",null,"\u5173\u5361\uFF1A"),Xt.createElement(ke.default,{style:{width:300},value:ji,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:ki=>ir(void 0,null,function*(){ro(ki),Zl({page:1,page_size:10},ki)})},Xt.createElement(ke.default.Option,{value:"all"}," \u5168\u90E8 "),(Li=_n==null?void 0:_n.stage_list)==null?void 0:Li.map((ki,na)=>Xt.createElement(ke.default.Option,{key:na,value:ki==null?void 0:ki.challenge_id},"\u7B2C",(0,ft.EM)(na+1),"\u5173")))),Xt.createElement("div",{className:"mt20"},Xt.createElement(Ee.default,{dataSource:Ur,rowKey:ki=>ki==null?void 0:ki.id,pagination:!1,columns:Xa,loading:bo})),Xt.createElement("div",{className:je.footer},Xt.createElement("div",null,Xt.createElement("span",{style:{color:"#656F87"}},"\u5171",Xt.createElement("span",{className:"c-light-primary"},ni),"\u6761\u6570\u636E")),Xt.createElement(ze.Z,{defaultCurrent:1,defaultPageSize:10,current:(Ci==null?void 0:Ci.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ni,onChange:Kl})))))};var ti=(0,Ue.connect)(({shixunHomeworks:tr,classroomList:Un,loading:cr,globalSetting:Ei,user:Kn})=>({shixunHomeworks:tr,classroomList:Un,globalSetting:Ei,loading:cr.effects,user:Kn}))(ar)},52217:function(Vn,Tt,ae){"use strict";var x=ae(62957),ct=ae(6767),Le=ae(38147),Je=ae(65582),He=ae(41867),Se=ae(59301),Ue=(Ce,oe,Oe)=>new Promise((ve,Me)=>{var Ie=xe=>{try{we(Oe.next(xe))}catch(Ee){Me(Ee)}},_e=xe=>{try{we(Oe.throw(xe))}catch(Ee){Me(Ee)}},we=xe=>xe.done?ve(xe.value):Promise.resolve(xe.value).then(Ie,_e);we((Oe=Oe.apply(Ce,oe)).next())});const fe=({shixunHomeworks:Ce,classroomList:oe,dispatch:Oe})=>{const ve=(0,Je.useParams)();return Se.createElement(x.default,{centered:!0,title:"\u63D0\u793A",open:Ce.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){var Me,Ie,_e,we;if((0,He.Rm)()&&!((Me=oe.AssistantObject.practice)!=null&&Me.can_redo)){ct.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const xe=yield(0,Le.ZP)(`/api/myshixuns/${Ce.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ve.coursesId,homework_common_id:Ce.actionTabs.homework_common_id}});if(xe.shixun_identifier){ct.ZP.success("\u64CD\u4F5C\u6210\u529F"),Oe({type:"shixunHomeworks/setActionTabs",payload:{}});const Ee=(_e=(Ie=xe==null?void 0:xe.new_works)==null?void 0:Ie.find(ke=>`${ke.homework_common_id}`===ve.categoryId))==null?void 0:_e.id;if((0,He.Rm)()&&!((we=oe.AssistantObject.practice)!=null&&we.can_view))return;Je.history.replace(`/classrooms/${ve.coursesId}/shixun_homework/${ve.categoryId}/${Ee}/comment`)}}),onCancel:()=>{Oe({type:"shixunHomeworks/setActionTabs",payload:{}})}},Se.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Se.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Tt.Z=(0,Je.connect)(({shixunHomeworks:Ce,classroomList:oe})=>({shixunHomeworks:Ce,classroomList:oe}))(fe)},84454:function(Vn,Tt,ae){"use strict";ae.d(Tt,{AD:function(){return We},BA:function(){return ie},D9:function(){return At},Hp:function(){return et},IM:function(){return Kt},Iy:function(){return lt},KM:function(){return ge},KU:function(){return pn},MJ:function(){return Ge},Ne:function(){return Zt},ON:function(){return vn},Uj:function(){return on},VY:function(){return Qt},YO:function(){return Fn},YX:function(){return _t},Zn:function(){return _e},_g:function(){return ze},_k:function(){return Ze},c6:function(){return ht},cr:function(){return we},eV:function(){return Ne},fi:function(){return xe},gh:function(){return bt},hS:function(){return rt},iA:function(){return Ee},j6:function(){return Qe},je:function(){return yt},jj:function(){return Re},kS:function(){return Ot},lS:function(){return Ft},o6:function(){return je},pO:function(){return de},rQ:function(){return Ut},sA:function(){return ft},xm:function(){return Te},xo:function(){return Nt},y8:function(){return ot},yd:function(){return ke}});var x=ae(33270),ct=ae(65582),Le=ae(65862),Je=ae(6767),He=ae(74128),Se=Object.defineProperty,Ue=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,oe=(ee,le,se)=>le in ee?Se(ee,le,{enumerable:!0,configurable:!0,writable:!0,value:se}):ee[le]=se,Oe=(ee,le)=>{for(var se in le||(le={}))fe.call(le,se)&&oe(ee,se,le[se]);if(Ue)for(var se of Ue(le))Ce.call(le,se)&&oe(ee,se,le[se]);return ee},ve=(ee,le,se)=>new Promise((Be,$e)=>{var at=Bt=>{try{gt(se.next(Bt))}catch(Lt){$e(Lt)}},pt=Bt=>{try{gt(se.throw(Bt))}catch(Lt){$e(Lt)}},gt=Bt=>Bt.done?Be(Bt.value):Promise.resolve(Bt.value).then(at,pt);gt((se=se.apply(ee,le)).next())});const Me=()=>{(0,ct.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Ie=()=>{(0,ct.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},_e=ee=>ve(void 0,null,function*(){Me(),(yield(0,x.YR)(Oe({},ee))).status===0&&(yield(0,Le.QH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_couser_info.json`,query:ee}))),Ie()}),we=ee=>ve(void 0,null,function*(){const le=yield(0,x.yS)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`);else{if(le.status===-2)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`))}}),xe=ee=>ve(void 0,null,function*(){const le=yield(0,x.W0)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`))}}),Ee=ee=>ve(void 0,null,function*(){const le=yield(0,x.Nl)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`))}}),ke=ee=>ve(void 0,null,function*(){const le=yield(0,x.IU)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`))}}),ze=ee=>ve(void 0,null,function*(){const le=yield(0,x.td)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(le.status===-2)return le;if(le.status===-3)(0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else if(le.status===-4)return le}}),Qe=ee=>ve(void 0,null,function*(){const le=yield(0,x.QX)(Oe({},ee));if(le.status===0)Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`);else{if(le.status===-4)return le;le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`))}}),Re=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.o_)(Oe({},ee));se.status===0?(Je.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"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),et=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.ZL)(Oe({},ee));se.status===0?(Je.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"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),Ge=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.vV)(Oe({},ee));se.status===0?(Je.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"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),lt=(ee,le)=>ve(void 0,null,function*(){const se=yield(0,x.aP)(Oe({},ee));se.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`)):se.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/${le}`))}),it=ee=>ve(void 0,null,function*(){Me(),(yield exportCourseWorkListAppendix(Oe({},ee))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ee.categoryId}/works_list.zip`,query:ee}))),Ie()}),ft=ee=>ve(void 0,null,function*(){Me(),yield(0,Le.FH)("",He.Z.API_SERVER+`/api/polls/${ee.categoryId}/commit_result.xlsx`),Ie()}),bt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/attendances/export_xlsx_data.xlsx`,query:ee}))}),je=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/video_study_statics.xlsx`,query:ee}))}),ht=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_video_study.xlsx`,query:ee}))}),Ne=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee.coursesId}/export_course_students_info.xlsx`,query:ee}))}),We=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ee}))}),Ut=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/item_banks/export.xlsx",query:ee}))}),ot=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ee}))}),yt=ee=>ve(void 0,null,function*(){const le=yield(0,x.Uy)(Oe({},ee));le.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`)):le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ft=ee=>ve(void 0,null,function*(){const le=yield(0,x.tg)(Oe({},ee));le.status===0?(Je.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`)):le.status===-3&&((0,ct.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),ct.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`))}),Ze=ee=>ve(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/export_records/${ee.id}.xlsx`,query:ee}))}),Te=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:ee}))}),At=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/${ee.menuKey}_statistic.xlsx?${ee.checkedList.map(le=>`course_group_id[]=${le}`).join("&")}`,query:ee}))}),Zt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_training_objectives.xlsx`,query:ee}))}),Kt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)(ee==null?void 0:ee.name,(0,Le.NY)({url:He.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:ee}))}),rt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_courses.xlsx`,query:ee}))}),Nt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/ec_years/${ee==null?void 0:ee.ec_year_id}/ec_graduation_requirements.xlsx`,query:ee}))}),Qt=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ee}))}),pn=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee.categoryId}/rank_list.xlsx`,query:ee}))}),Ot=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ee}))}),vn=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/examination_banks/${ee.id}.json`,query:ee}))}),_t=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee.categoryId}.json`,query:ee}))}),Fn=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/polls/${ee==null?void 0:ee.id}/commit_result.json`,query:ee}))}),on=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/paths/get_task_pass.json",query:ee}))}),de=(ee,le)=>ve(void 0,null,function*(){yield(0,Le.FH)(le||"",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee==null?void 0:ee.exercise_id}/consult_exercise.json`,query:ee}))}),ge=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/competitions/${ee==null?void 0:ee.identifier}/competition_commit_records/member_works.xlsx`,query:ee}))}),ie=ee=>ve(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/courses/${ee==null?void 0:ee.coursesId}/group_homeworks/import_group_template.xlsx`,query:ee}))})},61527:function(Vn,Tt,ae){"use strict";ae.d(Tt,{U:function(){return Ce}});var x=ae(59301),ct=Object.defineProperty,Le=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Se=(oe,Oe,ve)=>Oe in oe?ct(oe,Oe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):oe[Oe]=ve,Ue=(oe,Oe)=>{for(var ve in Oe||(Oe={}))Je.call(Oe,ve)&&Se(oe,ve,Oe[ve]);if(Le)for(var ve of Le(Oe))He.call(Oe,ve)&&Se(oe,ve,Oe[ve]);return oe},fe=(oe,Oe,ve)=>new Promise((Me,Ie)=>{var _e=Ee=>{try{xe(ve.next(Ee))}catch(ke){Ie(ke)}},we=Ee=>{try{xe(ve.throw(Ee))}catch(ke){Ie(ke)}},xe=Ee=>Ee.done?Me(Ee.value):Promise.resolve(Ee.value).then(_e,we);xe((ve=ve.apply(oe,Oe)).next())});function Ce(oe,Oe){const[ve,Me]=(0,x.useState)(Oe),[Ie,_e]=(0,x.useState)(!1),[we,xe]=(0,x.useState)();return[ve,Ie,(ke,ze=!1)=>fe(this,null,function*(){const Qe=ze?Oe:Ue(Ue({},ve),ke);_e(!0),Me(Qe);const Re=yield oe(Qe);return _e(!1),xe(Re),Re}),we,xe]}},49142:function(Vn,Tt,ae){"use strict";ae.d(Tt,{AL:function(){return Qe},Iy:function(){return Oe},Qv:function(){return Ie},ez:function(){return ze},jb:function(){return ve}});var x=ae(32834),ct=ae.n(x),Le=ae(11690),Je=ae.n(Le);let He=1;function Se(it,ft){const bt=it.match(/^(\s+)(?:```)/);if(bt===null)return ft;const je=bt[1];return ft.split(` `).map(ht=>{const Ne=ht.match(/^\s+/);if(Ne===null)return ht;const[We]=Ne;return We.length>=je.length?ht.slice(je.length):ht}).join(` `)}let Ue=[],fe=["
    "];const Ce=new(ct()).Renderer,oe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Oe(){Ue.length=0,fe=["
      "]}const ve={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Me(it,ft,bt,je){if(ft>=it.length||it[ft].level<=bt)return ft;var ht=it[ft];je.push("
    • "+ht.text+""),ft++;var Ne=[];return ft=Me(it,ft,ht.level,Ne),Ne.length>0&&(je.push("
        "),Ne.forEach(function(We){je.push(We)}),je.push("
      ")),je.push("
    • "),ft=Me(it,ft,bt,je),ft}function Ie(){return Me(Ue,0,0,fe),fe.push("
    "),fe.join("")}const _e={heading(it){const ft=oe.exec(it);if(He+=1,ft)return{type:"heading",raw:ft[0],depth:ft[1].length,text:ft[2]}},fences(it){const ft=this.rules.block.fences.exec(it);if(ft){const bt=ft[0];let je=Se(bt,ft[3]||"");const ht=ft[2]?ft[2].trim():ft[2];if(["latex","katex","math"].indexOf(ht)>=0){const Ne=Ee(),We=je;je=Ne,ke[Ne]={type:"block",expression:We}}return{type:"code",raw:bt,lang:ht,text:je}}}},we=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let xe=0;const Ee=()=>`__special_katext_id_${xe++}__`;let ke={};function ze(){return ke}function Qe(){xe=0,ke={}}function Re(it){return it=it.replace(we,(ft,bt)=>{const je=Ee();return ke[je]={type:"inline",expression:bt},je}),it}const et=Ce.listitem;Ce.listitem=function(it){return et(Re(it))};const Ge=Ce.paragraph;Ce.paragraph=function(it){return Ge(Re(it))};const lt=Ce.tablecell;Ce.tablecell=function(it,ft){return lt(Re(it),ft)},Ce.code=function(it,ft,bt){const je=(ft||"").match(/\S*/)[0];return je?["latex","katex","math"].indexOf(je)>=0?`

    ${it}

    `:`
    ${bt?it:(0,Le.escape)(it,!0)}
    `:'
    '+(bt?it:(0,Le.escape)(it,!0))+"
    "},Ce.heading=function(it,ft,bt){let je=this.options.headerPrefix+bt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ue.push({anchor:je,level:ft,text:it}),"'+it+""},ct().setOptions({silent:!0,gfm:!0,pedantic:!1}),ct().use({tokenizer:_e,renderer:Ce}),Tt.ZP=ct()},9981:function(Vn,Tt){"use strict";const ae=function(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ct=1;ct{const He=Le[Je];He!==void 0&&(x[Je]=He)})}return x};Tt.Z=ae},86013:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(19248);const Le=Je=>{let He;return typeof Je=="object"&&(Je!=null&&Je.clearIcon)?He=Je:Je&&(He={clearIcon:x.createElement(ct.Z,null)}),He};Tt.Z=Le},97224:function(Vn,Tt,ae){"use strict";ae.d(Tt,{F:function(){return x}});function x(Le){return Le!=null&&Le===Le.window}const ct=Le=>{var Je,He;if(typeof window=="undefined")return 0;let Se=0;return x(Le)?Se=Le.pageYOffset:Le instanceof Document?Se=Le.documentElement.scrollTop:(Le instanceof HTMLElement||Le)&&(Se=Le.scrollTop),Le&&!x(Le)&&typeof Se!="number"&&(Se=(He=((Je=Le.ownerDocument)!==null&&Je!==void 0?Je:Le).documentElement)===null||He===void 0?void 0:He.scrollTop),Se};Tt.Z=ct},83010:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Je}});var x=ae(16089);function ct(He,Se,Ue,fe){const Ce=Ue-Se;return He/=fe/2,He<1?Ce/2*He*He*He+Se:Ce/2*((He-=2)*He*He+2)+Se}var Le=ae(97224);function Je(He){let Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Ue=()=>window,callback:fe,duration:Ce=450}=Se,oe=Ue(),Oe=(0,Le.Z)(oe),ve=Date.now(),Me=()=>{const _e=Date.now()-ve,we=ct(_e>Ce?Ce:_e,Oe,He,Ce);(0,Le.F)(oe)?oe.scrollTo(window.pageXOffset,we):oe instanceof Document||oe.constructor.name==="HTMLDocument"?oe.documentElement.scrollTop=we:oe.scrollTop=we,_e{let{children:Ft}=yt;const{getPrefixCls:Ze}=x.useContext(Ue.E_),Te=Ze("breadcrumb");return x.createElement("li",{className:`${Te}-separator`,"aria-hidden":"true"},Ft===""?Ft:Ft||"/")};oe.__ANT_BREADCRUMB_SEPARATOR=!0;var Oe=oe,ve=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);AtFt[At]||Te)}function Ie(yt,Ft,Ze,Te){if(Ze==null)return null;const{className:At,onClick:Zt}=Ft,Kt=ve(Ft,["className","onClick"]),rt=Object.assign(Object.assign({},(0,He.Z)(Kt,{data:!0,aria:!0})),{onClick:Zt});return Te!==void 0?x.createElement("a",Object.assign({},rt,{className:Le()(`${yt}-link`,At),href:Te}),Ze):x.createElement("span",Object.assign({},rt,{className:Le()(`${yt}-link`,At)}),Ze)}function _e(yt,Ft){return(Te,At,Zt,Kt,rt)=>{if(Ft)return Ft(Te,At,Zt,Kt);const Nt=Me(Te,At);return Ie(yt,Te,Nt,rt)}}var we=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);At{const{prefixCls:Ft,separator:Ze="/",children:Te,menu:At,overlay:Zt,dropdownProps:Kt,href:rt}=yt,Qt=(pn=>{if(At||Zt){const Ot=Object.assign({},Kt);if(At){const vn=At||{},{items:_t}=vn,Fn=we(vn,["items"]);Ot.menu=Object.assign(Object.assign({},Fn),{items:_t==null?void 0:_t.map((on,de)=>{var{key:ge,title:ie,label:ee,path:le}=on,se=we(on,["key","title","label","path"]);let Be=ee!=null?ee:ie;return le&&(Be=x.createElement("a",{href:`${rt}${le}`},Be)),Object.assign(Object.assign({},se),{key:ge!=null?ge:de,label:Be})})})}else Zt&&(Ot.overlay=Zt);return x.createElement(Ce.Z,Object.assign({placement:"bottom"},Ot),x.createElement("span",{className:`${Ft}-overlay-link`},pn,x.createElement(fe.Z,null)))}return pn})(Te);return Qt!=null?x.createElement(x.Fragment,null,x.createElement("li",null,Qt),Ze&&x.createElement(Oe,null,Ze)):null},Ee=yt=>{const{prefixCls:Ft,children:Ze,href:Te}=yt,At=we(yt,["prefixCls","children","href"]),{getPrefixCls:Zt}=x.useContext(Ue.E_),Kt=Zt("breadcrumb",Ft);return x.createElement(xe,Object.assign({},At,{prefixCls:Kt}),Ie(Kt,At,Ze,Te))};Ee.__ANT_BREADCRUMB_ITEM=!0;var ke=Ee,ze=ae(36237),Qe=ae(63356),Re=ae(16931),et=ae(51636);const Ge=yt=>{const{componentCls:Ft,iconCls:Ze,calc:Te}=yt;return{[Ft]:Object.assign(Object.assign({},(0,Qe.Wf)(yt)),{color:yt.itemColor,fontSize:yt.fontSize,[Ze]:{fontSize:yt.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:yt.linkColor,transition:`color ${yt.motionDurationMid}`,padding:`0 ${(0,ze.unit)(yt.paddingXXS)}`,borderRadius:yt.borderRadiusSM,height:yt.fontHeight,display:"inline-block",marginInline:Te(yt.marginXXS).mul(-1).equal(),"&:hover":{color:yt.linkHoverColor,backgroundColor:yt.colorBgTextHover}},(0,Qe.Qy)(yt)),"li:last-child":{color:yt.lastItemColor},[`${Ft}-separator`]:{marginInline:yt.separatorMargin,color:yt.separatorColor},[`${Ft}-link`]:{[` > ${Ze} + span, > ${Ze} + a `]:{marginInlineStart:yt.marginXXS}},[`${Ft}-overlay-link`]:{borderRadius:yt.borderRadiusSM,height:yt.fontHeight,display:"inline-block",padding:`0 ${(0,ze.unit)(yt.paddingXXS)}`,marginInline:Te(yt.marginXXS).mul(-1).equal(),[`> ${Ze}`]:{marginInlineStart:yt.marginXXS,fontSize:yt.fontSizeIcon},"&:hover":{color:yt.linkHoverColor,backgroundColor:yt.colorBgTextHover,a:{color:yt.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${yt.componentCls}-rtl`]:{direction:"rtl"}})}},lt=yt=>({itemColor:yt.colorTextDescription,lastItemColor:yt.colorText,iconFontSize:yt.fontSize,linkColor:yt.colorTextDescription,linkHoverColor:yt.colorText,separatorColor:yt.colorTextDescription,separatorMargin:yt.marginXS});var it=(0,Re.I$)("Breadcrumb",yt=>{const Ft=(0,et.mergeToken)(yt,{});return Ge(Ft)},lt),ft=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);At{var{breadcrumbName:Kt}=Zt,rt=ft(Zt,["breadcrumbName"]);return Object.assign(Object.assign({},rt),{title:Kt})})}),At}function je(yt,Ft){return(0,x.useMemo)(()=>yt||(Ft?Ft.map(bt):null),[yt,Ft])}var ht=function(yt,Ft){var Ze={};for(var Te in yt)Object.prototype.hasOwnProperty.call(yt,Te)&&Ft.indexOf(Te)<0&&(Ze[Te]=yt[Te]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Te=Object.getOwnPropertySymbols(yt);At{if(Ft===void 0)return Ft;let Ze=(Ft||"").replace(/^\//,"");return Object.keys(yt).forEach(Te=>{Ze=Ze.replace(`:${Te}`,yt[Te])}),Ze},We=yt=>{const{prefixCls:Ft,separator:Ze="/",style:Te,className:At,rootClassName:Zt,routes:Kt,items:rt,children:Nt,itemRender:Qt,params:pn={}}=yt,Ot=ht(yt,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:vn,direction:_t,breadcrumb:Fn}=x.useContext(Ue.E_);let on;const de=vn("breadcrumb",Ft),[ge,ie,ee]=it(de),le=je(rt,Kt),se=_e(de,Qt);if(le&&le.length>0){const at=[],pt=rt||Kt;on=le.map((gt,Bt)=>{const{path:Lt,key:Rt,type:Ct,menu:st,overlay:$t,onClick:Vt,className:bn,separator:an,dropdownProps:en}=gt,Hn=Ne(pn,Lt);Hn!==void 0&&at.push(Hn);const En=Rt!=null?Rt:Bt;if(Ct==="separator")return x.createElement(Oe,{key:En},an);const Mt={},sn=Bt===le.length-1;st?Mt.menu=st:$t&&(Mt.overlay=$t);let{href:Dn}=gt;return at.length&&Hn!==void 0&&(Dn=`#/${at.join("/")}`),x.createElement(xe,Object.assign({key:En},Mt,(0,He.Z)(gt,{data:!0,aria:!0}),{className:bn,dropdownProps:en,href:Dn,separator:sn?"":Ze,onClick:Vt,prefixCls:de}),se(gt,pn,pt,at,Dn))})}else if(Nt){const at=(0,Je.Z)(Nt).length;on=(0,Je.Z)(Nt).map((pt,gt)=>{if(!pt)return pt;const Bt=gt===at-1;return(0,Se.Tm)(pt,{separator:Bt?"":Ze,key:gt})})}const Be=Le()(de,Fn==null?void 0:Fn.className,{[`${de}-rtl`]:_t==="rtl"},At,Zt,ie,ee),$e=Object.assign(Object.assign({},Fn==null?void 0:Fn.style),Te);return ge(x.createElement("nav",Object.assign({className:Be,style:$e},Ot),x.createElement("ol",null,on)))};We.Item=ke,We.Separator=Oe;var Ut=We,ot=Ut},62673:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return it}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(16632),He=ae(8654),Se=ae(12919),Ue=ae(63872),fe=ae(48755),Ce=ae(2171),oe=ae(83397),Oe=ae(56553),Me=x.createContext(null),Ie=ae(36170),_e=ae(74632),we=function(ft,bt){var je={};for(var ht in ft)Object.prototype.hasOwnProperty.call(ft,ht)&&bt.indexOf(ht)<0&&(je[ht]=ft[ht]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ht=Object.getOwnPropertySymbols(ft);Ne{var je;const{prefixCls:ht,className:Ne,rootClassName:We,children:Ut,indeterminate:ot=!1,style:yt,onMouseEnter:Ft,onMouseLeave:Ze,skipGroup:Te=!1,disabled:At}=ft,Zt=we(ft,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Kt,direction:rt,checkbox:Nt}=x.useContext(fe.E_),Qt=x.useContext(Me),{isFormItemInput:pn}=x.useContext(Oe.aM),Ot=x.useContext(Ce.Z),vn=(je=(Qt==null?void 0:Qt.disabled)||At)!==null&&je!==void 0?je:Ot,_t=x.useRef(Zt.value),Fn=x.useRef(null),on=(0,He.sQ)(bt,Fn);x.useEffect(()=>{Qt==null||Qt.registerValue(Zt.value)},[]),x.useEffect(()=>{if(!Te)return Zt.value!==_t.current&&(Qt==null||Qt.cancelValue(_t.current),Qt==null||Qt.registerValue(Zt.value),_t.current=Zt.value),()=>Qt==null?void 0:Qt.cancelValue(Zt.value)},[Zt.value]),x.useEffect(()=>{var gt;!((gt=Fn.current)===null||gt===void 0)&>.input&&(Fn.current.input.indeterminate=ot)},[ot]);const de=Kt("checkbox",ht),ge=(0,oe.Z)(de),[ie,ee,le]=(0,Ie.ZP)(de,ge),se=Object.assign({},Zt);Qt&&!Te&&(se.onChange=function(){Zt.onChange&&Zt.onChange.apply(Zt,arguments),Qt.toggleOption&&Qt.toggleOption({label:Ut,value:Zt.value})},se.name=Qt.name,se.checked=Qt.value.includes(Zt.value));const Be=Le()(`${de}-wrapper`,{[`${de}-rtl`]:rt==="rtl",[`${de}-wrapper-checked`]:se.checked,[`${de}-wrapper-disabled`]:vn,[`${de}-wrapper-in-form-item`]:pn},Nt==null?void 0:Nt.className,Ne,We,le,ge,ee),$e=Le()({[`${de}-indeterminate`]:ot},Ue.A,ee),[at,pt]=(0,_e.Z)(se.onClick);return ie(x.createElement(Se.Z,{component:"Checkbox",disabled:vn},x.createElement("label",{className:Be,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),yt),onMouseEnter:Ft,onMouseLeave:Ze,onClick:at},x.createElement(Je.Z,Object.assign({},se,{onClick:pt,prefixCls:de,className:$e,disabled:vn,ref:on})),Ut!==void 0&&x.createElement("span",{className:`${de}-label`},Ut))))};var ke=x.forwardRef(xe),ze=ae(94480),Qe=ae(2738),Re=function(ft,bt){var je={};for(var ht in ft)Object.prototype.hasOwnProperty.call(ft,ht)&&bt.indexOf(ht)<0&&(je[ht]=ft[ht]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ht=Object.getOwnPropertySymbols(ft);Ne{const{defaultValue:je,children:ht,options:Ne=[],prefixCls:We,className:Ut,rootClassName:ot,style:yt,onChange:Ft}=ft,Ze=Re(ft,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Te,direction:At}=x.useContext(fe.E_),[Zt,Kt]=x.useState(Ze.value||je||[]),[rt,Nt]=x.useState([]);x.useEffect(()=>{"value"in Ze&&Kt(Ze.value||[])},[Ze.value]);const Qt=x.useMemo(()=>Ne.map($e=>typeof $e=="string"||typeof $e=="number"?{label:$e,value:$e}:$e),[Ne]),pn=$e=>{Nt(at=>at.filter(pt=>pt!==$e))},Ot=$e=>{Nt(at=>[].concat((0,ze.Z)(at),[$e]))},vn=$e=>{const at=Zt.indexOf($e.value),pt=(0,ze.Z)(Zt);at===-1?pt.push($e.value):pt.splice(at,1),"value"in Ze||Kt(pt),Ft==null||Ft(pt.filter(gt=>rt.includes(gt)).sort((gt,Bt)=>{const Lt=Qt.findIndex(Ct=>Ct.value===gt),Rt=Qt.findIndex(Ct=>Ct.value===Bt);return Lt-Rt}))},_t=Te("checkbox",We),Fn=`${_t}-group`,on=(0,oe.Z)(_t),[de,ge,ie]=(0,Ie.ZP)(_t,on),ee=(0,Qe.Z)(Ze,["value","disabled"]),le=Ne.length?Qt.map($e=>x.createElement(ke,{prefixCls:_t,key:$e.value.toString(),disabled:"disabled"in $e?$e.disabled:Ze.disabled,value:$e.value,checked:Zt.includes($e.value),onChange:$e.onChange,className:`${Fn}-item`,style:$e.style,title:$e.title,id:$e.id,required:$e.required},$e.label)):ht,se={toggleOption:vn,value:Zt,disabled:Ze.disabled,name:Ze.name,registerValue:Ot,cancelValue:pn},Be=Le()(Fn,{[`${Fn}-rtl`]:At==="rtl"},Ut,ot,ie,on,ge);return de(x.createElement("div",Object.assign({className:Be,style:yt},ee,{ref:bt}),x.createElement(Me.Provider,{value:se},le)))});const lt=ke;lt.Group=Ge,lt.__ANT_CHECKBOX=!0;var it=lt},36170:function(Vn,Tt,ae){"use strict";ae.d(Tt,{C2:function(){return Se}});var x=ae(36237),ct=ae(63356),Le=ae(51636),Je=ae(16931);const He=Ue=>{const{checkboxCls:fe}=Ue,Ce=`${fe}-wrapper`;return[{[`${fe}-group`]:Object.assign(Object.assign({},(0,ct.Wf)(Ue)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ue.marginXS,[`> ${Ue.antCls}-row`]:{flex:1}}),[Ce]:Object.assign(Object.assign({},(0,ct.Wf)(Ue)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ce}`]:{marginInlineStart:0},[`&${Ce}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[fe]:Object.assign(Object.assign({},(0,ct.Wf)(Ue)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ue.borderRadiusSM,alignSelf:"center",[`${fe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${fe}-inner`]:Object.assign({},(0,ct.oN)(Ue))},[`${fe}-inner`]:{boxSizing:"border-box",display:"block",width:Ue.checkboxSize,height:Ue.checkboxSize,direction:"ltr",backgroundColor:Ue.colorBgContainer,border:`${(0,x.unit)(Ue.lineWidth)} ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ue.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Ue.calc(Ue.checkboxSize).div(14).mul(5).equal(),height:Ue.calc(Ue.checkboxSize).div(14).mul(8).equal(),border:`${(0,x.unit)(Ue.lineWidthBold)} solid ${Ue.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ue.motionDurationFast} ${Ue.motionEaseInBack}, opacity ${Ue.motionDurationFast}`}},"& + span":{paddingInlineStart:Ue.paddingXS,paddingInlineEnd:Ue.paddingXS}})},{[` ${Ce}:not(${Ce}-disabled), ${fe}:not(${fe}-disabled) `]:{[`&:hover ${fe}-inner`]:{borderColor:Ue.colorPrimary}},[`${Ce}:not(${Ce}-disabled)`]:{[`&:hover ${fe}-checked:not(${fe}-disabled) ${fe}-inner`]:{backgroundColor:Ue.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${fe}-checked:not(${fe}-disabled):after`]:{borderColor:Ue.colorPrimaryHover}}},{[`${fe}-checked`]:{[`${fe}-inner`]:{backgroundColor:Ue.colorPrimary,borderColor:Ue.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ue.motionDurationMid} ${Ue.motionEaseOutBack} ${Ue.motionDurationFast}`}}},[` ${Ce}-checked:not(${Ce}-disabled), ${fe}-checked:not(${fe}-disabled) `]:{[`&:hover ${fe}-inner`]:{backgroundColor:Ue.colorPrimaryHover,borderColor:"transparent"}}},{[fe]:{"&-indeterminate":{[`${fe}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Ue.calc(Ue.fontSizeLG).div(2).equal(),height:Ue.calc(Ue.fontSizeLG).div(2).equal(),backgroundColor:Ue.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${fe}-inner`]:{backgroundColor:`${Ue.colorBgContainer} !important`,borderColor:`${Ue.colorPrimary} !important`}}}},{[`${Ce}-disabled`]:{cursor:"not-allowed"},[`${fe}-disabled`]:{[`&, ${fe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${fe}-inner`]:{background:Ue.colorBgContainerDisabled,borderColor:Ue.colorBorder,"&:after":{borderColor:Ue.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ue.colorTextDisabled},[`&${fe}-indeterminate ${fe}-inner::after`]:{background:Ue.colorTextDisabled}}}]};function Se(Ue,fe){const Ce=(0,Le.mergeToken)(fe,{checkboxCls:`.${Ue}`,checkboxSize:fe.controlInteractiveSize});return[He(Ce)]}Tt.ZP=(0,Je.I$)("Checkbox",(Ue,fe)=>{let{prefixCls:Ce}=fe;return[Se(Ce,Ue)]})},38406:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(48755),Le=ae(584);const Je=He=>{const{componentName:Se}=He,{getPrefixCls:Ue}=(0,x.useContext)(ct.E_),fe=Ue("empty");switch(Se){case"Table":case"List":return x.createElement(Le.Z,{image:Le.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return x.createElement(Le.Z,{image:Le.Z.PRESENTED_IMAGE_SIMPLE,className:`${fe}-small`});case"Table.filter":return null;default:return x.createElement(Le.Z,null)}};Tt.Z=Je},37285:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ie}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(48755),He=ae(36237),Se=ae(63356),Ue=ae(16931),fe=ae(51636);const Ce=_e=>{const{componentCls:we,sizePaddingEdgeHorizontal:xe,colorSplit:Ee,lineWidth:ke,textPaddingInline:ze,orientationMargin:Qe,verticalMarginInline:Re}=_e;return{[we]:Object.assign(Object.assign({},(0,Se.Wf)(_e)),{borderBlockStart:`${(0,He.unit)(ke)} solid ${Ee}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Re,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,He.unit)(ke)} solid ${Ee}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,He.unit)(_e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${we}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,He.unit)(_e.dividerHorizontalWithTextGutterMargin)} 0`,color:_e.colorTextHeading,fontWeight:500,fontSize:_e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ee}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,He.unit)(ke)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${we}-with-text-start`]:{"&::before":{width:`calc(${Qe} * 100%)`},"&::after":{width:`calc(100% - ${Qe} * 100%)`}},[`&-horizontal${we}-with-text-end`]:{"&::before":{width:`calc(100% - ${Qe} * 100%)`},"&::after":{width:`calc(${Qe} * 100%)`}},[`${we}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ze},"&-dashed":{background:"none",borderColor:Ee,borderStyle:"dashed",borderWidth:`${(0,He.unit)(ke)} 0 0`},[`&-horizontal${we}-with-text${we}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${we}-dashed`]:{borderInlineStartWidth:ke,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Ee,borderStyle:"dotted",borderWidth:`${(0,He.unit)(ke)} 0 0`},[`&-horizontal${we}-with-text${we}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${we}-dotted`]:{borderInlineStartWidth:ke,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${we}-with-text`]:{color:_e.colorText,fontWeight:"normal",fontSize:_e.fontSize},[`&-horizontal${we}-with-text-start${we}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${we}-inner-text`]:{paddingInlineStart:xe}},[`&-horizontal${we}-with-text-end${we}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${we}-inner-text`]:{paddingInlineEnd:xe}}})}},oe=_e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_e.marginXS});var Oe=(0,Ue.I$)("Divider",_e=>{const we=(0,fe.mergeToken)(_e,{dividerHorizontalWithTextGutterMargin:_e.margin,dividerHorizontalGutterMargin:_e.marginLG,sizePaddingEdgeHorizontal:0});return[Ce(we)]},oe,{unitless:{orientationMargin:!0}}),ve=function(_e,we){var xe={};for(var Ee in _e)Object.prototype.hasOwnProperty.call(_e,Ee)&&we.indexOf(Ee)<0&&(xe[Ee]=_e[Ee]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ee=Object.getOwnPropertySymbols(_e);ke{const{getPrefixCls:we,direction:xe,className:Ee,style:ke}=(0,Je.dj)("divider"),{prefixCls:ze,type:Qe="horizontal",orientation:Re="center",orientationMargin:et,className:Ge,rootClassName:lt,children:it,dashed:ft,variant:bt="solid",plain:je,style:ht}=_e,Ne=ve(_e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),We=we("divider",ze),[Ut,ot,yt]=Oe(We),Ft=!!it,Ze=x.useMemo(()=>Re==="left"?xe==="rtl"?"end":"start":Re==="right"?xe==="rtl"?"start":"end":Re,[xe,Re]),Te=Ze==="start"&&et!=null,At=Ze==="end"&&et!=null,Zt=Le()(We,Ee,ot,yt,`${We}-${Qe}`,{[`${We}-with-text`]:Ft,[`${We}-with-text-${Ze}`]:Ft,[`${We}-dashed`]:!!ft,[`${We}-${bt}`]:bt!=="solid",[`${We}-plain`]:!!je,[`${We}-rtl`]:xe==="rtl",[`${We}-no-default-orientation-margin-start`]:Te,[`${We}-no-default-orientation-margin-end`]:At},Ge,lt),Kt=x.useMemo(()=>typeof et=="number"?et:/^\d+$/.test(et)?Number(et):et,[et]),rt={marginInlineStart:Te?Kt:void 0,marginInlineEnd:At?Kt:void 0};return Ut(x.createElement("div",Object.assign({className:Zt,style:Object.assign(Object.assign({},ke),ht)},Ne,{role:"separator"}),it&&Qe!=="vertical"&&x.createElement("span",{className:`${We}-inner-text`,style:rt},it)))}},36207:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return at}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(33885),He=ae(42978),Se=ae(43403),Ue=ae(34280),fe=x.createContext(null),Ce=x.createContext({}),oe=fe,Oe=ae(20068),ve=ae(54476),Me=ae(77900),Ie=ae(10228),_e=ae(26112),we=ae(75931),xe=ae(8654),Ee=["prefixCls","className","containerRef"],ke=function(gt){var Bt=gt.prefixCls,Lt=gt.className,Rt=gt.containerRef,Ct=(0,we.Z)(gt,Ee),st=x.useContext(Ce),$t=st.panel,Vt=(0,xe.x1)($t,Rt);return x.createElement("div",(0,ve.Z)({className:Le()("".concat(Bt,"-content"),Lt),role:"dialog",ref:Vt},(0,_e.Z)(gt,{aria:!0}),{"aria-modal":"true"},Ct))},ze=ke,Qe=ae(48736);function Re(pt){return typeof pt=="string"&&String(Number(pt))===pt?((0,Qe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(pt)):pt}function et(pt){warning(!("wrapperClassName"in pt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!pt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ge={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function lt(pt,gt){var Bt,Lt,Rt,Ct=pt.prefixCls,st=pt.open,$t=pt.placement,Vt=pt.inline,bn=pt.push,an=pt.forceRender,en=pt.autoFocus,Hn=pt.keyboard,En=pt.classNames,Mt=pt.rootClassName,sn=pt.rootStyle,Dn=pt.zIndex,Wn=pt.className,It=pt.id,Wt=pt.style,rn=pt.motion,mn=pt.width,Xn=pt.height,Fr=pt.children,ri=pt.mask,Hr=pt.maskClosable,Ir=pt.maskMotion,qn=pt.maskClassName,vr=pt.maskStyle,Mr=pt.afterOpenChange,Yn=pt.onClose,sr=pt.onMouseEnter,jn=pt.onMouseOver,ur=pt.onMouseLeave,br=pt.onClick,Xr=pt.onKeyDown,Yr=pt.onKeyUp,gi=pt.styles,ci=pt.drawerRender,Hi=x.useRef(),vi=x.useRef(),no=x.useRef();x.useImperativeHandle(gt,function(){return Hi.current});var Ki=function(Ar){var ar=Ar.keyCode,ti=Ar.shiftKey;switch(ar){case Ie.Z.TAB:{if(ar===Ie.Z.TAB){if(!ti&&document.activeElement===no.current){var tr;(tr=vi.current)===null||tr===void 0||tr.focus({preventScroll:!0})}else if(ti&&document.activeElement===vi.current){var Un;(Un=no.current)===null||Un===void 0||Un.focus({preventScroll:!0})}}break}case Ie.Z.ESC:{Yn&&Hn&&(Ar.stopPropagation(),Yn(Ar));break}}};x.useEffect(function(){if(st&&en){var ir;(ir=Hi.current)===null||ir===void 0||ir.focus({preventScroll:!0})}},[st]);var fr=x.useState(!1),Lr=(0,He.Z)(fr,2),mi=Lr[0],Xt=Lr[1],ln=x.useContext(oe),yn;typeof bn=="boolean"?yn=bn?{}:{distance:0}:yn=bn||{};var kt=(Bt=(Lt=(Rt=yn)===null||Rt===void 0?void 0:Rt.distance)!==null&&Lt!==void 0?Lt:ln==null?void 0:ln.pushDistance)!==null&&Bt!==void 0?Bt:180,dn=x.useMemo(function(){return{pushDistance:kt,push:function(){Xt(!0)},pull:function(){Xt(!1)}}},[kt]);x.useEffect(function(){if(st){var ir;ln==null||(ir=ln.push)===null||ir===void 0||ir.call(ln)}else{var Ar;ln==null||(Ar=ln.pull)===null||Ar===void 0||Ar.call(ln)}},[st]),x.useEffect(function(){return function(){var ir;ln==null||(ir=ln.pull)===null||ir===void 0||ir.call(ln)}},[]);var zt=ri&&x.createElement(Me.default,(0,ve.Z)({key:"mask"},Ir,{visible:st}),function(ir,Ar){var ar=ir.className,ti=ir.style;return x.createElement("div",{className:Le()("".concat(Ct,"-mask"),ar,En==null?void 0:En.mask,qn),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},ti),vr),gi==null?void 0:gi.mask),onClick:Hr&&st?Yn:void 0,ref:Ar})}),hn=typeof rn=="function"?rn($t):rn,Pn={};if(mi&&kt)switch($t){case"top":Pn.transform="translateY(".concat(kt,"px)");break;case"bottom":Pn.transform="translateY(".concat(-kt,"px)");break;case"left":Pn.transform="translateX(".concat(kt,"px)");break;default:Pn.transform="translateX(".concat(-kt,"px)");break}$t==="left"||$t==="right"?Pn.width=Re(mn):Pn.height=Re(Xn);var _r={onMouseEnter:sr,onMouseOver:jn,onMouseLeave:ur,onClick:br,onKeyDown:Xr,onKeyUp:Yr},Jr=x.createElement(Me.default,(0,ve.Z)({key:"panel"},hn,{visible:st,forceRender:an,onVisibleChanged:function(Ar){Mr==null||Mr(Ar)},removeOnLeave:!1,leavedClassName:"".concat(Ct,"-content-wrapper-hidden")}),function(ir,Ar){var ar=ir.className,ti=ir.style,tr=x.createElement(ze,(0,ve.Z)({id:It,containerRef:Ar,prefixCls:Ct,className:Le()(Wn,En==null?void 0:En.content),style:(0,Je.Z)((0,Je.Z)({},Wt),gi==null?void 0:gi.content)},(0,_e.Z)(pt,{aria:!0}),_r),Fr);return x.createElement("div",(0,ve.Z)({className:Le()("".concat(Ct,"-content-wrapper"),En==null?void 0:En.wrapper,ar),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},Pn),ti),gi==null?void 0:gi.wrapper)},(0,_e.Z)(pt,{data:!0})),ci?ci(tr):tr)}),di=(0,Je.Z)({},sn);return Dn&&(di.zIndex=Dn),x.createElement(oe.Provider,{value:dn},x.createElement("div",{className:Le()(Ct,"".concat(Ct,"-").concat($t),Mt,(0,Oe.Z)((0,Oe.Z)({},"".concat(Ct,"-open"),st),"".concat(Ct,"-inline"),Vt)),style:di,tabIndex:-1,ref:Hi,onKeyDown:Ki},zt,x.createElement("div",{tabIndex:0,ref:vi,style:Ge,"aria-hidden":"true","data-sentinel":"start"}),Jr,x.createElement("div",{tabIndex:0,ref:no,style:Ge,"aria-hidden":"true","data-sentinel":"end"})))}var it=x.forwardRef(lt),ft=it,bt=function(gt){var Bt=gt.open,Lt=Bt===void 0?!1:Bt,Rt=gt.prefixCls,Ct=Rt===void 0?"rc-drawer":Rt,st=gt.placement,$t=st===void 0?"right":st,Vt=gt.autoFocus,bn=Vt===void 0?!0:Vt,an=gt.keyboard,en=an===void 0?!0:an,Hn=gt.width,En=Hn===void 0?378:Hn,Mt=gt.mask,sn=Mt===void 0?!0:Mt,Dn=gt.maskClosable,Wn=Dn===void 0?!0:Dn,It=gt.getContainer,Wt=gt.forceRender,rn=gt.afterOpenChange,mn=gt.destroyOnClose,Xn=gt.onMouseEnter,Fr=gt.onMouseOver,ri=gt.onMouseLeave,Hr=gt.onClick,Ir=gt.onKeyDown,qn=gt.onKeyUp,vr=gt.panelRef,Mr=x.useState(!1),Yn=(0,He.Z)(Mr,2),sr=Yn[0],jn=Yn[1],ur=x.useState(!1),br=(0,He.Z)(ur,2),Xr=br[0],Yr=br[1];(0,Ue.Z)(function(){Yr(!0)},[]);var gi=Xr?Lt:!1,ci=x.useRef(),Hi=x.useRef();(0,Ue.Z)(function(){gi&&(Hi.current=document.activeElement)},[gi]);var vi=function(mi){var Xt;if(jn(mi),rn==null||rn(mi),!mi&&Hi.current&&!((Xt=ci.current)!==null&&Xt!==void 0&&Xt.contains(Hi.current))){var ln;(ln=Hi.current)===null||ln===void 0||ln.focus({preventScroll:!0})}},no=x.useMemo(function(){return{panel:vr}},[vr]);if(!Wt&&!sr&&!gi&&mn)return null;var Ki={onMouseEnter:Xn,onMouseOver:Fr,onMouseLeave:ri,onClick:Hr,onKeyDown:Ir,onKeyUp:qn},fr=(0,Je.Z)((0,Je.Z)({},gt),{},{open:gi,prefixCls:Ct,placement:$t,autoFocus:bn,keyboard:en,width:En,mask:sn,maskClosable:Wn,inline:It===!1,afterOpenChange:vi,ref:ci},Ki);return x.createElement(Ce.Provider,{value:no},x.createElement(Se.Z,{open:gi||Wt||sr,autoDestroy:!1,getContainer:It,autoLock:sn&&(gi||sr)},x.createElement(ft,fr)))},je=bt,ht=je,Ne=ae(62487),We=ae(75030),Ut=ae(86641),ot=ae(55743),yt=ae(48755),Ft=ae(91190),Ze=ae(78776),Te=ae(458),Zt=pt=>{var gt,Bt;const{prefixCls:Lt,title:Rt,footer:Ct,extra:st,loading:$t,onClose:Vt,headerStyle:bn,bodyStyle:an,footerStyle:en,children:Hn,classNames:En,styles:Mt}=pt,sn=(0,yt.dj)("drawer"),Dn=x.useCallback(mn=>x.createElement("button",{type:"button",onClick:Vt,"aria-label":"Close",className:`${Lt}-close`},mn),[Vt]),[Wn,It]=(0,Ze.Z)((0,Ze.w)(pt),(0,Ze.w)(sn),{closable:!0,closeIconRender:Dn}),Wt=x.useMemo(()=>{var mn,Xn;return!Rt&&!Wn?null:x.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(mn=sn.styles)===null||mn===void 0?void 0:mn.header),bn),Mt==null?void 0:Mt.header),className:Le()(`${Lt}-header`,{[`${Lt}-header-close-only`]:Wn&&!Rt&&!st},(Xn=sn.classNames)===null||Xn===void 0?void 0:Xn.header,En==null?void 0:En.header)},x.createElement("div",{className:`${Lt}-header-title`},It,Rt&&x.createElement("div",{className:`${Lt}-title`},Rt)),st&&x.createElement("div",{className:`${Lt}-extra`},st))},[Wn,It,st,bn,Lt,Rt]),rn=x.useMemo(()=>{var mn,Xn;if(!Ct)return null;const Fr=`${Lt}-footer`;return x.createElement("div",{className:Le()(Fr,(mn=sn.classNames)===null||mn===void 0?void 0:mn.footer,En==null?void 0:En.footer),style:Object.assign(Object.assign(Object.assign({},(Xn=sn.styles)===null||Xn===void 0?void 0:Xn.footer),en),Mt==null?void 0:Mt.footer)},Ct)},[Ct,en,Lt]);return x.createElement(x.Fragment,null,Wt,x.createElement("div",{className:Le()(`${Lt}-body`,En==null?void 0:En.body,(gt=sn.classNames)===null||gt===void 0?void 0:gt.body),style:Object.assign(Object.assign(Object.assign({},(Bt=sn.styles)===null||Bt===void 0?void 0:Bt.body),an),Mt==null?void 0:Mt.body)},$t?x.createElement(Te.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Lt}-body-skeleton`}):Hn),rn)},Kt=ae(36237),rt=ae(63356),Nt=ae(16931),Qt=ae(51636);const pn=pt=>{const gt="100%";return{left:`translateX(-${gt})`,right:`translateX(${gt})`,top:`translateY(-${gt})`,bottom:`translateY(${gt})`}[pt]},Ot=(pt,gt)=>({"&-enter, &-appear":Object.assign(Object.assign({},pt),{"&-active":gt}),"&-leave":Object.assign(Object.assign({},gt),{"&-active":pt})}),vn=(pt,gt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${gt}`}}},Ot({opacity:pt},{opacity:1})),_t=(pt,gt)=>[vn(.7,gt),Ot({transform:pn(pt)},{transform:"none"})];var on=pt=>{const{componentCls:gt,motionDurationSlow:Bt}=pt;return{[gt]:{[`${gt}-mask-motion`]:vn(0,Bt),[`${gt}-panel-motion`]:["left","right","top","bottom"].reduce((Lt,Rt)=>Object.assign(Object.assign({},Lt),{[`&-${Rt}`]:_t(Rt,Bt)}),{})}}};const de=pt=>{const{borderRadiusSM:gt,componentCls:Bt,zIndexPopup:Lt,colorBgMask:Rt,colorBgElevated:Ct,motionDurationSlow:st,motionDurationMid:$t,paddingXS:Vt,padding:bn,paddingLG:an,fontSizeLG:en,lineHeightLG:Hn,lineWidth:En,lineType:Mt,colorSplit:sn,marginXS:Dn,colorIcon:Wn,colorIconHover:It,colorBgTextHover:Wt,colorBgTextActive:rn,colorText:mn,fontWeightStrong:Xn,footerPaddingBlock:Fr,footerPaddingInline:ri,calc:Hr}=pt,Ir=`${Bt}-content-wrapper`;return{[Bt]:{position:"fixed",inset:0,zIndex:Lt,pointerEvents:"none",color:mn,"&-pure":{position:"relative",background:Ct,display:"flex",flexDirection:"column",[`&${Bt}-left`]:{boxShadow:pt.boxShadowDrawerLeft},[`&${Bt}-right`]:{boxShadow:pt.boxShadowDrawerRight},[`&${Bt}-top`]:{boxShadow:pt.boxShadowDrawerUp},[`&${Bt}-bottom`]:{boxShadow:pt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Bt}-mask`]:{position:"absolute",inset:0,zIndex:Lt,background:Rt,pointerEvents:"auto"},[Ir]:{position:"absolute",zIndex:Lt,maxWidth:"100vw",transition:`all ${st}`,"&-hidden":{display:"none"}},[`&-left > ${Ir}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:pt.boxShadowDrawerLeft},[`&-right > ${Ir}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:pt.boxShadowDrawerRight},[`&-top > ${Ir}`]:{top:0,insetInline:0,boxShadow:pt.boxShadowDrawerUp},[`&-bottom > ${Ir}`]:{bottom:0,insetInline:0,boxShadow:pt.boxShadowDrawerDown},[`${Bt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Ct,pointerEvents:"auto"},[`${Bt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Kt.unit)(bn)} ${(0,Kt.unit)(an)}`,fontSize:en,lineHeight:Hn,borderBottom:`${(0,Kt.unit)(En)} ${Mt} ${sn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Bt}-extra`]:{flex:"none"},[`${Bt}-close`]:Object.assign({display:"inline-flex",width:Hr(en).add(Vt).equal(),height:Hr(en).add(Vt).equal(),borderRadius:gt,justifyContent:"center",alignItems:"center",marginInlineEnd:Dn,color:Wn,fontWeight:Xn,fontSize:en,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${$t}`,textRendering:"auto","&:hover":{color:It,backgroundColor:Wt,textDecoration:"none"},"&:active":{backgroundColor:rn}},(0,rt.Qy)(pt)),[`${Bt}-title`]:{flex:1,margin:0,fontWeight:pt.fontWeightStrong,fontSize:en,lineHeight:Hn},[`${Bt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:an,overflow:"auto",[`${Bt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Bt}-footer`]:{flexShrink:0,padding:`${(0,Kt.unit)(Fr)} ${(0,Kt.unit)(ri)}`,borderTop:`${(0,Kt.unit)(En)} ${Mt} ${sn}`},"&-rtl":{direction:"rtl"}}}},ge=pt=>({zIndexPopup:pt.zIndexPopupBase,footerPaddingBlock:pt.paddingXS,footerPaddingInline:pt.padding});var ie=(0,Nt.I$)("Drawer",pt=>{const gt=(0,Qt.mergeToken)(pt,{});return[de(gt),on(gt)]},ge),ee=function(pt,gt){var Bt={};for(var Lt in pt)Object.prototype.hasOwnProperty.call(pt,Lt)&>.indexOf(Lt)<0&&(Bt[Lt]=pt[Lt]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Lt=Object.getOwnPropertySymbols(pt);Rt{var gt;const{rootClassName:Bt,width:Lt,height:Rt,size:Ct="default",mask:st=!0,push:$t=se,open:Vt,afterOpenChange:bn,onClose:an,prefixCls:en,getContainer:Hn,style:En,className:Mt,visible:sn,afterVisibleChange:Dn,maskStyle:Wn,drawerStyle:It,contentWrapperStyle:Wt}=pt,rn=ee(pt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:mn,getPrefixCls:Xn,direction:Fr,className:ri,style:Hr,classNames:Ir,styles:qn}=(0,yt.dj)("drawer"),vr=Xn("drawer",en),[Mr,Yn,sr]=ie(vr),jn=Hn===void 0&&mn?()=>mn(document.body):Hn,ur=Le()({"no-mask":!st,[`${vr}-rtl`]:Fr==="rtl"},Bt,Yn,sr),br=x.useMemo(()=>Lt!=null?Lt:Ct==="large"?736:378,[Lt,Ct]),Xr=x.useMemo(()=>Rt!=null?Rt:Ct==="large"?736:378,[Rt,Ct]),Yr={motionName:(0,Ut.m)(vr,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},gi=fr=>({motionName:(0,Ut.m)(vr,`panel-motion-${fr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ci=(0,Ft.H)(),[Hi,vi]=(0,We.Cn)("Drawer",rn.zIndex),{classNames:no={},styles:Ki={}}=rn;return Mr(x.createElement(Ne.Z,{form:!0,space:!0},x.createElement(ot.Z.Provider,{value:vi},x.createElement(ht,Object.assign({prefixCls:vr,onClose:an,maskMotion:Yr,motion:gi},rn,{classNames:{mask:Le()(no.mask,Ir.mask),content:Le()(no.content,Ir.content),wrapper:Le()(no.wrapper,Ir.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Ki.mask),Wn),qn.mask),content:Object.assign(Object.assign(Object.assign({},Ki.content),It),qn.content),wrapper:Object.assign(Object.assign(Object.assign({},Ki.wrapper),Wt),qn.wrapper)},open:Vt!=null?Vt:sn,mask:st,push:$t,width:br,height:Xr,style:Object.assign(Object.assign({},Hr),En),className:Le()(ri,Mt),rootClassName:ur,getContainer:jn,afterOpenChange:bn!=null?bn:Dn,panelRef:ci,zIndex:Hi}),x.createElement(Zt,Object.assign({prefixCls:vr},rn,{onClose:an}))))))},$e=pt=>{const{prefixCls:gt,style:Bt,className:Lt,placement:Rt="right"}=pt,Ct=ee(pt,["prefixCls","style","className","placement"]),{getPrefixCls:st}=x.useContext(yt.E_),$t=st("drawer",gt),[Vt,bn,an]=ie($t),en=Le()($t,`${$t}-pure`,`${$t}-${Rt}`,bn,an,Lt);return Vt(x.createElement("div",{className:en,style:Bt},x.createElement(Zt,Object.assign({prefixCls:$t},Ct))))};Be._InternalPanelDoNotUseOrYouWillBeFired=$e;var at=Be},19563:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Kt}});var x=ae(59301),ct=ae(33853),Le=ae(38819),Je=ae(92310),He=ae.n(Je),Se=ae(96478),Ue=ae(6089),fe=ae(18929),Ce=ae(2738),oe=ae(75030),ve=rt=>typeof rt!="object"&&typeof rt!="function"||rt===null,Me=ae(52838),Ie=ae(45915),_e=ae(22703),we=ae(32383),xe=ae(55743),Ee=ae(48755),ke=ae(83397),ze=ae(93041),Qe=ae(78857),Re=ae(57700),et=ae(36237),Ge=ae(63356),lt=ae(46e3),it=ae(93873),ft=ae(34925),bt=ae(37645),je=ae(36305),ht=ae(16931),Ne=ae(51636),Ut=rt=>{const{componentCls:Nt,menuCls:Qt,colorError:pn,colorTextLightSolid:Ot}=rt,vn=`${Qt}-item`;return{[`${Nt}, ${Nt}-menu-submenu`]:{[`${Qt} ${vn}`]:{[`&${vn}-danger:not(${vn}-disabled)`]:{color:pn,"&:hover":{color:Ot,backgroundColor:pn}}}}}};const ot=rt=>{const{componentCls:Nt,menuCls:Qt,zIndexPopup:pn,dropdownArrowDistance:Ot,sizePopupArrow:vn,antCls:_t,iconCls:Fn,motionDurationMid:on,paddingBlock:de,fontSize:ge,dropdownEdgeChildPadding:ie,colorTextDisabled:ee,fontSizeIcon:le,controlPaddingHorizontal:se,colorBgElevated:Be}=rt;return[{[Nt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:pn,display:"block","&::before":{position:"absolute",insetBlock:rt.calc(vn).div(2).sub(Ot).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${_t}-btn`]:{[`& > ${Fn}-down, & > ${_t}-btn-icon > ${Fn}-down`]:{fontSize:le}},[`${Nt}-wrap`]:{position:"relative",[`${_t}-btn > ${Fn}-down`]:{fontSize:le},[`${Fn}-down::before`]:{transition:`transform ${on}`}},[`${Nt}-wrap-open`]:{[`${Fn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${_t}-slide-down-enter${_t}-slide-down-enter-active${Nt}-placement-bottomLeft, &${_t}-slide-down-appear${_t}-slide-down-appear-active${Nt}-placement-bottomLeft, &${_t}-slide-down-enter${_t}-slide-down-enter-active${Nt}-placement-bottom, &${_t}-slide-down-appear${_t}-slide-down-appear-active${Nt}-placement-bottom, &${_t}-slide-down-enter${_t}-slide-down-enter-active${Nt}-placement-bottomRight, &${_t}-slide-down-appear${_t}-slide-down-appear-active${Nt}-placement-bottomRight`]:{animationName:lt.fJ},[`&${_t}-slide-up-enter${_t}-slide-up-enter-active${Nt}-placement-topLeft, &${_t}-slide-up-appear${_t}-slide-up-appear-active${Nt}-placement-topLeft, &${_t}-slide-up-enter${_t}-slide-up-enter-active${Nt}-placement-top, &${_t}-slide-up-appear${_t}-slide-up-appear-active${Nt}-placement-top, &${_t}-slide-up-enter${_t}-slide-up-enter-active${Nt}-placement-topRight, &${_t}-slide-up-appear${_t}-slide-up-appear-active${Nt}-placement-topRight`]:{animationName:lt.Qt},[`&${_t}-slide-down-leave${_t}-slide-down-leave-active${Nt}-placement-bottomLeft, &${_t}-slide-down-leave${_t}-slide-down-leave-active${Nt}-placement-bottom, &${_t}-slide-down-leave${_t}-slide-down-leave-active${Nt}-placement-bottomRight`]:{animationName:lt.Uw},[`&${_t}-slide-up-leave${_t}-slide-up-leave-active${Nt}-placement-topLeft, &${_t}-slide-up-leave${_t}-slide-up-leave-active${Nt}-placement-top, &${_t}-slide-up-leave${_t}-slide-up-leave-active${Nt}-placement-topRight`]:{animationName:lt.ly}}},(0,bt.ZP)(rt,Be,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Nt} ${Qt}`]:{position:"relative",margin:0},[`${Qt}-submenu-popup`]:{position:"absolute",zIndex:pn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Nt}, ${Nt}-menu-submenu`]:Object.assign(Object.assign({},(0,Ge.Wf)(rt)),{[Qt]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Be,backgroundClip:"padding-box",borderRadius:rt.borderRadiusLG,outline:"none",boxShadow:rt.boxShadowSecondary},(0,Ge.Qy)(rt)),{"&:empty":{padding:0,boxShadow:"none"},[`${Qt}-item-group-title`]:{padding:`${(0,et.unit)(de)} ${(0,et.unit)(se)}`,color:rt.colorTextDescription,transition:`all ${on}`},[`${Qt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Qt}-item-icon`]:{minWidth:ge,marginInlineEnd:rt.marginXS,fontSize:rt.fontSizeSM},[`${Qt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${on}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Qt}-item-extra`]:{paddingInlineStart:rt.padding,marginInlineStart:"auto",fontSize:rt.fontSizeSM,color:rt.colorTextDescription}},[`${Qt}-item, ${Qt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,et.unit)(de)} ${(0,et.unit)(se)}`,color:rt.colorText,fontWeight:"normal",fontSize:ge,lineHeight:rt.lineHeight,cursor:"pointer",transition:`all ${on}`,borderRadius:rt.borderRadiusSM,"&:hover, &-active":{backgroundColor:rt.controlItemBgHover}},(0,Ge.Qy)(rt)),{"&-selected":{color:rt.colorPrimary,backgroundColor:rt.controlItemBgActive,"&:hover, &-active":{backgroundColor:rt.controlItemBgActiveHover}},"&-disabled":{color:ee,cursor:"not-allowed","&:hover":{color:ee,backgroundColor:Be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,et.unit)(rt.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:rt.colorSplit},[`${Nt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:rt.paddingXS,[`${Nt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:rt.colorTextDescription,fontSize:le,fontStyle:"normal"}}}),[`${Qt}-item-group-list`]:{margin:`0 ${(0,et.unit)(rt.marginXS)}`,padding:0,listStyle:"none"},[`${Qt}-submenu-title`]:{paddingInlineEnd:rt.calc(se).add(rt.fontSizeSM).equal()},[`${Qt}-submenu-vertical`]:{position:"relative"},[`${Qt}-submenu${Qt}-submenu-disabled ${Nt}-menu-submenu-title`]:{[`&, ${Nt}-menu-submenu-arrow-icon`]:{color:ee,backgroundColor:Be,cursor:"not-allowed"}},[`${Qt}-submenu-selected ${Nt}-menu-submenu-title`]:{color:rt.colorPrimary}})})},[(0,lt.oN)(rt,"slide-up"),(0,lt.oN)(rt,"slide-down"),(0,it.Fm)(rt,"move-up"),(0,it.Fm)(rt,"move-down"),(0,ft._y)(rt,"zoom-big")]]},yt=rt=>Object.assign(Object.assign({zIndexPopup:rt.zIndexPopupBase+50,paddingBlock:(rt.controlHeight-rt.fontSize*rt.lineHeight)/2},(0,bt.wZ)({contentRadius:rt.borderRadiusLG,limitVerticalRadius:!0})),(0,je.w)(rt));var Ft=(0,ht.I$)("Dropdown",rt=>{const{marginXXS:Nt,sizePopupArrow:Qt,paddingXXS:pn,componentCls:Ot}=rt,vn=(0,Ne.mergeToken)(rt,{menuCls:`${Ot}-menu`,dropdownArrowDistance:rt.calc(Qt).div(2).add(Nt).equal(),dropdownEdgeChildPadding:pn});return[ot(vn),Ut(vn)]},yt,{resetStyle:!1});const Ze=null,Te=rt=>{var Nt;const{menu:Qt,arrow:pn,prefixCls:Ot,children:vn,trigger:_t,disabled:Fn,dropdownRender:on,getPopupContainer:de,overlayClassName:ge,rootClassName:ie,overlayStyle:ee,open:le,onOpenChange:se,visible:Be,onVisibleChange:$e,mouseEnterDelay:at=.15,mouseLeaveDelay:pt=.1,autoAdjustOverflow:gt=!0,placement:Bt="",overlay:Lt,transitionName:Rt}=rt,{getPopupContainer:Ct,getPrefixCls:st,direction:$t,dropdown:Vt}=x.useContext(Ee.E_),bn=(0,we.ln)("Dropdown"),an=x.useMemo(()=>{const jn=st();return Rt!==void 0?Rt:Bt.includes("top")?`${jn}-slide-down`:`${jn}-slide-up`},[st,Bt,Rt]),en=x.useMemo(()=>Bt?Bt.includes("Center")?Bt.slice(0,Bt.indexOf("Center")):Bt:$t==="rtl"?"bottomRight":"bottomLeft",[Bt,$t]),Hn=st("dropdown",Ot),En=(0,ke.Z)(Hn),[Mt,sn,Dn]=Ft(Hn,En),[,Wn]=(0,Re.ZP)(),It=x.Children.only(ve(vn)?x.createElement("span",null,vn):vn),Wt=(0,_e.Tm)(It,{className:He()(`${Hn}-trigger`,{[`${Hn}-rtl`]:$t==="rtl"},It.props.className),disabled:(Nt=It.props.disabled)!==null&&Nt!==void 0?Nt:Fn}),rn=Fn?[]:_t,mn=!!(rn!=null&&rn.includes("contextMenu")),[Xn,Fr]=(0,fe.Z)(!1,{value:le!=null?le:Be}),ri=(0,Ue.Z)(jn=>{se==null||se(jn,{source:"trigger"}),$e==null||$e(jn),Fr(jn)}),Hr=He()(ge,ie,sn,Dn,En,Vt==null?void 0:Vt.className,{[`${Hn}-rtl`]:$t==="rtl"}),Ir=(0,Me.Z)({arrowPointAtCenter:typeof pn=="object"&&pn.pointAtCenter,autoAdjustOverflow:gt,offset:Wn.marginXXS,arrowWidth:pn?Wn.sizePopupArrow:0,borderRadius:Wn.borderRadius}),qn=x.useCallback(()=>{Qt!=null&&Qt.selectable&&(Qt!=null&&Qt.multiple)||(se==null||se(!1,{source:"menu"}),Fr(!1))},[Qt==null?void 0:Qt.selectable,Qt==null?void 0:Qt.multiple]),vr=()=>{let jn;return Qt!=null&&Qt.items?jn=x.createElement(ze.default,Object.assign({},Qt)):typeof Lt=="function"?jn=Lt():jn=Lt,on&&(jn=on(jn)),jn=x.Children.only(typeof jn=="string"?x.createElement("span",null,jn):jn),x.createElement(Qe.J,{prefixCls:`${Hn}-menu`,rootClassName:He()(Dn,En),expandIcon:x.createElement("span",{className:`${Hn}-menu-submenu-arrow`},$t==="rtl"?x.createElement(ct.Z,{className:`${Hn}-menu-submenu-arrow-icon`}):x.createElement(Le.Z,{className:`${Hn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:qn,validator:ur=>{let{mode:br}=ur}},jn)},[Mr,Yn]=(0,oe.Cn)("Dropdown",ee==null?void 0:ee.zIndex);let sr=x.createElement(Se.Z,Object.assign({alignPoint:mn},(0,Ce.Z)(rt,["rootClassName"]),{mouseEnterDelay:at,mouseLeaveDelay:pt,visible:Xn,builtinPlacements:Ir,arrow:!!pn,overlayClassName:Hr,prefixCls:Hn,getPopupContainer:de||Ct,transitionName:an,trigger:rn,overlay:vr,placement:en,onVisibleChange:ri,overlayStyle:Object.assign(Object.assign(Object.assign({},Vt==null?void 0:Vt.style),ee),{zIndex:Mr})}),Wt);return Mr&&(sr=x.createElement(xe.Z.Provider,{value:Yn},sr)),Mt(sr)},At=(0,Ie.Z)(Te,"align",void 0,"dropdown",rt=>rt),Zt=rt=>x.createElement(At,Object.assign({},rt),x.createElement("span",null));Te._InternalPanelDoNotUseOrYouWillBeFired=Zt;var Kt=Te},75727:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ie}});var x=ae(19563),ct=ae(59301),Le=ae(18785),Je=ae(92310),He=ae.n(Je),Se=ae(7939),Ue=ae(48755),fe=ae(44104),Ce=ae(70045),oe=function(_e,we){var xe={};for(var Ee in _e)Object.prototype.hasOwnProperty.call(_e,Ee)&&we.indexOf(Ee)<0&&(xe[Ee]=_e[Ee]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ee=Object.getOwnPropertySymbols(_e);ke{const{getPopupContainer:we,getPrefixCls:xe,direction:Ee}=ct.useContext(Ue.E_),{prefixCls:ke,type:ze="default",danger:Qe,disabled:Re,loading:et,onClick:Ge,htmlType:lt,children:it,className:ft,menu:bt,arrow:je,autoFocus:ht,overlay:Ne,trigger:We,align:Ut,open:ot,onOpenChange:yt,placement:Ft,getPopupContainer:Ze,href:Te,icon:At=ct.createElement(Le.Z,null),title:Zt,buttonsRender:Kt=at=>at,mouseEnterDelay:rt,mouseLeaveDelay:Nt,overlayClassName:Qt,overlayStyle:pn,destroyPopupOnHide:Ot,dropdownRender:vn}=_e,_t=oe(_e,["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"]),Fn=xe("dropdown",ke),on=`${Fn}-button`,de={menu:bt,arrow:je,autoFocus:ht,align:Ut,disabled:Re,trigger:Re?[]:We,onOpenChange:yt,getPopupContainer:Ze||we,mouseEnterDelay:rt,mouseLeaveDelay:Nt,overlayClassName:Qt,overlayStyle:pn,destroyPopupOnHide:Ot,dropdownRender:vn},{compactSize:ge,compactItemClassnames:ie}=(0,Ce.ri)(Fn,Ee),ee=He()(on,ie,ft);"overlay"in _e&&(de.overlay=Ne),"open"in _e&&(de.open=ot),"placement"in _e?de.placement=Ft:de.placement=Ee==="rtl"?"bottomLeft":"bottomRight";const le=ct.createElement(Se.ZP,{type:ze,danger:Qe,disabled:Re,loading:et,onClick:Ge,htmlType:lt,href:Te,title:Zt},it),se=ct.createElement(Se.ZP,{type:ze,danger:Qe,icon:At}),[Be,$e]=Kt([le,se]);return ct.createElement(fe.Z.Compact,Object.assign({className:ee,size:ge,block:!0},_t),Be,ct.createElement(x.Z,Object.assign({},de),$e))};Oe.__ANT_BUTTON=!0;var ve=Oe;const Me=x.Z;Me.Button=ve;var Ie=Me},584:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ze}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(9017),He=ae(17835),Se=ae(57700),fe=()=>{const[,Qe]=(0,Se.ZP)(),[Re]=(0,Je.Z)("Empty"),Ge=new He.FastColor(Qe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:Ge,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(Re==null?void 0:Re.description)||"Empty"),x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(24 31.67)"},x.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),x.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"}),x.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)"}),x.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"}),x.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"})),x.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"}),x.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},x.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),x.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},oe=()=>{const[,Qe]=(0,Se.ZP)(),[Re]=(0,Je.Z)("Empty"),{colorFill:et,colorFillTertiary:Ge,colorFillQuaternary:lt,colorBgContainer:it}=Qe,{borderColor:ft,shadowColor:bt,contentColor:je}=(0,x.useMemo)(()=>({borderColor:new He.FastColor(et).onBackground(it).toHexString(),shadowColor:new He.FastColor(Ge).onBackground(it).toHexString(),contentColor:new He.FastColor(lt).onBackground(it).toHexString()}),[et,Ge,lt,it]);return x.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(Re==null?void 0:Re.description)||"Empty"),x.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},x.createElement("ellipse",{fill:bt,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:ft},x.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"}),x.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:je}))))},Oe=ae(16931),ve=ae(51636);const Me=Qe=>{const{componentCls:Re,margin:et,marginXS:Ge,marginXL:lt,fontSize:it,lineHeight:ft}=Qe;return{[Re]:{marginInline:Ge,fontSize:it,lineHeight:ft,textAlign:"center",[`${Re}-image`]:{height:Qe.emptyImgHeight,marginBottom:Ge,opacity:Qe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Re}-description`]:{color:Qe.colorTextDescription},[`${Re}-footer`]:{marginTop:et},"&-normal":{marginBlock:lt,color:Qe.colorTextDescription,[`${Re}-description`]:{color:Qe.colorTextDescription},[`${Re}-image`]:{height:Qe.emptyImgHeightMD}},"&-small":{marginBlock:Ge,color:Qe.colorTextDescription,[`${Re}-image`]:{height:Qe.emptyImgHeightSM}}}}};var Ie=(0,Oe.I$)("Empty",Qe=>{const{componentCls:Re,controlHeightLG:et,calc:Ge}=Qe,lt=(0,ve.mergeToken)(Qe,{emptyImgCls:`${Re}-img`,emptyImgHeight:Ge(et).mul(2.5).equal(),emptyImgHeightMD:et,emptyImgHeightSM:Ge(et).mul(.875).equal()});return[Me(lt)]}),_e=ae(48755),we=function(Qe,Re){var et={};for(var Ge in Qe)Object.prototype.hasOwnProperty.call(Qe,Ge)&&Re.indexOf(Ge)<0&&(et[Ge]=Qe[Ge]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Ge=Object.getOwnPropertySymbols(Qe);lt{const{className:Re,rootClassName:et,prefixCls:Ge,image:lt=xe,description:it,children:ft,imageStyle:bt,style:je,classNames:ht,styles:Ne}=Qe,We=we(Qe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ut,direction:ot,className:yt,style:Ft,classNames:Ze,styles:Te}=(0,_e.dj)("empty"),At=Ut("empty",Ge),[Zt,Kt,rt]=Ie(At),[Nt]=(0,Je.Z)("Empty"),Qt=typeof it!="undefined"?it:Nt==null?void 0:Nt.description,pn=typeof Qt=="string"?Qt:"empty";let Ot=null;return typeof lt=="string"?Ot=x.createElement("img",{alt:pn,src:lt}):Ot=lt,Zt(x.createElement("div",Object.assign({className:Le()(Kt,rt,At,yt,{[`${At}-normal`]:lt===Ee,[`${At}-rtl`]:ot==="rtl"},Re,et,Ze.root,ht==null?void 0:ht.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Te.root),Ft),Ne==null?void 0:Ne.root),je)},We),x.createElement("div",{className:Le()(`${At}-image`,Ze.image,ht==null?void 0:ht.image),style:Object.assign(Object.assign(Object.assign({},bt),Te.image),Ne==null?void 0:Ne.image)},Ot),Qt&&x.createElement("div",{className:Le()(`${At}-description`,Ze.description,ht==null?void 0:ht.description),style:Object.assign(Object.assign({},Te.description),Ne==null?void 0:Ne.description)},Qt),ft&&x.createElement("div",{className:Le()(`${At}-footer`,Ze.footer,ht==null?void 0:ht.footer),style:Object.assign(Object.assign({},Te.footer),Ne==null?void 0:Ne.footer)},ft)))};ke.PRESENTED_IMAGE_DEFAULT=xe,ke.PRESENTED_IMAGE_SIMPLE=Ee;var ze=ke},28284:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return yn}});var x=ae(56553),ct=ae(94480),Le=ae(59301),Je=ae(92310),He=ae.n(Je),Se=ae(77900),Ue=ae(86641),fe=ae(83397);function Ce(kt){const[dn,zt]=Le.useState(kt);return Le.useEffect(()=>{const hn=setTimeout(()=>{zt(kt)},kt.length?0:10);return()=>{clearTimeout(hn)}},[kt]),dn}var oe=ae(36237),Oe=ae(63356),ve=ae(34925),Me=ae(34961),Ie=ae(51636),_e=ae(16931),xe=kt=>{const{componentCls:dn}=kt,zt=`${dn}-show-help`,hn=`${dn}-show-help-item`;return{[zt]:{transition:`opacity ${kt.motionDurationFast} ${kt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[hn]:{overflow:"hidden",transition:`height ${kt.motionDurationFast} ${kt.motionEaseInOut}, opacity ${kt.motionDurationFast} ${kt.motionEaseInOut}, transform ${kt.motionDurationFast} ${kt.motionEaseInOut} !important`,[`&${hn}-appear, &${hn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${hn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ee=kt=>({legend:{display:"block",width:"100%",marginBottom:kt.marginLG,padding:0,color:kt.colorTextDescription,fontSize:kt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,oe.unit)(kt.lineWidth)} ${kt.lineType} ${kt.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,oe.unit)(kt.controlOutlineWidth)} ${kt.controlOutline}`},output:{display:"block",paddingTop:15,color:kt.colorText,fontSize:kt.fontSize,lineHeight:kt.lineHeight}}),ke=(kt,dn)=>{const{formItemCls:zt}=kt;return{[zt]:{[`${zt}-label > label`]:{height:dn},[`${zt}-control-input`]:{minHeight:dn}}}},ze=kt=>{const{componentCls:dn}=kt;return{[kt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(kt)),Ee(kt)),{[`${dn}-text`]:{display:"inline-block",paddingInlineEnd:kt.paddingSM},"&-small":Object.assign({},ke(kt,kt.controlHeightSM)),"&-large":Object.assign({},ke(kt,kt.controlHeightLG))})}},Qe=kt=>{const{formItemCls:dn,iconCls:zt,rootPrefixCls:hn,antCls:Pn,labelRequiredMarkColor:_r,labelColor:Jr,labelFontSize:di,labelHeight:ir,labelColonMarginInlineStart:Ar,labelColonMarginInlineEnd:ar,itemMarginBottom:ti}=kt;return{[dn]:Object.assign(Object.assign({},(0,Oe.Wf)(kt)),{marginBottom:ti,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${Pn}-row`]:{display:"none"},"&-has-warning":{[`${dn}-split`]:{color:kt.colorError}},"&-has-error":{[`${dn}-split`]:{color:kt.colorWarning}},[`${dn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:kt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ir,color:Jr,fontSize:di,[`> ${zt}`]:{fontSize:kt.fontSize,verticalAlign:"top"},[`&${dn}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:kt.marginXXS,color:_r,fontSize:kt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${dn}-required-mark-hidden, &${dn}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${dn}-optional`]:{display:"inline-block",marginInlineStart:kt.marginXXS,color:kt.colorTextDescription,[`&${dn}-required-mark-hidden`]:{display:"none"}},[`${dn}-tooltip`]:{color:kt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:kt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ar,marginInlineEnd:ar},[`&${dn}-no-colon::after`]:{content:'"\\a0"'}}},[`${dn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${hn}-col-'"]):not([class*="' ${hn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:kt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[dn]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:kt.colorTextDescription,fontSize:kt.fontSize,lineHeight:kt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:kt.controlHeightSM,transition:`color ${kt.motionDurationMid} ${kt.motionEaseOut}`},"&-explain":{"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning}}},[`&-with-help ${dn}-explain`]:{height:"auto",opacity:1},[`${dn}-feedback-icon`]:{fontSize:kt.fontSize,textAlign:"center",visibility:"visible",animationName:ve.kr,animationDuration:kt.motionDurationMid,animationTimingFunction:kt.motionEaseOutBack,pointerEvents:"none","&-success":{color:kt.colorSuccess},"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning},"&-validating":{color:kt.colorPrimary}}})}},Re=(kt,dn)=>{const{formItemCls:zt}=kt;return{[`${dn}-horizontal`]:{[`${zt}-label`]:{flexGrow:0},[`${zt}-control`]:{flex:"1 1 0",minWidth:0},[`${zt}-label[class$='-24'], ${zt}-label[class*='-24 ']`]:{[`& + ${zt}-control`]:{minWidth:"unset"}}}}},et=kt=>{const{componentCls:dn,formItemCls:zt,inlineItemMarginBottom:hn}=kt;return{[`${dn}-inline`]:{display:"flex",flexWrap:"wrap",[zt]:{flex:"none",marginInlineEnd:kt.margin,marginBottom:hn,"&-row":{flexWrap:"nowrap"},[`> ${zt}-label, > ${zt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${zt}-label`]:{flex:"none"},[`${dn}-text`]:{display:"inline-block"},[`${zt}-has-feedback`]:{display:"inline-block"}}}}},Ge=kt=>({padding:kt.verticalLabelPadding,margin:kt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),lt=kt=>{const{componentCls:dn,formItemCls:zt,rootPrefixCls:hn}=kt;return{[`${zt} ${zt}-label`]:Ge(kt),[`${dn}:not(${dn}-inline)`]:{[zt]:{flexWrap:"wrap",[`${zt}-label, ${zt}-control`]:{[`&:not([class*=" ${hn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},it=kt=>{const{componentCls:dn,formItemCls:zt,antCls:hn}=kt;return{[`${dn}-vertical`]:{[`${zt}:not(${zt}-horizontal)`]:{[`${zt}-row`]:{flexDirection:"column"},[`${zt}-label > label`]:{height:"auto"},[`${zt}-control`]:{width:"100%"},[`${zt}-label, ${hn}-col-24${zt}-label, ${hn}-col-xl-24${zt}-label`]:Ge(kt)}},[`@media (max-width: ${(0,oe.unit)(kt.screenXSMax)})`]:[lt(kt),{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-xs-24${zt}-label`]:Ge(kt)}}}],[`@media (max-width: ${(0,oe.unit)(kt.screenSMMax)})`]:{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-sm-24${zt}-label`]:Ge(kt)}}},[`@media (max-width: ${(0,oe.unit)(kt.screenMDMax)})`]:{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-md-24${zt}-label`]:Ge(kt)}}},[`@media (max-width: ${(0,oe.unit)(kt.screenLGMax)})`]:{[dn]:{[`${zt}:not(${zt}-horizontal)`]:{[`${hn}-col-lg-24${zt}-label`]:Ge(kt)}}}}},ft=kt=>{const{formItemCls:dn,antCls:zt}=kt;return{[`${dn}-vertical`]:{[`${dn}-row`]:{flexDirection:"column"},[`${dn}-label > label`]:{height:"auto"},[`${dn}-control`]:{width:"100%"}},[`${dn}-vertical ${dn}-label, ${zt}-col-24${dn}-label, ${zt}-col-xl-24${dn}-label`]:Ge(kt),[`@media (max-width: ${(0,oe.unit)(kt.screenXSMax)})`]:[lt(kt),{[dn]:{[`${zt}-col-xs-24${dn}-label`]:Ge(kt)}}],[`@media (max-width: ${(0,oe.unit)(kt.screenSMMax)})`]:{[dn]:{[`${zt}-col-sm-24${dn}-label`]:Ge(kt)}},[`@media (max-width: ${(0,oe.unit)(kt.screenMDMax)})`]:{[dn]:{[`${zt}-col-md-24${dn}-label`]:Ge(kt)}},[`@media (max-width: ${(0,oe.unit)(kt.screenLGMax)})`]:{[dn]:{[`${zt}-col-lg-24${dn}-label`]:Ge(kt)}}}},bt=kt=>({labelRequiredMarkColor:kt.colorError,labelColor:kt.colorTextHeading,labelFontSize:kt.fontSize,labelHeight:kt.controlHeight,labelColonMarginInlineStart:kt.marginXXS/2,labelColonMarginInlineEnd:kt.marginXS,itemMarginBottom:kt.marginLG,verticalLabelPadding:`0 0 ${kt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),je=(kt,dn)=>(0,Ie.mergeToken)(kt,{formItemCls:`${kt.componentCls}-item`,rootPrefixCls:dn});var ht=(0,_e.I$)("Form",(kt,dn)=>{let{rootPrefixCls:zt}=dn;const hn=je(kt,zt);return[ze(hn),Qe(hn),xe(hn),Re(hn,hn.componentCls),Re(hn,hn.formItemCls),et(hn),it(hn),ft(hn),(0,Me.Z)(hn),ve.kr]},bt,{order:-1e3});const Ne=[];function We(kt,dn,zt){let hn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof kt=="string"?kt:`${dn}-${hn}`,error:kt,errorStatus:zt}}var ot=kt=>{let{help:dn,helpStatus:zt,errors:hn=Ne,warnings:Pn=Ne,className:_r,fieldId:Jr,onVisibleChanged:di}=kt;const{prefixCls:ir}=Le.useContext(x.Rk),Ar=`${ir}-item-explain`,ar=(0,fe.Z)(ir),[ti,tr,Un]=ht(ir,ar),cr=Le.useMemo(()=>(0,Ue.Z)(ir),[ir]),Ei=Ce(hn),Kn=Ce(Pn),gn=Le.useMemo(()=>dn!=null?[We(dn,"help",zt)]:[].concat((0,ct.Z)(Ei.map((pr,zr)=>We(pr,"error","error",zr))),(0,ct.Z)(Kn.map((pr,zr)=>We(pr,"warning","warning",zr)))),[dn,zt,Ei,Kn]),$n=Le.useMemo(()=>{const pr={};return gn.forEach(zr=>{let{key:Ni}=zr;pr[Ni]=(pr[Ni]||0)+1}),gn.map((zr,Ni)=>Object.assign(Object.assign({},zr),{key:pr[zr.key]>1?`${zr.key}-fallback-${Ni}`:zr.key}))},[gn]),nr={};return Jr&&(nr.id=`${Jr}_help`),ti(Le.createElement(Se.default,{motionDeadline:cr.motionDeadline,motionName:`${ir}-show-help`,visible:!!$n.length,onVisibleChanged:di},pr=>{const{className:zr,style:Ni}=pr;return Le.createElement("div",Object.assign({},nr,{className:He()(Ar,zr,Un,ar,_r,tr),style:Ni}),Le.createElement(Se.CSSMotionList,Object.assign({keys:$n},(0,Ue.Z)(ir),{motionName:`${ir}-show-help-item`,component:!1}),fi=>{const{key:Li,error:hi,errorStatus:Si,className:wi,style:Ci}=fi;return Le.createElement("div",{key:Li,className:He()(wi,{[`${Ar}-${Si}`]:Si}),style:Ci},hi)}))}))},yt=ae(22001),Ft=ae(48755),Ze=ae(2171),Te=ae(31756),At=ae(23069),Zt=ae(76846),Kt=ae(16722);const rt=["parentNode"],Nt="form_item";function Qt(kt){return kt===void 0||kt===!1?[]:Array.isArray(kt)?kt:[kt]}function pn(kt,dn){if(!kt.length)return;const zt=kt.join("_");return dn?`${dn}_${zt}`:rt.includes(zt)?`${Nt}_${zt}`:zt}function Ot(kt,dn,zt,hn,Pn,_r){let Jr=hn;return _r!==void 0?Jr=_r:zt.validating?Jr="validating":kt.length?Jr="error":dn.length?Jr="warning":(zt.touched||Pn&&zt.validated)&&(Jr="success"),Jr}var vn=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pnkt!=null?kt:Object.assign(Object.assign({},dn),{__INTERNAL__:{itemRef:Pn=>_r=>{const Jr=_t(Pn);_r?zt.current[Jr]=_r:delete zt.current[Jr]}},scrollToField:function(Pn){let _r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Jr}=_r,di=vn(_r,["focus"]),ir=Fn(Pn,hn);ir&&((0,Kt.Z)(ir,Object.assign({scrollMode:"if-needed",block:"nearest"},di)),Jr&&hn.focusField(Pn))},focusField:Pn=>{var _r,Jr;const di=hn.getFieldInstance(Pn);typeof(di==null?void 0:di.focus)=="function"?di.focus():(Jr=(_r=Fn(Pn,hn))===null||_r===void 0?void 0:_r.focus)===null||Jr===void 0||Jr.call(_r)},getFieldInstance:Pn=>{const _r=_t(Pn);return zt.current[_r]}}),[kt,dn]);return[hn]}var de=ae(98350),ge=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn{const zt=Le.useContext(Ze.Z),{getPrefixCls:hn,direction:Pn,requiredMark:_r,colon:Jr,scrollToFirstError:di,className:ir,style:Ar}=(0,Ft.dj)("form"),{prefixCls:ar,className:ti,rootClassName:tr,size:Un,disabled:cr=zt,form:Ei,colon:Kn,labelAlign:gn,labelWrap:$n,labelCol:nr,wrapperCol:pr,hideRequiredMark:zr,layout:Ni="horizontal",scrollToFirstError:fi,requiredMark:Li,onFinishFailed:hi,name:Si,style:wi,feedbackIcons:Ci,variant:yi}=kt,Ti=ge(kt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),eo=(0,Te.Z)(Un),mo=Le.useContext(de.Z),Yi=Le.useMemo(()=>Li!==void 0?Li:zr?!1:_r!==void 0?_r:!0,[zr,Li,_r]),Lo=Kn!=null?Kn:Jr,Mi=hn("form",ar),Mo=(0,fe.Z)(Mi),[Ao,Xo,bo]=ht(Mi,Mo),to=He()(Mi,`${Mi}-${Ni}`,{[`${Mi}-hide-required-mark`]:Yi===!1,[`${Mi}-rtl`]:Pn==="rtl",[`${Mi}-${eo}`]:eo},bo,Mo,Xo,ir,ti,tr),[Co]=on(Ei),{__INTERNAL__:Vo}=Co;Vo.name=Si;const _n=Le.useMemo(()=>({name:Si,labelAlign:gn,labelCol:nr,labelWrap:$n,wrapperCol:pr,vertical:Ni==="vertical",colon:Lo,requiredMark:Yi,itemRef:Vo.itemRef,form:Co,feedbackIcons:Ci}),[Si,gn,nr,pr,Ni,Lo,Yi,Co,Ci]),Do=Le.useRef(null);Le.useImperativeHandle(dn,()=>{var qr;return Object.assign(Object.assign({},Co),{nativeElement:(qr=Do.current)===null||qr===void 0?void 0:qr.nativeElement})});const Vi=(qr,ni)=>{if(qr){let Wr={block:"nearest"};typeof qr=="object"&&(Wr=Object.assign(Object.assign({},Wr),qr)),Co.scrollToField(ni,Wr)}},Ur=qr=>{if(hi==null||hi(qr),qr.errorFields.length){const ni=qr.errorFields[0].name;if(fi!==void 0){Vi(fi,ni);return}di!==void 0&&Vi(di,ni)}};return Ao(Le.createElement(x.pg.Provider,{value:yi},Le.createElement(Ze.n,{disabled:cr},Le.createElement(At.Z.Provider,{value:eo},Le.createElement(x.RV,{validateMessages:mo},Le.createElement(x.q3.Provider,{value:_n},Le.createElement(yt.default,Object.assign({id:Si},Ti,{name:Si,onFinishFailed:Ur,form:Co,ref:Do,style:Object.assign(Object.assign({},Ar),wi),className:to}))))))))};var le=Le.forwardRef(ie),se=ae(41799),Be=ae(8654),$e=ae(22703),at=ae(32383),pt=ae(11592);function gt(kt){if(typeof kt=="function")return kt;const dn=(0,pt.Z)(kt);return dn.length<=1?dn[0]:dn}const Bt=()=>{const{status:kt,errors:dn=[],warnings:zt=[]}=Le.useContext(x.aM);return{status:kt,errors:dn,warnings:zt}};Bt.Context=x.aM;var Lt=Bt,Rt=ae(16089);function Ct(kt){const[dn,zt]=Le.useState(kt),hn=Le.useRef(null),Pn=Le.useRef([]),_r=Le.useRef(!1);Le.useEffect(()=>(_r.current=!1,()=>{_r.current=!0,Rt.Z.cancel(hn.current),hn.current=null}),[]);function Jr(di){_r.current||(hn.current===null&&(Pn.current=[],hn.current=(0,Rt.Z)(()=>{hn.current=null,zt(ir=>{let Ar=ir;return Pn.current.forEach(ar=>{Ar=ar(Ar)}),Ar})})),Pn.current.push(di))}return[dn,Jr]}function st(){const{itemRef:kt}=Le.useContext(x.q3),dn=Le.useRef({});function zt(hn,Pn){const _r=Pn&&typeof Pn=="object"&&(0,Be.C4)(Pn),Jr=hn.join("_");return(dn.current.name!==Jr||dn.current.originRef!==_r)&&(dn.current.name=Jr,dn.current.originRef=_r,dn.current.ref=(0,Be.sQ)(kt(hn),_r)),dn.current.ref}return zt}var $t=ae(29194),Vt=ae(34280),bn=ae(2738),an=ae(65970),en=ae(70425),Hn=ae(5472);const En=kt=>{const{formItemCls:dn}=kt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${dn}-control`]:{display:"flex"}}}};var Mt=(0,_e.bk)(["Form","item-item"],(kt,dn)=>{let{rootPrefixCls:zt}=dn;const hn=je(kt,zt);return[En(hn)]}),sn=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn{const{prefixCls:dn,status:zt,labelCol:hn,wrapperCol:Pn,children:_r,errors:Jr,warnings:di,_internalItemRender:ir,extra:Ar,help:ar,fieldId:ti,marginBottom:tr,onErrorVisibleChanged:Un,label:cr}=kt,Ei=`${dn}-item`,Kn=Le.useContext(x.q3),gn=Le.useMemo(()=>{let Ti=Object.assign({},Pn||Kn.wrapperCol||{});return cr===null&&!hn&&!Pn&&Kn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(mo=>{const Yi=mo?[mo]:[],Lo=(0,en.U2)(Kn.labelCol,Yi),Mi=typeof Lo=="object"?Lo:{},Mo=(0,en.U2)(Ti,Yi),Ao=typeof Mo=="object"?Mo:{};"span"in Mi&&!("offset"in Ao)&&Mi.span{const{labelCol:Ti,wrapperCol:eo}=Kn;return sn(Kn,["labelCol","wrapperCol"])},[Kn]),pr=Le.useRef(null),[zr,Ni]=Le.useState(0);(0,Vt.Z)(()=>{Ar&&pr.current?Ni(pr.current.clientHeight):Ni(0)},[Ar]);const fi=Le.createElement("div",{className:`${Ei}-control-input`},Le.createElement("div",{className:`${Ei}-control-input-content`},_r)),Li=Le.useMemo(()=>({prefixCls:dn,status:zt}),[dn,zt]),hi=tr!==null||Jr.length||di.length?Le.createElement(x.Rk.Provider,{value:Li},Le.createElement(ot,{fieldId:ti,errors:Jr,warnings:di,help:ar,helpStatus:zt,className:`${Ei}-explain-connected`,onVisibleChanged:Un})):null,Si={};ti&&(Si.id=`${ti}_extra`);const wi=Ar?Le.createElement("div",Object.assign({},Si,{className:`${Ei}-extra`,ref:pr}),Ar):null,Ci=hi||wi?Le.createElement("div",{className:`${Ei}-additional`,style:tr?{minHeight:tr+zr}:{}},hi,wi):null,yi=ir&&ir.mark==="pro_table_render"&&ir.render?ir.render(kt,{input:fi,errorList:hi,extra:wi}):Le.createElement(Le.Fragment,null,fi,Ci);return Le.createElement(x.q3.Provider,{value:nr},Le.createElement(Hn.Z,Object.assign({},gn,{className:$n}),yi),Le.createElement(Mt,{prefixCls:dn}))},Wt=ae(61485),rn=ae(9017),mn=ae(85981),Xn=ae(25399),Fr=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn{let{prefixCls:dn,label:zt,htmlFor:hn,labelCol:Pn,labelAlign:_r,colon:Jr,required:di,requiredMark:ir,tooltip:Ar,vertical:ar}=kt;var ti;const[tr]=(0,rn.Z)("Form"),{labelAlign:Un,labelCol:cr,labelWrap:Ei,colon:Kn}=Le.useContext(x.q3);if(!zt)return null;const gn=Pn||cr||{},$n=_r||Un,nr=`${dn}-item-label`,pr=He()(nr,$n==="left"&&`${nr}-left`,gn.className,{[`${nr}-wrap`]:!!Ei});let zr=zt;const Ni=Jr===!0||Kn!==!1&&Jr!==!1;Ni&&!ar&&typeof zt=="string"&&zt.trim()&&(zr=zt.replace(/[:|:]\s*$/,""));const Li=ri(Ar);if(Li){const{icon:Ti=Le.createElement(Wt.Z,null)}=Li,eo=Fr(Li,["icon"]),mo=Le.createElement(Xn.Z,Object.assign({},eo),Le.cloneElement(Ti,{className:`${dn}-item-tooltip`,title:"",onClick:Yi=>{Yi.preventDefault()},tabIndex:null}));zr=Le.createElement(Le.Fragment,null,zr,mo)}const hi=ir==="optional",Si=typeof ir=="function",wi=ir===!1;Si?zr=ir(zr,{required:!!di}):hi&&!di&&(zr=Le.createElement(Le.Fragment,null,zr,Le.createElement("span",{className:`${dn}-item-optional`,title:""},(tr==null?void 0:tr.optional)||((ti=mn.Z.Form)===null||ti===void 0?void 0:ti.optional))));let Ci;wi?Ci="hidden":(hi||Si)&&(Ci="optional");const yi=He()({[`${dn}-item-required`]:di,[`${dn}-item-required-mark-${Ci}`]:Ci,[`${dn}-item-no-colon`]:!Ni});return Le.createElement(Hn.Z,Object.assign({},gn,{className:pr}),Le.createElement("label",{htmlFor:hn,className:yi,title:typeof zt=="string"?zt:""},zr))},qn=ae(29679),vr=ae(19248),Mr=ae(96512),Yn=ae(58617);const sr={success:qn.Z,warning:Mr.Z,error:vr.Z,validating:Yn.Z};function jn(kt){let{children:dn,errors:zt,warnings:hn,hasFeedback:Pn,validateStatus:_r,prefixCls:Jr,meta:di,noStyle:ir}=kt;const Ar=`${Jr}-item`,{feedbackIcons:ar}=Le.useContext(x.q3),ti=Ot(zt,hn,di,null,!!Pn,_r),{isFormItemInput:tr,status:Un,hasFeedback:cr,feedbackIcon:Ei}=Le.useContext(x.aM),Kn=Le.useMemo(()=>{var gn;let $n;if(Pn){const pr=Pn!==!0&&Pn.icons||ar,zr=ti&&((gn=pr==null?void 0:pr({status:ti,errors:zt,warnings:hn}))===null||gn===void 0?void 0:gn[ti]),Ni=ti&&sr[ti];$n=zr!==!1&&Ni?Le.createElement("span",{className:He()(`${Ar}-feedback-icon`,`${Ar}-feedback-icon-${ti}`)},zr||Le.createElement(Ni,null)):null}const nr={status:ti||"",errors:zt,warnings:hn,hasFeedback:!!Pn,feedbackIcon:$n,isFormItemInput:!0};return ir&&(nr.status=(ti!=null?ti:Un)||"",nr.isFormItemInput=tr,nr.hasFeedback=!!(Pn!=null?Pn:cr),nr.feedbackIcon=Pn!==void 0?nr.feedbackIcon:Ei),nr},[ti,Pn,ir,tr,Un]);return Le.createElement(x.aM.Provider,{value:Kn},dn)}var ur=function(kt,dn){var zt={};for(var hn in kt)Object.prototype.hasOwnProperty.call(kt,hn)&&dn.indexOf(hn)<0&&(zt[hn]=kt[hn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,hn=Object.getOwnPropertySymbols(kt);Pn{if(wi&&fi.current){const Mi=getComputedStyle(fi.current);Ti(parseInt(Mi.marginBottom,10))}},[wi,Ci]);const eo=Mi=>{Mi||Ti(null)},Yi=function(){let Mi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Mo=Mi?Li:Ar.errors,Ao=Mi?hi:Ar.warnings;return Ot(Mo,Ao,Ar,"",!!ar,ir)}(),Lo=He()(nr,zt,hn,{[`${nr}-with-help`]:Si||Li.length||hi.length,[`${nr}-has-feedback`]:Yi&&ar,[`${nr}-has-success`]:Yi==="success",[`${nr}-has-warning`]:Yi==="warning",[`${nr}-has-error`]:Yi==="error",[`${nr}-is-validating`]:Yi==="validating",[`${nr}-hidden`]:ti,[`${nr}-${gn}`]:gn});return Le.createElement("div",{className:Lo,style:Pn,ref:fi},Le.createElement(an.Z,Object.assign({className:`${nr}-row`},(0,bn.Z)($n,["_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"])),Le.createElement(Ir,Object.assign({htmlFor:Un},kt,{requiredMark:pr,required:cr!=null?cr:Ei,prefixCls:dn,vertical:Ni})),Le.createElement(It,Object.assign({},kt,Ar,{errors:Li,warnings:hi,prefixCls:dn,status:Yi,help:_r,marginBottom:yi,onErrorVisibleChanged:eo}),Le.createElement(x.qI.Provider,{value:Kn},Le.createElement(jn,{prefixCls:dn,meta:Ar,errors:Ar.errors,warnings:Ar.warnings,hasFeedback:ar,validateStatus:Yi},tr)))),!!yi&&Le.createElement("div",{className:`${nr}-margin-offset`,style:{marginBottom:-yi}}))}const Xr="__SPLIT__",Yr=null;function gi(kt,dn){const zt=Object.keys(kt),hn=Object.keys(dn);return zt.length===hn.length&&zt.every(Pn=>{const _r=kt[Pn],Jr=dn[Pn];return _r===Jr||typeof _r=="function"||typeof Jr=="function"})}const ci=Le.memo(kt=>{let{children:dn}=kt;return dn},(kt,dn)=>gi(kt.control,dn.control)&&kt.update===dn.update&&kt.childProps.length===dn.childProps.length&&kt.childProps.every((zt,hn)=>zt===dn.childProps[hn]));function Hi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function vi(kt){const{name:dn,noStyle:zt,className:hn,dependencies:Pn,prefixCls:_r,shouldUpdate:Jr,rules:di,children:ir,required:Ar,label:ar,messageVariables:ti,trigger:tr="onChange",validateTrigger:Un,hidden:cr,help:Ei,layout:Kn}=kt,{getPrefixCls:gn}=Le.useContext(Ft.E_),{name:$n}=Le.useContext(x.q3),nr=gt(ir),pr=typeof nr=="function",zr=Le.useContext(x.qI),{validateTrigger:Ni}=Le.useContext(yt.FieldContext),fi=Un!==void 0?Un:Ni,Li=dn!=null,hi=gn("form",_r),Si=(0,fe.Z)(hi),[wi,Ci,yi]=ht(hi,Si),Ti=(0,at.ln)("Form.Item"),eo=Le.useContext(yt.ListContext),mo=Le.useRef(null),[Yi,Lo]=Ct({}),[Mi,Mo]=(0,se.Z)(()=>Hi()),Ao=Do=>{const Vi=eo==null?void 0:eo.getKey(Do.name);if(Mo(Do.destroy?Hi():Do,!0),zt&&Ei!==!1&&zr){let Ur=Do.name;if(Do.destroy)Ur=mo.current||Ur;else if(Vi!==void 0){const[qr,ni]=Vi;Ur=[qr].concat((0,ct.Z)(ni)),mo.current=Ur}zr(Do,Ur)}},Xo=(Do,Vi)=>{Lo(Ur=>{const qr=Object.assign({},Ur),Wr=[].concat((0,ct.Z)(Do.name.slice(0,-1)),(0,ct.Z)(Vi)).join(Xr);return Do.destroy?delete qr[Wr]:qr[Wr]=Do,qr})},[bo,to]=Le.useMemo(()=>{const Do=(0,ct.Z)(Mi.errors),Vi=(0,ct.Z)(Mi.warnings);return Object.values(Yi).forEach(Ur=>{Do.push.apply(Do,(0,ct.Z)(Ur.errors||[])),Vi.push.apply(Vi,(0,ct.Z)(Ur.warnings||[]))}),[Do,Vi]},[Yi,Mi.errors,Mi.warnings]),Co=st();function Vo(Do,Vi,Ur){return zt&&!cr?Le.createElement(jn,{prefixCls:hi,hasFeedback:kt.hasFeedback,validateStatus:kt.validateStatus,meta:Mi,errors:bo,warnings:to,noStyle:!0},Do):Le.createElement(br,Object.assign({key:"row"},kt,{className:He()(hn,yi,Si,Ci),prefixCls:hi,fieldId:Vi,isRequired:Ur,errors:bo,warnings:to,meta:Mi,onSubItemMetaChange:Xo,layout:Kn}),Do)}if(!Li&&!pr&&!Pn)return wi(Vo(nr));let _n={};return typeof ar=="string"?_n.label=ar:dn&&(_n.label=String(dn)),ti&&(_n=Object.assign(Object.assign({},_n),ti)),wi(Le.createElement(yt.Field,Object.assign({},kt,{messageVariables:_n,trigger:tr,validateTrigger:fi,onMetaChange:Ao}),(Do,Vi,Ur)=>{const qr=Qt(dn).length&&Vi?Vi.name:[],ni=pn(qr,$n),Wr=Ar!==void 0?Ar:!!(di!=null&&di.some(Kr=>{if(Kr&&typeof Kr=="object"&&Kr.required&&!Kr.warningOnly)return!0;if(typeof Kr=="function"){const oi=Kr(Ur);return(oi==null?void 0:oi.required)&&!(oi!=null&&oi.warningOnly)}return!1})),ji=Object.assign({},Do);let ro=null;if(Array.isArray(nr)&&Li)ro=nr;else if(!(pr&&(!(Jr||Pn)||Li))){if(!(Pn&&!pr&&!Li))if(Le.isValidElement(nr)){const Kr=Object.assign(Object.assign({},nr.props),ji);if(Kr.id||(Kr.id=ni),Ei||bo.length>0||to.length>0||kt.extra){const ei=[];(Ei||bo.length>0)&&ei.push(`${ni}_help`),kt.extra&&ei.push(`${ni}_extra`),Kr["aria-describedby"]=ei.join(" ")}bo.length>0&&(Kr["aria-invalid"]="true"),Wr&&(Kr["aria-required"]="true"),(0,Be.Yr)(nr)&&(Kr.ref=Co(qr,nr)),new Set([].concat((0,ct.Z)(Qt(tr)),(0,ct.Z)(Qt(fi)))).forEach(ei=>{Kr[ei]=function(){for(var co,Jo,No,ma,Oo,qo=arguments.length,jo=new Array(qo),aa=0;aa{var{prefixCls:dn,children:zt}=kt,hn=fr(kt,["prefixCls","children"]);const{getPrefixCls:Pn}=Le.useContext(Ft.E_),_r=Pn("form",dn),Jr=Le.useMemo(()=>({prefixCls:_r,status:"error"}),[_r]);return Le.createElement(yt.List,Object.assign({},hn),(di,ir,Ar)=>Le.createElement(x.Rk.Provider,{value:Jr},zt(di.map(ar=>Object.assign(Object.assign({},ar),{fieldKey:ar.key})),ir,{errors:Ar.errors,warnings:Ar.warnings})))};function Xt(){const{form:kt}=Le.useContext(x.q3);return kt}const ln=le;ln.Item=Ki,ln.List=mi,ln.ErrorList=ot,ln.useForm=on,ln.useFormInstance=Xt,ln.useWatch=yt.useWatch,ln.Provider=x.RV,ln.create=()=>{};var yn=ln},75786:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ei}});var x=ae(59301),ct=ae(15277),Le=ae(92310),Je=ae.n(Le),He=ae(54476),Se=ae(33885),Ue=ae(20068),fe=ae(42978),Ce=ae(76190),oe=ae(75931),Oe=/margin|padding|width|height|max|min|offset/,ve={left:!0,top:!0},Me={cssFloat:1,styleFloat:1,float:1};function Ie(Kn){return Kn.nodeType===1?Kn.ownerDocument.defaultView.getComputedStyle(Kn,null):{}}function _e(Kn,gn,$n){if(gn=gn.toLowerCase(),$n==="auto"){if(gn==="height")return Kn.offsetHeight;if(gn==="width")return Kn.offsetWidth}return gn in ve||(ve[gn]=Oe.test(gn)),ve[gn]?parseFloat($n)||0:$n}function we(Kn,gn){var $n=arguments.length,nr=Ie(Kn);return gn=Me[gn]?"cssFloat"in Kn.style?"cssFloat":"styleFloat":gn,$n===1?nr:_e(Kn,gn,nr[gn]||Kn.style[gn])}function xe(Kn,gn,$n){var nr=arguments.length;if(gn=Me[gn]?"cssFloat"in Kn.style?"cssFloat":"styleFloat":gn,nr===3)return typeof $n=="number"&&Oe.test(gn)&&($n="".concat($n,"px")),Kn.style[gn]=$n,$n;for(var pr in gn)gn.hasOwnProperty(pr)&&xe(Kn,pr,gn[pr]);return Ie(Kn)}function Ee(Kn){return Kn===document.body?document.documentElement.clientWidth:Kn.offsetWidth}function ke(Kn){return Kn===document.body?window.innerHeight||document.documentElement.clientHeight:Kn.offsetHeight}function ze(){var Kn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),gn=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Kn,height:gn}}function Qe(){var Kn=document.documentElement.clientWidth,gn=window.innerHeight||document.documentElement.clientHeight;return{width:Kn,height:gn}}function Re(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function et(Kn){var gn=Kn.getBoundingClientRect(),$n=document.documentElement;return{left:gn.left+(window.pageXOffset||$n.scrollLeft)-($n.clientLeft||document.body.clientLeft||0),top:gn.top+(window.pageYOffset||$n.scrollTop)-($n.clientTop||document.body.clientTop||0)}}var Ge=ae(18929),lt=ae(55311),it=ae(8224),ft=ae(10228),bt=ae(43403),je=ae(77900),ht=x.createContext(null),Ne=function(gn){var $n=gn.visible,nr=gn.maskTransitionName,pr=gn.getContainer,zr=gn.prefixCls,Ni=gn.rootClassName,fi=gn.icons,Li=gn.countRender,hi=gn.showSwitch,Si=gn.showProgress,wi=gn.current,Ci=gn.transform,yi=gn.count,Ti=gn.scale,eo=gn.minScale,mo=gn.maxScale,Yi=gn.closeIcon,Lo=gn.onActive,Mi=gn.onClose,Mo=gn.onZoomIn,Ao=gn.onZoomOut,Xo=gn.onRotateRight,bo=gn.onRotateLeft,to=gn.onFlipX,Co=gn.onFlipY,Vo=gn.onReset,_n=gn.toolbarRender,Do=gn.zIndex,Vi=gn.image,Ur=(0,x.useContext)(ht),qr=fi.rotateLeft,ni=fi.rotateRight,Wr=fi.zoomIn,ji=fi.zoomOut,ro=fi.close,Kr=fi.left,oi=fi.right,yr=fi.flipX,ei=fi.flipY,co="".concat(zr,"-operations-operation");x.useEffect(function(){var is=function(Uo){Uo.keyCode===ft.Z.ESC&&Mi()};return $n&&window.addEventListener("keydown",is),function(){window.removeEventListener("keydown",is)}},[$n]);var Jo=function(us,Uo){us.preventDefault(),us.stopPropagation(),Lo(Uo)},No=x.useCallback(function(is){var us=is.type,Uo=is.disabled,go=is.onClick,Fa=is.icon;return x.createElement("div",{key:us,className:Je()(co,"".concat(zr,"-operations-operation-").concat(us),(0,Ue.Z)({},"".concat(zr,"-operations-operation-disabled"),!!Uo)),onClick:go},Fa)},[co,zr]),ma=hi?No({icon:Kr,onClick:function(us){return Jo(us,-1)},type:"prev",disabled:wi===0}):void 0,Oo=hi?No({icon:oi,onClick:function(us){return Jo(us,1)},type:"next",disabled:wi===yi-1}):void 0,qo=No({icon:ei,onClick:Co,type:"flipY"}),jo=No({icon:yr,onClick:to,type:"flipX"}),aa=No({icon:qr,onClick:bo,type:"rotateLeft"}),fa=No({icon:ni,onClick:Xo,type:"rotateRight"}),Wa=No({icon:ji,onClick:Ao,type:"zoomOut",disabled:Ti<=eo}),Ds=No({icon:Wr,onClick:Mo,type:"zoomIn",disabled:Ti===mo}),zs=x.createElement("div",{className:"".concat(zr,"-operations")},qo,jo,aa,fa,Wa,Ds);return x.createElement(je.default,{visible:$n,motionName:nr},function(is){var us=is.className,Uo=is.style;return x.createElement(bt.Z,{open:!0,getContainer:pr!=null?pr:document.body},x.createElement("div",{className:Je()("".concat(zr,"-operations-wrapper"),us,Ni),style:(0,Se.Z)((0,Se.Z)({},Uo),{},{zIndex:Do})},Yi===null?null:x.createElement("button",{className:"".concat(zr,"-close"),onClick:Mi},Yi||ro),hi&&x.createElement(x.Fragment,null,x.createElement("div",{className:Je()("".concat(zr,"-switch-left"),(0,Ue.Z)({},"".concat(zr,"-switch-left-disabled"),wi===0)),onClick:function(Fa){return Jo(Fa,-1)}},Kr),x.createElement("div",{className:Je()("".concat(zr,"-switch-right"),(0,Ue.Z)({},"".concat(zr,"-switch-right-disabled"),wi===yi-1)),onClick:function(Fa){return Jo(Fa,1)}},oi)),x.createElement("div",{className:"".concat(zr,"-footer")},Si&&x.createElement("div",{className:"".concat(zr,"-progress")},Li?Li(wi+1,yi):"".concat(wi+1," / ").concat(yi)),_n?_n(zs,(0,Se.Z)((0,Se.Z)({icons:{prevIcon:ma,nextIcon:Oo,flipYIcon:qo,flipXIcon:jo,rotateLeftIcon:aa,rotateRightIcon:fa,zoomOutIcon:Wa,zoomInIcon:Ds},actions:{onActive:Lo,onFlipY:Co,onFlipX:to,onRotateLeft:bo,onRotateRight:Xo,onZoomOut:Ao,onZoomIn:Mo,onReset:Vo,onClose:Mi},transform:Ci},Ur?{current:wi,total:yi}:{}),{},{image:Vi})):zs)))})},We=Ne,Ut=ae(13697),ot=ae(16089),yt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ft(Kn,gn,$n,nr){var pr=(0,x.useRef)(null),zr=(0,x.useRef)([]),Ni=(0,x.useState)(yt),fi=(0,fe.Z)(Ni,2),Li=fi[0],hi=fi[1],Si=function(Ti){hi(yt),(0,Ut.Z)(yt,Li)||nr==null||nr({transform:yt,action:Ti})},wi=function(Ti,eo){pr.current===null&&(zr.current=[],pr.current=(0,ot.Z)(function(){hi(function(mo){var Yi=mo;return zr.current.forEach(function(Lo){Yi=(0,Se.Z)((0,Se.Z)({},Yi),Lo)}),pr.current=null,nr==null||nr({transform:Yi,action:eo}),Yi})})),zr.current.push((0,Se.Z)((0,Se.Z)({},Li),Ti))},Ci=function(Ti,eo,mo,Yi,Lo){var Mi=Kn.current,Mo=Mi.width,Ao=Mi.height,Xo=Mi.offsetWidth,bo=Mi.offsetHeight,to=Mi.offsetLeft,Co=Mi.offsetTop,Vo=Ti,_n=Li.scale*Ti;_n>$n?(_n=$n,Vo=$n/Li.scale):_nnr){if(gn>0)return(0,Ue.Z)({},Kn,zr);if(gn<0&&prnr)return(0,Ue.Z)({},Kn,gn<0?zr:-zr);return{}}function At(Kn,gn,$n,nr){var pr=Qe(),zr=pr.width,Ni=pr.height,fi=null;return Kn<=zr&&gn<=Ni?fi={x:0,y:0}:(Kn>zr||gn>Ni)&&(fi=(0,Se.Z)((0,Se.Z)({},Te("x",$n,Kn,zr)),Te("y",nr,gn,Ni))),fi}var Zt=1,Kt=1;function rt(Kn,gn,$n,nr,pr,zr,Ni){var fi=pr.rotate,Li=pr.scale,hi=pr.x,Si=pr.y,wi=(0,x.useState)(!1),Ci=(0,fe.Z)(wi,2),yi=Ci[0],Ti=Ci[1],eo=(0,x.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),mo=function(Ao){!gn||Ao.button!==0||(Ao.preventDefault(),Ao.stopPropagation(),eo.current={diffX:Ao.pageX-hi,diffY:Ao.pageY-Si,transformX:hi,transformY:Si},Ti(!0))},Yi=function(Ao){$n&&yi&&zr({x:Ao.pageX-eo.current.diffX,y:Ao.pageY-eo.current.diffY},"move")},Lo=function(){if($n&&yi){Ti(!1);var Ao=eo.current,Xo=Ao.transformX,bo=Ao.transformY,to=hi!==Xo&&Si!==bo;if(!to)return;var Co=Kn.current.offsetWidth*Li,Vo=Kn.current.offsetHeight*Li,_n=Kn.current.getBoundingClientRect(),Do=_n.left,Vi=_n.top,Ur=fi%180!==0,qr=At(Ur?Vo:Co,Ur?Co:Vo,Do,Vi);qr&&zr((0,Se.Z)({},qr),"dragRebound")}},Mi=function(Ao){if(!(!$n||Ao.deltaY==0)){var Xo=Math.abs(Ao.deltaY/100),bo=Math.min(Xo,Kt),to=Zt+bo*nr;Ao.deltaY>0&&(to=Zt/to),Ni(to,"wheel",Ao.clientX,Ao.clientY)}};return(0,x.useEffect)(function(){var Mo,Ao,Xo,bo;if(gn){Xo=(0,it.Z)(window,"mouseup",Lo,!1),bo=(0,it.Z)(window,"mousemove",Yi,!1);try{window.top!==window.self&&(Mo=(0,it.Z)(window.top,"mouseup",Lo,!1),Ao=(0,it.Z)(window.top,"mousemove",Yi,!1))}catch(to){(0,Ze.Kp)(!1,"[rc-image] ".concat(to))}}return function(){var to,Co,Vo,_n;(to=Xo)===null||to===void 0||to.remove(),(Co=bo)===null||Co===void 0||Co.remove(),(Vo=Mo)===null||Vo===void 0||Vo.remove(),(_n=Ao)===null||_n===void 0||_n.remove()}},[$n,yi,hi,Si,fi,gn]),{isMoving:yi,onMouseDown:mo,onMouseMove:Yi,onMouseUp:Lo,onWheel:Mi}}function Nt(Kn){return new Promise(function(gn){if(!Kn){gn(!1);return}var $n=document.createElement("img");$n.onerror=function(){return gn(!1)},$n.onload=function(){return gn(!0)},$n.src=Kn})}function Qt(Kn){var gn=Kn.src,$n=Kn.isCustomPlaceholder,nr=Kn.fallback,pr=(0,x.useState)($n?"loading":"normal"),zr=(0,fe.Z)(pr,2),Ni=zr[0],fi=zr[1],Li=(0,x.useRef)(!1),hi=Ni==="error";(0,x.useEffect)(function(){var yi=!0;return Nt(gn).then(function(Ti){!Ti&&yi&&fi("error")}),function(){yi=!1}},[gn]),(0,x.useEffect)(function(){$n&&!Li.current?fi("loading"):hi&&fi("normal")},[gn]);var Si=function(){fi("normal")},wi=function(Ti){Li.current=!1,Ni==="loading"&&Ti!==null&&Ti!==void 0&&Ti.complete&&(Ti.naturalWidth||Ti.naturalHeight)&&(Li.current=!0,Si())},Ci=hi&&nr?{src:nr}:{onLoad:Si,src:gn};return[wi,Ci,Ni]}function pn(Kn,gn){var $n=Kn.x-gn.x,nr=Kn.y-gn.y;return Math.hypot($n,nr)}function Ot(Kn,gn,$n,nr){var pr=pn(Kn,$n),zr=pn(gn,nr);if(pr===0&&zr===0)return[Kn.x,Kn.y];var Ni=pr/(pr+zr),fi=Kn.x+Ni*(gn.x-Kn.x),Li=Kn.y+Ni*(gn.y-Kn.y);return[fi,Li]}function vn(Kn,gn,$n,nr,pr,zr,Ni){var fi=pr.rotate,Li=pr.scale,hi=pr.x,Si=pr.y,wi=(0,x.useState)(!1),Ci=(0,fe.Z)(wi,2),yi=Ci[0],Ti=Ci[1],eo=(0,x.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),mo=function(Ao){eo.current=(0,Se.Z)((0,Se.Z)({},eo.current),Ao)},Yi=function(Ao){if(gn){Ao.stopPropagation(),Ti(!0);var Xo=Ao.touches,bo=Xo===void 0?[]:Xo;bo.length>1?mo({point1:{x:bo[0].clientX,y:bo[0].clientY},point2:{x:bo[1].clientX,y:bo[1].clientY},eventType:"touchZoom"}):mo({point1:{x:bo[0].clientX-hi,y:bo[0].clientY-Si},eventType:"move"})}},Lo=function(Ao){var Xo=Ao.touches,bo=Xo===void 0?[]:Xo,to=eo.current,Co=to.point1,Vo=to.point2,_n=to.eventType;if(bo.length>1&&_n==="touchZoom"){var Do={x:bo[0].clientX,y:bo[0].clientY},Vi={x:bo[1].clientX,y:bo[1].clientY},Ur=Ot(Co,Vo,Do,Vi),qr=(0,fe.Z)(Ur,2),ni=qr[0],Wr=qr[1],ji=pn(Do,Vi)/pn(Co,Vo);Ni(ji,"touchZoom",ni,Wr,!0),mo({point1:Do,point2:Vi,eventType:"touchZoom"})}else _n==="move"&&(zr({x:bo[0].clientX-Co.x,y:bo[0].clientY-Co.y},"move"),mo({eventType:"move"}))},Mi=function(){if($n){if(yi&&Ti(!1),mo({eventType:"none"}),nr>Li)return zr({x:0,y:0,scale:nr},"touchZoom");var Ao=Kn.current.offsetWidth*Li,Xo=Kn.current.offsetHeight*Li,bo=Kn.current.getBoundingClientRect(),to=bo.left,Co=bo.top,Vo=fi%180!==0,_n=At(Vo?Xo:Ao,Vo?Ao:Xo,to,Co);_n&&zr((0,Se.Z)({},_n),"dragRebound")}};return(0,x.useEffect)(function(){var Mo;return $n&&gn&&(Mo=(0,it.Z)(window,"touchmove",function(Ao){return Ao.preventDefault()},{passive:!1})),function(){var Ao;(Ao=Mo)===null||Ao===void 0||Ao.remove()}},[$n,gn]),{isTouching:yi,onTouchStart:Yi,onTouchMove:Lo,onTouchEnd:Mi}}var _t=["fallback","src","imgRef"],Fn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],on=function(gn){var $n=gn.fallback,nr=gn.src,pr=gn.imgRef,zr=(0,oe.Z)(gn,_t),Ni=Qt({src:nr,fallback:$n}),fi=(0,fe.Z)(Ni,2),Li=fi[0],hi=fi[1];return x.createElement("img",(0,He.Z)({ref:function(wi){pr.current=wi,Li(wi)}},zr,hi))},de=function(gn){var $n=gn.prefixCls,nr=gn.src,pr=gn.alt,zr=gn.imageInfo,Ni=gn.fallback,fi=gn.movable,Li=fi===void 0?!0:fi,hi=gn.onClose,Si=gn.visible,wi=gn.icons,Ci=wi===void 0?{}:wi,yi=gn.rootClassName,Ti=gn.closeIcon,eo=gn.getContainer,mo=gn.current,Yi=mo===void 0?0:mo,Lo=gn.count,Mi=Lo===void 0?1:Lo,Mo=gn.countRender,Ao=gn.scaleStep,Xo=Ao===void 0?.5:Ao,bo=gn.minScale,to=bo===void 0?1:bo,Co=gn.maxScale,Vo=Co===void 0?50:Co,_n=gn.transitionName,Do=_n===void 0?"zoom":_n,Vi=gn.maskTransitionName,Ur=Vi===void 0?"fade":Vi,qr=gn.imageRender,ni=gn.imgCommonProps,Wr=gn.toolbarRender,ji=gn.onTransform,ro=gn.onChange,Kr=(0,oe.Z)(gn,Fn),oi=(0,x.useRef)(),yr=(0,x.useContext)(ht),ei=yr&&Mi>1,co=yr&&Mi>=1,Jo=(0,x.useState)(!0),No=(0,fe.Z)(Jo,2),ma=No[0],Oo=No[1],qo=Ft(oi,to,Vo,ji),jo=qo.transform,aa=qo.resetTransform,fa=qo.updateTransform,Wa=qo.dispatchZoomChange,Ds=rt(oi,Li,Si,Xo,jo,fa,Wa),zs=Ds.isMoving,is=Ds.onMouseDown,us=Ds.onWheel,Uo=vn(oi,Li,Si,to,jo,fa,Wa),go=Uo.isTouching,Fa=Uo.onTouchStart,hs=Uo.onTouchMove,el=Uo.onTouchEnd,tl=jo.rotate,nl=jo.scale,hl=Je()((0,Ue.Z)({},"".concat($n,"-moving"),zs));(0,x.useEffect)(function(){ma||Oo(!0)},[ma]);var lu=function(){aa("close")},Js=function(){Wa(Zt+Xo,"zoomIn")},Kl=function(){Wa(Zt/(Zt+Xo),"zoomOut")},Zl=function(){fa({rotate:tl+90},"rotateRight")},Lu=function(){fa({rotate:tl-90},"rotateLeft")},dl=function(){fa({flipX:!jo.flipX},"flipX")},FA=function(){fa({flipY:!jo.flipY},"flipY")},hA=function(){aa("reset")},ga=function(Ha){var Wl=Yi+Ha;!Number.isInteger(Wl)||Wl<0||Wl>Mi-1||(Oo(!1),aa(Ha<0?"prev":"next"),ro==null||ro(Wl,Yi))},Ia=function(Ha){!Si||!ei||(Ha.keyCode===ft.Z.LEFT?ga(-1):Ha.keyCode===ft.Z.RIGHT&&ga(1))},va=function(Ha){Si&&(nl!==1?fa({x:0,y:0,scale:1},"doubleClick"):Wa(Zt+Xo,"doubleClick",Ha.clientX,Ha.clientY))};(0,x.useEffect)(function(){var Xa=(0,it.Z)(window,"keydown",Ia,!1);return function(){Xa.remove()}},[Si,ei,Yi]);var Ca=x.createElement(on,(0,He.Z)({},ni,{width:gn.width,height:gn.height,imgRef:oi,className:"".concat($n,"-img"),alt:pr,style:{transform:"translate3d(".concat(jo.x,"px, ").concat(jo.y,"px, 0) scale3d(").concat(jo.flipX?"-":"").concat(nl,", ").concat(jo.flipY?"-":"").concat(nl,", 1) rotate(").concat(tl,"deg)"),transitionDuration:(!ma||go)&&"0s"},fallback:Ni,src:nr,onWheel:us,onMouseDown:is,onDoubleClick:va,onTouchStart:Fa,onTouchMove:hs,onTouchEnd:el,onTouchCancel:el})),qa=(0,Se.Z)({url:nr,alt:pr},zr);return x.createElement(x.Fragment,null,x.createElement(lt.Z,(0,He.Z)({transitionName:Do,maskTransitionName:Ur,closable:!1,keyboard:!0,prefixCls:$n,onClose:hi,visible:Si,classNames:{wrapper:hl},rootClassName:yi,getContainer:eo},Kr,{afterClose:lu}),x.createElement("div",{className:"".concat($n,"-img-wrapper")},qr?qr(Ca,(0,Se.Z)({transform:jo,image:qa},yr?{current:Yi}:{})):Ca)),x.createElement(We,{visible:Si,transform:jo,maskTransitionName:Ur,closeIcon:Ti,getContainer:eo,prefixCls:$n,rootClassName:yi,icons:Ci,countRender:Mo,showSwitch:ei,showProgress:co,current:Yi,count:Mi,scale:nl,minScale:to,maxScale:Vo,toolbarRender:Wr,onActive:ga,onZoomIn:Js,onZoomOut:Kl,onRotateRight:Zl,onRotateLeft:Lu,onFlipX:dl,onFlipY:FA,onClose:hi,onReset:hA,zIndex:Kr.zIndex!==void 0?Kr.zIndex+1:void 0,image:qa}))},ge=de,ie=ae(94480),ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function le(Kn){var gn=x.useState({}),$n=(0,fe.Z)(gn,2),nr=$n[0],pr=$n[1],zr=x.useCallback(function(fi,Li){return pr(function(hi){return(0,Se.Z)((0,Se.Z)({},hi),{},(0,Ue.Z)({},fi,Li))}),function(){pr(function(hi){var Si=(0,Se.Z)({},hi);return delete Si[fi],Si})}},[]),Ni=x.useMemo(function(){return Kn?Kn.map(function(fi){if(typeof fi=="string")return{data:{src:fi}};var Li={};return Object.keys(fi).forEach(function(hi){["src"].concat((0,ie.Z)(ee)).includes(hi)&&(Li[hi]=fi[hi])}),{data:Li}}):Object.keys(nr).reduce(function(fi,Li){var hi=nr[Li],Si=hi.canPreview,wi=hi.data;return Si&&fi.push({data:wi,id:Li}),fi},[])},[Kn,nr]);return[Ni,zr,!!Kn]}var se=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Be=["src"],$e=function(gn){var $n,nr=gn.previewPrefixCls,pr=nr===void 0?"rc-image-preview":nr,zr=gn.children,Ni=gn.icons,fi=Ni===void 0?{}:Ni,Li=gn.items,hi=gn.preview,Si=gn.fallback,wi=(0,Ce.Z)(hi)==="object"?hi:{},Ci=wi.visible,yi=wi.onVisibleChange,Ti=wi.getContainer,eo=wi.current,mo=wi.movable,Yi=wi.minScale,Lo=wi.maxScale,Mi=wi.countRender,Mo=wi.closeIcon,Ao=wi.onChange,Xo=wi.onTransform,bo=wi.toolbarRender,to=wi.imageRender,Co=(0,oe.Z)(wi,se),Vo=le(Li),_n=(0,fe.Z)(Vo,3),Do=_n[0],Vi=_n[1],Ur=_n[2],qr=(0,Ge.Z)(0,{value:eo}),ni=(0,fe.Z)(qr,2),Wr=ni[0],ji=ni[1],ro=(0,x.useState)(!1),Kr=(0,fe.Z)(ro,2),oi=Kr[0],yr=Kr[1],ei=(($n=Do[Wr])===null||$n===void 0?void 0:$n.data)||{},co=ei.src,Jo=(0,oe.Z)(ei,Be),No=(0,Ge.Z)(!!Ci,{value:Ci,onChange:function(go,Fa){yi==null||yi(go,Fa,Wr)}}),ma=(0,fe.Z)(No,2),Oo=ma[0],qo=ma[1],jo=(0,x.useState)(null),aa=(0,fe.Z)(jo,2),fa=aa[0],Wa=aa[1],Ds=x.useCallback(function(Uo,go,Fa,hs){var el=Ur?Do.findIndex(function(tl){return tl.data.src===go}):Do.findIndex(function(tl){return tl.id===Uo});ji(el<0?0:el),qo(!0),Wa({x:Fa,y:hs}),yr(!0)},[Do,Ur]);x.useEffect(function(){Oo?oi||ji(0):yr(!1)},[Oo]);var zs=function(go,Fa){ji(go),Ao==null||Ao(go,Fa)},is=function(){qo(!1),Wa(null)},us=x.useMemo(function(){return{register:Vi,onPreview:Ds}},[Vi,Ds]);return x.createElement(ht.Provider,{value:us},zr,x.createElement(ge,(0,He.Z)({"aria-hidden":!Oo,movable:mo,visible:Oo,prefixCls:pr,closeIcon:Mo,onClose:is,mousePosition:fa,imgCommonProps:Jo,src:co,fallback:Si,icons:fi,minScale:Yi,maxScale:Lo,getContainer:Ti,current:Wr,count:Do.length,countRender:Mi,onTransform:Xo,toolbarRender:bo,imageRender:to,onChange:zs},Co)))},at=$e,pt=0;function gt(Kn,gn){var $n=x.useState(function(){return pt+=1,String(pt)}),nr=(0,fe.Z)($n,1),pr=nr[0],zr=x.useContext(ht),Ni={data:gn,canPreview:Kn};return x.useEffect(function(){if(zr)return zr.register(pr,Ni)},[]),x.useEffect(function(){zr&&zr.register(pr,Ni)},[Kn,gn]),pr}var Bt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Lt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Rt=function(gn){var $n=gn.src,nr=gn.alt,pr=gn.onPreviewClose,zr=gn.prefixCls,Ni=zr===void 0?"rc-image":zr,fi=gn.previewPrefixCls,Li=fi===void 0?"".concat(Ni,"-preview"):fi,hi=gn.placeholder,Si=gn.fallback,wi=gn.width,Ci=gn.height,yi=gn.style,Ti=gn.preview,eo=Ti===void 0?!0:Ti,mo=gn.className,Yi=gn.onClick,Lo=gn.onError,Mi=gn.wrapperClassName,Mo=gn.wrapperStyle,Ao=gn.rootClassName,Xo=(0,oe.Z)(gn,Bt),bo=hi&&hi!==!0,to=(0,Ce.Z)(eo)==="object"?eo:{},Co=to.src,Vo=to.visible,_n=Vo===void 0?void 0:Vo,Do=to.onVisibleChange,Vi=Do===void 0?pr:Do,Ur=to.getContainer,qr=Ur===void 0?void 0:Ur,ni=to.mask,Wr=to.maskClassName,ji=to.movable,ro=to.icons,Kr=to.scaleStep,oi=to.minScale,yr=to.maxScale,ei=to.imageRender,co=to.toolbarRender,Jo=(0,oe.Z)(to,Lt),No=Co!=null?Co:$n,ma=(0,Ge.Z)(!!_n,{value:_n,onChange:Vi}),Oo=(0,fe.Z)(ma,2),qo=Oo[0],jo=Oo[1],aa=Qt({src:$n,isCustomPlaceholder:bo,fallback:Si}),fa=(0,fe.Z)(aa,3),Wa=fa[0],Ds=fa[1],zs=fa[2],is=(0,x.useState)(null),us=(0,fe.Z)(is,2),Uo=us[0],go=us[1],Fa=(0,x.useContext)(ht),hs=!!eo,el=function(){jo(!1),go(null)},tl=Je()(Ni,Mi,Ao,(0,Ue.Z)({},"".concat(Ni,"-error"),zs==="error")),nl=(0,x.useMemo)(function(){var Kl={};return ee.forEach(function(Zl){gn[Zl]!==void 0&&(Kl[Zl]=gn[Zl])}),Kl},ee.map(function(Kl){return gn[Kl]})),hl=(0,x.useMemo)(function(){return(0,Se.Z)((0,Se.Z)({},nl),{},{src:No})},[No,nl]),lu=gt(hs,hl),Js=function(Zl){var Lu=et(Zl.target),dl=Lu.left,FA=Lu.top;Fa?Fa.onPreview(lu,No,dl,FA):(go({x:dl,y:FA}),jo(!0)),Yi==null||Yi(Zl)};return x.createElement(x.Fragment,null,x.createElement("div",(0,He.Z)({},Xo,{className:tl,onClick:hs?Js:Yi,style:(0,Se.Z)({width:wi,height:Ci},Mo)}),x.createElement("img",(0,He.Z)({},nl,{className:Je()("".concat(Ni,"-img"),(0,Ue.Z)({},"".concat(Ni,"-img-placeholder"),hi===!0),mo),style:(0,Se.Z)({height:Ci},yi),ref:Wa},Ds,{width:wi,height:Ci,onError:Lo})),zs==="loading"&&x.createElement("div",{"aria-hidden":"true",className:"".concat(Ni,"-placeholder")},hi),ni&&hs&&x.createElement("div",{className:Je()("".concat(Ni,"-mask"),Wr),style:{display:(yi==null?void 0:yi.display)==="none"?"none":void 0}},ni)),!Fa&&hs&&x.createElement(ge,(0,He.Z)({"aria-hidden":!qo,visible:qo,prefixCls:Li,onClose:el,mousePosition:Uo,src:No,alt:nr,imageInfo:{width:wi,height:Ci},fallback:Si,getContainer:qr,icons:ro,movable:ji,scaleStep:Kr,minScale:oi,maxScale:yr,rootClassName:Ao,imageRender:ei,imgCommonProps:nl,toolbarRender:co},Jo)))};Rt.PreviewGroup=at;var Ct=Rt,st=Ct,$t=ae(75030),Vt=ae(86641),bn=ae(48755),an=ae(83397),en=ae(9017),Hn=ae(99267),En=ae(33853),Mt=ae(38819),sn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Dn=sn,Wn=ae(7657),It=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:Dn}))},Wt=x.forwardRef(It),rn=Wt,mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Xn=mn,Fr=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:Xn}))},ri=x.forwardRef(Fr),Hr=ri,Ir={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},qn=Ir,vr=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:qn}))},Mr=x.forwardRef(vr),Yn=Mr,sr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},jn=sr,ur=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:jn}))},br=x.forwardRef(ur),Xr=br,Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},gi=Yr,ci=function(gn,$n){return x.createElement(Wn.Z,(0,He.Z)({},gn,{ref:$n,icon:gi}))},Hi=x.forwardRef(ci),vi=Hi,no=ae(36237),Ki=ae(17835),fr=ae(64427),Lr=ae(63356),mi=ae(34925),Xt=ae(99495),ln=ae(16931),yn=ae(51636);const kt=Kn=>({position:Kn||"absolute",inset:0}),dn=Kn=>{const{iconCls:gn,motionDurationSlow:$n,paddingXXS:nr,marginXXS:pr,prefixCls:zr,colorTextLightSolid:Ni}=Kn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Ni,background:new Ki.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${$n}`,[`.${zr}-mask-info`]:Object.assign(Object.assign({},Lr.vS),{padding:`0 ${(0,no.unit)(nr)}`,[gn]:{marginInlineEnd:pr,svg:{verticalAlign:"baseline"}}})}},zt=Kn=>{const{previewCls:gn,modalMaskBg:$n,paddingSM:nr,marginXL:pr,margin:zr,paddingLG:Ni,previewOperationColorDisabled:fi,previewOperationHoverColor:Li,motionDurationSlow:hi,iconCls:Si,colorTextLightSolid:wi}=Kn,Ci=new Ki.FastColor($n).setA(.1),yi=Ci.clone().setA(.2);return{[`${gn}-footer`]:{position:"fixed",bottom:pr,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Kn.previewOperationColor,transform:"translateX(-50%)"},[`${gn}-progress`]:{marginBottom:zr},[`${gn}-close`]:{position:"fixed",top:pr,right:{_skip_check_:!0,value:pr},display:"flex",color:wi,backgroundColor:Ci.toRgbString(),borderRadius:"50%",padding:nr,outline:0,border:0,cursor:"pointer",transition:`all ${hi}`,"&:hover":{backgroundColor:yi.toRgbString()},[`& > ${Si}`]:{fontSize:Kn.previewOperationSize}},[`${gn}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,no.unit)(Ni)}`,backgroundColor:Ci.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:nr,padding:nr,cursor:"pointer",transition:`all ${hi}`,userSelect:"none",[`&:not(${gn}-operations-operation-disabled):hover > ${Si}`]:{color:Li},"&-disabled":{color:fi,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Si}`]:{fontSize:Kn.previewOperationSize}}}}},hn=Kn=>{const{modalMaskBg:gn,iconCls:$n,previewOperationColorDisabled:nr,previewCls:pr,zIndexPopup:zr,motionDurationSlow:Ni}=Kn,fi=new Ki.FastColor(gn).setA(.1),Li=fi.clone().setA(.2);return{[`${pr}-switch-left, ${pr}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Kn.calc(zr).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Kn.imagePreviewSwitchSize,height:Kn.imagePreviewSwitchSize,marginTop:Kn.calc(Kn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Kn.previewOperationColor,background:fi.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Ni}`,userSelect:"none","&:hover":{background:Li.toRgbString()},"&-disabled":{"&, &:hover":{color:nr,background:"transparent",cursor:"not-allowed",[`> ${$n}`]:{cursor:"not-allowed"}}},[`> ${$n}`]:{fontSize:Kn.previewOperationSize}},[`${pr}-switch-left`]:{insetInlineStart:Kn.marginSM},[`${pr}-switch-right`]:{insetInlineEnd:Kn.marginSM}}},Pn=Kn=>{const{motionEaseOut:gn,previewCls:$n,motionDurationSlow:nr,componentCls:pr}=Kn;return[{[`${pr}-preview-root`]:{[$n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${$n}-body`]:Object.assign(Object.assign({},kt()),{overflow:"hidden"}),[`${$n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${nr} ${gn} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},kt()),{transition:`transform ${nr} ${gn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${$n}-moving`]:{[`${$n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${pr}-preview-root`]:{[`${$n}-wrap`]:{zIndex:Kn.zIndexPopup}}},{[`${pr}-preview-operations-wrapper`]:{position:"fixed",zIndex:Kn.calc(Kn.zIndexPopup).add(1).equal()},"&":[zt(Kn),hn(Kn)]}]},_r=Kn=>{const{componentCls:gn}=Kn;return{[gn]:{position:"relative",display:"inline-block",[`${gn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${gn}-img-placeholder`]:{backgroundColor:Kn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${gn}-mask`]:Object.assign({},dn(Kn)),[`${gn}-mask:hover`]:{opacity:1},[`${gn}-placeholder`]:Object.assign({},kt())}}},Jr=Kn=>{const{previewCls:gn}=Kn;return{[`${gn}-root`]:(0,mi._y)(Kn,"zoom"),"&":(0,Xt.J$)(Kn,!0)}},di=Kn=>({zIndexPopup:Kn.zIndexPopupBase+80,previewOperationColor:new Ki.FastColor(Kn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Ki.FastColor(Kn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Ki.FastColor(Kn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Kn.fontSizeIcon*1.5});var ir=(0,ln.I$)("Image",Kn=>{const gn=`${Kn.componentCls}-preview`,$n=(0,yn.mergeToken)(Kn,{previewCls:gn,modalMaskBg:new Ki.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Kn.controlHeightLG});return[_r($n),Pn($n),(0,fr.QA)((0,yn.mergeToken)($n,{componentCls:gn})),Jr($n)]},di),Ar=function(Kn,gn){var $n={};for(var nr in Kn)Object.prototype.hasOwnProperty.call(Kn,nr)&&gn.indexOf(nr)<0&&($n[nr]=Kn[nr]);if(Kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,nr=Object.getOwnPropertySymbols(Kn);pr{var{previewPrefixCls:gn,preview:$n}=Kn,nr=Ar(Kn,["previewPrefixCls","preview"]);const{getPrefixCls:pr}=x.useContext(bn.E_),zr=pr("image",gn),Ni=`${zr}-preview`,fi=pr(),Li=(0,an.Z)(zr),[hi,Si,wi]=ir(zr,Li),[Ci]=(0,$t.Cn)("ImagePreview",typeof $n=="object"?$n.zIndex:void 0),yi=x.useMemo(()=>{var Ti;if($n===!1)return $n;const eo=typeof $n=="object"?$n:{},mo=Je()(Si,wi,Li,(Ti=eo.rootClassName)!==null&&Ti!==void 0?Ti:"");return Object.assign(Object.assign({},eo),{transitionName:(0,Vt.m)(fi,"zoom",eo.transitionName),maskTransitionName:(0,Vt.m)(fi,"fade",eo.maskTransitionName),rootClassName:mo,zIndex:Ci})},[$n]);return hi(x.createElement(st.PreviewGroup,Object.assign({preview:yi,previewPrefixCls:Ni,icons:ar},nr)))},Un=function(Kn,gn){var $n={};for(var nr in Kn)Object.prototype.hasOwnProperty.call(Kn,nr)&&gn.indexOf(nr)<0&&($n[nr]=Kn[nr]);if(Kn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,nr=Object.getOwnPropertySymbols(Kn);pr{const{prefixCls:gn,preview:$n,className:nr,rootClassName:pr,style:zr}=Kn,Ni=Un(Kn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:fi,getPopupContainer:Li,className:hi,style:Si,preview:wi}=(0,bn.dj)("image"),[Ci]=(0,en.Z)("Image"),yi=fi("image",gn),Ti=fi(),eo=(0,an.Z)(yi),[mo,Yi,Lo]=ir(yi,eo),Mi=Je()(pr,Yi,Lo,eo),Mo=Je()(nr,Yi,hi),[Ao]=(0,$t.Cn)("ImagePreview",typeof $n=="object"?$n.zIndex:void 0),Xo=x.useMemo(()=>{if($n===!1)return $n;const to=typeof $n=="object"?$n:{},{getContainer:Co,closeIcon:Vo,rootClassName:_n}=to,Do=Un(to,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:x.createElement("div",{className:`${yi}-mask-info`},x.createElement(ct.Z,null),Ci==null?void 0:Ci.preview),icons:ar},Do),{rootClassName:Je()(Mi,_n),getContainer:Co!=null?Co:Li,transitionName:(0,Vt.m)(Ti,"zoom",to.transitionName),maskTransitionName:(0,Vt.m)(Ti,"fade",to.maskTransitionName),zIndex:Ao,closeIcon:Vo!=null?Vo:wi==null?void 0:wi.closeIcon})},[$n,Ci,wi==null?void 0:wi.closeIcon]),bo=Object.assign(Object.assign({},Si),zr);return mo(x.createElement(st,Object.assign({prefixCls:yi,preview:Xo,rootClassName:Mi,className:Mo,style:bo},Ni)))};cr.PreviewGroup=tr;var Ei=cr},4875:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Wn}});var x=ae(59301),ct=ae(84105),Le=ae(87395),Je=ae(92310),He=ae.n(Je),Se=ae(54476),Ue=ae(20068),fe=ae(76190),Ce=ae(42978),oe=ae(75931),Oe=ae(67732),ve=ae(83652);function Me(){return typeof BigInt=="function"}function Ie(It){return!It&&It!==0&&!Number.isNaN(It)||!String(It).trim()}function _e(It){var Wt=It.trim(),rn=Wt.startsWith("-");rn&&(Wt=Wt.slice(1)),Wt=Wt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Wt.startsWith(".")&&(Wt="0".concat(Wt));var mn=Wt||"0",Xn=mn.split("."),Fr=Xn[0]||"0",ri=Xn[1]||"0";Fr==="0"&&ri==="0"&&(rn=!1);var Hr=rn?"-":"";return{negative:rn,negativeStr:Hr,trimStr:mn,integerStr:Fr,decimalStr:ri,fullStr:"".concat(Hr).concat(mn)}}function we(It){var Wt=String(It);return!Number.isNaN(Number(Wt))&&Wt.includes("e")}function xe(It){var Wt=String(It);if(we(It)){var rn=Number(Wt.slice(Wt.indexOf("e-")+2)),mn=Wt.match(/\.(\d+)/);return mn!=null&&mn[1]&&(rn+=mn[1].length),rn}return Wt.includes(".")&&ke(Wt)?Wt.length-Wt.indexOf(".")-1:0}function Ee(It){var Wt=String(It);if(we(It)){if(It>Number.MAX_SAFE_INTEGER)return String(Me()?BigInt(It).toString():Number.MAX_SAFE_INTEGER);if(It0&&arguments[0]!==void 0?arguments[0]:!0;return rn?this.isInvalidate()?"":_e("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),It}(),Qe=function(){function It(Wt){if((0,Oe.Z)(this,It),(0,Ue.Z)(this,"origin",""),(0,Ue.Z)(this,"number",void 0),(0,Ue.Z)(this,"empty",void 0),Ie(Wt)){this.empty=!0;return}this.origin=String(Wt),this.number=Number(Wt)}return(0,ve.Z)(It,[{key:"negate",value:function(){return new It(-this.toNumber())}},{key:"add",value:function(rn){if(this.isInvalidate())return new It(rn);var mn=Number(rn);if(Number.isNaN(mn))return this;var Xn=this.number+mn;if(Xn>Number.MAX_SAFE_INTEGER)return new It(Number.MAX_SAFE_INTEGER);if(XnNumber.MAX_SAFE_INTEGER)return new It(Number.MAX_SAFE_INTEGER);if(Xn0&&arguments[0]!==void 0?arguments[0]:!0;return rn?this.isInvalidate()?"":Ee(this.number):this.origin}}]),It}();function Re(It){return Me()?new ze(It):new Qe(It)}function et(It,Wt,rn){var mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(It==="")return"";var Xn=_e(It),Fr=Xn.negativeStr,ri=Xn.integerStr,Hr=Xn.decimalStr,Ir="".concat(Wt).concat(Hr),qn="".concat(Fr).concat(ri);if(rn>=0){var vr=Number(Hr[rn]);if(vr>=5&&!mn){var Mr=Re(It).add("".concat(Fr,"0.").concat("0".repeat(rn)).concat(10-vr));return et(Mr.toString(),Wt,rn,mn)}return rn===0?qn:"".concat(qn).concat(Wt).concat(Hr.padEnd(rn,"0").slice(0,rn))}return Ir===".0"?qn:"".concat(qn).concat(Ir)}var Ge=Re,lt=ae(36901),it=ae(34280);function ft(It,Wt){return typeof Proxy!="undefined"&&It?new Proxy(It,{get:function(mn,Xn){if(Wt[Xn])return Wt[Xn];var Fr=mn[Xn];return typeof Fr=="function"?Fr.bind(mn):Fr}}):It}var bt=ae(8654),je=ae(48736);function ht(It,Wt){var rn=(0,x.useRef)(null);function mn(){try{var Fr=It.selectionStart,ri=It.selectionEnd,Hr=It.value,Ir=Hr.substring(0,Fr),qn=Hr.substring(ri);rn.current={start:Fr,end:ri,value:Hr,beforeTxt:Ir,afterTxt:qn}}catch(vr){}}function Xn(){if(It&&rn.current&&Wt)try{var Fr=It.value,ri=rn.current,Hr=ri.beforeTxt,Ir=ri.afterTxt,qn=ri.start,vr=Fr.length;if(Fr.startsWith(Hr))vr=Hr.length;else if(Fr.endsWith(Ir))vr=Fr.length-rn.current.afterTxt.length;else{var Mr=Hr[qn-1],Yn=Fr.indexOf(Mr,qn-1);Yn!==-1&&(vr=Yn+1)}It.setSelectionRange(vr,vr)}catch(sr){(0,je.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(sr.message))}}return[mn,Xn]}var Ne=ae(49658),We=function(){var Wt=(0,x.useState)(!1),rn=(0,Ce.Z)(Wt,2),mn=rn[0],Xn=rn[1];return(0,it.Z)(function(){Xn((0,Ne.Z)())},[]),mn},Ut=We,ot=ae(16089),yt=200,Ft=600;function Ze(It){var Wt=It.prefixCls,rn=It.upNode,mn=It.downNode,Xn=It.upDisabled,Fr=It.downDisabled,ri=It.onStep,Hr=x.useRef(),Ir=x.useRef([]),qn=x.useRef();qn.current=ri;var vr=function(){clearTimeout(Hr.current)},Mr=function(gi,ci){gi.preventDefault(),vr(),qn.current(ci);function Hi(){qn.current(ci),Hr.current=setTimeout(Hi,yt)}Hr.current=setTimeout(Hi,Ft)};x.useEffect(function(){return function(){vr(),Ir.current.forEach(function(Yr){return ot.Z.cancel(Yr)})}},[]);var Yn=Ut();if(Yn)return null;var sr="".concat(Wt,"-handler"),jn=He()(sr,"".concat(sr,"-up"),(0,Ue.Z)({},"".concat(sr,"-up-disabled"),Xn)),ur=He()(sr,"".concat(sr,"-down"),(0,Ue.Z)({},"".concat(sr,"-down-disabled"),Fr)),br=function(){return Ir.current.push((0,ot.Z)(vr))},Xr={unselectable:"on",role:"button",onMouseUp:br,onMouseLeave:br};return x.createElement("div",{className:"".concat(sr,"-wrap")},x.createElement("span",(0,Se.Z)({},Xr,{onMouseDown:function(gi){Mr(gi,!0)},"aria-label":"Increase Value","aria-disabled":Xn,className:jn}),rn||x.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-up-inner")})),x.createElement("span",(0,Se.Z)({},Xr,{onMouseDown:function(gi){Mr(gi,!1)},"aria-label":"Decrease Value","aria-disabled":Fr,className:ur}),mn||x.createElement("span",{unselectable:"on",className:"".concat(Wt,"-handler-down-inner")})))}function Te(It){var Wt=typeof It=="number"?Ee(It):_e(It).fullStr,rn=Wt.includes(".");return rn?_e(Wt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:It+"0"}var At=ae(30292),Zt=function(){var It=(0,x.useRef)(0),Wt=function(){ot.Z.cancel(It.current)};return(0,x.useEffect)(function(){return Wt},[]),function(rn){Wt(),It.current=(0,ot.Z)(function(){rn()})}},Kt=["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"],rt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Nt=function(Wt,rn){return Wt||rn.isEmpty()?rn.toString():rn.toNumber()},Qt=function(Wt){var rn=Ge(Wt);return rn.isInvalidate()?null:rn},pn=x.forwardRef(function(It,Wt){var rn=It.prefixCls,mn=It.className,Xn=It.style,Fr=It.min,ri=It.max,Hr=It.step,Ir=Hr===void 0?1:Hr,qn=It.defaultValue,vr=It.value,Mr=It.disabled,Yn=It.readOnly,sr=It.upHandler,jn=It.downHandler,ur=It.keyboard,br=It.changeOnWheel,Xr=br===void 0?!1:br,Yr=It.controls,gi=Yr===void 0?!0:Yr,ci=It.classNames,Hi=It.stringMode,vi=It.parser,no=It.formatter,Ki=It.precision,fr=It.decimalSeparator,Lr=It.onChange,mi=It.onInput,Xt=It.onPressEnter,ln=It.onStep,yn=It.changeOnBlur,kt=yn===void 0?!0:yn,dn=It.domRef,zt=(0,oe.Z)(It,Kt),hn="".concat(rn,"-input"),Pn=x.useRef(null),_r=x.useState(!1),Jr=(0,Ce.Z)(_r,2),di=Jr[0],ir=Jr[1],Ar=x.useRef(!1),ar=x.useRef(!1),ti=x.useRef(!1),tr=x.useState(function(){return Ge(vr!=null?vr:qn)}),Un=(0,Ce.Z)(tr,2),cr=Un[0],Ei=Un[1];function Kn(ni){vr===void 0&&Ei(ni)}var gn=x.useCallback(function(ni,Wr){if(!Wr)return Ki>=0?Ki:Math.max(xe(ni),xe(Ir))},[Ki,Ir]),$n=x.useCallback(function(ni){var Wr=String(ni);if(vi)return vi(Wr);var ji=Wr;return fr&&(ji=ji.replace(fr,".")),ji.replace(/[^\w.-]+/g,"")},[vi,fr]),nr=x.useRef(""),pr=x.useCallback(function(ni,Wr){if(no)return no(ni,{userTyping:Wr,input:String(nr.current)});var ji=typeof ni=="number"?Ee(ni):ni;if(!Wr){var ro=gn(ji,Wr);if(ke(ji)&&(fr||ro>=0)){var Kr=fr||".";ji=et(ji,Kr,ro)}}return ji},[no,gn,fr]),zr=x.useState(function(){var ni=qn!=null?qn:vr;return cr.isInvalidate()&&["string","number"].includes((0,fe.Z)(ni))?Number.isNaN(ni)?"":ni:pr(cr.toString(),!1)}),Ni=(0,Ce.Z)(zr,2),fi=Ni[0],Li=Ni[1];nr.current=fi;function hi(ni,Wr){Li(pr(ni.isInvalidate()?ni.toString(!1):ni.toString(!Wr),Wr))}var Si=x.useMemo(function(){return Qt(ri)},[ri,Ki]),wi=x.useMemo(function(){return Qt(Fr)},[Fr,Ki]),Ci=x.useMemo(function(){return!Si||!cr||cr.isInvalidate()?!1:Si.lessEquals(cr)},[Si,cr]),yi=x.useMemo(function(){return!wi||!cr||cr.isInvalidate()?!1:cr.lessEquals(wi)},[wi,cr]),Ti=ht(Pn.current,di),eo=(0,Ce.Z)(Ti,2),mo=eo[0],Yi=eo[1],Lo=function(Wr){return Si&&!Wr.lessEquals(Si)?Si:wi&&!wi.lessEquals(Wr)?wi:null},Mi=function(Wr){return!Lo(Wr)},Mo=function(Wr,ji){var ro=Wr,Kr=Mi(ro)||ro.isEmpty();if(!ro.isEmpty()&&!ji&&(ro=Lo(ro)||ro,Kr=!0),!Yn&&!Mr&&Kr){var oi=ro.toString(),yr=gn(oi,ji);return yr>=0&&(ro=Ge(et(oi,".",yr)),Mi(ro)||(ro=Ge(et(oi,".",yr,!0)))),ro.equals(cr)||(Kn(ro),Lr==null||Lr(ro.isEmpty()?null:Nt(Hi,ro)),vr===void 0&&hi(ro,ji)),ro}return cr},Ao=Zt(),Xo=function ni(Wr){if(mo(),nr.current=Wr,Li(Wr),!ar.current){var ji=$n(Wr),ro=Ge(ji);ro.isNaN()||Mo(ro,!0)}mi==null||mi(Wr),Ao(function(){var Kr=Wr;vi||(Kr=Wr.replace(/。/g,".")),Kr!==Wr&&ni(Kr)})},bo=function(){ar.current=!0},to=function(){ar.current=!1,Xo(Pn.current.value)},Co=function(Wr){Xo(Wr.target.value)},Vo=function(Wr){var ji;if(!(Wr&&Ci||!Wr&&yi)){Ar.current=!1;var ro=Ge(ti.current?Te(Ir):Ir);Wr||(ro=ro.negate());var Kr=(cr||Ge(0)).add(ro.toString()),oi=Mo(Kr,!1);ln==null||ln(Nt(Hi,oi),{offset:ti.current?Te(Ir):Ir,type:Wr?"up":"down"}),(ji=Pn.current)===null||ji===void 0||ji.focus()}},_n=function(Wr){var ji=Ge($n(fi)),ro;ji.isNaN()?ro=Mo(cr,Wr):ro=Mo(ji,Wr),vr!==void 0?hi(cr,!1):ro.isNaN()||hi(ro,!1)},Do=function(){Ar.current=!0},Vi=function(Wr){var ji=Wr.key,ro=Wr.shiftKey;Ar.current=!0,ti.current=ro,ji==="Enter"&&(ar.current||(Ar.current=!1),_n(!1),Xt==null||Xt(Wr)),ur!==!1&&!ar.current&&["Up","ArrowUp","Down","ArrowDown"].includes(ji)&&(Vo(ji==="Up"||ji==="ArrowUp"),Wr.preventDefault())},Ur=function(){Ar.current=!1,ti.current=!1};x.useEffect(function(){if(Xr&&di){var ni=function(ro){Vo(ro.deltaY<0),ro.preventDefault()},Wr=Pn.current;if(Wr)return Wr.addEventListener("wheel",ni,{passive:!1}),function(){return Wr.removeEventListener("wheel",ni)}}});var qr=function(){kt&&_n(!1),ir(!1),Ar.current=!1};return(0,it.o)(function(){cr.isInvalidate()||hi(cr,!1)},[Ki,no]),(0,it.o)(function(){var ni=Ge(vr);Ei(ni);var Wr=Ge($n(fi));(!ni.equals(Wr)||!Ar.current||no)&&hi(ni,Ar.current)},[vr]),(0,it.o)(function(){no&&Yi()},[fi]),x.createElement("div",{ref:dn,className:He()(rn,mn,(0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},"".concat(rn,"-focused"),di),"".concat(rn,"-disabled"),Mr),"".concat(rn,"-readonly"),Yn),"".concat(rn,"-not-a-number"),cr.isNaN()),"".concat(rn,"-out-of-range"),!cr.isInvalidate()&&!Mi(cr))),style:Xn,onFocus:function(){ir(!0)},onBlur:qr,onKeyDown:Vi,onKeyUp:Ur,onCompositionStart:bo,onCompositionEnd:to,onBeforeInput:Do},gi&&x.createElement(Ze,{prefixCls:rn,upNode:sr,downNode:jn,upDisabled:Ci,downDisabled:yi,onStep:Vo}),x.createElement("div",{className:"".concat(hn,"-wrap")},x.createElement("input",(0,Se.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Fr,"aria-valuemax":ri,"aria-valuenow":cr.isInvalidate()?null:cr.toString(),step:Ir},zt,{ref:(0,bt.sQ)(Pn,Wt),className:hn,value:fi,onChange:Co,disabled:Mr,readOnly:Yn}))))}),Ot=x.forwardRef(function(It,Wt){var rn=It.disabled,mn=It.style,Xn=It.prefixCls,Fr=Xn===void 0?"rc-input-number":Xn,ri=It.value,Hr=It.prefix,Ir=It.suffix,qn=It.addonBefore,vr=It.addonAfter,Mr=It.className,Yn=It.classNames,sr=(0,oe.Z)(It,rt),jn=x.useRef(null),ur=x.useRef(null),br=x.useRef(null),Xr=function(gi){br.current&&(0,At.nH)(br.current,gi)};return x.useImperativeHandle(Wt,function(){return ft(br.current,{focus:Xr,nativeElement:jn.current.nativeElement||ur.current})}),x.createElement(lt.BaseInput,{className:Mr,triggerFocus:Xr,prefixCls:Fr,value:ri,disabled:rn,style:mn,prefix:Hr,suffix:Ir,addonAfter:vr,addonBefore:qn,classNames:Yn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:jn},x.createElement(pn,(0,Se.Z)({prefixCls:Fr,disabled:rn,ref:br,domRef:ur,className:Yn==null?void 0:Yn.input},sr)))}),vn=Ot,_t=vn,Fn=ae(62487),on=ae(82855),de=ae(48755),ge=ae(60840),ie=ae(2171),ee=ae(83397),le=ae(31756),se=ae(56553),Be=ae(24971),$e=ae(70045),at=ae(36237),pt=ae(53075),gt=ae(64910),Bt=ae(39082),Lt=ae(63356),Rt=ae(56119),Ct=ae(16931),st=ae(51636),$t=ae(17835);const Vt=It=>{var Wt;const rn=(Wt=It.handleVisible)!==null&&Wt!==void 0?Wt:"auto",mn=It.controlHeightSM-It.lineWidth*2;return Object.assign(Object.assign({},(0,gt.T)(It)),{controlWidth:90,handleWidth:mn,handleFontSize:It.fontSize/2,handleVisible:rn,handleActiveBg:It.colorFillAlter,handleBg:It.colorBgContainer,filledHandleBg:new $t.FastColor(It.colorFillSecondary).onBackground(It.colorBgContainer).toHexString(),handleHoverColor:It.colorPrimary,handleBorderColor:It.colorBorder,handleOpacity:rn===!0?1:0,handleVisibleWidth:rn===!0?mn:0})},bn=(It,Wt)=>{let{componentCls:rn,borderRadiusSM:mn,borderRadiusLG:Xn}=It;const Fr=Wt==="lg"?Xn:mn;return{[`&-${Wt}`]:{[`${rn}-handler-wrap`]:{borderStartEndRadius:Fr,borderEndEndRadius:Fr},[`${rn}-handler-up`]:{borderStartEndRadius:Fr},[`${rn}-handler-down`]:{borderEndEndRadius:Fr}}}},an=It=>{const{componentCls:Wt,lineWidth:rn,lineType:mn,borderRadius:Xn,inputFontSizeSM:Fr,inputFontSizeLG:ri,controlHeightLG:Hr,controlHeightSM:Ir,colorError:qn,paddingInlineSM:vr,paddingBlockSM:Mr,paddingBlockLG:Yn,paddingInlineLG:sr,colorTextDescription:jn,motionDurationMid:ur,handleHoverColor:br,handleOpacity:Xr,paddingInline:Yr,paddingBlock:gi,handleBg:ci,handleActiveBg:Hi,colorTextDisabled:vi,borderRadiusSM:no,borderRadiusLG:Ki,controlWidth:fr,handleBorderColor:Lr,filledHandleBg:mi,lineHeightLG:Xt,calc:ln}=It;return[{[Wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(It)),(0,pt.ik)(It)),{display:"inline-block",width:fr,margin:0,padding:0,borderRadius:Xn}),(0,Bt.qG)(It,{[`${Wt}-handler-wrap`]:{background:ci,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`}}})),(0,Bt.H8)(It,{[`${Wt}-handler-wrap`]:{background:mi,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`}},"&:focus-within":{[`${Wt}-handler-wrap`]:{background:ci}}})),(0,Bt.vc)(It,{[`${Wt}-handler-wrap`]:{background:ci,[`${Wt}-handler-down`]:{borderBlockStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`}}})),(0,Bt.Mu)(It)),{"&-rtl":{direction:"rtl",[`${Wt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ri,lineHeight:Xt,borderRadius:Ki,[`input${Wt}-input`]:{height:ln(Hr).sub(ln(rn).mul(2)).equal(),padding:`${(0,at.unit)(Yn)} ${(0,at.unit)(sr)}`}},"&-sm":{padding:0,fontSize:Fr,borderRadius:no,[`input${Wt}-input`]:{height:ln(Ir).sub(ln(rn).mul(2)).equal(),padding:`${(0,at.unit)(Mr)} ${(0,at.unit)(vr)}`}},"&-out-of-range":{[`${Wt}-input-wrap`]:{input:{color:qn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(It)),(0,pt.s7)(It)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Wt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Wt}-group-addon`]:{borderRadius:Ki,fontSize:It.fontSizeLG}},"&-sm":{[`${Wt}-group-addon`]:{borderRadius:no}}},(0,Bt.ir)(It)),(0,Bt.S5)(It)),{[`&:not(${Wt}-compact-first-item):not(${Wt}-compact-last-item)${Wt}-compact-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderRadius:0}},[`&:not(${Wt}-compact-last-item)${Wt}-compact-first-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Wt}-compact-first-item)${Wt}-compact-last-item`]:{[`${Wt}, ${Wt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Wt}-input`]:{cursor:"not-allowed"},[Wt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Lt.Wf)(It)),{width:"100%",padding:`${(0,at.unit)(gi)} ${(0,at.unit)(Yr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Xn,outline:0,transition:`all ${ur} linear`,appearance:"textfield",fontSize:"inherit"}),(0,pt.nz)(It.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:It.handleWidth,opacity:1}})},{[Wt]:Object.assign(Object.assign(Object.assign({[`${Wt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:It.handleVisibleWidth,opacity:Xr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Xn,borderEndEndRadius:Xn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${ur}`,overflow:"hidden",[`${Wt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${Wt}-handler-up-inner, ${Wt}-handler-down-inner `]:{marginInlineEnd:0,fontSize:It.handleFontSize}}},[`${Wt}-handler`]:{height:"50%",overflow:"hidden",color:jn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,at.unit)(rn)} ${mn} ${Lr}`,transition:`all ${ur} linear`,"&:active":{background:Hi},"&:hover":{height:"60%",[` ${Wt}-handler-up-inner, ${Wt}-handler-down-inner `]:{color:br}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Lt.Ro)()),{color:jn,transition:`all ${ur} linear`,userSelect:"none"})},[`${Wt}-handler-up`]:{borderStartEndRadius:Xn},[`${Wt}-handler-down`]:{borderEndEndRadius:Xn}},bn(It,"lg")),bn(It,"sm")),{"&-disabled, &-readonly":{[`${Wt}-handler-wrap`]:{display:"none"},[`${Wt}-input`]:{color:"inherit"}},[` ${Wt}-handler-up-disabled, ${Wt}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${Wt}-handler-up-disabled:hover &-handler-up-inner, ${Wt}-handler-down-disabled:hover &-handler-down-inner `]:{color:vi}})}]},en=It=>{const{componentCls:Wt,paddingBlock:rn,paddingInline:mn,inputAffixPadding:Xn,controlWidth:Fr,borderRadiusLG:ri,borderRadiusSM:Hr,paddingInlineLG:Ir,paddingInlineSM:qn,paddingBlockLG:vr,paddingBlockSM:Mr,motionDurationMid:Yn}=It;return{[`${Wt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Wt}-input`]:{padding:`${(0,at.unit)(rn)} 0`}},(0,pt.ik)(It)),{position:"relative",display:"inline-flex",alignItems:"center",width:Fr,padding:0,paddingInlineStart:mn,"&-lg":{borderRadius:ri,paddingInlineStart:Ir,[`input${Wt}-input`]:{padding:`${(0,at.unit)(vr)} 0`}},"&-sm":{borderRadius:Hr,paddingInlineStart:qn,[`input${Wt}-input`]:{padding:`${(0,at.unit)(Mr)} 0`}},[`&:not(${Wt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Wt}-disabled`]:{background:"transparent"},[`> div${Wt}`]:{width:"100%",border:"none",outline:"none",[`&${Wt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Wt}-handler-wrap`]:{zIndex:2},[Wt]:{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:mn,marginInlineStart:Xn,transition:`margin ${Yn}`}},[`&:hover ${Wt}-handler-wrap, &-focused ${Wt}-handler-wrap`]:{width:It.handleWidth,opacity:1},[`&:not(${Wt}-affix-wrapper-without-controls):hover ${Wt}-suffix`]:{marginInlineEnd:It.calc(It.handleWidth).add(mn).equal()}})}};var Hn=(0,Ct.I$)("InputNumber",It=>{const Wt=(0,st.mergeToken)(It,(0,gt.e)(It));return[an(Wt),en(Wt),(0,Rt.c)(Wt)]},Vt,{unitless:{handleOpacity:!0}}),En=function(It,Wt){var rn={};for(var mn in It)Object.prototype.hasOwnProperty.call(It,mn)&&Wt.indexOf(mn)<0&&(rn[mn]=It[mn]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xn=0,mn=Object.getOwnPropertySymbols(It);Xn{const{getPrefixCls:rn,direction:mn}=x.useContext(de.E_),Xn=x.useRef(null);x.useImperativeHandle(Wt,()=>Xn.current);const{className:Fr,rootClassName:ri,size:Hr,disabled:Ir,prefixCls:qn,addonBefore:vr,addonAfter:Mr,prefix:Yn,suffix:sr,bordered:jn,readOnly:ur,status:br,controls:Xr,variant:Yr}=It,gi=En(It,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),ci=rn("input-number",qn),Hi=(0,ee.Z)(ci),[vi,no,Ki]=Hn(ci,Hi),{compactSize:fr,compactItemClassnames:Lr}=(0,$e.ri)(ci,mn);let mi=x.createElement(Le.Z,{className:`${ci}-handler-up-inner`}),Xt=x.createElement(ct.Z,{className:`${ci}-handler-down-inner`});const ln=typeof Xr=="boolean"?Xr:void 0;typeof Xr=="object"&&(mi=typeof Xr.upIcon=="undefined"?mi:x.createElement("span",{className:`${ci}-handler-up-inner`},Xr.upIcon),Xt=typeof Xr.downIcon=="undefined"?Xt:x.createElement("span",{className:`${ci}-handler-down-inner`},Xr.downIcon));const{hasFeedback:yn,status:kt,isFormItemInput:dn,feedbackIcon:zt}=x.useContext(se.aM),hn=(0,on.F)(kt,br),Pn=(0,le.Z)(Un=>{var cr;return(cr=Hr!=null?Hr:fr)!==null&&cr!==void 0?cr:Un}),_r=x.useContext(ie.Z),Jr=Ir!=null?Ir:_r,[di,ir]=(0,Be.Z)("inputNumber",Yr,jn),Ar=yn&&x.createElement(x.Fragment,null,zt),ar=He()({[`${ci}-lg`]:Pn==="large",[`${ci}-sm`]:Pn==="small",[`${ci}-rtl`]:mn==="rtl",[`${ci}-in-form-item`]:dn},no),ti=`${ci}-group`,tr=x.createElement(_t,Object.assign({ref:Xn,disabled:Jr,className:He()(Ki,Hi,Fr,ri,Lr),upHandler:mi,downHandler:Xt,prefixCls:ci,readOnly:ur,controls:ln,prefix:Yn,suffix:Ar||sr,addonBefore:vr&&x.createElement(Fn.Z,{form:!0,space:!0},vr),addonAfter:Mr&&x.createElement(Fn.Z,{form:!0,space:!0},Mr),classNames:{input:ar,variant:He()({[`${ci}-${di}`]:ir},(0,on.Z)(ci,hn,yn)),affixWrapper:He()({[`${ci}-affix-wrapper-sm`]:Pn==="small",[`${ci}-affix-wrapper-lg`]:Pn==="large",[`${ci}-affix-wrapper-rtl`]:mn==="rtl",[`${ci}-affix-wrapper-without-controls`]:Xr===!1||Jr},no),wrapper:He()({[`${ti}-rtl`]:mn==="rtl"},no),groupWrapper:He()({[`${ci}-group-wrapper-sm`]:Pn==="small",[`${ci}-group-wrapper-lg`]:Pn==="large",[`${ci}-group-wrapper-rtl`]:mn==="rtl",[`${ci}-group-wrapper-${di}`]:ir},(0,on.Z)(`${ci}-group-wrapper`,hn,yn),no)}},gi));return vi(tr)}),sn=Mt,Dn=It=>x.createElement(ge.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},x.createElement(Mt,Object.assign({},It)));sn._InternalPanelDoNotUseOrYouWillBeFired=Dn;var Wn=sn},49397:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Qe}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(36901),He=ae(8654),Se=ae(62487),Ue=ae(86013),fe=ae(82855),Ce=ae(48755),oe=ae(2171),Oe=ae(83397),ve=ae(31756),Me=ae(56553),Ie=ae(24971),_e=ae(70045),we=ae(23826),xe=ae(53075);function Ee(Re){return!!(Re.prefix||Re.suffix||Re.allowClear||Re.showCount)}var ke=function(Re,et){var Ge={};for(var lt in Re)Object.prototype.hasOwnProperty.call(Re,lt)&&et.indexOf(lt)<0&&(Ge[lt]=Re[lt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,lt=Object.getOwnPropertySymbols(Re);it{const{prefixCls:Ge,bordered:lt=!0,status:it,size:ft,disabled:bt,onBlur:je,onFocus:ht,suffix:Ne,allowClear:We,addonAfter:Ut,addonBefore:ot,className:yt,style:Ft,styles:Ze,rootClassName:Te,onChange:At,classNames:Zt,variant:Kt}=Re,rt=ke(Re,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Nt,direction:Qt,allowClear:pn,autoComplete:Ot,className:vn,style:_t,classNames:Fn,styles:on}=(0,Ce.dj)("input"),de=Nt("input",Ge),ge=(0,x.useRef)(null),ie=(0,Oe.Z)(de),[ee,le,se]=(0,xe.TI)(de,Te),[Be]=(0,xe.ZP)(de,ie),{compactSize:$e,compactItemClassnames:at}=(0,_e.ri)(de,Qt),pt=(0,ve.Z)(Wn=>{var It;return(It=ft!=null?ft:$e)!==null&&It!==void 0?It:Wn}),gt=x.useContext(oe.Z),Bt=bt!=null?bt:gt,{status:Lt,hasFeedback:Rt,feedbackIcon:Ct}=(0,x.useContext)(Me.aM),st=(0,fe.F)(Lt,it),$t=Ee(Re)||!!Rt,Vt=(0,x.useRef)($t),bn=(0,we.Z)(ge,!0),an=Wn=>{bn(),je==null||je(Wn)},en=Wn=>{bn(),ht==null||ht(Wn)},Hn=Wn=>{bn(),At==null||At(Wn)},En=(Rt||Ne)&&x.createElement(x.Fragment,null,Ne,Rt&&Ct),Mt=(0,Ue.Z)(We!=null?We:pn),[sn,Dn]=(0,Ie.Z)("input",Kt,lt);return ee(Be(x.createElement(Je.default,Object.assign({ref:(0,He.sQ)(et,ge),prefixCls:de,autoComplete:Ot},rt,{disabled:Bt,onBlur:an,onFocus:en,style:Object.assign(Object.assign({},_t),Ft),styles:Object.assign(Object.assign({},on),Ze),suffix:En,allowClear:Mt,className:Le()(yt,Te,se,ie,at,vn),onChange:Hn,addonBefore:ot&&x.createElement(Se.Z,{form:!0,space:!0},ot),addonAfter:Ut&&x.createElement(Se.Z,{form:!0,space:!0},Ut),classNames:Object.assign(Object.assign(Object.assign({},Zt),Fn),{input:Le()({[`${de}-sm`]:pt==="small",[`${de}-lg`]:pt==="large",[`${de}-rtl`]:Qt==="rtl"},Zt==null?void 0:Zt.input,Fn.input,le),variant:Le()({[`${de}-${sn}`]:Dn},(0,fe.Z)(de,st)),affixWrapper:Le()({[`${de}-affix-wrapper-sm`]:pt==="small",[`${de}-affix-wrapper-lg`]:pt==="large",[`${de}-affix-wrapper-rtl`]:Qt==="rtl"},le),wrapper:Le()({[`${de}-group-rtl`]:Qt==="rtl"},le),groupWrapper:Le()({[`${de}-group-wrapper-sm`]:pt==="small",[`${de}-group-wrapper-lg`]:pt==="large",[`${de}-group-wrapper-rtl`]:Qt==="rtl",[`${de}-group-wrapper-${sn}`]:Dn},(0,fe.Z)(`${de}-group-wrapper`,st,Rt),le)})}))))})},79809:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return et}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(22711),He=ae(86013),Se=ae(82855),Ue=ae(48755),fe=ae(2171),Ce=ae(83397),oe=ae(31756),Oe=ae(56553),ve=ae(24971),Me=ae(70045),Ie=ae(30292),_e=ae(53075),we=ae(16931),xe=ae(51636),Ee=ae(64910);const ke=Ge=>{const{componentCls:lt,paddingLG:it}=Ge,ft=`${lt}-textarea`;return{[`textarea${lt}`]:{maxWidth:"100%",height:"auto",minHeight:Ge.controlHeight,lineHeight:Ge.lineHeight,verticalAlign:"bottom",transition:`all ${Ge.motionDurationSlow}`,resize:"vertical",[`&${lt}-mouse-active`]:{transition:`all ${Ge.motionDurationSlow}, height 0s, width 0s`}},[`${lt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ft]:{position:"relative","&-show-count":{[`> ${lt}`]:{height:"100%"},[`${lt}-data-count`]:{position:"absolute",bottom:Ge.calc(Ge.fontSize).mul(Ge.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ge.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${lt}, &-affix-wrapper${ft}-has-feedback ${lt} `]:{paddingInlineEnd:it},[`&-affix-wrapper${lt}-affix-wrapper`]:{padding:0,[`> textarea${lt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ge.calc(Ge.controlHeight).sub(Ge.calc(Ge.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${lt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${lt}-clear-icon`]:{position:"absolute",insetInlineEnd:Ge.paddingInline,insetBlockStart:Ge.paddingXS},[`${ft}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ge.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${lt}-affix-wrapper-sm`]:{[`${lt}-suffix`]:{[`${lt}-clear-icon`]:{insetInlineEnd:Ge.paddingInlineSM}}}}}};var ze=(0,we.I$)(["Input","TextArea"],Ge=>{const lt=(0,xe.mergeToken)(Ge,(0,Ee.e)(Ge));return[ke(lt)]},Ee.T,{resetFont:!1}),Qe=function(Ge,lt){var it={};for(var ft in Ge)Object.prototype.hasOwnProperty.call(Ge,ft)&<.indexOf(ft)<0&&(it[ft]=Ge[ft]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,ft=Object.getOwnPropertySymbols(Ge);bt{var it;const{prefixCls:ft,bordered:bt=!0,size:je,disabled:ht,status:Ne,allowClear:We,classNames:Ut,rootClassName:ot,className:yt,style:Ft,styles:Ze,variant:Te,showCount:At,onMouseDown:Zt,onResize:Kt}=Ge,rt=Qe(Ge,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Nt,direction:Qt,allowClear:pn,autoComplete:Ot,className:vn,style:_t,classNames:Fn,styles:on}=(0,Ue.dj)("textArea"),de=x.useContext(fe.Z),ge=ht!=null?ht:de,{status:ie,hasFeedback:ee,feedbackIcon:le}=x.useContext(Oe.aM),se=(0,Se.F)(ie,Ne),Be=x.useRef(null);x.useImperativeHandle(lt,()=>{var Dn;return{resizableTextArea:(Dn=Be.current)===null||Dn===void 0?void 0:Dn.resizableTextArea,focus:Wn=>{var It,Wt;(0,Ie.nH)((Wt=(It=Be.current)===null||It===void 0?void 0:It.resizableTextArea)===null||Wt===void 0?void 0:Wt.textArea,Wn)},blur:()=>{var Wn;return(Wn=Be.current)===null||Wn===void 0?void 0:Wn.blur()}}});const $e=Nt("input",ft),at=(0,Ce.Z)($e),[pt,gt,Bt]=(0,_e.TI)($e,ot),[Lt]=ze($e,at),{compactSize:Rt,compactItemClassnames:Ct}=(0,Me.ri)($e,Qt),st=(0,oe.Z)(Dn=>{var Wn;return(Wn=je!=null?je:Rt)!==null&&Wn!==void 0?Wn:Dn}),[$t,Vt]=(0,ve.Z)("textArea",Te,bt),bn=(0,He.Z)(We!=null?We:pn),[an,en]=x.useState(!1),[Hn,En]=x.useState(!1),Mt=Dn=>{en(!0),Zt==null||Zt(Dn);const Wn=()=>{en(!1),document.removeEventListener("mouseup",Wn)};document.addEventListener("mouseup",Wn)},sn=Dn=>{var Wn,It;if(Kt==null||Kt(Dn),an&&typeof getComputedStyle=="function"){const Wt=(It=(Wn=Be.current)===null||Wn===void 0?void 0:Wn.nativeElement)===null||It===void 0?void 0:It.querySelector("textarea");Wt&&getComputedStyle(Wt).resize==="both"&&En(!0)}};return pt(Lt(x.createElement(Je.default,Object.assign({autoComplete:Ot},rt,{style:Object.assign(Object.assign({},_t),Ft),styles:Object.assign(Object.assign({},on),Ze),disabled:ge,allowClear:bn,className:Le()(Bt,at,yt,ot,Ct,vn,Hn&&`${$e}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ut),Fn),{textarea:Le()({[`${$e}-sm`]:st==="small",[`${$e}-lg`]:st==="large"},gt,Ut==null?void 0:Ut.textarea,Fn.textarea,an&&`${$e}-mouse-active`),variant:Le()({[`${$e}-${$t}`]:Vt},(0,Se.Z)($e,se)),affixWrapper:Le()(`${$e}-textarea-affix-wrapper`,{[`${$e}-affix-wrapper-rtl`]:Qt==="rtl",[`${$e}-affix-wrapper-sm`]:st==="small",[`${$e}-affix-wrapper-lg`]:st==="large",[`${$e}-textarea-show-count`]:At||((it=Ge.count)===null||it===void 0?void 0:it.show)},gt)}),prefixCls:$e,suffix:ee&&x.createElement("span",{className:`${$e}-textarea-suffix`},le),showCount:At,ref:Be,onResize:sn,onMouseDown:Mt}))))})},23826:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return ct}});var x=ae(59301);function ct(Le,Je){const He=(0,x.useRef)([]),Se=()=>{He.current.push(setTimeout(()=>{var Ue,fe,Ce,oe;!((Ue=Le.current)===null||Ue===void 0)&&Ue.input&&((fe=Le.current)===null||fe===void 0?void 0:fe.input.getAttribute("type"))==="password"&&(!((Ce=Le.current)===null||Ce===void 0)&&Ce.input.hasAttribute("value"))&&((oe=Le.current)===null||oe===void 0||oe.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(Je&&Se(),()=>He.current.forEach(Ue=>{Ue&&clearTimeout(Ue)})),[]),Se}},37568:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return Fn}});var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(48755),He=ae(56553),Se=ae(53075),fe=on=>{const{getPrefixCls:de,direction:ge}=(0,x.useContext)(Je.E_),{prefixCls:ie,className:ee}=on,le=de("input-group",ie),se=de("input"),[Be,$e,at]=(0,Se.ZP)(se),pt=Le()(le,at,{[`${le}-lg`]:on.size==="large",[`${le}-sm`]:on.size==="small",[`${le}-compact`]:on.compact,[`${le}-rtl`]:ge==="rtl"},$e,ee),gt=(0,x.useContext)(He.aM),Bt=(0,x.useMemo)(()=>Object.assign(Object.assign({},gt),{isFormItemInput:!1}),[gt]);return Be(x.createElement("span",{className:pt,style:on.style,onMouseEnter:on.onMouseEnter,onMouseLeave:on.onMouseLeave,onFocus:on.onFocus,onBlur:on.onBlur},x.createElement(He.aM.Provider,{value:Bt},on.children)))},Ce=ae(49397),oe=ae(94480),Oe=ae(6089),ve=ae(26112),Me=ae(82855),Ie=ae(31756),_e=ae(16931),we=ae(51636),xe=ae(64910);const Ee=on=>{const{componentCls:de,paddingXS:ge}=on;return{[de]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ge,"&-rtl":{direction:"rtl"},[`${de}-input`]:{textAlign:"center",paddingInline:on.paddingXXS},[`&${de}-sm ${de}-input`]:{paddingInline:on.calc(on.paddingXXS).div(2).equal()},[`&${de}-lg ${de}-input`]:{paddingInline:on.paddingXS}}}};var ke=(0,_e.I$)(["Input","OTP"],on=>{const de=(0,we.mergeToken)(on,(0,xe.e)(on));return[Ee(de)]},xe.T),ze=ae(16089),Qe=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{value:ge,onChange:ie,onActiveChange:ee,index:le,mask:se}=on,Be=Qe(on,["value","onChange","onActiveChange","index","mask"]),$e=ge&&typeof se=="string"?se:ge,at=Rt=>{ie(le,Rt.target.value)},pt=x.useRef(null);x.useImperativeHandle(de,()=>pt.current);const gt=()=>{(0,ze.Z)(()=>{var Rt;const Ct=(Rt=pt.current)===null||Rt===void 0?void 0:Rt.input;document.activeElement===Ct&&Ct&&Ct.select()})},Bt=Rt=>{const{key:Ct,ctrlKey:st,metaKey:$t}=Rt;Ct==="ArrowLeft"?ee(le-1):Ct==="ArrowRight"?ee(le+1):Ct==="z"&&(st||$t)&&Rt.preventDefault(),gt()},Lt=Rt=>{Rt.key==="Backspace"&&!ge&&ee(le-1),gt()};return x.createElement(Ce.Z,Object.assign({type:se===!0?"password":"text"},Be,{ref:pt,value:$e,onInput:at,onFocus:gt,onKeyDown:Bt,onKeyUp:Lt,onMouseDown:gt,onMouseUp:gt}))}),Ge=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{index:de,prefixCls:ge,separator:ie}=on,ee=typeof ie=="function"?ie(de):ie;return ee?x.createElement("span",{className:`${ge}-separator`},ee):null};var bt=x.forwardRef((on,de)=>{const{prefixCls:ge,length:ie=6,size:ee,defaultValue:le,value:se,onChange:Be,formatter:$e,separator:at,variant:pt,disabled:gt,status:Bt,autoFocus:Lt,mask:Rt,type:Ct,onInput:st,inputMode:$t}=on,Vt=Ge(on,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:bn,direction:an}=x.useContext(Je.E_),en=bn("otp",ge),Hn=(0,ve.Z)(Vt,{aria:!0,data:!0,attr:!0}),[En,Mt,sn]=ke(en),Dn=(0,Ie.Z)(Yn=>ee!=null?ee:Yn),Wn=x.useContext(He.aM),It=(0,Me.F)(Wn.status,Bt),Wt=x.useMemo(()=>Object.assign(Object.assign({},Wn),{status:It,hasFeedback:!1,feedbackIcon:null}),[Wn,It]),rn=x.useRef(null),mn=x.useRef({});x.useImperativeHandle(de,()=>({focus:()=>{var Yn;(Yn=mn.current[0])===null||Yn===void 0||Yn.focus()},blur:()=>{var Yn;for(let sr=0;sr$e?$e(Yn):Yn,[Fr,ri]=x.useState(()=>lt(Xn(le||"")));x.useEffect(()=>{se!==void 0&&ri(lt(se))},[se]);const Hr=(0,Oe.Z)(Yn=>{ri(Yn),st&&st(Yn),Be&&Yn.length===ie&&Yn.every(sr=>sr)&&Yn.some((sr,jn)=>Fr[jn]!==sr)&&Be(Yn.join(""))}),Ir=(0,Oe.Z)((Yn,sr)=>{let jn=(0,oe.Z)(Fr);for(let br=0;br=0&&!jn[br];br-=1)jn.pop();const ur=Xn(jn.map(br=>br||" ").join(""));return jn=lt(ur).map((br,Xr)=>br===" "&&!jn[Xr]?jn[Xr]:br),jn}),qn=(Yn,sr)=>{var jn;const ur=Ir(Yn,sr),br=Math.min(Yn+sr.length,ie-1);br!==Yn&&ur[Yn]!==void 0&&((jn=mn.current[br])===null||jn===void 0||jn.focus()),Hr(ur)},vr=Yn=>{var sr;(sr=mn.current[Yn])===null||sr===void 0||sr.focus()},Mr={variant:pt,disabled:gt,status:It,mask:Rt,type:Ct,inputMode:$t};return En(x.createElement("div",Object.assign({},Hn,{ref:rn,className:Le()(en,{[`${en}-sm`]:Dn==="small",[`${en}-lg`]:Dn==="large",[`${en}-rtl`]:an==="rtl"},sn,Mt)}),x.createElement(He.aM.Provider,{value:Wt},Array.from({length:ie}).map((Yn,sr)=>{const jn=`otp-${sr}`,ur=Fr[sr]||"";return x.createElement(x.Fragment,{key:jn},x.createElement(et,Object.assign({ref:br=>{mn.current[sr]=br},index:sr,size:Dn,htmlSize:1,className:`${en}-input`,onChange:qn,value:ur,onActiveChange:vr,autoFocus:sr===0&&Lt},Mr)),sron?x.createElement(ht.Z,null):x.createElement(je.Z,null),Ze={click:"onClick",hover:"onMouseOver"};var At=x.forwardRef((on,de)=>{const{disabled:ge,action:ie="click",visibilityToggle:ee=!0,iconRender:le=Ft}=on,se=x.useContext(Ut.Z),Be=ge!=null?ge:se,$e=typeof ee=="object"&&ee.visible!==void 0,[at,pt]=(0,x.useState)(()=>$e?ee.visible:!1),gt=(0,x.useRef)(null);x.useEffect(()=>{$e&&pt(ee.visible)},[$e,ee]);const Bt=(0,ot.Z)(gt),Lt=()=>{var Dn;if(Be)return;at&&Bt();const Wn=!at;pt(Wn),typeof ee=="object"&&((Dn=ee.onVisibleChange)===null||Dn===void 0||Dn.call(ee,Wn))},Rt=Dn=>{const Wn=Ze[ie]||"",It=le(at),Wt={[Wn]:Lt,className:`${Dn}-icon`,key:"passwordIcon",onMouseDown:rn=>{rn.preventDefault()},onMouseUp:rn=>{rn.preventDefault()}};return x.cloneElement(x.isValidElement(It)?It:x.createElement("span",null,It),Wt)},{className:Ct,prefixCls:st,inputPrefixCls:$t,size:Vt}=on,bn=yt(on,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:an}=x.useContext(Je.E_),en=an("input",$t),Hn=an("input-password",st),En=ee&&Rt(Hn),Mt=Le()(Hn,Ct,{[`${Hn}-${Vt}`]:!!Vt}),sn=Object.assign(Object.assign({},(0,Ne.Z)(bn,["suffix","iconRender","visibilityToggle"])),{type:at?"text":"password",className:Mt,prefixCls:en,suffix:En});return Vt&&(sn.size=Vt),x.createElement(Ce.Z,Object.assign({ref:(0,We.sQ)(de,gt)},sn))}),Zt=ae(47472),Kt=ae(22703),rt=ae(7939),Nt=ae(70045),Qt=function(on,de){var ge={};for(var ie in on)Object.prototype.hasOwnProperty.call(on,ie)&&de.indexOf(ie)<0&&(ge[ie]=on[ie]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(on);ee{const{prefixCls:ge,inputPrefixCls:ie,className:ee,size:le,suffix:se,enterButton:Be=!1,addonAfter:$e,loading:at,disabled:pt,onSearch:gt,onChange:Bt,onCompositionStart:Lt,onCompositionEnd:Rt}=on,Ct=Qt(on,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:st,direction:$t}=x.useContext(Je.E_),Vt=x.useRef(!1),bn=st("input-search",ge),an=st("input",ie),{compactSize:en}=(0,Nt.ri)(bn,$t),Hn=(0,Ie.Z)(qn=>{var vr;return(vr=le!=null?le:en)!==null&&vr!==void 0?vr:qn}),En=x.useRef(null),Mt=qn=>{qn!=null&&qn.target&&qn.type==="click"&>&>(qn.target.value,qn,{source:"clear"}),Bt==null||Bt(qn)},sn=qn=>{var vr;document.activeElement===((vr=En.current)===null||vr===void 0?void 0:vr.input)&&qn.preventDefault()},Dn=qn=>{var vr,Mr;gt&>((Mr=(vr=En.current)===null||vr===void 0?void 0:vr.input)===null||Mr===void 0?void 0:Mr.value,qn,{source:"input"})},Wn=qn=>{Vt.current||at||Dn(qn)},It=typeof Be=="boolean"?x.createElement(Zt.Z,null):null,Wt=`${bn}-button`;let rn;const mn=Be||{},Xn=mn.type&&mn.type.__ANT_BUTTON===!0;Xn||mn.type==="button"?rn=(0,Kt.Tm)(mn,Object.assign({onMouseDown:sn,onClick:qn=>{var vr,Mr;(Mr=(vr=mn==null?void 0:mn.props)===null||vr===void 0?void 0:vr.onClick)===null||Mr===void 0||Mr.call(vr,qn),Dn(qn)},key:"enterButton"},Xn?{className:Wt,size:Hn}:{})):rn=x.createElement(rt.ZP,{className:Wt,type:Be?"primary":void 0,size:Hn,disabled:pt,key:"enterButton",onMouseDown:sn,onClick:Dn,loading:at,icon:It},Be),$e&&(rn=[rn,(0,Kt.Tm)($e,{key:"addonAfter"})]);const Fr=Le()(bn,{[`${bn}-rtl`]:$t==="rtl",[`${bn}-${Hn}`]:!!Hn,[`${bn}-with-button`]:!!Be},ee),ri=Object.assign(Object.assign({},Ct),{className:Fr,prefixCls:an,type:"search"}),Hr=qn=>{Vt.current=!0,Lt==null||Lt(qn)},Ir=qn=>{Vt.current=!1,Rt==null||Rt(qn)};return x.createElement(Ce.Z,Object.assign({ref:(0,We.sQ)(En,de),onPressEnter:Wn},ri,{size:Hn,onCompositionStart:Hr,onCompositionEnd:Ir,addonAfter:rn,suffix:se,onChange:Mt,disabled:pt}))}),vn=ae(79809);const _t=Ce.Z;_t.Group=fe,_t.Search=Ot,_t.TextArea=vn.Z,_t.Password=At,_t.OTP=bt;var Fn=_t},24303:function(Vn,Tt,ae){"use strict";ae.d(Tt,{D:function(){return Ge},Z:function(){return ft}});var x=ae(59301),ct=ae(54476),Le={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"},Je=Le,He=ae(7657),Se=function(je,ht){return x.createElement(He.Z,(0,ct.Z)({},je,{ref:ht,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(33853),oe=ae(38819),Oe=ae(92310),ve=ae.n(Oe),Me=ae(2738),Ie=ae(48755),_e=ae(6989),we=ae(36237),xe=ae(48923),Ee=ae(16931);const ke=bt=>{const{componentCls:je,siderBg:ht,motionDurationMid:Ne,motionDurationSlow:We,antCls:Ut,triggerHeight:ot,triggerColor:yt,triggerBg:Ft,headerHeight:Ze,zeroTriggerWidth:Te,zeroTriggerHeight:At,borderRadiusLG:Zt,lightSiderBg:Kt,lightTriggerColor:rt,lightTriggerBg:Nt,bodyBg:Qt}=bt;return{[je]:{position:"relative",minWidth:0,background:ht,transition:`all ${Ne}, background 0s`,"&-has-trigger":{paddingBottom:ot},"&-right":{order:1},[`${je}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ut}-menu${Ut}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${je}-children`]:{overflow:"hidden"},[`${je}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ot,color:yt,lineHeight:(0,we.unit)(ot),textAlign:"center",background:Ft,cursor:"pointer",transition:`all ${Ne}`},[`${je}-zero-width-trigger`]:{position:"absolute",top:Ze,insetInlineEnd:bt.calc(Te).mul(-1).equal(),zIndex:1,width:Te,height:At,color:yt,fontSize:bt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ht,borderRadius:`0 ${(0,we.unit)(Zt)} ${(0,we.unit)(Zt)} 0`,cursor:"pointer",transition:`background ${We} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${We}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:bt.calc(Te).mul(-1).equal(),borderRadius:`${(0,we.unit)(Zt)} 0 0 ${(0,we.unit)(Zt)}`}},"&-light":{background:Kt,[`${je}-trigger`]:{color:rt,background:Nt},[`${je}-zero-width-trigger`]:{color:rt,background:Nt,border:`1px solid ${Qt}`,borderInlineStart:0}}}}};var ze=(0,Ee.I$)(["Layout","Sider"],bt=>[ke(bt)],xe.eh,{deprecatedTokens:xe.jn}),Qe=function(bt,je){var ht={};for(var Ne in bt)Object.prototype.hasOwnProperty.call(bt,Ne)&&je.indexOf(Ne)<0&&(ht[Ne]=bt[Ne]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ne=Object.getOwnPropertySymbols(bt);We!Number.isNaN(Number.parseFloat(bt))&&isFinite(bt),Ge=x.createContext({}),lt=(()=>{let bt=0;return function(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return bt+=1,`${je}${bt}`}})();var ft=x.forwardRef((bt,je)=>{const{prefixCls:ht,className:Ne,trigger:We,children:Ut,defaultCollapsed:ot=!1,theme:yt="dark",style:Ft={},collapsible:Ze=!1,reverseArrow:Te=!1,width:At=200,collapsedWidth:Zt=80,zeroWidthTriggerStyle:Kt,breakpoint:rt,onCollapse:Nt,onBreakpoint:Qt}=bt,pn=Qe(bt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ot}=(0,x.useContext)(_e.V),[vn,_t]=(0,x.useState)("collapsed"in bt?bt.collapsed:ot),[Fn,on]=(0,x.useState)(!1);(0,x.useEffect)(()=>{"collapsed"in bt&&_t(bt.collapsed)},[bt.collapsed]);const de=(Hn,En)=>{"collapsed"in bt||_t(Hn),Nt==null||Nt(Hn,En)},{getPrefixCls:ge,direction:ie}=(0,x.useContext)(Ie.E_),ee=ge("layout-sider",ht),[le,se,Be]=ze(ee),$e=(0,x.useRef)(null);$e.current=Hn=>{on(Hn.matches),Qt==null||Qt(Hn.matches),vn!==Hn.matches&&de(Hn.matches,"responsive")},(0,x.useEffect)(()=>{function Hn(Mt){return $e.current(Mt)}let En;if(typeof window!="undefined"){const{matchMedia:Mt}=window;if(Mt&&rt&&rt in Re){En=Mt(`screen and (max-width: ${Re[rt]})`);try{En.addEventListener("change",Hn)}catch(sn){En.addListener(Hn)}Hn(En)}}return()=>{try{En==null||En.removeEventListener("change",Hn)}catch(Mt){En==null||En.removeListener(Hn)}}},[rt]),(0,x.useEffect)(()=>{const Hn=lt("ant-sider-");return Ot.addSider(Hn),()=>Ot.removeSider(Hn)},[]);const at=()=>{de(!vn,"clickTrigger")},pt=(0,Me.Z)(pn,["collapsed"]),gt=vn?Zt:At,Bt=et(gt)?`${gt}px`:String(gt),Lt=parseFloat(String(Zt||0))===0?x.createElement("span",{onClick:at,className:ve()(`${ee}-zero-width-trigger`,`${ee}-zero-width-trigger-${Te?"right":"left"}`),style:Kt},We||x.createElement(fe,null)):null,Rt=ie==="rtl"==!Te,$t={expanded:Rt?x.createElement(oe.Z,null):x.createElement(Ce.Z,null),collapsed:Rt?x.createElement(Ce.Z,null):x.createElement(oe.Z,null)}[vn?"collapsed":"expanded"],Vt=We!==null?Lt||x.createElement("div",{className:`${ee}-trigger`,onClick:at,style:{width:Bt}},We||$t):null,bn=Object.assign(Object.assign({},Ft),{flex:`0 0 ${Bt}`,maxWidth:Bt,minWidth:Bt,width:Bt}),an=ve()(ee,`${ee}-${yt}`,{[`${ee}-collapsed`]:!!vn,[`${ee}-has-trigger`]:Ze&&We!==null&&!Lt,[`${ee}-below`]:!!Fn,[`${ee}-zero-width`]:parseFloat(Bt)===0},Ne,se,Be),en=x.useMemo(()=>({siderCollapsed:vn}),[vn]);return le(x.createElement(Ge.Provider,{value:en},x.createElement("aside",Object.assign({className:an},pt,{style:bn,ref:je}),x.createElement("div",{className:`${ee}-children`},Ut),Ze||Fn&&Lt?Vt:null)))})},6989:function(Vn,Tt,ae){"use strict";ae.d(Tt,{V:function(){return ct}});var x=ae(59301);const ct=x.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Vn,Tt,ae){"use strict";ae.d(Tt,{eh:function(){return Je},jn:function(){return He}});var x=ae(36237),ct=ae(16931);const Le=Se=>{const{antCls:Ue,componentCls:fe,colorText:Ce,footerBg:oe,headerHeight:Oe,headerPadding:ve,headerColor:Me,footerPadding:Ie,fontSize:_e,bodyBg:we,headerBg:xe}=Se;return{[fe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:we,"&, *":{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:Oe,padding:ve,color:Me,lineHeight:(0,x.unit)(Oe),background:xe,[`${Ue}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:Ie,color:Ce,fontSize:_e,background:oe},[`${fe}-content`]:{flex:"auto",color:Ce,minHeight:0}}},Je=Se=>{const{colorBgLayout:Ue,controlHeight:fe,controlHeightLG:Ce,colorText:oe,controlHeightSM:Oe,marginXXS:ve,colorTextLightSolid:Me,colorBgContainer:Ie}=Se,_e=Ce*1.25;return{colorBgHeader:"#001529",colorBgBody:Ue,colorBgTrigger:"#002140",bodyBg:Ue,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${_e}px`,headerColor:oe,footerPadding:`${Oe}px ${_e}px`,footerBg:Ue,siderBg:"#001529",triggerHeight:Ce+ve*2,triggerBg:"#002140",triggerColor:Me,zeroTriggerWidth:Ce,zeroTriggerHeight:Ce,lightSiderBg:Ie,lightTriggerBg:Ie,lightTriggerColor:oe}},He=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Tt.ZP=(0,ct.I$)("Layout",Se=>[Le(Se)],Je,{deprecatedTokens:He})},78857:function(Vn,Tt,ae){"use strict";ae.d(Tt,{J:function(){return Se}});var x=ae(59301),ct=ae(8654),Le=ae(62487),Je=function(Ue,fe){var Ce={};for(var oe in Ue)Object.prototype.hasOwnProperty.call(Ue,oe)&&fe.indexOf(oe)<0&&(Ce[oe]=Ue[oe]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,oe=Object.getOwnPropertySymbols(Ue);Oe{const{children:Ce}=Ue,oe=Je(Ue,["children"]),Oe=x.useContext(He),ve=x.useMemo(()=>Object.assign(Object.assign({},Oe),oe),[Oe,oe.prefixCls,oe.mode,oe.selectable,oe.rootClassName]),Me=(0,ct.t4)(Ce),Ie=(0,ct.x1)(fe,Me?(0,ct.C4)(Ce):null);return x.createElement(He.Provider,{value:ve},x.createElement(Le.Z,{space:!0},Me?x.cloneElement(Ce,{ref:Ie}):Ce))});Tt.Z=He},93041:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return le}});var x=ae(59301),ct=ae(28321),Le=ae(24303),Je=ae(18785),He=ae(92310),Se=ae.n(He),Ue=ae(6089),fe=ae(2738),Ce=ae(86641),oe=ae(22703),Oe=ae(48755),ve=ae(83397),Ie=(0,x.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),_e=function(se,Be){var $e={};for(var at in se)Object.prototype.hasOwnProperty.call(se,at)&&Be.indexOf(at)<0&&($e[at]=se[at]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,at=Object.getOwnPropertySymbols(se);pt{const{prefixCls:Be,className:$e,dashed:at}=se,pt=_e(se,["prefixCls","className","dashed"]),{getPrefixCls:gt}=x.useContext(Oe.E_),Bt=gt("menu",Be),Lt=Se()({[`${Bt}-item-divider-dashed`]:!!at},$e);return x.createElement(ct.iz,Object.assign({className:Lt},pt))},Ee=ae(11592),ke=ae(25399),Qe=se=>{var Be;const{className:$e,children:at,icon:pt,title:gt,danger:Bt,extra:Lt}=se,{prefixCls:Rt,firstLevel:Ct,direction:st,disableMenuItemTitleTooltip:$t,inlineCollapsed:Vt}=x.useContext(Ie),bn=sn=>{const Dn=at==null?void 0:at[0],Wn=x.createElement("span",{className:Se()(`${Rt}-title-content`,{[`${Rt}-title-content-with-extra`]:!!Lt||Lt===0})},at);return(!pt||x.isValidElement(at)&&at.type==="span")&&at&&sn&&Ct&&typeof Dn=="string"?x.createElement("div",{className:`${Rt}-inline-collapsed-noicon`},Dn.charAt(0)):Wn},{siderCollapsed:an}=x.useContext(Le.D);let en=gt;typeof gt=="undefined"?en=Ct?at:"":gt===!1&&(en="");const Hn={title:en};!an&&!Vt&&(Hn.title=null,Hn.open=!1);const En=(0,Ee.Z)(at).length;let Mt=x.createElement(ct.ck,Object.assign({},(0,fe.Z)(se,["title","icon","danger"]),{className:Se()({[`${Rt}-item-danger`]:Bt,[`${Rt}-item-only-child`]:(pt?En+1:En)===1},$e),title:typeof gt=="string"?gt:void 0}),(0,oe.Tm)(pt,{className:Se()(x.isValidElement(pt)?(Be=pt.props)===null||Be===void 0?void 0:Be.className:"",`${Rt}-item-icon`)}),bn(Vt));return $t||(Mt=x.createElement(ke.Z,Object.assign({},Hn,{placement:st==="rtl"?"left":"right",classNames:{root:`${Rt}-inline-collapsed-tooltip`}}),Mt)),Mt},Re=ae(78857),et=ae(36237),Ge=ae(17835),lt=ae(63356),it=ae(34961),ft=ae(46e3),bt=ae(34925),je=ae(16931),ht=ae(51636),We=se=>{const{componentCls:Be,motionDurationSlow:$e,horizontalLineHeight:at,colorSplit:pt,lineWidth:gt,lineType:Bt,itemPaddingInline:Lt}=se;return{[`${Be}-horizontal`]:{lineHeight:at,border:0,borderBottom:`${(0,et.unit)(gt)} ${Bt} ${pt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Be}-item, ${Be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Lt},[`> ${Be}-item:hover, > ${Be}-item-active, > ${Be}-submenu ${Be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Be}-item, ${Be}-submenu-title`]:{transition:[`border-color ${$e}`,`background ${$e}`].join(",")},[`${Be}-submenu-arrow`]:{display:"none"}}}},ot=se=>{let{componentCls:Be,menuArrowOffset:$e,calc:at}=se;return{[`${Be}-rtl`]:{direction:"rtl"},[`${Be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Be}-rtl${Be}-vertical, ${Be}-submenu-rtl ${Be}-vertical`]:{[`${Be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,et.unit)(at($e).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,et.unit)($e)})`}}}}};const yt=se=>Object.assign({},(0,lt.oN)(se));var Ze=(se,Be)=>{const{componentCls:$e,itemColor:at,itemSelectedColor:pt,subMenuItemSelectedColor:gt,groupTitleColor:Bt,itemBg:Lt,subMenuItemBg:Rt,itemSelectedBg:Ct,activeBarHeight:st,activeBarWidth:$t,activeBarBorderWidth:Vt,motionDurationSlow:bn,motionEaseInOut:an,motionEaseOut:en,itemPaddingInline:Hn,motionDurationMid:En,itemHoverColor:Mt,lineType:sn,colorSplit:Dn,itemDisabledColor:Wn,dangerItemColor:It,dangerItemHoverColor:Wt,dangerItemSelectedColor:rn,dangerItemActiveBg:mn,dangerItemSelectedBg:Xn,popupBg:Fr,itemHoverBg:ri,itemActiveBg:Hr,menuSubMenuBg:Ir,horizontalItemSelectedColor:qn,horizontalItemSelectedBg:vr,horizontalItemBorderRadius:Mr,horizontalItemHoverBg:Yn}=se;return{[`${$e}-${Be}, ${$e}-${Be} > ${$e}`]:{color:at,background:Lt,[`&${$e}-root:focus-visible`]:Object.assign({},yt(se)),[`${$e}-item`]:{"&-group-title, &-extra":{color:Bt}},[`${$e}-submenu-selected > ${$e}-submenu-title`]:{color:gt},[`${$e}-item, ${$e}-submenu-title`]:{color:at,[`&:not(${$e}-item-disabled):focus-visible`]:Object.assign({},yt(se))},[`${$e}-item-disabled, ${$e}-submenu-disabled`]:{color:`${Wn} !important`},[`${$e}-item:not(${$e}-item-selected):not(${$e}-submenu-selected)`]:{[`&:hover, > ${$e}-submenu-title:hover`]:{color:Mt}},[`&:not(${$e}-horizontal)`]:{[`${$e}-item:not(${$e}-item-selected)`]:{"&:hover":{backgroundColor:ri},"&:active":{backgroundColor:Hr}},[`${$e}-submenu-title`]:{"&:hover":{backgroundColor:ri},"&:active":{backgroundColor:Hr}}},[`${$e}-item-danger`]:{color:It,[`&${$e}-item:hover`]:{[`&:not(${$e}-item-selected):not(${$e}-submenu-selected)`]:{color:Wt}},[`&${$e}-item:active`]:{background:mn}},[`${$e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${$e}-item-selected`]:{color:pt,[`&${$e}-item-danger`]:{color:rn},"a, a:hover":{color:"inherit"}},[`& ${$e}-item-selected`]:{backgroundColor:Ct,[`&${$e}-item-danger`]:{backgroundColor:Xn}},[`&${$e}-submenu > ${$e}`]:{backgroundColor:Ir},[`&${$e}-popup > ${$e}`]:{backgroundColor:Fr},[`&${$e}-submenu-popup > ${$e}`]:{backgroundColor:Fr},[`&${$e}-horizontal`]:Object.assign(Object.assign({},Be==="dark"?{borderBottom:0}:{}),{[`> ${$e}-item, > ${$e}-submenu`]:{top:Vt,marginTop:se.calc(Vt).mul(-1).equal(),marginBottom:0,borderRadius:Mr,"&::after":{position:"absolute",insetInline:Hn,bottom:0,borderBottom:`${(0,et.unit)(st)} solid transparent`,transition:`border-color ${bn} ${an}`,content:'""'},"&:hover, &-active, &-open":{background:Yn,"&::after":{borderBottomWidth:st,borderBottomColor:qn}},"&-selected":{color:qn,backgroundColor:vr,"&:hover":{backgroundColor:vr},"&::after":{borderBottomWidth:st,borderBottomColor:qn}}}}),[`&${$e}-root`]:{[`&${$e}-inline, &${$e}-vertical`]:{borderInlineEnd:`${(0,et.unit)(Vt)} ${sn} ${Dn}`}},[`&${$e}-inline`]:{[`${$e}-sub${$e}-inline`]:{background:Rt},[`${$e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,et.unit)($t)} solid ${pt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${En} ${en}`,`opacity ${En} ${en}`].join(","),content:'""'},[`&${$e}-item-danger`]:{"&::after":{borderInlineEndColor:rn}}},[`${$e}-selected, ${$e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${En} ${an}`,`opacity ${En} ${an}`].join(",")}}}}}};const Te=se=>{const{componentCls:Be,itemHeight:$e,itemMarginInline:at,padding:pt,menuArrowSize:gt,marginXS:Bt,itemMarginBlock:Lt,itemWidth:Rt,itemPaddingInline:Ct}=se,st=se.calc(gt).add(pt).add(Bt).equal();return{[`${Be}-item`]:{position:"relative",overflow:"hidden"},[`${Be}-item, ${Be}-submenu-title`]:{height:$e,lineHeight:(0,et.unit)($e),paddingInline:Ct,overflow:"hidden",textOverflow:"ellipsis",marginInline:at,marginBlock:Lt,width:Rt},[`> ${Be}-item, > ${Be}-submenu > ${Be}-submenu-title`]:{height:$e,lineHeight:(0,et.unit)($e)},[`${Be}-item-group-list ${Be}-submenu-title, ${Be}-submenu-title`]:{paddingInlineEnd:st}}};var Zt=se=>{const{componentCls:Be,iconCls:$e,itemHeight:at,colorTextLightSolid:pt,dropdownWidth:gt,controlHeightLG:Bt,motionEaseOut:Lt,paddingXL:Rt,itemMarginInline:Ct,fontSizeLG:st,motionDurationFast:$t,motionDurationSlow:Vt,paddingXS:bn,boxShadowSecondary:an,collapsedWidth:en,collapsedIconSize:Hn}=se,En={height:at,lineHeight:(0,et.unit)(at),listStylePosition:"inside",listStyleType:"disc"};return[{[Be]:{"&-inline, &-vertical":Object.assign({[`&${Be}-root`]:{boxShadow:"none"}},Te(se))},[`${Be}-submenu-popup`]:{[`${Be}-vertical`]:Object.assign(Object.assign({},Te(se)),{boxShadow:an})}},{[`${Be}-submenu-popup ${Be}-vertical${Be}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${(0,et.unit)(se.calc(Bt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Be}-inline`]:{width:"100%",[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Vt}`,`background ${Vt}`,`padding ${$t} ${Lt}`].join(","),[`> ${Be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Be}-sub${Be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Be}-submenu > ${Be}-submenu-title`]:En,[`& ${Be}-item-group-title`]:{paddingInlineStart:Rt}},[`${Be}-item`]:En}},{[`${Be}-inline-collapsed`]:{width:en,[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu ${Be}-submenu-title`]:{[`> ${Be}-inline-collapsed-noicon`]:{fontSize:st,textAlign:"center"}}},[`> ${Be}-item, > ${Be}-item-group > ${Be}-item-group-list > ${Be}-item, > ${Be}-item-group > ${Be}-item-group-list > ${Be}-submenu > ${Be}-submenu-title, > ${Be}-submenu > ${Be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,et.unit)(se.calc(Hn).div(2).equal())} - ${(0,et.unit)(Ct)})`,textOverflow:"clip",[` ${Be}-submenu-arrow, ${Be}-submenu-expand-icon `]:{opacity:0},[`${Be}-item-icon, ${$e}`]:{margin:0,fontSize:Hn,lineHeight:(0,et.unit)(at),"+ span":{display:"inline-block",opacity:0}}},[`${Be}-item-icon, ${$e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Be}-item-icon, ${$e}`]:{display:"none"},"a, a:hover":{color:pt}},[`${Be}-item-group-title`]:Object.assign(Object.assign({},lt.vS),{paddingInline:bn})}}]};const Kt=se=>{const{componentCls:Be,motionDurationSlow:$e,motionDurationMid:at,motionEaseInOut:pt,motionEaseOut:gt,iconCls:Bt,iconSize:Lt,iconMarginInlineEnd:Rt}=se;return{[`${Be}-item, ${Be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${$e}`,`background ${$e}`,`padding calc(${$e} + 0.1s) ${pt}`].join(","),[`${Be}-item-icon, ${Bt}`]:{minWidth:Lt,fontSize:Lt,transition:[`font-size ${at} ${gt}`,`margin ${$e} ${pt}`,`color ${$e}`].join(","),"+ span":{marginInlineStart:Rt,opacity:1,transition:[`opacity ${$e} ${pt}`,`margin ${$e}`,`color ${$e}`].join(",")}},[`${Be}-item-icon`]:Object.assign({},(0,lt.Ro)()),[`&${Be}-item-only-child`]:{[`> ${Bt}, > ${Be}-item-icon`]:{marginInlineEnd:0}}},[`${Be}-item-disabled, ${Be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},rt=se=>{const{componentCls:Be,motionDurationSlow:$e,motionEaseInOut:at,borderRadius:pt,menuArrowSize:gt,menuArrowOffset:Bt}=se;return{[`${Be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:se.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${$e} ${at}, opacity ${$e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:se.calc(gt).mul(.6).equal(),height:se.calc(gt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:pt,transition:[`background ${$e} ${at}`,`transform ${$e} ${at}`,`top ${$e} ${at}`,`color ${$e} ${at}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,et.unit)(se.calc(Bt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,et.unit)(Bt)})`}}}}},Nt=se=>{const{antCls:Be,componentCls:$e,fontSize:at,motionDurationSlow:pt,motionDurationMid:gt,motionEaseInOut:Bt,paddingXS:Lt,padding:Rt,colorSplit:Ct,lineWidth:st,zIndexPopup:$t,borderRadiusLG:Vt,subMenuItemBorderRadius:bn,menuArrowSize:an,menuArrowOffset:en,lineType:Hn,groupTitleLineHeight:En,groupTitleFontSize:Mt}=se;return[{"":{[$e]:Object.assign(Object.assign({},(0,lt.dF)()),{"&-hidden":{display:"none"}})},[`${$e}-submenu-hidden`]:{display:"none"}},{[$e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,lt.Wf)(se)),(0,lt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:at,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${pt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${$e}-item`]:{flex:"none"}},[`${$e}-item, ${$e}-submenu, ${$e}-submenu-title`]:{borderRadius:se.itemBorderRadius},[`${$e}-item-group-title`]:{padding:`${(0,et.unit)(Lt)} ${(0,et.unit)(Rt)}`,fontSize:Mt,lineHeight:En,transition:`all ${pt}`},[`&-horizontal ${$e}-submenu`]:{transition:[`border-color ${pt} ${Bt}`,`background ${pt} ${Bt}`].join(",")},[`${$e}-submenu, ${$e}-submenu-inline`]:{transition:[`border-color ${pt} ${Bt}`,`background ${pt} ${Bt}`,`padding ${gt} ${Bt}`].join(",")},[`${$e}-submenu ${$e}-sub`]:{cursor:"initial",transition:[`background ${pt} ${Bt}`,`padding ${pt} ${Bt}`].join(",")},[`${$e}-title-content`]:{transition:`color ${pt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Be}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${$e}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:se.padding}},[`${$e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${$e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ct,borderStyle:Hn,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Kt(se)),{[`${$e}-item-group`]:{[`${$e}-item-group-list`]:{margin:0,padding:0,[`${$e}-item, ${$e}-submenu-title`]:{paddingInline:`${(0,et.unit)(se.calc(at).mul(2).equal())} ${(0,et.unit)(Rt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$t,borderRadius:Vt,boxShadow:"none",transformOrigin:"0 0",[`&${$e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${$e}`]:Object.assign(Object.assign(Object.assign({borderRadius:Vt},Kt(se)),rt(se)),{[`${$e}-item, ${$e}-submenu > ${$e}-submenu-title`]:{borderRadius:bn},[`${$e}-submenu-title::after`]:{transition:`transform ${pt} ${Bt}`}})},"\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:se.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:se.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:se.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:se.paddingXS}}}),rt(se)),{[`&-inline-collapsed ${$e}-submenu-arrow, &-inline ${$e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,et.unit)(en)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,et.unit)(se.calc(en).mul(-1).equal())})`}},[`${$e}-submenu-open${$e}-submenu-inline > ${$e}-submenu-title > ${$e}-submenu-arrow`]:{transform:`translateY(${(0,et.unit)(se.calc(an).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,et.unit)(se.calc(en).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,et.unit)(en)})`}}})},{[`${Be}-layout-header`]:{[$e]:{lineHeight:"inherit"}}}]},Qt=se=>{var Be,$e,at;const{colorPrimary:pt,colorError:gt,colorTextDisabled:Bt,colorErrorBg:Lt,colorText:Rt,colorTextDescription:Ct,colorBgContainer:st,colorFillAlter:$t,colorFillContent:Vt,lineWidth:bn,lineWidthBold:an,controlItemBgActive:en,colorBgTextHover:Hn,controlHeightLG:En,lineHeight:Mt,colorBgElevated:sn,marginXXS:Dn,padding:Wn,fontSize:It,controlHeightSM:Wt,fontSizeLG:rn,colorTextLightSolid:mn,colorErrorHover:Xn}=se,Fr=(Be=se.activeBarWidth)!==null&&Be!==void 0?Be:0,ri=($e=se.activeBarBorderWidth)!==null&&$e!==void 0?$e:bn,Hr=(at=se.itemMarginInline)!==null&&at!==void 0?at:se.marginXXS,Ir=new Ge.FastColor(mn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:Rt,itemColor:Rt,colorItemTextHover:Rt,itemHoverColor:Rt,colorItemTextHoverHorizontal:pt,horizontalItemHoverColor:pt,colorGroupTitle:Ct,groupTitleColor:Ct,colorItemTextSelected:pt,itemSelectedColor:pt,subMenuItemSelectedColor:pt,colorItemTextSelectedHorizontal:pt,horizontalItemSelectedColor:pt,colorItemBg:st,itemBg:st,colorItemBgHover:Hn,itemHoverBg:Hn,colorItemBgActive:Vt,itemActiveBg:en,colorSubItemBg:$t,subMenuItemBg:$t,colorItemBgSelected:en,itemSelectedBg:en,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Fr,colorActiveBarHeight:an,activeBarHeight:an,colorActiveBarBorderSize:bn,activeBarBorderWidth:ri,colorItemTextDisabled:Bt,itemDisabledColor:Bt,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:Lt,dangerItemActiveBg:Lt,colorDangerItemBgSelected:Lt,dangerItemSelectedBg:Lt,itemMarginInline:Hr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:En,groupTitleLineHeight:Mt,collapsedWidth:En*2,popupBg:sn,itemMarginBlock:Dn,itemPaddingInline:Wn,horizontalLineHeight:`${En*1.15}px`,iconSize:It,iconMarginInlineEnd:Wt-It,collapsedIconSize:rn,groupTitleFontSize:It,darkItemDisabledColor:new Ge.FastColor(mn).setA(.25).toRgbString(),darkItemColor:Ir,darkDangerItemColor:gt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:mn,darkItemSelectedBg:pt,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ir,darkItemHoverColor:mn,darkDangerItemHoverColor:Xn,darkDangerItemSelectedColor:mn,darkDangerItemActiveBg:gt,itemWidth:Fr?`calc(100% + ${ri}px)`:`calc(100% - ${Hr*2}px)`}};var pn=function(se){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,$e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,je.I$)("Menu",pt=>{const{colorBgElevated:gt,controlHeightLG:Bt,fontSize:Lt,darkItemColor:Rt,darkDangerItemColor:Ct,darkItemBg:st,darkSubMenuItemBg:$t,darkItemSelectedColor:Vt,darkItemSelectedBg:bn,darkDangerItemSelectedBg:an,darkItemHoverBg:en,darkGroupTitleColor:Hn,darkItemHoverColor:En,darkItemDisabledColor:Mt,darkDangerItemHoverColor:sn,darkDangerItemSelectedColor:Dn,darkDangerItemActiveBg:Wn,popupBg:It,darkPopupBg:Wt}=pt,rn=pt.calc(Lt).div(7).mul(5).equal(),mn=(0,ht.mergeToken)(pt,{menuArrowSize:rn,menuHorizontalHeight:pt.calc(Bt).mul(1.15).equal(),menuArrowOffset:pt.calc(rn).mul(.25).equal(),menuSubMenuBg:gt,calc:pt.calc,popupBg:It}),Xn=(0,ht.mergeToken)(mn,{itemColor:Rt,itemHoverColor:En,groupTitleColor:Hn,itemSelectedColor:Vt,subMenuItemSelectedColor:Vt,itemBg:st,popupBg:Wt,subMenuItemBg:$t,itemActiveBg:"transparent",itemSelectedBg:bn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:en,itemDisabledColor:Mt,dangerItemColor:Ct,dangerItemHoverColor:sn,dangerItemSelectedColor:Dn,dangerItemActiveBg:Wn,dangerItemSelectedBg:an,menuSubMenuBg:$t,horizontalItemSelectedColor:Vt,horizontalItemSelectedBg:bn});return[Nt(mn),We(mn),Zt(mn),Ze(mn,"light"),Ze(Xn,"dark"),ot(mn),(0,it.Z)(mn),(0,ft.oN)(mn,"slide-up"),(0,ft.oN)(mn,"slide-down"),(0,bt._y)(mn,"zoom-big")]},Qt,{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:$e,unitless:{groupTitleLineHeight:!0}})(se,Be)},Ot=ae(75030),_t=se=>{var Be;const{popupClassName:$e,icon:at,title:pt,theme:gt}=se,Bt=x.useContext(Ie),{prefixCls:Lt,inlineCollapsed:Rt,theme:Ct}=Bt,st=(0,ct.Xl)();let $t;if(!at)$t=Rt&&!st.length&&pt&&typeof pt=="string"?x.createElement("div",{className:`${Lt}-inline-collapsed-noicon`},pt.charAt(0)):x.createElement("span",{className:`${Lt}-title-content`},pt);else{const an=x.isValidElement(pt)&&pt.type==="span";$t=x.createElement(x.Fragment,null,(0,oe.Tm)(at,{className:Se()(x.isValidElement(at)?(Be=at.props)===null||Be===void 0?void 0:Be.className:"",`${Lt}-item-icon`)}),an?pt:x.createElement("span",{className:`${Lt}-title-content`},pt))}const Vt=x.useMemo(()=>Object.assign(Object.assign({},Bt),{firstLevel:!1}),[Bt]),[bn]=(0,Ot.Cn)("Menu");return x.createElement(Ie.Provider,{value:Vt},x.createElement(ct.Wd,Object.assign({},(0,fe.Z)(se,["icon"]),{title:$t,popupClassName:Se()(Lt,$e,`${Lt}-${gt||Ct}`),popupStyle:Object.assign({zIndex:bn},se.popupStyle)})))},Fn=function(se,Be){var $e={};for(var at in se)Object.prototype.hasOwnProperty.call(se,at)&&Be.indexOf(at)<0&&($e[at]=se[at]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,at=Object.getOwnPropertySymbols(se);pt{var $e;const at=x.useContext(Re.Z),pt=at||{},{getPrefixCls:gt,getPopupContainer:Bt,direction:Lt,menu:Rt}=x.useContext(Oe.E_),Ct=gt(),{prefixCls:st,className:$t,style:Vt,theme:bn="light",expandIcon:an,_internalDisableMenuItemTitleTooltip:en,inlineCollapsed:Hn,siderCollapsed:En,rootClassName:Mt,mode:sn,selectable:Dn,onClick:Wn,overflowedIndicatorPopupClassName:It}=se,Wt=Fn(se,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),rn=(0,fe.Z)(Wt,["collapsedWidth"]);($e=pt.validator)===null||$e===void 0||$e.call(pt,{mode:sn});const mn=(0,Ue.Z)(function(){var br;Wn==null||Wn.apply(void 0,arguments),(br=pt.onClick)===null||br===void 0||br.call(pt)}),Xn=pt.mode||sn,Fr=Dn!=null?Dn:pt.selectable,ri=Hn!=null?Hn:En,Hr={horizontal:{motionName:`${Ct}-slide-up`},inline:(0,Ce.Z)(Ct),other:{motionName:`${Ct}-zoom-big`}},Ir=gt("menu",st||pt.prefixCls),qn=(0,ve.Z)(Ir),[vr,Mr,Yn]=pn(Ir,qn,!at),sr=Se()(`${Ir}-${bn}`,Rt==null?void 0:Rt.className,$t),jn=x.useMemo(()=>{var br,Xr;if(typeof an=="function"||on(an))return an||null;if(typeof pt.expandIcon=="function"||on(pt.expandIcon))return pt.expandIcon||null;if(typeof(Rt==null?void 0:Rt.expandIcon)=="function"||on(Rt==null?void 0:Rt.expandIcon))return(Rt==null?void 0:Rt.expandIcon)||null;const Yr=(br=an!=null?an:pt==null?void 0:pt.expandIcon)!==null&&br!==void 0?br:Rt==null?void 0:Rt.expandIcon;return(0,oe.Tm)(Yr,{className:Se()(`${Ir}-submenu-expand-icon`,x.isValidElement(Yr)?(Xr=Yr.props)===null||Xr===void 0?void 0:Xr.className:void 0)})},[an,pt==null?void 0:pt.expandIcon,Rt==null?void 0:Rt.expandIcon,Ir]),ur=x.useMemo(()=>({prefixCls:Ir,inlineCollapsed:ri||!1,direction:Lt,firstLevel:!0,theme:bn,mode:Xn,disableMenuItemTitleTooltip:en}),[Ir,ri,Lt,en,bn]);return vr(x.createElement(Re.Z.Provider,{value:null},x.createElement(Ie.Provider,{value:ur},x.createElement(ct.ZP,Object.assign({getPopupContainer:Bt,overflowedIndicator:x.createElement(Je.Z,null),overflowedIndicatorPopupClassName:Se()(Ir,`${Ir}-${bn}`,It),mode:Xn,selectable:Fr,onClick:mn},rn,{inlineCollapsed:ri,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),Vt),className:sr,prefixCls:Ir,direction:Lt,defaultMotions:Hr,expandIcon:jn,ref:Be,rootClassName:Se()(Mt,Mr,pt.rootClassName,Yn,qn),_internalComponents:de})))))});const ee=(0,x.forwardRef)((se,Be)=>{const $e=(0,x.useRef)(null),at=x.useContext(Le.D);return(0,x.useImperativeHandle)(Be,()=>({menu:$e.current,focus:pt=>{var gt;(gt=$e.current)===null||gt===void 0||gt.focus(pt)}})),x.createElement(ie,Object.assign({ref:$e},se,at))});ee.Item=Qe,ee.SubMenu=_t,ee.Divider=xe,ee.ItemGroup=ct.BW;var le=ee},31709:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Rt}});var x=ae(59301),ct=ae(54476),Le={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"},Je=Le,He=ae(7657),Se=function(st,$t){return x.createElement(He.Z,(0,ct.Z)({},st,{ref:$t,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(49198),oe=ae(33853),Oe=ae(38819),ve=ae(92310),Me=ae.n(ve),Ie=ae(20068),_e=ae(76190),we=ae(33885),xe=ae(42978),Ee=ae(18929),ke=ae(10228),ze=ae(26112),Qe=ae(48736),Re=ae(17119),et=[10,20,50,100],Ge=function(st){var $t=st.pageSizeOptions,Vt=$t===void 0?et:$t,bn=st.locale,an=st.changeSize,en=st.pageSize,Hn=st.goButton,En=st.quickGo,Mt=st.rootPrefixCls,sn=st.disabled,Dn=st.buildOptionText,Wn=st.showSizeChanger,It=st.sizeChangerRender,Wt=x.useState(""),rn=(0,xe.Z)(Wt,2),mn=rn[0],Xn=rn[1],Fr=function(){return!mn||Number.isNaN(mn)?void 0:Number(mn)},ri=typeof Dn=="function"?Dn:function(ur){return"".concat(ur," ").concat(bn.items_per_page)},Hr=function(br){Xn(br.target.value)},Ir=function(br){Hn||mn===""||(Xn(""),!(br.relatedTarget&&(br.relatedTarget.className.indexOf("".concat(Mt,"-item-link"))>=0||br.relatedTarget.className.indexOf("".concat(Mt,"-item"))>=0))&&(En==null||En(Fr())))},qn=function(br){mn!==""&&(br.keyCode===ke.Z.ENTER||br.type==="click")&&(Xn(""),En==null||En(Fr()))},vr=function(){return Vt.some(function(br){return br.toString()===en.toString()})?Vt:Vt.concat([en]).sort(function(br,Xr){var Yr=Number.isNaN(Number(br))?0:Number(br),gi=Number.isNaN(Number(Xr))?0:Number(Xr);return Yr-gi})},Mr="".concat(Mt,"-options");if(!Wn&&!En)return null;var Yn=null,sr=null,jn=null;return Wn&&It&&(Yn=It({disabled:sn,size:en,onSizeChange:function(br){an==null||an(Number(br))},"aria-label":bn.page_size,className:"".concat(Mr,"-size-changer"),options:vr().map(function(ur){return{label:ri(ur),value:ur}})})),En&&(Hn&&(jn=typeof Hn=="boolean"?x.createElement("button",{type:"button",onClick:qn,onKeyUp:qn,disabled:sn,className:"".concat(Mr,"-quick-jumper-button")},bn.jump_to_confirm):x.createElement("span",{onClick:qn,onKeyUp:qn},Hn)),sr=x.createElement("div",{className:"".concat(Mr,"-quick-jumper")},bn.jump_to,x.createElement("input",{disabled:sn,type:"text",value:mn,onChange:Hr,onKeyUp:qn,onBlur:Ir,"aria-label":bn.page}),bn.page,jn)),x.createElement("li",{className:Mr},Yn,sr)},lt=Ge,it=function(st){var $t=st.rootPrefixCls,Vt=st.page,bn=st.active,an=st.className,en=st.showTitle,Hn=st.onClick,En=st.onKeyPress,Mt=st.itemRender,sn="".concat($t,"-item"),Dn=Me()(sn,"".concat(sn,"-").concat(Vt),(0,Ie.Z)((0,Ie.Z)({},"".concat(sn,"-active"),bn),"".concat(sn,"-disabled"),!Vt),an),Wn=function(){Hn(Vt)},It=function(mn){En(mn,Hn,Vt)},Wt=Mt(Vt,"page",x.createElement("a",{rel:"nofollow"},Vt));return Wt?x.createElement("li",{title:en?String(Vt):null,className:Dn,onClick:Wn,onKeyDown:It,tabIndex:0},Wt):null},ft=it,bt=function(st,$t,Vt){return Vt};function je(){}function ht(Ct){var st=Number(Ct);return typeof st=="number"&&!Number.isNaN(st)&&isFinite(st)&&Math.floor(st)===st}function Ne(Ct,st,$t){var Vt=typeof Ct=="undefined"?st:Ct;return Math.floor(($t-1)/Vt)+1}var We=function(st){var $t=st.prefixCls,Vt=$t===void 0?"rc-pagination":$t,bn=st.selectPrefixCls,an=bn===void 0?"rc-select":bn,en=st.className,Hn=st.current,En=st.defaultCurrent,Mt=En===void 0?1:En,sn=st.total,Dn=sn===void 0?0:sn,Wn=st.pageSize,It=st.defaultPageSize,Wt=It===void 0?10:It,rn=st.onChange,mn=rn===void 0?je:rn,Xn=st.hideOnSinglePage,Fr=st.align,ri=st.showPrevNextJumpers,Hr=ri===void 0?!0:ri,Ir=st.showQuickJumper,qn=st.showLessItems,vr=st.showTitle,Mr=vr===void 0?!0:vr,Yn=st.onShowSizeChange,sr=Yn===void 0?je:Yn,jn=st.locale,ur=jn===void 0?Re.Z:jn,br=st.style,Xr=st.totalBoundaryShowSizeChanger,Yr=Xr===void 0?50:Xr,gi=st.disabled,ci=st.simple,Hi=st.showTotal,vi=st.showSizeChanger,no=vi===void 0?Dn>Yr:vi,Ki=st.sizeChangerRender,fr=st.pageSizeOptions,Lr=st.itemRender,mi=Lr===void 0?bt:Lr,Xt=st.jumpPrevIcon,ln=st.jumpNextIcon,yn=st.prevIcon,kt=st.nextIcon,dn=x.useRef(null),zt=(0,Ee.Z)(10,{value:Wn,defaultValue:Wt}),hn=(0,xe.Z)(zt,2),Pn=hn[0],_r=hn[1],Jr=(0,Ee.Z)(1,{value:Hn,defaultValue:Mt,postState:function(go){return Math.max(1,Math.min(go,Ne(void 0,Pn,Dn)))}}),di=(0,xe.Z)(Jr,2),ir=di[0],Ar=di[1],ar=x.useState(ir),ti=(0,xe.Z)(ar,2),tr=ti[0],Un=ti[1];(0,x.useEffect)(function(){Un(ir)},[ir]);var cr=mn!==je,Ei="current"in st,Kn=Math.max(1,ir-(qn?3:5)),gn=Math.min(Ne(void 0,Pn,Dn),ir+(qn?3:5));function $n(Uo,go){var Fa=Uo||x.createElement("button",{type:"button","aria-label":go,className:"".concat(Vt,"-item-link")});return typeof Uo=="function"&&(Fa=x.createElement(Uo,(0,we.Z)({},st))),Fa}function nr(Uo){var go=Uo.target.value,Fa=Ne(void 0,Pn,Dn),hs;return go===""?hs=go:Number.isNaN(Number(go))?hs=tr:go>=Fa?hs=Fa:hs=Number(go),hs}function pr(Uo){return ht(Uo)&&Uo!==ir&&ht(Dn)&&Dn>0}var zr=Dn>Pn?Ir:!1;function Ni(Uo){(Uo.keyCode===ke.Z.UP||Uo.keyCode===ke.Z.DOWN)&&Uo.preventDefault()}function fi(Uo){var go=nr(Uo);switch(go!==tr&&Un(go),Uo.keyCode){case ke.Z.ENTER:Si(go);break;case ke.Z.UP:Si(go-1);break;case ke.Z.DOWN:Si(go+1);break;default:break}}function Li(Uo){Si(nr(Uo))}function hi(Uo){var go=Ne(Uo,Pn,Dn),Fa=ir>go&&go!==0?go:ir;_r(Uo),Un(Fa),sr==null||sr(ir,Uo),Ar(Fa),mn==null||mn(Fa,Uo)}function Si(Uo){if(pr(Uo)&&!gi){var go=Ne(void 0,Pn,Dn),Fa=Uo;return Uo>go?Fa=go:Uo<1&&(Fa=1),Fa!==tr&&Un(Fa),Ar(Fa),mn==null||mn(Fa,Pn),Fa}return ir}var wi=ir>1,Ci=ir2?Fa-2:0),el=2;elDn?Dn:ir*Pn])),Do=null,Vi=Ne(void 0,Pn,Dn);if(Xn&&Dn<=Pn)return null;var Ur=[],qr={rootPrefixCls:Vt,onClick:Si,onKeyPress:Yi,showTitle:Mr,itemRender:mi,page:-1},ni=ir-1>0?ir-1:0,Wr=ir+1=yr*2&&ir!==3&&(Ur[0]=x.cloneElement(Ur[0],{className:Me()("".concat(Vt,"-item-after-jump-prev"),Ur[0].props.className)}),Ur.unshift(Co)),Vi-ir>=yr*2&&ir!==Vi-2){var aa=Ur[Ur.length-1];Ur[Ur.length-1]=x.cloneElement(aa,{className:Me()("".concat(Vt,"-item-before-jump-next"),aa.props.className)}),Ur.push(Do)}Oo!==1&&Ur.unshift(x.createElement(ft,(0,ct.Z)({},qr,{key:1,page:1}))),qo!==Vi&&Ur.push(x.createElement(ft,(0,ct.Z)({},qr,{key:Vi,page:Vi})))}var fa=Xo(ni);if(fa){var Wa=!wi||!Vi;fa=x.createElement("li",{title:Mr?ur.prev_page:null,onClick:yi,tabIndex:Wa?null:0,onKeyDown:Lo,className:Me()("".concat(Vt,"-prev"),(0,Ie.Z)({},"".concat(Vt,"-disabled"),Wa)),"aria-disabled":Wa},fa)}var Ds=bo(Wr);if(Ds){var zs,is;ci?(zs=!Ci,is=wi?0:null):(zs=!Ci||!Vi,is=zs?null:0),Ds=x.createElement("li",{title:Mr?ur.next_page:null,onClick:Ti,tabIndex:is,onKeyDown:Mi,className:Me()("".concat(Vt,"-next"),(0,Ie.Z)({},"".concat(Vt,"-disabled"),zs)),"aria-disabled":zs},Ds)}var us=Me()(Vt,en,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({},"".concat(Vt,"-start"),Fr==="start"),"".concat(Vt,"-center"),Fr==="center"),"".concat(Vt,"-end"),Fr==="end"),"".concat(Vt,"-simple"),ci),"".concat(Vt,"-disabled"),gi));return x.createElement("ul",(0,ct.Z)({className:us,style:br,ref:dn},Vo),_n,fa,ci?oi:Ur,Ds,x.createElement(lt,{locale:ur,rootPrefixCls:Vt,disabled:gi,selectPrefixCls:an,changeSize:hi,pageSize:Pn,pageSizeOptions:fr,quickGo:zr?Si:null,goButton:Kr,showSizeChanger:no,sizeChangerRender:Ki}))},Ut=We,ot=ae(61852),yt=ae(48755),Ft=ae(31756),Ze=ae(13783),Te=ae(9017),At=ae(82326),Zt=ae(57700),Kt=ae(36237),rt=ae(53075),Nt=ae(64910),Qt=ae(39082),pn=ae(63356),Ot=ae(51636),vn=ae(16931);const _t=Ct=>{const{componentCls:st}=Ct;return{[`${st}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${st}-item-link`]:{color:Ct.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${st}-item-link`]:{color:Ct.colorTextDisabled,cursor:"not-allowed"}}},[`&${st}-disabled`]:{cursor:"not-allowed",[`${st}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ct.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ct.colorBorder,backgroundColor:Ct.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ct.itemActiveBgDisabled},a:{color:Ct.itemActiveColorDisabled}}},[`${st}-item-link`]:{color:Ct.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${st}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${st}-simple-pager`]:{color:Ct.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"}}}}}},Fn=Ct=>{const{componentCls:st}=Ct;return{[`&${st}-mini ${st}-total-text, &${st}-mini ${st}-simple-pager`]:{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)},[`&${st}-mini ${st}-item`]:{minWidth:Ct.itemSizeSM,height:Ct.itemSizeSM,margin:0,lineHeight:(0,Kt.unit)(Ct.calc(Ct.itemSizeSM).sub(2).equal())},[`&${st}-mini ${st}-prev, &${st}-mini ${st}-next`]:{minWidth:Ct.itemSizeSM,height:Ct.itemSizeSM,margin:0,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)},[`&${st}-mini:not(${st}-disabled)`]:{[`${st}-prev, ${st}-next`]:{[`&:hover ${st}-item-link`]:{backgroundColor:Ct.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:Ct.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:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)}},[`&${st}-mini ${st}-jump-prev, &${st}-mini ${st}-jump-next`]:{height:Ct.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)},[`&${st}-mini ${st}-options`]:{marginInlineStart:Ct.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ct.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM),input:Object.assign(Object.assign({},(0,rt.x0)(Ct)),{width:Ct.paginationMiniQuickJumperInputWidth,height:Ct.controlHeightSM})}}}},on=Ct=>{const{componentCls:st}=Ct;return{[` &${st}-simple ${st}-prev, &${st}-simple ${st}-next `]:{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM),verticalAlign:"top",[`${st}-item-link`]:{height:Ct.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ct.colorBgTextHover},"&:active":{backgroundColor:Ct.colorBgTextActive},"&::after":{height:Ct.itemSizeSM,lineHeight:(0,Kt.unit)(Ct.itemSizeSM)}}},[`&${st}-simple ${st}-simple-pager`]:{display:"inline-block",height:Ct.itemSizeSM,marginInlineEnd:Ct.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Kt.unit)(Ct.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Ct.itemInputBg,border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} ${Ct.colorBorder}`,borderRadius:Ct.borderRadius,outline:"none",transition:`border-color ${Ct.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ct.colorPrimary},"&:focus":{borderColor:Ct.colorPrimaryHover,boxShadow:`${(0,Kt.unit)(Ct.inputOutlineOffset)} 0 ${(0,Kt.unit)(Ct.controlOutlineWidth)} ${Ct.controlOutline}`},"&[disabled]":{color:Ct.colorTextDisabled,backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,cursor:"not-allowed"}}}}},de=Ct=>{const{componentCls:st}=Ct;return{[`${st}-jump-prev, ${st}-jump-next`]:{outline:0,[`${st}-item-container`]:{position:"relative",[`${st}-item-link-icon`]:{color:Ct.colorPrimary,fontSize:Ct.fontSizeSM,opacity:0,transition:`all ${Ct.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:Ct.colorTextDisabled,letterSpacing:Ct.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ct.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ct.motionDurationMid}`}},"&:hover":{[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}}},[` ${st}-prev, ${st}-jump-prev, ${st}-jump-next `]:{marginInlineEnd:Ct.marginXS},[` ${st}-prev, ${st}-next, ${st}-jump-prev, ${st}-jump-next `]:{display:"inline-block",minWidth:Ct.itemSize,height:Ct.itemSize,color:Ct.colorText,fontFamily:Ct.fontFamily,lineHeight:(0,Kt.unit)(Ct.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ct.borderRadius,cursor:"pointer",transition:`all ${Ct.motionDurationMid}`},[`${st}-prev, ${st}-next`]:{outline:0,button:{color:Ct.colorText,cursor:"pointer",userSelect:"none"},[`${st}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ct.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} transparent`,borderRadius:Ct.borderRadius,outline:"none",transition:`all ${Ct.motionDurationMid}`},[`&:hover ${st}-item-link`]:{backgroundColor:Ct.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:Ct.colorBgTextActive},[`&${st}-disabled:hover`]:{[`${st}-item-link`]:{backgroundColor:"transparent"}}},[`${st}-slash`]:{marginInlineEnd:Ct.paginationSlashMarginInlineEnd,marginInlineStart:Ct.paginationSlashMarginInlineStart},[`${st}-options`]:{display:"inline-block",marginInlineStart:Ct.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ct.controlHeight,marginInlineStart:Ct.marginXS,lineHeight:(0,Kt.unit)(Ct.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,rt.ik)(Ct)),(0,Qt.$U)(Ct,{borderColor:Ct.colorBorder,hoverBorderColor:Ct.colorPrimaryHover,activeBorderColor:Ct.colorPrimary,activeShadow:Ct.activeShadow})),{"&[disabled]":Object.assign({},(0,Qt.Xy)(Ct)),width:Ct.calc(Ct.controlHeightLG).mul(1.25).equal(),height:Ct.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ct.marginXS,marginInlineEnd:Ct.marginXS})}}}},ge=Ct=>{const{componentCls:st}=Ct;return{[`${st}-item`]:{display:"inline-block",minWidth:Ct.itemSize,height:Ct.itemSize,marginInlineEnd:Ct.marginXS,fontFamily:Ct.fontFamily,lineHeight:(0,Kt.unit)(Ct.calc(Ct.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Ct.itemBg,border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} transparent`,borderRadius:Ct.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Kt.unit)(Ct.paginationItemPaddingInline)}`,color:Ct.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${st}-item-active)`]:{"&:hover":{transition:`all ${Ct.motionDurationMid}`,backgroundColor:Ct.colorBgTextHover},"&:active":{backgroundColor:Ct.colorBgTextActive}},"&-active":{fontWeight:Ct.fontWeightStrong,backgroundColor:Ct.itemActiveBg,borderColor:Ct.colorPrimary,a:{color:Ct.colorPrimary},"&:hover":{borderColor:Ct.colorPrimaryHover},"&:hover a":{color:Ct.colorPrimaryHover}}}}},ie=Ct=>{const{componentCls:st}=Ct;return{[st]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pn.Wf)(Ct)),{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:Ct.itemSize,marginInlineEnd:Ct.marginXS,lineHeight:(0,Kt.unit)(Ct.calc(Ct.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ge(Ct)),de(Ct)),on(Ct)),Fn(Ct)),_t(Ct)),{[`@media only screen and (max-width: ${Ct.screenLG}px)`]:{[`${st}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ct.screenSM}px)`]:{[`${st}-options`]:{display:"none"}}}),[`&${Ct.componentCls}-rtl`]:{direction:"rtl"}}},ee=Ct=>{const{componentCls:st}=Ct;return{[`${st}:not(${st}-disabled)`]:{[`${st}-item`]:Object.assign({},(0,pn.Qy)(Ct)),[`${st}-jump-prev, ${st}-jump-next`]:{"&:focus-visible":Object.assign({[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}},(0,pn.oN)(Ct))},[`${st}-prev, ${st}-next`]:{[`&:focus-visible ${st}-item-link`]:Object.assign({},(0,pn.oN)(Ct))}}}},le=Ct=>Object.assign({itemBg:Ct.colorBgContainer,itemSize:Ct.controlHeight,itemSizeSM:Ct.controlHeightSM,itemActiveBg:Ct.colorBgContainer,itemLinkBg:Ct.colorBgContainer,itemActiveColorDisabled:Ct.colorTextDisabled,itemActiveBgDisabled:Ct.controlItemBgActiveDisabled,itemInputBg:Ct.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Nt.T)(Ct)),se=Ct=>(0,Ot.mergeToken)(Ct,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ct.calc(Ct.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:Ct.calc(Ct.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:Ct.calc(Ct.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:Ct.calc(Ct.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:Ct.marginSM,paginationSlashMarginInlineEnd:Ct.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Nt.e)(Ct));var Be=(0,vn.I$)("Pagination",Ct=>{const st=se(Ct);return[ie(st),ee(st)]},le);const $e=Ct=>{const{componentCls:st}=Ct;return{[`${st}${st}-bordered${st}-disabled:not(${st}-mini)`]:{"&, &:hover":{[`${st}-item-link`]:{borderColor:Ct.colorBorder}},"&:focus-visible":{[`${st}-item-link`]:{borderColor:Ct.colorBorder}},[`${st}-item, ${st}-item-link`]:{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,[`&:hover:not(${st}-item-active)`]:{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,a:{color:Ct.colorTextDisabled}},[`&${st}-item-active`]:{backgroundColor:Ct.itemActiveBgDisabled}},[`${st}-prev, ${st}-next`]:{"&:hover button":{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder,color:Ct.colorTextDisabled},[`${st}-item-link`]:{backgroundColor:Ct.colorBgContainerDisabled,borderColor:Ct.colorBorder}}},[`${st}${st}-bordered:not(${st}-mini)`]:{[`${st}-prev, ${st}-next`]:{"&:hover button":{borderColor:Ct.colorPrimaryHover,backgroundColor:Ct.itemBg},[`${st}-item-link`]:{backgroundColor:Ct.itemLinkBg,borderColor:Ct.colorBorder},[`&:hover ${st}-item-link`]:{borderColor:Ct.colorPrimary,backgroundColor:Ct.itemBg,color:Ct.colorPrimary},[`&${st}-disabled`]:{[`${st}-item-link`]:{borderColor:Ct.colorBorder,color:Ct.colorTextDisabled}}},[`${st}-item`]:{backgroundColor:Ct.itemBg,border:`${(0,Kt.unit)(Ct.lineWidth)} ${Ct.lineType} ${Ct.colorBorder}`,[`&:hover:not(${st}-item-active)`]:{borderColor:Ct.colorPrimary,backgroundColor:Ct.itemBg,a:{color:Ct.colorPrimary}},"&-active":{borderColor:Ct.colorPrimary}}}}};var at=(0,vn.bk)(["Pagination","bordered"],Ct=>{const st=se(Ct);return[$e(st)]},le);function pt(Ct){return(0,x.useMemo)(()=>typeof Ct=="boolean"?[Ct,{}]:Ct&&typeof Ct=="object"?[!0,Ct]:[void 0,void 0],[Ct])}var gt=function(Ct,st){var $t={};for(var Vt in Ct)Object.prototype.hasOwnProperty.call(Ct,Vt)&&st.indexOf(Vt)<0&&($t[Vt]=Ct[Vt]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,Vt=Object.getOwnPropertySymbols(Ct);bn{const{align:st,prefixCls:$t,selectPrefixCls:Vt,className:bn,rootClassName:an,style:en,size:Hn,locale:En,responsive:Mt,showSizeChanger:sn,selectComponentClass:Dn,pageSizeOptions:Wn}=Ct,It=gt(Ct,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Wt}=(0,Ze.Z)(Mt),[,rn]=(0,Zt.ZP)(),{getPrefixCls:mn,direction:Xn,showSizeChanger:Fr,className:ri,style:Hr}=(0,yt.dj)("pagination"),Ir=mn("pagination",$t),[qn,vr,Mr]=Be(Ir),Yn=(0,Ft.Z)(Hn),sr=Yn==="small"||!!(Wt&&!Yn&&Mt),[jn]=(0,Te.Z)("Pagination",ot.Z),ur=Object.assign(Object.assign({},jn),En),[br,Xr]=pt(sn),[Yr,gi]=pt(Fr),ci=br!=null?br:Yr,Hi=Xr!=null?Xr:gi,vi=Dn||At.default,no=x.useMemo(()=>Wn?Wn.map(ln=>Number(ln)):void 0,[Wn]),Ki=ln=>{var yn;const{disabled:kt,size:dn,onSizeChange:zt,"aria-label":hn,className:Pn,options:_r}=ln,{className:Jr,onChange:di}=Hi||{},ir=(yn=_r.find(Ar=>String(Ar.value)===String(dn)))===null||yn===void 0?void 0:yn.value;return x.createElement(vi,Object.assign({disabled:kt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Ar=>Ar.parentNode,"aria-label":hn,options:_r},Hi,{value:ir,onChange:(Ar,ar)=>{zt==null||zt(Ar),di==null||di(Ar,ar)},size:sr?"small":"middle",className:Me()(Pn,Jr)}))},fr=x.useMemo(()=>{const ln=x.createElement("span",{className:`${Ir}-item-ellipsis`},"\u2022\u2022\u2022"),yn=x.createElement("button",{className:`${Ir}-item-link`,type:"button",tabIndex:-1},Xn==="rtl"?x.createElement(Oe.Z,null):x.createElement(oe.Z,null)),kt=x.createElement("button",{className:`${Ir}-item-link`,type:"button",tabIndex:-1},Xn==="rtl"?x.createElement(oe.Z,null):x.createElement(Oe.Z,null)),dn=x.createElement("a",{className:`${Ir}-item-link`},x.createElement("div",{className:`${Ir}-item-container`},Xn==="rtl"?x.createElement(Ce.Z,{className:`${Ir}-item-link-icon`}):x.createElement(fe,{className:`${Ir}-item-link-icon`}),ln)),zt=x.createElement("a",{className:`${Ir}-item-link`},x.createElement("div",{className:`${Ir}-item-container`},Xn==="rtl"?x.createElement(fe,{className:`${Ir}-item-link-icon`}):x.createElement(Ce.Z,{className:`${Ir}-item-link-icon`}),ln));return{prevIcon:yn,nextIcon:kt,jumpPrevIcon:dn,jumpNextIcon:zt}},[Xn,Ir]),Lr=mn("select",Vt),mi=Me()({[`${Ir}-${st}`]:!!st,[`${Ir}-mini`]:sr,[`${Ir}-rtl`]:Xn==="rtl",[`${Ir}-bordered`]:rn.wireframe},ri,bn,an,vr,Mr),Xt=Object.assign(Object.assign({},Hr),en);return qn(x.createElement(x.Fragment,null,rn.wireframe&&x.createElement(at,{prefixCls:Ir}),x.createElement(Ut,Object.assign({},fr,It,{style:Xt,prefixCls:Ir,selectPrefixCls:Lr,className:mi,locale:ur,pageSizeOptions:no,showSizeChanger:ci,sizeChangerRender:Ki}))))},Rt=Lt},89787:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return En}});var x=ae(59301),ct=ae(17835),Le=ae(29679),Je=ae(40001),He=ae(19248),Se=ae(99267),Ue=ae(92310),fe=ae.n(Ue),Ce=ae(2738),oe=ae(48755),Oe=ae(54476),ve=ae(33885),Me=ae(75931),Ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},_e=function(){var sn=(0,x.useRef)([]),Dn=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Wn=Date.now(),It=!1;sn.current.forEach(function(Wt){if(Wt){It=!0;var rn=Wt.style;rn.transitionDuration=".3s, .3s, .3s, .06s",Dn.current&&Wn-Dn.current<100&&(rn.transitionDuration="0s, 0s")}}),It&&(Dn.current=Date.now())}),sn.current},we=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],xe=function(sn){var Dn=(0,ve.Z)((0,ve.Z)({},Ie),sn),Wn=Dn.className,It=Dn.percent,Wt=Dn.prefixCls,rn=Dn.strokeColor,mn=Dn.strokeLinecap,Xn=Dn.strokeWidth,Fr=Dn.style,ri=Dn.trailColor,Hr=Dn.trailWidth,Ir=Dn.transition,qn=(0,Me.Z)(Dn,we);delete qn.gapPosition;var vr=Array.isArray(It)?It:[It],Mr=Array.isArray(rn)?rn:[rn],Yn=_e(),sr=Xn/2,jn=100-Xn/2,ur="M ".concat(mn==="round"?sr:0,",").concat(sr,` L `).concat(mn==="round"?jn:100,",").concat(sr),br="0 0 100 ".concat(Xn),Xr=0;return x.createElement("svg",(0,Oe.Z)({className:fe()("".concat(Wt,"-line"),Wn),viewBox:br,preserveAspectRatio:"none",style:Fr},qn),x.createElement("path",{className:"".concat(Wt,"-line-trail"),d:ur,strokeLinecap:mn,stroke:ri,strokeWidth:Hr||Xn,fillOpacity:"0"}),vr.map(function(Yr,gi){var ci=1;switch(mn){case"round":ci=1-Xn/100;break;case"square":ci=1-Xn/2/100;break;default:ci=1;break}var Hi={strokeDasharray:"".concat(Yr*ci,"px, 100px"),strokeDashoffset:"-".concat(Xr,"px"),transition:Ir||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},vi=Mr[gi]||Mr[Mr.length-1];return Xr+=Yr,x.createElement("path",{key:gi,className:"".concat(Wt,"-line-path"),d:ur,strokeLinecap:mn,stroke:vi,strokeWidth:Xn,fillOpacity:"0",ref:function(Ki){Yn[gi]=Ki},style:Hi})}))},Ee=xe,ke=ae(76190),ze=ae(42978),Qe=ae(47273),Re=0,et=(0,Qe.Z)();function Ge(){var Mt;return et?(Mt=Re,Re+=1):Mt="TEST_OR_SSR",Mt}var lt=function(Mt){var sn=x.useState(),Dn=(0,ze.Z)(sn,2),Wn=Dn[0],It=Dn[1];return x.useEffect(function(){It("rc_progress_".concat(Ge()))},[]),Mt||Wn},it=function(sn){var Dn=sn.bg,Wn=sn.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Dn}},Wn)};function ft(Mt,sn){return Object.keys(Mt).map(function(Dn){var Wn=parseFloat(Dn),It="".concat(Math.floor(Wn*sn),"%");return"".concat(Mt[Dn]," ").concat(It)})}var bt=x.forwardRef(function(Mt,sn){var Dn=Mt.prefixCls,Wn=Mt.color,It=Mt.gradientId,Wt=Mt.radius,rn=Mt.style,mn=Mt.ptg,Xn=Mt.strokeLinecap,Fr=Mt.strokeWidth,ri=Mt.size,Hr=Mt.gapDegree,Ir=Wn&&(0,ke.Z)(Wn)==="object",qn=Ir?"#FFF":void 0,vr=ri/2,Mr=x.createElement("circle",{className:"".concat(Dn,"-circle-path"),r:Wt,cx:vr,cy:vr,stroke:qn,strokeLinecap:Xn,strokeWidth:Fr,opacity:mn===0?0:1,style:rn,ref:sn});if(!Ir)return Mr;var Yn="".concat(It,"-conic"),sr=Hr?"".concat(180+Hr/2,"deg"):"0deg",jn=ft(Wn,(360-Hr)/360),ur=ft(Wn,1),br="conic-gradient(from ".concat(sr,", ").concat(jn.join(", "),")"),Xr="linear-gradient(to ".concat(Hr?"bottom":"top",", ").concat(ur.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:Yn},Mr),x.createElement("foreignObject",{x:0,y:0,width:ri,height:ri,mask:"url(#".concat(Yn,")")},x.createElement(it,{bg:Xr},x.createElement(it,{bg:br}))))}),je=bt,ht=100,Ne=function(sn,Dn,Wn,It,Wt,rn,mn,Xn,Fr,ri){var Hr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ir=Wn/100*360*((360-rn)/360),qn=rn===0?0:{bottom:0,top:180,left:90,right:-90}[mn],vr=(100-It)/100*Dn;Fr==="round"&&It!==100&&(vr+=ri/2,vr>=Dn&&(vr=Dn-.01));var Mr=ht/2;return{stroke:typeof Xn=="string"?Xn:void 0,strokeDasharray:"".concat(Dn,"px ").concat(sn),strokeDashoffset:vr+Hr,transform:"rotate(".concat(Wt+Ir+qn,"deg)"),transformOrigin:"".concat(Mr,"px ").concat(Mr,"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}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ut(Mt){var sn=Mt!=null?Mt:[];return Array.isArray(sn)?sn:[sn]}var ot=function(sn){var Dn=(0,ve.Z)((0,ve.Z)({},Ie),sn),Wn=Dn.id,It=Dn.prefixCls,Wt=Dn.steps,rn=Dn.strokeWidth,mn=Dn.trailWidth,Xn=Dn.gapDegree,Fr=Xn===void 0?0:Xn,ri=Dn.gapPosition,Hr=Dn.trailColor,Ir=Dn.strokeLinecap,qn=Dn.style,vr=Dn.className,Mr=Dn.strokeColor,Yn=Dn.percent,sr=(0,Me.Z)(Dn,We),jn=ht/2,ur=lt(Wn),br="".concat(ur,"-gradient"),Xr=jn-rn/2,Yr=Math.PI*2*Xr,gi=Fr>0?90+Fr/2:-90,ci=Yr*((360-Fr)/360),Hi=(0,ke.Z)(Wt)==="object"?Wt:{count:Wt,gap:2},vi=Hi.count,no=Hi.gap,Ki=Ut(Yn),fr=Ut(Mr),Lr=fr.find(function(zt){return zt&&(0,ke.Z)(zt)==="object"}),mi=Lr&&(0,ke.Z)(Lr)==="object",Xt=mi?"butt":Ir,ln=Ne(Yr,ci,0,100,gi,Fr,ri,Hr,Xt,rn),yn=_e(),kt=function(){var hn=0;return Ki.map(function(Pn,_r){var Jr=fr[_r]||fr[fr.length-1],di=Ne(Yr,ci,hn,Pn,gi,Fr,ri,Jr,Xt,rn);return hn+=Pn,x.createElement(je,{key:_r,color:Jr,ptg:Pn,radius:Xr,prefixCls:It,gradientId:br,style:di,strokeLinecap:Xt,strokeWidth:rn,gapDegree:Fr,ref:function(Ar){yn[_r]=Ar},size:ht})}).reverse()},dn=function(){var hn=Math.round(vi*(Ki[0]/100)),Pn=100/vi,_r=0;return new Array(vi).fill(null).map(function(Jr,di){var ir=di<=hn-1?fr[0]:Hr,Ar=ir&&(0,ke.Z)(ir)==="object"?"url(#".concat(br,")"):void 0,ar=Ne(Yr,ci,_r,Pn,gi,Fr,ri,ir,"butt",rn,no);return _r+=(ci-ar.strokeDashoffset+no)*100/ci,x.createElement("circle",{key:di,className:"".concat(It,"-circle-path"),r:Xr,cx:jn,cy:jn,stroke:Ar,strokeWidth:rn,opacity:1,style:ar,ref:function(tr){yn[di]=tr}})})};return x.createElement("svg",(0,Oe.Z)({className:fe()("".concat(It,"-circle"),vr),viewBox:"0 0 ".concat(ht," ").concat(ht),style:qn,id:Wn,role:"presentation"},sr),!vi&&x.createElement("circle",{className:"".concat(It,"-circle-trail"),r:Xr,cx:jn,cy:jn,stroke:Hr,strokeLinecap:Xt,strokeWidth:mn||rn,style:ln}),vi?dn():kt())},yt=ot,Ft={Line:Ee,Circle:yt},Ze=ae(25399),Te=ae(68361);function At(Mt){return!Mt||Mt<0?0:Mt>100?100:Mt}function Zt(Mt){let{success:sn,successPercent:Dn}=Mt,Wn=Dn;return sn&&"progress"in sn&&(Wn=sn.progress),sn&&"percent"in sn&&(Wn=sn.percent),Wn}const Kt=Mt=>{let{percent:sn,success:Dn,successPercent:Wn}=Mt;const It=At(Zt({success:Dn,successPercent:Wn}));return[It,At(At(sn)-It)]},rt=Mt=>{let{success:sn={},strokeColor:Dn}=Mt;const{strokeColor:Wn}=sn;return[Wn||Te.presetPrimaryColors.green,Dn||null]},Nt=(Mt,sn,Dn)=>{var Wn,It,Wt,rn;let mn=-1,Xn=-1;if(sn==="step"){const Fr=Dn.steps,ri=Dn.strokeWidth;typeof Mt=="string"||typeof Mt=="undefined"?(mn=Mt==="small"?2:14,Xn=ri!=null?ri:8):typeof Mt=="number"?[mn,Xn]=[Mt,Mt]:[mn=14,Xn=8]=Array.isArray(Mt)?Mt:[Mt.width,Mt.height],mn*=Fr}else if(sn==="line"){const Fr=Dn==null?void 0:Dn.strokeWidth;typeof Mt=="string"||typeof Mt=="undefined"?Xn=Fr||(Mt==="small"?6:8):typeof Mt=="number"?[mn,Xn]=[Mt,Mt]:[mn=-1,Xn=8]=Array.isArray(Mt)?Mt:[Mt.width,Mt.height]}else(sn==="circle"||sn==="dashboard")&&(typeof Mt=="string"||typeof Mt=="undefined"?[mn,Xn]=Mt==="small"?[60,60]:[120,120]:typeof Mt=="number"?[mn,Xn]=[Mt,Mt]:Array.isArray(Mt)&&(mn=(It=(Wn=Mt[0])!==null&&Wn!==void 0?Wn:Mt[1])!==null&&It!==void 0?It:120,Xn=(rn=(Wt=Mt[0])!==null&&Wt!==void 0?Wt:Mt[1])!==null&&rn!==void 0?rn:120));return[mn,Xn]},Qt=3,pn=Mt=>Qt/Mt*100;var vn=Mt=>{const{prefixCls:sn,trailColor:Dn=null,strokeLinecap:Wn="round",gapPosition:It,gapDegree:Wt,width:rn=120,type:mn,children:Xn,success:Fr,size:ri=rn,steps:Hr}=Mt,[Ir,qn]=Nt(ri,"circle");let{strokeWidth:vr}=Mt;vr===void 0&&(vr=Math.max(pn(Ir),6));const Mr={width:Ir,height:qn,fontSize:Ir*.15+6},Yn=x.useMemo(()=>{if(Wt||Wt===0)return Wt;if(mn==="dashboard")return 75},[Wt,mn]),sr=Kt(Mt),jn=It||mn==="dashboard"&&"bottom"||void 0,ur=Object.prototype.toString.call(Mt.strokeColor)==="[object Object]",br=rt({success:Fr,strokeColor:Mt.strokeColor}),Xr=fe()(`${sn}-inner`,{[`${sn}-circle-gradient`]:ur}),Yr=x.createElement(yt,{steps:Hr,percent:Hr?sr[1]:sr,strokeWidth:vr,trailWidth:vr,strokeColor:Hr?br[1]:br,strokeLinecap:Wn,trailColor:Dn,prefixCls:sn,gapDegree:Yn,gapPosition:jn}),gi=Ir<=20,ci=x.createElement("div",{className:Xr,style:Mr},Yr,!gi&&Xn);return gi?x.createElement(Ze.Z,{title:Xn},ci):ci},_t=ae(36237),Fn=ae(63356),on=ae(16931),de=ae(51636);const ge="--progress-line-stroke-color",ie="--progress-percent",ee=Mt=>{const sn=Mt?"100%":"-100%";return new _t.Keyframes(`antProgress${Mt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${sn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},le=Mt=>{const{componentCls:sn,iconCls:Dn}=Mt;return{[sn]:Object.assign(Object.assign({},(0,Fn.Wf)(Mt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Mt.fontSize},[`${sn}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${sn}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Mt.remainingColor,borderRadius:Mt.lineBorderRadius},[`${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Mt.defaultColor}},[`${sn}-success-bg, ${sn}-bg`]:{position:"relative",background:Mt.defaultColor,borderRadius:Mt.lineBorderRadius,transition:`all ${Mt.motionDurationSlow} ${Mt.motionEaseInOutCirc}`},[`${sn}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${sn}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Mt.marginXXS}},[`${sn}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ge})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${sn}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${sn}-text-inner`]:{color:Mt.colorWhite,[`&${sn}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${sn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Mt.colorSuccess},[`${sn}-text`]:{display:"inline-block",marginInlineStart:Mt.marginXS,color:Mt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Dn]:{fontSize:Mt.fontSize},[`&${sn}-text-outer`]:{width:"max-content"},[`&${sn}-text-outer${sn}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Mt.marginXS}},[`${sn}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,_t.unit)(Mt.paddingXXS)}`,[`&${sn}-text-start`]:{justifyContent:"start"},[`&${sn}-text-end`]:{justifyContent:"end"}},[`&${sn}-status-active`]:{[`${sn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Mt.colorBgContainer,borderRadius:Mt.lineBorderRadius,opacity:0,animationName:ee(),animationDuration:Mt.progressActiveMotionDuration,animationTimingFunction:Mt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${sn}-rtl${sn}-status-active`]:{[`${sn}-bg::before`]:{animationName:ee(!0)}},[`&${sn}-status-exception`]:{[`${sn}-bg`]:{backgroundColor:Mt.colorError},[`${sn}-text`]:{color:Mt.colorError}},[`&${sn}-status-exception ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Mt.colorError}},[`&${sn}-status-success`]:{[`${sn}-bg`]:{backgroundColor:Mt.colorSuccess},[`${sn}-text`]:{color:Mt.colorSuccess}},[`&${sn}-status-success ${sn}-inner:not(${sn}-circle-gradient)`]:{[`${sn}-circle-path`]:{stroke:Mt.colorSuccess}}})}},se=Mt=>{const{componentCls:sn,iconCls:Dn}=Mt;return{[sn]:{[`${sn}-circle-trail`]:{stroke:Mt.remainingColor},[`&${sn}-circle ${sn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${sn}-circle ${sn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Mt.circleTextColor,fontSize:Mt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Dn]:{fontSize:Mt.circleIconFontSize}},[`${sn}-circle&-status-exception`]:{[`${sn}-text`]:{color:Mt.colorError}},[`${sn}-circle&-status-success`]:{[`${sn}-text`]:{color:Mt.colorSuccess}}},[`${sn}-inline-circle`]:{lineHeight:1,[`${sn}-inner`]:{verticalAlign:"bottom"}}}},Be=Mt=>{const{componentCls:sn}=Mt;return{[sn]:{[`${sn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Mt.progressStepMinWidth,marginInlineEnd:Mt.progressStepMarginInlineEnd,backgroundColor:Mt.remainingColor,transition:`all ${Mt.motionDurationSlow}`,"&-active":{backgroundColor:Mt.defaultColor}}}}}},$e=Mt=>{const{componentCls:sn,iconCls:Dn}=Mt;return{[sn]:{[`${sn}-small&-line, ${sn}-small&-line ${sn}-text ${Dn}`]:{fontSize:Mt.fontSizeSM}}}},at=Mt=>({circleTextColor:Mt.colorText,defaultColor:Mt.colorInfo,remainingColor:Mt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Mt.fontSize/Mt.fontSizeSM}em`});var pt=(0,on.I$)("Progress",Mt=>{const sn=Mt.calc(Mt.marginXXS).div(2).equal(),Dn=(0,de.mergeToken)(Mt,{progressStepMarginInlineEnd:sn,progressStepMinWidth:sn,progressActiveMotionDuration:"2.4s"});return[le(Dn),se(Dn),Be(Dn),$e(Dn)]},at),gt=function(Mt,sn){var Dn={};for(var Wn in Mt)Object.prototype.hasOwnProperty.call(Mt,Wn)&&sn.indexOf(Wn)<0&&(Dn[Wn]=Mt[Wn]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,Wn=Object.getOwnPropertySymbols(Mt);It{let sn=[];return Object.keys(Mt).forEach(Dn=>{const Wn=parseFloat(Dn.replace(/%/g,""));Number.isNaN(Wn)||sn.push({key:Wn,value:Mt[Dn]})}),sn=sn.sort((Dn,Wn)=>Dn.key-Wn.key),sn.map(Dn=>{let{key:Wn,value:It}=Dn;return`${It} ${Wn}%`}).join(", ")},Lt=(Mt,sn)=>{const{from:Dn=Te.presetPrimaryColors.blue,to:Wn=Te.presetPrimaryColors.blue,direction:It=sn==="rtl"?"to left":"to right"}=Mt,Wt=gt(Mt,["from","to","direction"]);if(Object.keys(Wt).length!==0){const mn=Bt(Wt),Xn=`linear-gradient(${It}, ${mn})`;return{background:Xn,[ge]:Xn}}const rn=`linear-gradient(${It}, ${Dn}, ${Wn})`;return{background:rn,[ge]:rn}};var Ct=Mt=>{const{prefixCls:sn,direction:Dn,percent:Wn,size:It,strokeWidth:Wt,strokeColor:rn,strokeLinecap:mn="round",children:Xn,trailColor:Fr=null,percentPosition:ri,success:Hr}=Mt,{align:Ir,type:qn}=ri,vr=rn&&typeof rn!="string"?Lt(rn,Dn):{[ge]:rn,background:rn},Mr=mn==="square"||mn==="butt"?0:void 0,Yn=It!=null?It:[-1,Wt||(It==="small"?6:8)],[sr,jn]=Nt(Yn,"line",{strokeWidth:Wt}),ur={backgroundColor:Fr||void 0,borderRadius:Mr},br=Object.assign(Object.assign({width:`${At(Wn)}%`,height:jn,borderRadius:Mr},vr),{[ie]:At(Wn)/100}),Xr=Zt(Mt),Yr={width:`${At(Xr)}%`,height:jn,borderRadius:Mr,backgroundColor:Hr==null?void 0:Hr.strokeColor},gi={width:sr<0?"100%":sr},ci=x.createElement("div",{className:`${sn}-inner`,style:ur},x.createElement("div",{className:fe()(`${sn}-bg`,`${sn}-bg-${qn}`),style:br},qn==="inner"&&Xn),Xr!==void 0&&x.createElement("div",{className:`${sn}-success-bg`,style:Yr})),Hi=qn==="outer"&&Ir==="start",vi=qn==="outer"&&Ir==="end";return qn==="outer"&&Ir==="center"?x.createElement("div",{className:`${sn}-layout-bottom`},ci,Xn):x.createElement("div",{className:`${sn}-outer`,style:gi},Hi&&Xn,ci,vi&&Xn)},$t=Mt=>{const{size:sn,steps:Dn,rounding:Wn=Math.round,percent:It=0,strokeWidth:Wt=8,strokeColor:rn,trailColor:mn=null,prefixCls:Xn,children:Fr}=Mt,ri=Wn(Dn*(It/100)),Hr=sn==="small"?2:14,Ir=sn!=null?sn:[Hr,Wt],[qn,vr]=Nt(Ir,"step",{steps:Dn,strokeWidth:Wt}),Mr=qn/Dn,Yn=Array.from({length:Dn});for(let sr=0;sr{const{prefixCls:Dn,className:Wn,rootClassName:It,steps:Wt,strokeColor:rn,percent:mn=0,size:Xn="default",showInfo:Fr=!0,type:ri="line",status:Hr,format:Ir,style:qn,percentPosition:vr={}}=Mt,Mr=Vt(Mt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Yn="end",type:sr="outer"}=vr,jn=Array.isArray(rn)?rn[0]:rn,ur=typeof rn=="string"||Array.isArray(rn)?rn:void 0,br=x.useMemo(()=>{if(jn){const kt=typeof jn=="string"?jn:Object.values(jn)[0];return new ct.FastColor(kt).isLight()}return!1},[rn]),Xr=x.useMemo(()=>{var kt,dn;const zt=Zt(Mt);return parseInt(zt!==void 0?(kt=zt!=null?zt:0)===null||kt===void 0?void 0:kt.toString():(dn=mn!=null?mn:0)===null||dn===void 0?void 0:dn.toString(),10)},[mn,Mt.success,Mt.successPercent]),Yr=x.useMemo(()=>!an.includes(Hr)&&Xr>=100?"success":Hr||"normal",[Hr,Xr]),{getPrefixCls:gi,direction:ci,progress:Hi}=x.useContext(oe.E_),vi=gi("progress",Dn),[no,Ki,fr]=pt(vi),Lr=ri==="line",mi=Lr&&!Wt,Xt=x.useMemo(()=>{if(!Fr)return null;const kt=Zt(Mt);let dn;const zt=Ir||(Pn=>`${Pn}%`),hn=Lr&&br&&sr==="inner";return sr==="inner"||Ir||Yr!=="exception"&&Yr!=="success"?dn=zt(At(mn),At(kt)):Yr==="exception"?dn=Lr?x.createElement(He.Z,null):x.createElement(Se.Z,null):Yr==="success"&&(dn=Lr?x.createElement(Le.Z,null):x.createElement(Je.Z,null)),x.createElement("span",{className:fe()(`${vi}-text`,{[`${vi}-text-bright`]:hn,[`${vi}-text-${Yn}`]:mi,[`${vi}-text-${sr}`]:mi}),title:typeof dn=="string"?dn:void 0},dn)},[Fr,mn,Xr,Yr,ri,vi,Ir]);let ln;ri==="line"?ln=Wt?x.createElement($t,Object.assign({},Mt,{strokeColor:ur,prefixCls:vi,steps:typeof Wt=="object"?Wt.count:Wt}),Xt):x.createElement(Ct,Object.assign({},Mt,{strokeColor:jn,prefixCls:vi,direction:ci,percentPosition:{align:Yn,type:sr}}),Xt):(ri==="circle"||ri==="dashboard")&&(ln=x.createElement(vn,Object.assign({},Mt,{strokeColor:jn,prefixCls:vi,progressStatus:Yr}),Xt));const yn=fe()(vi,`${vi}-status-${Yr}`,{[`${vi}-${ri==="dashboard"&&"circle"||ri}`]:ri!=="line",[`${vi}-inline-circle`]:ri==="circle"&&Nt(Xn,"circle")[0]<=20,[`${vi}-line`]:mi,[`${vi}-line-align-${Yn}`]:mi,[`${vi}-line-position-${sr}`]:mi,[`${vi}-steps`]:Wt,[`${vi}-show-info`]:Fr,[`${vi}-${Xn}`]:typeof Xn=="string",[`${vi}-rtl`]:ci==="rtl"},Hi==null?void 0:Hi.className,Wn,It,Ki,fr);return no(x.createElement("div",Object.assign({ref:sn,style:Object.assign(Object.assign({},Hi==null?void 0:Hi.style),qn),className:yn,role:"progressbar","aria-valuenow":Xr,"aria-valuemin":0,"aria-valuemax":100},(0,Ce.Z)(Mr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ln))}),En=Hn},63139:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Kt}});var x=ae(59301),ct=ae(54476),Le={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"},Je=Le,He=ae(7657),Se=function(Nt,Qt){return x.createElement(He.Z,(0,ct.Z)({},Nt,{ref:Qt,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(92310),oe=ae.n(Ce),Oe=ae(20068),ve=ae(42978),Me=ae(75931),Ie=ae(18929),_e=ae(10228),we=ae(26112);function xe(rt,Nt){var Qt=rt.disabled,pn=rt.prefixCls,Ot=rt.character,vn=rt.characterRender,_t=rt.index,Fn=rt.count,on=rt.value,de=rt.allowHalf,ge=rt.focused,ie=rt.onHover,ee=rt.onClick,le=function(Lt){ie(Lt,_t)},se=function(Lt){ee(Lt,_t)},Be=function(Lt){Lt.keyCode===_e.Z.ENTER&&ee(Lt,_t)},$e=_t+1,at=new Set([pn]);on===0&&_t===0&&ge?at.add("".concat(pn,"-focused")):de&&on+.5>=$e&&on<$e?(at.add("".concat(pn,"-half")),at.add("".concat(pn,"-active")),ge&&at.add("".concat(pn,"-focused"))):($e<=on?at.add("".concat(pn,"-full")):at.add("".concat(pn,"-zero")),$e===on&&ge&&at.add("".concat(pn,"-focused")));var pt=typeof Ot=="function"?Ot(rt):Ot,gt=x.createElement("li",{className:oe()(Array.from(at)),ref:Nt},x.createElement("div",{onClick:Qt?null:se,onKeyDown:Qt?null:Be,onMouseMove:Qt?null:le,role:"radio","aria-checked":on>_t?"true":"false","aria-posinset":_t+1,"aria-setsize":Fn,tabIndex:Qt?-1:0},x.createElement("div",{className:"".concat(pn,"-first")},pt),x.createElement("div",{className:"".concat(pn,"-second")},pt)));return vn&&(gt=vn(gt,rt)),gt}var Ee=x.forwardRef(xe);function ke(){var rt=x.useRef({});function Nt(pn){return rt.current[pn]}function Qt(pn){return function(Ot){rt.current[pn]=Ot}}return[Nt,Qt]}function ze(rt){var Nt=rt.pageXOffset,Qt="scrollLeft";if(typeof Nt!="number"){var pn=rt.document;Nt=pn.documentElement[Qt],typeof Nt!="number"&&(Nt=pn.body[Qt])}return Nt}function Qe(rt){var Nt,Qt,pn=rt.ownerDocument,Ot=pn.body,vn=pn&&pn.documentElement,_t=rt.getBoundingClientRect();return Nt=_t.left,Qt=_t.top,Nt-=vn.clientLeft||Ot.clientLeft||0,Qt-=vn.clientTop||Ot.clientTop||0,{left:Nt,top:Qt}}function Re(rt){var Nt=Qe(rt),Qt=rt.ownerDocument,pn=Qt.defaultView||Qt.parentWindow;return Nt.left+=ze(pn),Nt.left}var et=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ge(rt,Nt){var Qt=rt.prefixCls,pn=Qt===void 0?"rc-rate":Qt,Ot=rt.className,vn=rt.defaultValue,_t=rt.value,Fn=rt.count,on=Fn===void 0?5:Fn,de=rt.allowHalf,ge=de===void 0?!1:de,ie=rt.allowClear,ee=ie===void 0?!0:ie,le=rt.keyboard,se=le===void 0?!0:le,Be=rt.character,$e=Be===void 0?"\u2605":Be,at=rt.characterRender,pt=rt.disabled,gt=rt.direction,Bt=gt===void 0?"ltr":gt,Lt=rt.tabIndex,Rt=Lt===void 0?0:Lt,Ct=rt.autoFocus,st=rt.onHoverChange,$t=rt.onChange,Vt=rt.onFocus,bn=rt.onBlur,an=rt.onKeyDown,en=rt.onMouseLeave,Hn=(0,Me.Z)(rt,et),En=ke(),Mt=(0,ve.Z)(En,2),sn=Mt[0],Dn=Mt[1],Wn=x.useRef(null),It=function(){if(!pt){var Xt;(Xt=Wn.current)===null||Xt===void 0||Xt.focus()}};x.useImperativeHandle(Nt,function(){return{focus:It,blur:function(){if(!pt){var Xt;(Xt=Wn.current)===null||Xt===void 0||Xt.blur()}}}});var Wt=(0,Ie.Z)(vn||0,{value:_t}),rn=(0,ve.Z)(Wt,2),mn=rn[0],Xn=rn[1],Fr=(0,Ie.Z)(null),ri=(0,ve.Z)(Fr,2),Hr=ri[0],Ir=ri[1],qn=function(Xt,ln){var yn=Bt==="rtl",kt=Xt+1;if(ge){var dn=sn(Xt),zt=Re(dn),hn=dn.clientWidth;(yn&&ln-zt>hn/2||!yn&&ln-zt0&&!yn||ln===_e.Z.RIGHT&&mn>0&&yn?(vr(mn-kt),Xt.preventDefault()):ln===_e.Z.LEFT&&mn{const{componentCls:Nt}=rt;return{[`${Nt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:rt.marginXS},"> div":{transition:`all ${rt.motionDurationMid}, outline 0s`,"&:hover":{transform:rt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,je.unit)(rt.lineWidth)} dashed ${rt.starColor}`,transform:rt.starHoverScale}},"&-first, &-second":{color:rt.starBg,transition:`all ${rt.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Nt}-star-first, &-half ${Nt}-star-second`]:{opacity:1},[`&-half ${Nt}-star-first, &-full ${Nt}-star-second`]:{color:"inherit"}}}},ot=rt=>({[`&-rtl${rt.componentCls}`]:{direction:"rtl"}}),yt=rt=>{const{componentCls:Nt}=rt;return{[Nt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(rt)),{display:"inline-block",margin:0,padding:0,color:rt.starColor,fontSize:rt.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Nt} ${Nt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ut(rt)),ot(rt))}},Ft=rt=>({starColor:rt.yellow6,starSize:rt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:rt.colorFillContent});var Ze=(0,Ne.I$)("Rate",rt=>{const Nt=(0,We.mergeToken)(rt,{});return[yt(Nt)]},Ft),Te=ae(2171),At=function(rt,Nt){var Qt={};for(var pn in rt)Object.prototype.hasOwnProperty.call(rt,pn)&&Nt.indexOf(pn)<0&&(Qt[pn]=rt[pn]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,pn=Object.getOwnPropertySymbols(rt);Ot{const{prefixCls:Qt,className:pn,rootClassName:Ot,style:vn,tooltips:_t,character:Fn=x.createElement(fe,null),disabled:on}=rt,de=At(rt,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ge=(Lt,Rt)=>{let{index:Ct}=Rt;return _t?x.createElement(bt.Z,{title:_t[Ct]},Lt):Lt},{getPrefixCls:ie,direction:ee,rate:le}=x.useContext(ft.E_),se=ie("rate",Qt),[Be,$e,at]=Ze(se),pt=Object.assign(Object.assign({},le==null?void 0:le.style),vn),gt=x.useContext(Te.Z),Bt=on!=null?on:gt;return Be(x.createElement(it,Object.assign({ref:Nt,character:Fn,characterRender:ge,disabled:Bt},de,{className:oe()(pn,Ot,$e,at,le==null?void 0:le.className),style:pt,prefixCls:se,direction:ee})))})},82326:function(Vn,Tt,ae){"use strict";var x=ae(59301),ct=ae(92310),Le=ae.n(ct),Je=ae(37463),He=ae(2738),Se=ae(75030),Ue=ae(86641),fe=ae(45915),Ce=ae(82855),oe=ae(48755),Oe=ae(38406),ve=ae(2171),Me=ae(83397),Ie=ae(31756),_e=ae(56553),we=ae(24971),xe=ae(70045),Ee=ae(57700),ke=ae(1722),ze=ae(90376),Qe=ae(68525),Re=ae(90005),et=function(bt,je){var ht={};for(var Ne in bt)Object.prototype.hasOwnProperty.call(bt,Ne)&&je.indexOf(Ne)<0&&(ht[Ne]=bt[Ne]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ne=Object.getOwnPropertySymbols(bt);We{var ht;const{prefixCls:Ne,bordered:We,className:Ut,rootClassName:ot,getPopupContainer:yt,popupClassName:Ft,dropdownClassName:Ze,listHeight:Te=256,placement:At,listItemHeight:Zt,size:Kt,disabled:rt,notFoundContent:Nt,status:Qt,builtinPlacements:pn,dropdownMatchSelectWidth:Ot,popupMatchSelectWidth:vn,direction:_t,style:Fn,allowClear:on,variant:de,dropdownStyle:ge,transitionName:ie,tagRender:ee,maxCount:le,prefix:se}=bt,Be=et(bt,["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:$e,getPrefixCls:at,renderEmpty:pt,direction:gt,virtual:Bt,popupMatchSelectWidth:Lt,popupOverflow:Rt}=x.useContext(oe.E_),Ct=(0,oe.dj)("select"),[,st]=(0,Ee.ZP)(),$t=Zt!=null?Zt:st==null?void 0:st.controlHeight,Vt=at("select",Ne),bn=at(),an=_t!=null?_t:gt,{compactSize:en,compactItemClassnames:Hn}=(0,xe.ri)(Vt,an),[En,Mt]=(0,we.Z)("select",de,We),sn=(0,Me.Z)(Vt),[Dn,Wn,It]=(0,ze.Z)(Vt,sn),Wt=x.useMemo(()=>{const{mode:Ki}=bt;if(Ki!=="combobox")return Ki===Ge?"combobox":Ki},[bt.mode]),rn=Wt==="multiple"||Wt==="tags",mn=(0,Re.Z)(bt.suffixIcon,bt.showArrow),Xn=(ht=vn!=null?vn:Ot)!==null&&ht!==void 0?ht:Lt,{status:Fr,hasFeedback:ri,isFormItemInput:Hr,feedbackIcon:Ir}=x.useContext(_e.aM),qn=(0,Ce.F)(Fr,Qt);let vr;Nt!==void 0?vr=Nt:Wt==="combobox"?vr=null:vr=(pt==null?void 0:pt("Select"))||x.createElement(Oe.Z,{componentName:"Select"});const{suffixIcon:Mr,itemIcon:Yn,removeIcon:sr,clearIcon:jn}=(0,Qe.Z)(Object.assign(Object.assign({},Be),{multiple:rn,hasFeedback:ri,feedbackIcon:Ir,showSuffixIcon:mn,prefixCls:Vt,componentName:"Select"})),ur=on===!0?{clearIcon:jn}:on,br=(0,He.Z)(Be,["suffixIcon","itemIcon"]),Xr=Le()(Ft||Ze,{[`${Vt}-dropdown-${an}`]:an==="rtl"},ot,It,sn,Wn),Yr=(0,Ie.Z)(Ki=>{var fr;return(fr=Kt!=null?Kt:en)!==null&&fr!==void 0?fr:Ki}),gi=x.useContext(ve.Z),ci=rt!=null?rt:gi,Hi=Le()({[`${Vt}-lg`]:Yr==="large",[`${Vt}-sm`]:Yr==="small",[`${Vt}-rtl`]:an==="rtl",[`${Vt}-${En}`]:Mt,[`${Vt}-in-form-item`]:Hr},(0,Ce.Z)(Vt,qn,ri),Hn,Ct.className,Ut,ot,It,sn,Wn),vi=x.useMemo(()=>At!==void 0?At:an==="rtl"?"bottomRight":"bottomLeft",[At,an]),[no]=(0,Se.Cn)("SelectLike",ge==null?void 0:ge.zIndex);return Dn(x.createElement(Je.ZP,Object.assign({ref:je,virtual:Bt,showSearch:Ct.showSearch},br,{style:Object.assign(Object.assign({},Ct.style),Fn),dropdownMatchSelectWidth:Xn,transitionName:(0,Ue.m)(bn,"slide-up",ie),builtinPlacements:(0,ke.Z)(pn,Rt),listHeight:Te,listItemHeight:$t,mode:Wt,prefixCls:Vt,placement:vi,direction:an,prefix:se,suffixIcon:Mr,menuItemSelectedIcon:Yn,removeIcon:sr,allowClear:ur,notFoundContent:vr,className:Hi,getPopupContainer:yt||$e,dropdownClassName:Xr,disabled:ci,dropdownStyle:Object.assign(Object.assign({},ge),{zIndex:no}),maxCount:rn?le:void 0,tagRender:rn?ee:void 0})))},it=x.forwardRef(lt),ft=(0,fe.Z)(it,"dropdownAlign");it.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ge,it.Option=Je.Wx,it.OptGroup=Je.Xo,it._InternalPanelDoNotUseOrYouWillBeFired=ft,Tt.default=it},1722:function(Vn,Tt){"use strict";const ae=ct=>{const Je={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:ct==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Je),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Je),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Je),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Je),{points:["br","tr"],offset:[0,-4]})}};function x(ct,Le){return ct||ae(Le)}Tt.Z=x},90376:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ne}});var x=ae(63356),ct=ae(56119),Le=ae(16931),Je=ae(51636),He=ae(46e3),Se=ae(93873);const Ue=We=>{const{optionHeight:Ut,optionFontSize:ot,optionLineHeight:yt,optionPadding:Ft}=We;return{position:"relative",display:"block",minHeight:Ut,padding:Ft,color:We.colorText,fontWeight:"normal",fontSize:ot,lineHeight:yt,boxSizing:"border-box"}};var Ce=We=>{const{antCls:Ut,componentCls:ot}=We,yt=`${ot}-item`,Ft=`&${Ut}-slide-up-enter${Ut}-slide-up-enter-active`,Ze=`&${Ut}-slide-up-appear${Ut}-slide-up-appear-active`,Te=`&${Ut}-slide-up-leave${Ut}-slide-up-leave-active`,At=`${ot}-dropdown-placement-`,Zt=`${yt}-option-selected`;return[{[`${ot}-dropdown`]:Object.assign(Object.assign({},(0,x.Wf)(We)),{position:"absolute",top:-9999,zIndex:We.zIndexPopup,boxSizing:"border-box",padding:We.paddingXXS,overflow:"hidden",fontSize:We.fontSize,fontVariant:"initial",backgroundColor:We.colorBgElevated,borderRadius:We.borderRadiusLG,outline:"none",boxShadow:We.boxShadowSecondary,[` ${Ft}${At}bottomLeft, ${Ze}${At}bottomLeft `]:{animationName:He.fJ},[` ${Ft}${At}topLeft, ${Ze}${At}topLeft, ${Ft}${At}topRight, ${Ze}${At}topRight `]:{animationName:He.Qt},[`${Te}${At}bottomLeft`]:{animationName:He.Uw},[` ${Te}${At}topLeft, ${Te}${At}topRight `]:{animationName:He.ly},"&-hidden":{display:"none"},[yt]:Object.assign(Object.assign({},Ue(We)),{cursor:"pointer",transition:`background ${We.motionDurationSlow} ease`,borderRadius:We.borderRadiusSM,"&-group":{color:We.colorTextDescription,fontSize:We.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},x.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${yt}-option-disabled)`]:{backgroundColor:We.optionActiveBg},[`&-selected:not(${yt}-option-disabled)`]:{color:We.optionSelectedColor,fontWeight:We.optionSelectedFontWeight,backgroundColor:We.optionSelectedBg,[`${yt}-option-state`]:{color:We.colorPrimary}},"&-disabled":{[`&${yt}-option-selected`]:{backgroundColor:We.colorBgContainerDisabled},color:We.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:We.calc(We.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Ue(We)),{color:We.colorTextDisabled})}),[`${Zt}:has(+ ${Zt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Zt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,He.oN)(We,"slide-up"),(0,He.oN)(We,"slide-down"),(0,Se.Fm)(We,"move-up"),(0,Se.Fm)(We,"move-down")]},oe=ae(26743),Oe=ae(36237);function ve(We,Ut){const{componentCls:ot,inputPaddingHorizontalBase:yt,borderRadius:Ft}=We,Ze=We.calc(We.controlHeight).sub(We.calc(We.lineWidth).mul(2)).equal(),Te=Ut?`${ot}-${Ut}`:"";return{[`${ot}-single${Te}`]:{fontSize:We.fontSize,height:We.controlHeight,[`${ot}-selector`]:Object.assign(Object.assign({},(0,x.Wf)(We,!0)),{display:"flex",borderRadius:Ft,flex:"1 1 auto",[`${ot}-selection-wrap:after`]:{lineHeight:(0,Oe.unit)(Ze)},[`${ot}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${ot}-selection-item, ${ot}-selection-placeholder `]:{display:"block",padding:0,lineHeight:(0,Oe.unit)(Ze),transition:`all ${We.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ot}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ot}-selection-item:empty:after`,`${ot}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${ot}-show-arrow ${ot}-selection-item, &${ot}-show-arrow ${ot}-selection-search, &${ot}-show-arrow ${ot}-selection-placeholder `]:{paddingInlineEnd:We.showArrowPaddingInlineEnd},[`&${ot}-open ${ot}-selection-item`]:{color:We.colorTextPlaceholder},[`&:not(${ot}-customize-input)`]:{[`${ot}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Oe.unit)(yt)}`,[`${ot}-selection-search-input`]:{height:Ze,fontSize:We.fontSize},"&:after":{lineHeight:(0,Oe.unit)(Ze)}}},[`&${ot}-customize-input`]:{[`${ot}-selector`]:{"&:after":{display:"none"},[`${ot}-selection-search`]:{position:"static",width:"100%"},[`${ot}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Oe.unit)(yt)}`,"&:after":{display:"none"}}}}}}}function Me(We){const{componentCls:Ut}=We,ot=We.calc(We.controlPaddingHorizontalSM).sub(We.lineWidth).equal();return[ve(We),ve((0,Je.mergeToken)(We,{controlHeight:We.controlHeightSM,borderRadius:We.borderRadiusSM}),"sm"),{[`${Ut}-single${Ut}-sm`]:{[`&:not(${Ut}-customize-input)`]:{[`${Ut}-selector`]:{padding:`0 ${(0,Oe.unit)(ot)}`},[`&${Ut}-show-arrow ${Ut}-selection-search`]:{insetInlineEnd:We.calc(ot).add(We.calc(We.fontSize).mul(1.5)).equal()},[` &${Ut}-show-arrow ${Ut}-selection-item, &${Ut}-show-arrow ${Ut}-selection-placeholder `]:{paddingInlineEnd:We.calc(We.fontSize).mul(1.5).equal()}}}},ve((0,Je.mergeToken)(We,{controlHeight:We.singleItemHeightLG,fontSize:We.fontSizeLG,borderRadius:We.borderRadiusLG}),"lg")]}const Ie=We=>{const{fontSize:Ut,lineHeight:ot,lineWidth:yt,controlHeight:Ft,controlHeightSM:Ze,controlHeightLG:Te,paddingXXS:At,controlPaddingHorizontal:Zt,zIndexPopupBase:Kt,colorText:rt,fontWeightStrong:Nt,controlItemBgActive:Qt,controlItemBgHover:pn,colorBgContainer:Ot,colorFillSecondary:vn,colorBgContainerDisabled:_t,colorTextDisabled:Fn,colorPrimaryHover:on,colorPrimary:de,controlOutline:ge}=We,ie=At*2,ee=yt*2,le=Math.min(Ft-ie,Ft-ee),se=Math.min(Ze-ie,Ze-ee),Be=Math.min(Te-ie,Te-ee);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(At/2),zIndexPopup:Kt+50,optionSelectedColor:rt,optionSelectedFontWeight:Nt,optionSelectedBg:Qt,optionActiveBg:pn,optionPadding:`${(Ft-Ut*ot)/2}px ${Zt}px`,optionFontSize:Ut,optionLineHeight:ot,optionHeight:Ft,selectorBg:Ot,clearBg:Ot,singleItemHeightLG:Te,multipleItemBg:vn,multipleItemBorderColor:"transparent",multipleItemHeight:le,multipleItemHeightSM:se,multipleItemHeightLG:Be,multipleSelectorBgDisabled:_t,multipleItemColorDisabled:Fn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(We.fontSize*1.25),hoverBorderColor:on,activeBorderColor:de,activeOutlineColor:ge,selectAffixPadding:At}},_e=(We,Ut)=>{const{componentCls:ot,antCls:yt,controlOutlineWidth:Ft}=We;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${Ut.borderColor}`,background:We.selectorBg},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ut.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ut.activeBorderColor,boxShadow:`0 0 0 ${(0,Oe.unit)(Ft)} ${Ut.activeOutlineColor}`,outline:0},[`${ot}-prefix`]:{color:Ut.color}}}},we=(We,Ut)=>({[`&${We.componentCls}-status-${Ut.status}`]:Object.assign({},_e(We,Ut))}),xe=We=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(We,{borderColor:We.colorBorder,hoverBorderHover:We.hoverBorderColor,activeBorderColor:We.activeBorderColor,activeOutlineColor:We.activeOutlineColor,color:We.colorText})),we(We,{status:"error",borderColor:We.colorError,hoverBorderHover:We.colorErrorHover,activeBorderColor:We.colorError,activeOutlineColor:We.colorErrorOutline,color:We.colorError})),we(We,{status:"warning",borderColor:We.colorWarning,hoverBorderHover:We.colorWarningHover,activeBorderColor:We.colorWarning,activeOutlineColor:We.colorWarningOutline,color:We.colorWarning})),{[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{background:We.colorBgContainerDisabled,color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.multipleItemBg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.multipleItemBorderColor}`}})}),Ee=(We,Ut)=>{const{componentCls:ot,antCls:yt}=We;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{background:Ut.bg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} transparent`,color:Ut.color},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{background:Ut.hoverBg},[`${ot}-focused& ${ot}-selector`]:{background:We.selectorBg,borderColor:Ut.activeBorderColor,outline:0}}}},ke=(We,Ut)=>({[`&${We.componentCls}-status-${Ut.status}`]:Object.assign({},Ee(We,Ut))}),ze=We=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ee(We,{bg:We.colorFillTertiary,hoverBg:We.colorFillSecondary,activeBorderColor:We.activeBorderColor,color:We.colorText})),ke(We,{status:"error",bg:We.colorErrorBg,hoverBg:We.colorErrorBgHover,activeBorderColor:We.colorError,color:We.colorError})),ke(We,{status:"warning",bg:We.colorWarningBg,hoverBg:We.colorWarningBgHover,activeBorderColor:We.colorWarning,color:We.colorWarning})),{[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{borderColor:We.colorBorder,background:We.colorBgContainerDisabled,color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.colorBgContainer,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.colorSplit}`}})}),Qe=We=>({"&-borderless":{[`${We.componentCls}-selector`]:{background:"transparent",border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} transparent`},[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.multipleItemBg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.multipleItemBorderColor}`},[`&${We.componentCls}-status-error`]:{[`${We.componentCls}-prefix, ${We.componentCls}-selection-item`]:{color:We.colorError}},[`&${We.componentCls}-status-warning`]:{[`${We.componentCls}-prefix, ${We.componentCls}-selection-item`]:{color:We.colorWarning}}}}),Re=(We,Ut)=>{const{componentCls:ot,antCls:yt}=We;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{borderWidth:`0 0 ${(0,Oe.unit)(We.lineWidth)} 0`,borderStyle:`none none ${We.lineType} none`,borderColor:Ut.borderColor,background:We.selectorBg,borderRadius:0},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${yt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ut.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ut.activeBorderColor,outline:0},[`${ot}-prefix`]:{color:Ut.color}}}},et=(We,Ut)=>({[`&${We.componentCls}-status-${Ut.status}`]:Object.assign({},Re(We,Ut))}),Ge=We=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Re(We,{borderColor:We.colorBorder,hoverBorderHover:We.hoverBorderColor,activeBorderColor:We.activeBorderColor,activeOutlineColor:We.activeOutlineColor,color:We.colorText})),et(We,{status:"error",borderColor:We.colorError,hoverBorderHover:We.colorErrorHover,activeBorderColor:We.colorError,activeOutlineColor:We.colorErrorOutline,color:We.colorError})),et(We,{status:"warning",borderColor:We.colorWarning,hoverBorderHover:We.colorWarningHover,activeBorderColor:We.colorWarning,activeOutlineColor:We.colorWarningOutline,color:We.colorWarning})),{[`&${We.componentCls}-disabled`]:{[`&:not(${We.componentCls}-customize-input) ${We.componentCls}-selector`]:{color:We.colorTextDisabled}},[`&${We.componentCls}-multiple ${We.componentCls}-selection-item`]:{background:We.multipleItemBg,border:`${(0,Oe.unit)(We.lineWidth)} ${We.lineType} ${We.multipleItemBorderColor}`}})});var it=We=>({[We.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},xe(We)),ze(We)),Qe(We)),Ge(We))});const ft=We=>{const{componentCls:Ut}=We;return{position:"relative",transition:`all ${We.motionDurationMid} ${We.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ut}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ut}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},bt=We=>{const{componentCls:Ut}=We;return{[`${Ut}-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"}}}},je=We=>{const{antCls:Ut,componentCls:ot,inputPaddingHorizontalBase:yt,iconCls:Ft}=We;return{[ot]:Object.assign(Object.assign({},(0,x.Wf)(We)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ot}-customize-input) ${ot}-selector`]:Object.assign(Object.assign({},ft(We)),bt(We)),[`${ot}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},x.vS),{[`> ${Ut}-typography`]:{display:"inline"}}),[`${ot}-selection-placeholder`]:Object.assign(Object.assign({},x.vS),{flex:1,color:We.colorTextPlaceholder,pointerEvents:"none"}),[`${ot}-arrow`]:Object.assign(Object.assign({},(0,x.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:yt,height:We.fontSizeIcon,marginTop:We.calc(We.fontSizeIcon).mul(-1).div(2).equal(),color:We.colorTextQuaternary,fontSize:We.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${We.motionDurationSlow} ease`,[Ft]:{verticalAlign:"top",transition:`transform ${We.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ot}-suffix)`]:{pointerEvents:"auto"}},[`${ot}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ot}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ot}-prefix`]:{flex:"none",marginInlineEnd:We.selectAffixPadding},[`${ot}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:yt,zIndex:1,display:"inline-block",width:We.fontSizeIcon,height:We.fontSizeIcon,marginTop:We.calc(We.fontSizeIcon).mul(-1).div(2).equal(),color:We.colorTextQuaternary,fontSize:We.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${We.motionDurationMid} ease, opacity ${We.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:We.colorTextTertiary}},[`&:hover ${ot}-clear`]:{opacity:1,background:We.colorBgBase,borderRadius:"50%"}}),[`${ot}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ot}-has-feedback`]:{[`${ot}-clear`]:{insetInlineEnd:We.calc(yt).add(We.fontSize).add(We.paddingXS).equal()}}}}}},ht=We=>{const{componentCls:Ut}=We;return[{[Ut]:{[`&${Ut}-in-form-item`]:{width:"100%"}}},je(We),Me(We),(0,oe.ZP)(We),Ce(We),{[`${Ut}-rtl`]:{direction:"rtl"}},(0,ct.c)(We,{borderElCls:`${Ut}-selector`,focusElCls:`${Ut}-focused`})]};var Ne=(0,Le.I$)("Select",(We,Ut)=>{let{rootPrefixCls:ot}=Ut;const yt=(0,Je.mergeToken)(We,{rootPrefixCls:ot,inputPaddingHorizontalBase:We.calc(We.paddingSM).sub(1).equal(),multipleSelectItemHeight:We.multipleItemHeight,selectHeight:We.controlHeight});return[ht(yt),it(yt)]},Ie,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Vn,Tt,ae){"use strict";ae.d(Tt,{_z:function(){return Se},gp:function(){return Je}});var x=ae(36237),ct=ae(63356),Le=ae(51636);const Je=oe=>{const{multipleSelectItemHeight:Oe,paddingXXS:ve,lineWidth:Me,INTERNAL_FIXED_ITEM_MARGIN:Ie}=oe,_e=oe.max(oe.calc(ve).sub(Me).equal(),0),we=oe.max(oe.calc(_e).sub(Ie).equal(),0);return{basePadding:_e,containerPadding:we,itemHeight:(0,x.unit)(Oe),itemLineHeight:(0,x.unit)(oe.calc(Oe).sub(oe.calc(oe.lineWidth).mul(2)).equal())}},He=oe=>{const{multipleSelectItemHeight:Oe,selectHeight:ve,lineWidth:Me}=oe;return oe.calc(ve).sub(Oe).div(2).sub(Me).equal()},Se=oe=>{const{componentCls:Oe,iconCls:ve,borderRadiusSM:Me,motionDurationSlow:Ie,paddingXS:_e,multipleItemColorDisabled:we,multipleItemBorderColorDisabled:xe,colorIcon:Ee,colorIconHover:ke,INTERNAL_FIXED_ITEM_MARGIN:ze}=oe;return{[`${Oe}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Oe}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:ze,borderRadius:Me,cursor:"default",transition:`font-size ${Ie}, line-height ${Ie}, height ${Ie}`,marginInlineEnd:oe.calc(ze).mul(2).equal(),paddingInlineStart:_e,paddingInlineEnd:oe.calc(_e).div(2).equal(),[`${Oe}-disabled&`]:{color:we,borderColor:xe,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:oe.calc(_e).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ct.Ro)()),{display:"inline-flex",alignItems:"center",color:Ee,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ve}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ke}})}}}},Ue=(oe,Oe)=>{const{componentCls:ve,INTERNAL_FIXED_ITEM_MARGIN:Me}=oe,Ie=`${ve}-selection-overflow`,_e=oe.multipleSelectItemHeight,we=He(oe),xe=Oe?`${ve}-${Oe}`:"",Ee=Je(oe);return{[`${ve}-multiple${xe}`]:Object.assign(Object.assign({},Se(oe)),{[`${ve}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ee.basePadding,paddingBlock:Ee.containerPadding,borderRadius:oe.borderRadius,[`${ve}-disabled&`]:{background:oe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,x.unit)(Me)} 0`,lineHeight:(0,x.unit)(_e),visibility:"hidden",content:'"\\a0"'}},[`${ve}-selection-item`]:{height:Ee.itemHeight,lineHeight:(0,x.unit)(Ee.itemLineHeight)},[`${ve}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,x.unit)(_e),marginBlock:Me}},[`${ve}-prefix`]:{marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal()},[`${Ie}-item + ${Ie}-item, ${ve}-prefix + ${ve}-selection-wrap `]:{[`${ve}-selection-search`]:{marginInlineStart:0},[`${ve}-selection-placeholder`]:{insetInlineStart:0}},[`${Ie}-item-suffix`]:{minHeight:Ee.itemHeight,marginBlock:Me},[`${ve}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(we).equal(),"\n &-input,\n &-mirror\n ":{height:_e,fontFamily:oe.fontFamily,lineHeight:(0,x.unit)(_e),transition:`all ${oe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ve}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal(),insetInlineEnd:oe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${oe.motionDurationSlow}`}})}};function fe(oe,Oe){const{componentCls:ve}=oe,Me=Oe?`${ve}-${Oe}`:"",Ie={[`${ve}-multiple${Me}`]:{fontSize:oe.fontSize,[`${ve}-selector`]:{[`${ve}-show-search&`]:{cursor:"text"}},[` &${ve}-show-arrow ${ve}-selector, &${ve}-allow-clear ${ve}-selector `]:{paddingInlineEnd:oe.calc(oe.fontSizeIcon).add(oe.controlPaddingHorizontal).equal()}}};return[Ue(oe,Oe),Ie]}const Ce=oe=>{const{componentCls:Oe}=oe,ve=(0,Le.mergeToken)(oe,{selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS}),Me=(0,Le.mergeToken)(oe,{fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius});return[fe(oe),fe(ve,"sm"),{[`${Oe}-multiple${Oe}-sm`]:{[`${Oe}-selection-placeholder`]:{insetInline:oe.calc(oe.controlPaddingHorizontalSM).sub(oe.lineWidth).equal()},[`${Oe}-selection-search`]:{marginInlineStart:2}}},fe(Me,"lg")]};Tt.ZP=Ce},68525:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return fe}});var x=ae(59301),ct=ae(40001),Le=ae(19248),Je=ae(99267),He=ae(84105),Se=ae(58617),Ue=ae(47472);function fe(Ce){let{suffixIcon:oe,clearIcon:Oe,menuItemSelectedIcon:ve,removeIcon:Me,loading:Ie,multiple:_e,hasFeedback:we,prefixCls:xe,showSuffixIcon:Ee,feedbackIcon:ke,showArrow:ze,componentName:Qe}=Ce;const Re=Oe!=null?Oe:x.createElement(Le.Z,null),et=ft=>oe===null&&!we&&!ze?null:x.createElement(x.Fragment,null,Ee!==!1&&ft,we&&ke);let Ge=null;if(oe!==void 0)Ge=et(oe);else if(Ie)Ge=et(x.createElement(Se.Z,{spin:!0}));else{const ft=`${xe}-suffix`;Ge=bt=>{let{open:je,showSearch:ht}=bt;return et(je&&ht?x.createElement(Ue.Z,{className:ft}):x.createElement(He.Z,{className:ft}))}}let lt=null;ve!==void 0?lt=ve:_e?lt=x.createElement(ct.Z,null):lt=null;let it=null;return Me!==void 0?it=Me:it=x.createElement(Je.Z,null),{clearIcon:Re,suffixIcon:Ge,itemIcon:lt,removeIcon:it}}},90005:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return x}});function x(ct,Le){return Le!==void 0?Le:ct!==null}},11938:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return bt}});var x=ae(59301),ct=ae(40192),Le=ae(22703),Je=ae(92310),He=ae.n(Je),Se=ae(26112),Ue=ae(48755),fe=ae(458),oe=je=>{const{value:ht,formatter:Ne,precision:We,decimalSeparator:Ut,groupSeparator:ot="",prefixCls:yt}=je;let Ft;if(typeof Ne=="function")Ft=Ne(ht);else{const Ze=String(ht),Te=Ze.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Te||Ze==="-")Ft=Ze;else{const At=Te[1];let Zt=Te[2]||"0",Kt=Te[4]||"";Zt=Zt.replace(/\B(?=(\d{3})+(?!\d))/g,ot),typeof We=="number"&&(Kt=Kt.padEnd(We,"0").slice(0,We>0?We:0)),Kt&&(Kt=`${Ut}${Kt}`),Ft=[x.createElement("span",{key:"int",className:`${yt}-content-value-int`},At,Zt),Kt&&x.createElement("span",{key:"decimal",className:`${yt}-content-value-decimal`},Kt)]}}return x.createElement("span",{className:`${yt}-content-value`},Ft)},Oe=ae(63356),ve=ae(16931),Me=ae(51636);const Ie=je=>{const{componentCls:ht,marginXXS:Ne,padding:We,colorTextDescription:Ut,titleFontSize:ot,colorTextHeading:yt,contentFontSize:Ft,fontFamily:Ze}=je;return{[ht]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{[`${ht}-title`]:{marginBottom:Ne,color:Ut,fontSize:ot},[`${ht}-skeleton`]:{paddingTop:We},[`${ht}-content`]:{color:yt,fontSize:Ft,fontFamily:Ze,[`${ht}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ht}-content-prefix, ${ht}-content-suffix`]:{display:"inline-block"},[`${ht}-content-prefix`]:{marginInlineEnd:Ne},[`${ht}-content-suffix`]:{marginInlineStart:Ne}}})}},_e=je=>{const{fontSizeHeading3:ht,fontSize:Ne}=je;return{titleFontSize:Ne,contentFontSize:ht}};var we=(0,ve.I$)("Statistic",je=>{const ht=(0,Me.mergeToken)(je,{});return[Ie(ht)]},_e),xe=function(je,ht){var Ne={};for(var We in je)Object.prototype.hasOwnProperty.call(je,We)&&ht.indexOf(We)<0&&(Ne[We]=je[We]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,We=Object.getOwnPropertySymbols(je);Ut{const{prefixCls:ht,className:Ne,rootClassName:We,style:Ut,valueStyle:ot,value:yt=0,title:Ft,valueRender:Ze,prefix:Te,suffix:At,loading:Zt=!1,formatter:Kt,precision:rt,decimalSeparator:Nt=".",groupSeparator:Qt=",",onMouseEnter:pn,onMouseLeave:Ot}=je,vn=xe(je,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:_t,direction:Fn,className:on,style:de}=(0,Ue.dj)("statistic"),ge=_t("statistic",ht),[ie,ee,le]=we(ge),se=x.createElement(oe,{decimalSeparator:Nt,groupSeparator:Qt,prefixCls:ge,formatter:Kt,precision:rt,value:yt}),Be=He()(ge,{[`${ge}-rtl`]:Fn==="rtl"},on,Ne,We,ee,le),$e=(0,Se.Z)(vn,{aria:!0,data:!0});return ie(x.createElement("div",Object.assign({},$e,{className:Be,style:Object.assign(Object.assign({},de),Ut),onMouseEnter:pn,onMouseLeave:Ot}),Ft&&x.createElement("div",{className:`${ge}-title`},Ft),x.createElement(fe.Z,{paragraph:!1,loading:Zt,className:`${ge}-skeleton`},x.createElement("div",{style:ot,className:`${ge}-content`},Te&&x.createElement("span",{className:`${ge}-content-prefix`},Te),Ze?Ze(se):se,At&&x.createElement("span",{className:`${ge}-content-suffix`},At)))))};const ze=[["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 Qe(je,ht){let Ne=je;const We=/\[[^\]]*]/g,Ut=(ht.match(We)||[]).map(Ze=>Ze.slice(1,-1)),ot=ht.replace(We,"[]"),yt=ze.reduce((Ze,Te)=>{let[At,Zt]=Te;if(Ze.includes(At)){const Kt=Math.floor(Ne/Zt);return Ne-=Kt*Zt,Ze.replace(new RegExp(`${At}+`,"g"),rt=>{const Nt=rt.length;return Kt.toString().padStart(Nt,"0")})}return Ze},ot);let Ft=0;return yt.replace(We,()=>{const Ze=Ut[Ft];return Ft+=1,Ze})}function Re(je,ht){const{format:Ne=""}=ht,We=new Date(je).getTime(),Ut=Date.now(),ot=Math.max(We-Ut,0);return Qe(ot,Ne)}var et=function(je,ht){var Ne={};for(var We in je)Object.prototype.hasOwnProperty.call(je,We)&&ht.indexOf(We)<0&&(Ne[We]=je[We]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,We=Object.getOwnPropertySymbols(je);Ut{const{value:ht,format:Ne="HH:mm:ss",onChange:We,onFinish:Ut}=je,ot=et(je,["value","format","onChange","onFinish"]),yt=(0,ct.Z)(),Ft=x.useRef(null),Ze=()=>{Ut==null||Ut(),Ft.current&&(clearInterval(Ft.current),Ft.current=null)},Te=()=>{const Kt=lt(ht);Kt>=Date.now()&&(Ft.current=setInterval(()=>{yt(),We==null||We(Kt-Date.now()),Kt(Te(),()=>{Ft.current&&(clearInterval(Ft.current),Ft.current=null)}),[ht]);const At=(Kt,rt)=>Re(Kt,Object.assign(Object.assign({},rt),{format:Ne})),Zt=Kt=>(0,Le.Tm)(Kt,{title:void 0});return x.createElement(ke,Object.assign({},ot,{value:ht,valueRender:Zt,formatter:At}))};var ft=x.memo(it);ke.Countdown=ft;var bt=ke},58755:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return Ut}});var x=ae(59301),ct=ae(58617),Le=ae(92310),Je=ae.n(Le),He=ae(54476),Se=ae(20068),Ue=ae(42978),fe=ae(75931),Ce=ae(18929),oe=ae(10228),Oe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ve=x.forwardRef(function(ot,yt){var Ft,Ze=ot.prefixCls,Te=Ze===void 0?"rc-switch":Ze,At=ot.className,Zt=ot.checked,Kt=ot.defaultChecked,rt=ot.disabled,Nt=ot.loadingIcon,Qt=ot.checkedChildren,pn=ot.unCheckedChildren,Ot=ot.onClick,vn=ot.onChange,_t=ot.onKeyDown,Fn=(0,fe.Z)(ot,Oe),on=(0,Ce.Z)(!1,{value:Zt,defaultValue:Kt}),de=(0,Ue.Z)(on,2),ge=de[0],ie=de[1];function ee($e,at){var pt=ge;return rt||(pt=$e,ie(pt),vn==null||vn(pt,at)),pt}function le($e){$e.which===oe.Z.LEFT?ee(!1,$e):$e.which===oe.Z.RIGHT&&ee(!0,$e),_t==null||_t($e)}function se($e){var at=ee(!ge,$e);Ot==null||Ot(at,$e)}var Be=Je()(Te,At,(Ft={},(0,Se.Z)(Ft,"".concat(Te,"-checked"),ge),(0,Se.Z)(Ft,"".concat(Te,"-disabled"),rt),Ft));return x.createElement("button",(0,He.Z)({},Fn,{type:"button",role:"switch","aria-checked":ge,disabled:rt,className:Be,ref:yt,onKeyDown:le,onClick:se}),Nt,x.createElement("span",{className:"".concat(Te,"-inner")},x.createElement("span",{className:"".concat(Te,"-inner-checked")},Qt),x.createElement("span",{className:"".concat(Te,"-inner-unchecked")},pn)))});ve.displayName="Switch";var Me=ve,Ie=ae(12919),_e=ae(48755),we=ae(2171),xe=ae(31756),Ee=ae(36237),ke=ae(17835),ze=ae(63356),Qe=ae(16931),Re=ae(51636);const et=ot=>{const{componentCls:yt,trackHeightSM:Ft,trackPadding:Ze,trackMinWidthSM:Te,innerMinMarginSM:At,innerMaxMarginSM:Zt,handleSizeSM:Kt,calc:rt}=ot,Nt=`${yt}-inner`,Qt=(0,Ee.unit)(rt(Kt).add(rt(Ze).mul(2)).equal()),pn=(0,Ee.unit)(rt(Zt).mul(2).equal());return{[yt]:{[`&${yt}-small`]:{minWidth:Te,height:Ft,lineHeight:(0,Ee.unit)(Ft),[`${yt}-inner`]:{paddingInlineStart:Zt,paddingInlineEnd:At,[`${Nt}-checked, ${Nt}-unchecked`]:{minHeight:Ft},[`${Nt}-checked`]:{marginInlineStart:`calc(-100% + ${Qt} - ${pn})`,marginInlineEnd:`calc(100% - ${Qt} + ${pn})`},[`${Nt}-unchecked`]:{marginTop:rt(Ft).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${yt}-handle`]:{width:Kt,height:Kt},[`${yt}-loading-icon`]:{top:rt(rt(Kt).sub(ot.switchLoadingIconSize)).div(2).equal(),fontSize:ot.switchLoadingIconSize},[`&${yt}-checked`]:{[`${yt}-inner`]:{paddingInlineStart:At,paddingInlineEnd:Zt,[`${Nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Nt}-unchecked`]:{marginInlineStart:`calc(100% - ${Qt} + ${pn})`,marginInlineEnd:`calc(-100% + ${Qt} - ${pn})`}},[`${yt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(rt(Kt).add(Ze).equal())})`}},[`&:not(${yt}-disabled):active`]:{[`&:not(${yt}-checked) ${Nt}`]:{[`${Nt}-unchecked`]:{marginInlineStart:rt(ot.marginXXS).div(2).equal(),marginInlineEnd:rt(ot.marginXXS).mul(-1).div(2).equal()}},[`&${yt}-checked ${Nt}`]:{[`${Nt}-checked`]:{marginInlineStart:rt(ot.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:rt(ot.marginXXS).div(2).equal()}}}}}}},Ge=ot=>{const{componentCls:yt,handleSize:Ft,calc:Ze}=ot;return{[yt]:{[`${yt}-loading-icon${ot.iconCls}`]:{position:"relative",top:Ze(Ze(Ft).sub(ot.fontSize)).div(2).equal(),color:ot.switchLoadingIconColor,verticalAlign:"top"},[`&${yt}-checked ${yt}-loading-icon`]:{color:ot.switchColor}}}},lt=ot=>{const{componentCls:yt,trackPadding:Ft,handleBg:Ze,handleShadow:Te,handleSize:At,calc:Zt}=ot,Kt=`${yt}-handle`;return{[yt]:{[Kt]:{position:"absolute",top:Ft,insetInlineStart:Ft,width:At,height:At,transition:`all ${ot.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ze,borderRadius:Zt(At).div(2).equal(),boxShadow:Te,transition:`all ${ot.switchDuration} ease-in-out`,content:'""'}},[`&${yt}-checked ${Kt}`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(Zt(At).add(Ft).equal())})`},[`&:not(${yt}-disabled):active`]:{[`${Kt}::before`]:{insetInlineEnd:ot.switchHandleActiveInset,insetInlineStart:0},[`&${yt}-checked ${Kt}::before`]:{insetInlineEnd:0,insetInlineStart:ot.switchHandleActiveInset}}}}},it=ot=>{const{componentCls:yt,trackHeight:Ft,trackPadding:Ze,innerMinMargin:Te,innerMaxMargin:At,handleSize:Zt,calc:Kt}=ot,rt=`${yt}-inner`,Nt=(0,Ee.unit)(Kt(Zt).add(Kt(Ze).mul(2)).equal()),Qt=(0,Ee.unit)(Kt(At).mul(2).equal());return{[yt]:{[rt]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:At,paddingInlineEnd:Te,transition:`padding-inline-start ${ot.switchDuration} ease-in-out, padding-inline-end ${ot.switchDuration} ease-in-out`,[`${rt}-checked, ${rt}-unchecked`]:{display:"block",color:ot.colorTextLightSolid,fontSize:ot.fontSizeSM,transition:`margin-inline-start ${ot.switchDuration} ease-in-out, margin-inline-end ${ot.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Ft},[`${rt}-checked`]:{marginInlineStart:`calc(-100% + ${Nt} - ${Qt})`,marginInlineEnd:`calc(100% - ${Nt} + ${Qt})`},[`${rt}-unchecked`]:{marginTop:Kt(Ft).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${yt}-checked ${rt}`]:{paddingInlineStart:Te,paddingInlineEnd:At,[`${rt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${rt}-unchecked`]:{marginInlineStart:`calc(100% - ${Nt} + ${Qt})`,marginInlineEnd:`calc(-100% + ${Nt} - ${Qt})`}},[`&:not(${yt}-disabled):active`]:{[`&:not(${yt}-checked) ${rt}`]:{[`${rt}-unchecked`]:{marginInlineStart:Kt(Ze).mul(2).equal(),marginInlineEnd:Kt(Ze).mul(-1).mul(2).equal()}},[`&${yt}-checked ${rt}`]:{[`${rt}-checked`]:{marginInlineStart:Kt(Ze).mul(-1).mul(2).equal(),marginInlineEnd:Kt(Ze).mul(2).equal()}}}}}},ft=ot=>{const{componentCls:yt,trackHeight:Ft,trackMinWidth:Ze}=ot;return{[yt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ze.Wf)(ot)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ze,height:Ft,lineHeight:(0,Ee.unit)(Ft),verticalAlign:"middle",background:ot.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ot.motionDurationMid}`,userSelect:"none",[`&:hover:not(${yt}-disabled)`]:{background:ot.colorTextTertiary}}),(0,ze.Qy)(ot)),{[`&${yt}-checked`]:{background:ot.switchColor,[`&:hover:not(${yt}-disabled)`]:{background:ot.colorPrimaryHover}},[`&${yt}-loading, &${yt}-disabled`]:{cursor:"not-allowed",opacity:ot.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${yt}-rtl`]:{direction:"rtl"}})}},bt=ot=>{const{fontSize:yt,lineHeight:Ft,controlHeight:Ze,colorWhite:Te}=ot,At=yt*Ft,Zt=Ze/2,Kt=2,rt=At-Kt*2,Nt=Zt-Kt*2;return{trackHeight:At,trackHeightSM:Zt,trackMinWidth:rt*2+Kt*4,trackMinWidthSM:Nt*2+Kt*2,trackPadding:Kt,handleBg:Te,handleSize:rt,handleSizeSM:Nt,handleShadow:`0 2px 4px 0 ${new ke.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:rt/2,innerMaxMargin:rt+Kt+Kt*2,innerMinMarginSM:Nt/2,innerMaxMarginSM:Nt+Kt+Kt*2}};var je=(0,Qe.I$)("Switch",ot=>{const yt=(0,Re.mergeToken)(ot,{switchDuration:ot.motionDurationMid,switchColor:ot.colorPrimary,switchDisabledOpacity:ot.opacityLoading,switchLoadingIconSize:ot.calc(ot.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${ot.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ft(yt),it(yt),lt(yt),Ge(yt),et(yt)]},bt),ht=function(ot,yt){var Ft={};for(var Ze in ot)Object.prototype.hasOwnProperty.call(ot,Ze)&&yt.indexOf(Ze)<0&&(Ft[Ze]=ot[Ze]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ze=Object.getOwnPropertySymbols(ot);Te{const{prefixCls:Ft,size:Ze,disabled:Te,loading:At,className:Zt,rootClassName:Kt,style:rt,checked:Nt,value:Qt,defaultChecked:pn,defaultValue:Ot,onChange:vn}=ot,_t=ht(ot,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Fn,on]=(0,Ce.Z)(!1,{value:Nt!=null?Nt:Qt,defaultValue:pn!=null?pn:Ot}),{getPrefixCls:de,direction:ge,switch:ie}=x.useContext(_e.E_),ee=x.useContext(we.Z),le=(Te!=null?Te:ee)||At,se=de("switch",Ft),Be=x.createElement("div",{className:`${se}-handle`},At&&x.createElement(ct.Z,{className:`${se}-loading-icon`})),[$e,at,pt]=je(se),gt=(0,xe.Z)(Ze),Bt=Je()(ie==null?void 0:ie.className,{[`${se}-small`]:gt==="small",[`${se}-loading`]:At,[`${se}-rtl`]:ge==="rtl"},Zt,Kt,at,pt),Lt=Object.assign(Object.assign({},ie==null?void 0:ie.style),rt),Rt=function(){on(arguments.length<=0?void 0:arguments[0]),vn==null||vn.apply(void 0,arguments)};return $e(x.createElement(Ie.Z,{component:"Switch"},x.createElement(Me,Object.assign({},_t,{checked:Fn,onChange:Rt,prefixCls:se,className:Bt,style:Lt,disabled:le,ref:yt,loadingIcon:Be}))))});We.__ANT_SWITCH=!0;var Ut=We},70858:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return up}});var x=ae(59301),ct={},Le="rc-table-internal-hook",Je=ae(42978),He=ae(6089),Se=ae(34280),Ue=ae(13697),fe=ae(4676);function Ce(wt){var vt=x.createContext(void 0),Gt=function(Sn){var Tn=Sn.value,or=Sn.children,er=x.useRef(Tn);er.current=Tn;var Cr=x.useState(function(){return{getValue:function(){return er.current},listeners:new Set}}),hr=(0,Je.Z)(Cr,1),ui=hr[0];return(0,Se.Z)(function(){(0,fe.unstable_batchedUpdates)(function(){ui.listeners.forEach(function(jr){jr(Tn)})})},[Tn]),x.createElement(vt.Provider,{value:ui},or)};return{Context:vt,Provider:Gt,defaultValue:wt}}function oe(wt,vt){var Gt=(0,He.Z)(typeof vt=="function"?vt:function(jr){if(vt===void 0)return jr;if(!Array.isArray(vt))return jr[vt];var Qr={};return vt.forEach(function(Or){Qr[Or]=jr[Or]}),Qr}),An=x.useContext(wt==null?void 0:wt.Context),Sn=An||{},Tn=Sn.listeners,or=Sn.getValue,er=x.useRef();er.current=Gt(An?or():wt==null?void 0:wt.defaultValue);var Cr=x.useState({}),hr=(0,Je.Z)(Cr,2),ui=hr[1];return(0,Se.Z)(function(){if(!An)return;function jr(Qr){var Or=Gt(Qr);(0,Ue.Z)(er.current,Or,!0)||ui({})}return Tn.add(jr),function(){Tn.delete(jr)}},[An]),er.current}var Oe=ae(54476),ve=ae(8654);function Me(){var wt=x.createContext(null);function vt(){return x.useContext(wt)}function Gt(Sn,Tn){var or=(0,ve.Yr)(Sn),er=function(hr,ui){var jr=or?{ref:ui}:{},Qr=x.useRef(0),Or=x.useRef(hr),Dr=vt();return Dr!==null?x.createElement(Sn,(0,Oe.Z)({},hr,jr)):((!Tn||Tn(Or.current,hr))&&(Qr.current+=1),Or.current=hr,x.createElement(wt.Provider,{value:Qr.current},x.createElement(Sn,(0,Oe.Z)({},hr,jr))))};return or?x.forwardRef(er):er}function An(Sn,Tn){var or=(0,ve.Yr)(Sn),er=function(hr,ui){var jr=or?{ref:ui}:{};return vt(),x.createElement(Sn,(0,Oe.Z)({},hr,jr))};return or?x.memo(x.forwardRef(er),Tn):x.memo(er,Tn)}return{makeImmutable:Gt,responseImmutable:An,useImmutableMark:vt}}var Ie=Me(),_e=Ie.makeImmutable,we=Ie.responseImmutable,xe=Ie.useImmutableMark,Ee=Me(),ke=Ee.makeImmutable,ze=Ee.responseImmutable,Qe=Ee.useImmutableMark,Re=Ce(),et=Re;function Ge(wt,vt){var Gt=React.useRef(0);Gt.current+=1;var An=React.useRef(wt),Sn=[];Object.keys(wt||{}).map(function(or){var er;(wt==null?void 0:wt[or])!==((er=An.current)===null||er===void 0?void 0:er[or])&&Sn.push(or)}),An.current=wt;var Tn=React.useRef([]);return Sn.length&&(Tn.current=Sn),React.useDebugValue(Gt.current),React.useDebugValue(Tn.current.join(", ")),vt&&console.log("".concat(vt,":"),Gt.current,Tn.current),Gt.current}var lt=null,it=null,ft=ae(76190),bt=ae(33885),je=ae(20068),ht=ae(92310),Ne=ae.n(ht),We=ae(80547),Ut=ae(97938),ot=ae(48736),yt=x.createContext({renderWithProps:!1}),Ft=yt,Ze="RC_TABLE_KEY";function Te(wt){return wt==null?[]:Array.isArray(wt)?wt:[wt]}function At(wt){var vt=[],Gt={};return wt.forEach(function(An){for(var Sn=An||{},Tn=Sn.key,or=Sn.dataIndex,er=Tn||Te(or).join("-")||Ze;Gt[er];)er="".concat(er,"_next");Gt[er]=!0,vt.push(er)}),vt}function Zt(wt){return wt!=null}function Kt(wt){return typeof wt=="number"&&!Number.isNaN(wt)}function rt(wt){return wt&&(0,ft.Z)(wt)==="object"&&!Array.isArray(wt)&&!x.isValidElement(wt)}function Nt(wt,vt,Gt,An,Sn,Tn){var or=x.useContext(Ft),er=Qe(),Cr=(0,We.Z)(function(){if(Zt(An))return[An];var hr=vt==null||vt===""?[]:Array.isArray(vt)?vt:[vt],ui=(0,Ut.Z)(wt,hr),jr=ui,Qr=void 0;if(Sn){var Or=Sn(ui,wt,Gt);rt(Or)?(jr=Or.children,Qr=Or.props,or.renderWithProps=!0):jr=Or}return[jr,Qr]},[er,wt,An,vt,Sn,Gt],function(hr,ui){if(Tn){var jr=(0,Je.Z)(hr,2),Qr=jr[1],Or=(0,Je.Z)(ui,2),Dr=Or[1];return Tn(Dr,Qr)}return or.renderWithProps?!0:!(0,Ue.Z)(hr,ui,!0)});return Cr}function Qt(wt,vt,Gt,An){var Sn=wt+vt-1;return wt<=An&&Sn>=Gt}function pn(wt,vt){return oe(et,function(Gt){var An=Qt(wt,vt||1,Gt.hoverStartRow,Gt.hoverEndRow);return[An,Gt.onHover]})}var Ot=ae(70425),vn=function(vt){var Gt=vt.ellipsis,An=vt.rowType,Sn=vt.children,Tn,or=Gt===!0?{showTitle:!0}:Gt;return or&&(or.showTitle||An==="header")&&(typeof Sn=="string"||typeof Sn=="number"?Tn=Sn.toString():x.isValidElement(Sn)&&typeof Sn.props.children=="string"&&(Tn=Sn.props.children)),Tn};function _t(wt){var vt,Gt,An,Sn,Tn,or,er,Cr,hr=wt.component,ui=wt.children,jr=wt.ellipsis,Qr=wt.scope,Or=wt.prefixCls,Dr=wt.className,$i=wt.align,bi=wt.record,qi=wt.render,so=wt.dataIndex,Ji=wt.renderIndex,ho=wt.shouldCellUpdate,Bo=wt.index,Qo=wt.rowType,To=wt.colSpan,La=wt.rowSpan,la=wt.fixLeft,ta=wt.fixRight,Ko=wt.firstFixLeft,Ho=wt.lastFixLeft,zo=wt.firstFixRight,vo=wt.lastFixRight,fo=wt.appendNode,ko=wt.additionalProps,$o=ko===void 0?{}:ko,ra=wt.isSticky,xo="".concat(Or,"-cell"),Ja=oe(et,["supportSticky","allColumnsFixedLeft","rowHoverable"]),za=Ja.supportSticky,Dl=Ja.allColumnsFixedLeft,xl=Ja.rowHoverable,ol=Nt(bi,so,Ji,ui,qi,ho),lo=(0,Je.Z)(ol,2),Yl=lo[0],os=lo[1],rs={},il=typeof la=="number"&&za,cu=typeof ta=="number"&&za;il&&(rs.position="sticky",rs.left=la),cu&&(rs.position="sticky",rs.right=ta);var ia=(vt=(Gt=(An=os==null?void 0:os.colSpan)!==null&&An!==void 0?An:$o.colSpan)!==null&&Gt!==void 0?Gt:To)!==null&&vt!==void 0?vt:1,xa=(Sn=(Tn=(or=os==null?void 0:os.rowSpan)!==null&&or!==void 0?or:$o.rowSpan)!==null&&Tn!==void 0?Tn:La)!==null&&Sn!==void 0?Sn:1,Go=pn(Bo,xa),Po=(0,Je.Z)(Go,2),As=Po[0],Es=Po[1],Vs=(0,Ot.zX)(function(qs){var Xs;bi&&Es(Bo,Bo+xa-1),$o==null||(Xs=$o.onMouseEnter)===null||Xs===void 0||Xs.call($o,qs)}),Zs=(0,Ot.zX)(function(qs){var Xs;bi&&Es(-1,-1),$o==null||(Xs=$o.onMouseLeave)===null||Xs===void 0||Xs.call($o,qs)});if(ia===0||xa===0)return null;var al=(er=$o.title)!==null&&er!==void 0?er:vn({rowType:Qo,ellipsis:jr,children:Yl}),hu=Ne()(xo,Dr,(Cr={},(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)(Cr,"".concat(xo,"-fix-left"),il&&za),"".concat(xo,"-fix-left-first"),Ko&&za),"".concat(xo,"-fix-left-last"),Ho&&za),"".concat(xo,"-fix-left-all"),Ho&&Dl&&za),"".concat(xo,"-fix-right"),cu&&za),"".concat(xo,"-fix-right-first"),zo&&za),"".concat(xo,"-fix-right-last"),vo&&za),"".concat(xo,"-ellipsis"),jr),"".concat(xo,"-with-append"),fo),"".concat(xo,"-fix-sticky"),(il||cu)&&ra&&za),(0,je.Z)(Cr,"".concat(xo,"-row-hover"),!os&&As)),$o.className,os==null?void 0:os.className),ua={};$i&&(ua.textAlign=$i);var ea=(0,bt.Z)((0,bt.Z)((0,bt.Z)((0,bt.Z)({},os==null?void 0:os.style),rs),ua),$o.style),bs=Yl;return(0,ft.Z)(bs)==="object"&&!Array.isArray(bs)&&!x.isValidElement(bs)&&(bs=null),jr&&(Ho||zo)&&(bs=x.createElement("span",{className:"".concat(xo,"-content")},bs)),x.createElement(hr,(0,Oe.Z)({},os,$o,{className:hu,style:ea,title:al,scope:Qr,onMouseEnter:xl?Vs:void 0,onMouseLeave:xl?Zs:void 0,colSpan:ia!==1?ia:null,rowSpan:xa!==1?xa:null}),fo,bs)}var Fn=x.memo(_t);function on(wt,vt,Gt,An,Sn){var Tn=Gt[wt]||{},or=Gt[vt]||{},er,Cr;Tn.fixed==="left"?er=An.left[Sn==="rtl"?vt:wt]:or.fixed==="right"&&(Cr=An.right[Sn==="rtl"?wt:vt]);var hr=!1,ui=!1,jr=!1,Qr=!1,Or=Gt[vt+1],Dr=Gt[wt-1],$i=Or&&!Or.fixed||Dr&&!Dr.fixed||Gt.every(function(ho){return ho.fixed==="left"});if(Sn==="rtl"){if(er!==void 0){var bi=Dr&&Dr.fixed==="left";Qr=!bi&&$i}else if(Cr!==void 0){var qi=Or&&Or.fixed==="right";jr=!qi&&$i}}else if(er!==void 0){var so=Or&&Or.fixed==="left";hr=!so&&$i}else if(Cr!==void 0){var Ji=Dr&&Dr.fixed==="right";ui=!Ji&&$i}return{fixLeft:er,fixRight:Cr,lastFixLeft:hr,firstFixRight:ui,lastFixRight:jr,firstFixLeft:Qr,isSticky:An.isSticky}}var de=x.createContext({}),ge=de;function ie(wt){var vt=wt.className,Gt=wt.index,An=wt.children,Sn=wt.colSpan,Tn=Sn===void 0?1:Sn,or=wt.rowSpan,er=wt.align,Cr=oe(et,["prefixCls","direction"]),hr=Cr.prefixCls,ui=Cr.direction,jr=x.useContext(ge),Qr=jr.scrollColumnIndex,Or=jr.stickyOffsets,Dr=jr.flattenColumns,$i=Gt+Tn-1,bi=$i+1===Qr?Tn+1:Tn,qi=on(Gt,Gt+bi-1,Dr,Or,ui);return x.createElement(Fn,(0,Oe.Z)({className:vt,index:Gt,component:"td",prefixCls:hr,record:null,dataIndex:null,align:er,colSpan:bi,rowSpan:or,render:function(){return An}},qi))}var ee=ae(75931),le=["children"];function se(wt){var vt=wt.children,Gt=(0,ee.Z)(wt,le);return x.createElement("tr",Gt,vt)}function Be(wt){var vt=wt.children;return vt}Be.Row=se,Be.Cell=ie;var $e=Be;function at(wt){var vt=wt.children,Gt=wt.stickyOffsets,An=wt.flattenColumns,Sn=oe(et,"prefixCls"),Tn=An.length-1,or=An[Tn],er=x.useMemo(function(){return{stickyOffsets:Gt,flattenColumns:An,scrollColumnIndex:or!=null&&or.scrollbar?Tn:null}},[or,An,Tn,Gt]);return x.createElement(ge.Provider,{value:er},x.createElement("tfoot",{className:"".concat(Sn,"-summary")},vt))}var pt=ze(at),gt=$e,Bt=ae(29301),Lt=ae(3465),Rt=ae(75152),Ct=ae(26112);function st(wt,vt,Gt,An,Sn,Tn,or){wt.push({record:vt,indent:Gt,index:or});var er=Tn(vt),Cr=Sn==null?void 0:Sn.has(er);if(vt&&Array.isArray(vt[An])&&Cr)for(var hr=0;hr1?Ko-1:0),zo=1;zo=1)),style:(0,bt.Z)((0,bt.Z)({},Gt),qi==null?void 0:qi.style)}),Dr.map(function(la,ta){var Ko=la.render,Ho=la.dataIndex,zo=la.className,vo=Mt(Qr,la,ta,Cr,Sn),fo=vo.key,ko=vo.fixedInfo,$o=vo.appendCellNode,ra=vo.additionalCellProps;return x.createElement(Fn,(0,Oe.Z)({className:zo,ellipsis:la.ellipsis,align:la.align,scope:la.rowScope,component:la.rowScope?jr:ui,prefixCls:Or,key:fo,record:An,index:Sn,renderIndex:Tn,dataIndex:Ho,render:Ko,shouldCellUpdate:la.shouldCellUpdate},ko,{appendNode:$o,additionalProps:ra}))})),To;if(Ji&&(ho.current||so)){var La=bi(An,Sn,Cr+1,so);To=x.createElement(an,{expanded:so,className:Ne()("".concat(Or,"-expanded-row"),"".concat(Or,"-expanded-row-level-").concat(Cr+1),Bo),prefixCls:Or,component:hr,cellComponent:ui,colSpan:Dr.length,isEmpty:!1},La)}return x.createElement(x.Fragment,null,Qo,To)}var Dn=ze(sn);function Wn(wt){var vt=wt.columnKey,Gt=wt.onColumnResize,An=x.useRef();return(0,Se.Z)(function(){An.current&&Gt(vt,An.current.offsetWidth)},[]),x.createElement(Bt.Z,{data:vt},x.createElement("td",{ref:An,style:{padding:0,border:0,height:0}},x.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var It=ae(29194);function Wt(wt){var vt=wt.prefixCls,Gt=wt.columnsKey,An=wt.onColumnResize,Sn=x.useRef(null);return x.createElement("tr",{"aria-hidden":"true",className:"".concat(vt,"-measure-row"),style:{height:0,fontSize:0},ref:Sn},x.createElement(Bt.Z.Collection,{onBatchResize:function(or){(0,It.Z)(Sn.current)&&or.forEach(function(er){var Cr=er.data,hr=er.size;An(Cr,hr.offsetWidth)})}},Gt.map(function(Tn){return x.createElement(Wn,{key:Tn,columnKey:Tn,onColumnResize:An})})))}function rn(wt){var vt=wt.data,Gt=wt.measureColumnWidth,An=oe(et,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Sn=An.prefixCls,Tn=An.getComponent,or=An.onColumnResize,er=An.flattenColumns,Cr=An.getRowKey,hr=An.expandedKeys,ui=An.childrenColumnName,jr=An.emptyNode,Qr=$t(vt,ui,hr,Cr),Or=x.useRef({renderWithProps:!1}),Dr=Tn(["body","wrapper"],"tbody"),$i=Tn(["body","row"],"tr"),bi=Tn(["body","cell"],"td"),qi=Tn(["body","cell"],"th"),so;vt.length?so=Qr.map(function(ho,Bo){var Qo=ho.record,To=ho.indent,La=ho.index,la=Cr(Qo,Bo);return x.createElement(Dn,{key:la,rowKey:la,record:Qo,index:Bo,renderIndex:La,rowComponent:$i,cellComponent:bi,scopeCellComponent:qi,indent:To})}):so=x.createElement(an,{expanded:!0,className:"".concat(Sn,"-placeholder"),prefixCls:Sn,component:$i,cellComponent:bi,colSpan:er.length,isEmpty:!0},jr);var Ji=At(er);return x.createElement(Ft.Provider,{value:Or.current},x.createElement(Dr,{className:"".concat(Sn,"-tbody")},Gt&&x.createElement(Wt,{prefixCls:Sn,columnsKey:Ji,onColumnResize:or}),so))}var mn=ze(rn),Xn=["expandable"],Fr="RC_TABLE_INTERNAL_COL_DEFINE";function ri(wt){var vt=wt.expandable,Gt=(0,ee.Z)(wt,Xn),An;return"expandable"in wt?An=(0,bt.Z)((0,bt.Z)({},Gt),vt):An=Gt,An.showExpandColumn===!1&&(An.expandIconColumnIndex=-1),An}var Hr=["columnType"];function Ir(wt){for(var vt=wt.colWidths,Gt=wt.columns,An=wt.columCount,Sn=oe(et,["tableLayout"]),Tn=Sn.tableLayout,or=[],er=An||Gt.length,Cr=!1,hr=er-1;hr>=0;hr-=1){var ui=vt[hr],jr=Gt&&Gt[hr],Qr=void 0,Or=void 0;if(jr&&(Qr=jr[Fr],Tn==="auto"&&(Or=jr.minWidth)),ui||Or||Qr||Cr){var Dr=Qr||{},$i=Dr.columnType,bi=(0,ee.Z)(Dr,Hr);or.unshift(x.createElement("col",(0,Oe.Z)({key:hr,style:{width:ui,minWidth:Or}},bi))),Cr=!0}}return x.createElement("colgroup",null,or)}var qn=Ir,vr=ae(94480),Mr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Yn(wt,vt){return(0,x.useMemo)(function(){for(var Gt=[],An=0;An1?"colgroup":"col":null,ellipsis:bi.ellipsis,align:bi.align,component:or,prefixCls:ui,key:Or[$i]},qi,{additionalProps:so,rowType:"header"}))}))},br=ur;function Xr(wt){var vt=[];function Gt(or,er){var Cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;vt[Cr]=vt[Cr]||[];var hr=er,ui=or.filter(Boolean).map(function(jr){var Qr={key:jr.key,className:jr.className||"",children:jr.title,column:jr,colStart:hr},Or=1,Dr=jr.children;return Dr&&Dr.length>0&&(Or=Gt(Dr,hr,Cr+1).reduce(function($i,bi){return $i+bi},0),Qr.hasSubColumns=!0),"colSpan"in jr&&(Or=jr.colSpan),"rowSpan"in jr&&(Qr.rowSpan=jr.rowSpan),Qr.colSpan=Or,Qr.colEnd=Qr.colStart+Or-1,vt[Cr].push(Qr),hr+=Or,Or});return ui}Gt(wt,0);for(var An=vt.length,Sn=function(er){vt[er].forEach(function(Cr){!("rowSpan"in Cr)&&!Cr.hasSubColumns&&(Cr.rowSpan=An-er)})},Tn=0;Tn1&&arguments[1]!==void 0?arguments[1]:"";return typeof vt=="number"?vt:vt.endsWith("%")?wt*parseFloat(vt)/100:null}function vi(wt,vt,Gt){return x.useMemo(function(){if(vt&&vt>0){var An=0,Sn=0;wt.forEach(function(Qr){var Or=Hi(vt,Qr.width);Or?An+=Or:Sn+=1});var Tn=Math.max(vt,Gt),or=Math.max(Tn-An,Sn),er=Sn,Cr=or/Sn,hr=0,ui=wt.map(function(Qr){var Or=(0,bt.Z)({},Qr),Dr=Hi(vt,Or.width);if(Dr)Or.width=Dr;else{var $i=Math.floor(Cr);Or.width=er===1?or:$i,or-=$i,er-=1}return hr+=Or.width,Or});if(hr0?(0,bt.Z)((0,bt.Z)({},vt),{},{children:Lr(Gt)}):vt})}function mi(wt){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return wt.filter(function(Gt){return Gt&&(0,ft.Z)(Gt)==="object"}).reduce(function(Gt,An,Sn){var Tn=An.fixed,or=Tn===!0?"left":Tn,er="".concat(vt,"-").concat(Sn),Cr=An.children;return Cr&&Cr.length>0?[].concat((0,vr.Z)(Gt),(0,vr.Z)(mi(Cr,er).map(function(hr){return(0,bt.Z)({fixed:or},hr)}))):[].concat((0,vr.Z)(Gt),[(0,bt.Z)((0,bt.Z)({key:er},An),{},{fixed:or})])},[])}function Xt(wt){return wt.map(function(vt){var Gt=vt.fixed,An=(0,ee.Z)(vt,Ki),Sn=Gt;return Gt==="left"?Sn="right":Gt==="right"&&(Sn="left"),(0,bt.Z)({fixed:Sn},An)})}function ln(wt,vt){var Gt=wt.prefixCls,An=wt.columns,Sn=wt.children,Tn=wt.expandable,or=wt.expandedKeys,er=wt.columnTitle,Cr=wt.getRowKey,hr=wt.onTriggerExpand,ui=wt.expandIcon,jr=wt.rowExpandable,Qr=wt.expandIconColumnIndex,Or=wt.direction,Dr=wt.expandRowByClick,$i=wt.columnWidth,bi=wt.fixed,qi=wt.scrollWidth,so=wt.clientWidth,Ji=x.useMemo(function(){var Ho=An||fr(Sn)||[];return Lr(Ho.slice())},[An,Sn]),ho=x.useMemo(function(){if(Tn){var Ho=Ji.slice();if(!Ho.includes(ct)){var zo=Qr||0;zo>=0&&(zo||bi==="left"||!bi)&&Ho.splice(zo,0,ct),bi==="right"&&Ho.splice(Ji.length,0,ct)}var vo=Ho.indexOf(ct);Ho=Ho.filter(function(ra,xo){return ra!==ct||xo===vo});var fo=Ji[vo],ko;bi?ko=bi:ko=fo?fo.fixed:null;var $o=(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)({},Fr,{className:"".concat(Gt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",er),"fixed",ko),"className","".concat(Gt,"-row-expand-icon-cell")),"width",$i),"render",function(xo,Ja,za){var Dl=Cr(Ja,za),xl=or.has(Dl),ol=jr?jr(Ja):!0,lo=ui({prefixCls:Gt,expanded:xl,expandable:ol,record:Ja,onExpand:hr});return Dr?x.createElement("span",{onClick:function(os){return os.stopPropagation()}},lo):lo});return Ho.map(function(ra){return ra===ct?$o:ra})}return Ji.filter(function(ra){return ra!==ct})},[Tn,Ji,Cr,or,ui,Or]),Bo=x.useMemo(function(){var Ho=ho;return vt&&(Ho=vt(Ho)),Ho.length||(Ho=[{render:function(){return null}}]),Ho},[vt,ho,Or]),Qo=x.useMemo(function(){return Or==="rtl"?Xt(mi(Bo)):mi(Bo)},[Bo,Or,qi]),To=x.useMemo(function(){for(var Ho=-1,zo=Qo.length-1;zo>=0;zo-=1){var vo=Qo[zo].fixed;if(vo==="left"||vo===!0){Ho=zo;break}}if(Ho>=0)for(var fo=0;fo<=Ho;fo+=1){var ko=Qo[fo].fixed;if(ko!=="left"&&ko!==!0)return!0}var $o=Qo.findIndex(function(Ja){var za=Ja.fixed;return za==="right"});if($o>=0)for(var ra=$o;ra=$o-er?so(function(ra){return(0,bt.Z)((0,bt.Z)({},ra),{},{isHiddenScrollBar:!0})}):so(function(ra){return(0,bt.Z)((0,bt.Z)({},ra),{},{isHiddenScrollBar:!1})})}})},zo=function(fo){so(function(ko){return(0,bt.Z)((0,bt.Z)({},ko),{},{scrollLeft:fo/jr*Qr||0})})};return x.useImperativeHandle(Gt,function(){return{setScrollLeft:zo,checkScrollBarVisible:Ho}}),x.useEffect(function(){var vo=(0,tr.Z)(document.body,"mouseup",la,!1),fo=(0,tr.Z)(document.body,"mousemove",Ko,!1);return Ho(),function(){vo.remove(),fo.remove()}},[Or,Qo]),x.useEffect(function(){if(Tn.current){for(var vo=[],fo=(0,cr.bn)(Tn.current);fo;)vo.push(fo),fo=fo.parentElement;return vo.forEach(function(ko){return ko.addEventListener("scroll",Ho,!1)}),window.addEventListener("resize",Ho,!1),window.addEventListener("scroll",Ho,!1),Cr.addEventListener("scroll",Ho,!1),function(){vo.forEach(function(ko){return ko.removeEventListener("scroll",Ho)}),window.removeEventListener("resize",Ho),window.removeEventListener("scroll",Ho),Cr.removeEventListener("scroll",Ho)}}},[Cr]),x.useEffect(function(){qi.isHiddenScrollBar||so(function(vo){var fo=Tn.current;return fo?(0,bt.Z)((0,bt.Z)({},vo),{},{scrollLeft:fo.scrollLeft/fo.scrollWidth*fo.clientWidth}):vo})},[qi.isHiddenScrollBar]),jr<=Qr||!Or||qi.isHiddenScrollBar?null:x.createElement("div",{style:{height:(0,Rt.Z)(),width:Qr,bottom:er},className:"".concat(ui,"-sticky-scroll")},x.createElement("div",{onMouseDown:ta,ref:Dr,className:Ne()("".concat(ui,"-sticky-scroll-bar"),(0,je.Z)({},"".concat(ui,"-sticky-scroll-bar-active"),Qo)),style:{width:"".concat(Or,"px"),transform:"translate3d(".concat(qi.scrollLeft,"px, 0, 0)")}}))},gn=x.forwardRef(Kn);function $n(wt){return null}var nr=$n;function pr(wt){return null}var zr=pr,Ni="rc-table",fi=[],Li={};function hi(){return"No Data"}function Si(wt,vt){var Gt=(0,bt.Z)({rowKey:"key",prefixCls:Ni,emptyText:hi},wt),An=Gt.prefixCls,Sn=Gt.className,Tn=Gt.rowClassName,or=Gt.style,er=Gt.data,Cr=Gt.rowKey,hr=Gt.scroll,ui=Gt.tableLayout,jr=Gt.direction,Qr=Gt.title,Or=Gt.footer,Dr=Gt.summary,$i=Gt.caption,bi=Gt.id,qi=Gt.showHeader,so=Gt.components,Ji=Gt.emptyText,ho=Gt.onRow,Bo=Gt.onHeaderRow,Qo=Gt.onScroll,To=Gt.internalHooks,La=Gt.transformColumns,la=Gt.internalRefs,ta=Gt.tailor,Ko=Gt.getContainerWidth,Ho=Gt.sticky,zo=Gt.rowHoverable,vo=zo===void 0?!0:zo,fo=er||fi,ko=!!fo.length,$o=To===Le,ra=x.useCallback(function(ds,Is){return(0,Ut.Z)(so,ds)||Is},[so]),xo=x.useMemo(function(){return typeof Cr=="function"?Cr:function(ds){var Is=ds&&ds[Cr];return Is}},[Cr]),Ja=ra(["body"]),za=Pn(),Dl=(0,Je.Z)(za,3),xl=Dl[0],ol=Dl[1],lo=Dl[2],Yl=kt(Gt,fo,xo),os=(0,Je.Z)(Yl,6),rs=os[0],il=os[1],cu=os[2],ia=os[3],xa=os[4],Go=os[5],Po=hr==null?void 0:hr.x,As=x.useState(0),Es=(0,Je.Z)(As,2),Vs=Es[0],Zs=Es[1],al=yn((0,bt.Z)((0,bt.Z)((0,bt.Z)({},Gt),rs),{},{expandable:!!rs.expandedRowRender,columnTitle:rs.columnTitle,expandedKeys:cu,getRowKey:xo,onTriggerExpand:Go,expandIcon:ia,expandIconColumnIndex:rs.expandIconColumnIndex,direction:jr,scrollWidth:$o&&ta&&typeof Po=="number"?Po:null,clientWidth:Vs}),$o?La:null),hu=(0,Je.Z)(al,4),ua=hu[0],ea=hu[1],bs=hu[2],qs=hu[3],Xs=bs!=null?bs:Po,pu=x.useMemo(function(){return{columns:ua,flattenColumns:ea}},[ua,ea]),Nl=x.useRef(),aA=x.useRef(),Bl=x.useRef(),gs=x.useRef();x.useImperativeHandle(vt,function(){return{nativeElement:Nl.current,scrollTo:function(Is){var mu;if(Bl.current instanceof HTMLElement){var Hu=Is.index,zu=Is.top,dd=Is.key;if(Kt(zu)){var Vc;(Vc=Bl.current)===null||Vc===void 0||Vc.scrollTo({top:zu})}else{var Uc,fd=dd!=null?dd:xo(fo[Hu]);(Uc=Bl.current.querySelector('[data-row-key="'.concat(fd,'"]')))===null||Uc===void 0||Uc.scrollIntoView()}}else(mu=Bl.current)!==null&&mu!==void 0&&mu.scrollTo&&Bl.current.scrollTo(Is)}}});var sl=x.useRef(),ll=x.useState(!1),du=(0,Je.Z)(ll,2),Ol=du[0],ms=du[1],gl=x.useState(!1),Ss=(0,Je.Z)(gl,2),ml=Ss[0],Jl=Ss[1],Pu=x.useState(new Map),_u=(0,Je.Z)(Pu,2),VA=_u[0],ul=_u[1],Nd=At(ea),Ru=Nd.map(function(ds){return VA.get(ds)}),Gu=x.useMemo(function(){return Ru},[Ru.join("_")]),ju=Ar(Gu,ea,jr),Vu=hr&&Zt(hr.y),Al=hr&&Zt(Xs)||!!rs.fixed,vA=Al&&ea.some(function(ds){var Is=ds.fixed;return Is}),bc=x.useRef(),MA=di(Ho,An),XA=MA.isSticky,qd=MA.offsetHeader,ef=MA.offsetSummary,Fs=MA.offsetScroll,ud=MA.stickyClassName,Ef=MA.container,Ka=x.useMemo(function(){return Dr==null?void 0:Dr(fo)},[Dr,fo]),cs=(Vu||XA)&&x.isValidElement(Ka)&&Ka.type===$e&&Ka.props.fixed,kl,ou,Bu;Vu&&(ou={overflowY:ko?"scroll":"auto",maxHeight:hr.y}),Al&&(kl={overflowX:"auto"},Vu||(ou={overflowY:"hidden"}),Bu={width:Xs===!0?"auto":Xs,minWidth:"100%"});var Eu=x.useCallback(function(ds,Is){ul(function(mu){if(mu.get(ds)!==Is){var Hu=new Map(mu);return Hu.set(ds,Is),Hu}return mu})},[]),Xu=hn(null),Qu=(0,Je.Z)(Xu,2),Zc=Qu[0],Sf=Qu[1];function Wc(ds,Is){Is&&(typeof Is=="function"?Is(ds):Is.scrollLeft!==ds&&(Is.scrollLeft=ds,Is.scrollLeft!==ds&&setTimeout(function(){Is.scrollLeft=ds},0)))}var $c=(0,He.Z)(function(ds){var Is=ds.currentTarget,mu=ds.scrollLeft,Hu=jr==="rtl",zu=typeof mu=="number"?mu:Is.scrollLeft,dd=Is||Li;if(!Sf()||Sf()===dd){var Vc;Zc(dd),Wc(zu,aA.current),Wc(zu,Bl.current),Wc(zu,sl.current),Wc(zu,(Vc=bc.current)===null||Vc===void 0?void 0:Vc.setScrollLeft)}var Uc=Is||aA.current;if(Uc){var fd=$o&&ta&&typeof Xs=="number"?Xs:Uc.scrollWidth,Xc=Uc.clientWidth;if(fd===Xc){ms(!1),Jl(!1);return}Hu?(ms(-zu0)):(ms(zu>0),Jl(zu1?bi-vo:0,ko=(0,bt.Z)((0,bt.Z)((0,bt.Z)({},La),hr),{},{flex:"0 0 ".concat(vo,"px"),width:"".concat(vo,"px"),marginRight:fo,pointerEvents:"auto"}),$o=x.useMemo(function(){return jr?Ho<=1:ta===0||Ho===0||Ho>1},[Ho,ta,jr]);$o?ko.visibility="hidden":jr&&(ko.height=Qr==null?void 0:Qr(Ho));var ra=$o?function(){return null}:Or,xo={};return(Ho===0||ta===0)&&(xo.rowSpan=1,xo.colSpan=1),x.createElement(Fn,(0,Oe.Z)({className:Ne()($i,ui),ellipsis:Gt.ellipsis,align:Gt.align,scope:Gt.rowScope,component:or,prefixCls:vt.prefixCls,key:ho,record:Cr,index:Tn,renderIndex:er,dataIndex:Dr,render:ra,shouldCellUpdate:Gt.shouldCellUpdate},Bo,{appendNode:Qo,additionalProps:(0,bt.Z)((0,bt.Z)({},To),{},{style:ko},xo)}))}var Mo=Mi,Ao=["data","index","className","rowKey","style","extra","getHeight"],Xo=x.forwardRef(function(wt,vt){var Gt=wt.data,An=wt.index,Sn=wt.className,Tn=wt.rowKey,or=wt.style,er=wt.extra,Cr=wt.getHeight,hr=(0,ee.Z)(wt,Ao),ui=Gt.record,jr=Gt.indent,Qr=Gt.index,Or=oe(et,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Dr=Or.scrollX,$i=Or.flattenColumns,bi=Or.prefixCls,qi=Or.fixColumn,so=Or.componentWidth,Ji=oe(mo,["getComponent"]),ho=Ji.getComponent,Bo=Vt(ui,Tn,An,jr),Qo=ho(["body","row"],"div"),To=ho(["body","cell"],"div"),La=Bo.rowSupportExpand,la=Bo.expanded,ta=Bo.rowProps,Ko=Bo.expandedRowRender,Ho=Bo.expandedRowClassName,zo;if(La&&la){var vo=Ko(ui,An,jr+1,la),fo=En(Ho,ui,An,jr),ko={};qi&&(ko={style:(0,je.Z)({},"--virtual-width","".concat(so,"px"))});var $o="".concat(bi,"-expanded-row-cell");zo=x.createElement(Qo,{className:Ne()("".concat(bi,"-expanded-row"),"".concat(bi,"-expanded-row-level-").concat(jr+1),fo)},x.createElement(Fn,{component:To,prefixCls:bi,className:Ne()($o,(0,je.Z)({},"".concat($o,"-fixed"),qi)),additionalProps:ko},vo))}var ra=(0,bt.Z)((0,bt.Z)({},or),{},{width:Dr});er&&(ra.position="absolute",ra.pointerEvents="none");var xo=x.createElement(Qo,(0,Oe.Z)({},ta,hr,{"data-row-key":Tn,ref:La?null:vt,className:Ne()(Sn,"".concat(bi,"-row"),ta==null?void 0:ta.className,(0,je.Z)({},"".concat(bi,"-row-extra"),er)),style:(0,bt.Z)((0,bt.Z)({},ra),ta==null?void 0:ta.style)}),$i.map(function(Ja,za){return x.createElement(Mo,{key:za,component:To,rowInfo:Bo,column:Ja,colIndex:za,indent:jr,index:An,renderIndex:Qr,record:ui,inverse:er,getHeight:Cr})}));return La?x.createElement("div",{ref:vt},xo,zo):xo}),bo=ze(Xo),to=bo,Co=x.forwardRef(function(wt,vt){var Gt=wt.data,An=wt.onScroll,Sn=oe(et,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Tn=Sn.flattenColumns,or=Sn.onColumnResize,er=Sn.getRowKey,Cr=Sn.expandedKeys,hr=Sn.prefixCls,ui=Sn.childrenColumnName,jr=Sn.scrollX,Qr=Sn.direction,Or=oe(mo),Dr=Or.sticky,$i=Or.scrollY,bi=Or.listItemHeight,qi=Or.getComponent,so=Or.onScroll,Ji=x.useRef(),ho=$t(Gt,ui,Cr,er),Bo=x.useMemo(function(){var zo=0;return Tn.map(function(vo){var fo=vo.width,ko=vo.key;return zo+=fo,[ko,fo,zo]})},[Tn]),Qo=x.useMemo(function(){return Bo.map(function(zo){return zo[2]})},[Bo]);x.useEffect(function(){Bo.forEach(function(zo){var vo=(0,Je.Z)(zo,2),fo=vo[0],ko=vo[1];or(fo,ko)})},[Bo]),x.useImperativeHandle(vt,function(){var zo,vo={scrollTo:function(ko){var $o;($o=Ji.current)===null||$o===void 0||$o.scrollTo(ko)},nativeElement:(zo=Ji.current)===null||zo===void 0?void 0:zo.nativeElement};return Object.defineProperty(vo,"scrollLeft",{get:function(){var ko;return((ko=Ji.current)===null||ko===void 0?void 0:ko.getScrollInfo().x)||0},set:function(ko){var $o;($o=Ji.current)===null||$o===void 0||$o.scrollTo({left:ko})}}),vo});var To=function(vo,fo){var ko,$o=(ko=ho[fo])===null||ko===void 0?void 0:ko.record,ra=vo.onCell;if(ra){var xo,Ja=ra($o,fo);return(xo=Ja==null?void 0:Ja.rowSpan)!==null&&xo!==void 0?xo:1}return 1},La=function(vo){var fo=vo.start,ko=vo.end,$o=vo.getSize,ra=vo.offsetY;if(ko<0)return null;for(var xo=Tn.filter(function(ia){return To(ia,fo)===0}),Ja=fo,za=function(xa){if(xo=xo.filter(function(Go){return To(Go,xa)===0}),!xo.length)return Ja=xa,1},Dl=fo;Dl>=0&&!za(Dl);Dl-=1);for(var xl=Tn.filter(function(ia){return To(ia,ko)!==1}),ol=ko,lo=function(xa){if(xl=xl.filter(function(Go){return To(Go,xa)!==1}),!xl.length)return ol=Math.max(xa-1,ko),1},Yl=ko;Yl1})&&os.push(xa)},il=Ja;il<=ol;il+=1)rs(il);var cu=os.map(function(ia){var xa=ho[ia],Go=er(xa.record,ia),Po=function(Vs){var Zs=ia+Vs-1,al=er(ho[Zs].record,Zs),hu=$o(Go,al);return hu.bottom-hu.top},As=$o(Go);return x.createElement(to,{key:ia,data:xa,rowKey:Go,index:ia,style:{top:-ra+As.top},extra:!0,getHeight:Po})});return cu},la=x.useMemo(function(){return{columnsOffset:Qo}},[Qo]),ta="".concat(hr,"-tbody"),Ko=qi(["body","wrapper"]),Ho={};return Dr&&(Ho.position="sticky",Ho.bottom=0,(0,ft.Z)(Dr)==="object"&&Dr.offsetScroll&&(Ho.bottom=Dr.offsetScroll)),x.createElement(Yi.Provider,{value:la},x.createElement(eo.Z,{fullHeight:!1,ref:Ji,prefixCls:"".concat(ta,"-virtual"),styles:{horizontalScrollBar:Ho},className:ta,height:$i,itemHeight:bi||24,data:ho,itemKey:function(vo){return er(vo.record)},component:Ko,scrollWidth:jr,direction:Qr,onVirtualScroll:function(vo){var fo,ko=vo.x;An({currentTarget:(fo=Ji.current)===null||fo===void 0?void 0:fo.nativeElement,scrollLeft:ko})},onScroll:so,extraRender:La},function(zo,vo,fo){var ko=er(zo.record,vo);return x.createElement(to,{data:zo,rowKey:ko,index:vo,style:fo.style})}))}),Vo=ze(Co),_n=Vo,Do=function(vt,Gt){var An=Gt.ref,Sn=Gt.onScroll;return x.createElement(_n,{ref:An,data:vt,onScroll:Sn})};function Vi(wt,vt){var Gt=wt.data,An=wt.columns,Sn=wt.scroll,Tn=wt.sticky,or=wt.prefixCls,er=or===void 0?Ni:or,Cr=wt.className,hr=wt.listItemHeight,ui=wt.components,jr=wt.onScroll,Qr=Sn||{},Or=Qr.x,Dr=Qr.y;typeof Or!="number"&&(Or=1),typeof Dr!="number"&&(Dr=500);var $i=(0,Ot.zX)(function(so,Ji){return(0,Ut.Z)(ui,so)||Ji}),bi=(0,Ot.zX)(jr),qi=x.useMemo(function(){return{sticky:Tn,scrollY:Dr,listItemHeight:hr,getComponent:$i,onScroll:bi}},[Tn,Dr,hr,$i,bi]);return x.createElement(mo.Provider,{value:qi},x.createElement(Ti,(0,Oe.Z)({},wt,{className:Ne()(Cr,"".concat(er,"-virtual")),scroll:(0,bt.Z)((0,bt.Z)({},Sn),{},{x:Or}),components:(0,bt.Z)((0,bt.Z)({},ui),{},{body:Gt!=null&&Gt.length?Do:void 0}),columns:An,internalHooks:Le,tailor:!0,ref:vt})))}var Ur=x.forwardRef(Vi);function qr(wt){return ke(Ur,wt)}var ni=qr(),Wr=null,ro=wt=>null,oi=wt=>null,yr=ae(84105),ei=ae(82661),co=ae(34643),Jo=ae(34061),No=ae(18929);function ma(wt){const[vt,Gt]=(0,x.useState)(null);return[(0,x.useCallback)((Tn,or,er)=>{const Cr=vt!=null?vt:Tn,hr=Math.min(Cr||0,Tn),ui=Math.max(Cr||0,Tn),jr=or.slice(hr,ui+1).map(Dr=>wt(Dr)),Qr=jr.some(Dr=>!er.has(Dr)),Or=[];return jr.forEach(Dr=>{Qr?(er.has(Dr)||Or.push(Dr),er.add(Dr)):(er.delete(Dr),Or.push(Dr))}),Gt(Qr?ui:null),Or},[vt]),Tn=>{Gt(Tn)}]}var Oo=ae(32383),qo=ae(62673),jo=ae(75727),aa=ae(47889);const fa={},Wa="SELECT_ALL",Ds="SELECT_INVERT",zs="SELECT_NONE",is=[],us=(wt,vt)=>{let Gt=[];return(vt||[]).forEach(An=>{Gt.push(An),An&&typeof An=="object"&&wt in An&&(Gt=[].concat((0,vr.Z)(Gt),(0,vr.Z)(us(wt,An[wt]))))}),Gt};var go=(wt,vt)=>{const{preserveSelectedRowKeys:Gt,selectedRowKeys:An,defaultSelectedRowKeys:Sn,getCheckboxProps:Tn,onChange:or,onSelect:er,onSelectAll:Cr,onSelectInvert:hr,onSelectNone:ui,onSelectMultiple:jr,columnWidth:Qr,type:Or,selections:Dr,fixed:$i,renderCell:bi,hideSelectAll:qi,checkStrictly:so=!0}=vt||{},{prefixCls:Ji,data:ho,pageData:Bo,getRecordByKey:Qo,getRowKey:To,expandType:La,childrenColumnName:la,locale:ta,getPopupContainer:Ko}=wt,Ho=(0,Oo.ln)("Table"),[zo,vo]=ma(ia=>ia),[fo,ko]=(0,No.Z)(An||Sn||is,{value:An}),$o=x.useRef(new Map),ra=(0,x.useCallback)(ia=>{if(Gt){const xa=new Map;ia.forEach(Go=>{let Po=Qo(Go);!Po&&$o.current.has(Go)&&(Po=$o.current.get(Go)),xa.set(Go,Po)}),$o.current=xa}},[Qo,Gt]);x.useEffect(()=>{ra(fo)},[fo]);const xo=(0,x.useMemo)(()=>us(la,Bo),[la,Bo]),{keyEntities:Ja}=(0,x.useMemo)(()=>{if(so)return{keyEntities:null};let ia=ho;if(Gt){const xa=new Set(xo.map((Po,As)=>To(Po,As))),Go=Array.from($o.current).reduce((Po,As)=>{let[Es,Vs]=As;return xa.has(Es)?Po:Po.concat(Vs)},[]);ia=[].concat((0,vr.Z)(ia),(0,vr.Z)(Go))}return(0,Jo.I8)(ia,{externalGetKey:To,childrenPropName:la})},[ho,To,so,la,Gt,xo]),za=(0,x.useMemo)(()=>{const ia=new Map;return xo.forEach((xa,Go)=>{const Po=To(xa,Go),As=(Tn?Tn(xa):null)||{};ia.set(Po,As)}),ia},[xo,To,Tn]),Dl=(0,x.useCallback)(ia=>{const xa=To(ia);let Go;return za.has(xa)?Go=za.get(To(ia)):Go=Tn?Tn(ia):void 0,!!(Go!=null&&Go.disabled)},[za,To]),[xl,ol]=(0,x.useMemo)(()=>{if(so)return[fo||[],[]];const{checkedKeys:ia,halfCheckedKeys:xa}=(0,co.S)(fo,!0,Ja,Dl);return[ia||[],xa]},[fo,so,Ja,Dl]),lo=(0,x.useMemo)(()=>{const ia=Or==="radio"?xl.slice(0,1):xl;return new Set(ia)},[xl,Or]),Yl=(0,x.useMemo)(()=>Or==="radio"?new Set:new Set(ol),[ol,Or]);x.useEffect(()=>{vt||ko(is)},[!!vt]);const os=(0,x.useCallback)((ia,xa)=>{let Go,Po;ra(ia),Gt?(Go=ia,Po=ia.map(As=>$o.current.get(As))):(Go=[],Po=[],ia.forEach(As=>{const Es=Qo(As);Es!==void 0&&(Go.push(As),Po.push(Es))})),ko(Go),or==null||or(Go,Po,{type:xa})},[ko,Qo,or,Gt]),rs=(0,x.useCallback)((ia,xa,Go,Po)=>{if(er){const As=Go.map(Es=>Qo(Es));er(Qo(ia),xa,As,Po)}os(Go,"single")},[er,Qo,os]),il=(0,x.useMemo)(()=>!Dr||qi?null:(Dr===!0?[Wa,Ds,zs]:Dr).map(xa=>xa===Wa?{key:"all",text:ta.selectionAll,onSelect(){os(ho.map((Go,Po)=>To(Go,Po)).filter(Go=>{const Po=za.get(Go);return!(Po!=null&&Po.disabled)||lo.has(Go)}),"all")}}:xa===Ds?{key:"invert",text:ta.selectInvert,onSelect(){const Go=new Set(lo);Bo.forEach((As,Es)=>{const Vs=To(As,Es),Zs=za.get(Vs);Zs!=null&&Zs.disabled||(Go.has(Vs)?Go.delete(Vs):Go.add(Vs))});const Po=Array.from(Go);hr&&(Ho.deprecated(!1,"onSelectInvert","onChange"),hr(Po)),os(Po,"invert")}}:xa===zs?{key:"none",text:ta.selectNone,onSelect(){ui==null||ui(),os(Array.from(lo).filter(Go=>{const Po=za.get(Go);return Po==null?void 0:Po.disabled}),"none")}}:xa).map(xa=>Object.assign(Object.assign({},xa),{onSelect:function(){for(var Go,Po,As=arguments.length,Es=new Array(As),Vs=0;Vs{var xa;if(!vt)return ia.filter(gs=>gs!==fa);let Go=(0,vr.Z)(ia);const Po=new Set(lo),As=xo.map(To).filter(gs=>!za.get(gs).disabled),Es=As.every(gs=>Po.has(gs)),Vs=As.some(gs=>Po.has(gs)),Zs=()=>{const gs=[];Es?As.forEach(ll=>{Po.delete(ll),gs.push(ll)}):As.forEach(ll=>{Po.has(ll)||(Po.add(ll),gs.push(ll))});const sl=Array.from(Po);Cr==null||Cr(!Es,sl.map(ll=>Qo(ll)),gs.map(ll=>Qo(ll))),os(sl,"all"),vo(null)};let al,hu;if(Or!=="radio"){let gs;if(il){const ms={getPopupContainer:Ko,items:il.map((gl,Ss)=>{const{key:ml,text:Jl,onSelect:Pu}=gl;return{key:ml!=null?ml:Ss,onClick:()=>{Pu==null||Pu(As)},label:Jl}})};gs=x.createElement("div",{className:`${Ji}-selection-extra`},x.createElement(jo.Z,{menu:ms,getPopupContainer:Ko},x.createElement("span",null,x.createElement(yr.Z,null))))}const sl=xo.map((ms,gl)=>{const Ss=To(ms,gl),ml=za.get(Ss)||{};return Object.assign({checked:Po.has(Ss)},ml)}).filter(ms=>{let{disabled:gl}=ms;return gl}),ll=!!sl.length&&sl.length===xo.length,du=ll&&sl.every(ms=>{let{checked:gl}=ms;return gl}),Ol=ll&&sl.some(ms=>{let{checked:gl}=ms;return gl});hu=x.createElement(qo.default,{checked:ll?du:!!xo.length&&Es,indeterminate:ll?!du&&Ol:!Es&&Vs,onChange:Zs,disabled:xo.length===0||ll,"aria-label":gs?"Custom selection":"Select all",skipGroup:!0}),al=!qi&&x.createElement("div",{className:`${Ji}-selection`},hu,gs)}let ua;Or==="radio"?ua=(gs,sl,ll)=>{const du=To(sl,ll),Ol=Po.has(du),ms=za.get(du);return{node:x.createElement(aa.ZP,Object.assign({},ms,{checked:Ol,onClick:gl=>{var Ss;gl.stopPropagation(),(Ss=ms==null?void 0:ms.onClick)===null||Ss===void 0||Ss.call(ms,gl)},onChange:gl=>{var Ss;Po.has(du)||rs(du,!0,[du],gl.nativeEvent),(Ss=ms==null?void 0:ms.onChange)===null||Ss===void 0||Ss.call(ms,gl)}})),checked:Ol}}:ua=(gs,sl,ll)=>{var du;const Ol=To(sl,ll),ms=Po.has(Ol),gl=Yl.has(Ol),Ss=za.get(Ol);let ml;return La==="nest"?ml=gl:ml=(du=Ss==null?void 0:Ss.indeterminate)!==null&&du!==void 0?du:gl,{node:x.createElement(qo.default,Object.assign({},Ss,{indeterminate:ml,checked:ms,skipGroup:!0,onClick:Jl=>{var Pu;Jl.stopPropagation(),(Pu=Ss==null?void 0:Ss.onClick)===null||Pu===void 0||Pu.call(Ss,Jl)},onChange:Jl=>{var Pu;const{nativeEvent:_u}=Jl,{shiftKey:VA}=_u,ul=As.findIndex(Ru=>Ru===Ol),Nd=xl.some(Ru=>As.includes(Ru));if(VA&&so&&Nd){const Ru=zo(ul,As,Po),Gu=Array.from(Po);jr==null||jr(!ms,Gu.map(ju=>Qo(ju)),Ru.map(ju=>Qo(ju))),os(Gu,"multiple")}else{const Ru=xl;if(so){const Gu=ms?(0,ei._5)(Ru,Ol):(0,ei.L0)(Ru,Ol);rs(Ol,!ms,Gu,_u)}else{const Gu=(0,co.S)([].concat((0,vr.Z)(Ru),[Ol]),!0,Ja,Dl),{checkedKeys:ju,halfCheckedKeys:Vu}=Gu;let Al=ju;if(ms){const vA=new Set(ju);vA.delete(Ol),Al=(0,co.S)(Array.from(vA),{checked:!1,halfCheckedKeys:Vu},Ja,Dl).checkedKeys}rs(Ol,!ms,Al,_u)}}vo(ms?null:ul),(Pu=Ss==null?void 0:Ss.onChange)===null||Pu===void 0||Pu.call(Ss,Jl)}})),checked:ms}};const ea=(gs,sl,ll)=>{const{node:du,checked:Ol}=ua(gs,sl,ll);return bi?bi(Ol,sl,ll,du):du};if(!Go.includes(fa))if(Go.findIndex(gs=>{var sl;return((sl=gs[Fr])===null||sl===void 0?void 0:sl.columnType)==="EXPAND_COLUMN"})===0){const[gs,...sl]=Go;Go=[gs,fa].concat((0,vr.Z)(sl))}else Go=[fa].concat((0,vr.Z)(Go));const bs=Go.indexOf(fa);Go=Go.filter((gs,sl)=>gs!==fa||sl===bs);const qs=Go[bs-1],Xs=Go[bs+1];let pu=$i;pu===void 0&&((Xs==null?void 0:Xs.fixed)!==void 0?pu=Xs.fixed:(qs==null?void 0:qs.fixed)!==void 0&&(pu=qs.fixed)),pu&&qs&&((xa=qs[Fr])===null||xa===void 0?void 0:xa.columnType)==="EXPAND_COLUMN"&&qs.fixed===void 0&&(qs.fixed=pu);const Nl=Ne()(`${Ji}-selection-col`,{[`${Ji}-selection-col-with-dropdown`]:Dr&&Or==="checkbox"}),aA=()=>vt!=null&&vt.columnTitle?typeof vt.columnTitle=="function"?vt.columnTitle(hu):vt.columnTitle:al,Bl={fixed:pu,width:Qr,className:`${Ji}-selection-column`,title:aA(),render:ea,onCell:vt.onCell,[Fr]:{className:Nl}};return Go.map(gs=>gs===fa?Bl:gs)},[To,xo,vt,xl,lo,Yl,Qr,il,La,za,jr,rs,Dl]),lo]},Fa=ae(2738);function hs(wt,vt){return wt._antProxy=wt._antProxy||{},Object.keys(vt).forEach(Gt=>{if(!(Gt in wt._antProxy)){const An=wt[Gt];wt._antProxy[Gt]=An,wt[Gt]=vt[Gt]}}),wt}function el(wt,vt){return(0,x.useImperativeHandle)(wt,()=>{const Gt=vt(),{nativeElement:An}=Gt;return typeof Proxy!="undefined"?new Proxy(An,{get(Sn,Tn){return Gt[Tn]?Gt[Tn]:Reflect.get(Sn,Tn)}}):hs(An,Gt)})}var tl=ae(83010),nl=ae(48755),hl=ae(38406),lu=ae(83397),Js=ae(31756),Kl=ae(13783),Zl=ae(85981),Lu=ae(31709),dl=ae(29787),FA=ae(57700);function hA(wt){return vt=>{const{prefixCls:Gt,onExpand:An,record:Sn,expanded:Tn,expandable:or}=vt,er=`${Gt}-row-expand-icon`;return x.createElement("button",{type:"button",onClick:Cr=>{An(Sn,Cr),Cr.stopPropagation()},className:Ne()(er,{[`${er}-spaced`]:!or,[`${er}-expanded`]:or&&Tn,[`${er}-collapsed`]:or&&!Tn}),"aria-label":Tn?wt.collapse:wt.expand,"aria-expanded":Tn})}}var ga=hA;function Ia(wt){return(Gt,An)=>{const Sn=Gt.querySelector(`.${wt}-container`);let Tn=An;if(Sn){const or=getComputedStyle(Sn),er=parseInt(or.borderLeftWidth,10),Cr=parseInt(or.borderRightWidth,10);Tn=An-er-Cr}return Tn}}const va=(wt,vt)=>"key"in wt&&wt.key!==void 0&&wt.key!==null?wt.key:wt.dataIndex?Array.isArray(wt.dataIndex)?wt.dataIndex.join("."):wt.dataIndex:vt;function Ca(wt,vt){return vt?`${vt}-${wt}`:`${wt}`}const qa=(wt,vt)=>typeof wt=="function"?wt(vt):wt,Xa=(wt,vt)=>{const Gt=qa(wt,vt);return Object.prototype.toString.call(Gt)==="[object Object]"?"":Gt};var Ha={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"},Wl=Ha,uu=ae(7657),ki=function(vt,Gt){return x.createElement(uu.Z,(0,Oe.Z)({},vt,{ref:Gt,icon:Wl}))},na=x.forwardRef(ki),Ta=na,iu=ae(9981),Pl=ae(40192);function ps(wt){const vt=x.useRef(wt),Gt=(0,Pl.Z)();return[()=>vt.current,An=>{vt.current=An,Gt()}]}var Cu=ae(7939),pl=ae(584),Kc=ae(93041),IA=ae(78857),xu=ae(18287),sa=ae(47472),Wu=ae(49397),Mu=wt=>{const{value:vt,filterSearch:Gt,tablePrefixCls:An,locale:Sn,onChange:Tn}=wt;return Gt?x.createElement("div",{className:`${An}-filter-dropdown-search`},x.createElement(Wu.Z,{prefix:x.createElement(sa.Z,null),placeholder:Sn.filterSearchPlaceholder,onChange:Tn,value:vt,htmlSize:1,className:`${An}-filter-dropdown-search-input`})):null},Ns=ae(10228);const eA=wt=>{const{keyCode:vt}=wt;vt===Ns.Z.ENTER&&wt.stopPropagation()};var _A=x.forwardRef((wt,vt)=>x.createElement("div",{className:wt.className,onClick:Gt=>Gt.stopPropagation(),onKeyDown:eA,ref:vt},wt.children));function bl(wt){let vt=[];return(wt||[]).forEach(Gt=>{let{value:An,children:Sn}=Gt;vt.push(An),Sn&&(vt=[].concat((0,vr.Z)(vt),(0,vr.Z)(bl(Sn))))}),vt}function Cl(wt){return wt.some(vt=>{let{children:Gt}=vt;return Gt})}function rl(wt,vt){return typeof vt=="string"||typeof vt=="number"?vt==null?void 0:vt.toString().toLowerCase().includes(wt.trim().toLowerCase()):!1}function $l(wt){let{filters:vt,prefixCls:Gt,filteredKeys:An,filterMultiple:Sn,searchValue:Tn,filterSearch:or}=wt;return vt.map((er,Cr)=>{const hr=String(er.value);if(er.children)return{key:hr||Cr,label:er.text,popupClassName:`${Gt}-dropdown-submenu`,children:$l({filters:er.children,prefixCls:Gt,filteredKeys:An,filterMultiple:Sn,searchValue:Tn,filterSearch:or})};const ui=Sn?qo.default:aa.ZP,jr={key:er.value!==void 0?hr:Cr,label:x.createElement(x.Fragment,null,x.createElement(ui,{checked:An.includes(hr)}),x.createElement("span",null,er.text))};return Tn.trim()?typeof or=="function"?or(Tn,er)?jr:null:rl(Tn,er.text)?jr:null:jr})}function Gl(wt){return wt||[]}var nd=wt=>{var vt,Gt,An,Sn;const{tablePrefixCls:Tn,prefixCls:or,column:er,dropdownPrefixCls:Cr,columnKey:hr,filterOnClose:ui,filterMultiple:jr,filterMode:Qr="menu",filterSearch:Or=!1,filterState:Dr,triggerFilter:$i,locale:bi,children:qi,getPopupContainer:so,rootClassName:Ji}=wt,{filterResetToDefaultFilteredValue:ho,defaultFilteredValue:Bo,filterDropdownProps:Qo={},filterDropdownOpen:To,filterDropdownVisible:La,onFilterDropdownVisibleChange:la,onFilterDropdownOpenChange:ta}=er,[Ko,Ho]=x.useState(!1),zo=!!(Dr&&(!((vt=Dr.filteredKeys)===null||vt===void 0)&&vt.length||Dr.forceFiltered)),vo=ua=>{var ea;Ho(ua),(ea=Qo.onOpenChange)===null||ea===void 0||ea.call(Qo,ua),ta==null||ta(ua),la==null||la(ua)},fo=(Sn=(An=(Gt=Qo.open)!==null&&Gt!==void 0?Gt:To)!==null&&An!==void 0?An:La)!==null&&Sn!==void 0?Sn:Ko,ko=Dr==null?void 0:Dr.filteredKeys,[$o,ra]=ps(Gl(ko)),xo=ua=>{let{selectedKeys:ea}=ua;ra(ea)},Ja=(ua,ea)=>{let{node:bs,checked:qs}=ea;xo(jr?{selectedKeys:ua}:{selectedKeys:qs&&bs.key?[bs.key]:[]})};x.useEffect(()=>{Ko&&xo({selectedKeys:Gl(ko)})},[ko]);const[za,Dl]=x.useState([]),xl=ua=>{Dl(ua)},[ol,lo]=x.useState(""),Yl=ua=>{const{value:ea}=ua.target;lo(ea)};x.useEffect(()=>{Ko||lo("")},[Ko]);const os=ua=>{const ea=ua!=null&&ua.length?ua:null;if(ea===null&&(!Dr||!Dr.filteredKeys)||(0,Ue.Z)(ea,Dr==null?void 0:Dr.filteredKeys,!0))return null;$i({column:er,key:hr,filteredKeys:ea})},rs=()=>{vo(!1),os($o())},il=function(){let{confirm:ua,closeDropdown:ea}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ua&&os([]),ea&&vo(!1),lo(""),ra(ho?(Bo||[]).map(bs=>String(bs)):[])},cu=function(){let{closeDropdown:ua}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ua&&vo(!1),os($o())},ia=(ua,ea)=>{ea.source==="trigger"&&(ua&&ko!==void 0&&ra(Gl(ko)),vo(ua),!ua&&!er.filterDropdown&&ui&&rs())},xa=Ne()({[`${Cr}-menu-without-submenu`]:!Cl(er.filters||[])}),Go=ua=>{if(ua.target.checked){const ea=bl(er==null?void 0:er.filters).map(bs=>String(bs));ra(ea)}else ra([])},Po=ua=>{let{filters:ea}=ua;return(ea||[]).map((bs,qs)=>{const Xs=String(bs.value),pu={title:bs.text,key:bs.value!==void 0?Xs:String(qs)};return bs.children&&(pu.children=Po({filters:bs.children})),pu})},As=ua=>{var ea;return Object.assign(Object.assign({},ua),{text:ua.title,value:ua.key,children:((ea=ua.children)===null||ea===void 0?void 0:ea.map(bs=>As(bs)))||[]})};let Es;const{direction:Vs,renderEmpty:Zs}=x.useContext(nl.E_);if(typeof er.filterDropdown=="function")Es=er.filterDropdown({prefixCls:`${Cr}-custom`,setSelectedKeys:ua=>xo({selectedKeys:ua}),selectedKeys:$o(),confirm:cu,clearFilters:il,filters:er.filters,visible:fo,close:()=>{vo(!1)}});else if(er.filterDropdown)Es=er.filterDropdown;else{const ua=$o()||[],ea=()=>{var qs,Xs;const pu=(qs=Zs==null?void 0:Zs("Table.filter"))!==null&&qs!==void 0?qs:x.createElement(pl.Z,{image:pl.Z.PRESENTED_IMAGE_SIMPLE,description:bi.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((er.filters||[]).length===0)return pu;if(Qr==="tree")return x.createElement(x.Fragment,null,x.createElement(Mu,{filterSearch:Or,value:ol,onChange:Yl,tablePrefixCls:Tn,locale:bi}),x.createElement("div",{className:`${Tn}-filter-dropdown-tree`},jr?x.createElement(qo.default,{checked:ua.length===bl(er.filters).length,indeterminate:ua.length>0&&ua.lengthtypeof Or=="function"?Or(ol,As(Bl)):rl(ol,Bl.title):void 0})));const Nl=$l({filters:er.filters||[],filterSearch:Or,prefixCls:or,filteredKeys:$o(),filterMultiple:jr,searchValue:ol}),aA=Nl.every(Bl=>Bl===null);return x.createElement(x.Fragment,null,x.createElement(Mu,{filterSearch:Or,value:ol,onChange:Yl,tablePrefixCls:Tn,locale:bi}),aA?pu:x.createElement(Kc.default,{selectable:!0,multiple:jr,prefixCls:`${Cr}-menu`,className:xa,onSelect:xo,onDeselect:xo,selectedKeys:ua,getPopupContainer:so,openKeys:za,onOpenChange:xl,items:Nl}))},bs=()=>ho?(0,Ue.Z)((Bo||[]).map(qs=>String(qs)),ua,!0):ua.length===0;Es=x.createElement(x.Fragment,null,ea(),x.createElement("div",{className:`${or}-dropdown-btns`},x.createElement(Cu.ZP,{type:"link",size:"small",disabled:bs(),onClick:()=>il()},bi.filterReset),x.createElement(Cu.ZP,{type:"primary",size:"small",onClick:rs},bi.filterConfirm)))}er.filterDropdown&&(Es=x.createElement(IA.J,{selectable:void 0},Es)),Es=x.createElement(_A,{className:`${or}-dropdown`},Es);const al=()=>{let ua;return typeof er.filterIcon=="function"?ua=er.filterIcon(zo):er.filterIcon?ua=er.filterIcon:ua=x.createElement(Ta,null),x.createElement("span",{role:"button",tabIndex:-1,className:Ne()(`${or}-trigger`,{active:zo}),onClick:ea=>{ea.stopPropagation()}},ua)},hu=(0,iu.Z)({trigger:["click"],placement:Vs==="rtl"?"bottomLeft":"bottomRight",children:al(),getPopupContainer:so},Object.assign(Object.assign({},Qo),{rootClassName:Ne()(Ji,Qo.rootClassName),open:fo,onOpenChange:ia,dropdownRender:()=>typeof(Qo==null?void 0:Qo.dropdownRender)=="function"?Qo.dropdownRender(Es):Es}));return x.createElement("div",{className:`${or}-column`},x.createElement("span",{className:`${Tn}-column-title`},qi),x.createElement(jo.Z,Object.assign({},hu)))};const _l=(wt,vt,Gt)=>{let An=[];return(wt||[]).forEach((Sn,Tn)=>{var or;const er=Ca(Tn,Gt);if(Sn.filters||"filterDropdown"in Sn||"onFilter"in Sn)if("filteredValue"in Sn){let Cr=Sn.filteredValue;"filterDropdown"in Sn||(Cr=(or=Cr==null?void 0:Cr.map(String))!==null&&or!==void 0?or:Cr),An.push({column:Sn,key:va(Sn,er),filteredKeys:Cr,forceFiltered:Sn.filtered})}else An.push({column:Sn,key:va(Sn,er),filteredKeys:vt&&Sn.defaultFilteredValue?Sn.defaultFilteredValue:void 0,forceFiltered:Sn.filtered});"children"in Sn&&(An=[].concat((0,vr.Z)(An),(0,vr.Z)(_l(Sn.children,vt,er))))}),An};function Uu(wt,vt,Gt,An,Sn,Tn,or,er,Cr){return Gt.map((hr,ui)=>{const jr=Ca(ui,er),{filterOnClose:Qr=!0,filterMultiple:Or=!0,filterMode:Dr,filterSearch:$i}=hr;let bi=hr;if(bi.filters||bi.filterDropdown){const qi=va(bi,jr),so=An.find(Ji=>{let{key:ho}=Ji;return qi===ho});bi=Object.assign(Object.assign({},bi),{title:Ji=>x.createElement(nd,{tablePrefixCls:wt,prefixCls:`${wt}-filter`,dropdownPrefixCls:vt,column:bi,columnKey:qi,filterState:so,filterOnClose:Qr,filterMultiple:Or,filterMode:Dr,filterSearch:$i,triggerFilter:Tn,locale:Sn,getPopupContainer:or,rootClassName:Cr},qa(hr.title,Ji))})}return"children"in bi&&(bi=Object.assign(Object.assign({},bi),{children:Uu(wt,vt,bi.children,An,Sn,Tn,or,jr,Cr)})),bi})}const Pa=wt=>{const vt={};return wt.forEach(Gt=>{let{key:An,filteredKeys:Sn,column:Tn}=Gt;const or=An,{filters:er,filterDropdown:Cr}=Tn;if(Cr)vt[or]=Sn||null;else if(Array.isArray(Sn)){const hr=bl(er);vt[or]=hr.filter(ui=>Sn.includes(String(ui)))}else vt[or]=null}),vt},Ua=(wt,vt,Gt)=>vt.reduce((Sn,Tn)=>{const{column:{onFilter:or,filters:er},filteredKeys:Cr}=Tn;return or&&Cr&&Cr.length?Sn.map(hr=>Object.assign({},hr)).filter(hr=>Cr.some(ui=>{const jr=bl(er),Qr=jr.findIndex(Dr=>String(Dr)===String(ui)),Or=Qr!==-1?jr[Qr]:ui;return hr[Gt]&&(hr[Gt]=Ua(hr[Gt],vt,Gt)),or(Or,hr)})):Sn},wt),Rs=wt=>wt.flatMap(vt=>"children"in vt?[vt].concat((0,vr.Z)(Rs(vt.children||[]))):[vt]);var Vl=wt=>{const{prefixCls:vt,dropdownPrefixCls:Gt,mergedColumns:An,onFilterChange:Sn,getPopupContainer:Tn,locale:or,rootClassName:er}=wt,Cr=(0,Oo.ln)("Table"),hr=x.useMemo(()=>Rs(An||[]),[An]),[ui,jr]=x.useState(()=>_l(hr,!0)),Qr=x.useMemo(()=>{const bi=_l(hr,!1);if(bi.length===0)return bi;let qi=!0,so=!0;if(bi.forEach(Ji=>{let{filteredKeys:ho}=Ji;ho!==void 0?qi=!1:so=!1}),qi){const Ji=(hr||[]).map((ho,Bo)=>va(ho,Ca(Bo)));return ui.filter(ho=>{let{key:Bo}=ho;return Ji.includes(Bo)}).map(ho=>{const Bo=hr[Ji.findIndex(Qo=>Qo===ho.key)];return Object.assign(Object.assign({},ho),{column:Object.assign(Object.assign({},ho.column),Bo),forceFiltered:Bo.filtered})})}return bi},[hr,ui]),Or=x.useMemo(()=>Pa(Qr),[Qr]),Dr=bi=>{const qi=Qr.filter(so=>{let{key:Ji}=so;return Ji!==bi.key});qi.push(bi),jr(qi),Sn(Pa(qi),qi)};return[bi=>Uu(vt,Gt,bi,Qr,or,Dr,Tn,void 0,er),Qr,Or]},WA=(wt,vt,Gt)=>{const An=x.useRef({});function Sn(Tn){var or;if(!An.current||An.current.data!==wt||An.current.childrenColumnName!==vt||An.current.getRowKey!==Gt){let Cr=function(hr){hr.forEach((ui,jr)=>{const Qr=Gt(ui,jr);er.set(Qr,ui),ui&&typeof ui=="object"&&vt in ui&&Cr(ui[vt]||[])})};const er=new Map;Cr(wt),An.current={data:wt,childrenColumnName:vt,kvMap:er,getRowKey:Gt}}return(or=An.current.kvMap)===null||or===void 0?void 0:or.get(Tn)}return[Sn]},gA=function(wt,vt){var Gt={};for(var An in wt)Object.prototype.hasOwnProperty.call(wt,An)&&vt.indexOf(An)<0&&(Gt[An]=wt[An]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Sn=0,An=Object.getOwnPropertySymbols(wt);Sn{const Tn=wt[Sn];typeof Tn!="function"&&(Gt[Sn]=Tn)}),Gt}function mA(wt,vt,Gt){const An=Gt&&typeof Gt=="object"?Gt:{},{total:Sn=0}=An,Tn=gA(An,["total"]),[or,er]=(0,x.useState)(()=>({current:"defaultCurrent"in Tn?Tn.defaultCurrent:1,pageSize:"defaultPageSize"in Tn?Tn.defaultPageSize:fc})),Cr=(0,iu.Z)(or,Tn,{total:Sn>0?Sn:wt}),hr=Math.ceil((Sn||wt)/Cr.pageSize);Cr.current>hr&&(Cr.current=hr||1);const ui=(Qr,Or)=>{er({current:Qr!=null?Qr:1,pageSize:Or||Cr.pageSize})},jr=(Qr,Or)=>{var Dr;Gt&&((Dr=Gt.onChange)===null||Dr===void 0||Dr.call(Gt,Qr,Or)),ui(Qr,Or),vt(Qr,Or||(Cr==null?void 0:Cr.pageSize))};return Gt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Cr),{onChange:jr}),ui]}var nc=mA,rc=ae(89489),Sd=ae(59477),Xf=ae(25399);const rd="ascend",Pc="descend",hc=wt=>typeof wt.sorter=="object"&&typeof wt.sorter.multiple=="number"?wt.sorter.multiple:!1,Du=wt=>typeof wt=="function"?wt:wt&&typeof wt=="object"&&wt.compare?wt.compare:!1,_c=(wt,vt)=>vt?wt[wt.indexOf(vt)+1]:wt[0],ic=(wt,vt,Gt)=>{let An=[];const Sn=(Tn,or)=>{An.push({column:Tn,key:va(Tn,or),multiplePriority:hc(Tn),sortOrder:Tn.sortOrder})};return(wt||[]).forEach((Tn,or)=>{const er=Ca(or,Gt);Tn.children?("sortOrder"in Tn&&Sn(Tn,er),An=[].concat((0,vr.Z)(An),(0,vr.Z)(ic(Tn.children,vt,er)))):Tn.sorter&&("sortOrder"in Tn?Sn(Tn,er):vt&&Tn.defaultSortOrder&&An.push({column:Tn,key:va(Tn,er),multiplePriority:hc(Tn),sortOrder:Tn.defaultSortOrder}))}),An},Fd=(wt,vt,Gt,An,Sn,Tn,or,er)=>(vt||[]).map((hr,ui)=>{const jr=Ca(ui,er);let Qr=hr;if(Qr.sorter){const Or=Qr.sortDirections||Sn,Dr=Qr.showSorterTooltip===void 0?or:Qr.showSorterTooltip,$i=va(Qr,jr),bi=Gt.find(la=>{let{key:ta}=la;return ta===$i}),qi=bi?bi.sortOrder:null,so=_c(Or,qi);let Ji;if(hr.sortIcon)Ji=hr.sortIcon({sortOrder:qi});else{const la=Or.includes(rd)&&x.createElement(Sd.Z,{className:Ne()(`${wt}-column-sorter-up`,{active:qi===rd})}),ta=Or.includes(Pc)&&x.createElement(rc.Z,{className:Ne()(`${wt}-column-sorter-down`,{active:qi===Pc})});Ji=x.createElement("span",{className:Ne()(`${wt}-column-sorter`,{[`${wt}-column-sorter-full`]:!!(la&&ta)})},x.createElement("span",{className:`${wt}-column-sorter-inner`,"aria-hidden":"true"},la,ta))}const{cancelSort:ho,triggerAsc:Bo,triggerDesc:Qo}=Tn||{};let To=ho;so===Pc?To=Qo:so===rd&&(To=Bo);const La=typeof Dr=="object"?Object.assign({title:To},Dr):{title:To};Qr=Object.assign(Object.assign({},Qr),{className:Ne()(Qr.className,{[`${wt}-column-sort`]:qi}),title:la=>{const ta=`${wt}-column-sorters`,Ko=x.createElement("span",{className:`${wt}-column-title`},qa(hr.title,la)),Ho=x.createElement("div",{className:ta},Ko,Ji);return Dr?typeof Dr!="boolean"&&(Dr==null?void 0:Dr.target)==="sorter-icon"?x.createElement("div",{className:`${ta} ${wt}-column-sorters-tooltip-target-sorter`},Ko,x.createElement(Xf.Z,Object.assign({},La),Ji)):x.createElement(Xf.Z,Object.assign({},La),Ho):Ho},onHeaderCell:la=>{var ta;const Ko=((ta=hr.onHeaderCell)===null||ta===void 0?void 0:ta.call(hr,la))||{},Ho=Ko.onClick,zo=Ko.onKeyDown;Ko.onClick=ko=>{An({column:hr,key:$i,sortOrder:so,multiplePriority:hc(hr)}),Ho==null||Ho(ko)},Ko.onKeyDown=ko=>{ko.keyCode===Ns.Z.ENTER&&(An({column:hr,key:$i,sortOrder:so,multiplePriority:hc(hr)}),zo==null||zo(ko))};const vo=Xa(hr.title,{}),fo=vo==null?void 0:vo.toString();return qi&&(Ko["aria-sort"]=qi==="ascend"?"ascending":"descending"),Ko["aria-label"]=fo||"",Ko.className=Ne()(Ko.className,`${wt}-column-has-sorters`),Ko.tabIndex=0,hr.ellipsis&&(Ko.title=(vo!=null?vo:"").toString()),Ko}})}return"children"in Qr&&(Qr=Object.assign(Object.assign({},Qr),{children:Fd(wt,Qr.children,Gt,An,Sn,Tn,or,jr)})),Qr}),Yf=wt=>{const{column:vt,sortOrder:Gt}=wt;return{column:vt,order:Gt,field:vt.dataIndex,columnKey:vt.key}},Os=wt=>{const vt=wt.filter(Gt=>{let{sortOrder:An}=Gt;return An}).map(Yf);if(vt.length===0&&wt.length){const Gt=wt.length-1;return Object.assign(Object.assign({},Yf(wt[Gt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return vt.length<=1?vt[0]||{}:vt},$u=(wt,vt,Gt)=>{const An=vt.slice().sort((or,er)=>er.multiplePriority-or.multiplePriority),Sn=wt.slice(),Tn=An.filter(or=>{let{column:{sorter:er},sortOrder:Cr}=or;return Du(er)&&Cr});return Tn.length?Sn.sort((or,er)=>{for(let Cr=0;Cr{const er=or[Gt];return er?Object.assign(Object.assign({},or),{[Gt]:$u(er,vt,Gt)}):or}):Sn};var Ih=wt=>{const{prefixCls:vt,mergedColumns:Gt,sortDirections:An,tableLocale:Sn,showSorterTooltip:Tn,onSorterChange:or}=wt,[er,Cr]=x.useState(ic(Gt,!0)),hr=($i,bi)=>{const qi=[];return $i.forEach((so,Ji)=>{const ho=Ca(Ji,bi);if(qi.push(va(so,ho)),Array.isArray(so.children)){const Bo=hr(so.children,ho);qi.push.apply(qi,(0,vr.Z)(Bo))}}),qi},ui=x.useMemo(()=>{let $i=!0;const bi=ic(Gt,!1);if(!bi.length){const ho=hr(Gt);return er.filter(Bo=>{let{key:Qo}=Bo;return ho.includes(Qo)})}const qi=[];function so(ho){$i?qi.push(ho):qi.push(Object.assign(Object.assign({},ho),{sortOrder:null}))}let Ji=null;return bi.forEach(ho=>{Ji===null?(so(ho),ho.sortOrder&&(ho.multiplePriority===!1?$i=!1:Ji=!0)):(Ji&&ho.multiplePriority!==!1||($i=!1),so(ho))}),qi},[Gt,er]),jr=x.useMemo(()=>{var $i,bi;const qi=ui.map(so=>{let{column:Ji,sortOrder:ho}=so;return{column:Ji,order:ho}});return{sortColumns:qi,sortColumn:($i=qi[0])===null||$i===void 0?void 0:$i.column,sortOrder:(bi=qi[0])===null||bi===void 0?void 0:bi.order}},[ui]),Qr=$i=>{let bi;$i.multiplePriority===!1||!ui.length||ui[0].multiplePriority===!1?bi=[$i]:bi=[].concat((0,vr.Z)(ui.filter(qi=>{let{key:so}=qi;return so!==$i.key})),[$i]),Cr(bi),or(Os(bi),bi)};return[$i=>Fd(vt,$i,ui,Qr,An,Sn,Tn),ui,jr,()=>Os(ui)]};const $A=(wt,vt)=>wt.map(An=>{const Sn=Object.assign({},An);return Sn.title=qa(An.title,vt),"children"in Sn&&(Sn.children=$A(Sn.children,vt)),Sn});var Id=wt=>[x.useCallback(Gt=>$A(Gt,wt),[wt])],bf=Ci((wt,vt)=>{const{_renderTimes:Gt}=wt,{_renderTimes:An}=vt;return Gt!==An}),GA=qr((wt,vt)=>{const{_renderTimes:Gt}=wt,{_renderTimes:An}=vt;return Gt!==An}),wa=ae(36237),Tl=ae(17835),TA=ae(63356),id=ae(16931),Tc=ae(51636),kc=wt=>{const{componentCls:vt,lineWidth:Gt,lineType:An,tableBorderColor:Sn,tableHeaderBg:Tn,tablePaddingVertical:or,tablePaddingHorizontal:er,calc:Cr}=wt,hr=`${(0,wa.unit)(Gt)} ${An} ${Sn}`,ui=(jr,Qr,Or)=>({[`&${vt}-${jr}`]:{[`> ${vt}-container`]:{[`> ${vt}-content, > ${vt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${vt}-expanded-row-fixed`]:{margin:`${(0,wa.unit)(Cr(Qr).mul(-1).equal())} ${(0,wa.unit)(Cr(Cr(Or).add(Gt)).mul(-1).equal())}`}}}}}});return{[`${vt}-wrapper`]:{[`${vt}${vt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${vt}-title`]:{border:hr,borderBottom:0},[`> ${vt}-container`]:{borderInlineStart:hr,borderTop:hr,[` > ${vt}-content, > ${vt}-header, > ${vt}-body, > ${vt}-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:hr},"> thead":{"> tr:not(:last-child) > th":{borderBottom:hr},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${vt}-cell-fix-right-first::after`]:{borderInlineEnd:hr}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${vt}-expanded-row-fixed`]:{margin:`${(0,wa.unit)(Cr(or).mul(-1).equal())} ${(0,wa.unit)(Cr(Cr(er).add(Gt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Gt,bottom:0,borderInlineEnd:hr,content:'""'}}}}}},[`&${vt}-scroll-horizontal`]:{[`> ${vt}-container > ${vt}-body`]:{"> table > tbody":{[` > tr${vt}-expanded-row, > tr${vt}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},ui("middle",wt.tablePaddingVerticalMiddle,wt.tablePaddingHorizontalMiddle)),ui("small",wt.tablePaddingVerticalSmall,wt.tablePaddingHorizontalSmall)),{[`> ${vt}-footer`]:{border:hr,borderTop:0}}),[`${vt}-cell`]:{[`${vt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,wa.unit)(Gt)} 0 ${(0,wa.unit)(Gt)} ${Tn}`}},[`${vt}-bordered ${vt}-cell-scrollbar`]:{borderInlineEnd:hr}}}},kA=wt=>{const{componentCls:vt}=wt;return{[`${vt}-wrapper`]:{[`${vt}-cell-ellipsis`]:Object.assign(Object.assign({},TA.vS),{wordBreak:"keep-all",[` &${vt}-cell-fix-left-last, &${vt}-cell-fix-right-first `]:{overflow:"visible",[`${vt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${vt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Wp=wt=>{const{componentCls:vt}=wt;return{[`${vt}-wrapper`]:{[`${vt}-tbody > tr${vt}-placeholder`]:{textAlign:"center",color:wt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:wt.colorBgContainer}}}}},LA=wt=>{const{componentCls:vt,antCls:Gt,motionDurationSlow:An,lineWidth:Sn,paddingXS:Tn,lineType:or,tableBorderColor:er,tableExpandIconBg:Cr,tableExpandColumnWidth:hr,borderRadius:ui,tablePaddingVertical:jr,tablePaddingHorizontal:Qr,tableExpandedRowBg:Or,paddingXXS:Dr,expandIconMarginTop:$i,expandIconSize:bi,expandIconHalfInner:qi,expandIconScale:so,calc:Ji}=wt,ho=`${(0,wa.unit)(Sn)} ${or} ${er}`,Bo=Ji(Dr).sub(Sn).equal();return{[`${vt}-wrapper`]:{[`${vt}-expand-icon-col`]:{width:hr},[`${vt}-row-expand-icon-cell`]:{textAlign:"center",[`${vt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${vt}-row-indent`]:{height:1,float:"left"},[`${vt}-row-expand-icon`]:Object.assign(Object.assign({},(0,TA.Nd)(wt)),{position:"relative",float:"left",width:bi,height:bi,color:"inherit",lineHeight:(0,wa.unit)(bi),background:Cr,border:ho,borderRadius:ui,transform:`scale(${so})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${An} ease-out`,content:'""'},"&::before":{top:qi,insetInlineEnd:Bo,insetInlineStart:Bo,height:Sn},"&::after":{top:Bo,bottom:Bo,insetInlineStart:qi,width:Sn,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"}}),[`${vt}-row-indent + ${vt}-row-expand-icon`]:{marginTop:$i,marginInlineEnd:Tn},[`tr${vt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Or}},[`${Gt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${vt}-expanded-row-fixed`]:{position:"relative",margin:`${(0,wa.unit)(Ji(jr).mul(-1).equal())} ${(0,wa.unit)(Ji(Qr).mul(-1).equal())}`,padding:`${(0,wa.unit)(jr)} ${(0,wa.unit)(Qr)}`}}}},Ks=wt=>{const{componentCls:vt,antCls:Gt,iconCls:An,tableFilterDropdownWidth:Sn,tableFilterDropdownSearchWidth:Tn,paddingXXS:or,paddingXS:er,colorText:Cr,lineWidth:hr,lineType:ui,tableBorderColor:jr,headerIconColor:Qr,fontSizeSM:Or,tablePaddingHorizontal:Dr,borderRadius:$i,motionDurationSlow:bi,colorTextDescription:qi,colorPrimary:so,tableHeaderFilterActiveBg:Ji,colorTextDisabled:ho,tableFilterDropdownBg:Bo,tableFilterDropdownHeight:Qo,controlItemBgHover:To,controlItemBgActive:La,boxShadowSecondary:la,filterDropdownMenuBg:ta,calc:Ko}=wt,Ho=`${Gt}-dropdown`,zo=`${vt}-filter-dropdown`,vo=`${Gt}-tree`,fo=`${(0,wa.unit)(hr)} ${ui} ${jr}`;return[{[`${vt}-wrapper`]:{[`${vt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${vt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Ko(or).mul(-1).equal(),marginInline:`${(0,wa.unit)(or)} ${(0,wa.unit)(Ko(Dr).div(2).mul(-1).equal())}`,padding:`0 ${(0,wa.unit)(or)}`,color:Qr,fontSize:Or,borderRadius:$i,cursor:"pointer",transition:`all ${bi}`,"&:hover":{color:qi,background:Ji},"&.active":{color:so}}}},{[`${Gt}-dropdown`]:{[zo]:Object.assign(Object.assign({},(0,TA.Wf)(wt)),{minWidth:Sn,backgroundColor:Bo,borderRadius:$i,boxShadow:la,overflow:"hidden",[`${Ho}-menu`]:{maxHeight:Qo,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ta,"&:empty::after":{display:"block",padding:`${(0,wa.unit)(er)} 0`,color:ho,fontSize:Or,textAlign:"center",content:'"Not Found"'}},[`${zo}-tree`]:{paddingBlock:`${(0,wa.unit)(er)} 0`,paddingInline:er,[vo]:{padding:0},[`${vo}-treenode ${vo}-node-content-wrapper:hover`]:{backgroundColor:To},[`${vo}-treenode-checkbox-checked ${vo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:La}}},[`${zo}-search`]:{padding:er,borderBottom:fo,"&-input":{input:{minWidth:Tn},[An]:{color:ho}}},[`${zo}-checkall`]:{width:"100%",marginBottom:or,marginInlineStart:or},[`${zo}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,wa.unit)(Ko(er).sub(hr).equal())} ${(0,wa.unit)(er)}`,overflow:"hidden",borderTop:fo}})}},{[`${Gt}-dropdown ${zo}, ${zo}-submenu`]:{[`${Gt}-checkbox-wrapper + span`]:{paddingInlineStart:er,color:Cr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ad=wt=>{const{componentCls:vt,lineWidth:Gt,colorSplit:An,motionDurationSlow:Sn,zIndexTableFixed:Tn,tableBg:or,zIndexTableSticky:er,calc:Cr}=wt,hr=An;return{[`${vt}-wrapper`]:{[` ${vt}-cell-fix-left, ${vt}-cell-fix-right `]:{position:"sticky !important",zIndex:Tn,background:or},[` ${vt}-cell-fix-left-first::after, ${vt}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Cr(Gt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Sn}`,content:'""',pointerEvents:"none"},[`${vt}-cell-fix-left-all::after`]:{display:"none"},[` ${vt}-cell-fix-right-first::after, ${vt}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:Cr(Gt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Sn}`,content:'""',pointerEvents:"none"},[`${vt}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Cr(er).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Sn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${vt}-ping-left`]:{[`&:not(${vt}-has-fix-left) ${vt}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${hr}`},[` ${vt}-cell-fix-left-first::after, ${vt}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${hr}`},[`${vt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${vt}-ping-right`]:{[`&:not(${vt}-has-fix-right) ${vt}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${hr}`},[` ${vt}-cell-fix-right-first::after, ${vt}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${hr}`}},[`${vt}-fixed-column-gapped`]:{[` ${vt}-cell-fix-left-first::after, ${vt}-cell-fix-left-last::after, ${vt}-cell-fix-right-first::after, ${vt}-cell-fix-right-last::after `]:{boxShadow:"none"}}}}},vc=wt=>{const{componentCls:vt,antCls:Gt,margin:An}=wt;return{[`${vt}-wrapper`]:{[`${vt}-pagination${Gt}-pagination`]:{margin:`${(0,wa.unit)(An)} 0`},[`${vt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:wt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xf=wt=>{const{componentCls:vt,tableRadius:Gt}=wt;return{[`${vt}-wrapper`]:{[vt]:{[`${vt}-title, ${vt}-header`]:{borderRadius:`${(0,wa.unit)(Gt)} ${(0,wa.unit)(Gt)} 0 0`},[`${vt}-title + ${vt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${vt}-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:Gt,borderStartEndRadius:Gt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Gt},"> *:last-child":{borderStartEndRadius:Gt}}},"&-footer":{borderRadius:`0 0 ${(0,wa.unit)(Gt)} ${(0,wa.unit)(Gt)}`}}}}},Dh=wt=>{const{componentCls:vt}=wt;return{[`${vt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${vt}-pagination-left`]:{justifyContent:"flex-end"},[`${vt}-pagination-right`]:{justifyContent:"flex-start"},[`${vt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${vt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${vt}-row-indent`]:{float:"right"}}}}},rA=wt=>{const{componentCls:vt,antCls:Gt,iconCls:An,fontSizeIcon:Sn,padding:Tn,paddingXS:or,headerIconColor:er,headerIconHoverColor:Cr,tableSelectionColumnWidth:hr,tableSelectedRowBg:ui,tableSelectedRowHoverBg:jr,tableRowHoverBg:Qr,tablePaddingHorizontal:Or,calc:Dr}=wt;return{[`${vt}-wrapper`]:{[`${vt}-selection-col`]:{width:hr,[`&${vt}-selection-col-with-dropdown`]:{width:Dr(hr).add(Sn).add(Dr(Tn).div(4)).equal()}},[`${vt}-bordered ${vt}-selection-col`]:{width:Dr(hr).add(Dr(or).mul(2)).equal(),[`&${vt}-selection-col-with-dropdown`]:{width:Dr(hr).add(Sn).add(Dr(Tn).div(4)).add(Dr(or).mul(2)).equal()}},[` table tr th${vt}-selection-column, table tr td${vt}-selection-column, ${vt}-selection-column `]:{paddingInlineEnd:wt.paddingXS,paddingInlineStart:wt.paddingXS,textAlign:"center",[`${Gt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${vt}-selection-column${vt}-cell-fix-left`]:{zIndex:Dr(wt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${vt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${vt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${vt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${wt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,wa.unit)(Dr(Or).div(4).equal()),[An]:{color:er,fontSize:Sn,verticalAlign:"baseline","&:hover":{color:Cr}}},[`${vt}-tbody`]:{[`${vt}-row`]:{[`&${vt}-row-selected`]:{[`> ${vt}-cell`]:{background:ui,"&-row-hover":{background:jr}}},[`> ${vt}-cell-row-hover`]:{background:Qr}}}}}},ip=wt=>{const{componentCls:vt,tableExpandColumnWidth:Gt,calc:An}=wt,Sn=(Tn,or,er,Cr)=>({[`${vt}${vt}-${Tn}`]:{fontSize:Cr,[` ${vt}-title, ${vt}-footer, ${vt}-cell, ${vt}-thead > tr > th, ${vt}-tbody > tr > th, ${vt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${(0,wa.unit)(or)} ${(0,wa.unit)(er)}`},[`${vt}-filter-trigger`]:{marginInlineEnd:(0,wa.unit)(An(er).div(2).mul(-1).equal())},[`${vt}-expanded-row-fixed`]:{margin:`${(0,wa.unit)(An(or).mul(-1).equal())} ${(0,wa.unit)(An(er).mul(-1).equal())}`},[`${vt}-tbody`]:{[`${vt}-wrapper:only-child ${vt}`]:{marginBlock:(0,wa.unit)(An(or).mul(-1).equal()),marginInline:`${(0,wa.unit)(An(Gt).sub(er).equal())} ${(0,wa.unit)(An(er).mul(-1).equal())}`}},[`${vt}-selection-extra`]:{paddingInlineStart:(0,wa.unit)(An(er).div(4).equal())}}});return{[`${vt}-wrapper`]:Object.assign(Object.assign({},Sn("middle",wt.tablePaddingVerticalMiddle,wt.tablePaddingHorizontalMiddle,wt.tableFontSizeMiddle)),Sn("small",wt.tablePaddingVerticalSmall,wt.tablePaddingHorizontalSmall,wt.tableFontSizeSmall))}},Xd=wt=>{const{componentCls:vt,marginXXS:Gt,fontSizeIcon:An,headerIconColor:Sn,headerIconHoverColor:Tn}=wt;return{[`${vt}-wrapper`]:{[`${vt}-thead th${vt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${wt.motionDurationSlow}, left 0s`,"&:hover":{background:wt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:wt.colorPrimary},[` &${vt}-cell-fix-left:hover, &${vt}-cell-fix-right:hover `]:{background:wt.tableFixedHeaderSortActiveBg}},[`${vt}-thead th${vt}-column-sort`]:{background:wt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${vt}-column-sort`]:{background:wt.tableBodySortBg},[`${vt}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${vt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${vt}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${vt}-column-sorter`]:{marginInlineStart:Gt,color:Sn,fontSize:0,transition:`color ${wt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:An,"&.active":{color:wt.colorPrimary}},[`${vt}-column-sorter-up + ${vt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${vt}-column-sorters:hover ${vt}-column-sorter`]:{color:Tn}}}},Yd=wt=>{const{componentCls:vt,opacityLoading:Gt,tableScrollThumbBg:An,tableScrollThumbBgHover:Sn,tableScrollThumbSize:Tn,tableScrollBg:or,zIndexTableSticky:er,stickyScrollBarBorderRadius:Cr,lineWidth:hr,lineType:ui,tableBorderColor:jr}=wt,Qr=`${(0,wa.unit)(hr)} ${ui} ${jr}`;return{[`${vt}-wrapper`]:{[`${vt}-sticky`]:{"&-holder":{position:"sticky",zIndex:er,background:wt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,wa.unit)(Tn)} !important`,zIndex:er,display:"flex",alignItems:"center",background:or,borderTop:Qr,opacity:Gt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Tn,backgroundColor:An,borderRadius:Cr,transition:`all ${wt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Sn}}}}}}},iA=wt=>{const{componentCls:vt,lineWidth:Gt,tableBorderColor:An,calc:Sn}=wt,Tn=`${(0,wa.unit)(Gt)} ${wt.lineType} ${An}`;return{[`${vt}-wrapper`]:{[`${vt}-summary`]:{position:"relative",zIndex:wt.zIndexTableFixed,background:wt.tableBg,"> tr":{"> th, > td":{borderBottom:Tn}}},[`div${vt}-summary`]:{boxShadow:`0 ${(0,wa.unit)(Sn(Gt).mul(-1).equal())} 0 ${An}`}}}},oA=wt=>{const{componentCls:vt,motionDurationMid:Gt,lineWidth:An,lineType:Sn,tableBorderColor:Tn,calc:or}=wt,er=`${(0,wa.unit)(An)} ${Sn} ${Tn}`,Cr=`${vt}-expanded-row-cell`;return{[`${vt}-wrapper`]:{[`${vt}-tbody-virtual`]:{[`${vt}-tbody-virtual-holder-inner`]:{[` & > ${vt}-row, & > div:not(${vt}-row) > ${vt}-row `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${vt}-cell`]:{borderBottom:er,transition:`background ${Gt}`},[`${vt}-expanded-row`]:{[`${Cr}${Cr}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,wa.unit)(An)})`,borderInlineEnd:"none"}}},[`${vt}-bordered`]:{[`${vt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:er,position:"absolute"},[`${vt}-cell`]:{borderInlineEnd:er,[`&${vt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:or(An).mul(-1).equal(),borderInlineStart:er}}},[`&${vt}-virtual`]:{[`${vt}-placeholder ${vt}-cell`]:{borderInlineEnd:er,borderBottom:er}}}}}};const Ou=wt=>{const{componentCls:vt,fontWeightStrong:Gt,tablePaddingVertical:An,tablePaddingHorizontal:Sn,tableExpandColumnWidth:Tn,lineWidth:or,lineType:er,tableBorderColor:Cr,tableFontSize:hr,tableBg:ui,tableRadius:jr,tableHeaderTextColor:Qr,motionDurationMid:Or,tableHeaderBg:Dr,tableHeaderCellSplitColor:$i,tableFooterTextColor:bi,tableFooterBg:qi,calc:so}=wt,Ji=`${(0,wa.unit)(or)} ${er} ${Cr}`;return{[`${vt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,TA.dF)()),{[vt]:Object.assign(Object.assign({},(0,TA.Wf)(wt)),{fontSize:hr,background:ui,borderRadius:`${(0,wa.unit)(jr)} ${(0,wa.unit)(jr)} 0 0`,scrollbarColor:`${wt.tableScrollThumbBg} ${wt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,wa.unit)(jr)} ${(0,wa.unit)(jr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${vt}-cell, ${vt}-thead > tr > th, ${vt}-tbody > tr > th, ${vt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${(0,wa.unit)(An)} ${(0,wa.unit)(Sn)}`,overflowWrap:"break-word"},[`${vt}-title`]:{padding:`${(0,wa.unit)(An)} ${(0,wa.unit)(Sn)}`},[`${vt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Qr,fontWeight:Gt,textAlign:"start",background:Dr,borderBottom:Ji,transition:`background ${Or} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${vt}-selection-column):not(${vt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:$i,transform:"translateY(-50%)",transition:`background-color ${Or}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${vt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Or}, border-color ${Or}`,borderBottom:Ji,[` > ${vt}-wrapper:only-child, > ${vt}-expanded-row-fixed > ${vt}-wrapper:only-child `]:{[vt]:{marginBlock:(0,wa.unit)(so(An).mul(-1).equal()),marginInline:`${(0,wa.unit)(so(Tn).sub(Sn).equal())} ${(0,wa.unit)(so(Sn).mul(-1).equal())}`,[`${vt}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Qr,fontWeight:Gt,textAlign:"start",background:Dr,borderBottom:Ji,transition:`background ${Or} ease`}}},[`${vt}-footer`]:{padding:`${(0,wa.unit)(An)} ${(0,wa.unit)(Sn)}`,color:bi,background:qi}})}},ld=wt=>{const{colorFillAlter:vt,colorBgContainer:Gt,colorTextHeading:An,colorFillSecondary:Sn,colorFillContent:Tn,controlItemBgActive:or,controlItemBgActiveHover:er,padding:Cr,paddingSM:hr,paddingXS:ui,colorBorderSecondary:jr,borderRadiusLG:Qr,controlHeight:Or,colorTextPlaceholder:Dr,fontSize:$i,fontSizeSM:bi,lineHeight:qi,lineWidth:so,colorIcon:Ji,colorIconHover:ho,opacityLoading:Bo,controlInteractiveSize:Qo}=wt,To=new Tl.FastColor(Sn).onBackground(Gt).toHexString(),La=new Tl.FastColor(Tn).onBackground(Gt).toHexString(),la=new Tl.FastColor(vt).onBackground(Gt).toHexString(),ta=new Tl.FastColor(Ji),Ko=new Tl.FastColor(ho),Ho=Qo/2-so,zo=Ho*2+so*3;return{headerBg:la,headerColor:An,headerSortActiveBg:To,headerSortHoverBg:La,bodySortBg:la,rowHoverBg:la,rowSelectedBg:or,rowSelectedHoverBg:er,rowExpandedBg:vt,cellPaddingBlock:Cr,cellPaddingInline:Cr,cellPaddingBlockMD:hr,cellPaddingInlineMD:ui,cellPaddingBlockSM:ui,cellPaddingInlineSM:ui,borderColor:jr,headerBorderRadius:Qr,footerBg:la,footerColor:An,cellFontSize:$i,cellFontSizeMD:$i,cellFontSizeSM:$i,headerSplitColor:jr,fixedHeaderSortActiveBg:To,headerFilterHoverBg:Tn,filterDropdownMenuBg:Gt,filterDropdownBg:Gt,expandIconBg:Gt,selectionColumnWidth:Or,stickyScrollBarBg:Dr,stickyScrollBarBorderRadius:100,expandIconMarginTop:($i*qi-so*3)/2-Math.ceil((bi*1.4-so*3)/2),headerIconColor:ta.clone().setA(ta.a*Bo).toRgbString(),headerIconHoverColor:Ko.clone().setA(Ko.a*Bo).toRgbString(),expandIconHalfInner:Ho,expandIconSize:zo,expandIconScale:Qo/zo}},Jd=2;var Bf=(0,id.I$)("Table",wt=>{const{colorTextHeading:vt,colorSplit:Gt,colorBgContainer:An,controlInteractiveSize:Sn,headerBg:Tn,headerColor:or,headerSortActiveBg:er,headerSortHoverBg:Cr,bodySortBg:hr,rowHoverBg:ui,rowSelectedBg:jr,rowSelectedHoverBg:Qr,rowExpandedBg:Or,cellPaddingBlock:Dr,cellPaddingInline:$i,cellPaddingBlockMD:bi,cellPaddingInlineMD:qi,cellPaddingBlockSM:so,cellPaddingInlineSM:Ji,borderColor:ho,footerBg:Bo,footerColor:Qo,headerBorderRadius:To,cellFontSize:La,cellFontSizeMD:la,cellFontSizeSM:ta,headerSplitColor:Ko,fixedHeaderSortActiveBg:Ho,headerFilterHoverBg:zo,filterDropdownBg:vo,expandIconBg:fo,selectionColumnWidth:ko,stickyScrollBarBg:$o,calc:ra}=wt,xo=(0,Tc.mergeToken)(wt,{tableFontSize:La,tableBg:An,tableRadius:To,tablePaddingVertical:Dr,tablePaddingHorizontal:$i,tablePaddingVerticalMiddle:bi,tablePaddingHorizontalMiddle:qi,tablePaddingVerticalSmall:so,tablePaddingHorizontalSmall:Ji,tableBorderColor:ho,tableHeaderTextColor:or,tableHeaderBg:Tn,tableFooterTextColor:Qo,tableFooterBg:Bo,tableHeaderCellSplitColor:Ko,tableHeaderSortBg:er,tableHeaderSortHoverBg:Cr,tableBodySortBg:hr,tableFixedHeaderSortActiveBg:Ho,tableHeaderFilterActiveBg:zo,tableFilterDropdownBg:vo,tableRowHoverBg:ui,tableSelectedRowBg:jr,tableSelectedRowHoverBg:Qr,zIndexTableFixed:Jd,zIndexTableSticky:ra(Jd).add(1).equal({unit:!1}),tableFontSizeMiddle:la,tableFontSizeSmall:ta,tableSelectionColumnWidth:ko,tableExpandIconBg:fo,tableExpandColumnWidth:ra(Sn).add(ra(wt.padding).mul(2)).equal(),tableExpandedRowBg:Or,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:$o,tableScrollThumbBgHover:vt,tableScrollBg:Gt});return[Ou(xo),vc(xo),iA(xo),Xd(xo),Ks(xo),kc(xo),xf(xo),LA(xo),iA(xo),Wp(xo),rA(xo),ad(xo),Yd(xo),kA(xo),ip(xo),Dh(xo),oA(xo)]},ld,{unitless:{expandIconScale:!0}});const ap=[],sp=(wt,vt)=>{var Gt,An;const{prefixCls:Sn,className:Tn,rootClassName:or,style:er,size:Cr,bordered:hr,dropdownPrefixCls:ui,dataSource:jr,pagination:Qr,rowSelection:Or,rowKey:Dr="key",rowClassName:$i,columns:bi,children:qi,childrenColumnName:so,onChange:Ji,getPopupContainer:ho,loading:Bo,expandIcon:Qo,expandable:To,expandedRowRender:La,expandIconColumnIndex:la,indentSize:ta,scroll:Ko,sortDirections:Ho,locale:zo,showSorterTooltip:vo={target:"full-header"},virtual:fo}=wt,ko=(0,Oo.ln)("Table"),$o=x.useMemo(()=>bi||fr(qi),[bi,qi]),ra=x.useMemo(()=>$o.some(Ka=>Ka.responsive),[$o]),xo=(0,Kl.Z)(ra),Ja=x.useMemo(()=>{const Ka=new Set(Object.keys(xo).filter(cs=>xo[cs]));return $o.filter(cs=>!cs.responsive||cs.responsive.some(kl=>Ka.has(kl)))},[$o,xo]),za=(0,Fa.Z)(wt,["className","style","columns"]),{locale:Dl=Zl.Z,direction:xl,table:ol,renderEmpty:lo,getPrefixCls:Yl,getPopupContainer:os}=x.useContext(nl.E_),rs=(0,Js.Z)(Cr),il=Object.assign(Object.assign({},Dl.Table),zo),cu=jr||ap,ia=Yl("table",Sn),xa=Yl("dropdown",ui),[,Go]=(0,FA.ZP)(),Po=(0,lu.Z)(ia),[As,Es,Vs]=Bf(ia,Po),Zs=Object.assign(Object.assign({childrenColumnName:so,expandIconColumnIndex:la},To),{expandIcon:(Gt=To==null?void 0:To.expandIcon)!==null&&Gt!==void 0?Gt:(An=ol==null?void 0:ol.expandable)===null||An===void 0?void 0:An.expandIcon}),{childrenColumnName:al="children"}=Zs,hu=x.useMemo(()=>cu.some(Ka=>Ka==null?void 0:Ka[al])?"nest":La||To!=null&&To.expandedRowRender?"row":null,[cu]),ua={body:x.useRef(null)},ea=Ia(ia),bs=x.useRef(null),qs=x.useRef(null);el(vt,()=>Object.assign(Object.assign({},qs.current),{nativeElement:bs.current}));const Xs=x.useMemo(()=>typeof Dr=="function"?Dr:Ka=>Ka==null?void 0:Ka[Dr],[Dr]),[pu]=WA(cu,al,Xs),Nl={},aA=function(Ka,cs){let kl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ou,Bu,Eu,Xu;const Qu=Object.assign(Object.assign({},Nl),Ka);kl&&((ou=Nl.resetPagination)===null||ou===void 0||ou.call(Nl),!((Bu=Qu.pagination)===null||Bu===void 0)&&Bu.current&&(Qu.pagination.current=1),Qr&&((Eu=Qr.onChange)===null||Eu===void 0||Eu.call(Qr,1,(Xu=Qu.pagination)===null||Xu===void 0?void 0:Xu.pageSize))),Ko&&Ko.scrollToFirstRowOnChange!==!1&&ua.body.current&&(0,tl.Z)(0,{getContainer:()=>ua.body.current}),Ji==null||Ji(Qu.pagination,Qu.filters,Qu.sorter,{currentDataSource:Ua($u(cu,Qu.sorterStates,al),Qu.filterStates,al),action:cs})},Bl=(Ka,cs)=>{aA({sorter:Ka,sorterStates:cs},"sort",!1)},[gs,sl,ll,du]=Ih({prefixCls:ia,mergedColumns:Ja,onSorterChange:Bl,sortDirections:Ho||["ascend","descend"],tableLocale:il,showSorterTooltip:vo}),Ol=x.useMemo(()=>$u(cu,sl,al),[cu,sl]);Nl.sorter=du(),Nl.sorterStates=sl;const ms=(Ka,cs)=>{aA({filters:Ka,filterStates:cs},"filter",!0)},[gl,Ss,ml]=Vl({prefixCls:ia,locale:il,dropdownPrefixCls:xa,mergedColumns:Ja,onFilterChange:ms,getPopupContainer:ho||os,rootClassName:Ne()(or,Po)}),Jl=Ua(Ol,Ss,al);Nl.filters=ml,Nl.filterStates=Ss;const Pu=x.useMemo(()=>{const Ka={};return Object.keys(ml).forEach(cs=>{ml[cs]!==null&&(Ka[cs]=ml[cs])}),Object.assign(Object.assign({},ll),{filters:Ka})},[ll,ml]),[_u]=Id(Pu),VA=(Ka,cs)=>{aA({pagination:Object.assign(Object.assign({},Nl.pagination),{current:Ka,pageSize:cs})},"paginate")},[ul,Nd]=nc(Jl.length,VA,Qr);Nl.pagination=Qr===!1?{}:Xl(ul,Qr),Nl.resetPagination=Nd;const Ru=x.useMemo(()=>{if(Qr===!1||!ul.pageSize)return Jl;const{current:Ka=1,total:cs,pageSize:kl=fc}=ul;return Jl.lengthkl?Jl.slice((Ka-1)*kl,Ka*kl):Jl:Jl.slice((Ka-1)*kl,Ka*kl)},[!!Qr,Jl,ul==null?void 0:ul.current,ul==null?void 0:ul.pageSize,ul==null?void 0:ul.total]),[Gu,ju]=go({prefixCls:ia,data:Jl,pageData:Ru,getRowKey:Xs,getRecordByKey:pu,expandType:hu,childrenColumnName:al,locale:il,getPopupContainer:ho||os},Or),Vu=(Ka,cs,kl)=>{let ou;return typeof $i=="function"?ou=Ne()($i(Ka,cs,kl)):ou=Ne()($i),Ne()({[`${ia}-row-selected`]:ju.has(Xs(Ka,cs))},ou)};Zs.__PARENT_RENDER_ICON__=Zs.expandIcon,Zs.expandIcon=Zs.expandIcon||Qo||ga(il),hu==="nest"&&Zs.expandIconColumnIndex===void 0?Zs.expandIconColumnIndex=Or?1:0:Zs.expandIconColumnIndex>0&&Or&&(Zs.expandIconColumnIndex-=1),typeof Zs.indentSize!="number"&&(Zs.indentSize=typeof ta=="number"?ta:15);const Al=x.useCallback(Ka=>_u(Gu(gl(gs(Ka)))),[gs,gl,Gu]);let vA,bc;if(Qr!==!1&&(ul!=null&&ul.total)){let Ka;ul.size?Ka=ul.size:Ka=rs==="small"||rs==="middle"?"small":void 0;const cs=Bu=>x.createElement(Lu.Z,Object.assign({},ul,{className:Ne()(`${ia}-pagination ${ia}-pagination-${Bu}`,ul.className),size:Ka})),kl=xl==="rtl"?"left":"right",{position:ou}=ul;if(ou!==null&&Array.isArray(ou)){const Bu=ou.find(Qu=>Qu.includes("top")),Eu=ou.find(Qu=>Qu.includes("bottom")),Xu=ou.every(Qu=>`${Qu}`=="none");!Bu&&!Eu&&!Xu&&(bc=cs(kl)),Bu&&(vA=cs(Bu.toLowerCase().replace("top",""))),Eu&&(bc=cs(Eu.toLowerCase().replace("bottom","")))}else bc=cs(kl)}let MA;typeof Bo=="boolean"?MA={spinning:Bo}:typeof Bo=="object"&&(MA=Object.assign({spinning:!0},Bo));const XA=Ne()(Vs,Po,`${ia}-wrapper`,ol==null?void 0:ol.className,{[`${ia}-wrapper-rtl`]:xl==="rtl"},Tn,or,Es),qd=Object.assign(Object.assign({},ol==null?void 0:ol.style),er),ef=typeof(zo==null?void 0:zo.emptyText)!="undefined"?zo.emptyText:(lo==null?void 0:lo("Table"))||x.createElement(hl.Z,{componentName:"Table"}),Fs=fo?GA:bf,ud={},Ef=x.useMemo(()=>{const{fontSize:Ka,lineHeight:cs,lineWidth:kl,padding:ou,paddingXS:Bu,paddingSM:Eu}=Go,Xu=Math.floor(Ka*cs);switch(rs){case"middle":return Eu*2+Xu+kl;case"small":return Bu*2+Xu+kl;default:return ou*2+Xu+kl}},[Go,rs]);return fo&&(ud.listItemHeight=Ef),As(x.createElement("div",{ref:bs,className:XA,style:qd},x.createElement(dl.Z,Object.assign({spinning:!1},MA),vA,x.createElement(Fs,Object.assign({},ud,za,{ref:qs,columns:Ja,direction:xl,expandable:Zs,prefixCls:ia,className:Ne()({[`${ia}-middle`]:rs==="middle",[`${ia}-small`]:rs==="small",[`${ia}-bordered`]:hr,[`${ia}-empty`]:cu.length===0},Vs,Po,Es),data:Ru,rowKey:Xs,rowClassName:Vu,emptyText:ef,internalHooks:Le,internalRefs:ua,transformColumns:Al,getContainerWidth:ea})),bc)))};var lp=x.forwardRef(sp);const eh=(wt,vt)=>{const Gt=x.useRef(0);return Gt.current+=1,x.createElement(lp,Object.assign({},wt,{ref:vt,_renderTimes:Gt.current}))},wc=x.forwardRef(eh);wc.SELECTION_COLUMN=fa,wc.EXPAND_COLUMN=ct,wc.SELECTION_ALL=Wa,wc.SELECTION_INVERT=Ds,wc.SELECTION_NONE=zs,wc.Column=ro,wc.ColumnGroup=oi,wc.Summary=gt;var Dd=wc,up=Dd},18287:function(Vn,Tt,ae){"use strict";ae.d(Tt,{default:function(){return Kt}});var x=ae(3741),ct=ae(94480),Le=ae(59301),Je=ae(52671),He=ae(8657),Se=ae(54476),Ue={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=Ue,Ce=ae(7657),oe=function(Nt,Qt){return Le.createElement(Ce.Z,(0,Se.Z)({},Nt,{ref:Qt,icon:fe}))},Oe=Le.forwardRef(oe),ve=Oe,Me=ae(92310),Ie=ae.n(Me),_e=ae(82661),we=ae(34061),xe=ae(48755),Ee=ae(56082),ke=ae(86641),ze=ae(57700),Qe=ae(12425);const Re=4;function et(rt){const{dropPosition:Nt,dropLevelOffset:Qt,prefixCls:pn,indent:Ot,direction:vn="ltr"}=rt,_t=vn==="ltr"?"left":"right",Fn=vn==="ltr"?"right":"left",on={[_t]:-Qt*Ot+Re,[Fn]:0};switch(Nt){case-1:on.top=-3;break;case 1:on.bottom=-3;break;default:on.bottom=-3,on[_t]=Ot+Re;break}return Le.createElement("div",{style:on,className:`${pn}-drop-indicator`})}var Ge=et,lt=ae(85278),ft=Le.forwardRef((rt,Nt)=>{var Qt;const{getPrefixCls:pn,direction:Ot,virtual:vn,tree:_t}=Le.useContext(xe.E_),{prefixCls:Fn,className:on,showIcon:de=!1,showLine:ge,switcherIcon:ie,switcherLoadingIcon:ee,blockNode:le=!1,children:se,checkable:Be=!1,selectable:$e=!0,draggable:at,motion:pt,style:gt}=rt,Bt=pn("tree",Fn),Lt=pn(),Rt=pt!=null?pt:Object.assign(Object.assign({},(0,ke.Z)(Lt)),{motionAppear:!1}),Ct=Object.assign(Object.assign({},rt),{checkable:Be,selectable:$e,showIcon:de,motion:Rt,blockNode:le,showLine:!!ge,dropIndicatorRender:Ge}),[st,$t,Vt]=(0,Qe.ZP)(Bt),[,bn]=(0,ze.ZP)(),an=bn.paddingXS/2+(((Qt=bn.Tree)===null||Qt===void 0?void 0:Qt.titleHeight)||bn.controlHeightSM),en=Le.useMemo(()=>{if(!at)return!1;let En={};switch(typeof at){case"function":En.nodeDraggable=at;break;case"object":En=Object.assign({},at);break;default:break}return En.icon!==!1&&(En.icon=En.icon||Le.createElement(Ee.Z,null)),En},[at]),Hn=En=>Le.createElement(lt.Z,{prefixCls:Bt,switcherIcon:ie,switcherLoadingIcon:ee,treeNodeProps:En,showLine:ge});return st(Le.createElement(x.ZP,Object.assign({itemHeight:an,ref:Nt,virtual:vn},Ct,{style:Object.assign(Object.assign({},_t==null?void 0:_t.style),gt),prefixCls:Bt,className:Ie()({[`${Bt}-icon-hide`]:!de,[`${Bt}-block-node`]:le,[`${Bt}-unselectable`]:!$e,[`${Bt}-rtl`]:Ot==="rtl"},_t==null?void 0:_t.className,on,$t,Vt),direction:Ot,checkable:Be&&Le.createElement("span",{className:`${Bt}-checkbox-inner`}),selectable:$e,switcherIcon:Hn,draggable:en}),se))});const bt=0,je=1,ht=2;function Ne(rt,Nt,Qt){const{key:pn,children:Ot}=Qt;function vn(_t){const Fn=_t[pn],on=_t[Ot];Nt(Fn,_t)!==!1&&Ne(on||[],Nt,Qt)}rt.forEach(vn)}function We(rt){let{treeData:Nt,expandedKeys:Qt,startKey:pn,endKey:Ot,fieldNames:vn}=rt;const _t=[];let Fn=bt;if(pn&&pn===Ot)return[pn];if(!pn||!Ot)return[];function on(de){return de===pn||de===Ot}return Ne(Nt,de=>{if(Fn===ht)return!1;if(on(de)){if(_t.push(de),Fn===bt)Fn=je;else if(Fn===je)return Fn=ht,!1}else Fn===je&&_t.push(de);return Qt.includes(de)},(0,we.w$)(vn)),_t}function Ut(rt,Nt,Qt){const pn=(0,ct.Z)(Nt),Ot=[];return Ne(rt,(vn,_t)=>{const Fn=pn.indexOf(vn);return Fn!==-1&&(Ot.push(_t),pn.splice(Fn,1)),!!pn.length},(0,we.w$)(Qt)),Ot}var ot=function(rt,Nt){var Qt={};for(var pn in rt)Object.prototype.hasOwnProperty.call(rt,pn)&&Nt.indexOf(pn)<0&&(Qt[pn]=rt[pn]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,pn=Object.getOwnPropertySymbols(rt);Ot{var{defaultExpandAll:Qt,defaultExpandParent:pn,defaultExpandedKeys:Ot}=rt,vn=ot(rt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const _t=Le.useRef(null),Fn=Le.useRef(null),on=()=>{const{keyEntities:st}=(0,we.I8)(Ft(vn));let $t;return Qt?$t=Object.keys(st):pn?$t=(0,_e.r7)(vn.expandedKeys||Ot||[],st):$t=vn.expandedKeys||Ot||[],$t},[de,ge]=Le.useState(vn.selectedKeys||vn.defaultSelectedKeys||[]),[ie,ee]=Le.useState(()=>on());Le.useEffect(()=>{"selectedKeys"in vn&&ge(vn.selectedKeys)},[vn.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in vn&&ee(vn.expandedKeys)},[vn.expandedKeys]);const le=(st,$t)=>{var Vt;return"expandedKeys"in vn||ee(st),(Vt=vn.onExpand)===null||Vt===void 0?void 0:Vt.call(vn,st,$t)},se=(st,$t)=>{var Vt;const{multiple:bn,fieldNames:an}=vn,{node:en,nativeEvent:Hn}=$t,{key:En=""}=en,Mt=Ft(vn),sn=Object.assign(Object.assign({},$t),{selected:!0}),Dn=(Hn==null?void 0:Hn.ctrlKey)||(Hn==null?void 0:Hn.metaKey),Wn=Hn==null?void 0:Hn.shiftKey;let It;bn&&Dn?(It=st,_t.current=En,Fn.current=It,sn.selectedNodes=Ut(Mt,It,an)):bn&&Wn?(It=Array.from(new Set([].concat((0,ct.Z)(Fn.current||[]),(0,ct.Z)(We({treeData:Mt,expandedKeys:ie,startKey:En,endKey:_t.current,fieldNames:an}))))),sn.selectedNodes=Ut(Mt,It,an)):(It=[En],_t.current=En,Fn.current=It,sn.selectedNodes=Ut(Mt,It,an)),(Vt=vn.onSelect)===null||Vt===void 0||Vt.call(vn,It,sn),"selectedKeys"in vn||ge(It)},{getPrefixCls:Be,direction:$e}=Le.useContext(xe.E_),{prefixCls:at,className:pt,showIcon:gt=!0,expandAction:Bt="click"}=vn,Lt=ot(vn,["prefixCls","className","showIcon","expandAction"]),Rt=Be("tree",at),Ct=Ie()(`${Rt}-directory`,{[`${Rt}-directory-rtl`]:$e==="rtl"},pt);return Le.createElement(ft,Object.assign({icon:yt,ref:Nt,blockNode:!0},Lt,{showIcon:gt,expandAction:Bt,prefixCls:Rt,className:Ct,expandedKeys:ie,selectedKeys:de,onSelect:se,onExpand:le}))};var At=Le.forwardRef(Ze);const Zt=ft;Zt.DirectoryTree=At,Zt.TreeNode=x.OF;var Kt=Zt},12425:function(Vn,Tt,ae){"use strict";ae.d(Tt,{ZP:function(){return _e},Yk:function(){return ve},TM:function(){return Me}});var x=ae(36237),ct=ae(36170),Le=ae(63356),Je=ae(34961),He=ae(51636),Se=ae(16931);const Ue=we=>{let{treeCls:xe,treeNodeCls:Ee,directoryNodeSelectedBg:ke,directoryNodeSelectedColor:ze,motionDurationMid:Qe,borderRadius:Re,controlItemBgHover:et}=we;return{[`${xe}${xe}-directory ${Ee}`]:{[`${xe}-node-content-wrapper`]:{position:"static",[`> *:not(${xe}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${Qe}`,content:'""',borderRadius:Re},"&:hover:before":{background:et}},[`${xe}-switcher, ${xe}-checkbox, ${xe}-draggable-icon`]:{zIndex:1},"&-selected":{[`${xe}-switcher, ${xe}-draggable-icon`]:{color:ze},[`${xe}-node-content-wrapper`]:{color:ze,background:"transparent","&:before, &:hover:before":{background:ke}}}}}},fe=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ce=(we,xe)=>({[`.${we}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${xe.motionDurationSlow}`}}}),oe=(we,xe)=>({[`.${we}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:xe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,x.unit)(xe.lineWidthBold)} solid ${xe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Oe=(we,xe)=>{const{treeCls:Ee,treeNodeCls:ke,treeNodePadding:ze,titleHeight:Qe,indentSize:Re,nodeSelectedBg:et,nodeHoverBg:Ge,colorTextQuaternary:lt,controlItemBgActiveDisabled:it}=xe;return{[Ee]:Object.assign(Object.assign({},(0,Le.Wf)(xe)),{background:xe.colorBgContainer,borderRadius:xe.borderRadius,transition:`background-color ${xe.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ee}-rtl ${Ee}-switcher_close ${Ee}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ee}-active-focused)`]:Object.assign({},(0,Le.oN)(xe)),[`${Ee}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ee}-block-node`]:{[`${Ee}-list-holder-inner`]:{alignItems:"stretch",[`${Ee}-node-content-wrapper`]:{flex:"auto"},[`${ke}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${xe.colorPrimary}`,opacity:0,animationName:fe,animationDuration:xe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:xe.borderRadius}}},[ke]:{display:"flex",alignItems:"flex-start",marginBottom:ze,lineHeight:(0,x.unit)(Qe),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:ze},[`&-disabled ${Ee}-node-content-wrapper`]:{color:xe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ee}-checkbox-disabled + ${Ee}-node-selected,&${ke}-disabled${ke}-selected ${Ee}-node-content-wrapper`]:{backgroundColor:it},[`${Ee}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${ke}-disabled)`]:{[`${Ee}-node-content-wrapper`]:{"&:hover":{color:xe.nodeHoverColor}}},[`&-active ${Ee}-node-content-wrapper`]:{background:xe.controlItemBgHover},[`&:not(${ke}-disabled).filter-node ${Ee}-title`]:{color:xe.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ee}-draggable-icon`]:{flexShrink:0,width:Qe,textAlign:"center",visibility:"visible",color:lt},[`&${ke}-disabled ${Ee}-draggable-icon`]:{visibility:"hidden"}}},[`${Ee}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Re}},[`${Ee}-draggable-icon`]:{visibility:"hidden"},[`${Ee}-switcher, ${Ee}-checkbox`]:{marginInlineEnd:xe.calc(xe.calc(Qe).sub(xe.controlInteractiveSize)).div(2).equal()},[`${Ee}-switcher`]:Object.assign(Object.assign({},Ce(we,xe)),{position:"relative",flex:"none",alignSelf:"stretch",width:Qe,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${xe.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:Qe,height:Qe,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:xe.borderRadius,transition:`all ${xe.motionDurationSlow}`},[`&:not(${Ee}-switcher-noop):hover:before`]:{backgroundColor:xe.colorBgTextHover},[`&_close ${Ee}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:xe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:xe.calc(Qe).div(2).equal(),bottom:xe.calc(ze).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${xe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:xe.calc(xe.calc(Qe).div(2).equal()).mul(.8).equal(),height:xe.calc(Qe).div(2).equal(),borderBottom:`1px solid ${xe.colorBorder}`,content:'""'}}}),[`${Ee}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:Qe,paddingBlock:0,paddingInline:xe.paddingXS,background:"transparent",borderRadius:xe.borderRadius,cursor:"pointer",transition:`all ${xe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},oe(we,xe)),{"&:hover":{backgroundColor:Ge},[`&${Ee}-node-selected`]:{color:xe.nodeSelectedColor,backgroundColor:et},[`${Ee}-iconEle`]:{display:"inline-block",width:Qe,height:Qe,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ee}-unselectable ${Ee}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ke}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${xe.colorPrimary}`},"&-show-line":{[`${Ee}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:xe.calc(Qe).div(2).equal(),bottom:xe.calc(ze).mul(-1).equal(),borderInlineEnd:`1px solid ${xe.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ee}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ke}-leaf-last ${Ee}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,x.unit)(xe.calc(Qe).div(2).equal())} !important`}})}},ve=function(we,xe){let Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const ke=`.${we}`,ze=`${ke}-treenode`,Qe=xe.calc(xe.paddingXS).div(2).equal(),Re=(0,He.mergeToken)(xe,{treeCls:ke,treeNodeCls:ze,treeNodePadding:Qe});return[Oe(we,Re),Ee&&Ue(Re)].filter(Boolean)},Me=we=>{const{controlHeightSM:xe,controlItemBgHover:Ee,controlItemBgActive:ke}=we,ze=xe;return{titleHeight:ze,indentSize:ze,nodeHoverBg:Ee,nodeHoverColor:we.colorText,nodeSelectedBg:ke,nodeSelectedColor:we.colorText}},Ie=we=>{const{colorTextLightSolid:xe,colorPrimary:Ee}=we;return Object.assign(Object.assign({},Me(we)),{directoryNodeSelectedColor:xe,directoryNodeSelectedBg:Ee})};var _e=(0,Se.I$)("Tree",(we,xe)=>{let{prefixCls:Ee}=xe;return[{[we.componentCls]:(0,ct.C2)(`${Ee}-checkbox`,we)},ve(Ee,we),(0,Je.Z)(we)]},Ie)},85278:function(Vn,Tt,ae){"use strict";ae.d(Tt,{Z:function(){return xe}});var x=ae(59301),ct=ae(54476),Le={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"},Je=Le,He=ae(7657),Se=function(ke,ze){return x.createElement(He.Z,(0,ct.Z)({},ke,{ref:ze,icon:Je}))},Ue=x.forwardRef(Se),fe=Ue,Ce=ae(52671),oe=ae(58617),Oe=ae(15075),ve=ae(43531),Me=ae(92310),Ie=ae.n(Me),_e=ae(22703),xe=Ee=>{const{prefixCls:ke,switcherIcon:ze,treeNodeProps:Qe,showLine:Re,switcherLoadingIcon:et}=Ee,{isLeaf:Ge,expanded:lt,loading:it}=Qe;if(it)return x.isValidElement(et)?et:x.createElement(oe.Z,{className:`${ke}-switcher-loading-icon`});let ft;if(Re&&typeof Re=="object"&&(ft=Re.showLeafIcon),Ge){if(!Re)return null;if(typeof ft!="boolean"&&ft){const ht=typeof ft=="function"?ft(Qe):ft,Ne=`${ke}-switcher-line-custom-icon`;return x.isValidElement(ht)?(0,_e.Tm)(ht,{className:Ie()(ht.props.className||"",Ne)}):ht}return ft?x.createElement(Ce.Z,{className:`${ke}-switcher-line-icon`}):x.createElement("span",{className:`${ke}-switcher-leaf-line`})}const bt=`${ke}-switcher-icon`,je=typeof ze=="function"?ze(Qe):ze;return x.isValidElement(je)?(0,_e.Tm)(je,{className:Ie()(je.props.className||"",bt)}):je!==void 0?je:Re?lt?x.createElement(Oe.Z,{className:`${ke}-switcher-line-icon`}):x.createElement(ve.Z,{className:`${ke}-switcher-line-icon`}):x.createElement(fe,{className:bt})}},86251:function(Vn,Tt){"use strict";Tt.byteLength=Ue,Tt.toByteArray=Ce,Tt.fromByteArray=ve;for(var ae=[],x=[],ct=typeof Uint8Array!="undefined"?Uint8Array:Array,Le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Je=0,He=Le.length;Je0)throw new Error("Invalid string. Length must be a multiple of 4");var _e=Me.indexOf("=");_e===-1&&(_e=Ie);var we=_e===Ie?0:4-_e%4;return[_e,we]}function Ue(Me){var Ie=Se(Me),_e=Ie[0],we=Ie[1];return(_e+we)*3/4-we}function fe(Me,Ie,_e){return(Ie+_e)*3/4-_e}function Ce(Me){var Ie,_e=Se(Me),we=_e[0],xe=_e[1],Ee=new ct(fe(Me,we,xe)),ke=0,ze=xe>0?we-4:we,Qe;for(Qe=0;Qe>16&255,Ee[ke++]=Ie>>8&255,Ee[ke++]=Ie&255;return xe===2&&(Ie=x[Me.charCodeAt(Qe)]<<2|x[Me.charCodeAt(Qe+1)]>>4,Ee[ke++]=Ie&255),xe===1&&(Ie=x[Me.charCodeAt(Qe)]<<10|x[Me.charCodeAt(Qe+1)]<<4|x[Me.charCodeAt(Qe+2)]>>2,Ee[ke++]=Ie>>8&255,Ee[ke++]=Ie&255),Ee}function oe(Me){return ae[Me>>18&63]+ae[Me>>12&63]+ae[Me>>6&63]+ae[Me&63]}function Oe(Me,Ie,_e){for(var we,xe=[],Ee=Ie;Ee<_e;Ee+=3)we=(Me[Ee]<<16&16711680)+(Me[Ee+1]<<8&65280)+(Me[Ee+2]&255),xe.push(oe(we));return xe.join("")}function ve(Me){for(var Ie,_e=Me.length,we=_e%3,xe=[],Ee=16383,ke=0,ze=_e-we;keze?ze:ke+Ee));return we===1?(Ie=Me[_e-1],xe.push(ae[Ie>>2]+ae[Ie<<4&63]+"==")):we===2&&(Ie=(Me[_e-2]<<8)+Me[_e-1],xe.push(ae[Ie>>10]+ae[Ie>>4&63]+ae[Ie<<2&63]+"=")),xe.join("")}},19208:function(Vn,Tt,ae){"use strict";var x;var ct=ae(86251),Le=ae(67467),Je=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Tt.lW=fe,x=ke,Tt.h2=50;var He=2147483647;x=He,fe.TYPED_ARRAY_SUPPORT=Se(),!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 Se(){try{var ie=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(ie,ee),ie.foo()===42}catch(le){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 Ue(ie){if(ie>He)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ee=new Uint8Array(ie);return Object.setPrototypeOf(ee,fe.prototype),ee}function fe(ie,ee,le){if(typeof ie=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(ie)}return Ce(ie,ee,le)}fe.poolSize=8192;function Ce(ie,ee,le){if(typeof ie=="string")return Me(ie,ee);if(ArrayBuffer.isView(ie))return _e(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(on(ie,ArrayBuffer)||ie&&on(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(on(ie,SharedArrayBuffer)||ie&&on(ie.buffer,SharedArrayBuffer)))return we(ie,ee,le);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var se=ie.valueOf&&ie.valueOf();if(se!=null&&se!==ie)return fe.from(se,ee,le);var Be=xe(ie);if(Be)return Be;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return fe.from(ie[Symbol.toPrimitive]("string"),ee,le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}fe.from=function(ie,ee,le){return Ce(ie,ee,le)},Object.setPrototypeOf(fe.prototype,Uint8Array.prototype),Object.setPrototypeOf(fe,Uint8Array);function oe(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function Oe(ie,ee,le){return oe(ie),ie<=0?Ue(ie):ee!==void 0?typeof le=="string"?Ue(ie).fill(ee,le):Ue(ie).fill(ee):Ue(ie)}fe.alloc=function(ie,ee,le){return Oe(ie,ee,le)};function ve(ie){return oe(ie),Ue(ie<0?0:Ee(ie)|0)}fe.allocUnsafe=function(ie){return ve(ie)},fe.allocUnsafeSlow=function(ie){return ve(ie)};function Me(ie,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!fe.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);var le=ze(ie,ee)|0,se=Ue(le),Be=se.write(ie,ee);return Be!==le&&(se=se.slice(0,Be)),se}function Ie(ie){for(var ee=ie.length<0?0:Ee(ie.length)|0,le=Ue(ee),se=0;se=He)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+He.toString(16)+" bytes");return ie|0}function ke(ie){return+ie!=ie&&(ie=0),fe.alloc(+ie)}fe.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==fe.prototype},fe.compare=function(ee,le){if(on(ee,Uint8Array)&&(ee=fe.from(ee,ee.offset,ee.byteLength)),on(le,Uint8Array)&&(le=fe.from(le,le.offset,le.byteLength)),!fe.isBuffer(ee)||!fe.isBuffer(le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===le)return 0;for(var se=ee.length,Be=le.length,$e=0,at=Math.min(se,Be);$eBe.length?fe.from(at).copy(Be,$e):Uint8Array.prototype.set.call(Be,at,$e);else if(fe.isBuffer(at))at.copy(Be,$e);else throw new TypeError('"list" argument must be an Array of Buffers');$e+=at.length}return Be};function ze(ie,ee){if(fe.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||on(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var le=ie.length,se=arguments.length>2&&arguments[2]===!0;if(!se&&le===0)return 0;for(var Be=!1;;)switch(ee){case"ascii":case"latin1":case"binary":return le;case"utf8":case"utf-8":return pn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le*2;case"hex":return le>>>1;case"base64":return _t(ie).length;default:if(Be)return se?-1:pn(ie).length;ee=(""+ee).toLowerCase(),Be=!0}}fe.byteLength=ze;function Qe(ie,ee,le){var se=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((le===void 0||le>this.length)&&(le=this.length),le<=0)||(le>>>=0,ee>>>=0,le<=ee))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return Ft(this,ee,le);case"utf8":case"utf-8":return Ne(this,ee,le);case"ascii":return ot(this,ee,le);case"latin1":case"binary":return yt(this,ee,le);case"base64":return ht(this,ee,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,ee,le);default:if(se)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),se=!0}}fe.prototype._isBuffer=!0;function Re(ie,ee,le){var se=ie[ee];ie[ee]=ie[le],ie[le]=se}fe.prototype.swap16=function(){var ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var le=0;lele&&(ee+=" ... "),""},Je&&(fe.prototype[Je]=fe.prototype.inspect),fe.prototype.compare=function(ee,le,se,Be,$e){if(on(ee,Uint8Array)&&(ee=fe.from(ee,ee.offset,ee.byteLength)),!fe.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(le===void 0&&(le=0),se===void 0&&(se=ee?ee.length:0),Be===void 0&&(Be=0),$e===void 0&&($e=this.length),le<0||se>ee.length||Be<0||$e>this.length)throw new RangeError("out of range index");if(Be>=$e&&le>=se)return 0;if(Be>=$e)return-1;if(le>=se)return 1;if(le>>>=0,se>>>=0,Be>>>=0,$e>>>=0,this===ee)return 0;for(var at=$e-Be,pt=se-le,gt=Math.min(at,pt),Bt=this.slice(Be,$e),Lt=ee.slice(le,se),Rt=0;Rt2147483647?le=2147483647:le<-2147483648&&(le=-2147483648),le=+le,de(le)&&(le=Be?0:ie.length-1),le<0&&(le=ie.length+le),le>=ie.length){if(Be)return-1;le=ie.length-1}else if(le<0)if(Be)le=0;else return-1;if(typeof ee=="string"&&(ee=fe.from(ee,se)),fe.isBuffer(ee))return ee.length===0?-1:Ge(ie,ee,le,se,Be);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(ie,ee,le):Uint8Array.prototype.lastIndexOf.call(ie,ee,le):Ge(ie,[ee],le,se,Be);throw new TypeError("val must be string, number or Buffer")}function Ge(ie,ee,le,se,Be){var $e=1,at=ie.length,pt=ee.length;if(se!==void 0&&(se=String(se).toLowerCase(),se==="ucs2"||se==="ucs-2"||se==="utf16le"||se==="utf-16le")){if(ie.length<2||ee.length<2)return-1;$e=2,at/=2,pt/=2,le/=2}function gt(st,$t){return $e===1?st[$t]:st.readUInt16BE($t*$e)}var Bt;if(Be){var Lt=-1;for(Bt=le;Btat&&(le=at-pt),Bt=le;Bt>=0;Bt--){for(var Rt=!0,Ct=0;CtBe&&(se=Be)):se=Be;var $e=ee.length;se>$e/2&&(se=$e/2);for(var at=0;at>>0,isFinite(se)?(se=se>>>0,Be===void 0&&(Be="utf8")):(Be=se,se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var $e=this.length-le;if((se===void 0||se>$e)&&(se=$e),ee.length>0&&(se<0||le<0)||le>this.length)throw new RangeError("Attempt to write outside buffer bounds");Be||(Be="utf8");for(var at=!1;;)switch(Be){case"hex":return lt(this,ee,le,se);case"utf8":case"utf-8":return it(this,ee,le,se);case"ascii":case"latin1":case"binary":return ft(this,ee,le,se);case"base64":return bt(this,ee,le,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return je(this,ee,le,se);default:if(at)throw new TypeError("Unknown encoding: "+Be);Be=(""+Be).toLowerCase(),at=!0}},fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ht(ie,ee,le){return ee===0&&le===ie.length?ct.fromByteArray(ie):ct.fromByteArray(ie.slice(ee,le))}function Ne(ie,ee,le){le=Math.min(ie.length,le);for(var se=[],Be=ee;Be239?4:$e>223?3:$e>191?2:1;if(Be+pt<=le){var gt,Bt,Lt,Rt;switch(pt){case 1:$e<128&&(at=$e);break;case 2:gt=ie[Be+1],(gt&192)===128&&(Rt=($e&31)<<6|gt&63,Rt>127&&(at=Rt));break;case 3:gt=ie[Be+1],Bt=ie[Be+2],(gt&192)===128&&(Bt&192)===128&&(Rt=($e&15)<<12|(gt&63)<<6|Bt&63,Rt>2047&&(Rt<55296||Rt>57343)&&(at=Rt));break;case 4:gt=ie[Be+1],Bt=ie[Be+2],Lt=ie[Be+3],(gt&192)===128&&(Bt&192)===128&&(Lt&192)===128&&(Rt=($e&15)<<18|(gt&63)<<12|(Bt&63)<<6|Lt&63,Rt>65535&&Rt<1114112&&(at=Rt))}}at===null?(at=65533,pt=1):at>65535&&(at-=65536,se.push(at>>>10&1023|55296),at=56320|at&1023),se.push(at),Be+=pt}return Ut(se)}var We=4096;function Ut(ie){var ee=ie.length;if(ee<=We)return String.fromCharCode.apply(String,ie);for(var le="",se=0;sese)&&(le=se);for(var Be="",$e=ee;$ese&&(ee=se),le<0?(le+=se,le<0&&(le=0)):le>se&&(le=se),lele)throw new RangeError("Trying to access beyond buffer length")}fe.prototype.readUintLE=fe.prototype.readUIntLE=function(ee,le,se){ee=ee>>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=this[ee],$e=1,at=0;++at>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=this[ee+--le],$e=1;le>0&&($e*=256);)Be+=this[ee+--le]*$e;return Be},fe.prototype.readUint8=fe.prototype.readUInt8=function(ee,le){return ee=ee>>>0,le||Te(ee,1,this.length),this[ee]},fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(ee,le){return ee=ee>>>0,le||Te(ee,2,this.length),this[ee]|this[ee+1]<<8},fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(ee,le){return ee=ee>>>0,le||Te(ee,2,this.length),this[ee]<<8|this[ee+1]},fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},fe.prototype.readUint32BE=fe.prototype.readUInt32BE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},fe.prototype.readIntLE=function(ee,le,se){ee=ee>>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=this[ee],$e=1,at=0;++at=$e&&(Be-=Math.pow(2,8*le)),Be},fe.prototype.readIntBE=function(ee,le,se){ee=ee>>>0,le=le>>>0,se||Te(ee,le,this.length);for(var Be=le,$e=1,at=this[ee+--Be];Be>0&&($e*=256);)at+=this[ee+--Be]*$e;return $e*=128,at>=$e&&(at-=Math.pow(2,8*le)),at},fe.prototype.readInt8=function(ee,le){return ee=ee>>>0,le||Te(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},fe.prototype.readInt16LE=function(ee,le){ee=ee>>>0,le||Te(ee,2,this.length);var se=this[ee]|this[ee+1]<<8;return se&32768?se|4294901760:se},fe.prototype.readInt16BE=function(ee,le){ee=ee>>>0,le||Te(ee,2,this.length);var se=this[ee+1]|this[ee]<<8;return se&32768?se|4294901760:se},fe.prototype.readInt32LE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},fe.prototype.readInt32BE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},fe.prototype.readFloatLE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),Le.read(this,ee,!0,23,4)},fe.prototype.readFloatBE=function(ee,le){return ee=ee>>>0,le||Te(ee,4,this.length),Le.read(this,ee,!1,23,4)},fe.prototype.readDoubleLE=function(ee,le){return ee=ee>>>0,le||Te(ee,8,this.length),Le.read(this,ee,!0,52,8)},fe.prototype.readDoubleBE=function(ee,le){return ee=ee>>>0,le||Te(ee,8,this.length),Le.read(this,ee,!1,52,8)};function At(ie,ee,le,se,Be,$e){if(!fe.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>Be||ee<$e)throw new RangeError('"value" argument is out of bounds');if(le+se>ie.length)throw new RangeError("Index out of range")}fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(ee,le,se,Be){if(ee=+ee,le=le>>>0,se=se>>>0,!Be){var $e=Math.pow(2,8*se)-1;At(this,ee,le,se,$e,0)}var at=1,pt=0;for(this[le]=ee&255;++pt>>0,se=se>>>0,!Be){var $e=Math.pow(2,8*se)-1;At(this,ee,le,se,$e,0)}var at=se-1,pt=1;for(this[le+at]=ee&255;--at>=0&&(pt*=256);)this[le+at]=ee/pt&255;return le+se},fe.prototype.writeUint8=fe.prototype.writeUInt8=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,1,255,0),this[le]=ee&255,le+1},fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,65535,0),this[le]=ee&255,this[le+1]=ee>>>8,le+2},fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,65535,0),this[le]=ee>>>8,this[le+1]=ee&255,le+2},fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,4294967295,0),this[le+3]=ee>>>24,this[le+2]=ee>>>16,this[le+1]=ee>>>8,this[le]=ee&255,le+4},fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,4294967295,0),this[le]=ee>>>24,this[le+1]=ee>>>16,this[le+2]=ee>>>8,this[le+3]=ee&255,le+4},fe.prototype.writeIntLE=function(ee,le,se,Be){if(ee=+ee,le=le>>>0,!Be){var $e=Math.pow(2,8*se-1);At(this,ee,le,se,$e-1,-$e)}var at=0,pt=1,gt=0;for(this[le]=ee&255;++at>0)-gt&255;return le+se},fe.prototype.writeIntBE=function(ee,le,se,Be){if(ee=+ee,le=le>>>0,!Be){var $e=Math.pow(2,8*se-1);At(this,ee,le,se,$e-1,-$e)}var at=se-1,pt=1,gt=0;for(this[le+at]=ee&255;--at>=0&&(pt*=256);)ee<0&>===0&&this[le+at+1]!==0&&(gt=1),this[le+at]=(ee/pt>>0)-gt&255;return le+se},fe.prototype.writeInt8=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,1,127,-128),ee<0&&(ee=255+ee+1),this[le]=ee&255,le+1},fe.prototype.writeInt16LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,32767,-32768),this[le]=ee&255,this[le+1]=ee>>>8,le+2},fe.prototype.writeInt16BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,2,32767,-32768),this[le]=ee>>>8,this[le+1]=ee&255,le+2},fe.prototype.writeInt32LE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,2147483647,-2147483648),this[le]=ee&255,this[le+1]=ee>>>8,this[le+2]=ee>>>16,this[le+3]=ee>>>24,le+4},fe.prototype.writeInt32BE=function(ee,le,se){return ee=+ee,le=le>>>0,se||At(this,ee,le,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[le]=ee>>>24,this[le+1]=ee>>>16,this[le+2]=ee>>>8,this[le+3]=ee&255,le+4};function Zt(ie,ee,le,se,Be,$e){if(le+se>ie.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("Index out of range")}function Kt(ie,ee,le,se,Be){return ee=+ee,le=le>>>0,Be||Zt(ie,ee,le,4,34028234663852886e22,-34028234663852886e22),Le.write(ie,ee,le,se,23,4),le+4}fe.prototype.writeFloatLE=function(ee,le,se){return Kt(this,ee,le,!0,se)},fe.prototype.writeFloatBE=function(ee,le,se){return Kt(this,ee,le,!1,se)};function rt(ie,ee,le,se,Be){return ee=+ee,le=le>>>0,Be||Zt(ie,ee,le,8,17976931348623157e292,-17976931348623157e292),Le.write(ie,ee,le,se,52,8),le+8}fe.prototype.writeDoubleLE=function(ee,le,se){return rt(this,ee,le,!0,se)},fe.prototype.writeDoubleBE=function(ee,le,se){return rt(this,ee,le,!1,se)},fe.prototype.copy=function(ee,le,se,Be){if(!fe.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(se||(se=0),!Be&&Be!==0&&(Be=this.length),le>=ee.length&&(le=ee.length),le||(le=0),Be>0&&Be=this.length)throw new RangeError("Index out of range");if(Be<0)throw new RangeError("sourceEnd out of bounds");Be>this.length&&(Be=this.length),ee.length-le>>0,se=se===void 0?this.length:se>>>0,ee||(ee=0);var at;if(typeof ee=="number")for(at=le;at55295&&le<57344){if(!Be){if(le>56319){(ee-=3)>-1&&$e.push(239,191,189);continue}else if(at+1===se){(ee-=3)>-1&&$e.push(239,191,189);continue}Be=le;continue}if(le<56320){(ee-=3)>-1&&$e.push(239,191,189),Be=le;continue}le=(Be-55296<<10|le-56320)+65536}else Be&&(ee-=3)>-1&&$e.push(239,191,189);if(Be=null,le<128){if((ee-=1)<0)break;$e.push(le)}else if(le<2048){if((ee-=2)<0)break;$e.push(le>>6|192,le&63|128)}else if(le<65536){if((ee-=3)<0)break;$e.push(le>>12|224,le>>6&63|128,le&63|128)}else if(le<1114112){if((ee-=4)<0)break;$e.push(le>>18|240,le>>12&63|128,le>>6&63|128,le&63|128)}else throw new Error("Invalid code point")}return $e}function Ot(ie){for(var ee=[],le=0;le>8,Be=le%256,$e.push(Be),$e.push(se);return $e}function _t(ie){return ct.toByteArray(Qt(ie))}function Fn(ie,ee,le,se){for(var Be=0;Be=ee.length||Be>=ie.length);++Be)ee[Be+le]=ie[Be];return Be}function on(ie,ee){return ie instanceof ee||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ee.name}function de(ie){return ie!==ie}var ge=function(){for(var ie="0123456789abcdef",ee=new Array(256),le=0;le<16;++le)for(var se=le*16,Be=0;Be<16;++Be)ee[se+Be]=ie[le]+ie[Be];return ee}()},14625:function(Vn){function Tt(x){var ct,Le,Je="";if(typeof x=="string"||typeof x=="number")Je+=x;else if(typeof x=="object")if(Array.isArray(x)){var He=x.length;for(ct=0;ct`,triples:"",explode:"[]{}"},Le=x.Pos;x.defineOption("autoCloseBrackets",!1,function(_e,we,xe){xe&&xe!=x.Init&&(_e.removeKeyMap(He),_e.state.closeBrackets=null),we&&(Se(Je(we,"pairs")),_e.state.closeBrackets=we,_e.addKeyMap(He))});function Je(_e,we){return we=="pairs"&&typeof _e=="string"?_e:typeof _e=="object"&&_e[we]!=null?_e[we]:ct[we]}var He={Backspace:Ce,Enter:oe};function Se(_e){for(var we=0;we<_e.length;we++){var xe=_e.charAt(we),Ee="'"+xe+"'";He[Ee]||(He[Ee]=Ue(xe))}}Se(ct.pairs+"`");function Ue(_e){return function(we){return ve(we,_e)}}function fe(_e){var we=_e.state.closeBrackets;if(!we||we.override)return we;var xe=_e.getModeAt(_e.getCursor());return xe.closeBrackets||we}function Ce(_e){var we=fe(_e);if(!we||_e.getOption("disableInput"))return x.Pass;for(var xe=Je(we,"pairs"),Ee=_e.listSelections(),ke=0;ke=0;ke--){var Qe=Ee[ke].head;_e.replaceRange("",Le(Qe.line,Qe.ch-1),Le(Qe.line,Qe.ch+1),"+delete")}}function oe(_e){var we=fe(_e),xe=we&&Je(we,"explode");if(!xe||_e.getOption("disableInput"))return x.Pass;for(var Ee=_e.listSelections(),ke=0;ke0;return{anchor:new Le(_e.anchor.line,_e.anchor.ch+(we?-1:1)),head:new Le(_e.head.line,_e.head.ch+(we?1:-1))}}function ve(_e,we){var xe=fe(_e);if(!xe||_e.getOption("disableInput"))return x.Pass;var Ee=Je(xe,"pairs"),ke=Ee.indexOf(we);if(ke==-1)return x.Pass;for(var ze=Je(xe,"closeBefore"),Qe=Je(xe,"triples"),Re=Ee.charAt(ke+1)==we,et=_e.listSelections(),Ge=ke%2==0,lt,it=0;it=0&&_e.getRange(bt,Le(bt.line,bt.ch+3))==we+we+we?je="skipThree":je="skip";else if(Re&&bt.ch>1&&Qe.indexOf(we)>=0&&_e.getRange(Le(bt.line,bt.ch-2),bt)==we+we){if(bt.ch>2&&/\bstring/.test(_e.getTokenTypeAt(Le(bt.line,bt.ch-2))))return x.Pass;je="addFour"}else if(Re){var Ne=bt.ch==0?" ":_e.getRange(Le(bt.line,bt.ch-1),bt);if(!x.isWordChar(ht)&&Ne!=we&&!x.isWordChar(Ne))je="both";else return x.Pass}else if(Ge&&(ht.length===0||/\s/.test(ht)||ze.indexOf(ht)>-1))je="both";else return x.Pass;if(!lt)lt=je;else if(lt!=je)return x.Pass}var We=ke%2?Ee.charAt(ke-1):we,Ut=ke%2?we:Ee.charAt(ke+1);_e.operation(function(){if(lt=="skip")_e.execCommand("goCharRight");else if(lt=="skipThree")for(var ot=0;ot<3;ot++)_e.execCommand("goCharRight");else if(lt=="surround"){for(var yt=_e.getSelections(),ot=0;ot'"]=function(Me){return Je(Me)}),Ce.addKeyMap(ve)}});var ct=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Le=["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 Je(Ce){if(Ce.getOption("disableInput"))return x.Pass;for(var oe=Ce.listSelections(),Oe=[],ve=Ce.getOption("autoCloseTags"),Me=0;MeIe.ch&&(ke=ke.slice(0,ke.length-_e.end+Ie.ch));var et=ke.toLowerCase();if(!ke||_e.type=="string"&&(_e.end!=Ie.ch||!/[\"\']/.test(_e.string.charAt(_e.string.length-1))||_e.string.length==1)||_e.type=="tag"&&Ee.close||_e.string.indexOf("/")==Ie.ch-_e.start-1||Qe&&Ue(Qe,et)>-1||fe(Ce,we.mode.xmlCurrentContext&&we.mode.xmlCurrentContext(xe)||[],ke,Ie,!0))return x.Pass;var Ge=typeof ve=="object"&&ve.emptyTags;if(Ge&&Ue(Ge,ke)>-1){Oe[Me]={text:"/>",newPos:x.Pos(Ie.line,Ie.ch+2)};continue}var lt=Re&&Ue(Re,et)>-1;Oe[Me]={indent:lt,text:">"+(lt?` `:"")+"",newPos:lt?x.Pos(Ie.line+1,0):x.Pos(Ie.line,Ie.ch+1)}}for(var it=typeof ve=="object"&&ve.dontIndentOnAutoClose,Me=oe.length-1;Me>=0;Me--){var ft=Oe[Me];Ce.replaceRange(ft.text,oe[Me].head,oe[Me].anchor,"+insert");var bt=Ce.listSelections().slice(0);bt[Me]={head:ft.newPos,anchor:ft.newPos},Ce.setSelections(bt),!it&&ft.indent&&(Ce.indentLine(ft.newPos.line,null,!0),Ce.indentLine(ft.newPos.line+1,null,!0))}}function He(Ce,oe){for(var Oe=Ce.listSelections(),ve=[],Me=oe?"/":""&&(Qe+=">"),ve[we]=Qe}if(Ce.replaceSelections(ve),Oe=Ce.listSelections(),!_e)for(var we=0;we=0&&oe[xe]==Oe;xe--)++we;ve=_e.to;for(var xe=1;xe=xe.max))return xe.ch=0,xe.text=xe.cm.getLine(++xe.line),!0}function oe(xe){if(!(xe.line<=xe.min))return xe.text=xe.cm.getLine(--xe.line),xe.ch=xe.text.length,!0}function Oe(xe){for(;;){var Ee=xe.text.indexOf(">",xe.ch);if(Ee==-1){if(Ce(xe))continue;return}if(!fe(xe,Ee+1)){xe.ch=Ee+1;continue}var ke=xe.text.lastIndexOf("/",Ee),ze=ke>-1&&!/\S/.test(xe.text.slice(ke+1,Ee));return xe.ch=Ee+1,ze?"selfClose":"regular"}}function ve(xe){for(;;){var Ee=xe.ch?xe.text.lastIndexOf("<",xe.ch-1):-1;if(Ee==-1){if(oe(xe))continue;return}if(!fe(xe,Ee+1)){xe.ch=Ee;continue}Se.lastIndex=Ee,xe.ch=Ee;var ke=Se.exec(xe.text);if(ke&&ke.index==Ee)return ke}}function Me(xe){for(;;){Se.lastIndex=xe.ch;var Ee=Se.exec(xe.text);if(!Ee){if(Ce(xe))continue;return}if(!fe(xe,Ee.index+1)){xe.ch=Ee.index+1;continue}return xe.ch=Ee.index+Ee[0].length,Ee}}function Ie(xe){for(;;){var Ee=xe.ch?xe.text.lastIndexOf(">",xe.ch-1):-1;if(Ee==-1){if(oe(xe))continue;return}if(!fe(xe,Ee+1)){xe.ch=Ee;continue}var ke=xe.text.lastIndexOf("/",Ee),ze=ke>-1&&!/\S/.test(xe.text.slice(ke+1,Ee));return xe.ch=Ee+1,ze?"selfClose":"regular"}}function _e(xe,Ee){for(var ke=[];;){var ze=Me(xe),Qe,Re=xe.line,et=xe.ch-(ze?ze[0].length:0);if(!ze||!(Qe=Oe(xe)))return;if(Qe!="selfClose")if(ze[1]){for(var Ge=ke.length-1;Ge>=0;--Ge)if(ke[Ge]==ze[2]){ke.length=Ge;break}if(Ge<0&&(!Ee||Ee==ze[2]))return{tag:ze[2],from:ct(Re,et),to:ct(xe.line,xe.ch)}}else ke.push(ze[2])}}function we(xe,Ee){for(var ke=[];;){var ze=Ie(xe);if(!ze)return;if(ze=="selfClose"){ve(xe);continue}var Qe=xe.line,Re=xe.ch,et=ve(xe);if(!et)return;if(et[1])ke.push(et[2]);else{for(var Ge=ke.length-1;Ge>=0;--Ge)if(ke[Ge]==et[2]){ke.length=Ge;break}if(Ge<0&&(!Ee||Ee==et[2]))return{tag:et[2],from:ct(xe.line,xe.ch),to:ct(Qe,Re)}}}}x.registerHelper("fold","xml",function(xe,Ee){for(var ke=new Ue(xe,Ee.line,0);;){var ze=Me(ke);if(!ze||ke.line!=Ee.line)return;var Qe=Oe(ke);if(!Qe)return;if(!ze[1]&&Qe!="selfClose"){var Re=ct(ke.line,ke.ch),et=_e(ke,ze[2]);return et&&Le(et.from,Re)>0?{from:Re,to:et.from}:null}}}),x.findMatchingTag=function(xe,Ee,ke){var ze=new Ue(xe,Ee.line,Ee.ch,ke);if(!(ze.text.indexOf(">")==-1&&ze.text.indexOf("<")==-1)){var Qe=Oe(ze),Re=Qe&&ct(ze.line,ze.ch),et=Qe&&ve(ze);if(!(!Qe||!et||Le(ze,Ee)>0)){var Ge={from:ct(ze.line,ze.ch),to:Re,tag:et[2]};return Qe=="selfClose"?{open:Ge,close:null,at:"open"}:et[1]?{open:we(ze,et[2]),close:Ge,at:"close"}:(ze=new Ue(xe,Re.line,Re.ch,ke),{open:Ge,close:_e(ze,et[2]),at:"open"})}}},x.findEnclosingTag=function(xe,Ee,ke,ze){for(var Qe=new Ue(xe,Ee.line,Ee.ch,ke);;){var Re=we(Qe,ze);if(!Re)break;var et=new Ue(xe,Ee.line,Ee.ch,ke),Ge=_e(et,Re.tag);if(Ge)return{open:Re,close:Ge}}},x.scanForClosingTag=function(xe,Ee,ke,ze){var Qe=new Ue(xe,Ee.line,Ee.ch,ze?{from:0,to:ze}:null);return _e(Qe,ke)}})},89780:function(Vn){(function(Tt,ae){Vn.exports=ae()})(this,function(){"use strict";var Tt=navigator.userAgent,ae=navigator.platform,x=/gecko\/\d/i.test(Tt),ct=/MSIE \d/.test(Tt),Le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Tt),Je=/Edge\/(\d+)/.exec(Tt),He=ct||Le||Je,Se=He&&(ct?document.documentMode||6:+(Je||Le)[1]),Ue=!Je&&/WebKit\//.test(Tt),fe=Ue&&/Qt\/\d+\.\d+/.test(Tt),Ce=!Je&&/Chrome\//.test(Tt),oe=/Opera\//.test(Tt),Oe=/Apple Computer/.test(navigator.vendor),ve=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Tt),Me=/PhantomJS/.test(Tt),Ie=!Je&&/AppleWebKit/.test(Tt)&&/Mobile\/\w+/.test(Tt),_e=/Android/.test(Tt),we=Ie||_e||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Tt),xe=Ie||/Mac/.test(ae),Ee=/\bCrOS\b/.test(Tt),ke=/win/i.test(ae),ze=oe&&Tt.match(/Version\/(\d*\.\d*)/);ze&&(ze=Number(ze[1])),ze&&ze>=15&&(oe=!1,Ue=!0);var Qe=xe&&(fe||oe&&(ze==null||ze<12.11)),Re=x||He&&Se>=9;function et(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ge=function(a,b){var ne=a.className,te=et(b).exec(ne);if(te){var ue=ne.slice(te.index+te[0].length);a.className=ne.slice(0,te.index)+(ue?te[1]+ue:"")}};function lt(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function it(a,b){return lt(a).appendChild(b)}function ft(a,b,ne,te){var ue=document.createElement(a);if(ne&&(ue.className=ne),te&&(ue.style.cssText=te),typeof b=="string")ue.appendChild(document.createTextNode(b));else if(b)for(var De=0;De=b)return qe+(b-De);qe+=mt-De,qe+=ne-qe%ne,De=mt+1}}var Te=function(){this.id=null,this.f=null,this.time=0,this.handler=yt(this.onTimeout,this)};Te.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Te.prototype.set=function(a,b){this.f=b;var ne=+new Date+a;(!this.id||ne=b)return te+Math.min(qe,b-ue);if(ue+=De-te,ue+=ne-ue%ne,te=De+1,ue>=b)return te}}var Ot=[""];function vn(a){for(;Ot.length<=a;)Ot.push(_t(Ot)+" ");return Ot[a]}function _t(a){return a[a.length-1]}function Fn(a,b){for(var ne=[],te=0;te"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ie.test(a))}function le(a,b){return b?b.source.indexOf("\\w")>-1&&ee(a)?!0:b.test(a):ee(a)}function se(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}var Be=/[\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 $e(a){return a.charCodeAt(0)>=768&&Be.test(a)}function at(a,b,ne){for(;(ne<0?b>0:bne?-1:1;;){if(b==ne)return b;var ue=(b+ne)/2,De=te<0?Math.ceil(ue):Math.floor(ue);if(De==b)return a(De)?b:ne;a(De)?ne=De:b=De+te}}function gt(a,b,ne,te){if(!a)return te(b,ne,"ltr",0);for(var ue=!1,De=0;Deb||b==ne&&qe.to==b)&&(te(Math.max(qe.from,b),Math.min(qe.to,ne),qe.level==1?"rtl":"ltr",De),ue=!0)}ue||te(b,ne,"ltr")}var Bt=null;function Lt(a,b,ne){var te;Bt=null;for(var ue=0;ueb)return ue;De.to==b&&(De.from!=De.to&&ne=="before"?te=ue:Bt=ue),De.from==b&&(De.from!=De.to&&ne!="before"?te=ue:Bt=ue)}return te!=null?te:Bt}var Rt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Dt){return Dt<=247?a.charAt(Dt):1424<=Dt&&Dt<=1524?"R":1536<=Dt&&Dt<=1785?b.charAt(Dt-1536):1774<=Dt&&Dt<=2220?"r":8192<=Dt&&Dt<=8203?"w":Dt==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,De=/[LRr]/,qe=/[Lb1n]/,mt=/[1n]/;function Et(Dt,Ln,Qn){this.level=Dt,this.from=Ln,this.to=Qn}return function(Dt,Ln){var Qn=Ln=="ltr"?"L":"R";if(Dt.length==0||Ln=="ltr"&&!te.test(Dt))return!1;for(var Tr=Dt.length,Er=[],xi=0;xi-1&&(te[b]=ue.slice(0,De).concat(ue.slice(De+1)))}}}function an(a,b){var ne=Vt(a,b);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ue=0;ue0}function Mt(a){a.prototype.on=function(b,ne){$t(this,b,ne)},a.prototype.off=function(b,ne){bn(this,b,ne)}}function sn(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Dn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Wn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function It(a){sn(a),Dn(a)}function Wt(a){return a.target||a.srcElement}function rn(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),xe&&a.ctrlKey&&b==1&&(b=3),b}var mn=function(){if(He&&Se<9)return!1;var a=ft("div");return"draggable"in a||"dragDrop"in a}(),Xn;function Fr(a){if(Xn==null){var b=ft("span","\u200B");it(a,ft("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Xn=b.offsetWidth<=1&&b.offsetHeight>2&&!(He&&Se<8))}var ne=Xn?ft("span","\u200B"):ft("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ri;function Hr(a){if(ri!=null)return ri;var b=it(a,document.createTextNode("A\u062EA")),ne=je(b,0,1).getBoundingClientRect(),te=je(b,1,2).getBoundingClientRect();return lt(a),!ne||ne.left==ne.right?!1:ri=te.right-ne.right<3}var Ir=` b`.split(/\n/).length!=3?function(a){for(var b=0,ne=[],te=a.length;b<=te;){var ue=a.indexOf(` `,b);ue==-1&&(ue=a.length);var De=a.slice(b,a.charAt(ue-1)=="\r"?ue-1:ue),qe=De.indexOf("\r");qe!=-1?(ne.push(De.slice(0,qe)),b+=qe+1):(ne.push(De),b=ue+1)}return ne}:function(a){return a.split(/\r\n?|\n/)},qn=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){var b;try{b=a.ownerDocument.selection.createRange()}catch(ne){}return!b||b.parentElement()!=a?!1:b.compareEndPoints("StartToEnd",b)!=0},vr=function(){var a=ft("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Mr=null;function Yn(a){if(Mr!=null)return Mr;var b=it(a,ft("span","x")),ne=b.getBoundingClientRect(),te=je(b,0,1).getBoundingClientRect();return Mr=Math.abs(ne.left-te.left)>1}var sr={},jn={};function ur(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),sr[a]=b}function br(a,b){jn[a]=b}function Xr(a){if(typeof a=="string"&&jn.hasOwnProperty(a))a=jn[a];else if(a&&typeof a.name=="string"&&jn.hasOwnProperty(a.name)){var b=jn[a.name];typeof b=="string"&&(b={name:b}),a=ge(b,a),a.name=b.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Xr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Xr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Yr(a,b){b=Xr(b);var ne=sr[b.name];if(!ne)return Yr(a,"text/plain");var te=ne(a,b);if(gi.hasOwnProperty(b.name)){var ue=gi[b.name];for(var De in ue)ue.hasOwnProperty(De)&&(te.hasOwnProperty(De)&&(te["_"+De]=te[De]),te[De]=ue[De])}if(te.name=b.name,b.helperType&&(te.helperType=b.helperType),b.modeProps)for(var qe in b.modeProps)te[qe]=b.modeProps[qe];return te}var gi={};function ci(a,b){var ne=gi.hasOwnProperty(a)?gi[a]:gi[a]={};Ft(b,ne)}function Hi(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var ne={};for(var te in b){var ue=b[te];ue instanceof Array&&(ue=ue.concat([])),ne[te]=ue}return ne}function vi(a,b){for(var ne;a.innerMode&&(ne=a.innerMode(b),!(!ne||ne.mode==a));)b=ne.state,a=ne.mode;return ne||{mode:a,state:b}}function no(a,b,ne){return a.startState?a.startState(b,ne):!0}var Ki=function(a,b,ne){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};Ki.prototype.eol=function(){return this.pos>=this.string.length},Ki.prototype.sol=function(){return this.pos==this.lineStart},Ki.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ki.prototype.next=function(){if(this.posb},Ki.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ki.prototype.skipToEnd=function(){this.pos=this.string.length},Ki.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Ki.prototype.backUp=function(a){this.pos-=a},Ki.prototype.column=function(){return this.lastColumnPos0?null:(De&&b!==!1&&(this.pos+=De[0].length),De)}},Ki.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ki.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Ki.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Ki.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function fr(a,b){if(b-=a.first,b<0||b>=a.size)throw new Error("There is no line "+(b+a.first)+" in the document.");for(var ne=a;!ne.lines;)for(var te=0;;++te){var ue=ne.children[te],De=ue.chunkSize();if(b=a.first&&bne?zt(ne,fr(a,ne).text.length):ar(b,fr(a,b.line).text.length)}function ar(a,b){var ne=a.ch;return ne==null||ne>b?zt(a.line,b):ne<0?zt(a.line,0):a}function ti(a,b){for(var ne=[],te=0;tethis.maxLookAhead&&(this.maxLookAhead=a),b},Un.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Un.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Un.fromSaved=function(a,b,ne){return b instanceof tr?new Un(a,Hi(a.mode,b.state),ne,b.lookAhead):new Un(a,Hi(a.mode,b),ne)},Un.prototype.save=function(a){var b=a!==!1?Hi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new tr(b,this.maxLookAhead):b};function cr(a,b,ne,te){var ue=[a.state.modeGen],De={};fi(a,b.text,a.doc.mode,ne,function(Dt,Ln){return ue.push(Dt,Ln)},De,te);for(var qe=ne.state,mt=function(Dt){ne.baseTokens=ue;var Ln=a.state.overlays[Dt],Qn=1,Tr=0;ne.state=!0,fi(a,b.text,Ln.mode,ne,function(Er,xi){for(var Wi=Qn;TrEr&&ue.splice(Qn,1,Er,ue[Qn+1],uo),Qn+=2,Tr=Math.min(Er,uo)}if(xi)if(Ln.opaque)ue.splice(Wi,Qn-Wi,Er,"overlay "+xi),Qn=Wi+2;else for(;Wia.options.maxHighlightLength&&Hi(a.doc.mode,te.state),De=cr(a,b,te);ue&&(te.state=ue),b.stateAfter=te.save(!ue),b.styles=De.styles,De.classes?b.styleClasses=De.classes:b.styleClasses&&(b.styleClasses=null),ne===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return b.styles}function Kn(a,b,ne){var te=a.doc,ue=a.display;if(!te.mode.startState)return new Un(te,!0,b);var De=Li(a,b,ne),qe=De>te.first&&fr(te,De-1).stateAfter,mt=qe?Un.fromSaved(te,qe,De):new Un(te,no(te.mode),De);return te.iter(De,b,function(Et){gn(a,Et.text,mt);var Dt=mt.line;Et.stateAfter=Dt==b-1||Dt%5==0||Dt>=ue.viewFrom&&Dtb.start)return De}throw new Error("Mode "+a.name+" failed to advance stream.")}var pr=function(a,b,ne){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=ne};function zr(a,b,ne,te){var ue=a.doc,De=ue.mode,qe;b=Ar(ue,b);var mt=fr(ue,b.line),Et=Kn(a,b.line,ne),Dt=new Ki(mt.text,a.options.tabSize,Et),Ln;for(te&&(Ln=[]);(te||Dt.posa.options.maxHighlightLength?(mt=!1,qe&&gn(a,b,te,Ln.pos),Ln.pos=b.length,Qn=null):Qn=Ni(nr(ne,Ln,te.state,Tr),De),Tr){var Er=Tr[0].name;Er&&(Qn="m-"+(Qn?Er+" "+Qn:Er))}if(!mt||Dt!=Qn){for(;Etqe;--mt){if(mt<=De.first)return De.first;var Et=fr(De,mt-1),Dt=Et.stateAfter;if(Dt&&(!ne||mt+(Dt instanceof tr?Dt.lookAhead:0)<=De.modeFrontier))return mt;var Ln=Ze(Et.text,null,a.options.tabSize);(ue==null||te>Ln)&&(ue=mt-1,te=Ln)}return ue}function hi(a,b){if(a.modeFrontier=Math.min(a.modeFrontier,b),!(a.highlightFrontierne;te--){var ue=fr(a,te).stateAfter;if(ue&&(!(ue instanceof tr)||te+ue.lookAhead=b:De.to>b);(te||(te=[])).push(new Ti(qe,De.from,Et?null:De.to))}}return te}function Mi(a,b,ne){var te;if(a)for(var ue=0;ue=b:De.to>b);if(mt||De.from==b&&qe.type=="bookmark"&&(!ne||De.marker.insertLeft)){var Et=De.from==null||(qe.inclusiveLeft?De.from<=b:De.from0&&mt)for(var ca=0;ca0)){var Ln=[Et,1],Qn=hn(Dt.from,mt.from),Tr=hn(Dt.to,mt.to);(Qn<0||!qe.inclusiveLeft&&!Qn)&&Ln.push({from:Dt.from,to:mt.from}),(Tr>0||!qe.inclusiveRight&&!Tr)&&Ln.push({from:mt.to,to:Dt.to}),ue.splice.apply(ue,Ln),Et+=Ln.length-3}}return ue}function bo(a){var b=a.markedSpans;if(b){for(var ne=0;neb)&&(!te||_n(te,De.marker)<0)&&(te=De.marker)}return te}function ni(a,b,ne,te,ue){var De=fr(a,b),qe=wi&&De.markedSpans;if(qe)for(var mt=0;mt=0&&Qn<=0||Ln<=0&&Qn>=0)&&(Ln<=0&&(Et.marker.inclusiveRight&&ue.inclusiveLeft?hn(Dt.to,ne)>=0:hn(Dt.to,ne)>0)||Ln>=0&&(Et.marker.inclusiveRight&&ue.inclusiveLeft?hn(Dt.from,te)<=0:hn(Dt.from,te)<0)))return!0}}}function Wr(a){for(var b;b=Vi(a);)a=b.find(-1,!0).line;return a}function ji(a){for(var b;b=Ur(a);)a=b.find(1,!0).line;return a}function ro(a){for(var b,ne;b=Ur(a);)a=b.find(1,!0).line,(ne||(ne=[])).push(a);return ne}function Kr(a,b){var ne=fr(a,b),te=Wr(ne);return ne==te?b:ln(te)}function oi(a,b){if(b>a.lastLine())return b;var ne=fr(a,b),te;if(!yr(a,ne))return b;for(;te=Ur(ne);)ne=te.find(1,!0).line;return ln(ne)+1}function yr(a,b){var ne=wi&&b.markedSpans;if(ne){for(var te=void 0,ue=0;ueb.maxLineLength&&(b.maxLineLength=ue,b.maxLine=te)})}var ma=function(a,b,ne){this.text=a,to(this,b),this.height=ne?ne(this):1};ma.prototype.lineNo=function(){return ln(this)},Mt(ma);function Oo(a,b,ne,te){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),bo(a),to(a,ne);var ue=te?te(a):1;ue!=a.height&&Xt(a,ue)}function qo(a){a.parent=null,bo(a)}var jo={},aa={};function fa(a,b){if(!a||/^\s*$/.test(a))return null;var ne=b.addModeClass?aa:jo;return ne[a]||(ne[a]=a.replace(/\S+/g,"cm-$&"))}function Wa(a,b){var ne=bt("span",null,null,Ue?"padding-right: .1px":null),te={pre:bt("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};b.measure={};for(var ue=0;ue<=(b.rest?b.rest.length:0);ue++){var De=ue?b.rest[ue-1]:b.line,qe=void 0;te.pos=0,te.addToken=zs,Hr(a.display.measure)&&(qe=Ct(De,a.doc.direction))&&(te.addToken=us(te.addToken,qe)),te.map=[];var mt=b!=a.display.externalMeasured&&ln(De);go(De,te,Ei(a,De,mt)),De.styleClasses&&(De.styleClasses.bgClass&&(te.bgClass=Ut(De.styleClasses.bgClass,te.bgClass||"")),De.styleClasses.textClass&&(te.textClass=Ut(De.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(Fr(a.display.measure))),ue==0?(b.measure.map=te.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(te.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(Ue){var Et=te.content.lastChild;(/\bcm-tab\b/.test(Et.className)||Et.querySelector&&Et.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return an(a,"renderLine",a,b.line,te.pre),te.pre.className&&(te.textClass=Ut(te.pre.className,te.textClass||"")),te}function Ds(a){var b=ft("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function zs(a,b,ne,te,ue,De,qe){if(b){var mt=a.splitSpaces?is(b,a.trailingSpace):b,Et=a.cm.state.specialChars,Dt=!1,Ln;if(!Et.test(b))a.col+=b.length,Ln=document.createTextNode(mt),a.map.push(a.pos,a.pos+b.length,Ln),He&&Se<9&&(Dt=!0),a.pos+=b.length;else{Ln=document.createDocumentFragment();for(var Qn=0;;){Et.lastIndex=Qn;var Tr=Et.exec(b),Er=Tr?Tr.index-Qn:b.length-Qn;if(Er){var xi=document.createTextNode(mt.slice(Qn,Qn+Er));He&&Se<9?Ln.appendChild(ft("span",[xi])):Ln.appendChild(xi),a.map.push(a.pos,a.pos+Er,xi),a.col+=Er,a.pos+=Er}if(!Tr)break;Qn+=Er+1;var Wi=void 0;if(Tr[0]==" "){var uo=a.cm.options.tabSize,Fo=uo-a.col%uo;Wi=Ln.appendChild(ft("span",vn(Fo),"cm-tab")),Wi.setAttribute("role","presentation"),Wi.setAttribute("cm-text"," "),a.col+=Fo}else Tr[0]=="\r"||Tr[0]==` `?(Wi=Ln.appendChild(ft("span",Tr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Wi.setAttribute("cm-text",Tr[0]),a.col+=1):(Wi=a.cm.options.specialCharPlaceholder(Tr[0]),Wi.setAttribute("cm-text",Tr[0]),He&&Se<9?Ln.appendChild(ft("span",[Wi])):Ln.appendChild(Wi),a.col+=1);a.map.push(a.pos,a.pos+1,Wi),a.pos++}}if(a.trailingSpace=mt.charCodeAt(b.length-1)==32,ne||te||ue||Dt||De||qe){var Zo=ne||"";te&&(Zo+=te),ue&&(Zo+=ue);var Io=ft("span",[Ln],Zo,De);if(qe)for(var ca in qe)qe.hasOwnProperty(ca)&&ca!="style"&&ca!="class"&&Io.setAttribute(ca,qe[ca]);return a.content.appendChild(Io)}a.content.appendChild(Ln)}}function is(a,b){if(a.length>1&&!/ /.test(a))return a;for(var ne=b,te="",ue=0;ueDt&&Qn.from<=Dt));Tr++);if(Qn.to>=Ln)return a(ne,te,ue,De,qe,mt,Et);a(ne,te.slice(0,Qn.to-Dt),ue,De,null,mt,Et),De=null,te=te.slice(Qn.to-Dt),Dt=Qn.to}}}function Uo(a,b,ne,te){var ue=!te&&ne.widgetNode;ue&&a.map.push(a.pos,a.pos+b,ue),!te&&a.cm.display.input.needsContentAttribute&&(ue||(ue=a.content.appendChild(document.createElement("span"))),ue.setAttribute("cm-marker",ne.id)),ue&&(a.cm.display.input.setUneditable(ue),a.content.appendChild(ue)),a.pos+=b,a.trailingSpace=!1}function go(a,b,ne){var te=a.markedSpans,ue=a.text,De=0;if(!te){for(var qe=1;qeEt||Ra.collapsed&&Ba.to==Et&&Ba.from==Et)){if(Ba.to!=null&&Ba.to!=Et&&Er>Ba.to&&(Er=Ba.to,Wi=""),Ra.className&&(xi+=" "+Ra.className),Ra.css&&(Tr=(Tr?Tr+";":"")+Ra.css),Ra.startStyle&&Ba.from==Et&&(uo+=" "+Ra.startStyle),Ra.endStyle&&Ba.to==Er&&(ca||(ca=[])).push(Ra.endStyle,Ba.to),Ra.title&&((Zo||(Zo={})).title=Ra.title),Ra.attributes)for(var Sl in Ra.attributes)(Zo||(Zo={}))[Sl]=Ra.attributes[Sl];Ra.collapsed&&(!Fo||_n(Fo.marker,Ra)<0)&&(Fo=Ba)}else Ba.from>Et&&Er>Ba.from&&(Er=Ba.from)}if(ca)for(var Ku=0;Ku=mt)break;for(var yA=Math.min(mt,Er);;){if(Ln){var Yu=Et+Ln.length;if(!Fo){var Tu=Yu>yA?Ln.slice(0,yA-Et):Ln;b.addToken(b,Tu,Qn?Qn+xi:xi,uo,Et+Tu.length==Er?Wi:"",Tr,Zo)}if(Yu>=yA){Ln=Ln.slice(yA-Et),Et=yA;break}Et=Yu,uo=""}Ln=ue.slice(De,De=ne[Dt++]),Qn=fa(ne[Dt++],b.cm.options)}}}function Fa(a,b,ne){this.line=b,this.rest=ro(b),this.size=this.rest?ln(_t(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=yr(a,b)}function hs(a,b,ne){for(var te=[],ue,De=b;De2&&De.push((Et.bottom+Dt.top)/2-ne.top)}}De.push(ne.bottom-ne.top)}}function pl(a,b,ne){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var te=0;tene)return{map:a.measure.maps[ue],cache:a.measure.caches[ue],before:!0}}function Kc(a,b){b=Wr(b);var ne=ln(b),te=a.display.externalMeasured=new Fa(a.doc,b,ne);te.lineN=ne;var ue=te.built=Wa(a,te);return te.text=ue.pre,it(a.display.lineMeasure,ue.pre),te}function IA(a,b,ne,te){return Wu(a,sa(a,b),ne,te)}function xu(a,b){if(b>=a.display.viewFrom&&b=ne.lineN&&bb)&&(De=Et-mt,ue=De-1,b>=Et&&(qe="right")),ue!=null){if(te=a[Dt+2],mt==Et&&ne==(te.insertLeft?"left":"right")&&(qe=ne),ne=="left"&&ue==0)for(;Dt&&a[Dt-2]==a[Dt-3]&&a[Dt-1].insertLeft;)te=a[(Dt-=3)+2],qe="left";if(ne=="right"&&ue==Et-mt)for(;Dt=0&&(ne=a[ue]).left==ne.right;ue--);return ne}function eA(a,b,ne,te){var ue=Mu(b.map,ne,te),De=ue.node,qe=ue.start,mt=ue.end,Et=ue.collapse,Dt;if(De.nodeType==3){for(var Ln=0;Ln<4;Ln++){for(;qe&&$e(b.line.text.charAt(ue.coverStart+qe));)--qe;for(;ue.coverStart+mt0&&(Et=te="right");var Qn;a.options.lineWrapping&&(Qn=De.getClientRects()).length>1?Dt=Qn[te=="right"?Qn.length-1:0]:Dt=De.getBoundingClientRect()}if(He&&Se<9&&!qe&&(!Dt||!Dt.left&&!Dt.right)){var Tr=De.parentNode.getClientRects()[0];Tr?Dt={left:Tr.left,right:Tr.left+nc(a.display),top:Tr.top,bottom:Tr.bottom}:Dt=dc}for(var Er=Dt.top-b.rect.top,xi=Dt.bottom-b.rect.top,Wi=(Er+xi)/2,uo=b.view.measure.heights,Fo=0;Fo=te.text.length?(Et=te.text.length,Dt="before"):Et<=0&&(Et=0,Dt="after"),!mt)return qe(Dt=="before"?Et-1:Et,Dt=="before");function Ln(xi,Wi,uo){var Fo=mt[Wi],Zo=Fo.level==1;return qe(uo?xi-1:xi,Zo!=uo)}var Qn=Lt(mt,Et,Dt),Tr=Bt,Er=Ln(Et,Qn,Dt=="before");return Tr!=null&&(Er.other=Ln(Et,Tr,Dt!="before")),Er}function Pa(a,b){var ne=0;b=Ar(a.doc,b),a.options.lineWrapping||(ne=nc(a.display)*b.ch);var te=fr(a.doc,b.line),ue=co(te)+ki(a.display);return{left:ne,right:ne,top:ue,bottom:ue+te.height}}function Ua(a,b,ne,te,ue){var De=zt(a,b,ne);return De.xRel=ue,te&&(De.outside=te),De}function Rs(a,b,ne){var te=a.doc;if(ne+=a.display.viewOffset,ne<0)return Ua(te.first,0,null,-1,-1);var ue=yn(te,ne),De=te.first+te.size-1;if(ue>De)return Ua(te.first+te.size-1,fr(te,De).text.length,null,1,1);b<0&&(b=0);for(var qe=fr(te,ue);;){var mt=WA(a,qe,ue,b,ne),Et=qr(qe,mt.ch+(mt.xRel>0||mt.outside>0?1:0));if(!Et)return mt;var Dt=Et.find(1);if(Dt.line==ue)return Dt;qe=fr(te,ue=Dt.line)}}function tA(a,b,ne,te){te-=Gl(b);var ue=b.text.length,De=pt(function(qe){return Wu(a,ne,qe-1).bottom<=te},ue,0);return ue=pt(function(qe){return Wu(a,ne,qe).top>te},De,ue),{begin:De,end:ue}}function Vl(a,b,ne,te){ne||(ne=sa(a,b));var ue=Oc(a,b,Wu(a,ne,te),"line").top;return tA(a,b,ne,ue)}function Au(a,b,ne,te){return a.bottom<=ne?!1:a.top>ne?!0:(te?a.left:a.right)>b}function WA(a,b,ne,te,ue){ue-=co(b);var De=sa(a,b),qe=Gl(b),mt=0,Et=b.text.length,Dt=!0,Ln=Ct(b,a.doc.direction);if(Ln){var Qn=(a.options.lineWrapping?fc:gA)(a,b,ne,De,Ln,te,ue);Dt=Qn.level!=1,mt=Dt?Qn.from:Qn.to-1,Et=Dt?Qn.to:Qn.from-1}var Tr=null,Er=null,xi=pt(function(_a){var Ba=Wu(a,De,_a);return Ba.top+=qe,Ba.bottom+=qe,Au(Ba,te,ue,!1)?(Ba.top<=ue&&Ba.left<=te&&(Tr=_a,Er=Ba),!0):!1},mt,Et),Wi,uo,Fo=!1;if(Er){var Zo=te-Er.left=ca.bottom?1:0}return xi=at(b.text,xi,1),Ua(ne,xi,uo,Fo,te-Wi)}function gA(a,b,ne,te,ue,De,qe){var mt=pt(function(Qn){var Tr=ue[Qn],Er=Tr.level!=1;return Au(Uu(a,zt(ne,Er?Tr.to:Tr.from,Er?"before":"after"),"line",b,te),De,qe,!0)},0,ue.length-1),Et=ue[mt];if(mt>0){var Dt=Et.level!=1,Ln=Uu(a,zt(ne,Dt?Et.from:Et.to,Dt?"after":"before"),"line",b,te);Au(Ln,De,qe,!0)&&Ln.top>qe&&(Et=ue[mt-1])}return Et}function fc(a,b,ne,te,ue,De,qe){var mt=tA(a,b,te,qe),Et=mt.begin,Dt=mt.end;/\s/.test(b.text.charAt(Dt-1))&&Dt--;for(var Ln=null,Qn=null,Tr=0;Tr=Dt||Er.to<=Et)){var xi=Er.level!=1,Wi=Wu(a,te,xi?Math.min(Dt,Er.to)-1:Math.max(Et,Er.from)).right,uo=Wiuo)&&(Ln=Er,Qn=uo)}}return Ln||(Ln=ue[ue.length-1]),Ln.fromDt&&(Ln={from:Ln.from,to:Dt,level:Ln.level}),Ln}var Xl;function mA(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Xl==null){Xl=ft("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)Xl.appendChild(document.createTextNode("x")),Xl.appendChild(ft("br"));Xl.appendChild(document.createTextNode("x"))}it(a.measure,Xl);var ne=Xl.offsetHeight/50;return ne>3&&(a.cachedTextHeight=ne),lt(a.measure),ne||1}function nc(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=ft("span","xxxxxxxxxx"),ne=ft("pre",[b],"CodeMirror-line-like");it(a.measure,ne);var te=b.getBoundingClientRect(),ue=(te.right-te.left)/10;return ue>2&&(a.cachedCharWidth=ue),ue||10}function rc(a){for(var b=a.display,ne={},te={},ue=b.gutters.clientLeft,De=b.gutters.firstChild,qe=0;De;De=De.nextSibling,++qe){var mt=a.display.gutterSpecs[qe].className;ne[mt]=De.offsetLeft+De.clientLeft+ue,te[mt]=De.clientWidth}return{fixedPos:Sd(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:b.wrapper.clientWidth}}function Sd(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Xf(a){var b=mA(a.display),ne=a.options.lineWrapping,te=ne&&Math.max(5,a.display.scroller.clientWidth/nc(a.display)-3);return function(ue){if(yr(a.doc,ue))return 0;var De=0;if(ue.widgets)for(var qe=0;qe0&&(Dt=fr(a.doc,Et.line).text).length==Et.ch){var Ln=Ze(Dt,Dt.length,a.options.tabSize)-Dt.length;Et=zt(Et.line,Math.max(0,Math.round((De-Ta(a.display).left)/nc(a.display))-Ln))}return Et}function hc(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var ne=a.display.view,te=0;teb)&&(ue.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=ue.viewTo)wi&&Kr(a.doc,b)ue.viewFrom?ic(a):(ue.viewFrom+=te,ue.viewTo+=te);else if(b<=ue.viewFrom&&ne>=ue.viewTo)ic(a);else if(b<=ue.viewFrom){var De=Fd(a,ne,ne+te,1);De?(ue.view=ue.view.slice(De.index),ue.viewFrom=De.lineN,ue.viewTo+=te):ic(a)}else if(ne>=ue.viewTo){var qe=Fd(a,b,b,-1);qe?(ue.view=ue.view.slice(0,qe.index),ue.viewTo=qe.lineN):ic(a)}else{var mt=Fd(a,b,b,-1),Et=Fd(a,ne,ne+te,1);mt&&Et?(ue.view=ue.view.slice(0,mt.index).concat(hs(a,mt.lineN,Et.lineN)).concat(ue.view.slice(Et.index)),ue.viewTo+=te):ic(a)}var Dt=ue.externalMeasured;Dt&&(ne=ue.lineN&&b=te.viewTo)){var De=te.view[hc(a,b)];if(De.node!=null){var qe=De.changes||(De.changes=[]);At(qe,ne)==-1&&qe.push(ne)}}}function ic(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Fd(a,b,ne,te){var ue=hc(a,b),De,qe=a.display.view;if(!wi||ne==a.doc.first+a.doc.size)return{index:ue,lineN:ne};for(var mt=a.display.viewFrom,Et=0;Et0){if(ue==qe.length-1)return null;De=mt+qe[ue].size-b,ue++}else De=mt-b;b+=De,ne+=De}for(;Kr(a.doc,ne)!=ne;){if(ue==(te<0?0:qe.length-1))return null;ne+=te*qe[ue-(te<0?1:0)].size,ue+=te}return{index:ue,lineN:ne}}function Yf(a,b,ne){var te=a.display,ue=te.view;ue.length==0||b>=te.viewTo||ne<=te.viewFrom?(te.view=hs(a,b,ne),te.viewFrom=b):(te.viewFrom>b?te.view=hs(a,b,te.viewFrom).concat(te.view):te.viewFromne&&(te.view=te.view.slice(0,hc(a,ne)))),te.viewTo=ne}function Os(a){for(var b=a.display.view,ne=0,te=0;te=a.display.viewTo||mt.to().line0?b.blinker=setInterval(function(){a.hasFocus()||GA(a),b.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Jf(a){a.state.focused||(a.display.input.focus(),Cf(a))}function bf(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,GA(a))},100)}function Cf(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(an(a,"focus",a,b),a.state.focused=!0,We(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ue&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Id(a))}function GA(a,b){a.state.delayingBlurEvent||(a.state.focused&&(an(a,"blur",a,b),a.state.focused=!1,Ge(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function wa(a){for(var b=a.display,ne=b.lineDiv.offsetTop,te=0;te.005||Ln<-.005)&&(Xt(ue.line,qe),Tl(ue.line),ue.rest))for(var Qn=0;Qna.display.sizerWidth){var Tr=Math.ceil(mt/nc(a.display));Tr>a.display.maxLineLength&&(a.display.maxLineLength=Tr,a.display.maxLine=ue.line,a.display.maxLineChanged=!0)}}}}function Tl(a){if(a.widgets)for(var b=0;b=qe&&(De=yn(b,co(fr(b,Et))-a.wrapper.clientHeight),qe=Et)}return{from:De,to:Math.max(qe,De+1)}}function id(a,b){if(!en(a,"scrollCursorIntoView")){var ne=a.display,te=ne.sizer.getBoundingClientRect(),ue=null;if(b.top+te.top<0?ue=!0:b.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ue=!1),ue!=null&&!Me){var De=ft("div","\u200B",null,`position: absolute; top: `+(b.top-ne.viewOffset-ki(a.display))+`px; height: `+(b.bottom-b.top+iu(a)+ne.barHeight)+`px; left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(De),De.scrollIntoView(ue),a.display.lineSpace.removeChild(De)}}}function Tc(a,b,ne,te){te==null&&(te=0);var ue;!a.options.lineWrapping&&b==ne&&(b=b.ch?zt(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b,ne=b.sticky=="before"?zt(b.line,b.ch+1,"before"):b);for(var De=0;De<5;De++){var qe=!1,mt=Uu(a,b),Et=!ne||ne==b?mt:Uu(a,ne);ue={left:Math.min(mt.left,Et.left),top:Math.min(mt.top,Et.top)-te,right:Math.max(mt.left,Et.left),bottom:Math.max(mt.bottom,Et.bottom)+te};var Dt=kc(a,ue),Ln=a.doc.scrollTop,Qn=a.doc.scrollLeft;if(Dt.scrollTop!=null&&(nA(a,Dt.scrollTop),Math.abs(a.doc.scrollTop-Ln)>1&&(qe=!0)),Dt.scrollLeft!=null&&(mc(a,Dt.scrollLeft),Math.abs(a.doc.scrollLeft-Qn)>1&&(qe=!0)),!qe)break}return ue}function Zp(a,b){var ne=kc(a,b);ne.scrollTop!=null&&nA(a,ne.scrollTop),ne.scrollLeft!=null&&mc(a,ne.scrollLeft)}function kc(a,b){var ne=a.display,te=mA(a.display);b.top<0&&(b.top=0);var ue=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ne.scroller.scrollTop,De=ps(a),qe={};b.bottom-b.top>De&&(b.bottom=b.top+De);var mt=a.doc.height+na(ne),Et=b.topmt-te;if(b.topue+De){var Ln=Math.min(b.top,(Dt?mt:b.bottom)-De);Ln!=ue&&(qe.scrollTop=Ln)}var Qn=a.options.fixedGutter?0:ne.gutters.offsetWidth,Tr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ne.scroller.scrollLeft-Qn,Er=Pl(a)-ne.gutters.offsetWidth,xi=b.right-b.left>Er;return xi&&(b.right=b.left+Er),b.left<10?qe.scrollLeft=0:b.leftEr+Tr-3&&(qe.scrollLeft=b.right+(xi?0:10)-Er),qe}function qf(a,b){b!=null&&(gc(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function kA(a){gc(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function od(a,b,ne){(b!=null||ne!=null)&&gc(a),b!=null&&(a.curOp.scrollLeft=b),ne!=null&&(a.curOp.scrollTop=ne)}function Wp(a,b){gc(a),a.curOp.scrollToPos=b}function gc(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var ne=Pa(a,b.from),te=Pa(a,b.to);LA(a,ne,te,b.margin)}}function LA(a,b,ne,te){var ue=kc(a,{left:Math.min(b.left,ne.left),top:Math.min(b.top,ne.top)-te,right:Math.max(b.right,ne.right),bottom:Math.max(b.bottom,ne.bottom)+te});od(a,ue.scrollLeft,ue.scrollTop)}function nA(a,b){Math.abs(a.doc.scrollTop-b)<2||(x||Dd(a,{top:b}),Ks(a,b,!0),x&&Dd(a),ld(a,100))}function Ks(a,b,ne){b=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,b)),!(a.display.scroller.scrollTop==b&&!ne)&&(a.doc.scrollTop=b,a.display.scrollbars.setScrollTop(b),a.display.scroller.scrollTop!=b&&(a.display.scroller.scrollTop=b))}function mc(a,b,ne,te){b=Math.max(0,Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ne?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)&&!te)&&(a.doc.scrollLeft=b,Gt(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function ad(a){var b=a.display,ne=b.gutters.offsetWidth,te=Math.round(a.doc.height+na(a.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:a.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+iu(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:ne}}var sd=function(a,b,ne){this.cm=ne;var te=this.vert=ft("div",[ft("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ue=this.horiz=ft("div",[ft("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ue.tabIndex=-1,a(te),a(ue),$t(te,"scroll",function(){te.clientHeight&&b(te.scrollTop,"vertical")}),$t(ue,"scroll",function(){ue.clientWidth&&b(ue.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,He&&Se<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};sd.prototype.update=function(a){var b=a.scrollWidth>a.clientWidth+1,ne=a.scrollHeight>a.clientHeight+1,te=a.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=b?te+"px":"0";var ue=a.viewHeight-(b?te:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ue)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=a.barLeft+"px";var De=a.viewWidth-a.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:b?te:0}},sd.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},sd.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},sd.prototype.zeroWidthHack=function(){var a=xe&&!ve?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Te,this.disableVert=new Te},sd.prototype.enableZeroWidthBar=function(a,b,ne){a.style.pointerEvents="auto";function te(){var ue=a.getBoundingClientRect(),De=ne=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);De!=a?a.style.pointerEvents="none":b.set(1e3,te)}b.set(1e3,te)},sd.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var vc=function(){};vc.prototype.update=function(){return{bottom:0,right:0}},vc.prototype.setScrollLeft=function(){},vc.prototype.setScrollTop=function(){},vc.prototype.clear=function(){};function Mc(a,b){b||(b=ad(a));var ne=a.display.barWidth,te=a.display.barHeight;xf(a,b);for(var ue=0;ue<4&&ne!=a.display.barWidth||te!=a.display.barHeight;ue++)ne!=a.display.barWidth&&a.options.lineWrapping&&wa(a),xf(a,ad(a)),ne=a.display.barWidth,te=a.display.barHeight}function xf(a,b){var ne=a.display,te=ne.scrollbars.update(b);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=b.gutterWidth+"px"):ne.gutterFiller.style.display=""}var Ld={native:sd,null:vc};function Dh(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ge(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Ld[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),$t(b,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,ne){ne=="horizontal"?mc(a,b):nA(a,b)},a),a.display.scrollbars.addClass&&We(a.display.wrapper,a.display.scrollbars.addClass)}var $p=0;function rA(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:++$p},tl(a.curOp)}function yc(a){var b=a.curOp;b&&hl(b,function(ne){for(var te=0;te=ne.viewTo)||ne.maxLineChanged&&b.options.lineWrapping,a.update=a.mustUpdate&&new Bf(b,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Xd(a){a.updatedDisplay=a.mustUpdate&&eh(a.cm,a.update)}function op(a){var b=a.cm,ne=b.display;a.updatedDisplay&&wa(b),a.barMeasure=ad(b),ne.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=IA(b,ne.maxLine,ne.maxLine.text.length).left+3,b.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+a.adjustWidthTo+iu(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+a.adjustWidthTo-Pl(b))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ne.input.prepareSelection())}function Yd(a){var b=a.cm;a.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var ne=+new Date+a.options.workTime,te=Kn(a,b.highlightFrontier),ue=[];b.iter(te.line,Math.min(b.first+b.size,a.display.viewTo+500),function(De){if(te.line>=a.display.viewFrom){var qe=De.styles,mt=De.text.length>a.options.maxHighlightLength?Hi(b.mode,te.state):null,Et=cr(a,De,te,!0);mt&&(te.state=mt),De.styles=Et.styles;var Dt=De.styleClasses,Ln=Et.classes;Ln?De.styleClasses=Ln:Dt&&(De.styleClasses=null);for(var Qn=!qe||qe.length!=De.styles.length||Dt!=Ln&&(!Dt||!Ln||Dt.bgClass!=Ln.bgClass||Dt.textClass!=Ln.textClass),Tr=0;!Qn&&Trne)return ld(a,a.options.workDelay),!0}),b.highlightFrontier=te.line,b.modeFrontier=Math.max(b.modeFrontier,te.line),ue.length&&iA(a,function(){for(var De=0;De=ne.viewFrom&&b.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&Os(a)==0)return!1;An(a)&&(ic(a),b.dims=rc(a));var ue=te.first+te.size,De=Math.max(b.visible.from-a.options.viewportMargin,te.first),qe=Math.min(ue,b.visible.to+a.options.viewportMargin);ne.viewFromqe&&ne.viewTo-qe<20&&(qe=Math.min(ue,ne.viewTo)),wi&&(De=Kr(a.doc,De),qe=oi(a.doc,qe));var mt=De!=ne.viewFrom||qe!=ne.viewTo||ne.lastWrapHeight!=b.wrapperHeight||ne.lastWrapWidth!=b.wrapperWidth;Yf(a,De,qe),ne.viewOffset=co(fr(a.doc,ne.viewFrom)),a.display.mover.style.top=ne.viewOffset+"px";var Et=Os(a);if(!mt&&Et==0&&!b.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Dt=sp(a);return Et>4&&(ne.lineDiv.style.display="none"),up(a,ne.updateLineNumbers,b.dims),Et>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,lp(Dt),lt(ne.cursorDiv),lt(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,mt&&(ne.lastWrapHeight=b.wrapperHeight,ne.lastWrapWidth=b.wrapperWidth,ld(a,400)),ne.updateLineNumbers=null,!0}function wc(a,b){for(var ne=b.viewport,te=!0;;te=!1){if(!te||!a.options.lineWrapping||b.oldDisplayWidth==Pl(a)){if(ne&&ne.top!=null&&(ne={top:Math.min(a.doc.height+na(a.display)-ps(a),ne.top)}),b.visible=TA(a.display,a.doc,ne),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else te&&(b.visible=TA(a.display,a.doc,ne));if(!eh(a,b))break;wa(a);var ue=ad(a);$u(a),Mc(a,ue),vt(a,ue),b.force=!1}b.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(b.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Dd(a,b){var ne=new Bf(a,b);if(eh(a,ne)){wa(a),wc(a,ne);var te=ad(a);$u(a),Mc(a,te),vt(a,te),ne.finish()}}function up(a,b,ne){var te=a.display,ue=a.options.lineNumbers,De=te.lineDiv,qe=De.firstChild;function mt(xi){var Wi=xi.nextSibling;return Ue&&xe&&a.display.currentWheelTarget==xi?xi.style.display="none":xi.parentNode.removeChild(xi),Wi}for(var Et=te.view,Dt=te.viewFrom,Ln=0;Ln-1&&(Er=!1),Zl(a,Qn,Dt,ne)),Er&&(lt(Qn.lineNumber),Qn.lineNumber.appendChild(document.createTextNode(dn(a.options,Dt)))),qe=Qn.node.nextSibling}Dt+=Qn.size}for(;qe;)qe=mt(qe)}function wt(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function vt(a,b){a.display.sizer.style.minHeight=b.docHeight+"px",a.display.heightForcer.style.top=b.docHeight+"px",a.display.gutters.style.height=b.docHeight+a.display.barHeight+iu(a)+"px"}function Gt(a){var b=a.display,ne=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var te=Sd(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ue=b.gutters.offsetWidth,De=te+"px",qe=0;qeqe.clientWidth,Et=qe.scrollHeight>qe.clientHeight;if(te&&mt||ue&&Et){if(ue&&xe&&Ue){e:for(var Dt=b.target,Ln=De.view;Dt!=qe;Dt=Dt.parentNode)for(var Qn=0;Qn=0&&hn(a,te.to())<=0)return ne}return-1};var Dr=function(a,b){this.anchor=a,this.head=b};Dr.prototype.from=function(){return di(this.anchor,this.head)},Dr.prototype.to=function(){return Jr(this.anchor,this.head)},Dr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function $i(a,b,ne){var te=a&&a.options.selectionsMayTouch,ue=b[ne];b.sort(function(Tr,Er){return hn(Tr.from(),Er.from())}),ne=At(b,ue);for(var De=1;De0:Et>=0){var Dt=di(mt.from(),qe.from()),Ln=Jr(mt.to(),qe.to()),Qn=mt.empty()?qe.from()==qe.head:mt.from()==mt.head;De<=ne&&--ne,b.splice(--De,2,new Dr(Qn?Ln:Dt,Qn?Dt:Ln))}}return new Or(b,ne)}function bi(a,b){return new Or([new Dr(a,b||a)],0)}function qi(a){return a.text?zt(a.from.line+a.text.length-1,_t(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function so(a,b){if(hn(a,b.from)<0)return a;if(hn(a,b.to)<=0)return qi(b);var ne=a.line+b.text.length-(b.to.line-b.from.line)-1,te=a.ch;return a.line==b.to.line&&(te+=qi(b).ch-b.to.ch),zt(ne,te)}function Ji(a,b){for(var ne=[],te=0;te1&&a.remove(mt.line+1,xi-1),a.insert(mt.line+1,Fo)}Js(a,"change",a,b)}function ta(a,b,ne){function te(ue,De,qe){if(ue.linked)for(var mt=0;mt1&&!a.done[a.done.length-2].ranges)return a.done.pop(),_t(a.done)}function ra(a,b,ne,te){var ue=a.history;ue.undone.length=0;var De=+new Date,qe,mt;if((ue.lastOp==te||ue.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ue.lastModTime>De-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(qe=$o(ue,ue.lastOp==te)))mt=_t(qe.changes),hn(b.from,b.to)==0&&hn(b.from,mt.to)==0?mt.to=qi(b):qe.changes.push(fo(a,b));else{var Et=_t(ue.done);for((!Et||!Et.ranges)&&za(a.sel,ue.done),qe={changes:[fo(a,b)],generation:ue.generation},ue.done.push(qe);ue.done.length>ue.undoDepth;)ue.done.shift(),ue.done[0].ranges||ue.done.shift()}ue.done.push(ne),ue.generation=++ue.maxGeneration,ue.lastModTime=ue.lastSelTime=De,ue.lastOp=ue.lastSelOp=te,ue.lastOrigin=ue.lastSelOrigin=b.origin,mt||an(a,"historyAdded")}function xo(a,b,ne,te){var ue=b.charAt(0);return ue=="*"||ue=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Ja(a,b,ne,te){var ue=a.history,De=te&&te.origin;ne==ue.lastSelOp||De&&ue.lastSelOrigin==De&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==De||xo(a,De,_t(ue.done),b))?ue.done[ue.done.length-1]=b:za(b,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=De,ue.lastSelOp=ne,te&&te.clearRedo!==!1&&ko(ue.undone)}function za(a,b){var ne=_t(b);ne&&ne.ranges&&ne.equals(a)||b.push(a)}function Dl(a,b,ne,te){var ue=b["spans_"+a.id],De=0;a.iter(Math.max(a.first,ne),Math.min(a.first+a.size,te),function(qe){qe.markedSpans&&((ue||(ue=b["spans_"+a.id]={}))[De]=qe.markedSpans),++De})}function xl(a){if(!a)return null;for(var b,ne=0;ne-1&&(_t(mt)[Qn]=Dt[Qn],delete Dt[Qn])}}return te}function os(a,b,ne,te){if(te){var ue=a.anchor;if(ne){var De=hn(b,ue)<0;De!=hn(ne,ue)<0?(ue=b,b=ne):De!=hn(b,ne)<0&&(b=ne)}return new Dr(ue,b)}else return new Dr(ne||b,b)}function rs(a,b,ne,te,ue){ue==null&&(ue=a.cm&&(a.cm.display.shift||a.extend)),Po(a,new Or([os(a.sel.primary(),b,ne,ue)],0),te)}function il(a,b,ne){for(var te=[],ue=a.cm&&(a.cm.display.shift||a.extend),De=0;De=b.ch:mt.to>b.ch))){if(ue&&(an(Et,"beforeCursorEnter"),Et.explicitlyCleared))if(De.markedSpans){--qe;continue}else break;if(!Et.atomic)continue;if(ne){var Qn=Et.find(te<0?1:-1),Tr=void 0;if((te<0?Ln:Dt)&&(Qn=ua(a,Qn,-te,Qn&&Qn.line==b.line?De:null)),Qn&&Qn.line==b.line&&(Tr=hn(Qn,ne))&&(te<0?Tr<0:Tr>0))return al(a,Qn,b,te,ue)}var Er=Et.find(te<0?-1:1);return(te<0?Dt:Ln)&&(Er=ua(a,Er,te,Er.line==b.line?De:null)),Er?al(a,Er,b,te,ue):null}}return b}function hu(a,b,ne,te,ue){var De=te||1,qe=al(a,b,ne,De,ue)||!ue&&al(a,b,ne,De,!0)||al(a,b,ne,-De,ue)||!ue&&al(a,b,ne,-De,!0);return qe||(a.cantEdit=!0,zt(a.first,0))}function ua(a,b,ne,te){return ne<0&&b.ch==0?b.line>a.first?Ar(a,zt(b.line-1)):null:ne>0&&b.ch==(te||fr(a,b.line)).text.length?b.line=0;--ue)Xs(a,{from:te[ue].from,to:te[ue].to,text:ue?[""]:b.text,origin:b.origin});else Xs(a,b)}}function Xs(a,b){if(!(b.text.length==1&&b.text[0]==""&&hn(b.from,b.to)==0)){var ne=Ji(a,b);ra(a,b,ne,a.cm?a.cm.curOp.id:NaN),aA(a,b,ne,Mo(a,b));var te=[];ta(a,function(ue,De){!De&&At(te,ue.history)==-1&&(du(ue.history,b),te.push(ue.history)),aA(ue,b,null,Mo(ue,b))})}}function pu(a,b,ne){var te=a.cm&&a.cm.state.suppressEdits;if(!(te&&!ne)){for(var ue=a.history,De,qe=a.sel,mt=b=="undo"?ue.done:ue.undone,Et=b=="undo"?ue.undone:ue.done,Dt=0;Dt=0;--Er){var xi=Tr(Er);if(xi)return xi.v}}}}function Nl(a,b){if(b!=0&&(a.first+=b,a.sel=new Or(Fn(a.sel.ranges,function(ue){return new Dr(zt(ue.anchor.line+b,ue.anchor.ch),zt(ue.head.line+b,ue.head.ch))}),a.sel.primIndex),a.cm)){Du(a.cm,a.first,a.first-b,b);for(var ne=a.cm.display,te=ne.viewFrom;tea.lastLine())){if(b.from.lineDe&&(b={from:b.from,to:zt(De,fr(a,De).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Lr(a,b.from,b.to),ne||(ne=Ji(a,b)),a.cm?Bl(a.cm,b,te):la(a,b,te),As(a,ne,rt),a.cantEdit&&hu(a,zt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Bl(a,b,ne){var te=a.doc,ue=a.display,De=b.from,qe=b.to,mt=!1,Et=De.line;a.options.lineWrapping||(Et=ln(Wr(fr(te,De.line))),te.iter(Et,qe.line+1,function(Er){if(Er==ue.maxLine)return mt=!0,!0})),te.sel.contains(b.from,b.to)>-1&&Hn(a),la(te,b,ne,Xf(a)),a.options.lineWrapping||(te.iter(Et,De.line+b.text.length,function(Er){var xi=Jo(Er);xi>ue.maxLineLength&&(ue.maxLine=Er,ue.maxLineLength=xi,ue.maxLineChanged=!0,mt=!1)}),mt&&(a.curOp.updateMaxLine=!0)),hi(te,De.line),ld(a,400);var Dt=b.text.length-(qe.line-De.line)-1;b.full?Du(a):De.line==qe.line&&b.text.length==1&&!La(a.doc,b)?_c(a,De.line,"text"):Du(a,De.line,qe.line+1,Dt);var Ln=En(a,"changes"),Qn=En(a,"change");if(Qn||Ln){var Tr={from:De,to:qe,text:b.text,removed:b.removed,origin:b.origin};Qn&&Js(a,"change",a,Tr),Ln&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Tr)}a.display.selForContextMenu=null}function gs(a,b,ne,te,ue){var De;te||(te=ne),hn(te,ne)<0&&(De=[te,ne],ne=De[0],te=De[1]),typeof b=="string"&&(b=a.splitLines(b)),qs(a,{from:ne,to:te,text:b,origin:ue})}function sl(a,b,ne,te){ne1||!(this.children[0]instanceof ms))){var mt=[];this.collapse(mt),this.children=[new ms(mt)],this.children[0].parent=this}},collapse:function(a){for(var b=0;b50){for(var qe=ue.lines.length%25+25,mt=qe;mt10);a.parent.maybeSpill()}},iterN:function(a,b,ne){for(var te=0;tea.display.maxLineLength&&(a.display.maxLine=Dt,a.display.maxLineLength=Ln,a.display.maxLineChanged=!0)}te!=null&&a&&this.collapsed&&Du(a,te,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Vs(a.doc)),a&&Js(a,"markerCleared",a,this,te,ue),b&&yc(a),this.parent&&this.parent.clear()}},_u.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var ne,te,ue=0;ue0||qe==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=bt("span",[De.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(ni(a,b.line,b,ne,De)||b.line!=ne.line&&ni(a,ne.line,b,ne,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");yi()}De.addToHistory&&ra(a,{from:b,to:ne,origin:"markText"},a.sel,NaN);var mt=b.line,Et=a.cm,Dt;if(a.iter(mt,ne.line+1,function(Qn){Et&&De.collapsed&&!Et.options.lineWrapping&&Wr(Qn)==Et.display.maxLine&&(Dt=!0),De.collapsed&&mt!=b.line&&Xt(Qn,0),Yi(Qn,new Ti(De,mt==b.line?b.ch:null,mt==ne.line?ne.ch:null)),++mt}),De.collapsed&&a.iter(b.line,ne.line+1,function(Qn){yr(a,Qn)&&Xt(Qn,0)}),De.clearOnEnter&&$t(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(Ci(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),De.collapsed&&(De.id=++Pu,De.atomic=!0),Et){if(Dt&&(Et.curOp.updateMaxLine=!0),De.collapsed)Du(Et,b.line,ne.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var Ln=b.line;Ln<=ne.line;Ln++)_c(Et,Ln,"text");De.atomic&&Vs(Et.doc),Js(Et,"markerAdded",Et,De)}return De}var ul=function(a,b){this.markers=a,this.primary=b;for(var ne=0;ne=0;Et--)qs(this,te[Et]);mt?Go(this,mt):this.cm&&kA(this.cm)}),undo:Ou(function(){pu(this,"undo")}),redo:Ou(function(){pu(this,"redo")}),undoSelection:Ou(function(){pu(this,"undo",!0)}),redoSelection:Ou(function(){pu(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,b=0,ne=0,te=0;te=a.ch)&&b.push(ue.marker.parent||ue.marker)}return b},findMarks:function(a,b,ne){a=Ar(this,a),b=Ar(this,b);var te=[],ue=a.line;return this.iter(a.line,b.line+1,function(De){var qe=De.markedSpans;if(qe)for(var mt=0;mt=Et.to||Et.from==null&&ue!=a.line||Et.from!=null&&ue==b.line&&Et.from>=b.ch)&&(!ne||ne(Et.marker))&&te.push(Et.marker.parent||Et.marker)}++ue}),te},getAllMarks:function(){var a=[];return this.iter(function(b){var ne=b.markedSpans;if(ne)for(var te=0;tea)return b=a,!0;a-=De,++ne}),Ar(this,zt(ne,b))},indexFromPos:function(a){a=Ar(this,a);var b=a.ch;if(a.lineb&&(b=a.from),a.to!=null&&a.to-1){b.state.draggingText(a),setTimeout(function(){return b.display.input.focus()},20);return}try{var Ln=a.dataTransfer.getData("Text");if(Ln){var Qn;if(b.state.draggingText&&!b.state.draggingText.copy&&(Qn=b.listSelections()),As(b.doc,bi(ne,ne)),Qn)for(var Tr=0;Tr=0;mt--)gs(a.doc,"",te[mt].from,te[mt].to,"+delete");kA(a)})}function tf(a,b,ne){var te=at(a.text,b+ne,ne);return te<0||te>a.text.length?null:te}function Ff(a,b,ne){var te=tf(a,b.ch,ne);return te==null?null:new zt(b.line,te,ne<0?"after":"before")}function nf(a,b,ne,te,ue){if(a){b.doc.direction=="rtl"&&(ue=-ue);var De=Ct(ne,b.doc.direction);if(De){var qe=ue<0?_t(De):De[0],mt=ue<0==(qe.level==1),Et=mt?"after":"before",Dt;if(qe.level>0||b.doc.direction=="rtl"){var Ln=sa(b,ne);Dt=ue<0?ne.text.length-1:0;var Qn=Wu(b,Ln,Dt).top;Dt=pt(function(Tr){return Wu(b,Ln,Tr).top==Qn},ue<0==(qe.level==1)?qe.from:qe.to-1,Dt),Et=="before"&&(Dt=tf(ne,Dt,1))}else Dt=ue<0?qe.to:qe.from;return new zt(te,Dt,Et)}}return new zt(te,ue<0?ne.text.length:0,ue<0?"before":"after")}function If(a,b,ne,te){var ue=Ct(b,a.doc.direction);if(!ue)return Ff(b,ne,te);ne.ch>=b.text.length?(ne.ch=b.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var De=Lt(ue,ne.ch,ne.sticky),qe=ue[De];if(a.doc.direction=="ltr"&&qe.level%2==0&&(te>0?qe.to>ne.ch:qe.from=qe.from&&Tr>=Ln.begin)){var Er=Qn?"before":"after";return new zt(ne.line,Tr,Er)}}var xi=function(Fo,Zo,Io){for(var ca=function(Sl,Ku){return Ku?new zt(ne.line,mt(Sl,1),"before"):new zt(ne.line,Sl,"after")};Fo>=0&&Fo0==(_a.level!=1),Ra=Ba?Io.begin:mt(Io.end,-1);if(_a.from<=Ra&&Ra<_a.to||(Ra=Ba?_a.from:mt(_a.to,-1),Io.begin<=Ra&&Ra0?Ln.end:mt(Ln.begin,-1);return uo!=null&&!(te>0&&uo==b.text.length)&&(Wi=xi(te>0?0:ue.length-1,te,Dt(uo)),Wi)?Wi:null}var Gc={selectAll:ea,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),rt)},killLine:function(a){return UA(a,function(b){if(b.empty()){var ne=fr(a.doc,b.head.line).text.length;return b.head.ch==ne&&b.head.line0)ue=new zt(ue.line,ue.ch+1),a.replaceRange(De.charAt(ue.ch-1)+De.charAt(ue.ch-2),zt(ue.line,ue.ch-2),ue,"+transpose");else if(ue.line>a.doc.first){var qe=fr(a.doc,ue.line-1).text;qe&&(ue=new zt(ue.line,1),a.replaceRange(De.charAt(0)+a.doc.lineSeparator()+qe.charAt(qe.length-1),zt(ue.line-1,qe.length-1),ue,"+transpose"))}}ne.push(new Dr(ue,ue))}a.setSelections(ne)})},newlineAndIndent:function(a){return iA(a,function(){for(var b=a.listSelections(),ne=b.length-1;ne>=0;ne--)a.replaceRange(a.doc.lineSeparator(),b[ne].anchor,b[ne].head,"+input");b=a.listSelections();for(var te=0;tea&&hn(b,this.pos)==0&&ne==this.button};var xc,Bc;function _d(a,b){var ne=+new Date;return Bc&&Bc.compare(ne,a,b)?(xc=Bc=null,"triple"):xc&&xc.compare(ne,a,b)?(Bc=new Ad(ne,a,b),xc=null,"double"):(xc=new Ad(ne,a,b),Bc=null,"single")}function cd(a){var b=this,ne=b.display;if(!(en(b,a)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=a.shiftKey,uu(ne,a)){Ue||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!Uc(b,a)){var te=Pc(b,a),ue=rn(a),De=te?_d(te,ue):"single";window.focus(),ue==1&&b.state.selectingText&&b.state.selectingText(a),!(te&&Oh(b,ue,te,De,a))&&(ue==1?te?Is(b,te,De,a):Wt(a)==ne.scroller&&sn(a):ue==2?(te&&rs(b.doc,te),setTimeout(function(){return ne.input.focus()},20)):ue==3&&(Re?b.display.input.onContextMenu(a):bf(b)))}}}function Oh(a,b,ne,te,ue){var De="Click";return te=="double"?De="Double"+De:te=="triple"&&(De="Triple"+De),De=(b==1?"Left":b==2?"Middle":"Right")+De,of(a,Wc(De,ue),ue,function(qe){if(typeof qe=="string"&&(qe=Gc[qe]),!qe)return!1;var mt=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),mt=qe(a,ne)!=Kt}finally{a.state.suppressEdits=!1}return mt})}function ds(a,b,ne){var te=a.getOption("configureMouse"),ue=te?te(a,b,ne):{};if(ue.unit==null){var De=Ee?ne.shiftKey&&ne.metaKey:ne.altKey;ue.unit=De?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(ue.extend==null||a.doc.extend)&&(ue.extend=a.doc.extend||ne.shiftKey),ue.addNew==null&&(ue.addNew=xe?ne.metaKey:ne.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(xe?ne.altKey:ne.ctrlKey)),ue}function Is(a,b,ne,te){He?setTimeout(yt(Jf,a),0):a.curOp.focus=Ne();var ue=ds(a,ne,te),De=a.doc.sel,qe;a.options.dragDrop&&mn&&!a.isReadOnly()&&ne=="single"&&(qe=De.contains(b))>-1&&(hn((qe=De.ranges[qe]).from(),b)<0||b.xRel>0)&&(hn(qe.to(),b)>0||b.xRel<0)?mu(a,te,b,ue):zu(a,te,b,ue)}function mu(a,b,ne,te){var ue=a.display,De=!1,qe=Nu(a,function(Dt){Ue&&(ue.scroller.draggable=!1),a.state.draggingText=!1,bn(ue.wrapper.ownerDocument,"mouseup",qe),bn(ue.wrapper.ownerDocument,"mousemove",mt),bn(ue.scroller,"dragstart",Et),bn(ue.scroller,"drop",qe),De||(sn(Dt),te.addNew||rs(a.doc,ne,null,null,te.extend),Ue&&!Oe||He&&Se==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),mt=function(Dt){De=De||Math.abs(b.clientX-Dt.clientX)+Math.abs(b.clientY-Dt.clientY)>=10},Et=function(){return De=!0};Ue&&(ue.scroller.draggable=!0),a.state.draggingText=qe,qe.copy=!te.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),$t(ue.wrapper.ownerDocument,"mouseup",qe),$t(ue.wrapper.ownerDocument,"mousemove",mt),$t(ue.scroller,"dragstart",Et),$t(ue.scroller,"drop",qe),bf(a),setTimeout(function(){return ue.input.focus()},20)}function Hu(a,b,ne){if(ne=="char")return new Dr(b,b);if(ne=="word")return a.findWordAt(b);if(ne=="line")return new Dr(zt(b.line,0),Ar(a.doc,zt(b.line+1,0)));var te=ne(a,b);return new Dr(te.from,te.to)}function zu(a,b,ne,te){var ue=a.display,De=a.doc;sn(b);var qe,mt,Et=De.sel,Dt=Et.ranges;if(te.addNew&&!te.extend?(mt=De.sel.contains(ne),mt>-1?qe=Dt[mt]:qe=new Dr(ne,ne)):(qe=De.sel.primary(),mt=De.sel.primIndex),te.unit=="rectangle")te.addNew||(qe=new Dr(ne,ne)),ne=Pc(a,b,!0,!0),mt=-1;else{var Ln=Hu(a,ne,te.unit);te.extend?qe=os(qe,Ln.anchor,Ln.head,te.extend):qe=Ln}te.addNew?mt==-1?(mt=Dt.length,Po(De,$i(a,Dt.concat([qe]),mt),{scroll:!1,origin:"*mouse"})):Dt.length>1&&Dt[mt].empty()&&te.unit=="char"&&!te.extend?(Po(De,$i(a,Dt.slice(0,mt).concat(Dt.slice(mt+1)),0),{scroll:!1,origin:"*mouse"}),Et=De.sel):cu(De,mt,qe,Nt):(mt=0,Po(De,new Or([qe],0),Nt),Et=De.sel);var Qn=ne;function Tr(Io){if(hn(Qn,Io)!=0)if(Qn=Io,te.unit=="rectangle"){for(var ca=[],_a=a.options.tabSize,Ba=Ze(fr(De,ne.line).text,ne.ch,_a),Ra=Ze(fr(De,Io.line).text,Io.ch,_a),Sl=Math.min(Ba,Ra),Ku=Math.max(Ba,Ra),ql=Math.min(ne.line,Io.line),yA=Math.min(a.lastLine(),Math.max(ne.line,Io.line));ql<=yA;ql++){var Yu=fr(De,ql).text,Tu=pn(Yu,Sl,_a);Sl==Ku?ca.push(new Dr(zt(ql,Tu),zt(ql,Tu))):Yu.length>Tu&&ca.push(new Dr(zt(ql,Tu),zt(ql,pn(Yu,Ku,_a))))}ca.length||ca.push(new Dr(ne,ne)),Po(De,$i(a,Et.ranges.slice(0,mt).concat(ca),mt),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Io)}else{var wA=qe,sA=Hu(a,Io,te.unit),Eo=wA.anchor,Rl;hn(sA.anchor,Eo)>0?(Rl=sA.head,Eo=di(wA.from(),sA.anchor)):(Rl=sA.anchor,Eo=Jr(wA.to(),sA.head));var eu=Et.ranges.slice(0);eu[mt]=dd(a,new Dr(Ar(De,Eo),Rl)),Po(De,$i(a,eu,mt),Nt)}}var Er=ue.wrapper.getBoundingClientRect(),xi=0;function Wi(Io){var ca=++xi,_a=Pc(a,Io,!0,te.unit=="rectangle");if(_a)if(hn(_a,Qn)!=0){a.curOp.focus=Ne(),Tr(_a);var Ba=TA(ue,De);(_a.line>=Ba.to||_a.lineEr.bottom?20:0;Ra&&setTimeout(Nu(a,function(){xi==ca&&(ue.scroller.scrollTop+=Ra,Wi(Io))}),50)}}function uo(Io){a.state.selectingText=!1,xi=1/0,Io&&(sn(Io),ue.input.focus()),bn(ue.wrapper.ownerDocument,"mousemove",Fo),bn(ue.wrapper.ownerDocument,"mouseup",Zo),De.history.lastSelOrigin=null}var Fo=Nu(a,function(Io){Io.buttons===0||!rn(Io)?uo(Io):Wi(Io)}),Zo=Nu(a,uo);a.state.selectingText=Zo,$t(ue.wrapper.ownerDocument,"mousemove",Fo),$t(ue.wrapper.ownerDocument,"mouseup",Zo)}function dd(a,b){var ne=b.anchor,te=b.head,ue=fr(a.doc,ne.line);if(hn(ne,te)==0&&ne.sticky==te.sticky)return b;var De=Ct(ue);if(!De)return b;var qe=Lt(De,ne.ch,ne.sticky),mt=De[qe];if(mt.from!=ne.ch&&mt.to!=ne.ch)return b;var Et=qe+(mt.from==ne.ch==(mt.level!=1)?0:1);if(Et==0||Et==De.length)return b;var Dt;if(te.line!=ne.line)Dt=(te.line-ne.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var Ln=Lt(De,te.ch,te.sticky),Qn=Ln-qe||(te.ch-ne.ch)*(mt.level==1?-1:1);Ln==Et-1||Ln==Et?Dt=Qn<0:Dt=Qn>0}var Tr=De[Et+(Dt?-1:0)],Er=Dt==(Tr.level==1),xi=Er?Tr.from:Tr.to,Wi=Er?"after":"before";return ne.ch==xi&&ne.sticky==Wi?b:new Dr(new zt(ne.line,xi,Wi),te)}function Vc(a,b,ne,te){var ue,De;if(b.touches)ue=b.touches[0].clientX,De=b.touches[0].clientY;else try{ue=b.clientX,De=b.clientY}catch(Tr){return!1}if(ue>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;te&&sn(b);var qe=a.display,mt=qe.lineDiv.getBoundingClientRect();if(De>mt.bottom||!En(a,ne))return Wn(b);De-=mt.top-qe.viewOffset;for(var Et=0;Et=ue){var Ln=yn(a.doc,De),Qn=a.display.gutterSpecs[Et];return an(a,ne,a,Ln,Qn.className,b),Wn(b)}}}function Uc(a,b){return Vc(a,b,"gutterClick",!0)}function fd(a,b){uu(a.display,b)||Xc(a,b)||en(a,b,"contextmenu")||Re||a.display.input.onContextMenu(b)}function Xc(a,b){return En(a,"gutterContextMenu")?Vc(a,b,"gutterContextMenu",!1):!1}function Ph(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Cl(a)}var hd={toString:function(){return"CodeMirror.Init"}},Xp={},_h={};function mg(a){var b=a.optionHandlers;function ne(te,ue,De,qe){a.defaults[te]=ue,De&&(b[te]=qe?function(mt,Et,Dt){Dt!=hd&&De(mt,Et,Dt)}:De)}a.defineOption=ne,a.Init=hd,ne("value","",function(te,ue){return te.setValue(ue)},!0),ne("mode",null,function(te,ue){te.doc.modeOption=ue,Qo(te)},!0),ne("indentUnit",2,Qo,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){To(te),Cl(te),Du(te)},!0),ne("lineSeparator",null,function(te,ue){if(te.doc.lineSep=ue,!!ue){var De=[],qe=te.doc.first;te.doc.iter(function(Et){for(var Dt=0;;){var Ln=Et.text.indexOf(ue,Dt);if(Ln==-1)break;Dt=Ln+ue.length,De.push(zt(qe,Ln))}qe++});for(var mt=De.length-1;mt>=0;mt--)gs(te.doc,ue,De[mt],zt(De[mt].line,De[mt].ch+ue.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ue,De){te.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),De!=hd&&te.refresh()}),ne("specialCharPlaceholder",Ds,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",we?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,ue){return te.getInputField().spellcheck=ue},!0),ne("autocorrect",!1,function(te,ue){return te.getInputField().autocorrect=ue},!0),ne("autocapitalize",!1,function(te,ue){return te.getInputField().autocapitalize=ue},!0),ne("rtlMoveVisually",!ke),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){Ph(te),or(te)},!0),ne("keyMap","default",function(te,ue,De){var qe=gu(ue),mt=De!=hd&&gu(De);mt&&mt.detach&&mt.detach(te,qe),qe.attach&&qe.attach(te,mt||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,Yp,!0),ne("gutters",[],function(te,ue){te.display.gutterSpecs=Sn(ue,te.options.lineNumbers),or(te)},!0),ne("fixedGutter",!0,function(te,ue){te.display.gutters.style.left=ue?Sd(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return Mc(te)},!0),ne("scrollbarStyle","native",function(te){Dh(te),Mc(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ue){te.display.gutterSpecs=Sn(te.options.gutters,ue),or(te)},!0),ne("firstLineNumber",1,or,!0),ne("lineNumberFormatter",function(te){return te},or,!0),ne("showCursorWhenSelecting",!1,$u,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ue){ue=="nocursor"&&(GA(te),te.display.input.blur()),te.display.input.readOnlyChanged(ue)}),ne("screenReaderLabel",null,function(te,ue){ue=ue===""?null:ue,te.display.input.screenReaderLabelChanged(ue)}),ne("disableInput",!1,function(te,ue){ue||te.display.input.reset()},!0),ne("dragDrop",!0,vg),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,$u,!0),ne("singleCursorHeightPerLine",!0,$u,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,To,!0),ne("addModeClass",!1,To,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,ue){return te.doc.history.undoDepth=ue}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,To,!0),ne("moveInputWithCursor",!0,function(te,ue){ue||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ue){return te.display.input.getField().tabIndex=ue||""}),ne("autofocus",null),ne("direction","ltr",function(te,ue){return te.doc.setDirection(ue)},!0),ne("phrases",null)}function vg(a,b,ne){var te=ne&&ne!=hd;if(!b!=!te){var ue=a.display.dragFunctions,De=b?$t:bn;De(a.display.scroller,"dragstart",ue.start),De(a.display.scroller,"dragenter",ue.enter),De(a.display.scroller,"dragover",ue.over),De(a.display.scroller,"dragleave",ue.leave),De(a.display.scroller,"drop",ue.drop)}}function Yp(a){a.options.lineWrapping?(We(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ge(a.display.wrapper,"CodeMirror-wrap"),No(a)),rd(a),Du(a),Cl(a),setTimeout(function(){return Mc(a)},100)}function Ml(a,b){var ne=this;if(!(this instanceof Ml))return new Ml(a,b);this.options=b=b?Ft(b):{},Ft(Xp,b,!1);var te=b.value;typeof te=="string"?te=new Al(te,b.mode,null,b.lineSeparator,b.direction):b.mode&&(te.modeOption=b.mode),this.doc=te;var ue=new Ml.inputStyles[b.inputStyle](this),De=this.display=new er(a,te,ue,b);De.wrapper.CodeMirror=this,Ph(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Dh(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 Te,keySeq:null,specialChars:null},b.autofocus&&!we&&De.input.focus(),He&&Se<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),Jp(this),ud(),rA(this),this.curOp.forceUpdate=!0,Ko(this,te),b.autofocus&&!we||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&Cf(ne)},20):GA(this);for(var qe in _h)_h.hasOwnProperty(qe)&&_h[qe](this,b[qe],hd);An(this),b.finishInit&&b.finishInit(this);for(var mt=0;mt20*20}$t(b.scroller,"touchstart",function(Et){if(!en(a,Et)&&!De(Et)&&!Uc(a,Et)){b.input.ensurePolled(),clearTimeout(ne);var Dt=+new Date;b.activeTouch={start:Dt,moved:!1,prev:Dt-te.end<=300?te:null},Et.touches.length==1&&(b.activeTouch.left=Et.touches[0].pageX,b.activeTouch.top=Et.touches[0].pageY)}}),$t(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),$t(b.scroller,"touchend",function(Et){var Dt=b.activeTouch;if(Dt&&!uu(b,Et)&&Dt.left!=null&&!Dt.moved&&new Date-Dt.start<300){var Ln=a.coordsChar(b.activeTouch,"page"),Qn;!Dt.prev||qe(Dt,Dt.prev)?Qn=new Dr(Ln,Ln):!Dt.prev.prev||qe(Dt,Dt.prev.prev)?Qn=a.findWordAt(Ln):Qn=new Dr(zt(Ln.line,0),Ar(a.doc,zt(Ln.line+1,0))),a.setSelection(Qn.anchor,Qn.head),a.focus(),sn(Et)}ue()}),$t(b.scroller,"touchcancel",ue),$t(b.scroller,"scroll",function(){b.scroller.clientHeight&&(nA(a,b.scroller.scrollTop),mc(a,b.scroller.scrollLeft,!0),an(a,"scroll",a))}),$t(b.scroller,"mousewheel",function(Et){return Qr(a,Et)}),$t(b.scroller,"DOMMouseScroll",function(Et){return Qr(a,Et)}),$t(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(Et){en(a,Et)||It(Et)},over:function(Et){en(a,Et)||(XA(a,Et),It(Et))},start:function(Et){return MA(a,Et)},drop:Nu(a,bc),leave:function(Et){en(a,Et)||qd(a)}};var mt=b.input.getField();$t(mt,"keyup",function(Et){return rh.call(a,Et)}),$t(mt,"keydown",Nu(a,af)),$t(mt,"keypress",Nu(a,ih)),$t(mt,"focus",function(Et){return Cf(a,Et)}),$t(mt,"blur",function(Et){return GA(a,Et)})}var Th=[];Ml.defineInitHook=function(a){return Th.push(a)};function sf(a,b,ne,te){var ue=a.doc,De;ne==null&&(ne="add"),ne=="smart"&&(ue.mode.indent?De=Kn(a,b).state:ne="prev");var qe=a.options.tabSize,mt=fr(ue,b),Et=Ze(mt.text,null,qe);mt.stateAfter&&(mt.stateAfter=null);var Dt=mt.text.match(/^\s*/)[0],Ln;if(!te&&!/\S/.test(mt.text))Ln=0,ne="not";else if(ne=="smart"&&(Ln=ue.mode.indent(De,mt.text.slice(Dt.length),mt.text),Ln==Kt||Ln>150)){if(!te)return;ne="prev"}ne=="prev"?b>ue.first?Ln=Ze(fr(ue,b-1).text,null,qe):Ln=0:ne=="add"?Ln=Et+a.options.indentUnit:ne=="subtract"?Ln=Et-a.options.indentUnit:typeof ne=="number"&&(Ln=Et+ne),Ln=Math.max(0,Ln);var Qn="",Tr=0;if(a.options.indentWithTabs)for(var Er=Math.floor(Ln/qe);Er;--Er)Tr+=qe,Qn+=" ";if(Trqe,Et=Ir(b),Dt=null;if(mt&&te.ranges.length>1)if(Ec&&Ec.text.join(` `)==b){if(te.ranges.length%Ec.text.length==0){Dt=[];for(var Ln=0;Ln=0;Tr--){var Er=te.ranges[Tr],xi=Er.from(),Wi=Er.to();Er.empty()&&(ne&&ne>0?xi=zt(xi.line,xi.ch-ne):a.state.overwrite&&!mt?Wi=zt(Wi.line,Math.min(fr(De,Wi.line).text.length,Wi.ch+_t(Et).length)):mt&&Ec&&Ec.lineWise&&Ec.text.join(` `)==Et.join(` `)&&(xi=Wi=zt(xi.line,0)));var uo={from:xi,to:Wi,text:Dt?Dt[Tr%Dt.length]:Et,origin:ue||(mt?"paste":a.state.cutIncoming>qe?"cut":"+input")};qs(a.doc,uo),Js(a,"inputRead",a,uo)}b&&!mt&&sh(a,b),kA(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Qn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Nf(a,b){var ne=a.clipboardData&&a.clipboardData.getData("Text");if(ne)return a.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&iA(b,function(){return ah(b,ne,0,null,"paste")}),!0}function sh(a,b){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ne=a.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ue=ne.ranges[te];if(!(ue.head.ch>100||te&&ne.ranges[te-1].head.line==ue.head.line)){var De=a.getModeAt(ue.head),qe=!1;if(De.electricChars){for(var mt=0;mt-1){qe=sf(a,ue.head.line,"smart");break}}else De.electricInput&&De.electricInput.test(fr(a.doc,ue.head.line).text.slice(0,ue.head.ch))&&(qe=sf(a,ue.head.line,"smart"));qe&&Js(a,"electricInput",a,ue.head.line)}}}function fp(a){for(var b=[],ne=[],te=0;teDe&&(sf(this,mt.head.line,te,!0),De=mt.head.line,qe==this.doc.sel.primIndex&&kA(this));else{var Et=mt.from(),Dt=mt.to(),Ln=Math.max(De,Et.line);De=Math.min(this.lastLine(),Dt.line-(Dt.ch?0:1))+1;for(var Qn=Ln;Qn0&&cu(this.doc,qe,new Dr(Et,Tr[qe].to()),rt)}}}),getTokenAt:function(te,ue){return zr(this,te,ue)},getLineTokens:function(te,ue){return zr(this,zt(te),ue,!0)},getTokenTypeAt:function(te){te=Ar(this.doc,te);var ue=Ei(this,fr(this.doc,te.line)),De=0,qe=(ue.length-1)/2,mt=te.ch,Et;if(mt==0)Et=ue[2];else for(;;){var Dt=De+qe>>1;if((Dt?ue[Dt*2-1]:0)>=mt)qe=Dt;else if(ue[Dt*2+1]Et&&(te=Et,qe=!0),mt=fr(this.doc,te)}else mt=te;return Oc(this,mt,{top:0,left:0},ue||"page",De||qe).top+(qe?this.doc.height-co(mt):0)},defaultTextHeight:function(){return mA(this.display)},defaultCharWidth:function(){return nc(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ue,De,qe,mt){var Et=this.display;te=Uu(this,Ar(this.doc,te));var Dt=te.bottom,Ln=te.left;if(ue.style.position="absolute",ue.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ue),Et.sizer.appendChild(ue),qe=="over")Dt=te.top;else if(qe=="above"||qe=="near"){var Qn=Math.max(Et.wrapper.clientHeight,this.doc.height),Tr=Math.max(Et.sizer.clientWidth,Et.lineSpace.clientWidth);(qe=="above"||te.bottom+ue.offsetHeight>Qn)&&te.top>ue.offsetHeight?Dt=te.top-ue.offsetHeight:te.bottom+ue.offsetHeight<=Qn&&(Dt=te.bottom),Ln+ue.offsetWidth>Tr&&(Ln=Tr-ue.offsetWidth)}ue.style.top=Dt+"px",ue.style.left=ue.style.right="",mt=="right"?(Ln=Et.sizer.clientWidth-ue.offsetWidth,ue.style.right="0px"):(mt=="left"?Ln=0:mt=="middle"&&(Ln=(Et.sizer.clientWidth-ue.offsetWidth)/2),ue.style.left=Ln+"px"),De&&Zp(this,{left:Ln,top:Dt,right:Ln+ue.offsetWidth,bottom:Dt+ue.offsetHeight})},triggerOnKeyDown:oA(af),triggerOnKeyPress:oA(ih),triggerOnKeyUp:rh,triggerOnMouseDown:oA(cd),execCommand:function(te){if(Gc.hasOwnProperty(te))return Gc[te].call(null,this)},triggerElectric:oA(function(te){sh(this,te)}),findPosH:function(te,ue,De,qe){var mt=1;ue<0&&(mt=-1,ue=-ue);for(var Et=Ar(this.doc,te),Dt=0;Dt0&&Ln(De.charAt(qe-1));)--qe;for(;mt.5||this.options.lineWrapping)&&rd(this),an(this,"refresh",this)}),swapDoc:oA(function(te){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Ko(this,te),Cl(this),this.display.input.reset(),od(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,Js(this,"swapDoc",this,ue),ue}),phrase:function(te){var ue=this.options.phrases;return ue&&Object.prototype.hasOwnProperty.call(ue,te)?ue[te]:te},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}},Mt(a),a.registerHelper=function(te,ue,De){ne.hasOwnProperty(te)||(ne[te]=a[te]={_global:[]}),ne[te][ue]=De},a.registerGlobalHelper=function(te,ue,De,qe){a.registerHelper(te,ue,qe),ne[te]._global.push({pred:De,val:qe})}}function lh(a,b,ne,te,ue){var De=b,qe=ne,mt=fr(a,b.line),Et=ue&&a.direction=="rtl"?-ne:ne;function Dt(){var Zo=b.line+Et;return Zo=a.first+a.size?!1:(b=new zt(Zo,b.ch,b.sticky),mt=fr(a,Zo))}function Ln(Zo){var Io;if(te=="codepoint"){var ca=mt.text.charCodeAt(b.ch+(te>0?0:-1));isNaN(ca)?Io=null:Io=new zt(b.line,Math.max(0,Math.min(mt.text.length,b.ch+ne*(ca>=55296&&ca<56320?2:1))),-ne)}else ue?Io=If(a.cm,mt,b,ne):Io=Ff(mt,b,ne);if(Io==null)if(!Zo&&Dt())b=nf(ue,a.cm,mt,b.line,Et);else return!1;else b=Io;return!0}if(te=="char"||te=="codepoint")Ln();else if(te=="column")Ln(!0);else if(te=="word"||te=="group")for(var Qn=null,Tr=te=="group",Er=a.cm&&a.cm.getHelper(b,"wordChars"),xi=!0;!(ne<0&&!Ln(!xi));xi=!1){var Wi=mt.text.charAt(b.ch)||` `,uo=le(Wi,Er)?"w":Tr&&Wi==` `?"n":!Tr||/\s/.test(Wi)?null:"p";if(Tr&&!xi&&!uo&&(uo="s"),Qn&&Qn!=uo){ne<0&&(ne=1,Ln(),b.sticky="after");break}if(uo&&(Qn=uo),ne>0&&!Ln(!xi))break}var Fo=hu(a,b,De,qe,!0);return Pn(De,Fo)&&(Fo.hitSide=!0),Fo}function qp(a,b,ne,te){var ue=a.doc,De=b.left,qe;if(te=="page"){var mt=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Et=Math.max(mt-.5*mA(a.display),3);qe=(ne>0?b.bottom:b.top)+ne*Et}else te=="line"&&(qe=ne>0?b.bottom+3:b.top-3);for(var Dt;Dt=Rs(a,De,qe),!!Dt.outside;){if(ne<0?qe<=0:qe>=ue.height){Dt.hitSide=!0;break}qe+=ne*5}return Dt}var vl=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Te,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};vl.prototype.init=function(a){var b=this,ne=this,te=ne.cm,ue=ne.div=a.lineDiv;hp(ue,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function De(mt){for(var Et=mt.target;Et;Et=Et.parentNode){if(Et==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Et.className))break}return!1}$t(ue,"paste",function(mt){!De(mt)||en(te,mt)||Nf(mt,te)||Se<=11&&setTimeout(Nu(te,function(){return b.updateFromDOM()}),20)}),$t(ue,"compositionstart",function(mt){b.composing={data:mt.data,done:!1}}),$t(ue,"compositionupdate",function(mt){b.composing||(b.composing={data:mt.data,done:!1})}),$t(ue,"compositionend",function(mt){b.composing&&(mt.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),$t(ue,"touchstart",function(){return ne.forceCompositionEnd()}),$t(ue,"input",function(){b.composing||b.readFromDOMSoon()});function qe(mt){if(!(!De(mt)||en(te,mt))){if(te.somethingSelected())oh({lineWise:!1,text:te.getSelections()}),mt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Et=fp(te);oh({lineWise:!0,text:Et.text}),mt.type=="cut"&&te.operation(function(){te.setSelections(Et.ranges,0,rt),te.replaceSelection("",null,"cut")})}else return;if(mt.clipboardData){mt.clipboardData.clearData();var Dt=Ec.text.join(` `);if(mt.clipboardData.setData("Text",Dt),mt.clipboardData.getData("Text")==Dt){mt.preventDefault();return}}var Ln=yg(),Qn=Ln.firstChild;te.display.lineSpace.insertBefore(Ln,te.display.lineSpace.firstChild),Qn.value=Ec.text.join(` `);var Tr=document.activeElement;ot(Qn),setTimeout(function(){te.display.lineSpace.removeChild(Ln),Tr.focus(),Tr==ue&&ne.showPrimarySelection()},50)}}$t(ue,"copy",qe),$t(ue,"cut",qe)},vl.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},vl.prototype.prepareSelection=function(){var a=pc(this.cm,!1);return a.focus=document.activeElement==this.div,a},vl.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},vl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},vl.prototype.showPrimarySelection=function(){var a=this.getSelection(),b=this.cm,ne=b.doc.sel.primary(),te=ne.from(),ue=ne.to();if(b.display.viewTo==b.display.viewFrom||te.line>=b.display.viewTo||ue.line=b.display.viewFrom&&Td(b,te)||{node:mt[0].measure.map[2],offset:0},Dt=ue.linea.firstLine()&&(te=zt(te.line-1,fr(a.doc,te.line-1).length)),ue.ch==fr(a.doc,ue.line).text.length&&ue.lineb.viewTo-1)return!1;var De,qe,mt;te.line==b.viewFrom||(De=hc(a,te.line))==0?(qe=ln(b.view[0].line),mt=b.view[0].node):(qe=ln(b.view[De].line),mt=b.view[De-1].node.nextSibling);var Et=hc(a,ue.line),Dt,Ln;if(Et==b.view.length-1?(Dt=b.viewTo-1,Ln=b.lineDiv.lastChild):(Dt=ln(b.view[Et+1].line)-1,Ln=b.view[Et+1].node.previousSibling),!mt)return!1;for(var Qn=a.doc.splitLines(kd(a,mt,Ln,qe,Dt)),Tr=Lr(a.doc,zt(qe,0),zt(Dt,fr(a.doc,Dt).text.length));Qn.length>1&&Tr.length>1;)if(_t(Qn)==_t(Tr))Qn.pop(),Tr.pop(),Dt--;else if(Qn[0]==Tr[0])Qn.shift(),Tr.shift(),qe++;else break;for(var Er=0,xi=0,Wi=Qn[0],uo=Tr[0],Fo=Math.min(Wi.length,uo.length);Erte.ch&&Zo.charCodeAt(Zo.length-xi-1)==Io.charCodeAt(Io.length-xi-1);)Er--,xi++;Qn[Qn.length-1]=Zo.slice(0,Zo.length-xi).replace(/^\u200b+/,""),Qn[0]=Qn[0].slice(Er).replace(/\u200b+$/,"");var _a=zt(qe,Er),Ba=zt(Dt,Tr.length?_t(Tr).length-xi:0);if(Qn.length>1||Qn[0]||hn(_a,Ba))return gs(a.doc,Qn,_a,Ba,"+input"),!0},vl.prototype.ensurePolled=function(){this.forceCompositionEnd()},vl.prototype.reset=function(){this.forceCompositionEnd()},vl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},vl.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))},vl.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&iA(this.cm,function(){return Du(a.cm)})},vl.prototype.setUneditable=function(a){a.contentEditable="false"},vl.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Nu(this.cm,ah)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},vl.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},vl.prototype.onContextMenu=function(){},vl.prototype.resetPosition=function(){},vl.prototype.needsContentAttribute=!0;function Td(a,b){var ne=xu(a,b.line);if(!ne||ne.hidden)return null;var te=fr(a.doc,b.line),ue=pl(ne,te,b.line),De=Ct(te,a.doc.direction),qe="left";if(De){var mt=Lt(De,b.ch);qe=mt%2?"right":"left"}var Et=Mu(ue.map,b.ch,qe);return Et.offset=Et.collapse=="right"?Et.end:Et.start,Et}function wg(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function Ul(a,b){return b&&(a.bad=!0),a}function kd(a,b,ne,te,ue){var De="",qe=!1,mt=a.doc.lineSeparator(),Et=!1;function Dt(Er){return function(xi){return xi.id==Er}}function Ln(){qe&&(De+=mt,Et&&(De+=mt),qe=Et=!1)}function Qn(Er){Er&&(Ln(),De+=Er)}function Tr(Er){if(Er.nodeType==1){var xi=Er.getAttribute("cm-text");if(xi){Qn(xi);return}var Wi=Er.getAttribute("cm-marker"),uo;if(Wi){var Fo=a.findMarks(zt(te,0),zt(ue+1,0),Dt(+Wi));Fo.length&&(uo=Fo[0].find(0))&&Qn(Lr(a.doc,uo.from,uo.to).join(mt));return}if(Er.getAttribute("contenteditable")=="false")return;var Zo=/^(pre|div|p|li|table|br)$/i.test(Er.nodeName);if(!/^br$/i.test(Er.nodeName)&&Er.textContent.length==0)return;Zo&&Ln();for(var Io=0;Io=9&&b.hasSelection&&(b.hasSelection=null),ne.poll()}),$t(ue,"paste",function(qe){en(te,qe)||Nf(qe,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function De(qe){if(!en(te,qe)){if(te.somethingSelected())oh({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var mt=fp(te);oh({lineWise:!0,text:mt.text}),qe.type=="cut"?te.setSelections(mt.ranges,null,rt):(ne.prevInput="",ue.value=mt.text.join(` `),ot(ue))}else return;qe.type=="cut"&&(te.state.cutIncoming=+new Date)}}$t(ue,"cut",De),$t(ue,"copy",De),$t(a.scroller,"paste",function(qe){if(!(uu(a,qe)||en(te,qe))){if(!ue.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var mt=new Event("paste");mt.clipboardData=qe.clipboardData,ue.dispatchEvent(mt)}}),$t(a.lineSpace,"selectstart",function(qe){uu(a,qe)||sn(qe)}),$t(ue,"compositionstart",function(){var qe=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:qe,range:te.markText(qe,te.getCursor("to"),{className:"CodeMirror-composing"})}}),$t(ue,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},El.prototype.createField=function(a){this.wrapper=yg(),this.textarea=this.wrapper.firstChild},El.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},El.prototype.prepareSelection=function(){var a=this.cm,b=a.display,ne=a.doc,te=pc(a);if(a.options.moveInputWithCursor){var ue=Uu(a,ne.sel.primary().head,"div"),De=b.wrapper.getBoundingClientRect(),qe=b.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ue.top+qe.top-De.top)),te.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ue.left+qe.left-De.left))}return te},El.prototype.showSelection=function(a){var b=this.cm,ne=b.display;it(ne.cursorDiv,a.cursors),it(ne.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},El.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var b=this.cm;if(b.somethingSelected()){this.prevInput="";var ne=b.getSelection();this.textarea.value=ne,b.state.focused&&ot(this.textarea),He&&Se>=9&&(this.hasSelection=ne)}else a||(this.prevInput=this.textarea.value="",He&&Se>=9&&(this.hasSelection=null))}},El.prototype.getField=function(){return this.textarea},El.prototype.supportsTouch=function(){return!1},El.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!we||Ne()!=this.textarea))try{this.textarea.focus()}catch(a){}},El.prototype.blur=function(){this.textarea.blur()},El.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},El.prototype.receivedFocus=function(){this.slowPoll()},El.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},El.prototype.fastPoll=function(){var a=!1,b=this;b.pollingFast=!0;function ne(){var te=b.poll();!te&&!a?(a=!0,b.polling.set(60,ne)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,ne)},El.prototype.poll=function(){var a=this,b=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!b.state.focused||qn(ne)&&!te&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var ue=ne.value;if(ue==te&&!b.somethingSelected())return!1;if(He&&Se>=9&&this.hasSelection===ue||xe&&/[\uf700-\uf7ff]/.test(ue))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var De=ue.charCodeAt(0);if(De==8203&&!te&&(te="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var qe=0,mt=Math.min(te.length,ue.length);qe1e3||ue.indexOf(` `)>-1?ne.value=a.prevInput="":a.prevInput=ue,a.composing&&(a.composing.range.clear(),a.composing.range=b.markText(a.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},El.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},El.prototype.onKeyPress=function(){He&&Se>=9&&(this.hasSelection=null),this.fastPoll()},El.prototype.onContextMenu=function(a){var b=this,ne=b.cm,te=ne.display,ue=b.textarea;b.contextMenuPending&&b.contextMenuPending();var De=Pc(ne,a),qe=te.scroller.scrollTop;if(!De||oe)return;var mt=ne.options.resetSelectionOnContextMenu;mt&&ne.doc.sel.contains(De)==-1&&Nu(ne,Po)(ne.doc,bi(De),rt);var Et=ue.style.cssText,Dt=b.wrapper.style.cssText,Ln=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(a.clientY-Ln.top-5)+"px; left: "+(a.clientX-Ln.left-5)+`px; z-index: 1000; background: `+(He?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Qn;Ue&&(Qn=window.scrollY),te.input.focus(),Ue&&window.scrollTo(null,Qn),te.input.reset(),ne.somethingSelected()||(ue.value=b.prevInput=" "),b.contextMenuPending=Er,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Tr(){if(ue.selectionStart!=null){var Wi=ne.somethingSelected(),uo="\u200B"+(Wi?ue.value:"");ue.value="\u21DA",ue.value=uo,b.prevInput=Wi?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=uo.length,te.selForContextMenu=ne.doc.sel}}function Er(){if(b.contextMenuPending==Er&&(b.contextMenuPending=!1,b.wrapper.style.cssText=Dt,ue.style.cssText=Et,He&&Se<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=qe),ue.selectionStart!=null)){(!He||He&&Se<9)&&Tr();var Wi=0,uo=function(){te.selForContextMenu==ne.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&b.prevInput=="\u200B"?Nu(ne,ea)(ne):Wi++<10?te.detectingSelectAll=setTimeout(uo,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(uo,200)}}if(He&&Se>=9&&Tr(),Re){It(a);var xi=function(){bn(window,"mouseup",xi),setTimeout(Er,20)};$t(window,"mouseup",xi)}else setTimeout(Er,50)},El.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},El.prototype.setUneditable=function(){},El.prototype.needsContentAttribute=!1;function uh(a,b){if(b=b?Ft(b):{},b.value=a.value,!b.tabindex&&a.tabIndex&&(b.tabindex=a.tabIndex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),b.autofocus==null){var ne=Ne();b.autofocus=ne==a||a.getAttribute("autofocus")!=null&&ne==document.body}function te(){a.value=mt.getValue()}var ue;if(a.form&&($t(a.form,"submit",te),!b.leaveSubmitMethodAlone)){var De=a.form;ue=De.submit;try{var qe=De.submit=function(){te(),De.submit=ue,De.submit(),De.submit=qe}}catch(Et){}}b.finishInit=function(Et){Et.save=te,Et.getTextArea=function(){return a},Et.toTextArea=function(){Et.toTextArea=isNaN,te(),a.parentNode.removeChild(Et.getWrapperElement()),a.style.display="",a.form&&(bn(a.form,"submit",te),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ue))}},a.style.display="none";var mt=Ml(function(Et){return a.parentNode.insertBefore(Et,a.nextSibling)},b);return mt}function gd(a){a.off=bn,a.on=$t,a.wheelEventPixels=jr,a.Doc=Al,a.splitLines=Ir,a.countColumn=Ze,a.findColumn=pn,a.isWordChar=ee,a.Pass=Kt,a.signal=an,a.Line=ma,a.changeEnd=qi,a.scrollbarModel=Ld,a.Pos=zt,a.cmpPos=hn,a.modes=sr,a.mimeModes=jn,a.resolveMode=Xr,a.getMode=Yr,a.modeExtensions=gi,a.extendMode=ci,a.copyState=Hi,a.startState=no,a.innerMode=vi,a.commands=Gc,a.keyMap=Eu,a.keyName=$c,a.isModifierKey=Sf,a.lookupKey=Zc,a.normalizeKeyMap=Qu,a.StringStream=Ki,a.SharedTextMarker=ul,a.TextMarker=_u,a.LineWidget=Ss,a.e_preventDefault=sn,a.e_stopPropagation=Dn,a.e_stop=It,a.addClass=We,a.contains=ht,a.rmClass=Ge,a.keyNames=cs}mg(Ml),pp(Ml);var eg="iter insert remove copy getEditor constructor".split(" ");for(var kh in Al.prototype)Al.prototype.hasOwnProperty(kh)&&At(eg,kh)<0&&(Ml.prototype[kh]=function(a){return function(){return a.apply(this.doc,arguments)}}(Al.prototype[kh]));return Mt(Al),Ml.inputStyles={textarea:El,contenteditable:vl},Ml.defineMode=function(a){!Ml.defaults.mode&&a!="null"&&(Ml.defaults.mode=a),ur.apply(this,arguments)},Ml.defineMIME=br,Ml.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ml.defineMIME("text/plain","null"),Ml.defineExtension=function(a,b){Ml.prototype[a]=b},Ml.defineDocExtension=function(a,b){Al.prototype[a]=b},Ml.fromTextArea=uh,gd(Ml),Ml.version="5.58.2",Ml})},25419:function(Vn,Tt,ae){(function(x){x(ae(89780),ae(15525),ae(98101))})(function(x){"use strict";x.defineMode("markdown",function(ct,Le){var Je=x.getMode(ct,"text/html"),He=Je.name=="null";function Se(Ze){if(x.findModeByName){var Te=x.findModeByName(Ze);Te&&(Ze=Te.mime||Te.mimes[0])}var At=x.getMode(ct,Ze);return At.name=="null"?null:At}Le.highlightFormatting===void 0&&(Le.highlightFormatting=!1),Le.maxBlockquoteDepth===void 0&&(Le.maxBlockquoteDepth=0),Le.taskLists===void 0&&(Le.taskLists=!1),Le.strikethrough===void 0&&(Le.strikethrough=!1),Le.emoji===void 0&&(Le.emoji=!1),Le.fencedCodeBlockHighlighting===void 0&&(Le.fencedCodeBlockHighlighting=!0),Le.fencedCodeBlockDefaultMode===void 0&&(Le.fencedCodeBlockDefaultMode="text/plain"),Le.xml===void 0&&(Le.xml=!0),Le.tokenTypeOverrides===void 0&&(Le.tokenTypeOverrides={});var Ue={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 Ue)Ue.hasOwnProperty(fe)&&Le.tokenTypeOverrides[fe]&&(Ue[fe]=Le.tokenTypeOverrides[fe]);var Ce=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Oe=/^\[(x| )\](?=\s)/i,ve=Le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Me=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ie=/^[^#!\[\]*_\\<>` "'(~:]+/,_e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,we=/^\s*\[[^\]]+?\]:.*$/,xe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ee=" ";function ke(Ze,Te,At){return Te.f=Te.inline=At,At(Ze,Te)}function ze(Ze,Te,At){return Te.f=Te.block=At,At(Ze,Te)}function Qe(Ze){return!Ze||!/\S/.test(Ze.string)}function Re(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==Ge){var Te=He;if(!Te){var At=x.innerMode(Je,Ze.htmlState);Te=At.mode.name=="xml"&&At.state.tagStart===null&&!At.state.context&&At.state.tokenize.isInText}Te&&(Ze.f=bt,Ze.block=et,Ze.htmlState=null)}return Ze.trailingSpace=0,Ze.trailingSpaceNewLine=!1,Ze.prevLine=Ze.thisLine,Ze.thisLine={stream:null},null}function et(Ze,Te){var At=Ze.column()===Te.indentation,Zt=Qe(Te.prevLine.stream),Kt=Te.indentedCode,rt=Te.prevLine.hr,Nt=Te.list!==!1,Qt=(Te.listStack[Te.listStack.length-1]||0)+3;Te.indentedCode=!1;var pn=Te.indentation;if(Te.indentationDiff===null&&(Te.indentationDiff=Te.indentation,Nt)){for(Te.list=null;pn=4&&(Kt||Te.prevLine.fencedCodeEnd||Te.prevLine.header||Zt))return Ze.skipToEnd(),Te.indentedCode=!0,Ue.code;if(Ze.eatSpace())return null;if(At&&Te.indentation<=Qt&&(_t=Ze.match(ve))&&_t[1].length<=6)return Te.quote=0,Te.header=_t[1].length,Te.thisLine.header=!0,Le.highlightFormatting&&(Te.formatting="header"),Te.f=Te.inline,it(Te);if(Te.indentation<=Qt&&Ze.eat(">"))return Te.quote=At?1:Te.quote+1,Le.highlightFormatting&&(Te.formatting="quote"),Ze.eatSpace(),it(Te);if(!vn&&!Te.setext&&At&&Te.indentation<=Qt&&(_t=Ze.match(oe))){var Fn=_t[1]?"ol":"ul";return Te.indentation=pn+Ze.current().length,Te.list=!0,Te.quote=0,Te.listStack.push(Te.indentation),Te.em=!1,Te.strong=!1,Te.code=!1,Te.strikethrough=!1,Le.taskLists&&Ze.match(Oe,!1)&&(Te.taskList=!0),Te.f=Te.inline,Le.highlightFormatting&&(Te.formatting=["list","list-"+Fn]),it(Te)}else{if(At&&Te.indentation<=Qt&&(_t=Ze.match(_e,!0)))return Te.quote=0,Te.fencedEndRE=new RegExp(_t[1]+"+ *$"),Te.localMode=Le.fencedCodeBlockHighlighting&&Se(_t[2]||Le.fencedCodeBlockDefaultMode),Te.localMode&&(Te.localState=x.startState(Te.localMode)),Te.f=Te.block=lt,Le.highlightFormatting&&(Te.formatting="code-block"),Te.code=-1,it(Te);if(Te.setext||(!Ot||!Nt)&&!Te.quote&&Te.list===!1&&!Te.code&&!vn&&!we.test(Ze.string)&&(_t=Ze.lookAhead(1))&&(_t=_t.match(Me)))return Te.setext?(Te.header=Te.setext,Te.setext=0,Ze.skipToEnd(),Le.highlightFormatting&&(Te.formatting="header")):(Te.header=_t[0].charAt(0)=="="?1:2,Te.setext=Te.header),Te.thisLine.header=!0,Te.f=Te.inline,it(Te);if(vn)return Ze.skipToEnd(),Te.hr=!0,Te.thisLine.hr=!0,Ue.hr;if(Ze.peek()==="[")return ke(Ze,Te,Ut)}return ke(Ze,Te,Te.inline)}function Ge(Ze,Te){var At=Je.token(Ze,Te.htmlState);if(!He){var Zt=x.innerMode(Je,Te.htmlState);(Zt.mode.name=="xml"&&Zt.state.tagStart===null&&!Zt.state.context&&Zt.state.tokenize.isInText||Te.md_inside&&Ze.current().indexOf(">")>-1)&&(Te.f=bt,Te.block=et,Te.htmlState=null)}return At}function lt(Ze,Te){var At=Te.listStack[Te.listStack.length-1]||0,Zt=Te.indentation=Ze.quote?Te.push(Ue.formatting+"-"+Ze.formatting[At]+"-"+Ze.quote):Te.push("error"))}if(Ze.taskOpen)return Te.push("meta"),Te.length?Te.join(" "):null;if(Ze.taskClosed)return Te.push("property"),Te.length?Te.join(" "):null;if(Ze.linkHref?Te.push(Ue.linkHref,"url"):(Ze.strong&&Te.push(Ue.strong),Ze.em&&Te.push(Ue.em),Ze.strikethrough&&Te.push(Ue.strikethrough),Ze.emoji&&Te.push(Ue.emoji),Ze.linkText&&Te.push(Ue.linkText),Ze.code&&Te.push(Ue.code),Ze.image&&Te.push(Ue.image),Ze.imageAltText&&Te.push(Ue.imageAltText,"link"),Ze.imageMarker&&Te.push(Ue.imageMarker)),Ze.header&&Te.push(Ue.header,Ue.header+"-"+Ze.header),Ze.quote&&(Te.push(Ue.quote),!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=Ze.quote?Te.push(Ue.quote+"-"+Ze.quote):Te.push(Ue.quote+"-"+Le.maxBlockquoteDepth)),Ze.list!==!1){var Zt=(Ze.listStack.length-1)%3;Zt?Zt===1?Te.push(Ue.list2):Te.push(Ue.list3):Te.push(Ue.list1)}return Ze.trailingSpaceNewLine?Te.push("trailing-space-new-line"):Ze.trailingSpace&&Te.push("trailing-space-"+(Ze.trailingSpace%2?"a":"b")),Te.length?Te.join(" "):null}function ft(Ze,Te){if(Ze.match(Ie,!0))return it(Te)}function bt(Ze,Te){var At=Te.text(Ze,Te);if(typeof At!="undefined")return At;if(Te.list)return Te.list=null,it(Te);if(Te.taskList){var Zt=Ze.match(Oe,!0)[1]===" ";return Zt?Te.taskOpen=!0:Te.taskClosed=!0,Le.highlightFormatting&&(Te.formatting="task"),Te.taskList=!1,it(Te)}if(Te.taskOpen=!1,Te.taskClosed=!1,Te.header&&Ze.match(/^#+$/,!0))return Le.highlightFormatting&&(Te.formatting="header"),it(Te);var Kt=Ze.next();if(Te.linkTitle){Te.linkTitle=!1;var rt=Kt;Kt==="("&&(rt=")"),rt=(rt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Nt="^\\s*(?:[^"+rt+"\\\\]+|\\\\\\\\|\\\\.)"+rt;if(Ze.match(new RegExp(Nt),!0))return Ue.linkHref}if(Kt==="`"){var Qt=Te.formatting;Le.highlightFormatting&&(Te.formatting="code"),Ze.eatWhile("`");var pn=Ze.current().length;if(Te.code==0&&(!Te.quote||pn==1))return Te.code=pn,it(Te);if(pn==Te.code){var Ot=it(Te);return Te.code=0,Ot}else return Te.formatting=Qt,it(Te)}else if(Te.code)return it(Te);if(Kt==="\\"&&(Ze.next(),Le.highlightFormatting)){var vn=it(Te),_t=Ue.formatting+"-escape";return vn?vn+" "+_t:_t}if(Kt==="!"&&Ze.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Te.imageMarker=!0,Te.image=!0,Le.highlightFormatting&&(Te.formatting="image"),it(Te);if(Kt==="["&&Te.imageMarker&&Ze.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Te.imageMarker=!1,Te.imageAltText=!0,Le.highlightFormatting&&(Te.formatting="image"),it(Te);if(Kt==="]"&&Te.imageAltText){Le.highlightFormatting&&(Te.formatting="image");var vn=it(Te);return Te.imageAltText=!1,Te.image=!1,Te.inline=Te.f=ht,vn}if(Kt==="["&&!Te.image)return Te.linkText&&Ze.match(/^.*?\]/)||(Te.linkText=!0,Le.highlightFormatting&&(Te.formatting="link")),it(Te);if(Kt==="]"&&Te.linkText){Le.highlightFormatting&&(Te.formatting="link");var vn=it(Te);return Te.linkText=!1,Te.inline=Te.f=Ze.match(/\(.*?\)| ?\[.*?\]/,!1)?ht:bt,vn}if(Kt==="<"&&Ze.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=je,Le.highlightFormatting&&(Te.formatting="link");var vn=it(Te);return vn?vn+=" ":vn="",vn+Ue.linkInline}if(Kt==="<"&&Ze.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=je,Le.highlightFormatting&&(Te.formatting="link");var vn=it(Te);return vn?vn+=" ":vn="",vn+Ue.linkEmail}if(Le.xml&&Kt==="<"&&Ze.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Fn=Ze.string.indexOf(">",Ze.pos);if(Fn!=-1){var on=Ze.string.substring(Ze.start,Fn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(on)&&(Te.md_inside=!0)}return Ze.backUp(1),Te.htmlState=x.startState(Je),ze(Ze,Te,Ge)}if(Le.xml&&Kt==="<"&&Ze.match(/^\/\w*?>/))return Te.md_inside=!1,"tag";if(Kt==="*"||Kt==="_"){for(var de=1,ge=Ze.pos==1?" ":Ze.string.charAt(Ze.pos-2);de<3&&Ze.eat(Kt);)de++;var ie=Ze.peek()||" ",ee=!/\s/.test(ie)&&(!xe.test(ie)||/\s/.test(ge)||xe.test(ge)),le=!/\s/.test(ge)&&(!xe.test(ge)||/\s/.test(ie)||xe.test(ie)),se=null,Be=null;if(de%2&&(!Te.em&&ee&&(Kt==="*"||!le||xe.test(ge))?se=!0:Te.em==Kt&&le&&(Kt==="*"||!ee||xe.test(ie))&&(se=!1)),de>1&&(!Te.strong&&ee&&(Kt==="*"||!le||xe.test(ge))?Be=!0:Te.strong==Kt&&le&&(Kt==="*"||!ee||xe.test(ie))&&(Be=!1)),Be!=null||se!=null){Le.highlightFormatting&&(Te.formatting=se==null?"strong":Be==null?"em":"strong em"),se===!0&&(Te.em=Kt),Be===!0&&(Te.strong=Kt);var Ot=it(Te);return se===!1&&(Te.em=!1),Be===!1&&(Te.strong=!1),Ot}}else if(Kt===" "&&(Ze.eat("*")||Ze.eat("_"))){if(Ze.peek()===" ")return it(Te);Ze.backUp(1)}if(Le.strikethrough){if(Kt==="~"&&Ze.eatWhile(Kt)){if(Te.strikethrough){Le.highlightFormatting&&(Te.formatting="strikethrough");var Ot=it(Te);return Te.strikethrough=!1,Ot}else if(Ze.match(/^[^\s]/,!1))return Te.strikethrough=!0,Le.highlightFormatting&&(Te.formatting="strikethrough"),it(Te)}else if(Kt===" "&&Ze.match(/^~~/,!0)){if(Ze.peek()===" ")return it(Te);Ze.backUp(2)}}if(Le.emoji&&Kt===":"&&Ze.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Te.emoji=!0,Le.highlightFormatting&&(Te.formatting="emoji");var $e=it(Te);return Te.emoji=!1,$e}return Kt===" "&&(Ze.match(/^ +$/,!1)?Te.trailingSpace++:Te.trailingSpace&&(Te.trailingSpaceNewLine=!0)),it(Te)}function je(Ze,Te){var At=Ze.next();if(At===">"){Te.f=Te.inline=bt,Le.highlightFormatting&&(Te.formatting="link");var Zt=it(Te);return Zt?Zt+=" ":Zt="",Zt+Ue.linkInline}return Ze.match(/^[^>]+/,!0),Ue.linkInline}function ht(Ze,Te){if(Ze.eatSpace())return null;var At=Ze.next();return At==="("||At==="["?(Te.f=Te.inline=We(At==="("?")":"]"),Le.highlightFormatting&&(Te.formatting="link-string"),Te.linkHref=!0,it(Te)):"error"}var Ne={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function We(Ze){return function(Te,At){var Zt=Te.next();if(Zt===Ze){At.f=At.inline=bt,Le.highlightFormatting&&(At.formatting="link-string");var Kt=it(At);return At.linkHref=!1,Kt}return Te.match(Ne[Ze]),At.linkHref=!0,it(At)}}function Ut(Ze,Te){return Ze.match(/^([^\]\\]|\\.)*\]:/,!1)?(Te.f=ot,Ze.next(),Le.highlightFormatting&&(Te.formatting="link"),Te.linkText=!0,it(Te)):ke(Ze,Te,bt)}function ot(Ze,Te){if(Ze.match(/^\]:/,!0)){Te.f=Te.inline=yt,Le.highlightFormatting&&(Te.formatting="link");var At=it(Te);return Te.linkText=!1,At}return Ze.match(/^([^\]\\]|\\.)+/,!0),Ue.linkText}function yt(Ze,Te){return Ze.eatSpace()?null:(Ze.match(/^[^\s]+/,!0),Ze.peek()===void 0?Te.linkTitle=!0:Ze.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Te.f=Te.inline=bt,Ue.linkHref+" url")}var Ft={startState:function(){return{f:et,prevLine:{stream:null},thisLine:{stream:null},block:et,htmlState:null,indentation:0,inline:bt,text:ft,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&&x.copyState(Je,Ze.htmlState),indentation:Ze.indentation,localMode:Ze.localMode,localState:Ze.localMode?x.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,Te){if(Te.formatting=!1,Ze!=Te.thisLine.stream){if(Te.header=0,Te.hr=!1,Ze.match(/^\s*$/,!0))return Re(Te),null;if(Te.prevLine=Te.thisLine,Te.thisLine={stream:Ze},Te.taskList=!1,Te.trailingSpace=0,Te.trailingSpaceNewLine=!1,!Te.localState&&(Te.f=Te.block,Te.f!=Ge)){var At=Ze.match(/^\s*/,!0)[0].replace(/\t/g,Ee).length;if(Te.indentation=At,Te.indentationDiff=null,At>0)return null}}return Te.f(Ze,Te)},innerMode:function(Ze){return Ze.block==Ge?{state:Ze.htmlState,mode:Je}:Ze.localState?{state:Ze.localState,mode:Ze.localMode}:{state:Ze,mode:Ft}},indent:function(Ze,Te,At){return Ze.block==Ge&&Je.indent?Je.indent(Ze.htmlState,Te,At):Ze.localState&&Ze.localMode.indent?Ze.localMode.indent(Ze.localState,Te,At):x.Pass},blankLine:Re,getType:it,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ft},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},98101:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){"use strict";x.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 ct=0;ct-1&&Je.substring(Ue+1,Je.length);if(fe)return x.findModeByExtension(fe)},x.findModeByName=function(Je){Je=Je.toLowerCase();for(var He=0;He0?Ie.cmdState[Ie.cmdState.length-1]:null}function Se(Ie){var _e=Ie.cmdState.pop();_e&&_e.closeBracket()}function Ue(Ie){for(var _e=Ie.cmdState,we=_e.length-1;we>=0;we--){var xe=_e[we];if(xe.name!="DEFAULT")return xe}return{styleIdentifier:function(){return null}}}function fe(Ie,_e,we){return function(){this.name=Ie,this.bracketNo=0,this.style=_e,this.styles=we,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ce={};Ce.importmodule=fe("importmodule","tag",["string","builtin"]),Ce.documentclass=fe("documentclass","tag",["","atom"]),Ce.usepackage=fe("usepackage","tag",["atom"]),Ce.begin=fe("begin","tag",["atom"]),Ce.end=fe("end","tag",["atom"]),Ce.label=fe("label","tag",["atom"]),Ce.ref=fe("ref","tag",["atom"]),Ce.eqref=fe("eqref","tag",["atom"]),Ce.cite=fe("cite","tag",["atom"]),Ce.bibitem=fe("bibitem","tag",["atom"]),Ce.Bibitem=fe("Bibitem","tag",["atom"]),Ce.RBibitem=fe("RBibitem","tag",["atom"]),Ce.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(Ie,_e){Ie.f=_e}function Oe(Ie,_e){var we;if(Ie.match(/^\\[a-zA-Z@]+/)){var xe=Ie.current().slice(1);return we=Ce.hasOwnProperty(xe)?Ce[xe]:Ce.DEFAULT,we=new we,Je(_e,we),oe(_e,Me),we.style}if(Ie.match(/^\\[$&%#{}_]/)||Ie.match(/^\\[,;!\/\\]/))return"tag";if(Ie.match("\\["))return oe(_e,function(ke,ze){return ve(ke,ze,"\\]")}),"keyword";if(Ie.match("\\("))return oe(_e,function(ke,ze){return ve(ke,ze,"\\)")}),"keyword";if(Ie.match("$$"))return oe(_e,function(ke,ze){return ve(ke,ze,"$$")}),"keyword";if(Ie.match("$"))return oe(_e,function(ke,ze){return ve(ke,ze,"$")}),"keyword";var Ee=Ie.next();if(Ee=="%")return Ie.skipToEnd(),"comment";if(Ee=="}"||Ee=="]"){if(we=He(_e),we)we.closeBracket(Ee),oe(_e,Me);else return"error";return"bracket"}else return Ee=="{"||Ee=="["?(we=Ce.DEFAULT,we=new we,Je(_e,we),"bracket"):/\d/.test(Ee)?(Ie.eatWhile(/[\w.%]/),"atom"):(Ie.eatWhile(/[\w\-_]/),we=Ue(_e),we.name=="begin"&&(we.argument=Ie.current()),we.styleIdentifier())}function ve(Ie,_e,we){if(Ie.eatSpace())return null;if(we&&Ie.match(we))return oe(_e,Oe),"keyword";if(Ie.match(/^\\[a-zA-Z@]+/))return"tag";if(Ie.match(/^[a-zA-Z]+/))return"variable-2";if(Ie.match(/^\\[$&%#{}_]/)||Ie.match(/^\\[,;!\/]/)||Ie.match(/^[\^_&]/))return"tag";if(Ie.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ie.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var xe=Ie.next();return xe=="{"||xe=="}"||xe=="["||xe=="]"||xe=="("||xe==")"?"bracket":xe=="%"?(Ie.skipToEnd(),"comment"):"error"}function Me(Ie,_e){var we=Ie.peek(),xe;return we=="{"||we=="["?(xe=He(_e),xe.openBracket(we),Ie.eat(we),oe(_e,Oe),"bracket"):/[ \t\r]/.test(we)?(Ie.eat(we),null):(oe(_e,Oe),Se(_e),Oe(Ie,_e))}return{startState:function(){var Ie=Le.inMathMode?function(_e,we){return ve(_e,we)}:Oe;return{cmdState:[],f:Ie}},copyState:function(Ie){return{cmdState:Ie.cmdState.slice(),f:Ie.f}},token:function(Ie,_e){return _e.f(Ie,_e)},blankLine:function(Ie){Ie.f=Oe,Ie.cmdState.length=0},lineComment:"%"}}),x.defineMIME("text/x-stex","stex"),x.defineMIME("text/x-latex","stex")})},15525:function(Vn,Tt,ae){(function(x){x(ae(89780))})(function(x){"use strict";var ct={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},Le={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};x.defineMode("xml",function(Je,He){var Se=Je.indentUnit,Ue={},fe=He.htmlMode?ct:Le;for(var Ce in fe)Ue[Ce]=fe[Ce];for(var Ce in He)Ue[Ce]=He[Ce];var oe,Oe;function ve(je,ht){function Ne(ot){return ht.tokenize=ot,ot(je,ht)}var We=je.next();if(We=="<")return je.eat("!")?je.eat("[")?je.match("CDATA[")?Ne(_e("atom","]]>")):null:je.match("--")?Ne(_e("comment","-->")):je.match("DOCTYPE",!0,!0)?(je.eatWhile(/[\w\._\-]/),Ne(we(1))):null:je.eat("?")?(je.eatWhile(/[\w\._\-]/),ht.tokenize=_e("meta","?>"),"meta"):(oe=je.eat("/")?"closeTag":"openTag",ht.tokenize=Me,"tag bracket");if(We=="&"){var Ut;return je.eat("#")?je.eat("x")?Ut=je.eatWhile(/[a-fA-F\d]/)&&je.eat(";"):Ut=je.eatWhile(/[\d]/)&&je.eat(";"):Ut=je.eatWhile(/[\w\.\-:]/)&&je.eat(";"),Ut?"atom":"error"}else return je.eatWhile(/[^&<]/),null}ve.isInText=!0;function Me(je,ht){var Ne=je.next();if(Ne==">"||Ne=="/"&&je.eat(">"))return ht.tokenize=ve,oe=Ne==">"?"endTag":"selfcloseTag","tag bracket";if(Ne=="=")return oe="equals",null;if(Ne=="<"){ht.tokenize=ve,ht.state=ze,ht.tagName=ht.tagStart=null;var We=ht.tokenize(je,ht);return We?We+" tag error":"tag error"}else return/[\'\"]/.test(Ne)?(ht.tokenize=Ie(Ne),ht.stringStartCol=je.column(),ht.tokenize(je,ht)):(je.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ie(je){var ht=function(Ne,We){for(;!Ne.eol();)if(Ne.next()==je){We.tokenize=Me;break}return"string"};return ht.isInAttribute=!0,ht}function _e(je,ht){return function(Ne,We){for(;!Ne.eol();){if(Ne.match(ht)){We.tokenize=ve;break}Ne.next()}return je}}function we(je){return function(ht,Ne){for(var We;(We=ht.next())!=null;){if(We=="<")return Ne.tokenize=we(je+1),Ne.tokenize(ht,Ne);if(We==">")if(je==1){Ne.tokenize=ve;break}else return Ne.tokenize=we(je-1),Ne.tokenize(ht,Ne)}return"meta"}}function xe(je,ht,Ne){this.prev=je.context,this.tagName=ht,this.indent=je.indented,this.startOfLine=Ne,(Ue.doNotIndent.hasOwnProperty(ht)||je.context&&je.context.noIndent)&&(this.noIndent=!0)}function Ee(je){je.context&&(je.context=je.context.prev)}function ke(je,ht){for(var Ne;;){if(!je.context||(Ne=je.context.tagName,!Ue.contextGrabbers.hasOwnProperty(Ne)||!Ue.contextGrabbers[Ne].hasOwnProperty(ht)))return;Ee(je)}}function ze(je,ht,Ne){return je=="openTag"?(Ne.tagStart=ht.column(),Qe):je=="closeTag"?Re:ze}function Qe(je,ht,Ne){return je=="word"?(Ne.tagName=ht.current(),Oe="tag",lt):Ue.allowMissingTagName&&je=="endTag"?(Oe="tag bracket",lt(je,ht,Ne)):(Oe="error",Qe)}function Re(je,ht,Ne){if(je=="word"){var We=ht.current();return Ne.context&&Ne.context.tagName!=We&&Ue.implicitlyClosed.hasOwnProperty(Ne.context.tagName)&&Ee(Ne),Ne.context&&Ne.context.tagName==We||Ue.matchClosing===!1?(Oe="tag",et):(Oe="tag error",Ge)}else return Ue.allowMissingTagName&&je=="endTag"?(Oe="tag bracket",et(je,ht,Ne)):(Oe="error",Ge)}function et(je,ht,Ne){return je!="endTag"?(Oe="error",et):(Ee(Ne),ze)}function Ge(je,ht,Ne){return Oe="error",et(je,ht,Ne)}function lt(je,ht,Ne){if(je=="word")return Oe="attribute",it;if(je=="endTag"||je=="selfcloseTag"){var We=Ne.tagName,Ut=Ne.tagStart;return Ne.tagName=Ne.tagStart=null,je=="selfcloseTag"||Ue.autoSelfClosers.hasOwnProperty(We)?ke(Ne,We):(ke(Ne,We),Ne.context=new xe(Ne,We,Ut==Ne.indented)),ze}return Oe="error",lt}function it(je,ht,Ne){return je=="equals"?ft:(Ue.allowMissing||(Oe="error"),lt(je,ht,Ne))}function ft(je,ht,Ne){return je=="string"?bt:je=="word"&&Ue.allowUnquoted?(Oe="string",lt):(Oe="error",lt(je,ht,Ne))}function bt(je,ht,Ne){return je=="string"?bt:lt(je,ht,Ne)}return{startState:function(je){var ht={tokenize:ve,state:ze,indented:je||0,tagName:null,tagStart:null,context:null};return je!=null&&(ht.baseIndent=je),ht},token:function(je,ht){if(!ht.tagName&&je.sol()&&(ht.indented=je.indentation()),je.eatSpace())return null;oe=null;var Ne=ht.tokenize(je,ht);return(Ne||oe)&&Ne!="comment"&&(Oe=null,ht.state=ht.state(oe||Ne,je,ht),Oe&&(Ne=Oe=="error"?Ne+" error":Oe)),Ne},indent:function(je,ht,Ne){var We=je.context;if(je.tokenize.isInAttribute)return je.tagStart==je.indented?je.stringStartCol+1:je.indented+Se;if(We&&We.noIndent)return x.Pass;if(je.tokenize!=Me&&je.tokenize!=ve)return Ne?Ne.match(/^(\s*)/)[0].length:0;if(je.tagName)return Ue.multilineTagIndentPastTag!==!1?je.tagStart+je.tagName.length+2:je.tagStart+Se*(Ue.multilineTagIndentFactor||1);if(Ue.alignCDATA&&/$/,blockCommentStart:"",configuration:Ue.htmlMode?"html":"xml",helperType:Ue.htmlMode?"html":"xml",skipAttribute:function(je){je.state==ft&&(je.state=lt)},xmlCurrentTag:function(je){return je.tagName?{name:je.tagName,close:je.type=="closeTag"}:null},xmlCurrentContext:function(je){for(var ht=[],Ne=je.context;Ne;Ne=Ne.prev)Ne.tagName&&ht.push(Ne.tagName);return ht.reverse()}}}),x.defineMIME("text/xml","xml"),x.defineMIME("application/xml","xml"),x.mimeModes.hasOwnProperty("text/html")||x.defineMIME("text/html",{name:"xml",htmlMode:!0})})},97774:function(Vn,Tt,ae){"use strict";Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.default=void 0;var x=Object.assign||function(we){for(var xe=1;xe0&&(lt=Qe[0]),lt instanceof Error)throw lt;var it=new Error("Unhandled error."+(lt?" ("+lt.message+")":""));throw it.context=lt,it}var ft=Ge[ze];if(ft===void 0)return!1;if(typeof ft=="function")ae(ft,this,Qe);else for(var bt=ft.length,je=Me(ft,bt),Re=0;Re0&<.length>et&&!lt.warned){lt.warned=!0;var it=new Error("Possible EventEmitter memory leak detected. "+lt.length+" "+String(ze)+" listeners added. Use emitter.setMaxListeners() to increase limit");it.name="MaxListenersExceededWarning",it.emitter=ke,it.type=ze,it.count=lt.length,ct(it)}return ke}Je.prototype.addListener=function(ze,Qe){return fe(this,ze,Qe,!1)},Je.prototype.on=Je.prototype.addListener,Je.prototype.prependListener=function(ze,Qe){return fe(this,ze,Qe,!0)};function Ce(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(ke,ze,Qe){var Re={fired:!1,wrapFn:void 0,target:ke,type:ze,listener:Qe},et=Ce.bind(Re);return et.listener=Qe,Re.wrapFn=et,et}Je.prototype.once=function(ze,Qe){return Se(Qe),this.on(ze,oe(this,ze,Qe)),this},Je.prototype.prependOnceListener=function(ze,Qe){return Se(Qe),this.prependListener(ze,oe(this,ze,Qe)),this},Je.prototype.removeListener=function(ze,Qe){var Re,et,Ge,lt,it;if(Se(Qe),et=this._events,et===void 0)return this;if(Re=et[ze],Re===void 0)return this;if(Re===Qe||Re.listener===Qe)--this._eventsCount===0?this._events=Object.create(null):(delete et[ze],et.removeListener&&this.emit("removeListener",ze,Re.listener||Qe));else if(typeof Re!="function"){for(Ge=-1,lt=Re.length-1;lt>=0;lt--)if(Re[lt]===Qe||Re[lt].listener===Qe){it=Re[lt].listener,Ge=lt;break}if(Ge<0)return this;Ge===0?Re.shift():Ie(Re,Ge),Re.length===1&&(et[ze]=Re[0]),et.removeListener!==void 0&&this.emit("removeListener",ze,it||Qe)}return this},Je.prototype.off=Je.prototype.removeListener,Je.prototype.removeAllListeners=function(ze){var Qe,Re,et;if(Re=this._events,Re===void 0)return this;if(Re.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Re[ze]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Re[ze]),this;if(arguments.length===0){var Ge=Object.keys(Re),lt;for(et=0;et=0;et--)this.removeListener(ze,Qe[et]);return this};function Oe(ke,ze,Qe){var Re=ke._events;if(Re===void 0)return[];var et=Re[ze];return et===void 0?[]:typeof et=="function"?Qe?[et.listener||et]:[et]:Qe?_e(et):Me(et,et.length)}Je.prototype.listeners=function(ze){return Oe(this,ze,!0)},Je.prototype.rawListeners=function(ze){return Oe(this,ze,!1)},Je.listenerCount=function(ke,ze){return typeof ke.listenerCount=="function"?ke.listenerCount(ze):ve.call(ke,ze)},Je.prototype.listenerCount=ve;function ve(ke){var ze=this._events;if(ze!==void 0){var Qe=ze[ke];if(typeof Qe=="function")return 1;if(Qe!==void 0)return Qe.length}return 0}Je.prototype.eventNames=function(){return this._eventsCount>0?x(this._events):[]};function Me(ke,ze){for(var Qe=new Array(ze),Re=0;Re0&&St[St.length-1])&&(xr[0]===6||xr[0]===2)){be=0;continue}if(xr[0]===3&&(!St||xr[1]>St[0]&&xr[1]=55296&&tt<=56319&&be>10)+55296,Yt%1024+56320)),(tt+1===be||ye.length>16384)&&(St+=String.fromCharCode.apply(String,ye),ye.length=0)}return St},oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ve=0;ve>4,Pr[tt++]=(Yt&15)<<4|Bn>>2,Pr[tt++]=(Bn&3)<<6|xn&63;return xr},xe=function(me){for(var ce=me.length,be=[],ye=0;ye>ke,Ge=1<>ke,ft=et+it,bt=ft,je=32,ht=bt+je,Ne=65536>>ze,We=1<=0){if(ce<55296||ce>56319&&ce<=65535)return be=this.index[ce>>ke],be=(be<>ke)],be=(be<>ze),be=this.index[be],be+=ce>>ke&Ut,be=this.index[be],be=(be<rt?(tt.push(!0),Bn-=rt):tt.push(!1),["normal","auto","loose"].indexOf(ce)!==-1&&[8208,8211,12316,12448].indexOf(St)!==-1)return ye.push(Yt),be.push(Be);if(Bn===Ot||Bn===ge){if(Yt===0)return ye.push(Yt),be.push(en);var xn=be[Yt-1];return br.indexOf(xn)===-1?(ye.push(ye[Yt-1]),be.push(xn)):(ye.push(Yt),be.push(en))}if(ye.push(Yt),Bn===Hn)return be.push(ce==="strict"?Bt:It);if(Bn===Fr||Bn===an)return be.push(en);if(Bn===ri)return St>=131072&&St<=196605||St>=196608&&St<=262141?be.push(It):be.push(en);be.push(Bn)}),[ye,be,tt]},ci=function(me,ce,be,ye){var tt=ye[be];if(Array.isArray(me)?me.indexOf(tt)!==-1:me===tt)for(var St=be;St<=ye.length;){St++;var Yt=ye[St];if(Yt===ce)return!0;if(Yt!==de)break}if(tt===de)for(var St=be;St>0;){St--;var Bn=ye[St];if(Array.isArray(me)?me.indexOf(Bn)!==-1:me===Bn)for(var xn=be;xn<=ye.length;){xn++;var Yt=ye[xn];if(Yt===ce)return!0;if(Yt!==de)break}if(Bn!==de)break}return!1},Hi=function(me,ce){for(var be=me;be>=0;){var ye=ce[be];if(ye===de)be--;else return ye}return 0},vi=function(me,ce,be,ye,tt){if(be[ye]===0)return qn;var St=ye-1;if(Array.isArray(tt)&&tt[St]===!0)return qn;var Yt=St-1,Bn=St+1,xn=ce[St],xr=Yt>=0?ce[Yt]:0,Pr=ce[Bn];if(xn===Qt&&Pr===pn)return qn;if(sr.indexOf(xn)!==-1)return Ir;if(sr.indexOf(Pr)!==-1||jn.indexOf(Pr)!==-1)return qn;if(Hi(St,ce)===Fn)return vr;if(Mr.get(me[St])===ge||(xn===En||xn===Mt)&&Mr.get(me[Bn])===ge||xn===_t||Pr===_t||xn===on||[de,ee,se].indexOf(xn)===-1&&Pr===on||[$e,at,pt,Ct,bn].indexOf(Pr)!==-1||Hi(St,ce)===Lt||ci(Rt,Lt,St,ce)||ci([$e,at],Bt,St,ce)||ci(ie,ie,St,ce))return qn;if(xn===de)return vr;if(xn===Rt||Pr===Rt)return qn;if(Pr===Be||xn===Be)return vr;if([ee,se,Bt].indexOf(Pr)!==-1||xn===le||xr===Wn&&Yr.indexOf(xn)!==-1||xn===bn&&Pr===Wn||Pr===gt||Yn.indexOf(Pr)!==-1&&xn===st||Yn.indexOf(xn)!==-1&&Pr===st||xn===Vt&&[It,En,Mt].indexOf(Pr)!==-1||[It,En,Mt].indexOf(xn)!==-1&&Pr===$t||Yn.indexOf(xn)!==-1&&ur.indexOf(Pr)!==-1||ur.indexOf(xn)!==-1&&Yn.indexOf(Pr)!==-1||[Vt,$t].indexOf(xn)!==-1&&(Pr===st||[Lt,se].indexOf(Pr)!==-1&&ce[Bn+1]===st)||[Lt,se].indexOf(xn)!==-1&&Pr===st||xn===st&&[st,bn,Ct].indexOf(Pr)!==-1)return qn;if([st,bn,Ct,$e,at].indexOf(Pr)!==-1)for(var Zr=St;Zr>=0;){var _i=ce[Zr];if(_i===st)return qn;if([bn,Ct].indexOf(_i)!==-1)Zr--;else break}if([Vt,$t].indexOf(Pr)!==-1)for(var Zr=[$e,at].indexOf(xn)!==-1?Yt:St;Zr>=0;){var _i=ce[Zr];if(_i===st)return qn;if([bn,Ct].indexOf(_i)!==-1)Zr--;else break}if(Wt===xn&&[Wt,rn,sn,Dn].indexOf(Pr)!==-1||[rn,sn].indexOf(xn)!==-1&&[rn,mn].indexOf(Pr)!==-1||[mn,Dn].indexOf(xn)!==-1&&Pr===mn||Xr.indexOf(xn)!==-1&&[gt,$t].indexOf(Pr)!==-1||Xr.indexOf(Pr)!==-1&&xn===Vt||Yn.indexOf(xn)!==-1&&Yn.indexOf(Pr)!==-1||xn===Ct&&Yn.indexOf(Pr)!==-1||Yn.concat(st).indexOf(xn)!==-1&&Pr===Lt&&Hr.indexOf(me[Bn])===-1||Yn.concat(st).indexOf(Pr)!==-1&&xn===at)return qn;if(xn===Xn&&Pr===Xn){for(var ha=be[St],po=1;ha>0&&(ha--,ce[ha]===Xn);)po++;if(po%2!==0)return qn}return xn===En&&Pr===Mt?qn:vr},no=function(me,ce){ce||(ce={lineBreak:"normal",wordBreak:"normal"});var be=gi(me,ce.lineBreak),ye=be[0],tt=be[1],St=be[2];(ce.wordBreak==="break-all"||ce.wordBreak==="break-word")&&(tt=tt.map(function(Bn){return[st,en,Fr].indexOf(Bn)!==-1?It:Bn}));var Yt=ce.wordBreak==="keep-all"?St.map(function(Bn,xn){return Bn&&me[xn]>=19968&&me[xn]<=40959}):void 0;return[ye,tt,Yt]},Ki=function(){function me(ce,be,ye,tt){this.codePoints=ce,this.required=be===Ir,this.start=ye,this.end=tt}return me.prototype.slice=function(){return Ce.apply(void 0,this.codePoints.slice(this.start,this.end))},me}(),fr=function(me,ce){var be=fe(me),ye=no(be,ce),tt=ye[0],St=ye[1],Yt=ye[2],Bn=be.length,xn=0,xr=0;return{next:function(){if(xr>=Bn)return{done:!0,value:null};for(var Pr=qn;xr=Co&&me<=57},oi=function(me){return me>=55296&&me<=57343},yr=function(me){return Kr(me)||me>=qr&&me<=Wr||me>=Vo&&me<=Do},ei=function(me){return me>=Vo&&me<=Ur},co=function(me){return me>=qr&&me<=ro},Jo=function(me){return ei(me)||co(me)},No=function(me){return me>=Si},ma=function(me){return me===yn||me===zt||me===hn},Oo=function(me){return Jo(me)||No(me)||me===tr},qo=function(me){return Oo(me)||Kr(me)||me===Un},jo=function(me){return me>=Lo&&me<=Mi||me===Mo||me>=Ao&&me<=Xo||me===bo},aa=function(me,ce){return me!==dn?!1:ce!==yn},fa=function(me,ce,be){return me===Un?Oo(ce)||aa(ce,be):Oo(me)?!0:!!(me===dn&&aa(me,ce))},Wa=function(me,ce,be){return me===yi||me===Un?Kr(ce)?!0:ce===Yi&&Kr(be):Kr(me===Yi?ce:me)},Ds=function(me){var ce=0,be=1;(me[ce]===yi||me[ce]===Un)&&(me[ce]===Un&&(be=-1),ce++);for(var ye=[];Kr(me[ce]);)ye.push(me[ce++]);var tt=ye.length?parseInt(Ce.apply(void 0,ye),10):0;me[ce]===Yi&&ce++;for(var St=[];Kr(me[ce]);)St.push(me[ce++]);var Yt=St.length,Bn=Yt?parseInt(Ce.apply(void 0,St),10):0;(me[ce]===ni||me[ce]===_n)&&ce++;var xn=1;(me[ce]===yi||me[ce]===Un)&&(me[ce]===Un&&(xn=-1),ce++);for(var xr=[];Kr(me[ce]);)xr.push(me[ce++]);var Pr=xr.length?parseInt(Ce.apply(void 0,xr),10):0;return be*(tt+Bn*Math.pow(10,-Yt))*Math.pow(10,xn*Pr)},zs={type:2},is={type:3},us={type:4},Uo={type:13},go={type:8},Fa={type:21},hs={type:9},el={type:10},tl={type:11},nl={type:12},hl={type:14},lu={type:23},Js={type:1},Kl={type:25},Zl={type:24},Lu={type:26},dl={type:27},FA={type:28},hA={type:29},ga={type:31},Ia={type:32},va=function(){function me(){this._value=[]}return me.prototype.write=function(ce){this._value=this._value.concat(fe(ce))},me.prototype.read=function(){for(var ce=[],be=this.consumeToken();be!==Ia;)ce.push(be),be=this.consumeToken();return ce},me.prototype.consumeToken=function(){var ce=this.consumeCodePoint();switch(ce){case Pn:return this.consumeStringToken(Pn);case Jr:var be=this.peekCodePoint(0),ye=this.peekCodePoint(1),tt=this.peekCodePoint(2);if(qo(be)||aa(ye,tt)){var St=fa(be,ye,tt)?mi:Lr,Yt=this.consumeName();return{type:5,value:Yt,flags:St}}break;case di:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),Uo;break;case Ar:return this.consumeStringToken(Ar);case ar:return zs;case ti:return is;case Ci:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),hl;break;case yi:if(Wa(ce,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ce),this.consumeNumericToken();break;case Ti:return us;case Un:var Bn=ce,xn=this.peekCodePoint(0),xr=this.peekCodePoint(1);if(Wa(Bn,xn,xr))return this.reconsumeCodePoint(ce),this.consumeNumericToken();if(fa(Bn,xn,xr))return this.reconsumeCodePoint(ce),this.consumeIdentLikeToken();if(xn===Un&&xr===Kn)return this.consumeCodePoint(),this.consumeCodePoint(),Zl;break;case Yi:if(Wa(ce,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ce),this.consumeNumericToken();break;case kt:if(this.peekCodePoint(0)===Ci)for(this.consumeCodePoint();;){var Pr=this.consumeCodePoint();if(Pr===Ci&&(Pr=this.consumeCodePoint(),Pr===kt))return this.consumeToken();if(Pr===to)return this.consumeToken()}break;case eo:return Lu;case mo:return dl;case Ei:if(this.peekCodePoint(0)===cr&&this.peekCodePoint(1)===Un&&this.peekCodePoint(2)===Un)return this.consumeCodePoint(),this.consumeCodePoint(),Kl;break;case gn:var Zr=this.peekCodePoint(0),_i=this.peekCodePoint(1),ha=this.peekCodePoint(2);if(fa(Zr,_i,ha)){var Yt=this.consumeName();return{type:7,value:Yt}}break;case $n:return FA;case dn:if(aa(ce,this.peekCodePoint(0)))return this.reconsumeCodePoint(ce),this.consumeIdentLikeToken();break;case nr:return hA;case pr:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),go;break;case zr:return tl;case fi:return nl;case Vi:case ji:var po=this.peekCodePoint(0),Wo=this.peekCodePoint(1);return po===yi&&(yr(Wo)||Wo===Ni)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ce),this.consumeIdentLikeToken();case Li:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),hs;if(this.peekCodePoint(0)===Li)return this.consumeCodePoint(),Fa;break;case hi:if(this.peekCodePoint(0)===_r)return this.consumeCodePoint(),el;break;case to:return Ia}return ma(ce)?(this.consumeWhiteSpace(),ga):Kr(ce)?(this.reconsumeCodePoint(ce),this.consumeNumericToken()):Oo(ce)?(this.reconsumeCodePoint(ce),this.consumeIdentLikeToken()):{type:6,value:Ce(ce)}},me.prototype.consumeCodePoint=function(){var ce=this._value.shift();return typeof ce=="undefined"?-1:ce},me.prototype.reconsumeCodePoint=function(ce){this._value.unshift(ce)},me.prototype.peekCodePoint=function(ce){return ce>=this._value.length?-1:this._value[ce]},me.prototype.consumeUnicodeRangeToken=function(){for(var ce=[],be=this.consumeCodePoint();yr(be)&&ce.length<6;)ce.push(be),be=this.consumeCodePoint();for(var ye=!1;be===Ni&&ce.length<6;)ce.push(be),be=this.consumeCodePoint(),ye=!0;if(ye){var tt=parseInt(Ce.apply(void 0,ce.map(function(xn){return xn===Ni?Co:xn})),16),St=parseInt(Ce.apply(void 0,ce.map(function(xn){return xn===Ni?Wr:xn})),16);return{type:30,start:tt,end:St}}var Yt=parseInt(Ce.apply(void 0,ce),16);if(this.peekCodePoint(0)===Un&&yr(this.peekCodePoint(1))){this.consumeCodePoint(),be=this.consumeCodePoint();for(var Bn=[];yr(be)&&Bn.length<6;)Bn.push(be),be=this.consumeCodePoint();var St=parseInt(Ce.apply(void 0,Bn),16);return{type:30,start:Yt,end:St}}else return{type:30,start:Yt,end:Yt}},me.prototype.consumeIdentLikeToken=function(){var ce=this.consumeName();return ce.toLowerCase()==="url"&&this.peekCodePoint(0)===ar?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ar?(this.consumeCodePoint(),{type:19,value:ce}):{type:20,value:ce}},me.prototype.consumeUrlToken=function(){var ce=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===to)return{type:22,value:""};var be=this.peekCodePoint(0);if(be===Ar||be===Pn){var ye=this.consumeStringToken(this.consumeCodePoint());return ye.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===ti)?(this.consumeCodePoint(),{type:22,value:ye.value}):(this.consumeBadUrlRemnants(),lu)}for(;;){var tt=this.consumeCodePoint();if(tt===to||tt===ti)return{type:22,value:Ce.apply(void 0,ce)};if(ma(tt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===ti?(this.consumeCodePoint(),{type:22,value:Ce.apply(void 0,ce)}):(this.consumeBadUrlRemnants(),lu);if(tt===Pn||tt===Ar||tt===ar||jo(tt))return this.consumeBadUrlRemnants(),lu;if(tt===dn)if(aa(tt,this.peekCodePoint(0)))ce.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),lu;else ce.push(tt)}},me.prototype.consumeWhiteSpace=function(){for(;ma(this.peekCodePoint(0));)this.consumeCodePoint()},me.prototype.consumeBadUrlRemnants=function(){for(;;){var ce=this.consumeCodePoint();if(ce===ti||ce===to)return;aa(ce,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},me.prototype.consumeStringSlice=function(ce){for(var be=5e4,ye="";ce>0;){var tt=Math.min(be,ce);ye+=Ce.apply(void 0,this._value.splice(0,tt)),ce-=tt}return this._value.shift(),ye},me.prototype.consumeStringToken=function(ce){var be="",ye=0;do{var tt=this._value[ye];if(tt===to||tt===void 0||tt===ce)return be+=this.consumeStringSlice(ye),{type:0,value:be};if(tt===yn)return this._value.splice(0,ye),Js;if(tt===dn){var St=this._value[ye+1];St!==to&&St!==void 0&&(St===yn?(be+=this.consumeStringSlice(ye),ye=-1,this._value.shift()):aa(tt,St)&&(be+=this.consumeStringSlice(ye),be+=Ce(this.consumeEscapedCodePoint()),ye=-1))}ye++}while(!0)},me.prototype.consumeNumber=function(){var ce=[],be=Xt,ye=this.peekCodePoint(0);for((ye===yi||ye===Un)&&ce.push(this.consumeCodePoint());Kr(this.peekCodePoint(0));)ce.push(this.consumeCodePoint());ye=this.peekCodePoint(0);var tt=this.peekCodePoint(1);if(ye===Yi&&Kr(tt))for(ce.push(this.consumeCodePoint(),this.consumeCodePoint()),be=ln;Kr(this.peekCodePoint(0));)ce.push(this.consumeCodePoint());ye=this.peekCodePoint(0),tt=this.peekCodePoint(1);var St=this.peekCodePoint(2);if((ye===ni||ye===_n)&&((tt===yi||tt===Un)&&Kr(St)||Kr(tt)))for(ce.push(this.consumeCodePoint(),this.consumeCodePoint()),be=ln;Kr(this.peekCodePoint(0));)ce.push(this.consumeCodePoint());return[Ds(ce),be]},me.prototype.consumeNumericToken=function(){var ce=this.consumeNumber(),be=ce[0],ye=ce[1],tt=this.peekCodePoint(0),St=this.peekCodePoint(1),Yt=this.peekCodePoint(2);if(fa(tt,St,Yt)){var Bn=this.consumeName();return{type:15,number:be,flags:ye,unit:Bn}}return tt===ir?(this.consumeCodePoint(),{type:16,number:be,flags:ye}):{type:17,number:be,flags:ye}},me.prototype.consumeEscapedCodePoint=function(){var ce=this.consumeCodePoint();if(yr(ce)){for(var be=Ce(ce);yr(this.peekCodePoint(0))&&be.length<6;)be+=Ce(this.consumeCodePoint());ma(this.peekCodePoint(0))&&this.consumeCodePoint();var ye=parseInt(be,16);return ye===0||oi(ye)||ye>1114111?wi:ye}return ce===to?wi:ce},me.prototype.consumeName=function(){for(var ce="";;){var be=this.consumeCodePoint();if(qo(be))ce+=Ce(be);else if(aa(be,this.peekCodePoint(0)))ce+=Ce(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(be),ce}},me}(),Ca=function(){function me(ce){this._tokens=ce}return me.create=function(ce){var be=new va;return be.write(ce),new me(be.read())},me.parseValue=function(ce){return me.create(ce).parseComponentValue()},me.parseValues=function(ce){return me.create(ce).parseComponentValues()},me.prototype.parseComponentValue=function(){for(var ce=this.consumeToken();ce.type===31;)ce=this.consumeToken();if(ce.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ce);var be=this.consumeComponentValue();do ce=this.consumeToken();while(ce.type===31);if(ce.type===32)return be;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},me.prototype.parseComponentValues=function(){for(var ce=[];;){var be=this.consumeComponentValue();if(be.type===32)return ce;ce.push(be),ce.push()}},me.prototype.consumeComponentValue=function(){var ce=this.consumeToken();switch(ce.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ce.type);case 19:return this.consumeFunction(ce)}return ce},me.prototype.consumeSimpleBlock=function(ce){for(var be={type:ce,values:[]},ye=this.consumeToken();;){if(ye.type===32||iu(ye,ce))return be;this.reconsumeToken(ye),be.values.push(this.consumeComponentValue()),ye=this.consumeToken()}},me.prototype.consumeFunction=function(ce){for(var be={name:ce.value,values:[],type:18};;){var ye=this.consumeToken();if(ye.type===32||ye.type===3)return be;this.reconsumeToken(ye),be.values.push(this.consumeComponentValue())}},me.prototype.consumeToken=function(){var ce=this._tokens.shift();return typeof ce=="undefined"?Ia:ce},me.prototype.reconsumeToken=function(ce){this._tokens.unshift(ce)},me}(),qa=function(me){return me.type===15},Xa=function(me){return me.type===17},Ha=function(me){return me.type===20},Wl=function(me){return me.type===0},uu=function(me,ce){return Ha(me)&&me.value===ce},ki=function(me){return me.type!==31},na=function(me){return me.type!==31&&me.type!==4},Ta=function(me){var ce=[],be=[];return me.forEach(function(ye){if(ye.type===4){if(be.length===0)throw new Error("Error parsing function args, zero tokens for arg");ce.push(be),be=[];return}ye.type!==31&&be.push(ye)}),be.length&&ce.push(be),ce},iu=function(me,ce){return ce===11&&me.type===12||ce===28&&me.type===29?!0:ce===2&&me.type===3},Pl=function(me){return me.type===17||me.type===15},ps=function(me){return me.type===16||Pl(me)},Cu=function(me){return me.length>1?[me[0],me[1]]:[me[0]]},pl={type:17,number:0,flags:Xt},Kc={type:16,number:50,flags:Xt},IA={type:16,number:100,flags:Xt},xu=function(me,ce,be){var ye=me[0],tt=me[1];return[sa(ye,ce),sa(typeof tt!="undefined"?tt:ye,be)]},sa=function(me,ce){if(me.type===16)return me.number/100*ce;if(qa(me))switch(me.unit){case"rem":case"em":return 16*me.number;case"px":default:return me.number}return me.number},Wu="deg",dc="grad",Mu="rad",Ns="turn",eA={name:"angle",parse:function(me,ce){if(ce.type===15)switch(ce.unit){case Wu:return Math.PI*ce.number/180;case dc:return Math.PI/200*ce.number;case Mu:return ce.number;case Ns:return Math.PI*2*ce.number}throw new Error("Unsupported angle type")}},pA=function(me){return me.type===15&&(me.unit===Wu||me.unit===dc||me.unit===Mu||me.unit===Ns)},_A=function(me){var ce=me.filter(Ha).map(function(be){return be.value}).join(" ");switch(ce){case"to bottom right":case"to right bottom":case"left top":case"top left":return[pl,pl];case"to top":case"bottom":return bl(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[pl,IA];case"to right":case"left":return bl(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[IA,IA];case"to bottom":case"top":return bl(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[IA,pl];case"to left":case"right":return bl(270)}return 0},bl=function(me){return Math.PI*me/180},Cl={name:"color",parse:function(me,ce){if(ce.type===18){var be=Pa[ce.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ce.name+'"');return be(me,ce.values)}if(ce.type===5){if(ce.value.length===3){var ye=ce.value.substring(0,1),tt=ce.value.substring(1,2),St=ce.value.substring(2,3);return Gl(parseInt(ye+ye,16),parseInt(tt+tt,16),parseInt(St+St,16),1)}if(ce.value.length===4){var ye=ce.value.substring(0,1),tt=ce.value.substring(1,2),St=ce.value.substring(2,3),Yt=ce.value.substring(3,4);return Gl(parseInt(ye+ye,16),parseInt(tt+tt,16),parseInt(St+St,16),parseInt(Yt+Yt,16)/255)}if(ce.value.length===6){var ye=ce.value.substring(0,2),tt=ce.value.substring(2,4),St=ce.value.substring(4,6);return Gl(parseInt(ye,16),parseInt(tt,16),parseInt(St,16),1)}if(ce.value.length===8){var ye=ce.value.substring(0,2),tt=ce.value.substring(2,4),St=ce.value.substring(4,6),Yt=ce.value.substring(6,8);return Gl(parseInt(ye,16),parseInt(tt,16),parseInt(St,16),parseInt(Yt,16)/255)}}if(ce.type===20){var Bn=Rs[ce.value.toUpperCase()];if(typeof Bn!="undefined")return Bn}return Rs.TRANSPARENT}},rl=function(me){return(255&me)===0},$l=function(me){var ce=255&me,be=255&me>>8,ye=255&me>>16,tt=255&me>>24;return ce<255?"rgba("+tt+","+ye+","+be+","+ce/255+")":"rgb("+tt+","+ye+","+be+")"},Gl=function(me,ce,be,ye){return(me<<24|ce<<16|be<<8|Math.round(ye*255)<<0)>>>0},Oc=function(me,ce){if(me.type===17)return me.number;if(me.type===16){var be=ce===3?1:255;return ce===3?me.number/100*be:Math.round(me.number/100*be)}return 0},nd=function(me,ce){var be=ce.filter(na);if(be.length===3){var ye=be.map(Oc),tt=ye[0],St=ye[1],Yt=ye[2];return Gl(tt,St,Yt,1)}if(be.length===4){var Bn=be.map(Oc),tt=Bn[0],St=Bn[1],Yt=Bn[2],xn=Bn[3];return Gl(tt,St,Yt,xn)}return 0};function _l(me,ce,be){return be<0&&(be+=1),be>=1&&(be-=1),be<1/6?(ce-me)*be*6+me:be<1/2?ce:be<2/3?(ce-me)*6*(2/3-be)+me:me}var Uu=function(me,ce){var be=ce.filter(na),ye=be[0],tt=be[1],St=be[2],Yt=be[3],Bn=(ye.type===17?bl(ye.number):eA.parse(me,ye))/(Math.PI*2),xn=ps(tt)?tt.number/100:0,xr=ps(St)?St.number/100:0,Pr=typeof Yt!="undefined"&&ps(Yt)?sa(Yt,1):1;if(xn===0)return Gl(xr*255,xr*255,xr*255,1);var Zr=xr<=.5?xr*(xn+1):xr+xn-xr*xn,_i=xr*2-Zr,ha=_l(_i,Zr,Bn+1/3),po=_l(_i,Zr,Bn),Wo=_l(_i,Zr,Bn-1/3);return Gl(ha*255,po*255,Wo*255,Pr)},Pa={hsl:Uu,hsla:Uu,rgb:nd,rgba:nd},Ua=function(me,ce){return Cl.parse(me,Ca.create(ce).parseComponentValue())},Rs={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},tA={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(me,ce){return ce.map(function(be){if(Ha(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Vl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Au=function(me,ce){var be=Cl.parse(me,ce[0]),ye=ce[1];return ye&&ps(ye)?{color:be,stop:ye}:{color:be,stop:null}},WA=function(me,ce){var be=me[0],ye=me[me.length-1];be.stop===null&&(be.stop=pl),ye.stop===null&&(ye.stop=IA);for(var tt=[],St=0,Yt=0;YtSt?tt.push(xn):tt.push(St),St=xn}else tt.push(null)}for(var xr=null,Yt=0;YtYt.optimumDistance)?{optimumCorner:Bn,optimumDistance:Pr}:Yt},{optimumDistance:tt?1/0:-1/0,optimumCorner:null}).optimumCorner},nc=function(me,ce,be,ye,tt){var St=0,Yt=0;switch(me.size){case 0:me.shape===0?St=Yt=Math.min(Math.abs(ce),Math.abs(ce-ye),Math.abs(be),Math.abs(be-tt)):me.shape===1&&(St=Math.min(Math.abs(ce),Math.abs(ce-ye)),Yt=Math.min(Math.abs(be),Math.abs(be-tt)));break;case 2:if(me.shape===0)St=Yt=Math.min(Xl(ce,be),Xl(ce,be-tt),Xl(ce-ye,be),Xl(ce-ye,be-tt));else if(me.shape===1){var Bn=Math.min(Math.abs(be),Math.abs(be-tt))/Math.min(Math.abs(ce),Math.abs(ce-ye)),xn=mA(ye,tt,ce,be,!0),xr=xn[0],Pr=xn[1];St=Xl(xr-ce,(Pr-be)/Bn),Yt=Bn*St}break;case 1:me.shape===0?St=Yt=Math.max(Math.abs(ce),Math.abs(ce-ye),Math.abs(be),Math.abs(be-tt)):me.shape===1&&(St=Math.max(Math.abs(ce),Math.abs(ce-ye)),Yt=Math.max(Math.abs(be),Math.abs(be-tt)));break;case 3:if(me.shape===0)St=Yt=Math.max(Xl(ce,be),Xl(ce,be-tt),Xl(ce-ye,be),Xl(ce-ye,be-tt));else if(me.shape===1){var Bn=Math.max(Math.abs(be),Math.abs(be-tt))/Math.max(Math.abs(ce),Math.abs(ce-ye)),Zr=mA(ye,tt,ce,be,!1),xr=Zr[0],Pr=Zr[1];St=Xl(xr-ce,(Pr-be)/Bn),Yt=Bn*St}break}return Array.isArray(me.size)&&(St=sa(me.size[0],ye),Yt=me.size.length===2?sa(me.size[1],tt):St),[St,Yt]},rc=function(me,ce){var be=bl(180),ye=[];return Ta(ce).forEach(function(tt,St){if(St===0){var Yt=tt[0];if(Yt.type===20&&Yt.value==="to"){be=_A(tt);return}else if(pA(Yt)){be=eA.parse(me,Yt);return}}var Bn=Au(me,tt);ye.push(Bn)}),{angle:be,stops:ye,type:1}},Sd=function(me,ce){var be=bl(180),ye=[];return Ta(ce).forEach(function(tt,St){if(St===0){var Yt=tt[0];if(Yt.type===20&&["top","left","right","bottom"].indexOf(Yt.value)!==-1){be=_A(tt);return}else if(pA(Yt)){be=(eA.parse(me,Yt)+bl(270))%bl(360);return}}var Bn=Au(me,tt);ye.push(Bn)}),{angle:be,stops:ye,type:1}},Xf=function(me,ce){var be=bl(180),ye=[],tt=1,St=0,Yt=3,Bn=[];return Ta(ce).forEach(function(xn,xr){var Pr=xn[0];if(xr===0){if(Ha(Pr)&&Pr.value==="linear"){tt=1;return}else if(Ha(Pr)&&Pr.value==="radial"){tt=2;return}}if(Pr.type===18){if(Pr.name==="from"){var Zr=Cl.parse(me,Pr.values[0]);ye.push({stop:pl,color:Zr})}else if(Pr.name==="to"){var Zr=Cl.parse(me,Pr.values[0]);ye.push({stop:IA,color:Zr})}else if(Pr.name==="color-stop"){var _i=Pr.values.filter(na);if(_i.length===2){var Zr=Cl.parse(me,_i[1]),ha=_i[0];Xa(ha)&&ye.push({stop:{type:16,number:ha.number*100,flags:ha.flags},color:Zr})}}}}),tt===1?{angle:(be+bl(180))%bl(360),stops:ye,type:tt}:{size:Yt,shape:St,stops:ye,position:Bn,type:tt}},rd="closest-side",Pc="farthest-side",hc="closest-corner",Du="farthest-corner",_c="circle",ic="ellipse",Fd="cover",Yf="contain",Os=function(me,ce){var be=0,ye=3,tt=[],St=[];return Ta(ce).forEach(function(Yt,Bn){var xn=!0;if(Bn===0){var xr=!1;xn=Yt.reduce(function(Zr,_i){if(xr)if(Ha(_i))switch(_i.value){case"center":return St.push(Kc),Zr;case"top":case"left":return St.push(pl),Zr;case"right":case"bottom":return St.push(IA),Zr}else(ps(_i)||Pl(_i))&&St.push(_i);else if(Ha(_i))switch(_i.value){case _c:return be=0,!1;case ic:return be=1,!1;case"at":return xr=!0,!1;case rd:return ye=0,!1;case Fd:case Pc:return ye=1,!1;case Yf:case hc:return ye=2,!1;case Du:return ye=3,!1}else if(Pl(_i)||ps(_i))return Array.isArray(ye)||(ye=[]),ye.push(_i),!1;return Zr},xn)}if(xn){var Pr=Au(me,Yt);tt.push(Pr)}}),{size:ye,shape:be,stops:tt,position:St,type:2}},$u=function(me,ce){var be=0,ye=3,tt=[],St=[];return Ta(ce).forEach(function(Yt,Bn){var xn=!0;if(Bn===0?xn=Yt.reduce(function(Pr,Zr){if(Ha(Zr))switch(Zr.value){case"center":return St.push(Kc),!1;case"top":case"left":return St.push(pl),!1;case"right":case"bottom":return St.push(IA),!1}else if(ps(Zr)||Pl(Zr))return St.push(Zr),!1;return Pr},xn):Bn===1&&(xn=Yt.reduce(function(Pr,Zr){if(Ha(Zr))switch(Zr.value){case _c:return be=0,!1;case ic:return be=1,!1;case Yf:case rd:return ye=0,!1;case Pc:return ye=1,!1;case hc:return ye=2,!1;case Fd:case Du:return ye=3,!1}else if(Pl(Zr)||ps(Zr))return Array.isArray(ye)||(ye=[]),ye.push(Zr),!1;return Pr},xn)),xn){var xr=Au(me,Yt);tt.push(xr)}}),{size:ye,shape:be,stops:tt,position:St,type:2}},pc=function(me){return me.type===1},Ih=function(me){return me.type===2},$A={name:"image",parse:function(me,ce){if(ce.type===22){var be={url:ce.value,type:0};return me.cache.addImage(ce.value),be}if(ce.type===18){var ye=Id[ce.name];if(typeof ye=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ce.name+'"');return ye(me,ce.values)}throw new Error("Unsupported image type "+ce.type)}};function Lh(me){return!(me.type===20&&me.value==="none")&&(me.type!==18||!!Id[me.name])}var Id={"linear-gradient":rc,"-moz-linear-gradient":Sd,"-ms-linear-gradient":Sd,"-o-linear-gradient":Sd,"-webkit-linear-gradient":Sd,"radial-gradient":Os,"-moz-radial-gradient":$u,"-ms-radial-gradient":$u,"-o-radial-gradient":$u,"-webkit-radial-gradient":$u,"-webkit-gradient":Xf},Jf={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(me,ce){if(ce.length===0)return[];var be=ce[0];return be.type===20&&be.value==="none"?[]:ce.filter(function(ye){return na(ye)&&Lh(ye)}).map(function(ye){return $A.parse(me,ye)})}},bf={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(me,ce){return ce.map(function(be){if(Ha(be))switch(be.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Cf={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(me,ce){return Ta(ce).map(function(be){return be.filter(ps)}).map(Cu)}},GA={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(me,ce){return Ta(ce).map(function(be){return be.filter(Ha).map(function(ye){return ye.value}).join(" ")}).map(wa)}},wa=function(me){switch(me){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Tl;(function(me){me.AUTO="auto",me.CONTAIN="contain",me.COVER="cover"})(Tl||(Tl={}));var TA={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(me,ce){return Ta(ce).map(function(be){return be.filter(id)})}},id=function(me){return Ha(me)||ps(me)},Tc=function(me){return{name:"border-"+me+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Zp=Tc("top"),kc=Tc("right"),qf=Tc("bottom"),kA=Tc("left"),od=function(me){return{name:"border-radius-"+me,initialValue:"0 0",prefix:!1,type:1,parse:function(ce,be){return Cu(be.filter(ps))}}},Wp=od("top-left"),gc=od("top-right"),LA=od("bottom-right"),nA=od("bottom-left"),Ks=function(me){return{name:"border-"+me+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ce,be){switch(be){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},mc=Ks("top"),ad=Ks("right"),sd=Ks("bottom"),vc=Ks("left"),Mc=function(me){return{name:"border-"+me+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ce,be){return qa(be)?be.number:0}}},xf=Mc("top"),Ld=Mc("right"),Dh=Mc("bottom"),$p=Mc("left"),rA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yc={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"rtl":return 1;case"ltr":default:return 0}}},ip={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(me,ce){return ce.filter(Ha).reduce(function(be,ye){return be|Gp(ye.value)},0)}},Gp=function(me){switch(me){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Xd={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},op={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(me,ce){return ce.type===20&&ce.value==="normal"?0:ce.type===17||ce.type===15?ce.number:0}},Yd;(function(me){me.NORMAL="normal",me.STRICT="strict"})(Yd||(Yd={}));var Vp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"strict":return Yd.STRICT;case"normal":default:return Yd.NORMAL}}},iA={name:"line-height",initialValue:"normal",prefix:!1,type:4},Nu=function(me,ce){return Ha(me)&&me.value==="normal"?1.2*ce:me.type===17?ce*me.number:ps(me)?sa(me,ce):ce},oA={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(me,ce){return ce.type===20&&ce.value==="none"?null:$A.parse(me,ce)}},Ou={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"inside":return 0;case"outside":default:return 1}}},ld={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Jd=function(me){return{name:"margin-"+me,initialValue:"0",prefix:!1,type:4}},Bf=Jd("top"),ap=Jd("right"),sp=Jd("bottom"),lp=Jd("left"),eh={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(me,ce){return ce.filter(Ha).map(function(be){switch(be.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},wc={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"break-word":return"break-word";case"normal":default:return"normal"}}},Dd=function(me){return{name:"padding-"+me,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},up=Dd("top"),wt=Dd("right"),vt=Dd("bottom"),Gt=Dd("left"),An={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Sn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(me,ce){switch(ce){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Tn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,ce){return ce.length===1&&uu(ce[0],"none")?[]:Ta(ce).map(function(be){for(var ye={color:Rs.TRANSPARENT,offsetX:pl,offsetY:pl,blur:pl},tt=0,St=0;St1?1:0],this.overflowWrap=lo(ce,wc,be.overflowWrap),this.paddingTop=lo(ce,up,be.paddingTop),this.paddingRight=lo(ce,wt,be.paddingRight),this.paddingBottom=lo(ce,vt,be.paddingBottom),this.paddingLeft=lo(ce,Gt,be.paddingLeft),this.paintOrder=lo(ce,xo,be.paintOrder),this.position=lo(ce,Sn,be.position),this.textAlign=lo(ce,An,be.textAlign),this.textDecorationColor=lo(ce,ho,(ye=be.textDecorationColor)!==null&&ye!==void 0?ye:be.color),this.textDecorationLine=lo(ce,Bo,(tt=be.textDecorationLine)!==null&&tt!==void 0?tt:be.textDecoration),this.textShadow=lo(ce,Tn,be.textShadow),this.textTransform=lo(ce,or,be.textTransform),this.transform=lo(ce,er,be.transform),this.transformOrigin=lo(ce,Or,be.transformOrigin),this.visibility=lo(ce,Dr,be.visibility),this.webkitTextStrokeColor=lo(ce,Ja,be.webkitTextStrokeColor),this.webkitTextStrokeWidth=lo(ce,za,be.webkitTextStrokeWidth),this.wordBreak=lo(ce,bi,be.wordBreak),this.zIndex=lo(ce,qi,be.zIndex)}return me.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},me.prototype.isTransparent=function(){return rl(this.backgroundColor)},me.prototype.isTransformed=function(){return this.transform!==null},me.prototype.isPositioned=function(){return this.position!==0},me.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},me.prototype.isFloating=function(){return this.float!==0},me.prototype.isInlineLevel=function(){return Ko(this.display,4)||Ko(this.display,33554432)||Ko(this.display,268435456)||Ko(this.display,536870912)||Ko(this.display,67108864)||Ko(this.display,134217728)},me}(),xl=function(){function me(ce,be){this.content=lo(ce,Ho,be.content),this.quotes=lo(ce,ko,be.quotes)}return me}(),ol=function(){function me(ce,be){this.counterIncrement=lo(ce,zo,be.counterIncrement),this.counterReset=lo(ce,vo,be.counterReset)}return me}(),lo=function(me,ce,be){var ye=new va,tt=be!==null&&typeof be!="undefined"?be.toString():ce.initialValue;ye.write(tt);var St=new Ca(ye.read());switch(ce.type){case 2:var Yt=St.parseComponentValue();return ce.parse(me,Ha(Yt)?Yt.value:ce.initialValue);case 0:return ce.parse(me,St.parseComponentValue());case 1:return ce.parse(me,St.parseComponentValues());case 4:return St.parseComponentValue();case 3:switch(ce.format){case"angle":return eA.parse(me,St.parseComponentValue());case"color":return Cl.parse(me,St.parseComponentValue());case"image":return $A.parse(me,St.parseComponentValue());case"length":var Bn=St.parseComponentValue();return Pl(Bn)?Bn:pl;case"length-percentage":var xn=St.parseComponentValue();return ps(xn)?xn:pl;case"time":return so.parse(me,St.parseComponentValue())}break}},Yl="data-html2canvas-debug",os=function(me){var ce=me.getAttribute(Yl);switch(ce){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},rs=function(me,ce){var be=os(me);return be===1||ce===be},il=function(){function me(ce,be){if(this.context=ce,this.textNodes=[],this.elements=[],this.flags=0,rs(be,3))debugger;this.styles=new Dl(ce,window.getComputedStyle(be,null)),Ph(be)&&(this.styles.animationDuration.some(function(ye){return ye>0})&&(be.style.animationDuration="0s"),this.styles.transform!==null&&(be.style.transform="none")),this.bounds=Se(this.context,be),rs(be,4)&&(this.flags|=16)}return me}(),cu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ia="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xa=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Go=0;Go>4,Pr[tt++]=(Yt&15)<<4|Bn>>2,Pr[tt++]=(Bn&3)<<6|xn&63;return xr},As=function(me){for(var ce=me.length,be=[],ye=0;ye>Vs,ea=1<>Vs,Xs=ua+qs,pu=Xs,Nl=32,aA=pu+Nl,Bl=65536>>Zs,gs=1<=0){if(ce<55296||ce>56319&&ce<=65535)return be=this.index[ce>>Vs],be=(be<>Vs)],be=(be<>Zs),be=this.index[be],be+=ce>>Vs&sl,be=this.index[be],be=(be<=55296&&tt<=56319&&be>10)+55296,Yt%1024+56320)),(tt+1===be||ye.length>16384)&&(St+=String.fromCharCode.apply(String,ye),ye.length=0)}return St},ef=Ol(cu),Fs="\xD7",ud="\xF7",Ef=function(me){return ef.get(me)},Ka=function(me,ce,be){var ye=be-2,tt=ce[ye],St=ce[be-1],Yt=ce[be];if(St===Pu&&Yt===_u)return Fs;if(St===Pu||St===_u||St===VA||Yt===Pu||Yt===_u||Yt===VA)return ud;if(St===Ru&&[Ru,Gu,Vu,Al].indexOf(Yt)!==-1||(St===Vu||St===Gu)&&(Yt===Gu||Yt===ju)||(St===Al||St===ju)&&Yt===ju||Yt===vA||Yt===ul||Yt===Nd||St===Jl)return Fs;if(St===vA&&Yt===bc){for(;tt===ul;)tt=ce[--ye];if(tt===bc)return Fs}if(St===MA&&Yt===MA){for(var Bn=0;tt===MA;)Bn++,tt=ce[--ye];if(Bn%2===0)return Fs}return ud},cs=function(me){var ce=XA(me),be=ce.length,ye=0,tt=0,St=ce.map(Ef);return{next:function(){if(ye>=be)return{done:!0,value:null};for(var Yt=Fs;yeYt.x||Pr.y>Yt.y;return Yt=Pr,xr===0?!0:Zr});return me.body.removeChild(ce),Bn},Eu=function(){return typeof new Image().crossOrigin!="undefined"},Xu=function(){return typeof new XMLHttpRequest().responseType=="string"},Qu=function(me){var ce=new Image,be=me.createElement("canvas"),ye=be.getContext("2d");if(!ye)return!1;ce.src="data:image/svg+xml,";try{ye.drawImage(ce,0,0),be.toDataURL()}catch(tt){return!1}return!0},Zc=function(me){return me[0]===0&&me[1]===255&&me[2]===0&&me[3]===255},Sf=function(me){var ce=me.createElement("canvas"),be=100;ce.width=be,ce.height=be;var ye=ce.getContext("2d");if(!ye)return Promise.reject(!1);ye.fillStyle="rgb(0, 255, 0)",ye.fillRect(0,0,be,be);var tt=new Image,St=ce.toDataURL();tt.src=St;var Yt=Wc(be,be,0,0,tt);return ye.fillStyle="red",ye.fillRect(0,0,be,be),$c(Yt).then(function(Bn){ye.drawImage(Bn,0,0);var xn=ye.getImageData(0,0,be,be).data;ye.fillStyle="red",ye.fillRect(0,0,be,be);var xr=me.createElement("div");return xr.style.backgroundImage="url("+St+")",xr.style.height=be+"px",Zc(xn)?$c(Wc(be,be,0,0,xr)):Promise.reject(!1)}).then(function(Bn){return ye.drawImage(Bn,0,0),Zc(ye.getImageData(0,0,be,be).data)}).catch(function(){return!1})},Wc=function(me,ce,be,ye,tt){var St="http://www.w3.org/2000/svg",Yt=document.createElementNS(St,"svg"),Bn=document.createElementNS(St,"foreignObject");return Yt.setAttributeNS(null,"width",me.toString()),Yt.setAttributeNS(null,"height",ce.toString()),Bn.setAttributeNS(null,"width","100%"),Bn.setAttributeNS(null,"height","100%"),Bn.setAttributeNS(null,"x",be.toString()),Bn.setAttributeNS(null,"y",ye.toString()),Bn.setAttributeNS(null,"externalResourcesRequired","true"),Yt.appendChild(Bn),Bn.appendChild(tt),Yt},$c=function(me){return new Promise(function(ce,be){var ye=new Image;ye.onload=function(){return ce(ye)},ye.onerror=be,ye.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},gu={get SUPPORT_RANGE_BOUNDS(){var me=ou(document);return Object.defineProperty(gu,"SUPPORT_RANGE_BOUNDS",{value:me}),me},get SUPPORT_WORD_BREAKING(){var me=gu.SUPPORT_RANGE_BOUNDS&&Bu(document);return Object.defineProperty(gu,"SUPPORT_WORD_BREAKING",{value:me}),me},get SUPPORT_SVG_DRAWING(){var me=Qu(document);return Object.defineProperty(gu,"SUPPORT_SVG_DRAWING",{value:me}),me},get SUPPORT_FOREIGNOBJECT_DRAWING(){var me=typeof Array.from=="function"&&typeof window.fetch=="function"?Sf(document):Promise.resolve(!1);return Object.defineProperty(gu,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:me}),me},get SUPPORT_CORS_IMAGES(){var me=Eu();return Object.defineProperty(gu,"SUPPORT_CORS_IMAGES",{value:me}),me},get SUPPORT_RESPONSE_TYPE(){var me=Xu();return Object.defineProperty(gu,"SUPPORT_RESPONSE_TYPE",{value:me}),me},get SUPPORT_CORS_XHR(){var me="withCredentials"in new XMLHttpRequest;return Object.defineProperty(gu,"SUPPORT_CORS_XHR",{value:me}),me},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var me=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(gu,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:me}),me}},UA=function(){function me(ce,be){this.text=ce,this.bounds=be}return me}(),tf=function(me,ce,be,ye){var tt=th(ce,be),St=[],Yt=0;return tt.forEach(function(Bn){if(be.textDecorationLine.length||Bn.trim().length>0)if(gu.SUPPORT_RANGE_BOUNDS){var xn=nf(ye,Yt,Bn.length).getClientRects();if(xn.length>1){var xr=If(Bn),Pr=0;xr.forEach(function(_i){St.push(new UA(_i,He.fromDOMRectList(me,nf(ye,Pr+Yt,_i.length).getClientRects()))),Pr+=_i.length})}else St.push(new UA(Bn,He.fromDOMRectList(me,xn)))}else{var Zr=ye.splitText(Bn.length);St.push(new UA(Bn,Ff(me,ye))),ye=Zr}else gu.SUPPORT_RANGE_BOUNDS||(ye=ye.splitText(Bn.length));Yt+=Bn.length}),St},Ff=function(me,ce){var be=ce.ownerDocument;if(be){var ye=be.createElement("html2canvaswrapper");ye.appendChild(ce.cloneNode(!0));var tt=ce.parentNode;if(tt){tt.replaceChild(ye,ce);var St=Se(me,ye);return ye.firstChild&&tt.replaceChild(ye.firstChild,ye),St}}return He.EMPTY},nf=function(me,ce,be){var ye=me.ownerDocument;if(!ye)throw new Error("Node has no owner document");var tt=ye.createRange();return tt.setStart(me,ce),tt.setEnd(me,ce+be),tt},If=function(me){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ce=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ce.segment(me)).map(function(be){return be.segment})}return kl(me)},Gc=function(me,ce){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var be=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(be.segment(me)).map(function(ye){return ye.segment})}return nh(me,ce)},th=function(me,ce){return ce.letterSpacing!==0?If(me):Gc(me,ce)},Ap=[32,160,4961,65792,65793,4153,4241],nh=function(me,ce){for(var be=fr(me,{lineBreak:ce.lineBreak,wordBreak:ce.overflowWrap==="break-word"?"break-word":ce.wordBreak}),ye=[],tt,St=function(){if(tt.value){var Yt=tt.value.slice(),Bn=fe(Yt),xn="";Bn.forEach(function(xr){Ap.indexOf(xr)===-1?xn+=Ce(xr):(xn.length&&ye.push(xn),ye.push(Ce(xr)),xn="")}),xn.length&&ye.push(xn)}};!(tt=be.next()).done;)St();return ye},rf=function(){function me(ce,be,ye){this.text=cp(be.data,ye.textTransform),this.textBounds=tf(ce,this.text,ye,be)}return me}(),cp=function(me,ce){switch(ce){case 1:return me.toLowerCase();case 3:return me.replace(dp,of);case 2:return me.toUpperCase();default:return me}},dp=/(^|\s|:|-|\(|\))([a-z])/g,of=function(me,ce,be){return me.length>0?ce+be.toUpperCase():me},Lf=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.src=ye.currentSrc||ye.src,tt.intrinsicWidth=ye.naturalWidth,tt.intrinsicHeight=ye.naturalHeight,tt.context.cache.addImage(tt.src),tt}return ce}(il),Od=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.canvas=ye,tt.intrinsicWidth=ye.width,tt.intrinsicHeight=ye.height,tt}return ce}(il),Df=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this,St=new XMLSerializer,Yt=Se(be,ye);return ye.setAttribute("width",Yt.width+"px"),ye.setAttribute("height",Yt.height+"px"),tt.svg="data:image/svg+xml,"+encodeURIComponent(St.serializeToString(ye)),tt.intrinsicWidth=ye.width.baseVal.value,tt.intrinsicHeight=ye.height.baseVal.value,tt.context.cache.addImage(tt.svg),tt}return ce}(il),Pd=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.value=ye.value,tt}return ce}(il),af=function(me){ae(ce,me);function ce(be,ye){var tt=me.call(this,be,ye)||this;return tt.start=ye.start,tt.reversed=typeof ye.reversed=="boolean"&&ye.reversed===!0,tt}return ce}(il),Cc=[{type:15,flags:0,unit:"px",number:3}],rh=[{type:16,flags:0,number:50}],ih=function(me){return me.width>me.height?new He(me.left+(me.width-me.height)/2,me.top,me.height,me.height):me.width0)be.textNodes.push(new rf(me,tt,be.styles));else if(Xc(tt))if(fp(tt)&&tt.assignedNodes)tt.assignedNodes().forEach(function(Bn){return Hu(me,Bn,be,ye)});else{var Yt=zu(me,tt);Yt.styles.isVisible()&&(Vc(tt,Yt,ye)?Yt.flags|=4:Uc(Yt.styles)&&(Yt.flags|=2),mu.indexOf(tt.tagName)!==-1&&(Yt.flags|=8),be.elements.push(Yt),tt.slot,tt.shadowRoot?Hu(me,tt.shadowRoot,Yt,ye):!Nf(tt)&&!Yp(tt)&&!sh(tt)&&Hu(me,tt,Yt,ye))}},zu=function(me,ce){return sf(ce)?new Lf(me,ce):Jp(ce)?new Od(me,ce):Yp(ce)?new Df(me,ce):Xp(ce)?new Pd(me,ce):_h(ce)?new af(me,ce):mg(ce)?new cd(me,ce):sh(ce)?new Oh(me,ce):Nf(ce)?new ds(me,ce):Ec(ce)?new Is(me,ce):new il(me,ce)},dd=function(me,ce){var be=zu(me,ce);return be.flags|=4,Hu(me,ce,be,be),be},Vc=function(me,ce,be){return ce.styles.isPositionedWithZIndex()||ce.styles.opacity<1||ce.styles.isTransformed()||Ml(me)&&be.styles.isTransparent()},Uc=function(me){return me.isPositioned()||me.isFloating()},fd=function(me){return me.nodeType===Node.TEXT_NODE},Xc=function(me){return me.nodeType===Node.ELEMENT_NODE},Ph=function(me){return Xc(me)&&typeof me.style!="undefined"&&!hd(me)},hd=function(me){return typeof me.className=="object"},Xp=function(me){return me.tagName==="LI"},_h=function(me){return me.tagName==="OL"},mg=function(me){return me.tagName==="INPUT"},vg=function(me){return me.tagName==="HTML"},Yp=function(me){return me.tagName==="svg"},Ml=function(me){return me.tagName==="BODY"},Jp=function(me){return me.tagName==="CANVAS"},Th=function(me){return me.tagName==="VIDEO"},sf=function(me){return me.tagName==="IMG"},Ec=function(me){return me.tagName==="IFRAME"},oh=function(me){return me.tagName==="STYLE"},ah=function(me){return me.tagName==="SCRIPT"},Nf=function(me){return me.tagName==="TEXTAREA"},sh=function(me){return me.tagName==="SELECT"},fp=function(me){return me.tagName==="SLOT"},hp=function(me){return me.tagName.indexOf("-")>0},yg=function(){function me(){this.counters={}}return me.prototype.getCounterValue=function(ce){var be=this.counters[ce];return be&&be.length?be[be.length-1]:1},me.prototype.getCounterValues=function(ce){var be=this.counters[ce];return be||[]},me.prototype.pop=function(ce){var be=this;ce.forEach(function(ye){return be.counters[ye].pop()})},me.prototype.parse=function(ce){var be=this,ye=ce.counterIncrement,tt=ce.counterReset,St=!0;ye!==null&&ye.forEach(function(Bn){var xn=be.counters[Bn.counter];xn&&Bn.increment!==0&&(St=!1,xn.length||xn.push(1),xn[Math.max(0,xn.length-1)]+=Bn.increment)});var Yt=[];return St&&tt.forEach(function(Bn){var xn=be.counters[Bn.counter];Yt.push(Bn.counter),xn||(xn=be.counters[Bn.counter]=[]),xn.push(Bn.reset)}),Yt},me}(),pp={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},lh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},qp={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},vl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Td=function(me,ce,be,ye,tt,St){return mebe?ne(me,tt,St.length>0):ye.integers.reduce(function(Yt,Bn,xn){for(;me>=Bn;)me-=Bn,Yt+=ye.values[xn];return Yt},"")+St},wg=function(me,ce,be,ye){var tt="";do be||me--,tt=ye(me)+tt,me/=ce;while(me*ce>=ce);return tt},Ul=function(me,ce,be,ye,tt){var St=be-ce+1;return(me<0?"-":"")+(wg(Math.abs(me),St,ye,function(Yt){return Ce(Math.floor(Yt%St)+ce)})+tt)},kd=function(me,ce,be){be===void 0&&(be=". ");var ye=ce.length;return wg(Math.abs(me),ye,!1,function(tt){return ce[Math.floor(tt%ye)]})+be},Yc=1,pd=2,El=4,uh=8,gd=function(me,ce,be,ye,tt,St){if(me<-9999||me>9999)return ne(me,4,tt.length>0);var Yt=Math.abs(me),Bn=tt;if(Yt===0)return ce[0]+Bn;for(var xn=0;Yt>0&&xn<=4;xn++){var xr=Yt%10;xr===0&&Ko(St,Yc)&&Bn!==""?Bn=ce[xr]+Bn:xr>1||xr===1&&xn===0||xr===1&&xn===1&&Ko(St,pd)||xr===1&&xn===1&&Ko(St,El)&&me>100||xr===1&&xn>1&&Ko(St,uh)?Bn=ce[xr]+(xn>0?be[xn-1]:"")+Bn:xr===1&&xn>0&&(Bn=be[xn-1]+Bn),Yt=Math.floor(Yt/10)}return(me<0?ye:"")+Bn},eg="\u5341\u767E\u5343\u842C",kh="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",b="\uB9C8\uC774\uB108\uC2A4",ne=function(me,ce,be){var ye=be?". ":"",tt=be?"\u3001":"",St=be?", ":"",Yt=be?" ":"";switch(ce){case 0:return"\u2022"+Yt;case 1:return"\u25E6"+Yt;case 2:return"\u25FE"+Yt;case 5:var Bn=Ul(me,48,57,!0,ye);return Bn.length<4?"0"+Bn:Bn;case 4:return kd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tt);case 6:return Td(me,1,3999,pp,3,ye).toLowerCase();case 7:return Td(me,1,3999,pp,3,ye);case 8:return Ul(me,945,969,!1,ye);case 9:return Ul(me,97,122,!1,ye);case 10:return Ul(me,65,90,!1,ye);case 11:return Ul(me,1632,1641,!0,ye);case 12:case 49:return Td(me,1,9999,lh,3,ye);case 35:return Td(me,1,9999,lh,3,ye).toLowerCase();case 13:return Ul(me,2534,2543,!0,ye);case 14:case 30:return Ul(me,6112,6121,!0,ye);case 15:return kd(me,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tt);case 16:return kd(me,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tt);case 17:case 48:return gd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",eg,"\u8CA0",tt,pd|El|uh);case 47:return gd(me,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",kh,"\u8CA0",tt,Yc|pd|El|uh);case 42:return gd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",eg,"\u8D1F",tt,pd|El|uh);case 41:return gd(me,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",kh,"\u8D1F",tt,Yc|pd|El|uh);case 26:return gd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,tt,0);case 25:return gd(me,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,tt,Yc|pd|El);case 31:return gd(me,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",b,St,Yc|pd|El);case 33:return gd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",b,St,0);case 32:return gd(me,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",b,St,Yc|pd|El);case 18:return Ul(me,2406,2415,!0,ye);case 20:return Td(me,1,19999,vl,3,ye);case 21:return Ul(me,2790,2799,!0,ye);case 22:return Ul(me,2662,2671,!0,ye);case 22:return Td(me,1,10999,qp,3,ye);case 23:return kd(me,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return kd(me,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return Ul(me,3302,3311,!0,ye);case 28:return kd(me,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",tt);case 29:return kd(me,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",tt);case 34:return Ul(me,3792,3801,!0,ye);case 37:return Ul(me,6160,6169,!0,ye);case 38:return Ul(me,4160,4169,!0,ye);case 39:return Ul(me,2918,2927,!0,ye);case 40:return Ul(me,1776,1785,!0,ye);case 43:return Ul(me,3046,3055,!0,ye);case 44:return Ul(me,3174,3183,!0,ye);case 45:return Ul(me,3664,3673,!0,ye);case 46:return Ul(me,3872,3881,!0,ye);case 3:default:return Ul(me,48,57,!0,ye)}},te="data-html2canvas-ignore",ue=function(){function me(ce,be,ye){if(this.context=ce,this.options=ye,this.scrolledElements=[],this.referenceElement=be,this.counters=new yg,this.quoteDepth=0,!be.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(be.ownerDocument.documentElement,!1)}return me.prototype.toIFrame=function(ce,be){var ye=this,tt=qe(ce,be);if(!tt.contentWindow)return Promise.reject("Unable to find iframe window");var St=ce.defaultView.pageXOffset,Yt=ce.defaultView.pageYOffset,Bn=tt.contentWindow,xn=Bn.document,xr=Dt(tt).then(function(){return ct(ye,void 0,void 0,function(){var Pr,Zr;return Le(this,function(_i){switch(_i.label){case 0:return this.scrolledElements.forEach(xi),Bn&&(Bn.scrollTo(be.left,be.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Bn.scrollY!==be.top||Bn.scrollX!==be.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Bn.scrollX-be.left,Bn.scrollY-be.top,0,0))),Pr=this.options.onclone,Zr=this.clonedReferenceElement,typeof Zr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:xn.fonts&&xn.fonts.ready?[4,xn.fonts.ready]:[3,2];case 1:_i.sent(),_i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Et(xn)]:[3,4];case 3:_i.sent(),_i.label=4;case 4:return typeof Pr=="function"?[2,Promise.resolve().then(function(){return Pr(xn,Zr)}).then(function(){return tt})]:[2,tt]}})})});return xn.open(),xn.write(Tr(document.doctype)+""),Er(this.referenceElement.ownerDocument,St,Yt),xn.replaceChild(xn.adoptNode(this.documentElement),xn.documentElement),xn.close(),xr},me.prototype.createElementClone=function(ce){if(rs(ce,2))debugger;if(Jp(ce))return this.createCanvasClone(ce);if(Th(ce))return this.createVideoClone(ce);if(oh(ce))return this.createStyleClone(ce);var be=ce.cloneNode(!1);return sf(be)&&(sf(ce)&&ce.currentSrc&&ce.currentSrc!==ce.src&&(be.src=ce.currentSrc,be.srcset=""),be.loading==="lazy"&&(be.loading="eager")),hp(be)?this.createCustomElementClone(be):be},me.prototype.createCustomElementClone=function(ce){var be=document.createElement("html2canvascustomelement");return Qn(ce.style,be),be},me.prototype.createStyleClone=function(ce){try{var be=ce.sheet;if(be&&be.cssRules){var ye=[].slice.call(be.cssRules,0).reduce(function(St,Yt){return Yt&&typeof Yt.cssText=="string"?St+Yt.cssText:St},""),tt=ce.cloneNode(!1);return tt.textContent=ye,tt}}catch(St){if(this.context.logger.error("Unable to access cssRules property",St),St.name!=="SecurityError")throw St}return ce.cloneNode(!1)},me.prototype.createCanvasClone=function(ce){var be;if(this.options.inlineImages&&ce.ownerDocument){var ye=ce.ownerDocument.createElement("img");try{return ye.src=ce.toDataURL(),ye}catch(xr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ce)}}var tt=ce.cloneNode(!1);try{tt.width=ce.width,tt.height=ce.height;var St=ce.getContext("2d"),Yt=tt.getContext("2d");if(Yt)if(!this.options.allowTaint&&St)Yt.putImageData(St.getImageData(0,0,ce.width,ce.height),0,0);else{var Bn=(be=ce.getContext("webgl2"))!==null&&be!==void 0?be:ce.getContext("webgl");if(Bn){var xn=Bn.getContextAttributes();(xn==null?void 0:xn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ce)}Yt.drawImage(ce,0,0)}return tt}catch(xr){this.context.logger.info("Unable to clone canvas as it is tainted",ce)}return tt},me.prototype.createVideoClone=function(ce){var be=ce.ownerDocument.createElement("canvas");be.width=ce.offsetWidth,be.height=ce.offsetHeight;var ye=be.getContext("2d");try{return ye&&(ye.drawImage(ce,0,0,be.width,be.height),this.options.allowTaint||ye.getImageData(0,0,be.width,be.height)),be}catch(St){this.context.logger.info("Unable to clone video as it is tainted",ce)}var tt=ce.ownerDocument.createElement("canvas");return tt.width=ce.offsetWidth,tt.height=ce.offsetHeight,tt},me.prototype.appendChildNode=function(ce,be,ye){(!Xc(be)||!ah(be)&&!be.hasAttribute(te)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(be)))&&(!this.options.copyStyles||!Xc(be)||!oh(be))&&ce.appendChild(this.cloneNode(be,ye))},me.prototype.cloneChildNodes=function(ce,be,ye){for(var tt=this,St=ce.shadowRoot?ce.shadowRoot.firstChild:ce.firstChild;St;St=St.nextSibling)if(Xc(St)&&fp(St)&&typeof St.assignedNodes=="function"){var Yt=St.assignedNodes();Yt.length&&Yt.forEach(function(Bn){return tt.appendChildNode(be,Bn,ye)})}else this.appendChildNode(be,St,ye)},me.prototype.cloneNode=function(ce,be){if(fd(ce))return document.createTextNode(ce.data);if(!ce.ownerDocument)return ce.cloneNode(!1);var ye=ce.ownerDocument.defaultView;if(ye&&Xc(ce)&&(Ph(ce)||hd(ce))){var tt=this.createElementClone(ce);tt.style.transitionProperty="none";var St=ye.getComputedStyle(ce),Yt=ye.getComputedStyle(ce,":before"),Bn=ye.getComputedStyle(ce,":after");this.referenceElement===ce&&Ph(tt)&&(this.clonedReferenceElement=tt),Ml(tt)&&ca(tt);var xn=this.counters.parse(new ol(this.context,St)),xr=this.resolvePseudoContent(ce,tt,Yt,De.BEFORE);hp(ce)&&(be=!0),Th(ce)||this.cloneChildNodes(ce,tt,be),xr&&tt.insertBefore(xr,tt.firstChild);var Pr=this.resolvePseudoContent(ce,tt,Bn,De.AFTER);return Pr&&tt.appendChild(Pr),this.counters.pop(xn),(St&&(this.options.copyStyles||hd(ce))&&!Ec(ce)||be)&&Qn(St,tt),(ce.scrollTop!==0||ce.scrollLeft!==0)&&this.scrolledElements.push([tt,ce.scrollLeft,ce.scrollTop]),(Nf(ce)||sh(ce))&&(Nf(tt)||sh(tt))&&(tt.value=ce.value),tt}return ce.cloneNode(!1)},me.prototype.resolvePseudoContent=function(ce,be,ye,tt){var St=this;if(ye){var Yt=ye.content,Bn=be.ownerDocument;if(!(!Bn||!Yt||Yt==="none"||Yt==="-moz-alt-content"||ye.display==="none")){this.counters.parse(new ol(this.context,ye));var xn=new xl(this.context,ye),xr=Bn.createElement("html2canvaspseudoelement");Qn(ye,xr),xn.content.forEach(function(Zr){if(Zr.type===0)xr.appendChild(Bn.createTextNode(Zr.value));else if(Zr.type===22){var _i=Bn.createElement("img");_i.src=Zr.value,_i.style.opacity="1",xr.appendChild(_i)}else if(Zr.type===18){if(Zr.name==="attr"){var ha=Zr.values.filter(Ha);ha.length&&xr.appendChild(Bn.createTextNode(ce.getAttribute(ha[0].value)||""))}else if(Zr.name==="counter"){var po=Zr.values.filter(na),Wo=po[0],ls=po[1];if(Wo&&Ha(Wo)){var ba=St.counters.getCounterValue(Wo.value),ya=ls&&Ha(ls)?ld.parse(St.context,ls.value):3;xr.appendChild(Bn.createTextNode(ne(ba,ya,!1)))}}else if(Zr.name==="counters"){var es=Zr.values.filter(na),Wo=es[0],ys=es[1],ls=es[2];if(Wo&&Ha(Wo)){var $a=St.counters.getCounterValues(Wo.value),oa=ls&&Ha(ls)?ld.parse(St.context,ls.value):3,Ys=ys&&ys.type===0?ys.value:"",Ps=$a.map(function(Ic){return ne(Ic,oa,!1)}).join(Ys);xr.appendChild(Bn.createTextNode(Ps))}}}else if(Zr.type===20)switch(Zr.value){case"open-quote":xr.appendChild(Bn.createTextNode($o(xn.quotes,St.quoteDepth++,!0)));break;case"close-quote":xr.appendChild(Bn.createTextNode($o(xn.quotes,--St.quoteDepth,!1)));break;default:xr.appendChild(Bn.createTextNode(Zr.value))}}),xr.className=Fo+" "+Zo;var Pr=tt===De.BEFORE?" "+Fo:" "+Zo;return hd(be)?be.className.baseValue+=Pr:be.className+=Pr,xr}}},me.destroy=function(ce){return ce.parentNode?(ce.parentNode.removeChild(ce),!0):!1},me}(),De;(function(me){me[me.BEFORE=0]="BEFORE",me[me.AFTER=1]="AFTER"})(De||(De={}));var qe=function(me,ce){var be=me.createElement("iframe");return be.className="html2canvas-container",be.style.visibility="hidden",be.style.position="fixed",be.style.left="-10000px",be.style.top="0px",be.style.border="0",be.width=ce.width.toString(),be.height=ce.height.toString(),be.scrolling="no",be.setAttribute(te,"true"),me.body.appendChild(be),be},mt=function(me){return new Promise(function(ce){if(me.complete){ce();return}if(!me.src){ce();return}me.onload=ce,me.onerror=ce})},Et=function(me){return Promise.all([].slice.call(me.images,0).map(mt))},Dt=function(me){return new Promise(function(ce,be){var ye=me.contentWindow;if(!ye)return be("No window assigned for iframe");var tt=ye.document;ye.onload=me.onload=function(){ye.onload=me.onload=null;var St=setInterval(function(){tt.body.childNodes.length>0&&tt.readyState==="complete"&&(clearInterval(St),ce(me))},50)}})},Ln=["all","d","content"],Qn=function(me,ce){for(var be=me.length-1;be>=0;be--){var ye=me.item(be);Ln.indexOf(ye)===-1&&ce.style.setProperty(ye,me.getPropertyValue(ye))}return ce},Tr=function(me){var ce="";return me&&(ce+=""),ce},Er=function(me,ce,be){me&&me.defaultView&&(ce!==me.defaultView.pageXOffset||be!==me.defaultView.pageYOffset)&&me.defaultView.scrollTo(ce,be)},xi=function(me){var ce=me[0],be=me[1],ye=me[2];ce.scrollLeft=be,ce.scrollTop=ye},Wi=":before",uo=":after",Fo="___html2canvas___pseudoelement_before",Zo="___html2canvas___pseudoelement_after",Io=`{ content: "" !important; display: none !important; }`,ca=function(me){_a(me,"."+Fo+Wi+Io+` .`+Zo+uo+Io)},_a=function(me,ce){var be=me.ownerDocument;if(be){var ye=be.createElement("style");ye.textContent=ce,me.appendChild(ye)}},Ba=function(){function me(){}return me.getOrigin=function(ce){var be=me._link;return be?(be.href=ce,be.href=be.href,be.protocol+be.hostname+be.port):"about:blank"},me.isSameOrigin=function(ce){return me.getOrigin(ce)===me._origin},me.setContext=function(ce){me._link=ce.document.createElement("a"),me._origin=me.getOrigin(ce.location.href)},me._origin="about:blank",me}(),Ra=function(){function me(ce,be){this.context=ce,this._options=be,this._cache={}}return me.prototype.addImage=function(ce){var be=Promise.resolve();return this.has(ce)||(wA(ce)||yA(ce))&&(this._cache[ce]=this.loadImage(ce)).catch(function(){}),be},me.prototype.match=function(ce){return this._cache[ce]},me.prototype.loadImage=function(ce){return ct(this,void 0,void 0,function(){var be,ye,tt,St,Yt=this;return Le(this,function(Bn){switch(Bn.label){case 0:return be=Ba.isSameOrigin(ce),ye=!Yu(ce)&&this._options.useCORS===!0&&gu.SUPPORT_CORS_IMAGES&&!be,tt=!Yu(ce)&&!be&&!wA(ce)&&typeof this._options.proxy=="string"&&gu.SUPPORT_CORS_XHR&&!ye,!be&&this._options.allowTaint===!1&&!Yu(ce)&&!wA(ce)&&!tt&&!ye?[2]:(St=ce,tt?[4,this.proxy(St)]:[3,2]);case 1:St=Bn.sent(),Bn.label=2;case 2:return this.context.logger.debug("Added image "+ce.substring(0,256)),[4,new Promise(function(xn,xr){var Pr=new Image;Pr.onload=function(){return xn(Pr)},Pr.onerror=xr,(Tu(St)||ye)&&(Pr.crossOrigin="anonymous"),Pr.src=St,Pr.complete===!0&&setTimeout(function(){return xn(Pr)},500),Yt._options.imageTimeout>0&&setTimeout(function(){return xr("Timed out ("+Yt._options.imageTimeout+"ms) loading image")},Yt._options.imageTimeout)})];case 3:return[2,Bn.sent()]}})})},me.prototype.has=function(ce){return typeof this._cache[ce]!="undefined"},me.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},me.prototype.proxy=function(ce){var be=this,ye=this._options.proxy;if(!ye)throw new Error("No proxy defined");var tt=ce.substring(0,256);return new Promise(function(St,Yt){var Bn=gu.SUPPORT_RESPONSE_TYPE?"blob":"text",xn=new XMLHttpRequest;xn.onload=function(){if(xn.status===200)if(Bn==="text")St(xn.response);else{var Zr=new FileReader;Zr.addEventListener("load",function(){return St(Zr.result)},!1),Zr.addEventListener("error",function(_i){return Yt(_i)},!1),Zr.readAsDataURL(xn.response)}else Yt("Failed to proxy resource "+tt+" with status code "+xn.status)},xn.onerror=Yt;var xr=ye.indexOf("?")>-1?"&":"?";if(xn.open("GET",""+ye+xr+"url="+encodeURIComponent(ce)+"&responseType="+Bn),Bn!=="text"&&xn instanceof XMLHttpRequest&&(xn.responseType=Bn),be._options.imageTimeout){var Pr=be._options.imageTimeout;xn.timeout=Pr,xn.ontimeout=function(){return Yt("Timed out ("+Pr+"ms) proxying "+tt)}}xn.send()})},me}(),Sl=/^data:image\/svg\+xml/i,Ku=/^data:image\/.*;base64,/i,ql=/^data:image\/.*/i,yA=function(me){return gu.SUPPORT_SVG_DRAWING||!sA(me)},Yu=function(me){return ql.test(me)},Tu=function(me){return Ku.test(me)},wA=function(me){return me.substr(0,4)==="blob"},sA=function(me){return me.substr(-3).toLowerCase()==="svg"||Sl.test(me)},Eo=function(){function me(ce,be){this.type=0,this.x=ce,this.y=be}return me.prototype.add=function(ce,be){return new me(this.x+ce,this.y+be)},me}(),Rl=function(me,ce,be){return new Eo(me.x+(ce.x-me.x)*be,me.y+(ce.y-me.y)*be)},eu=function(){function me(ce,be,ye,tt){this.type=1,this.start=ce,this.startControl=be,this.endControl=ye,this.end=tt}return me.prototype.subdivide=function(ce,be){var ye=Rl(this.start,this.startControl,ce),tt=Rl(this.startControl,this.endControl,ce),St=Rl(this.endControl,this.end,ce),Yt=Rl(ye,tt,ce),Bn=Rl(tt,St,ce),xn=Rl(Yt,Bn,ce);return be?new me(this.start,ye,Yt,xn):new me(xn,Bn,St,this.end)},me.prototype.add=function(ce,be){return new me(this.start.add(ce,be),this.startControl.add(ce,be),this.endControl.add(ce,be),this.end.add(ce,be))},me.prototype.reverse=function(){return new me(this.end,this.endControl,this.startControl,this.start)},me}(),tu=function(me){return me.type===1},Of=function(){function me(ce){var be=ce.styles,ye=ce.bounds,tt=xu(be.borderTopLeftRadius,ye.width,ye.height),St=tt[0],Yt=tt[1],Bn=xu(be.borderTopRightRadius,ye.width,ye.height),xn=Bn[0],xr=Bn[1],Pr=xu(be.borderBottomRightRadius,ye.width,ye.height),Zr=Pr[0],_i=Pr[1],ha=xu(be.borderBottomLeftRadius,ye.width,ye.height),po=ha[0],Wo=ha[1],ls=[];ls.push((St+xn)/ye.width),ls.push((po+Zr)/ye.width),ls.push((Yt+Wo)/ye.height),ls.push((xr+_i)/ye.height);var ba=Math.max.apply(Math,ls);ba>1&&(St/=ba,Yt/=ba,xn/=ba,xr/=ba,Zr/=ba,_i/=ba,po/=ba,Wo/=ba);var ya=ye.width-xn,es=ye.height-_i,ys=ye.width-Zr,$a=ye.height-Wo,oa=be.borderTopWidth,Ys=be.borderRightWidth,Ps=be.borderBottomWidth,ts=be.borderLeftWidth,Ro=sa(be.paddingTop,ce.bounds.width),Ic=sa(be.paddingRight,ce.bounds.width),jc=sa(be.paddingBottom,ce.bounds.width),jl=sa(be.paddingLeft,ce.bounds.width);this.topLeftBorderDoubleOuterBox=St>0||Yt>0?Cs(ye.left+ts/3,ye.top+oa/3,St-ts/3,Yt-oa/3,Ws.TOP_LEFT):new Eo(ye.left+ts/3,ye.top+oa/3),this.topRightBorderDoubleOuterBox=St>0||Yt>0?Cs(ye.left+ya,ye.top+oa/3,xn-Ys/3,xr-oa/3,Ws.TOP_RIGHT):new Eo(ye.left+ye.width-Ys/3,ye.top+oa/3),this.bottomRightBorderDoubleOuterBox=Zr>0||_i>0?Cs(ye.left+ys,ye.top+es,Zr-Ys/3,_i-Ps/3,Ws.BOTTOM_RIGHT):new Eo(ye.left+ye.width-Ys/3,ye.top+ye.height-Ps/3),this.bottomLeftBorderDoubleOuterBox=po>0||Wo>0?Cs(ye.left+ts/3,ye.top+$a,po-ts/3,Wo-Ps/3,Ws.BOTTOM_LEFT):new Eo(ye.left+ts/3,ye.top+ye.height-Ps/3),this.topLeftBorderDoubleInnerBox=St>0||Yt>0?Cs(ye.left+ts*2/3,ye.top+oa*2/3,St-ts*2/3,Yt-oa*2/3,Ws.TOP_LEFT):new Eo(ye.left+ts*2/3,ye.top+oa*2/3),this.topRightBorderDoubleInnerBox=St>0||Yt>0?Cs(ye.left+ya,ye.top+oa*2/3,xn-Ys*2/3,xr-oa*2/3,Ws.TOP_RIGHT):new Eo(ye.left+ye.width-Ys*2/3,ye.top+oa*2/3),this.bottomRightBorderDoubleInnerBox=Zr>0||_i>0?Cs(ye.left+ys,ye.top+es,Zr-Ys*2/3,_i-Ps*2/3,Ws.BOTTOM_RIGHT):new Eo(ye.left+ye.width-Ys*2/3,ye.top+ye.height-Ps*2/3),this.bottomLeftBorderDoubleInnerBox=po>0||Wo>0?Cs(ye.left+ts*2/3,ye.top+$a,po-ts*2/3,Wo-Ps*2/3,Ws.BOTTOM_LEFT):new Eo(ye.left+ts*2/3,ye.top+ye.height-Ps*2/3),this.topLeftBorderStroke=St>0||Yt>0?Cs(ye.left+ts/2,ye.top+oa/2,St-ts/2,Yt-oa/2,Ws.TOP_LEFT):new Eo(ye.left+ts/2,ye.top+oa/2),this.topRightBorderStroke=St>0||Yt>0?Cs(ye.left+ya,ye.top+oa/2,xn-Ys/2,xr-oa/2,Ws.TOP_RIGHT):new Eo(ye.left+ye.width-Ys/2,ye.top+oa/2),this.bottomRightBorderStroke=Zr>0||_i>0?Cs(ye.left+ys,ye.top+es,Zr-Ys/2,_i-Ps/2,Ws.BOTTOM_RIGHT):new Eo(ye.left+ye.width-Ys/2,ye.top+ye.height-Ps/2),this.bottomLeftBorderStroke=po>0||Wo>0?Cs(ye.left+ts/2,ye.top+$a,po-ts/2,Wo-Ps/2,Ws.BOTTOM_LEFT):new Eo(ye.left+ts/2,ye.top+ye.height-Ps/2),this.topLeftBorderBox=St>0||Yt>0?Cs(ye.left,ye.top,St,Yt,Ws.TOP_LEFT):new Eo(ye.left,ye.top),this.topRightBorderBox=xn>0||xr>0?Cs(ye.left+ya,ye.top,xn,xr,Ws.TOP_RIGHT):new Eo(ye.left+ye.width,ye.top),this.bottomRightBorderBox=Zr>0||_i>0?Cs(ye.left+ys,ye.top+es,Zr,_i,Ws.BOTTOM_RIGHT):new Eo(ye.left+ye.width,ye.top+ye.height),this.bottomLeftBorderBox=po>0||Wo>0?Cs(ye.left,ye.top+$a,po,Wo,Ws.BOTTOM_LEFT):new Eo(ye.left,ye.top+ye.height),this.topLeftPaddingBox=St>0||Yt>0?Cs(ye.left+ts,ye.top+oa,Math.max(0,St-ts),Math.max(0,Yt-oa),Ws.TOP_LEFT):new Eo(ye.left+ts,ye.top+oa),this.topRightPaddingBox=xn>0||xr>0?Cs(ye.left+Math.min(ya,ye.width-Ys),ye.top+oa,ya>ye.width+Ys?0:Math.max(0,xn-Ys),Math.max(0,xr-oa),Ws.TOP_RIGHT):new Eo(ye.left+ye.width-Ys,ye.top+oa),this.bottomRightPaddingBox=Zr>0||_i>0?Cs(ye.left+Math.min(ys,ye.width-ts),ye.top+Math.min(es,ye.height-Ps),Math.max(0,Zr-Ys),Math.max(0,_i-Ps),Ws.BOTTOM_RIGHT):new Eo(ye.left+ye.width-Ys,ye.top+ye.height-Ps),this.bottomLeftPaddingBox=po>0||Wo>0?Cs(ye.left+ts,ye.top+Math.min($a,ye.height-Ps),Math.max(0,po-ts),Math.max(0,Wo-Ps),Ws.BOTTOM_LEFT):new Eo(ye.left+ts,ye.top+ye.height-Ps),this.topLeftContentBox=St>0||Yt>0?Cs(ye.left+ts+jl,ye.top+oa+Ro,Math.max(0,St-(ts+jl)),Math.max(0,Yt-(oa+Ro)),Ws.TOP_LEFT):new Eo(ye.left+ts+jl,ye.top+oa+Ro),this.topRightContentBox=xn>0||xr>0?Cs(ye.left+Math.min(ya,ye.width+ts+jl),ye.top+oa+Ro,ya>ye.width+ts+jl?0:xn-ts+jl,xr-(oa+Ro),Ws.TOP_RIGHT):new Eo(ye.left+ye.width-(Ys+Ic),ye.top+oa+Ro),this.bottomRightContentBox=Zr>0||_i>0?Cs(ye.left+Math.min(ys,ye.width-(ts+jl)),ye.top+Math.min(es,ye.height+oa+Ro),Math.max(0,Zr-(Ys+Ic)),_i-(Ps+jc),Ws.BOTTOM_RIGHT):new Eo(ye.left+ye.width-(Ys+Ic),ye.top+ye.height-(Ps+jc)),this.bottomLeftContentBox=po>0||Wo>0?Cs(ye.left+ts+jl,ye.top+$a,Math.max(0,po-(ts+jl)),Wo-(Ps+jc),Ws.BOTTOM_LEFT):new Eo(ye.left+ts+jl,ye.top+ye.height-(Ps+jc))}return me}(),Ws;(function(me){me[me.TOP_LEFT=0]="TOP_LEFT",me[me.TOP_RIGHT=1]="TOP_RIGHT",me[me.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",me[me.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ws||(Ws={}));var Cs=function(me,ce,be,ye,tt){var St=4*((Math.sqrt(2)-1)/3),Yt=be*St,Bn=ye*St,xn=me+be,xr=ce+ye;switch(tt){case Ws.TOP_LEFT:return new eu(new Eo(me,xr),new Eo(me,xr-Bn),new Eo(xn-Yt,ce),new Eo(xn,ce));case Ws.TOP_RIGHT:return new eu(new Eo(me,ce),new Eo(me+Yt,ce),new Eo(xn,xr-Bn),new Eo(xn,xr));case Ws.BOTTOM_RIGHT:return new eu(new Eo(xn,ce),new Eo(xn,ce+Bn),new Eo(me+Yt,xr),new Eo(me,xr));case Ws.BOTTOM_LEFT:default:return new eu(new Eo(xn,xr),new Eo(xn-Yt,xr),new Eo(me,ce+Bn),new Eo(me,ce))}},oc=function(me){return[me.topLeftBorderBox,me.topRightBorderBox,me.bottomRightBorderBox,me.bottomLeftBorderBox]},lA=function(me){return[me.topLeftContentBox,me.topRightContentBox,me.bottomRightContentBox,me.bottomLeftContentBox]},Ah=function(me){return[me.topLeftPaddingBox,me.topRightPaddingBox,me.bottomRightPaddingBox,me.bottomLeftPaddingBox]},ka=function(){function me(ce,be,ye){this.offsetX=ce,this.offsetY=be,this.matrix=ye,this.type=0,this.target=6}return me}(),Sc=function(){function me(ce,be){this.path=ce,this.target=be,this.type=1}return me}(),cl=function(){function me(ce){this.opacity=ce,this.type=2,this.target=6}return me}(),uA=function(me){return me.type===0},Md=function(me){return me.type===1},Pf=function(me){return me.type===2},_f=function(me,ce){return me.length===ce.length?me.some(function(be,ye){return be===ce[ye]}):!1},qg=function(me,ce,be,ye,tt){return me.map(function(St,Yt){switch(Yt){case 0:return St.add(ce,be);case 1:return St.add(ce+ye,be);case 2:return St.add(ce+ye,be+tt);case 3:return St.add(ce,be+tt)}return St})},gp=function(){function me(ce){this.element=ce,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return me}(),bg=function(){function me(ce,be){if(this.container=ce,this.parent=be,this.effects=[],this.curves=new Of(this.container),this.container.styles.opacity<1&&this.effects.push(new cl(this.container.styles.opacity)),this.container.styles.transform!==null){var ye=this.container.bounds.left+this.container.styles.transformOrigin[0].number,tt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,St=this.container.styles.transform;this.effects.push(new ka(ye,tt,St))}if(this.container.styles.overflowX!==0){var Yt=oc(this.curves),Bn=Ah(this.curves);_f(Yt,Bn)?this.effects.push(new Sc(Yt,6)):(this.effects.push(new Sc(Yt,2)),this.effects.push(new Sc(Bn,4)))}}return me.prototype.getEffects=function(ce){for(var be=[2,3].indexOf(this.container.styles.position)===-1,ye=this.parent,tt=this.effects.slice(0);ye;){var St=ye.effects.filter(function(xn){return!Md(xn)});if(be||ye.container.styles.position!==0||!ye.parent){if(tt.unshift.apply(tt,St),be=[2,3].indexOf(ye.container.styles.position)===-1,ye.container.styles.overflowX!==0){var Yt=oc(ye.curves),Bn=Ah(ye.curves);_f(Yt,Bn)||tt.unshift(new Sc(Bn,6))}}else tt.unshift.apply(tt,St);ye=ye.parent}return tt.filter(function(xn){return Ko(xn.target,ce)})},me}(),mp=function(me,ce,be,ye){me.container.elements.forEach(function(tt){var St=Ko(tt.flags,4),Yt=Ko(tt.flags,2),Bn=new bg(tt,me);Ko(tt.styles.display,2048)&&ye.push(Bn);var xn=Ko(tt.flags,8)?[]:ye;if(St||Yt){var xr=St||tt.styles.isPositioned()?be:ce,Pr=new gp(Bn);if(tt.styles.isPositioned()||tt.styles.opacity<1||tt.styles.isTransformed()){var Zr=tt.styles.zIndex.order;if(Zr<0){var _i=0;xr.negativeZIndex.some(function(po,Wo){return Zr>po.element.container.styles.zIndex.order?(_i=Wo,!1):_i>0}),xr.negativeZIndex.splice(_i,0,Pr)}else if(Zr>0){var ha=0;xr.positiveZIndex.some(function(po,Wo){return Zr>=po.element.container.styles.zIndex.order?(ha=Wo+1,!1):ha>0}),xr.positiveZIndex.splice(ha,0,Pr)}else xr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Pr)}else tt.styles.isFloating()?xr.nonPositionedFloats.push(Pr):xr.nonPositionedInlineLevel.push(Pr);mp(Bn,Pr,St?Pr:be,xn)}else tt.styles.isInlineLevel()?ce.inlineLevel.push(Bn):ce.nonInlineLevel.push(Bn),mp(Bn,ce,be,xn);Ko(tt.flags,8)&&vp(tt,xn)})},vp=function(me,ce){for(var be=me instanceof af?me.start:1,ye=me instanceof af?me.reversed:!1,tt=0;tt0&&be.intrinsicHeight>0){var St=ng(be),Yt=Ah(ye);this.path(Yt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(tt,0,0,be.intrinsicWidth,be.intrinsicHeight,St.left,St.top,St.width,St.height),this.ctx.restore()}},ce.prototype.renderNodeContent=function(be){return ct(this,void 0,void 0,function(){var ye,tt,St,Yt,Bn,xn,ya,ya,xr,Pr,Zr,_i,ys,ha,po,$a,Wo,ls,ba,ya,es,ys,$a;return Le(this,function(oa){switch(oa.label){case 0:this.applyEffects(be.getEffects(4)),ye=be.container,tt=be.curves,St=ye.styles,Yt=0,Bn=ye.textNodes,oa.label=1;case 1:return Yt0&&DA>0&&(Ps=St.ctx.createPattern($a,"repeat"),St.renderRepeat(Ro,Ps,ec,ac))):Ih(Pr)&&(ts=Ud(be,ye,[null,null,null]),Ro=ts[0],Ic=ts[1],jc=ts[2],jl=ts[3],DA=ts[4],lf=Pr.position.length===0?[Kc]:Pr.position,ec=sa(lf[0],jl),ac=sa(lf[lf.length-1],DA),dh=nc(Pr,ec,ac,jl,DA),Jc=dh[0],uf=dh[1],Jc>0&&uf>0&&(fh=St.ctx.createRadialGradient(Ic+ec,jc+ac,0,Ic+ec,jc+ac,Jc),WA(Pr.stops,Jc*2).forEach(function(Qf){return fh.addColorStop(Qf.stop,$l(Qf.color))}),St.path(Ro),St.ctx.fillStyle=fh,Jc!==uf?(Rf=be.bounds.left+.5*be.bounds.width,jd=be.bounds.top+.5*be.bounds.height,jf=uf/Jc,Af=1/jf,St.ctx.save(),St.ctx.translate(Rf,jd),St.ctx.transform(1,0,0,jf,0,0),St.ctx.translate(-Rf,-jd),St.ctx.fillRect(Ic,Af*(jc-jd)+jd,jl,DA*Af),St.ctx.restore()):St.ctx.fill())),Rh.label=6;case 6:return ye--,[2]}})},St=this,Yt=0,Bn=be.styles.backgroundImage.slice(0).reverse(),xr.label=1;case 1:return Yt0?Pr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Pr.color,Pr.width,Bn,be.curves,2)]:[3,11]):[3,13];case 4:return _i.sent(),[3,11];case 5:return Pr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Pr.color,Pr.width,Bn,be.curves,3)];case 6:return _i.sent(),[3,11];case 7:return Pr.style!==4?[3,9]:[4,this.renderDoubleBorder(Pr.color,Pr.width,Bn,be.curves)];case 8:return _i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Pr.color,Bn,be.curves)];case 10:_i.sent(),_i.label=11;case 11:Bn++,_i.label=12;case 12:return xn++,[3,3];case 13:return[2]}})})},ce.prototype.renderDashedDottedBorder=function(be,ye,tt,St,Yt){return ct(this,void 0,void 0,function(){var Bn,xn,xr,Pr,Zr,_i,ha,po,Wo,ls,ba,ya,es,ys,$a,oa,$a,oa;return Le(this,function(Ys){return this.ctx.save(),Bn=em(St,tt),xn=RA(St,tt),Yt===2&&(this.path(xn),this.ctx.clip()),tu(xn[0])?(xr=xn[0].start.x,Pr=xn[0].start.y):(xr=xn[0].x,Pr=xn[0].y),tu(xn[1])?(Zr=xn[1].end.x,_i=xn[1].end.y):(Zr=xn[1].x,_i=xn[1].y),tt===0||tt===2?ha=Math.abs(xr-Zr):ha=Math.abs(Pr-_i),this.ctx.beginPath(),Yt===3?this.formatPath(Bn):this.formatPath(xn.slice(0,2)),po=ye<3?ye*3:ye*2,Wo=ye<3?ye*2:ye,Yt===3&&(po=ye,Wo=ye),ls=!0,ha<=po*2?ls=!1:ha<=po*2+Wo?(ba=ha/(2*po+Wo),po*=ba,Wo*=ba):(ya=Math.floor((ha+Wo)/(po+Wo)),es=(ha-ya*po)/(ya-1),ys=(ha-(ya+1)*po)/ya,Wo=ys<=0||Math.abs(Wo-es)yt){var Ze=Ft;Ft=yt,yt=Ze}}else if(bt==="l"||bt==="landscape"){if(bt="l",yt>Ft){var Ze=Ft;Ft=yt,yt=Ze}}else throw"Invalid orientation: "+bt;var Te={width:Ft,height:yt,unit:je,k:ot};return Te},Ce.default=lt.jsPDF},"./src/plugin/pagebreaks.js":function(fe,Ce,oe){"use strict";oe.r(Ce);var Oe=oe("./node_modules/core-js/modules/es.array.concat.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.array.slice.js"),Ie=oe.n(Me),_e=oe("./node_modules/core-js/modules/es.array.join.js"),we=oe.n(_e),xe=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ee=oe.n(xe),ke=oe("./node_modules/core-js/modules/es.object.keys.js"),ze=oe.n(ke),Qe=oe("./src/worker.js"),Re=oe("./src/utils.js"),et={toContainer:Qe.default.prototype.toContainer};Qe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},Qe.default.prototype.toContainer=function(){return et.toContainer.call(this).then(function(){var it=this.prop.container,ft=this.prop.pageSize.inner.px.height,bt=[].concat(this.opt.pagebreak.mode),je={avoidAll:bt.indexOf("avoid-all")!==-1,css:bt.indexOf("css")!==-1,legacy:bt.indexOf("legacy")!==-1},ht={},Ne=this;["before","after","avoid"].forEach(function(ot){var yt=je.avoidAll&&ot==="avoid";ht[ot]=yt?[]:[].concat(Ne.opt.pagebreak[ot]||[]),ht[ot].length>0&&(ht[ot]=Array.prototype.slice.call(it.querySelectorAll(ht[ot].join(", "))))});var We=it.querySelectorAll(".html2pdf__page-break");We=Array.prototype.slice.call(We);var Ut=it.querySelectorAll("*");Array.prototype.forEach.call(Ut,function(yt){var Ft={before:!1,after:je.legacy&&We.indexOf(yt)!==-1,avoid:je.avoidAll};if(je.css){var Ze=window.getComputedStyle(yt),Te=["always","page","left","right"],At=["avoid","avoid-page"];Ft={before:Ft.before||Te.indexOf(Ze.breakBefore||Ze.pageBreakBefore)!==-1,after:Ft.after||Te.indexOf(Ze.breakAfter||Ze.pageBreakAfter)!==-1,avoid:Ft.avoid||At.indexOf(Ze.breakInside||Ze.pageBreakInside)!==-1}}Object.keys(Ft).forEach(function(pn){Ft[pn]=Ft[pn]||ht[pn].indexOf(yt)!==-1});var Zt=yt.getBoundingClientRect();if(Ft.avoid&&!Ft.before){var Kt=Math.floor(Zt.top/ft),rt=Math.floor(Zt.bottom/ft),Nt=Math.abs(Zt.bottom-Zt.top)/ft;rt!==Kt&&Nt<=1&&(Ft.before=!0)}if(Ft.before){var Qt=(0,Re.createElement)("div",{style:{display:"block",height:ft-Zt.top%ft+"px"}});yt.parentNode.insertBefore(Qt,yt)}if(Ft.after){var Qt=(0,Re.createElement)("div",{style:{display:"block",height:ft-Zt.bottom%ft+"px"}});yt.parentNode.insertBefore(Qt,yt.nextSibling)}})})}},"./src/utils.js":function(fe,Ce,oe){"use strict";oe.r(Ce),oe.d(Ce,{objType:function(){return bt},createElement:function(){return je},cloneNode:function(){return ht},unitConvert:function(){return Ne},toPx:function(){return We}});var Oe=oe("./node_modules/core-js/modules/es.number.constructor.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.symbol.js"),Ie=oe.n(Me),_e=oe("./node_modules/core-js/modules/es.symbol.description.js"),we=oe.n(_e),xe=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ee=oe.n(xe),ke=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),ze=oe.n(ke),Qe=oe("./node_modules/core-js/modules/es.array.iterator.js"),Re=oe.n(Qe),et=oe("./node_modules/core-js/modules/es.string.iterator.js"),Ge=oe.n(et),lt=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),it=oe.n(lt);function ft(Ut){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ft=function(yt){return typeof yt}:ft=function(yt){return yt&&typeof Symbol=="function"&&yt.constructor===Symbol&&yt!==Symbol.prototype?"symbol":typeof yt},ft(Ut)}var bt=function(ot){var yt=ft(ot);return yt==="undefined"?"undefined":yt==="string"||ot instanceof String?"string":yt==="number"||ot instanceof Number?"number":yt==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":yt==="object"?"object":"unknown"},je=function(ot,yt){var Ft=document.createElement(ot);if(yt.className&&(Ft.className=yt.className),yt.innerHTML){Ft.innerHTML=yt.innerHTML;for(var Ze=Ft.getElementsByTagName("script"),Te=Ze.length;Te-- >0;null)Ze[Te].parentNode.removeChild(Ze[Te])}for(var At in yt.style)Ft.style[At]=yt.style[At];return Ft},ht=function Ut(ot,yt){for(var Ft=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),Ze=ot.firstChild;Ze;Ze=Ze.nextSibling)(yt===!0||Ze.nodeType!==1||Ze.nodeName!=="SCRIPT")&&Ft.appendChild(Ut(Ze,yt));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(Ft.width=ot.width,Ft.height=ot.height,Ft.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(Ft.value=ot.value),Ft.addEventListener("load",function(){Ft.scrollTop=ot.scrollTop,Ft.scrollLeft=ot.scrollLeft},!0)),Ft},Ne=function(ot,yt){if(bt(ot)==="number")return ot*72/96/yt;var Ft={};for(var Ze in ot)Ft[Ze]=ot[Ze]*72/96/yt;return Ft},We=function(ot,yt){return Math.floor(ot*yt/72*96)}},"./src/worker.js":function(fe,Ce,oe){"use strict";oe.r(Ce);var Oe=oe("./node_modules/core-js/modules/es.object.assign.js"),ve=oe.n(Oe),Me=oe("./node_modules/core-js/modules/es.array.map.js"),Ie=oe.n(Me),_e=oe("./node_modules/core-js/modules/es.object.keys.js"),we=oe.n(_e),xe=oe("./node_modules/core-js/modules/es.array.concat.js"),Ee=oe.n(xe),ke=oe("./node_modules/core-js/modules/es.object.to-string.js"),ze=oe.n(ke),Qe=oe("./node_modules/core-js/modules/es.regexp.to-string.js"),Re=oe.n(Qe),et=oe("./node_modules/core-js/modules/es.function.name.js"),Ge=oe.n(et),lt=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),it=oe.n(lt),ft=oe("jspdf"),bt=oe.n(ft),je=oe("html2canvas"),ht=oe.n(je),Ne=oe("./src/utils.js"),We=oe("./node_modules/es6-promise/dist/es6-promise.js"),Ut=oe.n(We),ot=Ut().Promise,yt=function Ft(Ze){var Te=Object.assign(Ft.convert(ot.resolve()),JSON.parse(JSON.stringify(Ft.template))),At=Ft.convert(ot.resolve(),Te);return At=At.setProgress(1,Ft,1,[Ft]),At=At.set(Ze),At};yt.prototype=Object.create(ot.prototype),yt.prototype.constructor=yt,yt.convert=function(Ze,Te){return Ze.__proto__=Te||yt.prototype,Ze},yt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},yt.prototype.from=function(Ze,Te){function At(Zt){switch((0,Ne.objType)(Zt)){case"string":return"string";case"element":return Zt.nodeName.toLowerCase&&Zt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Te=Te||At(Ze),Te){case"string":return this.set({src:(0,Ne.createElement)("div",{innerHTML:Ze})});case"element":return this.set({src:Ze});case"canvas":return this.set({canvas:Ze});case"img":return this.set({img:Ze});default:return this.error("Unknown source type.")}})},yt.prototype.to=function(Ze){switch(Ze){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},yt.prototype.toContainer=function(){var Ze=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ze).then(function(){var At={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Zt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};At.opacity=0;var Kt=(0,Ne.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Ne.createElement)("div",{className:"html2pdf__overlay",style:At}),this.prop.container=(0,Ne.createElement)("div",{className:"html2pdf__container",style:Zt}),this.prop.container.appendChild(Kt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},yt.prototype.toCanvas=function(){var Ze=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ze).then(function(){var At=Object.assign({},this.opt.html2canvas);return delete At.onrendered,je(this.prop.container,At)}).then(function(At){var Zt=this.opt.html2canvas.onrendered||function(){};Zt(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},yt.prototype.toImg=function(){var Ze=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Ze).then(function(){var At=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=At})},yt.prototype.toPdf=function(){var Ze=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ze).then(function(){var At=this.prop.canvas,Zt=this.opt,Kt=At.height,rt=Math.floor(At.width*this.prop.pageSize.inner.ratio),Nt=Math.ceil(Kt/rt),Qt=this.prop.pageSize.inner.height,pn=document.createElement("canvas"),Ot=pn.getContext("2d");pn.width=At.width,pn.height=rt,this.prop.pdf=this.prop.pdf||new ft.jsPDF(Zt.jsPDF);for(var vn=0;vn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/to-length.js"),Me=oe("./node_modules/core-js/internals/to-absolute-index.js"),Ie=function(_e){return function(we,xe,Ee){var ke=Oe(we),ze=ve(ke.length),Qe=Me(Ee,ze),Re;if(_e&&xe!=xe){for(;ze>Qe;)if(Re=ke[Qe++],Re!=Re)return!0}else for(;ze>Qe;Qe++)if((_e||Qe in ke)&&ke[Qe]===xe)return _e||Qe||0;return!_e&&-1}};fe.exports={includes:Ie(!0),indexOf:Ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/function-bind-context.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Me=oe("./node_modules/core-js/internals/to-object.js"),Ie=oe("./node_modules/core-js/internals/to-length.js"),_e=oe("./node_modules/core-js/internals/array-species-create.js"),we=[].push,xe=function(Ee){var ke=Ee==1,ze=Ee==2,Qe=Ee==3,Re=Ee==4,et=Ee==6,Ge=Ee==7,lt=Ee==5||et;return function(it,ft,bt,je){for(var ht=Me(it),Ne=ve(ht),We=Oe(ft,bt,3),Ut=Ie(Ne.length),ot=0,yt=je||_e,Ft=ke?yt(it,Ut):ze||Ge?yt(it,0):void 0,Ze,Te;Ut>ot;ot++)if((lt||ot in Ne)&&(Ze=Ne[ot],Te=We(Ze,ot,ht),Ee))if(ke)Ft[ot]=Te;else if(Te)switch(Ee){case 3:return!0;case 5:return Ze;case 6:return ot;case 2:we.call(Ft,Ze)}else switch(Ee){case 4:return!1;case 7:we.call(Ft,Ze)}return et?-1:Qe||Re?Re:Ft}};fe.exports={forEach:xe(0),map:xe(1),filter:xe(2),some:xe(3),every:xe(4),find:xe(5),findIndex:xe(6),filterReject:xe(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/well-known-symbol.js"),Me=oe("./node_modules/core-js/internals/engine-v8-version.js"),Ie=ve("species");fe.exports=function(_e){return Me>=51||!Oe(function(){var we=[],xe=we.constructor={};return xe[Ie]=function(){return{foo:1}},we[_e](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ve,Me){var Ie=[][ve];return!!Ie&&Oe(function(){Ie.call(null,Me||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-array.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Me("species");fe.exports=function(_e){var we;return ve(_e)&&(we=_e.constructor,typeof we=="function"&&(we===Array||ve(we.prototype))?we=void 0:Oe(we)&&(we=we[Ie],we===null&&(we=void 0))),we===void 0?Array:we}},"./node_modules/core-js/internals/array-species-create.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/array-species-constructor.js");fe.exports=function(ve,Me){return new(Oe(ve))(Me===0?0:Me)}},"./node_modules/core-js/internals/classof-raw.js":function(fe){var Ce={}.toString;fe.exports=function(oe){return Ce.call(oe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Me("toStringTag"),_e=ve(function(){return arguments}())=="Arguments",we=function(xe,Ee){try{return xe[Ee]}catch(ke){}};fe.exports=Oe?ve:function(xe){var Ee,ke,ze;return xe===void 0?"Undefined":xe===null?"Null":typeof(ke=we(Ee=Object(xe),Ie))=="string"?ke:_e?ve(Ee):(ze=ve(Ee))=="Object"&&typeof Ee.callee=="function"?"Arguments":ze}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/own-keys.js"),Me=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Ie=oe("./node_modules/core-js/internals/object-define-property.js");fe.exports=function(_e,we){for(var xe=ve(we),Ee=Ie.f,ke=Me.f,ze=0;ze"+Ee+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,ve=oe("./node_modules/core-js/internals/object-create.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ie=oe("./node_modules/core-js/internals/set-to-string-tag.js"),_e=oe("./node_modules/core-js/internals/iterators.js"),we=function(){return this};fe.exports=function(xe,Ee,ke){var ze=Ee+" Iterator";return xe.prototype=ve(Oe,{next:Me(1,ke)}),Ie(xe,ze,!1,!0),_e[ze]=we,xe}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=Oe?function(Ie,_e,we){return ve.f(Ie,_e,Me(1,we))}:function(Ie,_e,we){return Ie[_e]=we,Ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(fe){fe.exports=function(Ce,oe){return{enumerable:!(Ce&1),configurable:!(Ce&2),writable:!(Ce&4),value:oe}}},"./node_modules/core-js/internals/create-property.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/to-property-key.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=function(Ie,_e,we){var xe=Oe(_e);xe in Ie?ve.f(Ie,xe,Me(0,we)):Ie[xe]=we}},"./node_modules/core-js/internals/define-iterator.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-iterator-constructor.js"),Me=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Ie=oe("./node_modules/core-js/internals/object-set-prototype-of.js"),_e=oe("./node_modules/core-js/internals/set-to-string-tag.js"),we=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),xe=oe("./node_modules/core-js/internals/redefine.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),ke=oe("./node_modules/core-js/internals/is-pure.js"),ze=oe("./node_modules/core-js/internals/iterators.js"),Qe=oe("./node_modules/core-js/internals/iterators-core.js"),Re=Qe.IteratorPrototype,et=Qe.BUGGY_SAFARI_ITERATORS,Ge=Ee("iterator"),lt="keys",it="values",ft="entries",bt=function(){return this};fe.exports=function(je,ht,Ne,We,Ut,ot,yt){ve(Ne,ht,We);var Ft=function(Ot){if(Ot===Ut&&Kt)return Kt;if(!et&&Ot in At)return At[Ot];switch(Ot){case lt:return function(){return new Ne(this,Ot)};case it:return function(){return new Ne(this,Ot)};case ft:return function(){return new Ne(this,Ot)}}return function(){return new Ne(this)}},Ze=ht+" Iterator",Te=!1,At=je.prototype,Zt=At[Ge]||At["@@iterator"]||Ut&&At[Ut],Kt=!et&&Zt||Ft(Ut),rt=ht=="Array"&&At.entries||Zt,Nt,Qt,pn;if(rt&&(Nt=Me(rt.call(new je)),Re!==Object.prototype&&Nt.next&&(!ke&&Me(Nt)!==Re&&(Ie?Ie(Nt,Re):typeof Nt[Ge]!="function"&&we(Nt,Ge,bt)),_e(Nt,Ze,!0,!0),ke&&(ze[Ze]=bt))),Ut==it&&Zt&&Zt.name!==it&&(Te=!0,Kt=function(){return Zt.call(this)}),(!ke||yt)&&At[Ge]!==Kt&&we(At,Ge,Kt),ze[ht]=Kt,Ut)if(Qt={values:Ft(it),keys:ot?Kt:Ft(lt),entries:Ft(ft)},yt)for(pn in Qt)(et||Te||!(pn in At))&&xe(At,pn,Qt[pn]);else Oe({target:ht,proto:!0,forced:et||Te},Qt);return Qt}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/path.js"),ve=oe("./node_modules/core-js/internals/has.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ie=oe("./node_modules/core-js/internals/object-define-property.js").f;fe.exports=function(_e){var we=Oe.Symbol||(Oe.Symbol={});ve(we,_e)||Ie(we,_e,{value:Me.f(_e)})}},"./node_modules/core-js/internals/descriptors.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js");fe.exports=!Oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Me=Oe.document,Ie=ve(Me)&&ve(Me.createElement);fe.exports=function(_e){return Ie?Me.createElement(_e):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(fe){fe.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Oe("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/engine-user-agent.js"),Me=Oe.process,Ie=Oe.Deno,_e=Me&&Me.versions||Ie&&Ie.version,we=_e&&_e.v8,xe,Ee;we?(xe=we.split("."),Ee=xe[0]<4?1:xe[0]+xe[1]):ve&&(xe=ve.match(/Edge\/(\d+)/),(!xe||xe[1]>=74)&&(xe=ve.match(/Chrome\/(\d+)/),xe&&(Ee=xe[1]))),fe.exports=Ee&&+Ee},"./node_modules/core-js/internals/enum-bug-keys.js":function(fe){fe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Me=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/redefine.js"),_e=oe("./node_modules/core-js/internals/set-global.js"),we=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),xe=oe("./node_modules/core-js/internals/is-forced.js");fe.exports=function(Ee,ke){var ze=Ee.target,Qe=Ee.global,Re=Ee.stat,et,Ge,lt,it,ft,bt;if(Qe?Ge=Oe:Re?Ge=Oe[ze]||_e(ze,{}):Ge=(Oe[ze]||{}).prototype,Ge)for(lt in ke){if(ft=ke[lt],Ee.noTargetGet?(bt=ve(Ge,lt),it=bt&&bt.value):it=Ge[lt],et=xe(Qe?lt:ze+(Re?".":"#")+lt,Ee.forced),!et&&it!==void 0){if(typeof ft==typeof it)continue;we(ft,it)}(Ee.sham||it&&it.sham)&&Me(ft,"sham",!0),Ie(Ge,lt,ft,Ee)}}},"./node_modules/core-js/internals/fails.js":function(fe){fe.exports=function(Ce){try{return!!Ce()}catch(oe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/a-function.js");fe.exports=function(ve,Me,Ie){if(Oe(ve),Me===void 0)return ve;switch(Ie){case 0:return function(){return ve.call(Me)};case 1:return function(_e){return ve.call(Me,_e)};case 2:return function(_e,we){return ve.call(Me,_e,we)};case 3:return function(_e,we,xe){return ve.call(Me,_e,we,xe)}}return function(){return ve.apply(Me,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=function(Me){return typeof Me=="function"?Me:void 0};fe.exports=function(Me,Ie){return arguments.length<2?ve(Oe[Me]):Oe[Me]&&Oe[Me][Ie]}},"./node_modules/core-js/internals/global.js":function(fe){var Ce=function(oe){return oe&&oe.Math==Math&&oe};fe.exports=Ce(typeof globalThis=="object"&&globalThis)||Ce(typeof window=="object"&&window)||Ce(typeof self=="object"&&self)||Ce(typeof ae.g=="object"&&ae.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-object.js"),ve={}.hasOwnProperty;fe.exports=Object.hasOwn||function(Ie,_e){return ve.call(Oe(Ie),_e)}},"./node_modules/core-js/internals/hidden-keys.js":function(fe){fe.exports={}},"./node_modules/core-js/internals/html.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Oe("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Me=oe("./node_modules/core-js/internals/document-create-element.js");fe.exports=!Oe&&!ve(function(){return Object.defineProperty(Me("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),Me="".split;fe.exports=Oe(function(){return!Object("z").propertyIsEnumerable(0)})?function(Ie){return ve(Ie)=="String"?Me.call(Ie,""):Object(Ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/object-set-prototype-of.js");fe.exports=function(Me,Ie,_e){var we,xe;return ve&&typeof(we=Ie.constructor)=="function"&&we!==_e&&Oe(xe=we.prototype)&&xe!==_e.prototype&&ve(Me,xe),Me}},"./node_modules/core-js/internals/inspect-source.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/shared-store.js"),ve=Function.toString;typeof Oe.inspectSource!="function"&&(Oe.inspectSource=function(Me){return ve.call(Me)}),fe.exports=Oe.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/native-weak-map.js"),ve=oe("./node_modules/core-js/internals/global.js"),Me=oe("./node_modules/core-js/internals/is-object.js"),Ie=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),_e=oe("./node_modules/core-js/internals/has.js"),we=oe("./node_modules/core-js/internals/shared-store.js"),xe=oe("./node_modules/core-js/internals/shared-key.js"),Ee=oe("./node_modules/core-js/internals/hidden-keys.js"),ke="Object already initialized",ze=ve.WeakMap,Qe,Re,et,Ge=function(Ne){return et(Ne)?Re(Ne):Qe(Ne,{})},lt=function(Ne){return function(We){var Ut;if(!Me(We)||(Ut=Re(We)).type!==Ne)throw TypeError("Incompatible receiver, "+Ne+" required");return Ut}};if(Oe||we.state){var it=we.state||(we.state=new ze),ft=it.get,bt=it.has,je=it.set;Qe=function(Ne,We){if(bt.call(it,Ne))throw new TypeError(ke);return We.facade=Ne,je.call(it,Ne,We),We},Re=function(Ne){return ft.call(it,Ne)||{}},et=function(Ne){return bt.call(it,Ne)}}else{var ht=xe("state");Ee[ht]=!0,Qe=function(Ne,We){if(_e(Ne,ht))throw new TypeError(ke);return We.facade=Ne,Ie(Ne,ht,We),We},Re=function(Ne){return _e(Ne,ht)?Ne[ht]:{}},et=function(Ne){return _e(Ne,ht)}}fe.exports={set:Qe,get:Re,has:et,enforce:Ge,getterFor:lt}},"./node_modules/core-js/internals/is-array.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/classof-raw.js");fe.exports=Array.isArray||function(Me){return Oe(Me)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=/#|\.prototype\./,Me=function(Ee,ke){var ze=_e[Ie(Ee)];return ze==xe?!0:ze==we?!1:typeof ke=="function"?Oe(ke):!!ke},Ie=Me.normalize=function(Ee){return String(Ee).replace(ve,".").toLowerCase()},_e=Me.data={},we=Me.NATIVE="N",xe=Me.POLYFILL="P";fe.exports=Me},"./node_modules/core-js/internals/is-object.js":function(fe){fe.exports=function(Ce){return typeof Ce=="object"?Ce!==null:typeof Ce=="function"}},"./node_modules/core-js/internals/is-pure.js":function(fe){fe.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/use-symbol-as-uid.js");fe.exports=ve?function(Me){return typeof Me=="symbol"}:function(Me){var Ie=Oe("Symbol");return typeof Ie=="function"&&Object(Me)instanceof Ie}},"./node_modules/core-js/internals/iterators-core.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/fails.js"),ve=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Me=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/has.js"),_e=oe("./node_modules/core-js/internals/well-known-symbol.js"),we=oe("./node_modules/core-js/internals/is-pure.js"),xe=_e("iterator"),Ee=!1,ke=function(){return this},ze,Qe,Re;[].keys&&(Re=[].keys(),"next"in Re?(Qe=ve(ve(Re)),Qe!==Object.prototype&&(ze=Qe)):Ee=!0);var et=ze==null||Oe(function(){var Ge={};return ze[xe].call(Ge)!==Ge});et&&(ze={}),(!we||et)&&!Ie(ze,xe)&&Me(ze,xe,ke),fe.exports={IteratorPrototype:ze,BUGGY_SAFARI_ITERATORS:Ee}},"./node_modules/core-js/internals/iterators.js":function(fe){fe.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/engine-v8-version.js"),ve=oe("./node_modules/core-js/internals/fails.js");fe.exports=!!Object.getOwnPropertySymbols&&!ve(function(){var Me=Symbol();return!String(Me)||!(Object(Me)instanceof Symbol)||!Symbol.sham&&Oe&&Oe<41})},"./node_modules/core-js/internals/native-weak-map.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/inspect-source.js"),Me=Oe.WeakMap;fe.exports=typeof Me=="function"&&/native code/.test(ve(Me))},"./node_modules/core-js/internals/object-assign.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Me=oe("./node_modules/core-js/internals/object-keys.js"),Ie=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),_e=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),we=oe("./node_modules/core-js/internals/to-object.js"),xe=oe("./node_modules/core-js/internals/indexed-object.js"),Ee=Object.assign,ke=Object.defineProperty;fe.exports=!Ee||ve(function(){if(Oe&&Ee({b:1},Ee(ke({},"a",{enumerable:!0,get:function(){ke(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ze={},Qe={},Re=Symbol(),et="abcdefghijklmnopqrst";return ze[Re]=7,et.split("").forEach(function(Ge){Qe[Ge]=Ge}),Ee({},ze)[Re]!=7||Me(Ee({},Qe)).join("")!=et})?function(Qe,Re){for(var et=we(Qe),Ge=arguments.length,lt=1,it=Ie.f,ft=_e.f;Ge>lt;)for(var bt=xe(arguments[lt++]),je=it?Me(bt).concat(it(bt)):Me(bt),ht=je.length,Ne=0,We;ht>Ne;)We=je[Ne++],(!Oe||ft.call(bt,We))&&(et[We]=bt[We]);return et}:Ee},"./node_modules/core-js/internals/object-create.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/object-define-properties.js"),Me=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Ie=oe("./node_modules/core-js/internals/hidden-keys.js"),_e=oe("./node_modules/core-js/internals/html.js"),we=oe("./node_modules/core-js/internals/document-create-element.js"),xe=oe("./node_modules/core-js/internals/shared-key.js"),Ee=">",ke="<",ze="prototype",Qe="script",Re=xe("IE_PROTO"),et=function(){},Ge=function(je){return ke+Qe+Ee+je+ke+"/"+Qe+Ee},lt=function(je){je.write(Ge("")),je.close();var ht=je.parentWindow.Object;return je=null,ht},it=function(){var je=we("iframe"),ht="java"+Qe+":",Ne;if(je.style)return je.style.display="none",_e.appendChild(je),je.src=String(ht),Ne=je.contentWindow.document,Ne.open(),Ne.write(Ge("document.F=Object")),Ne.close(),Ne.F},ft,bt=function(){try{ft=new ActiveXObject("htmlfile")}catch(ht){}bt=document.domain&&ft?lt(ft):it()||lt(ft);for(var je=Me.length;je--;)delete bt[ze][Me[je]];return bt()};Ie[Re]=!0,fe.exports=Object.create||function(ht,Ne){var We;return ht!==null?(et[ze]=Oe(ht),We=new et,et[ze]=null,We[Re]=ht):We=bt(),Ne===void 0?We:ve(We,Ne)}},"./node_modules/core-js/internals/object-define-properties.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js"),Me=oe("./node_modules/core-js/internals/an-object.js"),Ie=oe("./node_modules/core-js/internals/object-keys.js");fe.exports=Oe?Object.defineProperties:function(we,xe){Me(we);for(var Ee=Ie(xe),ke=Ee.length,ze=0,Qe;ke>ze;)ve.f(we,Qe=Ee[ze++],xe[Qe]);return we}},"./node_modules/core-js/internals/object-define-property.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Me=oe("./node_modules/core-js/internals/an-object.js"),Ie=oe("./node_modules/core-js/internals/to-property-key.js"),_e=Object.defineProperty;Ce.f=Oe?_e:function(xe,Ee,ke){if(Me(xe),Ee=Ie(Ee),Me(ke),ve)try{return _e(xe,Ee,ke)}catch(ze){}if("get"in ke||"set"in ke)throw TypeError("Accessors not supported");return"value"in ke&&(xe[Ee]=ke.value),xe}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Me=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ie=oe("./node_modules/core-js/internals/to-indexed-object.js"),_e=oe("./node_modules/core-js/internals/to-property-key.js"),we=oe("./node_modules/core-js/internals/has.js"),xe=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=Object.getOwnPropertyDescriptor;Ce.f=Oe?Ee:function(ze,Qe){if(ze=Ie(ze),Qe=_e(Qe),xe)try{return Ee(ze,Qe)}catch(Re){}if(we(ze,Qe))return Me(!ve.f.call(ze,Qe),ze[Qe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Me={}.toString,Ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_e=function(we){try{return ve(we)}catch(xe){return Ie.slice()}};fe.exports.f=function(xe){return Ie&&Me.call(xe)=="[object Window]"?_e(xe):ve(Oe(xe))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Me=ve.concat("length","prototype");Ce.f=Object.getOwnPropertyNames||function(_e){return Oe(_e,Me)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(fe,Ce){Ce.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Me=oe("./node_modules/core-js/internals/shared-key.js"),Ie=oe("./node_modules/core-js/internals/correct-prototype-getter.js"),_e=Me("IE_PROTO"),we=Object.prototype;fe.exports=Ie?Object.getPrototypeOf:function(xe){return xe=ve(xe),Oe(xe,_e)?xe[_e]:typeof xe.constructor=="function"&&xe instanceof xe.constructor?xe.constructor.prototype:xe instanceof Object?we:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),Me=oe("./node_modules/core-js/internals/array-includes.js").indexOf,Ie=oe("./node_modules/core-js/internals/hidden-keys.js");fe.exports=function(_e,we){var xe=ve(_e),Ee=0,ke=[],ze;for(ze in xe)!Oe(Ie,ze)&&Oe(xe,ze)&&ke.push(ze);for(;we.length>Ee;)Oe(xe,ze=we[Ee++])&&(~Me(ke,ze)||ke.push(ze));return ke}},"./node_modules/core-js/internals/object-keys.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ve=oe("./node_modules/core-js/internals/enum-bug-keys.js");fe.exports=Object.keys||function(Ie){return Oe(Ie,ve)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(fe,Ce){"use strict";var oe={}.propertyIsEnumerable,Oe=Object.getOwnPropertyDescriptor,ve=Oe&&!oe.call({1:2},1);Ce.f=ve?function(Ie){var _e=Oe(this,Ie);return!!_e&&_e.enumerable}:oe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/an-object.js"),ve=oe("./node_modules/core-js/internals/a-possible-prototype.js");fe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Me=!1,Ie={},_e;try{_e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,_e.call(Ie,[]),Me=Ie instanceof Array}catch(we){}return function(xe,Ee){return Oe(xe),ve(Ee),Me?_e.call(xe,Ee):xe.__proto__=Ee,xe}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/classof.js");fe.exports=Oe?{}.toString:function(){return"[object "+ve(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ve,Me){var Ie,_e;if(Me==="string"&&typeof(Ie=ve.toString)=="function"&&!Oe(_e=Ie.call(ve))||typeof(Ie=ve.valueOf)=="function"&&!Oe(_e=Ie.call(ve))||Me!=="string"&&typeof(Ie=ve.toString)=="function"&&!Oe(_e=Ie.call(ve)))return _e;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/get-built-in.js"),ve=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Me=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ie=oe("./node_modules/core-js/internals/an-object.js");fe.exports=Oe("Reflect","ownKeys")||function(we){var xe=ve.f(Ie(we)),Ee=Me.f;return Ee?xe.concat(Ee(we)):xe}},"./node_modules/core-js/internals/path.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js");fe.exports=Oe},"./node_modules/core-js/internals/redefine.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Me=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/set-global.js"),_e=oe("./node_modules/core-js/internals/inspect-source.js"),we=oe("./node_modules/core-js/internals/internal-state.js"),xe=we.get,Ee=we.enforce,ke=String(String).split("String");(fe.exports=function(ze,Qe,Re,et){var Ge=et?!!et.unsafe:!1,lt=et?!!et.enumerable:!1,it=et?!!et.noTargetGet:!1,ft;if(typeof Re=="function"&&(typeof Qe=="string"&&!Me(Re,"name")&&ve(Re,"name",Qe),ft=Ee(Re),ft.source||(ft.source=ke.join(typeof Qe=="string"?Qe:""))),ze===Oe){lt?ze[Qe]=Re:Ie(Qe,Re);return}else Ge?!it&&ze[Qe]&&(lt=!0):delete ze[Qe];lt?ze[Qe]=Re:ve(ze,Qe,Re)})(Function.prototype,"toString",function(){return typeof this=="function"&&xe(this).source||_e(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/an-object.js");fe.exports=function(){var ve=Oe(this),Me="";return ve.global&&(Me+="g"),ve.ignoreCase&&(Me+="i"),ve.multiline&&(Me+="m"),ve.dotAll&&(Me+="s"),ve.unicode&&(Me+="u"),ve.sticky&&(Me+="y"),Me}},"./node_modules/core-js/internals/require-object-coercible.js":function(fe){fe.exports=function(Ce){if(Ce==null)throw TypeError("Can't call method on "+Ce);return Ce}},"./node_modules/core-js/internals/set-global.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js");fe.exports=function(ve,Me){try{Object.defineProperty(Oe,ve,{value:Me,configurable:!0,writable:!0})}catch(Ie){Oe[ve]=Me}return Me}},"./node_modules/core-js/internals/set-to-string-tag.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/object-define-property.js").f,ve=oe("./node_modules/core-js/internals/has.js"),Me=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Me("toStringTag");fe.exports=function(_e,we,xe){_e&&!ve(_e=xe?_e:_e.prototype,Ie)&&Oe(_e,Ie,{configurable:!0,value:we})}},"./node_modules/core-js/internals/shared-key.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/shared.js"),ve=oe("./node_modules/core-js/internals/uid.js"),Me=Oe("keys");fe.exports=function(Ie){return Me[Ie]||(Me[Ie]=ve(Ie))}},"./node_modules/core-js/internals/shared-store.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/set-global.js"),Me="__core-js_shared__",Ie=Oe[Me]||ve(Me,{});fe.exports=Ie},"./node_modules/core-js/internals/shared.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-pure.js"),ve=oe("./node_modules/core-js/internals/shared-store.js");(fe.exports=function(Me,Ie){return ve[Me]||(ve[Me]=Ie!==void 0?Ie:{})})("versions",[]).push({version:"3.16.0",mode:Oe?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ve){return Oe(function(){var Me=""[ve]('"');return Me!==Me.toLowerCase()||Me.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-integer.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Me=oe("./node_modules/core-js/internals/require-object-coercible.js"),Ie=function(_e){return function(we,xe){var Ee=ve(Me(we)),ke=Oe(xe),ze=Ee.length,Qe,Re;return ke<0||ke>=ze?_e?"":void 0:(Qe=Ee.charCodeAt(ke),Qe<55296||Qe>56319||ke+1===ze||(Re=Ee.charCodeAt(ke+1))<56320||Re>57343?_e?Ee.charAt(ke):Qe:_e?Ee.slice(ke,ke+2):(Qe-55296<<10)+(Re-56320)+65536)}};fe.exports={codeAt:Ie(!1),charAt:Ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/require-object-coercible.js"),ve=oe("./node_modules/core-js/internals/to-string.js"),Me=oe("./node_modules/core-js/internals/whitespaces.js"),Ie="["+Me+"]",_e=RegExp("^"+Ie+Ie+"*"),we=RegExp(Ie+Ie+"*$"),xe=function(Ee){return function(ke){var ze=ve(Oe(ke));return Ee&1&&(ze=ze.replace(_e,"")),Ee&2&&(ze=ze.replace(we,"")),ze}};fe.exports={start:xe(1),end:xe(2),trim:xe(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.max,Me=Math.min;fe.exports=function(Ie,_e){var we=Oe(Ie);return we<0?ve(we+_e,0):Me(we,_e)}},"./node_modules/core-js/internals/to-indexed-object.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/indexed-object.js"),ve=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(Me){return Oe(ve(Me))}},"./node_modules/core-js/internals/to-integer.js":function(fe){var Ce=Math.ceil,oe=Math.floor;fe.exports=function(Oe){return isNaN(Oe=+Oe)?0:(Oe>0?oe:Ce)(Oe)}},"./node_modules/core-js/internals/to-length.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-integer.js"),ve=Math.min;fe.exports=function(Me){return Me>0?ve(Oe(Me),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(ve){return Object(Oe(ve))}},"./node_modules/core-js/internals/to-primitive.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js"),Me=oe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Ie=oe("./node_modules/core-js/internals/well-known-symbol.js"),_e=Ie("toPrimitive");fe.exports=function(we,xe){if(!Oe(we)||ve(we))return we;var Ee=we[_e],ke;if(Ee!==void 0){if(xe===void 0&&(xe="default"),ke=Ee.call(we,xe),!Oe(ke)||ve(ke))return ke;throw TypeError("Can't convert object to primitive value")}return xe===void 0&&(xe="number"),Me(we,xe)}},"./node_modules/core-js/internals/to-property-key.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-primitive.js"),ve=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(Me){var Ie=Oe(Me,"string");return ve(Ie)?Ie:String(Ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=Oe("toStringTag"),Me={};Me[ve]="z",fe.exports=String(Me)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(ve){if(Oe(ve))throw TypeError("Cannot convert a Symbol value to a string");return String(ve)}},"./node_modules/core-js/internals/uid.js":function(fe){var Ce=0,oe=Math.random();fe.exports=function(Oe){return"Symbol("+String(Oe===void 0?"":Oe)+")_"+(++Ce+oe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/native-symbol.js");fe.exports=Oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/well-known-symbol.js");Ce.f=Oe},"./node_modules/core-js/internals/well-known-symbol.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/shared.js"),Me=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/uid.js"),_e=oe("./node_modules/core-js/internals/native-symbol.js"),we=oe("./node_modules/core-js/internals/use-symbol-as-uid.js"),xe=ve("wks"),Ee=Oe.Symbol,ke=we?Ee:Ee&&Ee.withoutSetter||Ie;fe.exports=function(ze){return(!Me(xe,ze)||!(_e||typeof xe[ze]=="string"))&&(_e&&Me(Ee,ze)?xe[ze]=Ee[ze]:xe[ze]=ke("Symbol."+ze)),xe[ze]}},"./node_modules/core-js/internals/whitespaces.js":function(fe){fe.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/fails.js"),Me=oe("./node_modules/core-js/internals/is-array.js"),Ie=oe("./node_modules/core-js/internals/is-object.js"),_e=oe("./node_modules/core-js/internals/to-object.js"),we=oe("./node_modules/core-js/internals/to-length.js"),xe=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/array-species-create.js"),ke=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=oe("./node_modules/core-js/internals/well-known-symbol.js"),Qe=oe("./node_modules/core-js/internals/engine-v8-version.js"),Re=ze("isConcatSpreadable"),et=9007199254740991,Ge="Maximum allowed index exceeded",lt=Qe>=51||!ve(function(){var je=[];return je[Re]=!1,je.concat()[0]!==je}),it=ke("concat"),ft=function(je){if(!Ie(je))return!1;var ht=je[Re];return ht!==void 0?!!ht:Me(je)},bt=!lt||!it;Oe({target:"Array",proto:!0,forced:bt},{concat:function(ht){var Ne=_e(this),We=Ee(Ne,0),Ut=0,ot,yt,Ft,Ze,Te;for(ot=-1,Ft=arguments.length;otet)throw TypeError(Ge);for(yt=0;yt=et)throw TypeError(Ge);xe(We,Ut++,Te)}return We.length=Ut,We}})},"./node_modules/core-js/modules/es.array.iterator.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ve=oe("./node_modules/core-js/internals/add-to-unscopables.js"),Me=oe("./node_modules/core-js/internals/iterators.js"),Ie=oe("./node_modules/core-js/internals/internal-state.js"),_e=oe("./node_modules/core-js/internals/define-iterator.js"),we="Array Iterator",xe=Ie.set,Ee=Ie.getterFor(we);fe.exports=_e(Array,"Array",function(ke,ze){xe(this,{type:we,target:Oe(ke),index:0,kind:ze})},function(){var ke=Ee(this),ze=ke.target,Qe=ke.kind,Re=ke.index++;return!ze||Re>=ze.length?(ke.target=void 0,{value:void 0,done:!0}):Qe=="keys"?{value:Re,done:!1}:Qe=="values"?{value:ze[Re],done:!1}:{value:[Re,ze[Re]],done:!1}},"values"),Me.Arguments=Me.Array,ve("keys"),ve("values"),ve("entries")},"./node_modules/core-js/modules/es.array.join.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/indexed-object.js"),Me=oe("./node_modules/core-js/internals/to-indexed-object.js"),Ie=oe("./node_modules/core-js/internals/array-method-is-strict.js"),_e=[].join,we=ve!=Object,xe=Ie("join",",");Oe({target:"Array",proto:!0,forced:we||!xe},{join:function(ke){return _e.call(Me(this),ke===void 0?",":ke)}})},"./node_modules/core-js/modules/es.array.map.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/array-iteration.js").map,Me=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ie=Me("map");Oe({target:"Array",proto:!0,forced:!Ie},{map:function(we){return ve(this,we,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/is-object.js"),Me=oe("./node_modules/core-js/internals/is-array.js"),Ie=oe("./node_modules/core-js/internals/to-absolute-index.js"),_e=oe("./node_modules/core-js/internals/to-length.js"),we=oe("./node_modules/core-js/internals/to-indexed-object.js"),xe=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),ke=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),ze=ke("slice"),Qe=Ee("species"),Re=[].slice,et=Math.max;Oe({target:"Array",proto:!0,forced:!ze},{slice:function(lt,it){var ft=we(this),bt=_e(ft.length),je=Ie(lt,bt),ht=Ie(it===void 0?bt:it,bt),Ne,We,Ut;if(Me(ft)&&(Ne=ft.constructor,typeof Ne=="function"&&(Ne===Array||Me(Ne.prototype))?Ne=void 0:ve(Ne)&&(Ne=Ne[Qe],Ne===null&&(Ne=void 0)),Ne===Array||Ne===void 0))return Re.call(ft,je,ht);for(We=new(Ne===void 0?Array:Ne)(et(ht-je,0)),Ut=0;je2){if(Ft=lt(Ft),Ze=Ft.charCodeAt(0),Ze===43||Ze===45){if(Te=Ft.charCodeAt(2),Te===88||Te===120)return NaN}else if(Ze===48){switch(Ft.charCodeAt(1)){case 66:case 98:At=2,Zt=49;break;case 79:case 111:At=8,Zt=55;break;default:return+Ft}for(Kt=Ft.slice(2),rt=Kt.length,Nt=0;NtZt)return NaN;return parseInt(Kt,At)}}return+Ft};if(Me(it,!ft(" 0o1")||!ft("0b1")||ft("+0x1"))){for(var Ne=function(Ft){var Ze=arguments.length<1?0:Ft,Te=this;return Te instanceof Ne&&(je?ze(function(){bt.valueOf.call(Te)}):we(Te)!=it)?xe(new ft(ht(Ze)),Te,Ne):ht(Ze)},We=Oe?Re(ft):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ut=0,ot;We.length>Ut;Ut++)_e(ft,ot=We[Ut])&&!_e(Ne,ot)&&Ge(Ne,ot,et(ft,ot));Ne.prototype=bt,bt.constructor=Ne,Ie(ve,it,Ne)}},"./node_modules/core-js/modules/es.object.assign.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/object-assign.js");Oe({target:"Object",stat:!0,forced:Object.assign!==ve},{assign:ve})},"./node_modules/core-js/modules/es.object.keys.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),Me=oe("./node_modules/core-js/internals/object-keys.js"),Ie=oe("./node_modules/core-js/internals/fails.js"),_e=Ie(function(){Me(1)});Oe({target:"Object",stat:!0,forced:_e},{keys:function(xe){return Me(ve(xe))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ve=oe("./node_modules/core-js/internals/redefine.js"),Me=oe("./node_modules/core-js/internals/object-to-string.js");Oe||ve(Object.prototype,"toString",Me,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/redefine.js"),ve=oe("./node_modules/core-js/internals/an-object.js"),Me=oe("./node_modules/core-js/internals/to-string.js"),Ie=oe("./node_modules/core-js/internals/fails.js"),_e=oe("./node_modules/core-js/internals/regexp-flags.js"),we="toString",xe=RegExp.prototype,Ee=xe[we],ke=Ie(function(){return Ee.call({source:"a",flags:"b"})!="/a/b"}),ze=Ee.name!=we;(ke||ze)&&Oe(RegExp.prototype,we,function(){var Re=ve(this),et=Me(Re.source),Ge=Re.flags,lt=Me(Ge===void 0&&Re instanceof RegExp&&!("flags"in xe)?_e.call(Re):Ge);return"/"+et+"/"+lt},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/string-multibyte.js").charAt,ve=oe("./node_modules/core-js/internals/to-string.js"),Me=oe("./node_modules/core-js/internals/internal-state.js"),Ie=oe("./node_modules/core-js/internals/define-iterator.js"),_e="String Iterator",we=Me.set,xe=Me.getterFor(_e);Ie(String,"String",function(Ee){we(this,{type:_e,string:ve(Ee),index:0})},function(){var ke=xe(this),ze=ke.string,Qe=ke.index,Re;return Qe>=ze.length?{value:void 0,done:!0}:(Re=Oe(ze,Qe),ke.index+=Re.length,{value:Re,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/create-html.js"),Me=oe("./node_modules/core-js/internals/string-html-forced.js");Oe({target:"String",proto:!0,forced:Me("link")},{link:function(_e){return ve(this,"a","href",_e)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/descriptors.js"),Me=oe("./node_modules/core-js/internals/global.js"),Ie=oe("./node_modules/core-js/internals/has.js"),_e=oe("./node_modules/core-js/internals/is-object.js"),we=oe("./node_modules/core-js/internals/object-define-property.js").f,xe=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ee=Me.Symbol;if(ve&&typeof Ee=="function"&&(!("description"in Ee.prototype)||Ee().description!==void 0)){var ke={},ze=function(){var it=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ft=this instanceof ze?new Ee(it):it===void 0?Ee():Ee(it);return it===""&&(ke[ft]=!0),ft};xe(ze,Ee);var Qe=ze.prototype=Ee.prototype;Qe.constructor=ze;var Re=Qe.toString,et=String(Ee("test"))=="Symbol(test)",Ge=/^Symbol\((.*)\)[^)]+$/;we(Qe,"description",{configurable:!0,get:function(){var it=_e(this)?this.valueOf():this,ft=Re.call(it);if(Ie(ke,it))return"";var bt=et?ft.slice(7,-1):ft.replace(Ge,"$1");return bt===""?void 0:bt}}),Oe({global:!0,forced:!0},{Symbol:ze})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/define-well-known-symbol.js");Oe("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(fe,Ce,oe){"use strict";var Oe=oe("./node_modules/core-js/internals/export.js"),ve=oe("./node_modules/core-js/internals/global.js"),Me=oe("./node_modules/core-js/internals/get-built-in.js"),Ie=oe("./node_modules/core-js/internals/is-pure.js"),_e=oe("./node_modules/core-js/internals/descriptors.js"),we=oe("./node_modules/core-js/internals/native-symbol.js"),xe=oe("./node_modules/core-js/internals/fails.js"),Ee=oe("./node_modules/core-js/internals/has.js"),ke=oe("./node_modules/core-js/internals/is-array.js"),ze=oe("./node_modules/core-js/internals/is-object.js"),Qe=oe("./node_modules/core-js/internals/is-symbol.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),et=oe("./node_modules/core-js/internals/to-object.js"),Ge=oe("./node_modules/core-js/internals/to-indexed-object.js"),lt=oe("./node_modules/core-js/internals/to-property-key.js"),it=oe("./node_modules/core-js/internals/to-string.js"),ft=oe("./node_modules/core-js/internals/create-property-descriptor.js"),bt=oe("./node_modules/core-js/internals/object-create.js"),je=oe("./node_modules/core-js/internals/object-keys.js"),ht=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Ne=oe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),We=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ut=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=oe("./node_modules/core-js/internals/object-define-property.js"),yt=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ft=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ze=oe("./node_modules/core-js/internals/redefine.js"),Te=oe("./node_modules/core-js/internals/shared.js"),At=oe("./node_modules/core-js/internals/shared-key.js"),Zt=oe("./node_modules/core-js/internals/hidden-keys.js"),Kt=oe("./node_modules/core-js/internals/uid.js"),rt=oe("./node_modules/core-js/internals/well-known-symbol.js"),Nt=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Qt=oe("./node_modules/core-js/internals/define-well-known-symbol.js"),pn=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Ot=oe("./node_modules/core-js/internals/internal-state.js"),vn=oe("./node_modules/core-js/internals/array-iteration.js").forEach,_t=At("hidden"),Fn="Symbol",on="prototype",de=rt("toPrimitive"),ge=Ot.set,ie=Ot.getterFor(Fn),ee=Object[on],le=ve.Symbol,se=Me("JSON","stringify"),Be=Ut.f,$e=ot.f,at=Ne.f,pt=yt.f,gt=Te("symbols"),Bt=Te("op-symbols"),Lt=Te("string-to-symbol-registry"),Rt=Te("symbol-to-string-registry"),Ct=Te("wks"),st=ve.QObject,$t=!st||!st[on]||!st[on].findChild,Vt=_e&&xe(function(){return bt($e({},"a",{get:function(){return $e(this,"a",{value:7}).a}})).a!=7})?function(It,Wt,rn){var mn=Be(ee,Wt);mn&&delete ee[Wt],$e(It,Wt,rn),mn&&It!==ee&&$e(ee,Wt,mn)}:$e,bn=function(It,Wt){var rn=gt[It]=bt(le[on]);return ge(rn,{type:Fn,tag:It,description:Wt}),_e||(rn.description=Wt),rn},an=function(Wt,rn,mn){Wt===ee&&an(Bt,rn,mn),Re(Wt);var Xn=lt(rn);return Re(mn),Ee(gt,Xn)?(mn.enumerable?(Ee(Wt,_t)&&Wt[_t][Xn]&&(Wt[_t][Xn]=!1),mn=bt(mn,{enumerable:ft(0,!1)})):(Ee(Wt,_t)||$e(Wt,_t,ft(1,{})),Wt[_t][Xn]=!0),Vt(Wt,Xn,mn)):$e(Wt,Xn,mn)},en=function(Wt,rn){Re(Wt);var mn=Ge(rn),Xn=je(mn).concat(Dn(mn));return vn(Xn,function(Fr){(!_e||En.call(mn,Fr))&&an(Wt,Fr,mn[Fr])}),Wt},Hn=function(Wt,rn){return rn===void 0?bt(Wt):en(bt(Wt),rn)},En=function(Wt){var rn=lt(Wt),mn=pt.call(this,rn);return this===ee&&Ee(gt,rn)&&!Ee(Bt,rn)?!1:mn||!Ee(this,rn)||!Ee(gt,rn)||Ee(this,_t)&&this[_t][rn]?mn:!0},Mt=function(Wt,rn){var mn=Ge(Wt),Xn=lt(rn);if(!(mn===ee&&Ee(gt,Xn)&&!Ee(Bt,Xn))){var Fr=Be(mn,Xn);return Fr&&Ee(gt,Xn)&&!(Ee(mn,_t)&&mn[_t][Xn])&&(Fr.enumerable=!0),Fr}},sn=function(Wt){var rn=at(Ge(Wt)),mn=[];return vn(rn,function(Xn){!Ee(gt,Xn)&&!Ee(Zt,Xn)&&mn.push(Xn)}),mn},Dn=function(Wt){var rn=Wt===ee,mn=at(rn?Bt:Ge(Wt)),Xn=[];return vn(mn,function(Fr){Ee(gt,Fr)&&(!rn||Ee(ee,Fr))&&Xn.push(gt[Fr])}),Xn};if(we||(le=function(){if(this instanceof le)throw TypeError("Symbol is not a constructor");var Wt=!arguments.length||arguments[0]===void 0?void 0:it(arguments[0]),rn=Kt(Wt),mn=function(Xn){this===ee&&mn.call(Bt,Xn),Ee(this,_t)&&Ee(this[_t],rn)&&(this[_t][rn]=!1),Vt(this,rn,ft(1,Xn))};return _e&&$t&&Vt(ee,rn,{configurable:!0,set:mn}),bn(rn,Wt)},Ze(le[on],"toString",function(){return ie(this).tag}),Ze(le,"withoutSetter",function(It){return bn(Kt(It),It)}),yt.f=En,ot.f=an,Ut.f=Mt,ht.f=Ne.f=sn,We.f=Dn,Nt.f=function(It){return bn(rt(It),It)},_e&&($e(le[on],"description",{configurable:!0,get:function(){return ie(this).description}}),Ie||Ze(ee,"propertyIsEnumerable",En,{unsafe:!0}))),Oe({global:!0,wrap:!0,forced:!we,sham:!we},{Symbol:le}),vn(je(Ct),function(It){Qt(It)}),Oe({target:Fn,stat:!0,forced:!we},{for:function(It){var Wt=it(It);if(Ee(Lt,Wt))return Lt[Wt];var rn=le(Wt);return Lt[Wt]=rn,Rt[rn]=Wt,rn},keyFor:function(Wt){if(!Qe(Wt))throw TypeError(Wt+" is not a symbol");if(Ee(Rt,Wt))return Rt[Wt]},useSetter:function(){$t=!0},useSimple:function(){$t=!1}}),Oe({target:"Object",stat:!0,forced:!we,sham:!_e},{create:Hn,defineProperty:an,defineProperties:en,getOwnPropertyDescriptor:Mt}),Oe({target:"Object",stat:!0,forced:!we},{getOwnPropertyNames:sn,getOwnPropertySymbols:Dn}),Oe({target:"Object",stat:!0,forced:xe(function(){We.f(1)})},{getOwnPropertySymbols:function(Wt){return We.f(et(Wt))}}),se){var Wn=!we||xe(function(){var It=le();return se([It])!="[null]"||se({a:It})!="{}"||se(Object(It))!="{}"});Oe({target:"JSON",stat:!0,forced:Wn},{stringify:function(Wt,rn,mn){for(var Xn=[Wt],Fr=1,ri;arguments.length>Fr;)Xn.push(arguments[Fr++]);if(ri=rn,!(!ze(rn)&&Wt===void 0||Qe(Wt)))return ke(rn)||(rn=function(Hr,Ir){if(typeof ri=="function"&&(Ir=ri.call(this,Hr,Ir)),!Qe(Ir))return Ir}),Xn[1]=rn,se.apply(null,Xn)}})}le[on][de]||Ft(le[on],de,le[on].valueOf),pn(le,Fn),Zt[_t]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Me=oe("./node_modules/core-js/internals/array-for-each.js"),Ie=oe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var _e in ve){var we=Oe[_e],xe=we&&we.prototype;if(xe&&xe.forEach!==Me)try{Ie(xe,"forEach",Me)}catch(Ee){xe.forEach=Me}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(fe,Ce,oe){var Oe=oe("./node_modules/core-js/internals/global.js"),ve=oe("./node_modules/core-js/internals/dom-iterables.js"),Me=oe("./node_modules/core-js/modules/es.array.iterator.js"),Ie=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),_e=oe("./node_modules/core-js/internals/well-known-symbol.js"),we=_e("iterator"),xe=_e("toStringTag"),Ee=Me.values;for(var ke in ve){var ze=Oe[ke],Qe=ze&&ze.prototype;if(Qe){if(Qe[we]!==Ee)try{Ie(Qe,we,Ee)}catch(et){Qe[we]=Ee}if(Qe[xe]||Ie(Qe,xe,ke),ve[ke]){for(var Re in Me)if(Qe[Re]!==Me[Re])try{Ie(Qe,Re,Me[Re])}catch(et){Qe[Re]=Me[Re]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(fe){(function(Ce,oe){fe.exports=oe()})(this,function(){"use strict";function Ce(st){var $t=typeof st;return st!==null&&($t==="object"||$t==="function")}function oe(st){return typeof st=="function"}var Oe=void 0;Array.isArray?Oe=Array.isArray:Oe=function(st){return Object.prototype.toString.call(st)==="[object Array]"};var ve=Oe,Me=0,Ie=void 0,_e=void 0,we=function($t,Vt){je[Me]=$t,je[Me+1]=Vt,Me+=2,Me===2&&(_e?_e(ht):We())};function xe(st){_e=st}function Ee(st){we=st}var ke=typeof window!="undefined"?window:void 0,ze=ke||{},Qe=ze.MutationObserver||ze.WebKitMutationObserver,Re=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",et=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ge(){return function(){return x.nextTick(ht)}}function lt(){return typeof Ie!="undefined"?function(){Ie(ht)}:bt()}function it(){var st=0,$t=new Qe(ht),Vt=document.createTextNode("");return $t.observe(Vt,{characterData:!0}),function(){Vt.data=st=++st%2}}function ft(){var st=new MessageChannel;return st.port1.onmessage=ht,function(){return st.port2.postMessage(0)}}function bt(){var st=setTimeout;return function(){return st(ht,1)}}var je=new Array(1e3);function ht(){for(var st=0;st>1,oe=-7,Oe=ct?Je-1:0,ve=ct?-1:1,Me=ae[x+Oe];for(Oe+=ve,He=Me&(1<<-oe)-1,Me>>=-oe,oe+=Ue;oe>0;He=He*256+ae[x+Oe],Oe+=ve,oe-=8);for(Se=He&(1<<-oe)-1,He>>=-oe,oe+=Le;oe>0;Se=Se*256+ae[x+Oe],Oe+=ve,oe-=8);if(He===0)He=1-Ce;else{if(He===fe)return Se?NaN:(Me?-1:1)*(1/0);Se=Se+Math.pow(2,Le),He=He-Ce}return(Me?-1:1)*Se*Math.pow(2,He-Le)},Tt.write=function(ae,x,ct,Le,Je,He){var Se,Ue,fe,Ce=He*8-Je-1,oe=(1<>1,ve=Je===23?Math.pow(2,-24)-Math.pow(2,-77):0,Me=Le?0:He-1,Ie=Le?1:-1,_e=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(Ue=isNaN(x)?1:0,Se=oe):(Se=Math.floor(Math.log(x)/Math.LN2),x*(fe=Math.pow(2,-Se))<1&&(Se--,fe*=2),Se+Oe>=1?x+=ve/fe:x+=ve*Math.pow(2,1-Oe),x*fe>=2&&(Se++,fe/=2),Se+Oe>=oe?(Ue=0,Se=oe):Se+Oe>=1?(Ue=(x*fe-1)*Math.pow(2,Je),Se=Se+Oe):(Ue=x*Math.pow(2,Oe-1)*Math.pow(2,Je),Se=0));Je>=8;ae[ct+Me]=Ue&255,Me+=Ie,Ue/=256,Je-=8);for(Se=Se<0;ae[ct+Me]=Se&255,Me+=Ie,Se/=256,Ce-=8);ae[ct+Me-Ie]|=_e*128}},65355:function(Vn,Tt,ae){"use strict";ae.r(Tt),ae.d(Tt,{AcroForm:function(){return jc},AcroFormAppearance:function(){return Ro},AcroFormButton:function(){return es},AcroFormCheckBox:function(){return Ys},AcroFormChoiceField:function(){return Wo},AcroFormComboBox:function(){return ba},AcroFormEditBox:function(){return ya},AcroFormListBox:function(){return ls},AcroFormPasswordField:function(){return ts},AcroFormPushButton:function(){return ys},AcroFormRadioButton:function(){return $a},AcroFormTextField:function(){return Ps},GState:function(){return wp},ShadingPattern:function(){return kf},TilingPattern:function(){return Mf},default:function(){return Da},jsPDF:function(){return Da}});var x=ae(76190),ct={},Le=function(y,z,E,re,Ae){var he=new Worker(ct[z]||(ct[z]=URL.createObjectURL(new Blob([y+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return he.onmessage=function(Ke){var Pe=Ke.data,Ve=Pe.$e$;if(Ve){var Ye=new Error(Ve[0]);Ye.code=Ve[1],Ye.stack=Ve[2],Ae(Ye,null)}else Ae(null,Pe)},he.postMessage(E,re),he},Je=Uint8Array,He=Uint16Array,Se=Int32Array,Ue=new Je([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),fe=new Je([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ce=new Je([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oe=function(y,z){for(var E=new He(31),re=0;re<31;++re)E[re]=z+=1<>1|(Ee&21845)<<1;ke=(ke&52428)>>2|(ke&13107)<<2,ke=(ke&61680)>>4|(ke&3855)<<4,xe[Ee]=((ke&65280)>>8|(ke&255)<<8)>>1}for(var ze=function(y,z,E){for(var re=y.length,Ae=0,he=new He(z);Ae>Ve]=Ye}else for(Pe=new He(re),Ae=0;Ae>15-y[Ae]);return Pe},Qe=new Je(288),Ee=0;Ee<144;++Ee)Qe[Ee]=8;for(var Ee=144;Ee<256;++Ee)Qe[Ee]=9;for(var Ee=256;Ee<280;++Ee)Qe[Ee]=7;for(var Ee=280;Ee<288;++Ee)Qe[Ee]=8;for(var Re=new Je(32),Ee=0;Ee<32;++Ee)Re[Ee]=5;var et=ze(Qe,9,0),Ge=null,lt=ze(Re,5,0),it=null,ft=function(y){for(var z=y[0],E=1;Ez&&(z=y[E]);return z},bt=function(y,z,E){var re=z/8|0;return(y[re]|y[re+1]<<8)>>(z&7)&E},je=function(y,z){var E=z/8|0;return(y[E]|y[E+1]<<8|y[E+2]<<16)>>(z&7)},ht=function(y){return(y+7)/8|0},Ne=function(y,z,E){return(z==null||z<0)&&(z=0),(E==null||E>y.length)&&(E=y.length),new Je(y.subarray(z,E))},We={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ut=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ot=function(y,z,E){var re=new Error(z||Ut[y]);if(re.code=y,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!E)throw re;return re},yt=function(y,z,E,re){var Ae=y.length,he=re?re.length:0;if(!Ae||z.f&&!z.l)return E||new Je(0);var Ke=!E,Pe=Ke||z.i!=2,Ve=z.i;Ke&&(E=new Je(Ae*3));var Ye=function(yo){var Aa=E.length;if(yo>Aa){var da=new Je(Math.max(Aa*2,yo));da.set(E),E=da}},dt=z.f||0,Pt=z.p||0,Jt=z.b||0,ut=z.l,In=z.d,Cn=z.m,Nn=z.n,cn=Ae*8;do{if(!ut){dt=bt(y,Pt,1);var wr=bt(y,Pt+1,3);if(Pt+=3,wr)if(wr==1)ut=Ge,In=it,Cn=9,Nn=5;else if(wr==2){var Qi=bt(y,Pt,31)+257,Ii=bt(y,Pt+10,15)+4,Nr=Qi+bt(y,Pt+5,31)+1;Pt+=14;for(var Gn=new Je(Nr),Gr=new Je(19),un=0;un>4;if(lr<16)Gn[un++]=lr;else{var Fi=0,Oi=0;for(lr==16?(Oi=3+bt(y,Pt,3),Pt+=2,Fi=Gn[un-1]):lr==17?(Oi=3+bt(y,Pt,7),Pt+=3):lr==18&&(Oi=11+bt(y,Pt,127),Pt+=7);Oi--;)Gn[un++]=Fi}}var ai=Gn.subarray(0,Qi),Pi=Gn.subarray(Qi);Cn=ft(ai),Nn=ft(Pi),ut=ze(ai,Cn,1),In=ze(Pi,Nn,1)}else ot(1);else{var lr=ht(Pt)+4,Zn=y[lr-4]|y[lr-3]<<8,Ai=lr+Zn;if(Ai>Ae){Ve&&ot(0);break}Pe&&Ye(Jt+Zn),E.set(y.subarray(lr,Ai),Jt),z.b=Jt+=Zn,z.p=Pt=Ai*8,z.f=dt;continue}if(Pt>cn){Ve&&ot(0);break}}Pe&&Ye(Jt+131072);for(var _o=(1<>4;if(Pt+=Fi&15,Pt>cn){Ve&&ot(0);break}if(Fi||ot(2),zn<256)E[Jt++]=zn;else if(zn==256){nn=Pt,ut=null;break}else{var rr=zn-254;if(zn>264){var un=zn-257,Br=Ue[un];rr=bt(y,Pt,(1<>4;Rr||ot(3),Pt+=Rr&15;var Pi=_e[si];if(si>3){var Br=fe[si];Pi+=je(y,Pt)&(1<cn){Ve&&ot(0);break}Pe&&Ye(Jt+131072);var Di=Jt+rr;if(Jt>8},Ze=function(y,z,E){E<<=z&7;var re=z/8|0;y[re]|=E,y[re+1]|=E>>8,y[re+2]|=E>>16},Te=function(y,z){for(var E=[],re=0;reJt&&(Jt=he[re].s);var ut=new He(Jt+1),In=At(E[dt-1],ut,0);if(In>z){var re=0,Cn=0,Nn=In-z,cn=1<z)Cn+=cn-(1<>=Nn;Cn>0;){var lr=he[re].s;ut[lr]=0&&Cn;--re){var Zn=he[re].s;ut[Zn]==z&&(--ut[Zn],++Cn)}In=z}return{t:new Je(ut),l:In}},At=function(y,z,E){return y.s==-1?Math.max(At(y.l,z,E+1),At(y.r,z,E+1)):z[y.s]=E},Zt=function(y){for(var z=y.length;z&&!y[--z];);for(var E=new He(++z),re=0,Ae=y[0],he=1,Ke=function(Ve){E[re++]=Ve},Pe=1;Pe<=z;++Pe)if(y[Pe]==Ae&&Pe!=z)++he;else{if(!Ae&&he>2){for(;he>138;he-=138)Ke(32754);he>2&&(Ke(he>10?he-11<<5|28690:he-3<<5|12305),he=0)}else if(he>3){for(Ke(Ae),--he;he>6;he-=6)Ke(8304);he>2&&(Ke(he-3<<5|8208),he=0)}for(;he--;)Ke(Ae);he=1,Ae=y[Pe]}return{c:E.subarray(0,re),n:z}},Kt=function(y,z){for(var E=0,re=0;re>8,y[Ae+2]=y[Ae]^255,y[Ae+3]=y[Ae+1]^255;for(var he=0;he4&&!Gr[Ce[On-1]];--On);var mr=Ye+5<<3,dr=Kt(Ae,Qe)+Kt(he,Re)+Ke,pi=Kt(Ae,Jt)+Kt(he,Cn)+Ke+14+3*On+Kt(Ii,Gr)+2*Ii[16]+3*Ii[17]+7*Ii[18];if(Ve>=0&&mr<=dr&&mr<=pi)return rt(z,dt,y.subarray(Ve,Ve+Ye));var Fi,Oi,ai,Pi;if(Ft(z,dt,1+(pi15&&(Ft(z,dt,zn[Nr]>>5&127),dt+=zn[Nr]>>12)}}else Fi=et,Oi=Qe,ai=lt,Pi=Re;for(var Nr=0;Nr255){var rr=Br>>18&31;Ze(z,dt,Fi[rr+257]),dt+=Oi[rr+257],rr>7&&(Ft(z,dt,Br>>23&31),dt+=Ue[rr]);var Rr=Br&31;Ze(z,dt,ai[Rr]),dt+=Pi[Rr],Rr>3&&(Ze(z,dt,Br>>5&8191),dt+=fe[Rr])}else Ze(z,dt,Fi[Br]),dt+=Oi[Br]}return Ze(z,dt,Fi[256]),dt+Oi[256]},Qt=new Se([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),pn=new Je(0),Ot=function(y,z,E,re,Ae,he){var Ke=he.z||y.length,Pe=new Je(re+Ke+5*(1+Math.ceil(Ke/7e3))+Ae),Ve=Pe.subarray(re,Pe.length-Ae),Ye=he.l,dt=(he.r||0)&7;if(z){dt&&(Ve[0]=he.r>>3);for(var Pt=Qt[z-1],Jt=Pt>>13,ut=Pt&8191,In=(1<7e3||Gr>24576)&&(Fi>423||!Ye)){dt=Nt(y,Ve,0,Zn,Ai,Qi,Nr,Gr,On,Gn-On,dt),Gr=Ii=Nr=0,On=Gn;for(var Oi=0;Oi<286;++Oi)Ai[Oi]=0;for(var Oi=0;Oi<30;++Oi)Qi[Oi]=0}var ai=2,Pi=0,_o=ut,io=dr-pi&32767;if(Fi>2&&mr==lr(Gn-io))for(var nn=Math.min(Jt,Fi)-1,zn=Math.min(32767,Gn),rr=Math.min(258,Fi);io<=zn&&--_o&&dr!=pi;){if(y[Gn+ai]==y[Gn+ai-io]){for(var Br=0;Brai){if(ai=Br,Pi=io,Br>nn)break;for(var Rr=Math.min(io,Br-2),si=0,Oi=0;Oisi&&(si=Xi,pi=Di)}}}dr=pi,pi=Cn[dr],io+=dr-pi&32767}if(Pi){Zn[Gr++]=268435456|Me[ai]<<18|we[Pi];var yo=Me[ai]&31,Aa=we[Pi]&31;Nr+=Ue[yo]+fe[Aa],++Ai[257+yo],++Qi[Aa],un=Gn+ai,++Ii}else Zn[Gr++]=y[Gn],++Ai[y[Gn]]}}for(Gn=Math.max(Gn,un);Gn=Ke&&(Ve[dt/8|0]=Ye,da=Ke),dt=rt(Ve,dt+1,y.subarray(Gn,da))}he.i=Ke}return Ne(Pe,0,re+ht(dt)+Ae)},vn=null,_t=function(){var y=-1;return{p:function(z){for(var E=y,re=0;re>>8;y=E},d:function(){return~y}}},Fn=function(){var y=1,z=0;return{p:function(E){for(var re=y,Ae=z,he=E.length|0,Ke=0;Ke!=he;){for(var Pe=Math.min(Ke+2655,he);Ke>16),Ae=(Ae&65535)+15*(Ae>>16)}y=re,z=Ae},d:function(){return y%=65521,z%=65521,(y&255)<<24|(y&65280)<<8|(z&255)<<8|z>>8}}},on=function(y,z,E,re,Ae){if(!Ae&&(Ae={l:1},z.dictionary)){var he=z.dictionary.subarray(-32768),Ke=new Je(he.length+y.length);Ke.set(he),Ke.set(y,he.length),y=Ke,Ae.w=he.length}return Ot(y,z.level==null?6:z.level,z.mem==null?Ae.l?Math.ceil(Math.max(8,Math.min(13,Math.log(y.length)))*1.5):20:12+z.mem,E,re,Ae)},de=function(y,z){var E={};for(var re in y)E[re]=y[re];for(var re in z)E[re]=z[re];return E},ge=function(y,z,E){for(var re=y(),Ae=y.toString(),he=Ae.slice(Ae.indexOf("[")+1,Ae.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ke=0;Ke>>0},bn=function(y,z){return Vt(y,z)+Vt(y,z+4)*4294967296},an=function(y,z,E){for(;E;++z)y[z]=E,E>>>=8},en=function(y,z){var E=z.filename;if(y[0]=31,y[1]=139,y[2]=8,y[8]=z.level<2?4:z.level==9?2:0,y[9]=3,z.mtime!=0&&an(y,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),E){y[3]=8;for(var re=0;re<=E.length;++re)y[re+10]=E.charCodeAt(re)}},Hn=function(y){(y[0]!=31||y[1]!=139||y[2]!=8)&&ot(6,"invalid gzip data");var z=y[3],E=10;z&4&&(E+=(y[10]|y[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!y[E++]);return E+(z&2)},En=function(y){var z=y.length;return(y[z-4]|y[z-3]<<8|y[z-2]<<16|y[z-1]<<24)>>>0},Mt=function(y){return 10+(y.filename?y.filename.length+1:0)},sn=function(y,z){var E=z.level,re=E==0?0:E<6?1:E==9?3:2;if(y[0]=120,y[1]=re<<6|(z.dictionary&&32),y[1]|=31-(y[0]<<8|y[1])%31,z.dictionary){var Ae=Fn();Ae.p(z.dictionary),an(y,2,Ae.d())}},Dn=function(y,z){return((y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31)&&ot(6,"invalid zlib data"),(y[1]>>5&1)==+!z&&ot(6,"invalid zlib data: "+(y[1]&32?"need":"unexpected")+" dictionary"),(y[1]>>3&4)+2};function Wn(y,z){return typeof y=="function"&&(z=y,y={}),this.ondata=z,y}var It=null,Wt=null;function rn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[Be],function(re){return Bt(mn(re.data[0],re.data[1]))},0,E)}function mn(y,z){return on(y,z||{},0,0)}var Xn=null,Fr=null;function ri(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[se],function(re){return Bt(Hr(re.data[0],Lt(re.data[1])))},1,E)}function Hr(y,z){return yt(y,{i:2},z&&z.out,z&&z.dictionary)}var Ir=null,qn=null;function vr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[Be,$e,function(){return[Mr]}],function(re){return Bt(Mr(re.data[0],re.data[1]))},2,E)}function Mr(y,z){z||(z={});var E=_t(),re=y.length;E.p(y);var Ae=on(y,z,Mt(z),8),he=Ae.length;return en(Ae,z),an(Ae,he-8,E.d()),an(Ae,he-4,re),Ae}var Yn=null,sr=null;function jn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[se,at,function(){return[ur]}],function(re){return Bt(ur(re.data[0],re.data[1]))},3,E)}function ur(y,z){var E=Hn(y);return E+8>y.length&&ot(6,"invalid gzip data"),yt(y.subarray(E,-8),{i:2},z&&z.out||new Je(En(y)),z&&z.dictionary)}var br=null,Xr=null;function Yr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[Be,pt,function(){return[gi]}],function(re){return Bt(gi(re.data[0],re.data[1]))},4,E)}function gi(y,z){z||(z={});var E=Fn();E.p(y);var re=on(y,z,z.dictionary?6:2,4);return sn(re,z),an(re,re.length-4,E.d()),re}var ci=null,Hi=null;function vi(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Rt(y,z,[se,gt,function(){return[no]}],function(re){return Bt(no(re.data[0],Lt(re.data[1])))},5,E)}function no(y,z){return yt(y.subarray(Dn(y,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Ki=null,fr=null;function Lr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),y[0]==31&&y[1]==139&&y[2]==8?jn(y,z,E):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?ri(y,z,E):vi(y,z,E)}function mi(y,z){return y[0]==31&&y[1]==139&&y[2]==8?ur(y,z):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?Hr(y,z):no(y,z)}var Xt=function(y,z,E,re){for(var Ae in y){var he=y[Ae],Ke=z+Ae,Pe=re;Array.isArray(he)&&(Pe=de(re,he[1]),he=he[0]),he instanceof Je?E[Ke]=[he,Pe]:(E[Ke+="/"]=[new Je(0),Pe],Xt(he,Ke,E,re))}},ln=typeof TextEncoder!="undefined"&&new TextEncoder,yn=typeof TextDecoder!="undefined"&&new TextDecoder,kt=0;try{yn.decode(pn,{stream:!0}),kt=1}catch(y){}var dn=function(y){for(var z="",E=0;;){var re=y[E++],Ae=(re>127)+(re>223)+(re>239);if(E+Ae>y.length)return{s:z,r:Ne(y,E-1)};Ae?Ae==3?(re=((re&15)<<18|(y[E++]&63)<<12|(y[E++]&63)<<6|y[E++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):Ae&1?z+=String.fromCharCode((re&31)<<6|y[E++]&63):z+=String.fromCharCode((re&15)<<12|(y[E++]&63)<<6|y[E++]&63):z+=String.fromCharCode(re)}},zt=null,hn=null;function Pn(y,z){if(z){for(var E=new Je(y.length),re=0;re>1)),Ke=0,Pe=function(dt){he[Ke++]=dt},re=0;rehe.length){var Ve=new Je(Ke+8+(Ae-re<<1));Ve.set(he),he=Ve}var Ye=y.charCodeAt(re);Ye<128||z?Pe(Ye):Ye<2048?(Pe(192|Ye>>6),Pe(128|Ye&63)):Ye>55295&&Ye<57344?(Ye=65536+(Ye&1047552)|y.charCodeAt(++re)&1023,Pe(240|Ye>>18),Pe(128|Ye>>12&63),Pe(128|Ye>>6&63),Pe(128|Ye&63)):(Pe(224|Ye>>12),Pe(128|Ye>>6&63),Pe(128|Ye&63))}return Ne(he,0,Ke)}function _r(y,z){if(z){for(var E="",re=0;re65535&&ot(9),z+=re+4}return z},ti=function(y,z,E,re,Ae,he,Ke,Pe){var Ve=re.length,Ye=E.extra,dt=Pe&&Pe.length,Pt=ar(Ye);an(y,z,Ke!=null?33639248:67324752),z+=4,Ke!=null&&(y[z++]=20,y[z++]=E.os),y[z]=20,z+=2,y[z++]=E.flag<<1|(he<0&&8),y[z++]=Ae&&8,y[z++]=E.compression&255,y[z++]=E.compression>>8;var Jt=new Date(E.mtime==null?Date.now():E.mtime),ut=Jt.getFullYear()-1980;if((ut<0||ut>119)&&ot(10),an(y,z,ut<<25|Jt.getMonth()+1<<21|Jt.getDate()<<16|Jt.getHours()<<11|Jt.getMinutes()<<5|Jt.getSeconds()>>1),z+=4,he!=-1&&(an(y,z,E.crc),an(y,z+4,he<0?-he-2:he),an(y,z+8,E.size)),an(y,z+12,Ve),an(y,z+14,Pt),z+=16,Ke!=null&&(an(y,z,dt),an(y,z+6,E.attrs),an(y,z+10,Ke),z+=14),y.set(re,z),z+=Ve,Pt)for(var In in Ye){var Cn=Ye[In],Nn=Cn.length;an(y,z,+In),an(y,z+2,Nn),y.set(Cn,z+4),z+=4+Nn}return dt&&(y.set(Pe,z),z+=dt),z},tr=function(y,z,E,re,Ae){an(y,z,101010256),an(y,z+8,E),an(y,z+10,E),an(y,z+12,re),an(y,z+16,Ae)},Un=null,cr=null,Ei=null,Kn=null;function gn(y,z,E){E||(E=z,z={}),typeof E!="function"&&ot(7);var re={};Xt(y,"",re,z);var Ae=Object.keys(re),he=Ae.length,Ke=0,Pe=0,Ve=he,Ye=new Array(he),dt=[],Pt=function(){for(var Nn=0;Nn65535&&dr(ot(11,0,1),null),!mr)dr(null,lr);else if(Qi<16e4)try{dr(null,mn(lr,Zn))}catch(pi){dr(pi,null)}else dt.push(rn(lr,Zn,dr))},Cn=0;Cn65535&&ot(11);var cn=dt?mn(Ve,Ye):Ve,wr=cn.length,lr=_t();lr.p(Ve),re.push(de(Ye,{size:Ve.length,crc:lr.d(),c:cn,f:Pt,m:In,u:Jt!=Ke.length||In&&ut.length!=Cn,o:Ae,compression:dt})),Ae+=30+Jt+Nn+wr,he+=76+2*(Jt+Nn)+(Cn||0)+wr}for(var Zn=new Je(he+22),Ai=Ae,Qi=he-Ae,Ii=0;Ii65558)return Ke(ot(13,0,1),null),Ae;var Ve=$t(y,Pe+8);if(Ve){var Ye=Ve,dt=Vt(y,Pe+16),Pt=dt==4294967295||Ye==65535;if(Pt){var Jt=Vt(y,Pe-12);Pt=Vt(y,Jt)==101075792,Pt&&(Ye=Ve=Vt(y,Jt+32),dt=Vt(y,Jt+48))}for(var ut=z&&z.filter,In=function(Nn){var cn=ir(y,dt,Pt),wr=cn[0],lr=cn[1],Zn=cn[2],Ai=cn[3],Qi=cn[4],Ii=cn[5],Nr=di(y,Ii);dt=Qi;var Gn=function(un,On){un?(Ae(),Ke(un,null)):(On&&(he[Ai]=On),--Ve||Ke(null,he))};if(!ut||ut({name:Ai,size:lr,originalSize:Zn,compression:wr}))if(!wr)Gn(null,Ne(y,Nr,Nr+lr));else if(wr==8){var Gr=y.subarray(Nr,Nr+lr);if(Zn<524288||lr>.8*Zn)try{Gn(null,Hr(Gr,{out:new Je(Zn)}))}catch(un){Gn(un,null)}else re.push(ri(Gr,{size:Zn},Gn))}else Gn(ot(14,"unknown compression type "+wr,1),null);else Gn(null,null)},Cn=0;Cn65558)&&ot(13);var Ae=$t(y,re+8);if(!Ae)return{};var he=Vt(y,re+16),Ke=he==4294967295||Ae==65535;if(Ke){var Pe=Vt(y,re-12);Ke=Vt(y,Pe)==101075792,Ke&&(Ae=Vt(y,Pe+32),he=Vt(y,Pe+48))}for(var Ve=z&&z.filter,Ye=0;Ye{const y=new Uint8Array(4),z=new Uint32Array(y.buffer);return!((z[0]=1)&y[0])})(),mo={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Yi{constructor(z=Ti,E={}){Ll(this,"buffer");Ll(this,"byteLength");Ll(this,"byteOffset");Ll(this,"length");Ll(this,"offset");Ll(this,"lastWrittenByte");Ll(this,"littleEndian");Ll(this,"_data");Ll(this,"_mark");Ll(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const Ae=E.offset?E.offset>>>0:0,he=z.byteLength-Ae;let Ke=Ae;(ArrayBuffer.isView(z)||z instanceof Yi)&&(z.byteLength!==z.buffer.byteLength&&(Ke=z.byteOffset+Ae),z=z.buffer),re?this.lastWrittenByte=he:this.lastWrittenByte=0,this.buffer=z,this.length=he,this.byteLength=he,this.byteOffset=Ke,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ke,he),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,Ae=new Uint8Array(re);Ae.set(new Uint8Array(this.buffer)),this.buffer=Ae.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,E){const re=mo[E].BYTES_PER_ELEMENT*z,Ae=this.byteOffset+this.offset,he=this.buffer.slice(Ae,Ae+re);if(this.littleEndian===eo&&E!=="uint8"&&E!=="int8"){const Pe=new Uint8Array(this.buffer.slice(Ae,Ae+re));Pe.reverse();const Ve=new mo[E](Pe.buffer);return this.offset+=re,Ve.reverse(),Ve}const Ke=new mo[E](he);return this.offset+=re,Ke}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let E="";for(let re=0;rethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Lo=4,Mi=0,Mo=1,Ao=2;function Xo(y){let z=y.length;for(;--z>=0;)y[z]=0}const bo=0,to=1,Co=2,Vo=3,_n=258,Do=29,Vi=256,Ur=Vi+1+Do,qr=30,ni=19,Wr=2*Ur+1,ji=15,ro=16,Kr=7,oi=256,yr=16,ei=17,co=18,Jo=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),No=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),ma=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Oo=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),qo=512,jo=new Array((Ur+2)*2);Xo(jo);const aa=new Array(qr*2);Xo(aa);const fa=new Array(qo);Xo(fa);const Wa=new Array(_n-Vo+1);Xo(Wa);const Ds=new Array(Do);Xo(Ds);const zs=new Array(qr);Xo(zs);function is(y,z,E,re,Ae){this.static_tree=y,this.extra_bits=z,this.extra_base=E,this.elems=re,this.max_length=Ae,this.has_stree=y&&y.length}let us,Uo,go;function Fa(y,z){this.dyn_tree=y,this.max_code=0,this.stat_desc=z}const hs=y=>y<256?fa[y]:fa[256+(y>>>7)],el=(y,z)=>{y.pending_buf[y.pending++]=z&255,y.pending_buf[y.pending++]=z>>>8&255},tl=(y,z,E)=>{y.bi_valid>ro-E?(y.bi_buf|=z<>ro-y.bi_valid,y.bi_valid+=E-ro):(y.bi_buf|=z<{tl(y,E[z*2],E[z*2+1])},hl=(y,z)=>{let E=0;do E|=y&1,y>>>=1,E<<=1;while(--z>0);return E>>>1},lu=y=>{y.bi_valid===16?(el(y,y.bi_buf),y.bi_buf=0,y.bi_valid=0):y.bi_valid>=8&&(y.pending_buf[y.pending++]=y.bi_buf&255,y.bi_buf>>=8,y.bi_valid-=8)},Js=(y,z)=>{const E=z.dyn_tree,re=z.max_code,Ae=z.stat_desc.static_tree,he=z.stat_desc.has_stree,Ke=z.stat_desc.extra_bits,Pe=z.stat_desc.extra_base,Ve=z.stat_desc.max_length;let Ye,dt,Pt,Jt,ut,In,Cn=0;for(Jt=0;Jt<=ji;Jt++)y.bl_count[Jt]=0;for(E[y.heap[y.heap_max]*2+1]=0,Ye=y.heap_max+1;YeVe&&(Jt=Ve,Cn++),E[dt*2+1]=Jt,!(dt>re)&&(y.bl_count[Jt]++,ut=0,dt>=Pe&&(ut=Ke[dt-Pe]),In=E[dt*2],y.opt_len+=In*(Jt+ut),he&&(y.static_len+=In*(Ae[dt*2+1]+ut)));if(Cn!==0){do{for(Jt=Ve-1;y.bl_count[Jt]===0;)Jt--;y.bl_count[Jt]--,y.bl_count[Jt+1]+=2,y.bl_count[Ve]--,Cn-=2}while(Cn>0);for(Jt=Ve;Jt!==0;Jt--)for(dt=y.bl_count[Jt];dt!==0;)Pt=y.heap[--Ye],!(Pt>re)&&(E[Pt*2+1]!==Jt&&(y.opt_len+=(Jt-E[Pt*2+1])*E[Pt*2],E[Pt*2+1]=Jt),dt--)}},Kl=(y,z,E)=>{const re=new Array(ji+1);let Ae=0,he,Ke;for(he=1;he<=ji;he++)Ae=Ae+E[he-1]<<1,re[he]=Ae;for(Ke=0;Ke<=z;Ke++){let Pe=y[Ke*2+1];Pe!==0&&(y[Ke*2]=hl(re[Pe]++,Pe))}},Zl=()=>{let y,z,E,re,Ae;const he=new Array(ji+1);for(E=0,re=0;re>=7;re{let z;for(z=0;z{y.bi_valid>8?el(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0},FA=(y,z,E,re)=>{const Ae=z*2,he=E*2;return y[Ae]{const re=y.heap[E];let Ae=E<<1;for(;Ae<=y.heap_len&&(Ae{let re,Ae,he=0,Ke,Pe;if(y.sym_next!==0)do re=y.pending_buf[y.sym_buf+he++]&255,re+=(y.pending_buf[y.sym_buf+he++]&255)<<8,Ae=y.pending_buf[y.sym_buf+he++],re===0?nl(y,Ae,z):(Ke=Wa[Ae],nl(y,Ke+Vi+1,z),Pe=Jo[Ke],Pe!==0&&(Ae-=Ds[Ke],tl(y,Ae,Pe)),re--,Ke=hs(re),nl(y,Ke,E),Pe=No[Ke],Pe!==0&&(re-=zs[Ke],tl(y,re,Pe)));while(he{const E=z.dyn_tree,re=z.stat_desc.static_tree,Ae=z.stat_desc.has_stree,he=z.stat_desc.elems;let Ke,Pe,Ve=-1,Ye;for(y.heap_len=0,y.heap_max=Wr,Ke=0;Ke>1;Ke>=1;Ke--)hA(y,E,Ke);Ye=he;do Ke=y.heap[1],y.heap[1]=y.heap[y.heap_len--],hA(y,E,1),Pe=y.heap[1],y.heap[--y.heap_max]=Ke,y.heap[--y.heap_max]=Pe,E[Ye*2]=E[Ke*2]+E[Pe*2],y.depth[Ye]=(y.depth[Ke]>=y.depth[Pe]?y.depth[Ke]:y.depth[Pe])+1,E[Ke*2+1]=E[Pe*2+1]=Ye,y.heap[1]=Ye++,hA(y,E,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],Js(y,z),Kl(E,Ve,y.bl_count)},va=(y,z,E)=>{let re,Ae=-1,he,Ke=z[0*2+1],Pe=0,Ve=7,Ye=4;for(Ke===0&&(Ve=138,Ye=3),z[(E+1)*2+1]=65535,re=0;re<=E;re++)he=Ke,Ke=z[(re+1)*2+1],!(++Pe{let re,Ae=-1,he,Ke=z[0*2+1],Pe=0,Ve=7,Ye=4;for(Ke===0&&(Ve=138,Ye=3),re=0;re<=E;re++)if(he=Ke,Ke=z[(re+1)*2+1],!(++Pe{let z;for(va(y,y.dyn_ltree,y.l_desc.max_code),va(y,y.dyn_dtree,y.d_desc.max_code),Ia(y,y.bl_desc),z=ni-1;z>=3&&y.bl_tree[Oo[z]*2+1]===0;z--);return y.opt_len+=3*(z+1)+5+5+4,z},Xa=(y,z,E,re)=>{let Ae;for(tl(y,z-257,5),tl(y,E-1,5),tl(y,re-4,4),Ae=0;Ae{let z=4093624447,E;for(E=0;E<=31;E++,z>>>=1)if(z&1&&y.dyn_ltree[E*2]!==0)return Mi;if(y.dyn_ltree[9*2]!==0||y.dyn_ltree[10*2]!==0||y.dyn_ltree[13*2]!==0)return Mo;for(E=32;E{Wl||(Zl(),Wl=!0),y.l_desc=new Fa(y.dyn_ltree,us),y.d_desc=new Fa(y.dyn_dtree,Uo),y.bl_desc=new Fa(y.bl_tree,go),y.bi_buf=0,y.bi_valid=0,Lu(y)},ki=(y,z,E,re)=>{tl(y,(bo<<1)+(re?1:0),3),dl(y),el(y,E),el(y,~E),E&&y.pending_buf.set(y.window.subarray(z,z+E),y.pending),y.pending+=E},na=y=>{tl(y,to<<1,3),nl(y,oi,jo),lu(y)},Ta=(y,z,E,re)=>{let Ae,he,Ke=0;y.level>0?(y.strm.data_type===Ao&&(y.strm.data_type=Ha(y)),Ia(y,y.l_desc),Ia(y,y.d_desc),Ke=qa(y),Ae=y.opt_len+3+7>>>3,he=y.static_len+3+7>>>3,he<=Ae&&(Ae=he)):Ae=he=E+5,E+4<=Ae&&z!==-1?ki(y,z,E,re):y.strategy===Lo||he===Ae?(tl(y,(to<<1)+(re?1:0),3),ga(y,jo,aa)):(tl(y,(Co<<1)+(re?1:0),3),Xa(y,y.l_desc.max_code+1,y.d_desc.max_code+1,Ke+1),ga(y,y.dyn_ltree,y.dyn_dtree)),Lu(y),re&&dl(y)},iu=(y,z,E)=>(y.pending_buf[y.sym_buf+y.sym_next++]=z,y.pending_buf[y.sym_buf+y.sym_next++]=z>>8,y.pending_buf[y.sym_buf+y.sym_next++]=E,z===0?y.dyn_ltree[E*2]++:(y.matches++,z--,y.dyn_ltree[(Wa[E]+Vi+1)*2]++,y.dyn_dtree[hs(z)*2]++),y.sym_next===y.sym_end);var Pl=uu,ps=ki,Cu=Ta,pl=iu,Kc=na,IA={_tr_init:Pl,_tr_stored_block:ps,_tr_flush_block:Cu,_tr_tally:pl,_tr_align:Kc},sa=(y,z,E,re)=>{let Ae=y&65535|0,he=y>>>16&65535|0,Ke=0;for(;E!==0;){Ke=E>2e3?2e3:E,E-=Ke;do Ae=Ae+z[re++]|0,he=he+Ae|0;while(--Ke);Ae%=65521,he%=65521}return Ae|he<<16|0};const Wu=()=>{let y,z=[];for(var E=0;E<256;E++){y=E;for(var re=0;re<8;re++)y=y&1?3988292384^y>>>1:y>>>1;z[E]=y}return z},dc=new Uint32Array(Wu());var Ns=(y,z,E,re)=>{const Ae=dc,he=re+E;y^=-1;for(let Ke=re;Ke>>8^Ae[(y^z[Ke])&255];return y^-1},eA={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"},pA={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:_A,_tr_stored_block:bl,_tr_flush_block:Cl,_tr_tally:rl,_tr_align:$l}=IA,{Z_NO_FLUSH:Gl,Z_PARTIAL_FLUSH:Oc,Z_FULL_FLUSH:nd,Z_FINISH:_l,Z_BLOCK:Uu,Z_OK:Pa,Z_STREAM_END:Ua,Z_STREAM_ERROR:Rs,Z_DATA_ERROR:tA,Z_BUF_ERROR:Vl,Z_DEFAULT_COMPRESSION:Au,Z_FILTERED:WA,Z_HUFFMAN_ONLY:gA,Z_RLE:fc,Z_FIXED:Xl,Z_DEFAULT_STRATEGY:mA,Z_UNKNOWN:nc,Z_DEFLATED:rc}=pA,Sd=9,Xf=15,rd=8,Du=256+1+29,_c=30,ic=19,Fd=2*Du+1,Yf=15,Os=3,$u=258,pc=$u+Os+1,Ih=32,$A=42,Lh=57,Id=69,Jf=73,bf=91,Cf=103,GA=113,wa=666,Tl=1,TA=2,id=3,Tc=4,Zp=3,kc=(y,z)=>(y.msg=eA[z],z),qf=y=>y*2-(y>4?9:0),kA=y=>{let z=y.length;for(;--z>=0;)y[z]=0},od=y=>{let z,E,re,Ae=y.w_size;z=y.hash_size,re=z;do E=y.head[--re],y.head[re]=E>=Ae?E-Ae:0;while(--z);z=Ae,re=z;do E=y.prev[--re],y.prev[re]=E>=Ae?E-Ae:0;while(--z)};let gc=(y,z,E)=>(z<{const z=y.state;let E=z.pending;E>y.avail_out&&(E=y.avail_out),E!==0&&(y.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+E),y.next_out),y.next_out+=E,z.pending_out+=E,y.total_out+=E,y.avail_out-=E,z.pending-=E,z.pending===0&&(z.pending_out=0))},nA=(y,z)=>{Cl(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,z),y.block_start=y.strstart,LA(y.strm)},Ks=(y,z)=>{y.pending_buf[y.pending++]=z},mc=(y,z)=>{y.pending_buf[y.pending++]=z>>>8&255,y.pending_buf[y.pending++]=z&255},ad=(y,z,E,re)=>{let Ae=y.avail_in;return Ae>re&&(Ae=re),Ae===0?0:(y.avail_in-=Ae,z.set(y.input.subarray(y.next_in,y.next_in+Ae),E),y.state.wrap===1?y.adler=sa(y.adler,z,Ae,E):y.state.wrap===2&&(y.adler=Ns(y.adler,z,Ae,E)),y.next_in+=Ae,y.total_in+=Ae,Ae)},sd=(y,z)=>{let E=y.max_chain_length,re=y.strstart,Ae,he,Ke=y.prev_length,Pe=y.nice_match;const Ve=y.strstart>y.w_size-pc?y.strstart-(y.w_size-pc):0,Ye=y.window,dt=y.w_mask,Pt=y.prev,Jt=y.strstart+$u;let ut=Ye[re+Ke-1],In=Ye[re+Ke];y.prev_length>=y.good_match&&(E>>=2),Pe>y.lookahead&&(Pe=y.lookahead);do if(Ae=z,!(Ye[Ae+Ke]!==In||Ye[Ae+Ke-1]!==ut||Ye[Ae]!==Ye[re]||Ye[++Ae]!==Ye[re+1])){re+=2,Ae++;do;while(Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&Ye[++re]===Ye[++Ae]&&reKe){if(y.match_start=z,Ke=he,he>=Pe)break;ut=Ye[re+Ke-1],In=Ye[re+Ke]}}while((z=Pt[z&dt])>Ve&&--E!==0);return Ke<=y.lookahead?Ke:y.lookahead},vc=y=>{const z=y.w_size;let E,re,Ae;do{if(re=y.window_size-y.lookahead-y.strstart,y.strstart>=z+(z-pc)&&(y.window.set(y.window.subarray(z,z+z-re),0),y.match_start-=z,y.strstart-=z,y.block_start-=z,y.insert>y.strstart&&(y.insert=y.strstart),od(y),re+=z),y.strm.avail_in===0)break;if(E=ad(y.strm,y.window,y.strstart+y.lookahead,re),y.lookahead+=E,y.lookahead+y.insert>=Os)for(Ae=y.strstart-y.insert,y.ins_h=y.window[Ae],y.ins_h=gc(y,y.ins_h,y.window[Ae+1]);y.insert&&(y.ins_h=gc(y,y.ins_h,y.window[Ae+Os-1]),y.prev[Ae&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=Ae,Ae++,y.insert--,!(y.lookahead+y.insert{let E=y.pending_buf_size-5>y.w_size?y.w_size:y.pending_buf_size-5,re,Ae,he,Ke=0,Pe=y.strm.avail_in;do{if(re=65535,he=y.bi_valid+42>>3,y.strm.avail_outAe+y.strm.avail_in&&(re=Ae+y.strm.avail_in),re>he&&(re=he),re>8,y.pending_buf[y.pending-2]=~re,y.pending_buf[y.pending-1]=~re>>8,LA(y.strm),Ae&&(Ae>re&&(Ae=re),y.strm.output.set(y.window.subarray(y.block_start,y.block_start+Ae),y.strm.next_out),y.strm.next_out+=Ae,y.strm.avail_out-=Ae,y.strm.total_out+=Ae,y.block_start+=Ae,re-=Ae),re&&(ad(y.strm,y.strm.output,y.strm.next_out,re),y.strm.next_out+=re,y.strm.avail_out-=re,y.strm.total_out+=re)}while(Ke===0);return Pe-=y.strm.avail_in,Pe&&(Pe>=y.w_size?(y.matches=2,y.window.set(y.strm.input.subarray(y.strm.next_in-y.w_size,y.strm.next_in),0),y.strstart=y.w_size,y.insert=y.strstart):(y.window_size-y.strstart<=Pe&&(y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,y.insert>y.strstart&&(y.insert=y.strstart)),y.window.set(y.strm.input.subarray(y.strm.next_in-Pe,y.strm.next_in),y.strstart),y.strstart+=Pe,y.insert+=Pe>y.w_size-y.insert?y.w_size-y.insert:Pe),y.block_start=y.strstart),y.high_waterhe&&y.block_start>=y.w_size&&(y.block_start-=y.w_size,y.strstart-=y.w_size,y.window.set(y.window.subarray(y.w_size,y.w_size+y.strstart),0),y.matches<2&&y.matches++,he+=y.w_size,y.insert>y.strstart&&(y.insert=y.strstart)),he>y.strm.avail_in&&(he=y.strm.avail_in),he&&(ad(y.strm,y.window,y.strstart,he),y.strstart+=he,y.insert+=he>y.w_size-y.insert?y.w_size-y.insert:he),y.high_water>3,he=y.pending_buf_size-he>65535?65535:y.pending_buf_size-he,E=he>y.w_size?y.w_size:he,Ae=y.strstart-y.block_start,(Ae>=E||(Ae||z===_l)&&z!==Gl&&y.strm.avail_in===0&&Ae<=he)&&(re=Ae>he?he:Ae,Ke=z===_l&&y.strm.avail_in===0&&re===Ae?1:0,bl(y,y.block_start,re,Ke),y.block_start+=re,LA(y.strm)),Ke?id:Tl)},xf=(y,z)=>{let E,re;for(;;){if(y.lookahead=Os&&(y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),E!==0&&y.strstart-E<=y.w_size-pc&&(y.match_length=sd(y,E)),y.match_length>=Os)if(re=rl(y,y.strstart-y.match_start,y.match_length-Os),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=Os){y.match_length--;do y.strstart++,y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart;while(--y.match_length!==0);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=gc(y,y.ins_h,y.window[y.strstart+1]);else re=rl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(re&&(nA(y,!1),y.strm.avail_out===0))return Tl}return y.insert=y.strstart{let E,re,Ae;for(;;){if(y.lookahead=Os&&(y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=Os-1,E!==0&&y.prev_length4096)&&(y.match_length=Os-1)),y.prev_length>=Os&&y.match_length<=y.prev_length){Ae=y.strstart+y.lookahead-Os,re=rl(y,y.strstart-1-y.prev_match,y.prev_length-Os),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=Ae&&(y.ins_h=gc(y,y.ins_h,y.window[y.strstart+Os-1]),E=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart);while(--y.prev_length!==0);if(y.match_available=0,y.match_length=Os-1,y.strstart++,re&&(nA(y,!1),y.strm.avail_out===0))return Tl}else if(y.match_available){if(re=rl(y,0,y.window[y.strstart-1]),re&&nA(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return Tl}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(re=rl(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart{let E,re,Ae,he;const Ke=y.window;for(;;){if(y.lookahead<=$u){if(vc(y),y.lookahead<=$u&&z===Gl)return Tl;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=Os&&y.strstart>0&&(Ae=y.strstart-1,re=Ke[Ae],re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae])){he=y.strstart+$u;do;while(re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&re===Ke[++Ae]&&Aey.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=Os?(E=rl(y,1,y.match_length-Os),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(E=rl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),E&&(nA(y,!1),y.strm.avail_out===0))return Tl}return y.insert=0,z===_l?(nA(y,!0),y.strm.avail_out===0?id:Tc):y.sym_next&&(nA(y,!1),y.strm.avail_out===0)?Tl:TA},$p=(y,z)=>{let E;for(;;){if(y.lookahead===0&&(vc(y),y.lookahead===0)){if(z===Gl)return Tl;break}if(y.match_length=0,E=rl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,E&&(nA(y,!1),y.strm.avail_out===0))return Tl}return y.insert=0,z===_l?(nA(y,!0),y.strm.avail_out===0?id:Tc):y.sym_next&&(nA(y,!1),y.strm.avail_out===0)?Tl:TA};function rA(y,z,E,re,Ae){this.good_length=y,this.max_lazy=z,this.nice_length=E,this.max_chain=re,this.func=Ae}const yc=[new rA(0,0,0,0,Mc),new rA(4,4,8,4,xf),new rA(4,5,16,8,xf),new rA(4,6,32,32,xf),new rA(4,4,16,16,Ld),new rA(8,16,32,32,Ld),new rA(8,16,128,128,Ld),new rA(8,32,128,256,Ld),new rA(32,128,258,1024,Ld),new rA(32,258,258,4096,Ld)],ip=y=>{y.window_size=2*y.w_size,kA(y.head),y.max_lazy_match=yc[y.level].max_lazy,y.good_match=yc[y.level].good_length,y.nice_match=yc[y.level].nice_length,y.max_chain_length=yc[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=Os-1,y.match_available=0,y.ins_h=0};function Gp(){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=rc,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Fd*2),this.dyn_dtree=new Uint16Array((2*_c+1)*2),this.bl_tree=new Uint16Array((2*ic+1)*2),kA(this.dyn_ltree),kA(this.dyn_dtree),kA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Yf+1),this.heap=new Uint16Array(2*Du+1),kA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Du+1),kA(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Xd=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.status!==$A&&z.status!==Lh&&z.status!==Id&&z.status!==Jf&&z.status!==bf&&z.status!==Cf&&z.status!==GA&&z.status!==wa?1:0},op=y=>{if(Xd(y))return kc(y,Rs);y.total_in=y.total_out=0,y.data_type=nc;const z=y.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?Lh:z.wrap?$A:GA,y.adler=z.wrap===2?0:1,z.last_flush=-2,_A(z),Pa},Yd=y=>{const z=op(y);return z===Pa&&ip(y.state),z},Vp=(y,z)=>Xd(y)||y.state.wrap!==2?Rs:(y.state.gzhead=z,Pa),iA=(y,z,E,re,Ae,he)=>{if(!y)return Rs;let Ke=1;if(z===Au&&(z=6),re<0?(Ke=0,re=-re):re>15&&(Ke=2,re-=16),Ae<1||Ae>Sd||E!==rc||re<8||re>15||z<0||z>9||he<0||he>Xl||re===8&&Ke!==1)return kc(y,Rs);re===8&&(re=9);const Pe=new Gp;return y.state=Pe,Pe.strm=y,Pe.status=$A,Pe.wrap=Ke,Pe.gzhead=null,Pe.w_bits=re,Pe.w_size=1<iA(y,z,rc,Xf,rd,mA),oA=(y,z)=>{if(Xd(y)||z>Uu||z<0)return y?kc(y,Rs):Rs;const E=y.state;if(!y.output||y.avail_in!==0&&!y.input||E.status===wa&&z!==_l)return kc(y,y.avail_out===0?Vl:Rs);const re=E.last_flush;if(E.last_flush=z,E.pending!==0){if(LA(y),y.avail_out===0)return E.last_flush=-1,Pa}else if(y.avail_in===0&&qf(z)<=qf(re)&&z!==_l)return kc(y,Vl);if(E.status===wa&&y.avail_in!==0)return kc(y,Vl);if(E.status===$A&&E.wrap===0&&(E.status=GA),E.status===$A){let Ae=rc+(E.w_bits-8<<4)<<8,he=-1;if(E.strategy>=gA||E.level<2?he=0:E.level<6?he=1:E.level===6?he=2:he=3,Ae|=he<<6,E.strstart!==0&&(Ae|=Ih),Ae+=31-Ae%31,mc(E,Ae),E.strstart!==0&&(mc(E,y.adler>>>16),mc(E,y.adler&65535)),y.adler=1,E.status=GA,LA(y),E.pending!==0)return E.last_flush=-1,Pa}if(E.status===Lh){if(y.adler=0,Ks(E,31),Ks(E,139),Ks(E,8),E.gzhead)Ks(E,(E.gzhead.text?1:0)+(E.gzhead.hcrc?2:0)+(E.gzhead.extra?4:0)+(E.gzhead.name?8:0)+(E.gzhead.comment?16:0)),Ks(E,E.gzhead.time&255),Ks(E,E.gzhead.time>>8&255),Ks(E,E.gzhead.time>>16&255),Ks(E,E.gzhead.time>>24&255),Ks(E,E.level===9?2:E.strategy>=gA||E.level<2?4:0),Ks(E,E.gzhead.os&255),E.gzhead.extra&&E.gzhead.extra.length&&(Ks(E,E.gzhead.extra.length&255),Ks(E,E.gzhead.extra.length>>8&255)),E.gzhead.hcrc&&(y.adler=Ns(y.adler,E.pending_buf,E.pending,0)),E.gzindex=0,E.status=Id;else if(Ks(E,0),Ks(E,0),Ks(E,0),Ks(E,0),Ks(E,0),Ks(E,E.level===9?2:E.strategy>=gA||E.level<2?4:0),Ks(E,Zp),E.status=GA,LA(y),E.pending!==0)return E.last_flush=-1,Pa}if(E.status===Id){if(E.gzhead.extra){let Ae=E.pending,he=(E.gzhead.extra.length&65535)-E.gzindex;for(;E.pending+he>E.pending_buf_size;){let Pe=E.pending_buf_size-E.pending;if(E.pending_buf.set(E.gzhead.extra.subarray(E.gzindex,E.gzindex+Pe),E.pending),E.pending=E.pending_buf_size,E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),E.gzindex+=Pe,LA(y),E.pending!==0)return E.last_flush=-1,Pa;Ae=0,he-=Pe}let Ke=new Uint8Array(E.gzhead.extra);E.pending_buf.set(Ke.subarray(E.gzindex,E.gzindex+he),E.pending),E.pending+=he,E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),E.gzindex=0}E.status=Jf}if(E.status===Jf){if(E.gzhead.name){let Ae=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),LA(y),E.pending!==0)return E.last_flush=-1,Pa;Ae=0}E.gzindexAe&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),E.gzindex=0}E.status=bf}if(E.status===bf){if(E.gzhead.comment){let Ae=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>Ae&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae)),LA(y),E.pending!==0)return E.last_flush=-1,Pa;Ae=0}E.gzindexAe&&(y.adler=Ns(y.adler,E.pending_buf,E.pending-Ae,Ae))}E.status=Cf}if(E.status===Cf){if(E.gzhead.hcrc){if(E.pending+2>E.pending_buf_size&&(LA(y),E.pending!==0))return E.last_flush=-1,Pa;Ks(E,y.adler&255),Ks(E,y.adler>>8&255),y.adler=0}if(E.status=GA,LA(y),E.pending!==0)return E.last_flush=-1,Pa}if(y.avail_in!==0||E.lookahead!==0||z!==Gl&&E.status!==wa){let Ae=E.level===0?Mc(E,z):E.strategy===gA?$p(E,z):E.strategy===fc?Dh(E,z):yc[E.level].func(E,z);if((Ae===id||Ae===Tc)&&(E.status=wa),Ae===Tl||Ae===id)return y.avail_out===0&&(E.last_flush=-1),Pa;if(Ae===TA&&(z===Oc?$l(E):z!==Uu&&(bl(E,0,0,!1),z===nd&&(kA(E.head),E.lookahead===0&&(E.strstart=0,E.block_start=0,E.insert=0))),LA(y),y.avail_out===0))return E.last_flush=-1,Pa}return z!==_l?Pa:E.wrap<=0?Ua:(E.wrap===2?(Ks(E,y.adler&255),Ks(E,y.adler>>8&255),Ks(E,y.adler>>16&255),Ks(E,y.adler>>24&255),Ks(E,y.total_in&255),Ks(E,y.total_in>>8&255),Ks(E,y.total_in>>16&255),Ks(E,y.total_in>>24&255)):(mc(E,y.adler>>>16),mc(E,y.adler&65535)),LA(y),E.wrap>0&&(E.wrap=-E.wrap),E.pending!==0?Pa:Ua)},Ou=y=>{if(Xd(y))return Rs;const z=y.state.status;return y.state=null,z===GA?kc(y,tA):Pa},ld=(y,z)=>{let E=z.length;if(Xd(y))return Rs;const re=y.state,Ae=re.wrap;if(Ae===2||Ae===1&&re.status!==$A||re.lookahead)return Rs;if(Ae===1&&(y.adler=sa(y.adler,z,E,0)),re.wrap=0,E>=re.w_size){Ae===0&&(kA(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Ve=new Uint8Array(re.w_size);Ve.set(z.subarray(E-re.w_size,E),0),z=Ve,E=re.w_size}const he=y.avail_in,Ke=y.next_in,Pe=y.input;for(y.avail_in=E,y.next_in=0,y.input=z,vc(re);re.lookahead>=Os;){let Ve=re.strstart,Ye=re.lookahead-(Os-1);do re.ins_h=gc(re,re.ins_h,re.window[Ve+Os-1]),re.prev[Ve&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Ve,Ve++;while(--Ye);re.strstart=Ve,re.lookahead=Os-1,vc(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Os-1,re.match_available=0,y.next_in=Ke,y.input=Pe,y.avail_in=he,re.wrap=Ae,Pa};var Jd=Nu,Bf=iA,ap=Yd,sp=op,lp=Vp,eh=oA,wc=Ou,Dd=ld,up="pako deflate (from Nodeca project)",wt={deflateInit:Jd,deflateInit2:Bf,deflateReset:ap,deflateResetKeep:sp,deflateSetHeader:lp,deflate:eh,deflateEnd:wc,deflateSetDictionary:Dd,deflateInfo:up};const vt=(y,z)=>Object.prototype.hasOwnProperty.call(y,z);var Gt=function(y){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const E=z.shift();if(E){if(typeof E!="object")throw new TypeError(E+"must be non-object");for(const re in E)vt(E,re)&&(y[re]=E[re])}}return y},An=y=>{let z=0;for(let re=0,Ae=y.length;re=252?6:y>=248?5:y>=240?4:y>=224?3:y>=192?2:1;or[254]=or[254]=1;var er=y=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(y);let z,E,re,Ae,he,Ke=y.length,Pe=0;for(Ae=0;Ae>>6,z[he++]=128|E&63):E<65536?(z[he++]=224|E>>>12,z[he++]=128|E>>>6&63,z[he++]=128|E&63):(z[he++]=240|E>>>18,z[he++]=128|E>>>12&63,z[he++]=128|E>>>6&63,z[he++]=128|E&63);return z};const Cr=(y,z)=>{if(z<65534&&y.subarray&&Tn)return String.fromCharCode.apply(null,y.length===z?y:y.subarray(0,z));let E="";for(let re=0;re{const E=z||y.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(y.subarray(0,z));let re,Ae;const he=new Array(E*2);for(Ae=0,re=0;re4){he[Ae++]=65533,re+=Pe-1;continue}for(Ke&=Pe===2?31:Pe===3?15:7;Pe>1&&re1){he[Ae++]=65533;continue}Ke<65536?he[Ae++]=Ke:(Ke-=65536,he[Ae++]=55296|Ke>>10&1023,he[Ae++]=56320|Ke&1023)}return Cr(he,Ae)},ui=(y,z)=>{z=z||y.length,z>y.length&&(z=y.length);let E=z-1;for(;E>=0&&(y[E]&192)===128;)E--;return E<0||E===0?z:E+or[y[E]]>z?E:z},jr={string2buf:er,buf2string:hr,utf8border:ui};function Qr(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Or=Qr;const Dr=Object.prototype.toString,{Z_NO_FLUSH:$i,Z_SYNC_FLUSH:bi,Z_FULL_FLUSH:qi,Z_FINISH:so,Z_OK:Ji,Z_STREAM_END:ho,Z_DEFAULT_COMPRESSION:Bo,Z_DEFAULT_STRATEGY:Qo,Z_DEFLATED:To}=pA;function La(y){this.options=Sn.assign({level:Bo,method:To,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qo},y||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Or,this.strm.avail_out=0;let E=wt.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(E!==Ji)throw new Error(eA[E]);if(z.header&&wt.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=jr.string2buf(z.dictionary):Dr.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,E=wt.deflateSetDictionary(this.strm,re),E!==Ji)throw new Error(eA[E]);this._dict_set=!0}}La.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize;let Ae,he;if(this.ended)return!1;for(z===~~z?he=z:he=z===!0?so:$i,typeof y=="string"?E.input=jr.string2buf(y):Dr.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){if(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),(he===bi||he===qi)&&E.avail_out<=6){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(Ae=wt.deflate(E,he),Ae===ho)return E.next_out>0&&this.onData(E.output.subarray(0,E.next_out)),Ae=wt.deflateEnd(this.strm),this.onEnd(Ae),this.ended=!0,Ae===Ji;if(E.avail_out===0){this.onData(E.output);continue}if(he>0&&E.next_out>0){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(E.avail_in===0)break}return!0},La.prototype.onData=function(y){this.chunks.push(y)},La.prototype.onEnd=function(y){y===Ji&&(this.result=Sn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function la(y,z){const E=new La(z);if(E.push(y,!0),E.err)throw E.msg||eA[E.err];return E.result}function ta(y,z){return z=z||{},z.raw=!0,la(y,z)}function Ko(y,z){return z=z||{},z.gzip=!0,la(y,z)}var Ho=La,zo=la,vo=ta,fo=Ko,ko=pA,$o={Deflate:Ho,deflate:zo,deflateRaw:vo,gzip:fo,constants:ko};const ra=16209,xo=16191;var Ja=function(z,E){let re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn,cn,wr,lr,Zn,Ai,Qi,Ii,Nr,Gn,Gr;const un=z.state;re=z.next_in,Gn=z.input,Ae=re+(z.avail_in-5),he=z.next_out,Gr=z.output,Ke=he-(E-z.avail_out),Pe=he+(z.avail_out-257),Ve=un.dmax,Ye=un.wsize,dt=un.whave,Pt=un.wnext,Jt=un.window,ut=un.hold,In=un.bits,Cn=un.lencode,Nn=un.distcode,cn=(1<>>24,ut>>>=Zn,In-=Zn,Zn=lr>>>16&255,Zn===0)Gr[he++]=lr&65535;else if(Zn&16){Ai=lr&65535,Zn&=15,Zn&&(In>>=Zn,In-=Zn),In<15&&(ut+=Gn[re++]<>>24,ut>>>=Zn,In-=Zn,Zn=lr>>>16&255,Zn&16){if(Qi=lr&65535,Zn&=15,InVe){z.msg="invalid distance too far back",un.mode=ra;break e}if(ut>>>=Zn,In-=Zn,Zn=he-Ke,Qi>Zn){if(Zn=Qi-Zn,Zn>dt&&un.sane){z.msg="invalid distance too far back",un.mode=ra;break e}if(Ii=0,Nr=Jt,Pt===0){if(Ii+=Ye-Zn,Zn2;)Gr[he++]=Nr[Ii++],Gr[he++]=Nr[Ii++],Gr[he++]=Nr[Ii++],Ai-=3;Ai&&(Gr[he++]=Nr[Ii++],Ai>1&&(Gr[he++]=Nr[Ii++]))}else{Ii=he-Qi;do Gr[he++]=Gr[Ii++],Gr[he++]=Gr[Ii++],Gr[he++]=Gr[Ii++],Ai-=3;while(Ai>2);Ai&&(Gr[he++]=Gr[Ii++],Ai>1&&(Gr[he++]=Gr[Ii++]))}}else if(Zn&64){z.msg="invalid distance code",un.mode=ra;break e}else{lr=Nn[(lr&65535)+(ut&(1<>3,re-=Ai,In-=Ai<<3,ut&=(1<{const Ve=Pe.bits;let Ye=0,dt=0,Pt=0,Jt=0,ut=0,In=0,Cn=0,Nn=0,cn=0,wr=0,lr,Zn,Ai,Qi,Ii,Nr=null,Gn;const Gr=new Uint16Array(za+1),un=new Uint16Array(za+1);let On=null,mr,dr,pi;for(Ye=0;Ye<=za;Ye++)Gr[Ye]=0;for(dt=0;dt=1&&Gr[Jt]===0;Jt--);if(ut>Jt&&(ut=Jt),Jt===0)return Ae[he++]=1<<24|64<<16|0,Ae[he++]=1<<24|64<<16|0,Pe.bits=1,0;for(Pt=1;Pt0&&(y===ol||Jt!==1))return-1;for(un[1]=0,Ye=1;YeDl||y===Yl&&cn>xl)return 1;for(;;){mr=Ye-Cn,Ke[dt]+1=Gn?(dr=On[Ke[dt]-Gn],pi=Nr[Ke[dt]-Gn]):(dr=96,pi=0),lr=1<>Cn)+Zn]=mr<<24|dr<<16|pi|0;while(Zn!==0);for(lr=1<>=1;if(lr!==0?(wr&=lr-1,wr+=lr):wr=0,dt++,--Gr[Ye]===0){if(Ye===Jt)break;Ye=z[E+Ke[dt]]}if(Ye>ut&&(wr&Qi)!==Ai){for(Cn===0&&(Cn=ut),Ii+=Pt,In=Ye-Cn,Nn=1<Dl||y===Yl&&cn>xl)return 1;Ai=wr&Qi,Ae[Ai]=ut<<24|In<<16|Ii-he|0}}return wr!==0&&(Ae[Ii+wr]=Ye-Cn<<24|64<<16|0),Pe.bits=ut,0};const Go=0,Po=1,As=2,{Z_FINISH:Es,Z_BLOCK:Vs,Z_TREES:Zs,Z_OK:al,Z_STREAM_END:hu,Z_NEED_DICT:ua,Z_STREAM_ERROR:ea,Z_DATA_ERROR:bs,Z_MEM_ERROR:qs,Z_BUF_ERROR:Xs,Z_DEFLATED:pu}=pA,Nl=16180,aA=16181,Bl=16182,gs=16183,sl=16184,ll=16185,du=16186,Ol=16187,ms=16188,gl=16189,Ss=16190,ml=16191,Jl=16192,Pu=16193,_u=16194,VA=16195,ul=16196,Nd=16197,Ru=16198,Gu=16199,ju=16200,Vu=16201,Al=16202,vA=16203,bc=16204,MA=16205,XA=16206,qd=16207,ef=16208,Fs=16209,ud=16210,Ef=16211,Ka=852,cs=592,ou=15,Bu=y=>(y>>>24&255)+(y>>>8&65280)+((y&65280)<<8)+((y&255)<<24);function Eu(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Xu=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.modeEf?1:0},Qu=y=>{if(Xu(y))return ea;const z=y.state;return y.total_in=y.total_out=z.total=0,y.msg="",z.wrap&&(y.adler=z.wrap&1),z.mode=Nl,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(Ka),z.distcode=z.distdyn=new Int32Array(cs),z.sane=1,z.back=-1,al},Zc=y=>{if(Xu(y))return ea;const z=y.state;return z.wsize=0,z.whave=0,z.wnext=0,Qu(y)},Sf=(y,z)=>{let E;if(Xu(y))return ea;const re=y.state;return z<0?(E=0,z=-z):(E=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?ea:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=E,re.wbits=z,Zc(y))},Wc=(y,z)=>{if(!y)return ea;const E=new Eu;y.state=E,E.strm=y,E.window=null,E.mode=Nl;const re=Sf(y,z);return re!==al&&(y.state=null),re},$c=y=>Wc(y,ou);let gu=!0,UA,tf;const Ff=y=>{if(gu){UA=new Int32Array(512),tf=new Int32Array(32);let z=0;for(;z<144;)y.lens[z++]=8;for(;z<256;)y.lens[z++]=9;for(;z<280;)y.lens[z++]=7;for(;z<288;)y.lens[z++]=8;for(xa(Po,y.lens,0,288,UA,0,y.work,{bits:9}),z=0;z<32;)y.lens[z++]=5;xa(As,y.lens,0,32,tf,0,y.work,{bits:5}),gu=!1}y.lencode=UA,y.lenbits=9,y.distcode=tf,y.distbits=5},nf=(y,z,E,re)=>{let Ae;const he=y.state;return he.window===null&&(he.wsize=1<=he.wsize?(he.window.set(z.subarray(E-he.wsize,E),0),he.wnext=0,he.whave=he.wsize):(Ae=he.wsize-he.wnext,Ae>re&&(Ae=re),he.window.set(z.subarray(E-re,E-re+Ae),he.wnext),re-=Ae,re?(he.window.set(z.subarray(E-re,E),0),he.wnext=re,he.whave=he.wsize):(he.wnext+=Ae,he.wnext===he.wsize&&(he.wnext=0),he.whave{let E,re,Ae,he,Ke,Pe,Ve,Ye,dt,Pt,Jt,ut,In,Cn,Nn=0,cn,wr,lr,Zn,Ai,Qi,Ii,Nr;const Gn=new Uint8Array(4);let Gr,un;const On=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Xu(y)||!y.output||!y.input&&y.avail_in!==0)return ea;E=y.state,E.mode===ml&&(E.mode=Jl),Ke=y.next_out,Ae=y.output,Ve=y.avail_out,he=y.next_in,re=y.input,Pe=y.avail_in,Ye=E.hold,dt=E.bits,Pt=Pe,Jt=Ve,Nr=al;e:for(;;)switch(E.mode){case Nl:if(E.wrap===0){E.mode=Jl;break}for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>8&255,E.check=Ns(E.check,Gn,2,0),Ye=0,dt=0,E.mode=aA;break}if(E.head&&(E.head.done=!1),!(E.wrap&1)||(((Ye&255)<<8)+(Ye>>8))%31){y.msg="incorrect header check",E.mode=Fs;break}if((Ye&15)!==pu){y.msg="unknown compression method",E.mode=Fs;break}if(Ye>>>=4,dt-=4,Ii=(Ye&15)+8,E.wbits===0&&(E.wbits=Ii),Ii>15||Ii>E.wbits){y.msg="invalid window size",E.mode=Fs;break}E.dmax=1<>8&1),E.flags&512&&E.wrap&4&&(Gn[0]=Ye&255,Gn[1]=Ye>>>8&255,E.check=Ns(E.check,Gn,2,0)),Ye=0,dt=0,E.mode=Bl;case Bl:for(;dt<32;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>8&255,Gn[2]=Ye>>>16&255,Gn[3]=Ye>>>24&255,E.check=Ns(E.check,Gn,4,0)),Ye=0,dt=0,E.mode=gs;case gs:for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>8),E.flags&512&&E.wrap&4&&(Gn[0]=Ye&255,Gn[1]=Ye>>>8&255,E.check=Ns(E.check,Gn,2,0)),Ye=0,dt=0,E.mode=sl;case sl:if(E.flags&1024){for(;dt<16;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>8&255,E.check=Ns(E.check,Gn,2,0)),Ye=0,dt=0}else E.head&&(E.head.extra=null);E.mode=ll;case ll:if(E.flags&1024&&(ut=E.length,ut>Pe&&(ut=Pe),ut&&(E.head&&(Ii=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Uint8Array(E.head.extra_len)),E.head.extra.set(re.subarray(he,he+ut),Ii)),E.flags&512&&E.wrap&4&&(E.check=Ns(E.check,re,ut,he)),Pe-=ut,he+=ut,E.length-=ut),E.length))break e;E.length=0,E.mode=du;case du:if(E.flags&2048){if(Pe===0)break e;ut=0;do Ii=re[he+ut++],E.head&&Ii&&E.length<65536&&(E.head.name+=String.fromCharCode(Ii));while(Ii&&ut>9&1,E.head.done=!0),y.adler=E.check=0,E.mode=ml;break;case gl:for(;dt<32;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>=dt&7,dt-=dt&7,E.mode=XA;break}for(;dt<3;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>=1,dt-=1,Ye&3){case 0:E.mode=Pu;break;case 1:if(Ff(E),E.mode=Gu,z===Zs){Ye>>>=2,dt-=2;break e}break;case 2:E.mode=ul;break;case 3:y.msg="invalid block type",E.mode=Fs}Ye>>>=2,dt-=2;break;case Pu:for(Ye>>>=dt&7,dt-=dt&7;dt<32;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>16^65535)){y.msg="invalid stored block lengths",E.mode=Fs;break}if(E.length=Ye&65535,Ye=0,dt=0,E.mode=_u,z===Zs)break e;case _u:E.mode=VA;case VA:if(ut=E.length,ut){if(ut>Pe&&(ut=Pe),ut>Ve&&(ut=Ve),ut===0)break e;Ae.set(re.subarray(he,he+ut),Ke),Pe-=ut,he+=ut,Ve-=ut,Ke+=ut,E.length-=ut;break}E.mode=ml;break;case ul:for(;dt<14;){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>=5,dt-=5,E.ndist=(Ye&31)+1,Ye>>>=5,dt-=5,E.ncode=(Ye&15)+4,Ye>>>=4,dt-=4,E.nlen>286||E.ndist>30){y.msg="too many length or distance symbols",E.mode=Fs;break}E.have=0,E.mode=Nd;case Nd:for(;E.have>>=3,dt-=3}for(;E.have<19;)E.lens[On[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,Gr={bits:E.lenbits},Nr=xa(Go,E.lens,0,19,E.lencode,0,E.work,Gr),E.lenbits=Gr.bits,Nr){y.msg="invalid code lengths set",E.mode=Fs;break}E.have=0,E.mode=Ru;case Ru:for(;E.have>>24,wr=Nn>>>16&255,lr=Nn&65535,!(cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>=cn,dt-=cn,E.lens[E.have++]=lr;else{if(lr===16){for(un=cn+2;dt>>=cn,dt-=cn,E.have===0){y.msg="invalid bit length repeat",E.mode=Fs;break}Ii=E.lens[E.have-1],ut=3+(Ye&3),Ye>>>=2,dt-=2}else if(lr===17){for(un=cn+3;dt>>=cn,dt-=cn,Ii=0,ut=3+(Ye&7),Ye>>>=3,dt-=3}else{for(un=cn+7;dt>>=cn,dt-=cn,Ii=0,ut=11+(Ye&127),Ye>>>=7,dt-=7}if(E.have+ut>E.nlen+E.ndist){y.msg="invalid bit length repeat",E.mode=Fs;break}for(;ut--;)E.lens[E.have++]=Ii}}if(E.mode===Fs)break;if(E.lens[256]===0){y.msg="invalid code -- missing end-of-block",E.mode=Fs;break}if(E.lenbits=9,Gr={bits:E.lenbits},Nr=xa(Po,E.lens,0,E.nlen,E.lencode,0,E.work,Gr),E.lenbits=Gr.bits,Nr){y.msg="invalid literal/lengths set",E.mode=Fs;break}if(E.distbits=6,E.distcode=E.distdyn,Gr={bits:E.distbits},Nr=xa(As,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,Gr),E.distbits=Gr.bits,Nr){y.msg="invalid distances set",E.mode=Fs;break}if(E.mode=Gu,z===Zs)break e;case Gu:E.mode=ju;case ju:if(Pe>=6&&Ve>=258){y.next_out=Ke,y.avail_out=Ve,y.next_in=he,y.avail_in=Pe,E.hold=Ye,E.bits=dt,Ja(y,Jt),Ke=y.next_out,Ae=y.output,Ve=y.avail_out,he=y.next_in,re=y.input,Pe=y.avail_in,Ye=E.hold,dt=E.bits,E.mode===ml&&(E.back=-1);break}for(E.back=0;Nn=E.lencode[Ye&(1<>>24,wr=Nn>>>16&255,lr=Nn&65535,!(cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<>Zn)],cn=Nn>>>24,wr=Nn>>>16&255,lr=Nn&65535,!(Zn+cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>=Zn,dt-=Zn,E.back+=Zn}if(Ye>>>=cn,dt-=cn,E.back+=cn,E.length=lr,wr===0){E.mode=MA;break}if(wr&32){E.back=-1,E.mode=ml;break}if(wr&64){y.msg="invalid literal/length code",E.mode=Fs;break}E.extra=wr&15,E.mode=Vu;case Vu:if(E.extra){for(un=E.extra;dt>>=E.extra,dt-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=Al;case Al:for(;Nn=E.distcode[Ye&(1<>>24,wr=Nn>>>16&255,lr=Nn&65535,!(cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<>Zn)],cn=Nn>>>24,wr=Nn>>>16&255,lr=Nn&65535,!(Zn+cn<=dt);){if(Pe===0)break e;Pe--,Ye+=re[he++]<>>=Zn,dt-=Zn,E.back+=Zn}if(Ye>>>=cn,dt-=cn,E.back+=cn,wr&64){y.msg="invalid distance code",E.mode=Fs;break}E.offset=lr,E.extra=wr&15,E.mode=vA;case vA:if(E.extra){for(un=E.extra;dt>>=E.extra,dt-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){y.msg="invalid distance too far back",E.mode=Fs;break}E.mode=bc;case bc:if(Ve===0)break e;if(ut=Jt-Ve,E.offset>ut){if(ut=E.offset-ut,ut>E.whave&&E.sane){y.msg="invalid distance too far back",E.mode=Fs;break}ut>E.wnext?(ut-=E.wnext,In=E.wsize-ut):In=E.wnext-ut,ut>E.length&&(ut=E.length),Cn=E.window}else Cn=Ae,In=Ke-E.offset,ut=E.length;ut>Ve&&(ut=Ve),Ve-=ut,E.length-=ut;do Ae[Ke++]=Cn[In++];while(--ut);E.length===0&&(E.mode=ju);break;case MA:if(Ve===0)break e;Ae[Ke++]=E.length,Ve--,E.mode=ju;break;case XA:if(E.wrap){for(;dt<32;){if(Pe===0)break e;Pe--,Ye|=re[he++]<{if(Xu(y))return ea;let z=y.state;return z.window&&(z.window=null),y.state=null,al},th=(y,z)=>{if(Xu(y))return ea;const E=y.state;return E.wrap&2?(E.head=z,z.done=!1,al):ea},Ap=(y,z)=>{const E=z.length;let re,Ae,he;return Xu(y)||(re=y.state,re.wrap!==0&&re.mode!==Ss)?ea:re.mode===Ss&&(Ae=1,Ae=sa(Ae,z,E,0),Ae!==re.check)?bs:(he=nf(y,z,E,E),he?(re.mode=ud,qs):(re.havedict=1,al))};var nh=Zc,rf=Sf,cp=Qu,dp=$c,of=Wc,Lf=If,Od=Gc,Df=th,Pd=Ap,af="pako inflate (from Nodeca project)",Cc={inflateReset:nh,inflateReset2:rf,inflateResetKeep:cp,inflateInit:dp,inflateInit2:of,inflate:Lf,inflateEnd:Od,inflateGetHeader:Df,inflateSetDictionary:Pd,inflateInfo:af};function rh(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ih=rh;const Nh=Object.prototype.toString,{Z_NO_FLUSH:Ad,Z_FINISH:xc,Z_OK:Bc,Z_STREAM_END:_d,Z_NEED_DICT:cd,Z_STREAM_ERROR:Oh,Z_DATA_ERROR:ds,Z_MEM_ERROR:Is}=pA;function mu(y){this.options=Sn.assign({chunkSize:1024*64,windowBits:15,to:""},y||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(y&&y.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Or,this.strm.avail_out=0;let E=Cc.inflateInit2(this.strm,z.windowBits);if(E!==Bc)throw new Error(eA[E]);if(this.header=new ih,Cc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=jr.string2buf(z.dictionary):Nh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(E=Cc.inflateSetDictionary(this.strm,z.dictionary),E!==Bc)))throw new Error(eA[E])}mu.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize,Ae=this.options.dictionary;let he,Ke,Pe;if(this.ended)return!1;for(z===~~z?Ke=z:Ke=z===!0?xc:Ad,Nh.call(y)==="[object ArrayBuffer]"?E.input=new Uint8Array(y):E.input=y,E.next_in=0,E.avail_in=E.input.length;;){for(E.avail_out===0&&(E.output=new Uint8Array(re),E.next_out=0,E.avail_out=re),he=Cc.inflate(E,Ke),he===cd&&Ae&&(he=Cc.inflateSetDictionary(E,Ae),he===Bc?he=Cc.inflate(E,Ke):he===ds&&(he=cd));E.avail_in>0&&he===_d&&E.state.wrap>0&&y[E.next_in]!==0;)Cc.inflateReset(E),he=Cc.inflate(E,Ke);switch(he){case Oh:case ds:case cd:case Is:return this.onEnd(he),this.ended=!0,!1}if(Pe=E.avail_out,E.next_out&&(E.avail_out===0||he===_d))if(this.options.to==="string"){let Ve=jr.utf8border(E.output,E.next_out),Ye=E.next_out-Ve,dt=jr.buf2string(E.output,Ve);E.next_out=Ye,E.avail_out=re-Ye,Ye&&E.output.set(E.output.subarray(Ve,Ve+Ye),0),this.onData(dt)}else this.onData(E.output.length===E.next_out?E.output:E.output.subarray(0,E.next_out));if(!(he===Bc&&Pe===0)){if(he===_d)return he=Cc.inflateEnd(this.strm),this.onEnd(he),this.ended=!0,!0;if(E.avail_in===0)break}}return!0},mu.prototype.onData=function(y){this.chunks.push(y)},mu.prototype.onEnd=function(y){y===Bc&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Sn.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function Hu(y,z){const E=new mu(z);if(E.push(y),E.err)throw E.msg||eA[E.err];return E.result}function zu(y,z){return z=z||{},z.raw=!0,Hu(y,z)}var dd=mu,Vc=Hu,Uc=zu,fd=Hu,Xc=pA,Ph={Inflate:dd,inflate:Vc,inflateRaw:Uc,ungzip:fd,constants:Xc};const{Deflate:hd,deflate:Xp,deflateRaw:_h,gzip:mg}=$o,{Inflate:vg,inflate:Yp,inflateRaw:Ml,ungzip:Jp}=Ph;var Th=hd,sf=Xp,Ec=_h,oh=mg,ah=vg,Nf=Yp,sh=Ml,fp=Jp,hp=pA,yg={Deflate:Th,deflate:sf,deflateRaw:Ec,gzip:oh,Inflate:ah,inflate:Nf,inflateRaw:sh,ungzip:fp,constants:hp};const pp=[];for(let y=0;y<256;y++){let z=y;for(let E=0;E<8;E++)z&1?z=3988292384^z>>>1:z=z>>>1;pp[y]=z}const lh=4294967295;function qp(y,z,E){let re=y;for(let Ae=0;Ae>>8;return re}function vl(y,z){return(qp(lh,y,z)^lh)>>>0}function Td(y,z,E){const re=y.readUint32(),Ae=vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z-4,z),z);if(Ae!==re)throw new Error(`CRC mismatch for chunk ${E}. Expected ${re}, found ${Ae}`)}function wg(y,z){y.writeUint32(vl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z,z),z))}function Ul(y,z,E){for(let re=0;re>1)&255}else{for(;he>1)&255;for(;he>1)&255}}function El(y,z,E,re,Ae){let he=0;if(E.length===0){for(;he=E||Qi>=re))for(let Ii=0;Ii>8&255}const te=new Uint16Array([255]),De=new Uint8Array(te.buffer)[0]===255,qe=new Uint8Array(0);function mt(y){const{data:z,width:E,height:re,channels:Ae,depth:he}=y,Ke=Math.ceil(he/8)*Ae,Pe=Math.ceil(he/8*Ae*E),Ve=new Uint8Array(re*Pe);let Ye=qe,dt=0,Pt,Jt;for(let ut=0;ut>8&255}const Dt=Uint8Array.of(137,80,78,71,13,10,26,10);function Ln(y){y.writeBytes(Dt)}function Qn(y){if(!Tr(y.readBytes(Dt.length)))throw new Error("wrong PNG signature")}function Tr(y){if(y.length79)throw new Error("keyword length must be between 1 and 79")}const Fo=/^[\u0000-\u00FF]*$/;function Zo(y){if(!Fo.test(y))throw new Error("invalid latin1 text")}function Io(y,z,E){const re=_a(z);y[re]=Ba(z,E-re.length-1)}function ca(y,z,E){uo(z),Zo(E);const re=z.length+1+E.length;y.writeUint32(re),y.writeChars(Er),y.writeChars(z),y.writeByte(xi),y.writeChars(E),writeCrc(y,re+4)}function _a(y){for(y.mark();y.readByte()!==xi;);const z=y.offset;y.reset();const E=Wi.decode(y.readBytes(z-y.offset-1));return y.skip(1),uo(E),E}function Ba(y,z){return Wi.decode(y.readBytes(z))}const Ra={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Sl={UNKNOWN:-1,DEFLATE:0},Ku={UNKNOWN:-1,ADAPTIVE:0},ql={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},yA={NONE:0,BACKGROUND:1,PREVIOUS:2},Yu={SOURCE:0,OVER:1};class Tu extends Yi{constructor(E,re={}){super(E);Ll(this,"_checkCrc");Ll(this,"_inflator");Ll(this,"_png");Ll(this,"_apng");Ll(this,"_end");Ll(this,"_hasPalette");Ll(this,"_palette");Ll(this,"_hasTransparency");Ll(this,"_transparency");Ll(this,"_compressionMethod");Ll(this,"_filterMethod");Ll(this,"_interlaceMethod");Ll(this,"_colorType");Ll(this,"_isAnimated");Ll(this,"_numberOfFrames");Ll(this,"_numberOfPlays");Ll(this,"_frames");Ll(this,"_writingDataChunks");const{checkCrc:Ae=!1}=re;this._checkCrc=Ae,this._inflator=new ah,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=Sl.UNKNOWN,this._filterMethod=Ku.UNKNOWN,this._interlaceMethod=ql.UNKNOWN,this._colorType=Ra.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Qn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeChunk(E,re)}return this.decodeImage(),this._png}decodeApng(){for(Qn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(E,re)}return this.decodeApngImage(),this._apng}decodeChunk(E,re){const Ae=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(E);break;case"IDAT":this.decodeIDAT(E);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(E);break;case"iCCP":this.decodeiCCP(E);break;case Er:Io(this._png.text,this,E);break;case"pHYs":this.decodepHYs();break;default:this.skip(E);break}if(this.offset-Ae!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeApngChunk(E,re){const Ae=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(E);break;default:this.decodeChunk(E,re),this.offset=Ae+E;break}if(this.offset-Ae!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeIHDR(){const E=this._png;E.width=this.readUint32(),E.height=this.readUint32(),E.depth=wA(this.readUint8());const re=this.readUint8();this._colorType=re;let Ae;switch(re){case Ra.GREYSCALE:Ae=1;break;case Ra.TRUECOLOUR:Ae=3;break;case Ra.INDEXED_COLOUR:Ae=1;break;case Ra.GREYSCALE_ALPHA:Ae=2;break;case Ra.TRUECOLOUR_ALPHA:Ae=4;break;case Ra.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=Ae,this._compressionMethod=this.readUint8(),this._compressionMethod!==Sl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const E={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(E)}decodePLTE(E){if(E%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${E}`);const re=E/3;this._hasPalette=!0;const Ae=[];this._palette=Ae;for(let he=0;hethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${E/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(E/2);for(let re=0;rethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${E} vs ${this._palette.length})`);let re=0;for(;re{const Ve=((Ke+re.yOffset)*this._png.width+re.xOffset+Pe)*this._png.channels,Ye=(Ke*re.width+Pe)*this._png.channels;return{index:Ve,frameIndex:Ye}};switch(re.blendOp){case Yu.SOURCE:for(let Ke=0;Kere.at(-1)!==255);this.writeUint32(E.length),this.writeChars("tRNS");for(const re of E)this.writeByte(re.at(-1));writeCrc(this,4+E.length)}encodeIDAT(E){this.writeUint32(E.length),this.writeChars("IDAT"),this.writeBytes(E),writeCrc(this,E.length+4)}encodeData(){const{width:E,height:re,channels:Ae,depth:he,data:Ke}=this._png,Pe=he<=8?Math.ceil(E*he/8)*Ae:Math.ceil(E*he/8*Ae/2),Ve=new IOBuffer().setBigEndian();let Ye=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let Jt=0;Jt0)return y;throw new TypeError(`${z} must be a positive integer`)}function eu(y,z){const{channels:E=4,depth:re=8}=y;if(E!==4&&E!==3&&E!==2&&E!==1)throw new RangeError(`unsupported number of channels: ${E}`);const Ae={channels:E,depth:re,colorType:ColorType.UNKNOWN};switch(E){case 4:Ae.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:Ae.colorType=ColorType.TRUECOLOUR;break;case 1:z?Ae.colorType=ColorType.INDEXED_COLOUR:Ae.colorType=ColorType.GREYSCALE;break;case 2:Ae.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return Ae}function tu(y,z,E,re){for(let Ae=0;Ae>8&255),E.writeByte(lr&255)}}return re}function Ws(y,z,E,re){for(let Ae=0;Ae=200&&z.status<=299}function Pf(y){try{y.dispatchEvent(new MouseEvent("click"))}catch(E){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),y.dispatchEvent(z)}}var _f=ka.saveAs||((typeof window=="undefined"?"undefined":(0,x.Z)(window))!=="object"||window!==ka?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(y,z,E){var re=ka.URL||ka.webkitURL,Ae=document.createElement("a");z=z||y.name||"download",Ae.download=z,Ae.rel="noopener",typeof y=="string"?(Ae.href=y,Ae.origin!==location.origin?Md(Ae.href)?uA(y,z,E):Pf(Ae,Ae.target="_blank"):Pf(Ae)):(Ae.href=re.createObjectURL(y),setTimeout(function(){re.revokeObjectURL(Ae.href)},4e4),setTimeout(function(){Pf(Ae)},0))}:"msSaveOrOpenBlob"in navigator?function(y,z,E){if(z=z||y.name||"download",typeof y=="string")if(Md(y))uA(y,z,E);else{var re=document.createElement("a");re.href=y,re.target="_blank",setTimeout(function(){Pf(re)})}else navigator.msSaveOrOpenBlob(function(Ae,he){return he===void 0?he={autoBom:!1}:(0,x.Z)(he)!=="object"&&(cl.warn("Deprecated: Expected third argument to be a object"),he={autoBom:!he}),he.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ae.type)?new Blob(["\uFEFF",Ae],{type:Ae.type}):Ae}(y,E),z)}:function(y,z,E,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof y=="string")return uA(y,z,E);var Ae=y.type==="application/octet-stream",he=/constructor/i.test(ka.HTMLElement)||ka.safari,Ke=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ke||Ae&&he)&&(typeof FileReader=="undefined"?"undefined":(0,x.Z)(FileReader))==="object"){var Pe=new FileReader;Pe.onloadend=function(){var dt=Pe.result;dt=Ke?dt:dt.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=dt:location=dt,re=null},Pe.readAsDataURL(y)}else{var Ve=ka.URL||ka.webkitURL,Ye=Ve.createObjectURL(y);re?re.location=Ye:location.href=Ye,re=null,setTimeout(function(){Ve.revokeObjectURL(Ye)},4e4)}});function qg(y){var z;y=y||"",this.ok=!1,y.charAt(0)=="#"&&(y=y.substr(1,6)),y={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[y=(y=y.replace(/ /g,"")).toLowerCase()]||y;for(var E=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Pe){return[parseInt(Pe[1]),parseInt(Pe[2]),parseInt(Pe[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Pe){return[parseInt(Pe[1],16),parseInt(Pe[2],16),parseInt(Pe[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Pe){return[parseInt(Pe[1]+Pe[1],16),parseInt(Pe[2]+Pe[2],16),parseInt(Pe[3]+Pe[3],16)]}}],re=0;re255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Pe=this.r.toString(16),Ve=this.g.toString(16),Ye=this.b.toString(16);return Pe.length==1&&(Pe="0"+Pe),Ve.length==1&&(Ve="0"+Ve),Ye.length==1&&(Ye="0"+Ye),"#"+Pe+Ve+Ye}}var gp=ka.atob.bind(ka),bg=ka.btoa.bind(ka);function mp(y,z){var E=y[0],re=y[1],Ae=y[2],he=y[3];E=YA(E,re,Ae,he,z[0],7,-680876936),he=YA(he,E,re,Ae,z[1],12,-389564586),Ae=YA(Ae,he,E,re,z[2],17,606105819),re=YA(re,Ae,he,E,z[3],22,-1044525330),E=YA(E,re,Ae,he,z[4],7,-176418897),he=YA(he,E,re,Ae,z[5],12,1200080426),Ae=YA(Ae,he,E,re,z[6],17,-1473231341),re=YA(re,Ae,he,E,z[7],22,-45705983),E=YA(E,re,Ae,he,z[8],7,1770035416),he=YA(he,E,re,Ae,z[9],12,-1958414417),Ae=YA(Ae,he,E,re,z[10],17,-42063),re=YA(re,Ae,he,E,z[11],22,-1990404162),E=YA(E,re,Ae,he,z[12],7,1804603682),he=YA(he,E,re,Ae,z[13],12,-40341101),Ae=YA(Ae,he,E,re,z[14],17,-1502002290),E=RA(E,re=YA(re,Ae,he,E,z[15],22,1236535329),Ae,he,z[1],5,-165796510),he=RA(he,E,re,Ae,z[6],9,-1069501632),Ae=RA(Ae,he,E,re,z[11],14,643717713),re=RA(re,Ae,he,E,z[0],20,-373897302),E=RA(E,re,Ae,he,z[5],5,-701558691),he=RA(he,E,re,Ae,z[10],9,38016083),Ae=RA(Ae,he,E,re,z[15],14,-660478335),re=RA(re,Ae,he,E,z[4],20,-405537848),E=RA(E,re,Ae,he,z[9],5,568446438),he=RA(he,E,re,Ae,z[14],9,-1019803690),Ae=RA(Ae,he,E,re,z[3],14,-187363961),re=RA(re,Ae,he,E,z[8],20,1163531501),E=RA(E,re,Ae,he,z[13],5,-1444681467),he=RA(he,E,re,Ae,z[2],9,-51403784),Ae=RA(Ae,he,E,re,z[7],14,1735328473),E=JA(E,re=RA(re,Ae,he,E,z[12],20,-1926607734),Ae,he,z[5],4,-378558),he=JA(he,E,re,Ae,z[8],11,-2022574463),Ae=JA(Ae,he,E,re,z[11],16,1839030562),re=JA(re,Ae,he,E,z[14],23,-35309556),E=JA(E,re,Ae,he,z[1],4,-1530992060),he=JA(he,E,re,Ae,z[4],11,1272893353),Ae=JA(Ae,he,E,re,z[7],16,-155497632),re=JA(re,Ae,he,E,z[10],23,-1094730640),E=JA(E,re,Ae,he,z[13],4,681279174),he=JA(he,E,re,Ae,z[0],11,-358537222),Ae=JA(Ae,he,E,re,z[3],16,-722521979),re=JA(re,Ae,he,E,z[6],23,76029189),E=JA(E,re,Ae,he,z[9],4,-640364487),he=JA(he,E,re,Ae,z[12],11,-421815835),Ae=JA(Ae,he,E,re,z[15],16,530742520),E=qA(E,re=JA(re,Ae,he,E,z[2],23,-995338651),Ae,he,z[0],6,-198630844),he=qA(he,E,re,Ae,z[7],10,1126891415),Ae=qA(Ae,he,E,re,z[14],15,-1416354905),re=qA(re,Ae,he,E,z[5],21,-57434055),E=qA(E,re,Ae,he,z[12],6,1700485571),he=qA(he,E,re,Ae,z[3],10,-1894986606),Ae=qA(Ae,he,E,re,z[10],15,-1051523),re=qA(re,Ae,he,E,z[1],21,-2054922799),E=qA(E,re,Ae,he,z[8],6,1873313359),he=qA(he,E,re,Ae,z[15],10,-30611744),Ae=qA(Ae,he,E,re,z[6],15,-1560198380),re=qA(re,Ae,he,E,z[13],21,1309151649),E=qA(E,re,Ae,he,z[4],6,-145523070),he=qA(he,E,re,Ae,z[11],10,-1120210379),Ae=qA(Ae,he,E,re,z[2],15,718787259),re=qA(re,Ae,he,E,z[9],21,-343485551),y[0]=Ud(E,y[0]),y[1]=Ud(re,y[1]),y[2]=Ud(Ae,y[2]),y[3]=Ud(he,y[3])}function vp(y,z,E,re,Ae,he){return z=Ud(Ud(z,y),Ud(re,he)),Ud(z<>>32-Ae,E)}function YA(y,z,E,re,Ae,he,Ke){return vp(z&E|~z&re,y,z,Ae,he,Ke)}function RA(y,z,E,re,Ae,he,Ke){return vp(z&re|E&~re,y,z,Ae,he,Ke)}function JA(y,z,E,re,Ae,he,Ke){return vp(z^E^re,y,z,Ae,he,Ke)}function qA(y,z,E,re,Ae,he,Ke){return vp(E^(z|~re),y,z,Ae,he,Ke)}function em(y){var z,E=y.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=y.length;z+=64)mp(re,tg(y.substring(z-64,z)));y=y.substring(z-64);var Ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z>2]|=y.charCodeAt(z)<<(z%4<<3);if(Ae[z>>2]|=128<<(z%4<<3),z>55)for(mp(re,Ae),z=0;z<16;z++)Ae[z]=0;return Ae[14]=8*E,mp(re,Ae),re}function tg(y){var z,E=[];for(z=0;z<64;z+=4)E[z>>2]=y.charCodeAt(z)+(y.charCodeAt(z+1)<<8)+(y.charCodeAt(z+2)<<16)+(y.charCodeAt(z+3)<<24);return E}var Rc="0123456789abcdef".split("");function tm(y){for(var z="",E=0;E<4;E++)z+=Rc[y>>8*E+4&15]+Rc[y>>8*E&15];return z}function ng(y){return String.fromCharCode(255&y,(65280&y)>>8,(16711680&y)>>16,(4278190080&y)>>24)}function Cg(y){return em(y).map(ng).join("")}var Qm=function(y){for(var z=0;z>16)+(z>>16)+(E>>16)<<16|65535&E}return y+z&4294967295}function Tf(y,z){var E,re,Ae,he;if(y!==E){for(var Ke=(Ae=y,he=1+(256/y.length|0),new Array(he+1).join(Ae)),Pe=[],Ve=0;Ve<256;Ve++)Pe[Ve]=Ve;var Ye=0;for(Ve=0;Ve<256;Ve++){var dt=Pe[Ve];Ye=(Ye+dt+Ke.charCodeAt(Ve))%256,Pe[Ve]=Pe[Ye],Pe[Ye]=dt}E=y,re=Pe}else Pe=re;var Pt=z.length,Jt=0,ut=0,In="";for(Ve=0;Ve\x80/\f\xA9\xFEdSiz";var he=(z+this.padding).substr(0,32),Ke=(E+this.padding).substr(0,32);this.O=this.processOwnerPassword(he,Ke),this.P=-(1+(255^Ae)),this.encryptionKey=Cg(he+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=Tf(this.encryptionKey,this.padding)}function md(y){if(/[^\u0000-\u00ff]/.test(y))throw new Error("Invalid PDF Name Object: "+y+", Only accept ASCII characters.");for(var z="",E=y.length,re=0;re126?"#"+("0"+Ae.toString(16)).slice(-2):y[re]}return z}function nm(y){if((0,x.Z)(y)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(E,re,Ae){if(Ae=Ae||!1,typeof E!="string"||typeof re!="function"||typeof Ae!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(E)||(z[E]={});var he=Math.random().toString(35);return z[E][he]=[re,!!Ae],he},this.unsubscribe=function(E){for(var re in z)if(z[re][E])return delete z[re][E],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(E){if(z.hasOwnProperty(E)){var re=Array.prototype.slice.call(arguments,1),Ae=[];for(var he in z[E]){var Ke=z[E][he];try{Ke[0].apply(y,re)}catch(Pe){ka.console&&cl.error("jsPDF PubSub Error",Pe.message,Pe)}Ke[1]&&Ae.push(he)}Ae.length&&Ae.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function wp(y){if(!(this instanceof wp))return new wp(y);var z="opacity,stroke-opacity".split(",");for(var E in y)y.hasOwnProperty(E)&&z.indexOf(E)>=0&&(this[E]=y[E]);this.id="",this.objectNumber=-1}function xg(y,z){this.gState=y,this.matrix=z,this.id="",this.objectNumber=-1}function kf(y,z,E,re,Ae){if(!(this instanceof kf))return new kf(y,z,E,re,Ae);this.type=y==="axial"?2:3,this.coords=z,this.colors=E,xg.call(this,re,Ae)}function Mf(y,z,E,re,Ae){if(!(this instanceof Mf))return new Mf(y,z,E,re,Ae);this.boundingBox=y,this.xStep=z,this.yStep=E,this.stream="",this.cloneIndex=0,xg.call(this,re,Ae)}function Da(y){var z,E=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],Ae=arguments[2],he=arguments[3],Ke=[],Pe=1,Ve=16,Ye="S",dt=null;(0,x.Z)(y=y||{})==="object"&&(E=y.orientation,re=y.unit||re,Ae=y.format||Ae,he=y.compress||y.compressPdf||he,(dt=y.encryption||null)!==null&&(dt.userPassword=dt.userPassword||"",dt.ownerPassword=dt.ownerPassword||"",dt.userPermissions=dt.userPermissions||[]),Pe=typeof y.userUnit=="number"?Math.abs(y.userUnit):1,y.precision!==void 0&&(z=y.precision),y.floatPrecision!==void 0&&(Ve=y.floatPrecision),Ye=y.defaultPathOperation||"S"),Ke=y.filters||(he===!0?["FlateEncode"]:Ke),re=re||"mm",E=(""+(E||"P")).toLowerCase();var Pt=y.putOnlyUsedFonts||!1,Jt={},ut={internal:{},__private__:{}};ut.__private__.PubSub=nm;var In="1.3",Cn=ut.__private__.getPdfVersion=function(){return In};ut.__private__.setPdfVersion=function(Xe){In=Xe};var Nn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};ut.__private__.getPageFormats=function(){return Nn};var cn=ut.__private__.getPageFormat=function(Xe){return Nn[Xe]};Ae=Ae||"a4";var wr="compat",lr="advanced",Zn=wr;function Ai(){this.saveGraphicsState(),Jn(new ss(fs,0,0,-fs,0,Pp()*fs).toString()+" cm"),this.setFontSize(this.getFontSize()/fs),Ye="n",Zn=lr}function Qi(){this.restoreGraphicsState(),Ye="S",Zn=wr}var Ii=ut.__private__.combineFontStyleAndFontWeight=function(Xe,jt){if(Xe=="bold"&&jt=="normal"||Xe=="bold"&&jt==400||Xe=="normal"&&jt=="italic"||Xe=="bold"&&jt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return jt&&(Xe=jt==400||jt==="normal"?Xe==="italic"?"italic":"normal":jt!=700&&jt!=="bold"||Xe!=="normal"?(jt==700?"bold":jt)+""+Xe:"bold"),Xe};ut.advancedAPI=function(Xe){var jt=Zn===wr;return jt&&Ai.call(this),typeof Xe!="function"||(Xe(this),jt&&Qi.call(this)),this},ut.compatAPI=function(Xe){var jt=Zn===lr;return jt&&Qi.call(this),typeof Xe!="function"||(Xe(this),jt&&Ai.call(this)),this},ut.isAdvancedAPI=function(){return Zn===lr};var Nr,Gn=function(Xe){if(Zn!==lr)throw new Error(Xe+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Gr=ut.roundToPrecision=ut.__private__.roundToPrecision=function(Xe,jt){var Rn=z||jt;if(isNaN(Xe)||isNaN(Rn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Xe.toFixed(Rn).replace(/0+$/,"")};Nr=ut.hpf=ut.__private__.hpf=typeof Ve=="number"?function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.hpf");return Gr(Xe,Ve)}:Ve==="smart"?function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.hpf");return Gr(Xe,Xe>-1&&Xe<1?16:5)}:function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.hpf");return Gr(Xe,16)};var un=ut.f2=ut.__private__.f2=function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.f2");return Gr(Xe,2)},On=ut.__private__.f3=function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.f3");return Gr(Xe,3)},mr=ut.scale=ut.__private__.scale=function(Xe){if(isNaN(Xe))throw new Error("Invalid argument passed to jsPDF.scale");return Zn===wr?Xe*fs:Zn===lr?Xe:void 0},dr=function(Xe){return mr(function(jt){return Zn===wr?Pp()-jt:Zn===lr?jt:void 0}(Xe))};ut.__private__.setPrecision=ut.setPrecision=function(Xe){typeof parseInt(Xe,10)=="number"&&(z=parseInt(Xe,10))};var pi,Fi="00000000000000000000000000000000",Oi=ut.__private__.getFileId=function(){return Fi},ai=ut.__private__.setFileId=function(Xe){return Fi=Xe!==void 0&&/^[a-fA-F0-9]{32}$/.test(Xe)?Xe.toUpperCase():Fi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),dt!==null&&(CA=new Mh(dt.userPermissions,dt.userPassword,dt.ownerPassword,Fi)),Fi};ut.setFileId=function(Xe){return ai(Xe),this},ut.getFileId=function(){return Oi()};var Pi=ut.__private__.convertDateToPDFDate=function(Xe){var jt=Xe.getTimezoneOffset(),Rn=jt<0?"+":"-",gr=Math.floor(Math.abs(jt/60)),$r=Math.abs(jt%60),Zi=[Rn,rr(gr),"'",rr($r),"'"].join("");return["D:",Xe.getFullYear(),rr(Xe.getMonth()+1),rr(Xe.getDate()),rr(Xe.getHours()),rr(Xe.getMinutes()),rr(Xe.getSeconds()),Zi].join("")},_o=ut.__private__.convertPDFDateToDate=function(Xe){var jt=parseInt(Xe.substr(2,4),10),Rn=parseInt(Xe.substr(6,2),10)-1,gr=parseInt(Xe.substr(8,2),10),$r=parseInt(Xe.substr(10,2),10),Zi=parseInt(Xe.substr(12,2),10),ao=parseInt(Xe.substr(14,2),10);return new Date(jt,Rn,gr,$r,Zi,ao,0)},io=ut.__private__.setCreationDate=function(Xe){var jt;if(Xe===void 0&&(Xe=new Date),Xe instanceof Date)jt=Pi(Xe);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Xe))throw new Error("Invalid argument passed to jsPDF.setCreationDate");jt=Xe}return pi=jt},nn=ut.__private__.getCreationDate=function(Xe){var jt=pi;return Xe==="jsDate"&&(jt=_o(pi)),jt};ut.setCreationDate=function(Xe){return io(Xe),this},ut.getCreationDate=function(Xe){return nn(Xe)};var zn,rr=ut.__private__.padd2=function(Xe){return("0"+parseInt(Xe)).slice(-2)},Br=ut.__private__.padd2Hex=function(Xe){return("00"+(Xe=Xe.toString())).substr(Xe.length)},Rr=0,si=[],Di=[],Bi=0,Xi=[],yo=[],Aa=!1,da=Di;ut.__private__.setCustomOutputDestination=function(Xe){Aa=!0,da=Xe};var Ui=function(Xe){Aa||(da=Xe)};ut.__private__.resetCustomOutputDestination=function(){Aa=!1,da=Di};var Jn=ut.__private__.out=function(Xe){return Xe=Xe.toString(),Bi+=Xe.length+1,da.push(Xe),da},fl=ut.__private__.write=function(Xe){return Jn(arguments.length===1?Xe.toString():Array.prototype.join.call(arguments," "))},js=ut.__private__.getArrayBuffer=function(Xe){for(var jt=Xe.length,Rn=new ArrayBuffer(jt),gr=new Uint8Array(Rn);jt--;)gr[jt]=Xe.charCodeAt(jt);return Rn},ns=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];ut.__private__.getStandardFonts=function(){return ns};var So=y.fontSize||16;ut.__private__.setFontSize=ut.setFontSize=function(Xe){return So=Zn===lr?Xe/fs:Xe,this};var Za,pa=ut.__private__.getFontSize=ut.getFontSize=function(){return Zn===wr?So:So*fs},Qs=y.R2L||!1;ut.__private__.setR2L=ut.setR2L=function(Xe){return Qs=Xe,this},ut.__private__.getR2L=ut.getR2L=function(){return Qs};var Ya,Ql=ut.__private__.setZoomMode=function(Xe){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Xe))Za=Xe;else if(isNaN(Xe)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Xe)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Xe+'" is not recognized.');Za=Xe}else Za=parseInt(Xe,10)};ut.__private__.getZoomMode=function(){return Za};var _s,Ts=ut.__private__.setPageMode=function(Xe){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Xe)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Xe+'" is not recognized.');Ya=Xe};ut.__private__.getPageMode=function(){return Ya};var fu=ut.__private__.setLayoutMode=function(Xe){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Xe)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Xe+'" is not recognized.');_s=Xe};ut.__private__.getLayoutMode=function(){return _s},ut.__private__.setDisplayMode=ut.setDisplayMode=function(Xe,jt,Rn){return Ql(Xe),fu(jt),Ts(Rn),this};var Hs={title:"",subject:"",author:"",keywords:"",creator:""};ut.__private__.getDocumentProperty=function(Xe){if(Object.keys(Hs).indexOf(Xe)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Hs[Xe]},ut.__private__.getDocumentProperties=function(){return Hs},ut.__private__.setDocumentProperties=ut.setProperties=ut.setDocumentProperties=function(Xe){for(var jt in Hs)Hs.hasOwnProperty(jt)&&Xe[jt]&&(Hs[jt]=Xe[jt]);return this},ut.__private__.setDocumentProperty=function(Xe,jt){if(Object.keys(Hs).indexOf(Xe)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Hs[Xe]=jt};var Ga,fs,Va,Su,Hl,ja={},ks={},vu=[],as={},yl={},Ms={},bA={},jA=null,yu=0,xs=[],nu=new nm(ut),bp=y.hotfixes||[],Lc={},hh={},zf=[],ss=function Xe(jt,Rn,gr,$r,Zi,ao){if(!(this instanceof Xe))return new Xe(jt,Rn,gr,$r,Zi,ao);isNaN(jt)&&(jt=1),isNaN(Rn)&&(Rn=0),isNaN(gr)&&(gr=0),isNaN($r)&&($r=1),isNaN(Zi)&&(Zi=0),isNaN(ao)&&(ao=0),this._matrix=[jt,Rn,gr,$r,Zi,ao]};Object.defineProperty(ss.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Xe){this._matrix[0]=Xe}}),Object.defineProperty(ss.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Xe){this._matrix[1]=Xe}}),Object.defineProperty(ss.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Xe){this._matrix[2]=Xe}}),Object.defineProperty(ss.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Xe){this._matrix[3]=Xe}}),Object.defineProperty(ss.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Xe){this._matrix[4]=Xe}}),Object.defineProperty(ss.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Xe){this._matrix[5]=Xe}}),Object.defineProperty(ss.prototype,"a",{get:function(){return this._matrix[0]},set:function(Xe){this._matrix[0]=Xe}}),Object.defineProperty(ss.prototype,"b",{get:function(){return this._matrix[1]},set:function(Xe){this._matrix[1]=Xe}}),Object.defineProperty(ss.prototype,"c",{get:function(){return this._matrix[2]},set:function(Xe){this._matrix[2]=Xe}}),Object.defineProperty(ss.prototype,"d",{get:function(){return this._matrix[3]},set:function(Xe){this._matrix[3]=Xe}}),Object.defineProperty(ss.prototype,"e",{get:function(){return this._matrix[4]},set:function(Xe){this._matrix[4]=Xe}}),Object.defineProperty(ss.prototype,"f",{get:function(){return this._matrix[5]},set:function(Xe){this._matrix[5]=Xe}}),Object.defineProperty(ss.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ss.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ss.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ss.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ss.prototype.join=function(Xe){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Nr).join(Xe)},ss.prototype.multiply=function(Xe){var jt=Xe.sx*this.sx+Xe.shy*this.shx,Rn=Xe.sx*this.shy+Xe.shy*this.sy,gr=Xe.shx*this.sx+Xe.sy*this.shx,$r=Xe.shx*this.shy+Xe.sy*this.sy,Zi=Xe.tx*this.sx+Xe.ty*this.shx+this.tx,ao=Xe.tx*this.shy+Xe.ty*this.sy+this.ty;return new ss(jt,Rn,gr,$r,Zi,ao)},ss.prototype.decompose=function(){var Xe=this.sx,jt=this.shy,Rn=this.shx,gr=this.sy,$r=this.tx,Zi=this.ty,ao=Math.sqrt(Xe*Xe+jt*jt),Sa=(Xe/=ao)*Rn+(jt/=ao)*gr;Rn-=Xe*Sa,gr-=jt*Sa;var Ma=Math.sqrt(Rn*Rn+gr*gr);return Sa/=Ma,Xe*(gr/=Ma)>16&255,gr=Ma>>8&255,$r=255&Ma}if(gr===void 0||Zi===void 0&&Rn===gr&&gr===$r)jt=typeof Rn=="string"?Rn+" "+ao[0]:Xe.precision===2?un(Rn/255)+" "+ao[0]:On(Rn/255)+" "+ao[0];else if(Zi===void 0||(0,x.Z)(Zi)==="object"){if(Zi&&!isNaN(Zi.a)&&Zi.a===0)return["1.","1.","1.",ao[1]].join(" ");jt=typeof Rn=="string"?[Rn,gr,$r,ao[1]].join(" "):Xe.precision===2?[un(Rn/255),un(gr/255),un($r/255),ao[1]].join(" "):[On(Rn/255),On(gr/255),On($r/255),ao[1]].join(" ")}else jt=typeof Rn=="string"?[Rn,gr,$r,Zi,ao[2]].join(" "):Xe.precision===2?[un(Rn),un(gr),un($r),un(Zi),ao[2]].join(" "):[On(Rn),On(gr),On($r),On(Zi),ao[2]].join(" ");return jt},pf=ut.__private__.getFilters=function(){return Ke},zd=ut.__private__.putStream=function(Xe){var jt=(Xe=Xe||{}).data||"",Rn=Xe.filters||pf(),gr=Xe.alreadyAppliedFilters||[],$r=Xe.addLength1||!1,Zi=jt.length,ao=Xe.objectId,Sa=function(QA){return QA};if(dt!==null&&ao===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");dt!==null&&(Sa=CA.encryptor(ao,0));var Ma={};Rn===!0&&(Rn=["FlateEncode"]);var ws=Xe.additionalKeyValues||[],Ls=(Ma=Da.API.processDataByFilters!==void 0?Da.API.processDataByFilters(jt,Rn):{data:jt,reverseChain:[]}).reverseChain+(Array.isArray(gr)?gr.join(" "):gr.toString());if(Ma.data.length!==0&&(ws.push({key:"Length",value:Ma.data.length}),$r===!0&&ws.push({key:"Length1",value:Zi})),Ls.length!=0)if(Ls.split("/").length-1==1)ws.push({key:"Filter",value:Ls});else{ws.push({key:"Filter",value:"["+Ls+"]"});for(var zl=0;zl>"),Ma.data.length!==0&&(Jn("stream"),Jn(Sa(Ma.data)),Jn("endstream"))},xp=ut.__private__.putPage=function(Xe){var jt=Xe.number,Rn=Xe.data,gr=Xe.objId,$r=Xe.contentsObjId;sc(gr,!0),Jn("<>"),Jn("endobj");var Zi=Rn.join(` `);return Zn===lr&&(Zi+=` Q`),sc($r,!0),zd({data:Zi,filters:pf(),objectId:$r}),Jn("endobj"),gr},Zf=ut.__private__.putPages=function(){var Xe,jt,Rn=[];for(Xe=1;Xe<=yu;Xe++)xs[Xe].objId=tc(),xs[Xe].contentsObjId=tc();for(Xe=1;Xe<=yu;Xe++)Rn.push(xp({number:Xe,data:yo[Xe],objId:xs[Xe].objId,contentsObjId:xs[Xe].contentsObjId,mediaBox:xs[Xe].mediaBox,cropBox:xs[Xe].cropBox,bleedBox:xs[Xe].bleedBox,trimBox:xs[Xe].trimBox,artBox:xs[Xe].artBox,userUnit:xs[Xe].userUnit,rootDictionaryObjId:Qh,resourceDictionaryObjId:ff}));sc(Qh,!0),Jn("<>"),Jn("endobj"),nu.publish("postPutPages")},Bp=function(Xe){nu.publish("putFont",{font:Xe,out:Jn,newObject:AA,putStream:zd}),Xe.isAlreadyPutted!==!0&&(Xe.objectNumber=AA(),Jn("<<"),Jn("/Type /Font"),Jn("/BaseFont /"+md(Xe.postScriptName)),Jn("/Subtype /Type1"),typeof Xe.encoding=="string"&&Jn("/Encoding /"+Xe.encoding),Jn("/FirstChar 32"),Jn("/LastChar 255"),Jn(">>"),Jn("endobj"))},ig=function(Xe){Xe.objectNumber=AA();var jt=[];jt.push({key:"Type",value:"/XObject"}),jt.push({key:"Subtype",value:"/Form"}),jt.push({key:"BBox",value:"["+[Nr(Xe.x),Nr(Xe.y),Nr(Xe.x+Xe.width),Nr(Xe.y+Xe.height)].join(" ")+"]"}),jt.push({key:"Matrix",value:"["+Xe.matrix.toString()+"]"});var Rn=Xe.pages[1].join(` `);zd({data:Rn,additionalKeyValues:jt,objectId:Xe.objectNumber}),Jn("endobj")},og=function(Xe,jt){jt||(jt=21);var Rn=AA(),gr=function(ao,Sa){var Ma,ws=[],Ls=1/(Sa-1);for(Ma=0;Ma<1;Ma+=Ls)ws.push(Ma);if(ws.push(1),ao[0].offset!=0){var zl={offset:0,color:ao[0].color};ao.unshift(zl)}if(ao[ao.length-1].offset!=1){var qu={offset:1,color:ao[ao.length-1].color};ao.push(qu)}for(var OA="",Fu=0,QA=0;QAao[Fu+1].offset;)Fu++;var PA=ao[Fu].offset,lc=(Ma-PA)/(ao[Fu+1].offset-PA),Zd=ao[Fu].color,qc=ao[Fu+1].color;OA+=Br(Math.round((1-lc)*Zd[0]+lc*qc[0]).toString(16))+Br(Math.round((1-lc)*Zd[1]+lc*qc[1]).toString(16))+Br(Math.round((1-lc)*Zd[2]+lc*qc[2]).toString(16))}return OA.trim()}(Xe.colors,jt),$r=[];$r.push({key:"FunctionType",value:"0"}),$r.push({key:"Domain",value:"[0.0 1.0]"}),$r.push({key:"Size",value:"["+jt+"]"}),$r.push({key:"BitsPerSample",value:"8"}),$r.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),$r.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),zd({data:gr,additionalKeyValues:$r,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Rn}),Jn("endobj"),Xe.objectNumber=AA(),Jn("<< /ShadingType "+Xe.type),Jn("/ColorSpace /DeviceRGB");var Zi="/Coords ["+Nr(parseFloat(Xe.coords[0]))+" "+Nr(parseFloat(Xe.coords[1]))+" ";Xe.type===2?Zi+=Nr(parseFloat(Xe.coords[2]))+" "+Nr(parseFloat(Xe.coords[3])):Zi+=Nr(parseFloat(Xe.coords[2]))+" "+Nr(parseFloat(Xe.coords[3]))+" "+Nr(parseFloat(Xe.coords[4]))+" "+Nr(parseFloat(Xe.coords[5])),Jn(Zi+="]"),Xe.matrix&&Jn("/Matrix ["+Xe.matrix.toString()+"]"),Jn("/Function "+Rn+" 0 R"),Jn("/Extend [true true]"),Jn(">>"),Jn("endobj")},ag=function(Xe,jt){var Rn=tc(),gr=AA();jt.push({resourcesOid:Rn,objectOid:gr}),Xe.objectNumber=gr;var $r=[];$r.push({key:"Type",value:"/Pattern"}),$r.push({key:"PatternType",value:"1"}),$r.push({key:"PaintType",value:"1"}),$r.push({key:"TilingType",value:"1"}),$r.push({key:"BBox",value:"["+Xe.boundingBox.map(Nr).join(" ")+"]"}),$r.push({key:"XStep",value:Nr(Xe.xStep)}),$r.push({key:"YStep",value:Nr(Xe.yStep)}),$r.push({key:"Resources",value:Rn+" 0 R"}),Xe.matrix&&$r.push({key:"Matrix",value:"["+Xe.matrix.toString()+"]"}),zd({data:Xe.stream,additionalKeyValues:$r,objectId:Xe.objectNumber}),Jn("endobj")},Gm=function(Xe){for(var jt in Xe.objectNumber=AA(),Jn("<<"),Xe)switch(jt){case"opacity":Jn("/ca "+un(Xe[jt]));break;case"stroke-opacity":Jn("/CA "+un(Xe[jt]))}Jn(">>"),Jn("endobj")},Eg=function(Xe){sc(Xe.resourcesOid,!0),Jn("<<"),Jn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var jt in Jn("/Font <<"),ja)ja.hasOwnProperty(jt)&&(Pt===!1||Pt===!0&&Jt.hasOwnProperty(jt))&&Jn("/"+jt+" "+ja[jt].objectNumber+" 0 R");Jn(">>")}(),function(){if(Object.keys(as).length>0){for(var jt in Jn("/Shading <<"),as)as.hasOwnProperty(jt)&&as[jt]instanceof kf&&as[jt].objectNumber>=0&&Jn("/"+jt+" "+as[jt].objectNumber+" 0 R");nu.publish("putShadingPatternDict"),Jn(">>")}}(),function(jt){if(Object.keys(as).length>0){for(var Rn in Jn("/Pattern <<"),as)as.hasOwnProperty(Rn)&&as[Rn]instanceof ut.TilingPattern&&as[Rn].objectNumber>=0&&as[Rn].objectNumber>")}}(Xe.objectOid),function(){if(Object.keys(Ms).length>0){var jt;for(jt in Jn("/ExtGState <<"),Ms)Ms.hasOwnProperty(jt)&&Ms[jt].objectNumber>=0&&Jn("/"+jt+" "+Ms[jt].objectNumber+" 0 R");nu.publish("putGStateDict"),Jn(">>")}}(),function(){for(var jt in Jn("/XObject <<"),Lc)Lc.hasOwnProperty(jt)&&Lc[jt].objectNumber>=0&&Jn("/"+jt+" "+Lc[jt].objectNumber+" 0 R");nu.publish("putXobjectDict"),Jn(">>")}(),Jn(">>"),Jn("endobj")},om=function(Xe){ks[Xe.fontName]=ks[Xe.fontName]||{},ks[Xe.fontName][Xe.fontStyle]=Xe.id},am=function(Xe,jt,Rn,gr,$r){var Zi={id:"F"+(Object.keys(ja).length+1).toString(10),postScriptName:Xe,fontName:jt,fontStyle:Rn,encoding:gr,isStandardFont:$r||!1,metadata:{}};return nu.publish("addFont",{font:Zi,instance:this}),ja[Zi.id]=Zi,om(Zi),Zi.id},Kd=ut.__private__.pdfEscape=ut.pdfEscape=function(Xe,jt){return function(Rn,gr){var $r,Zi,ao,Sa,Ma,ws,Ls,zl,qu;if(ao=(gr=gr||{}).sourceEncoding||"Unicode",Ma=gr.outputEncoding,(gr.autoencode||Ma)&&ja[Ga].metadata&&ja[Ga].metadata[ao]&&ja[Ga].metadata[ao].encoding&&(Sa=ja[Ga].metadata[ao].encoding,!Ma&&ja[Ga].encoding&&(Ma=ja[Ga].encoding),!Ma&&Sa.codePages&&(Ma=Sa.codePages[0]),typeof Ma=="string"&&(Ma=Sa[Ma]),Ma)){for(Ls=!1,ws=[],$r=0,Zi=Rn.length;$r>8&&(Ls=!0);Rn=ws.join("")}for($r=Rn.length;Ls===void 0&&$r!==0;)Rn.charCodeAt($r-1)>>8&&(Ls=!0),$r--;if(!Ls)return Rn;for(ws=gr.noBOM?[]:[254,255],$r=0,Zi=Rn.length;$r>8)>>8)throw new Error("Character at position "+$r+" of string '"+Rn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ws.push(qu),ws.push(zl-(qu<<8))}return String.fromCharCode.apply(void 0,ws)}(Xe,jt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Sg=ut.__private__.beginPage=function(Xe){yo[++yu]=[],xs[yu]={objId:0,contentsObjId:0,userUnit:Number(Pe),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Xe[0]),topRightY:Number(Xe[1])}},lm(yu),Ui(yo[zn])},sm=function(Xe,jt){var Rn,gr,$r;switch(E=jt||E,typeof Xe=="string"&&(Rn=cn(Xe.toLowerCase()),Array.isArray(Rn)&&(gr=Rn[0],$r=Rn[1])),Array.isArray(Xe)&&(gr=Xe[0]*fs,$r=Xe[1]*fs),isNaN(gr)&&(gr=Ae[0],$r=Ae[1]),(gr>14400||$r>14400)&&(cl.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),gr=Math.min(14400,gr),$r=Math.min(14400,$r)),Ae=[gr,$r],E.substr(0,1)){case"l":$r>gr&&(Ae=[$r,gr]);break;case"p":gr>$r&&(Ae=[$r,gr])}Sg(Ae),r0(Ng),Jn(lg),Pg!==0&&Jn(Pg+" J"),_g!==0&&Jn(_g+" j"),nu.publish("addPage",{pageNumber:yu})},Fg=function(Xe){Xe>0&&Xe<=yu&&(yo.splice(Xe,1),xs.splice(Xe,1),yu--,zn>yu&&(zn=yu),this.setPage(zn))},lm=function(Xe){Xe>0&&Xe<=yu&&(zn=Xe)},um=ut.__private__.getNumberOfPages=ut.getNumberOfPages=function(){return yo.length-1},Am=function(Xe,jt,Rn){var gr,$r=void 0;return Rn=Rn||{},Xe=Xe!==void 0?Xe:ja[Ga].fontName,jt=jt!==void 0?jt:ja[Ga].fontStyle,gr=Xe.toLowerCase(),ks[gr]!==void 0&&ks[gr][jt]!==void 0?$r=ks[gr][jt]:ks[Xe]!==void 0&&ks[Xe][jt]!==void 0?$r=ks[Xe][jt]:Rn.disableWarning===!1&&cl.warn("Unable to look up font label for font '"+Xe+"', '"+jt+"'. Refer to getFontList() for available fonts."),$r||Rn.noFallback||($r=ks.times[jt])==null&&($r=ks.times.normal),$r},sg=ut.__private__.putInfo=function(){var Xe=AA(),jt=function(gr){return gr};for(var Rn in dt!==null&&(jt=CA.encryptor(Xe,0)),Jn("<<"),Jn("/Producer ("+Kd(jt("jsPDF "+Da.version))+")"),Hs)Hs.hasOwnProperty(Rn)&&Hs[Rn]&&Jn("/"+Rn.substr(0,1).toUpperCase()+Rn.substr(1)+" ("+Kd(jt(Hs[Rn]))+")");Jn("/CreationDate ("+Kd(jt(pi))+")"),Jn(">>"),Jn("endobj")},Vm=ut.__private__.putCatalog=function(Xe){var jt=(Xe=Xe||{}).rootDictionaryObjId||Qh;switch(AA(),Jn("<<"),Jn("/Type /Catalog"),Jn("/Pages "+jt+" 0 R"),Za||(Za="fullwidth"),Za){case"fullwidth":Jn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Jn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Jn("/OpenAction [3 0 R /Fit]");break;case"original":Jn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Rn=""+Za;Rn.substr(Rn.length-1)==="%"&&(Za=parseInt(Za)/100),typeof Za=="number"&&Jn("/OpenAction [3 0 R /XYZ null null "+un(Za)+"]")}switch(_s||(_s="continuous"),_s){case"continuous":Jn("/PageLayout /OneColumn");break;case"single":Jn("/PageLayout /SinglePage");break;case"two":case"twoleft":Jn("/PageLayout /TwoColumnLeft");break;case"tworight":Jn("/PageLayout /TwoColumnRight")}Ya&&Jn("/PageMode /"+Ya),nu.publish("putCatalog"),Jn(">>"),Jn("endobj")},NA=ut.__private__.putTrailer=function(){Jn("trailer"),Jn("<<"),Jn("/Size "+(Rr+1)),Jn("/Root "+Rr+" 0 R"),Jn("/Info "+(Rr-1)+" 0 R"),dt!==null&&Jn("/Encrypt "+CA.oid+" 0 R"),Jn("/ID [ <"+Fi+"> <"+Fi+"> ]"),Jn(">>")},cm=ut.__private__.putHeader=function(){Jn("%PDF-"+In),Jn("%\xBA\xDF\xAC\xE0")},dm=ut.__private__.putXRef=function(){var Xe="0000000000";Jn("xref"),Jn("0 "+(Rr+1)),Jn("0000000000 65535 f ");for(var jt=1;jt<=Rr;jt++)typeof si[jt]=="function"?Jn((Xe+si[jt]()).slice(-10)+" 00000 n "):si[jt]!==void 0?Jn((Xe+si[jt]).slice(-10)+" 00000 n "):Jn("0000000000 00000 n ")},mh=ut.__private__.buildDocument=function(){var Xe;Rr=0,Bi=0,Di=[],si=[],Xi=[],Qh=tc(),ff=tc(),Ui(Di),nu.publish("buildDocument"),cm(),Zf(),function(){nu.publish("putAdditionalObjects");for(var Rn=0;Rn"),Jn("/O <"+CA.toHexString(CA.O)+">"),Jn("/P "+CA.P),Jn(">>"),Jn("endobj")),sg(),Vm();var jt=Bi;return dm(),NA(),Jn("startxref"),Jn(""+jt),Jn("%%EOF"),Ui(yo[zn]),Di.join(` `)},Ep=ut.__private__.getBlob=function(Xe){return new Blob([js(Xe)],{type:"application/pdf"})},gf=ut.output=ut.__private__.output=(Hd=function(Xe,jt){switch(typeof(jt=jt||{})=="string"?jt={filename:jt}:jt.filename=jt.filename||"generated.pdf",Xe){case void 0:return mh();case"save":ut.save(jt.filename);break;case"arraybuffer":return js(mh());case"blob":return Ep(mh());case"bloburi":case"bloburl":if(ka.URL!==void 0&&typeof ka.URL.createObjectURL=="function")return ka.URL&&ka.URL.createObjectURL(Ep(mh()))||void 0;cl.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Rn="",gr=mh();try{Rn=bg(gr)}catch(OA){Rn=bg(unescape(encodeURIComponent(gr)))}return"data:application/pdf;filename="+jt.filename+";base64,"+Rn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(ka)==="[object Window]"){var $r="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Zi=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';jt.pdfObjectUrl&&($r=jt.pdfObjectUrl,Zi="");var ao='