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

1353 lines
2.2 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!(function(){var k1=Object.defineProperty,M1=Object.defineProperties;var U1=Object.getOwnPropertyDescriptors;var Qm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable;var S0=(Xn,Mt,ae)=>Mt in Xn?k1(Xn,Mt,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Xn[Mt]=ae,wf=(Xn,Mt)=>{for(var ae in Mt||(Mt={}))Lv.call(Mt,ae)&&S0(Xn,ae,Mt[ae]);if(Qm)for(var ae of Qm(Mt))Dv.call(Mt,ae)&&S0(Xn,ae,Mt[ae]);return Xn},F0=(Xn,Mt)=>M1(Xn,U1(Mt));var Nv=(Xn,Mt)=>{var ae={};for(var x in Xn)Lv.call(Xn,x)&&Mt.indexOf(x)<0&&(ae[x]=Xn[x]);if(Xn!=null&&Qm)for(var x of Qm(Xn))Mt.indexOf(x)<0&&Dv.call(Xn,x)&&(ae[x]=Xn[x]);return ae};var Nl=(Xn,Mt,ae)=>S0(Xn,typeof Mt!="symbol"?Mt+"":Mt,ae);(self.webpackChunk=self.webpackChunk||[]).push([[342],{27812:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},89489:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},59477:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},40001:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},26227:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},49198:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},87169:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},73331:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},15277:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},52671:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},8657:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},56082:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},33853:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},15075:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},43531:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},61485:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},47472:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},95869:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},87395:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(60499),dt=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"},qe=Le,He=ae(7657),Fe=function(oe,Pe){return dt.createElement(He.Z,(0,x.Z)({},oe,{ref:Pe,icon:qe}))},Me=dt.forwardRef(Fe),fe=Me},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Xn,Mt){"use strict";Mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},84915: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 Xn={},Mt="5.0",ae={},x=null,dt=!1,Le=!1,qe=null,He=!1,Fe=null,Me=null,fe=0;fe<arguments.length;fe++){var xe=arguments[fe];if(xe!==null)switch(typeof xe){case"number":Mt=xe.toFixed(1);break;case"string":xe.match(new RegExp("^[0-9]\\.[0-9]+$"))?Mt=xe:qe=xe;break;case"object":typeof xe.is3D!="undefined"?x=xe:ae=xe;break;case"boolean":dt=xe,Le=!0;break}}x===null&&(x={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ae.material_id!==void 0&&!Le&&(dt=!0)),qe!==null&&ae.id===void 0&&(ae.id=qe);var oe="",Pe="",ye=!1,Re=null,Se=null,Ie=null,ve=!1,we=null,Ee=null,Oe=null,Ke=null,je=null;ae.height!==void 0&&(ae.height=Math.round(ae.height)),ae.width!==void 0&&(ae.width=Math.round(ae.width));var _e=function(nt){return parseFloat(nt)>4?parseFloat(nt):5};Xn.setHTML5Codebase=function(nt,Pt){Me=nt,At(nt,Pt)},Xn.setJavaCodebase=Xn.setJavaCodebaseVersion=Xn.isCompiledInstalled=Xn.setPreCompiledScriptPath=Xn.setPreCompiledResourcePath=function(){},Xn.setHTML5CodebaseVersion=function(nt,Pt){var Rt=parseFloat(nt);if(Rt!==NaN&&Rt<5){console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead.");return}Fe=nt,ke(nt,Pt)},Xn.getHTML5CodebaseVersion=function(){return Se},Xn.getParameters=function(){return ae},Xn.setFontsCSSURL=function(nt){Ke=nt},Xn.setGiacJSURL=function(nt){},Xn.setJNLPFile=function(nt){oe=nt},Xn.setJNLPBaseDir=function(nt){},Xn.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Pt="auto",Rt=ae.id,hn,Tt=!1,mn=0;mn<arguments.length;mn++){var kt=arguments[mn];typeof kt=="string"?(kt=kt.toLowerCase(),kt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Pt=kt:Rt=arguments[mn]):typeof kt=="boolean"?Tt=kt:kt instanceof HTMLElement&&(hn=kt)}Fn();function Fn(){if(!He){setTimeout(Fn,200);return}Pt=Bt(Pt);var an=hn||document.getElementById(Rt);if(!an){console.log("possibly bug on ajax loading? ");return}if(Xn.removeExistingApplet(an,!1),ae.width===void 0&&an.clientWidth&&(ae.width=an.clientWidth),ae.height===void 0&&an.clientHeight&&(ae.height=an.clientHeight),!(ae.width&&ae.height)&&Pt==="html5"&&(delete ae.width,delete ae.height),Re=Pt,Pt==="screenshot")Ne(an,ae);else{var de=!1;ae.hasOwnProperty("playButton")&&ae.playButton||ae.hasOwnProperty("clickToLoad")&&ae.clickToLoad?de=!0:ae.hasOwnProperty("playButtonAutoDecide")&&ae.playButtonAutoDecide&&(de=(!Je()||nt())&&Ve()),de?(Re="screenshot",Ot(an,ae,Tt,Pt)):pt(an,ae,Tt)}}};function Je(){try{return window.self!==window.top}catch(nt){return!0}}function Ve(){return ae.hasOwnProperty("screenshotGenerator")&&ae.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Xn.getViews=function(){return x},Xn.isJavaInstalled=function(){return!1};var st=function(nt){var Pt=function(mn){var kt=JSON.parse(mn),Fn=function(ge){return ge.type=="G"||ge.type=="E"},an=kt.elements?kt.elements.filter(Fn)[0]:kt;if(!an||!an.url){Rt();return}ae.fileName=an.url,at(an.settings||{}),x.is3D=!0;var de="https://www.geogebra.org/images/";Xn.setPreviewImage(we||an.previewUrl,de+"GeoGebra_loading.png",de+"applet_play.png"),nt()},Rt=function(){ae.onError&&ae.onError(),Kt("Error: Fetching material (id "+ae.material_id+") failed.",ae)},hn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Tt="/materials/"+ae.material_id+"?scope=basic";ht("https://"+hn+"/api/proxy.php?path="+encodeURIComponent(Tt),Pt,Rt)};function at(nt){var Pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Rt){nt[Rt]=!!nt[Rt]}),Pt.forEach(function(Rt){ae[Rt]===void 0&&nt[Rt]!==void 0&&(ae[Rt]=nt[Rt])}),ae.showToolBarHelp===void 0&&(ae.showToolBarHelp=ae.showToolBar)}function ht(nt,Pt,Rt){var hn=new XMLHttpRequest;hn.open("GET",nt),hn.onload=function(){Pt(hn.responseText)},hn.onerror=Rt,hn.send()}Xn.isHTML5Installed=function(){return!0},Xn.getLoadedAppletType=function(){return Re},Xn.setPreviewImage=function(nt,Pt,Rt){we=nt,Ee=Pt,Oe=Rt},Xn.removeExistingApplet=function(nt,Pt){var Rt;typeof nt=="string"&&(nt=document.getElementById(nt)),Re=null;var hn=null;for(Rt=0;Rt<nt.childNodes.length;Rt++){var Tt=nt.childNodes[Rt],mn=Tt.className;mn==="applet_screenshot"?Pt?(Tt.style.display="block",Re="screenshot"):Tt.style.display="none":mn!=="applet_scaler prerender"&&(nt.removeChild(Tt),hn=mn&&mn.indexOf("appletParameters")!=-1?Tt.id:null,Rt--)}var kt=ae.id!==void 0?ae.id:hn,Fn=window[kt];Fn&&typeof Fn.getBase64=="function"&&(Fn.remove(),window[kt]=null)},Xn.refreshHitPoints=function(){if(_e(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var nt=Xn.getAppletObject();return nt&&typeof nt.recalculateEnvironments=="function"?(nt.recalculateEnvironments(),!0):!1},Xn.startAnimation=function(){var nt=Xn.getAppletObject();return nt&&typeof nt.startAnimation=="function"?(nt.startAnimation(),!0):!1},Xn.stopAnimation=function(){var nt=Xn.getAppletObject();return nt&&typeof nt.stopAnimation=="function"?(nt.stopAnimation(),!0):!1},Xn.getAppletObject=function(){var nt=ae.id!==void 0?ae.id:"ggbApplet";return window[nt]},Xn.resize=function(){};var Ct=function(nt,Pt,Rt){var hn=document.createElement("param");hn.setAttribute("name",Pt),hn.setAttribute("value",Rt),nt.appendChild(hn)},ze=function(nt){return nt&&nt!=="false"},pt=function(nt,Pt,Rt){_e(Se)<=4.2&&(Rt=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Se||ggbHTML5LoadedCodebaseIsWebSimple&&!ve)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Tt=document.createElement("div");Tt.classList.add("appletParameters","notranslate");var mn=Pt.width,kt=Pt.height;if(Pt.disableAutoScale=Pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Pt.disableAutoScale,Pt.width!==void 0)if(_e(Se)<=4.4)ze(Pt.showToolBar)&&(Pt.height-=7),ze(Pt.showAlgebraInput)&&(Pt.height-=37),Pt.width<605&&ze(Pt.showToolBar)&&(Pt.width=605,mn=605);else{var Fn=100;(ze(Pt.showToolBar)||ze(Pt.showMenuBar))&&(Pt.hasOwnProperty("customToolBar")&&(Pt.customToolbar=Pt.customToolBar),Fn=ze(Pt.showMenuBar)?245:155),mn<Fn&&(Pt.width=Fn,mn=Fn)}Tt.style.border="none",Tt.style.display="inline-block";for(var an in Pt)Pt.hasOwnProperty(an)&&an!=="appletOnLoad"&&Tt.setAttribute("data-param-"+an,Pt[an]);Ke&&Tt.setAttribute("data-param-fontscssurl",Ke),Xn.resize=function(){GGBAppletUtils.responsiveResize(nt,Pt)},window.addEventListener("resize",function(Dt){Xn.resize()});var de=typeof Pt.appletOnLoad=="function"?Pt.appletOnLoad:function(){};if(!Rt&&Pt.width!==void 0){Pt.hasOwnProperty("showSplash")||Tt.setAttribute("data-param-showSplash","false");var ge=nt.querySelector(".applet_scaler.prerender"),ie=ge!==null;if(ie)var ee=ge.querySelector(".ggb_preview");else{var ee=lt(mn,kt,Pt.borderColor,!1);ge=document.createElement("div"),ge.className="applet_scaler",ge.style.position="relative",ge.style.display="block",ge.style.width=mn+"px",ge.style.height=kt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ge,"66%"),_e(Se)>=5?(Pt.appletOnLoad=function(Dt){var Qt=nt.querySelector(".ggb_preview");Qt&&Qt.parentNode.removeChild(Qt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ge),window.GGBT_wsf_view&&$(window).trigger("resize"),de(Dt)},ie||ge.appendChild(ee)):Tt.appendChild(ee),ge.appendChild(Tt),ie||nt.appendChild(ge),setTimeout(function(){Xn.resize()},1)}else{var se=document.createElement("div");se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.appendChild(Tt),nt.appendChild(se),Pt.appletOnLoad=function(Dt){Xn.resize(),de(Dt)}}function le(Dt,Qt){Qt&&typeof Qt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Dt,Qt.appletOnLoad):renderGGBElement(Dt),Kt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Qt)}function Be(Dt,Qt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Dt,params:Qt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(xt){le(xt.article,xt.params)}),html5AppletsToProcess=null)},_e(Se)<5&&(Dt.className+=" geogebraweb")):le(Dt,Qt)}if(hn){scriptLoadStarted=!0;for(var Ge=0;Ge<Tt.childNodes.length;Ge++){var ut=Tt.childNodes[Ge].tagName;ut==="TABLE"&&(Tt.removeChild(Tt.childNodes[Ge]),Ge--)}if(ggbHTML5LoadedScript!==null){var mt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');mt!=null&&mt.parentNode.removeChild(mt)}var vt=document.createElement("script"),St=function(){Be(Tt,Pt)};vt.src=Pe+Ie,ggbHTML5LoadedCodebaseIsWebSimple=ve,ggbHTML5LoadedCodebaseVersion=Se,ggbHTML5LoadedScript=vt.src,Kt("GeoGebra HTML5 codebase loaded: '"+Pe+"'.",Pt),!Me&&(!Fe||Fe=="5.0")?(ve?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),St()):Pe.requirejs?__webpack_require__.e(4510).then(function(){var Dt=[__webpack_require__(4510)];St.apply(null,Dt)}.bind(this)).catch(__webpack_require__.oe):(vt.onload=St,nt.appendChild(vt))}else Be(Tt,Pt);Pt.height=kt,Pt.width=mn},Ne=function(nt,Pt,Rt){var hn=lt(Pt.width,Pt.height,Pt.borderColor,Rt),Tt=document.createElement("div");Tt.style.position="relative",Tt.style.display="block",Tt.style.width=Pt.width+"px",Tt.style.height=Pt.height+"px",Tt.className="applet_screenshot applet_scaler"+(Rt?" applet_screenshot_play":""),Tt.appendChild(hn);var mn=GGBAppletUtils.getScale(Pt,nt,Rt);Rt?(nt.appendChild(ot()),window.GGBT_wsf_view||(nt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Tt,"66%"),nt.appendChild(Tt),mn!==1&&!isNaN(mn)&&(GGBAppletUtils.scaleElement(Tt,mn),Tt.style.width=Pt.width+"px",Tt.style.height=Pt.height+"px",Tt.parentNode.style.width=Pt.width*mn+"px",Tt.parentNode.style.height=Pt.height*mn+"px"),Xn.resize=function(){Qe(nt,hn,Tt,Rt)},window.addEventListener("resize",function(kt){Xn.resize()}),Xn.resize()};function Qe(nt,Pt,Rt,hn){if(nt.contains(Pt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(nt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(nt)}var Tt=GGBAppletUtils.getScale(ae,nt,hn);Rt.parentNode!==null&&(!isNaN(Tt)&&Tt!==1?(GGBAppletUtils.scaleElement(Rt,Tt),Rt.parentNode.style.width=ae.width*Tt+"px",Rt.parentNode.style.height=ae.height*Tt+"px"):(GGBAppletUtils.scaleElement(Rt,1),Rt.parentNode.style.width=ae.width+"px",Rt.parentNode.style.height=ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(nt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Xn.onExitFullscreen=function(nt,Pt){Pt.appendChild(nt)};var Ot=function(nt,Pt,Rt,hn){Ne(nt,Pt,!0);for(var Tt=function(){var Fn=[];for(kt=0;kt<nt.childNodes.length;kt++)Fn.push(nt.childNodes[kt]);if(window.GGBT_wsf_view){var an=window.GGBT_wsf_view.renderFullScreen(nt,Pt.id),de=document.getElementById("fullscreencontainer"),ge=jQuery(nt).find(".fullscreencontent");ge.length>0?(an.remove(),ge.attr("id","fullscreencontent").show(),jQuery(de).append(ge),window.dispatchEvent(new Event("resize"))):pt(an,Pt,!1),window.GGBT_wsf_view.launchFullScreen(de)}else Re=hn,pt(nt,Pt,!1);if(!window.GGBT_wsf_view)for(kt=0;kt<Fn.length;kt++)nt.removeChild(Fn[kt])},mn=nt.getElementsByClassName("ggb_preview_play"),kt=0;kt<mn.length;kt++)mn[kt].addEventListener("click",Tt,!1),mn[kt].addEventListener("ontouchstart",Tt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(nt),Ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ot=function(){var nt=document.createElement("div");if(nt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Pt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Rt=document.createElement("style");Rt.styleSheet?Rt.styleSheet.cssText=Pt:Rt.appendChild(document.createTextNode(Pt)),document.getElementsByTagName("head")[0].appendChild(Rt)}return nt},lt=function(nt,Pt,Rt,hn){var Tt=document.createElement("div");Tt.className="ggb_preview",Tt.style.position="absolute",Tt.style.zIndex="90",Tt.style.width=nt-2+"px",Tt.style.height=Pt-2+"px",Tt.style.top="0px",Tt.style.left="0px",Tt.style.overflow="hidden",Tt.style.backgroundColor="white";var mn="lightgrey";Rt!==void 0&&(Rt==="none"?mn="transparent":mn=Rt),Tt.style.border="1px solid "+mn;var kt=document.createElement("img");if(kt.style.position="relative",kt.style.zIndex="1000",kt.style.top="-1px",kt.style.left="-1px",we!==null&&kt.setAttribute("src",we),kt.style.opacity=.7,Ee!==null){var Fn,an,de;if(!hn){Fn=document.createElement("img"),Fn.style.position="absolute",Fn.style.zIndex="1001",Fn.style.opacity=1,kt.style.opacity=.3,an=360,an>nt/4*3&&(an=nt/4*3),de=an/5.8,Fn.setAttribute("src",Ee),Fn.setAttribute("width",an),Fn.setAttribute("height",de);var ge=(nt-an)/2,ie=(Pt-de)/2;Fn.style.left=ge+"px",Fn.style.top=ie+"px",Tt.appendChild(Fn)}}return Tt.appendChild(kt),Tt},Bt=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},We=["web","webSimple","web3d","tablet","tablet3d","phone"],ke=function(nt,Pt){if(Se=nt,Pt){At(Se,!0);return}var Rt=!dt;if(Rt){var hn=_e(Se);!isNaN(hn)&&hn<4.4&&(Rt=!1)}var Tt,mn;window.location.protocol.substr(0,4)==="http"?Tt=window.location.protocol:Tt="http:";var kt=Se.indexOf("//");kt>0?mn=Se:kt===0?mn=Tt+Se:mn="https://www.geogebra.org/apps/5.2.814.0/";for(var Fn in We)if(Se.slice(We[Fn].length*-1)===We[Fn]||Se.slice((We[Fn].length+1)*-1)===We[Fn]+"/"){At(mn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Rt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!ze(ae.showToolBar)&&!ze(ae.showMenuBar)&&!ze(ae.showAlgebraInput)&&!ze(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?mn+="webSimple/":mn+="web3d/",At(mn,!1)},At=function(nt,Pt){if(nt.requirejs){Pe=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),Pe=nt,Pt===null&&(Pt=nt.indexOf("http")===-1),ye=Pt,Ie="web.nocache.js",ve=!1;var Rt=Pe.split("/");Rt.length>1&&(!Pt&&Rt[Rt.length-2]==="webSimple"?(Ie="webSimple.nocache.js",ve=!0):We.indexOf(Rt[Rt.length-2])>=0&&(Ie=Rt[Rt.length-2]+".nocache.js")),Rt=nt.split("/"),Se=Rt[Rt.length-3],Se.substr(0,4)==="test"?Se=Se.substr(4,1)+"."+Se.substr(5,1):(Se.substr(0,3)==="war"||Se.substr(0,4)==="beta")&&(Se="5.0");var hn=parseFloat(Se);hn!==NaN&&hn<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),ke("5.0",Pt))},Kt=function(nt,Pt){window.console&&window.console.log&&(!Pt||typeof Pt.showLogging=="undefined"||Pt.showLogging&&Pt.showLogging!=="false")&&console.log(nt)};ae.material_id!==void 0?st(Ht):Ht();function Ht(){var nt=Mt;Fe!==null?nt=Fe:parseFloat(nt)<5&&(nt="5.0"),ke(nt,!1),Me!==null&&At(Me,ye),He=!0}return Xn},GGBAppletUtils=function(){"use strict";function Xn(){return window.GGBT_wsf_edit!==void 0}function Mt(He,Fe){Fe!=1?(He.style.transformOrigin="0% 0% 0px",He.style.webkitTransformOrigin="0% 0% 0px",He.style.transform="scale("+Fe+","+Fe+")",He.style.webkitTransform="scale("+Fe+","+Fe+")",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,Fe,Me,fe,xe,oe){var Pe=null;if(oe!=null&&oe!="")for(var ye=He.parentNode;ye!=null;)if((" "+ye.className+" ").indexOf(" "+oe+" ")>-1){Pe=ye;break}else ye=ye.parentNode;var Re=0,Se=0,Ie=0,ve=0,we=0,Ee=0,Oe=0;if(Pe)Re=Pe.offsetWidth,Se=Math.max(fe?Pe.offsetWidth:0,Pe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Re=Math.min(window.innerWidth,document.documentElement.clientWidth),Se=Math.min(window.innerHeight,document.documentElement.clientHeight),Ie=Re):(Re=window.innerWidth,Se=window.innerHeight,Ie=window.innerWidth),He){var Ke=He.getBoundingClientRect();Ke.left>0&&Ke.left<=Re&&(xe===void 0||!xe)&&(document.dir==="rtl"?(we=Re-Ke.width-Ke.left,Ee=Ie<=480?10:30):(Ee=Ke.left,we=Ie<=480?10:30),ve=Ee+we)}if(He&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var je=He.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ve=40,Oe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ve=0,Oe=40)}}return He&&((Me===void 0||!Me)&&Fe>0&&Fe+ve<Re?Re=Fe:Re-=ve,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Me===void 0||!Me)&&(Se-=Oe)),{width:Re,height:Se}}function x(He,Fe,Me,fe,xe){if(He.isScreenshoGenerator)return 1;var oe=fe!==void 0&&fe,Pe=He.noScaleMargin!=null&&He.noScaleMargin,ye=function(je){return je&&je!=="false"},Re=ye(He.autoHeight),Se=ae(Fe,He.width,Me,Re,oe&&window.GGBT_wsf_view||Pe,xe),Ie=parseInt(Se.width),ve=He.width,we=He.height;if(ve===void 0){var Ee=Fe.querySelector(".appletParameters");Ee&&(ve=Ee.offsetWidth,we=Ee.offsetHeight)}var Oe=Ie/ve,Ke=oe?1:Se.height/we;return Me!==void 0&&!Me&&(Oe=Math.min(1,Oe),Ke=Math.min(1,Ke)),Math.min(Oe,Ke)}function dt(He,Fe,Me){var fe=1,xe,oe=!1;if(He.hasOwnProperty("allowUpscale")&&(oe=He.allowUpscale),He.hasOwnProperty("scale")&&(fe=parseFloat(He.scale),(isNaN(fe)||fe===null||fe===0)&&(fe=1),fe>1&&(oe=!0)),Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(He.hasOwnProperty("disableAutoScale")&&He.disableAutoScale))xe=x(He,Fe,oe,Me,He.scaleContainerClass);else return fe;return oe&&(!He.hasOwnProperty("scale")||fe===1)?xe:Math.min(fe,xe)}function Le(He){var Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),Me=Math.min(window.innerHeight,document.documentElement.clientHeight),fe=He.getBoundingClientRect(),xe=(Fe-fe.width)/2,oe=(Me-fe.height)/2;oe<0&&(oe=0),He.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(xe<40?He.style.left="40px":He.style.left=xe+"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=xe+"px")}function qe(He,Fe){var Me=He.querySelector(".appletParameters");if(Me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!==Me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(He)}if(Me.parentElement&&/fullscreen/.test(Me.parentElement.className))return;var fe=dt(Fe,He);Xn()&&Me.setAttribute("data-param-scale",fe);for(var xe=null,oe=0;oe<He.childNodes.length;oe++)if(He.childNodes[oe].className!==void 0&&He.childNodes[oe].className.match(/^applet_scaler/)){xe=He.childNodes[oe];break}if(xe!==null&&xe.querySelector(".noscale")!==null)return;var Pe=Fe.id!==void 0?Fe.id:"ggbApplet",ye=window[Pe];(ye==null||!ye.recalculateEnvironments)&&xe!==null&&!xe.className.match(/fullscreen/)&&(xe.parentNode.style.transform="",!isNaN(fe)&&fe!==1?(xe.parentNode.style.width=Fe.width*fe+"px",xe.parentNode.style.height=Fe.height*fe+"px",Mt(xe,fe)):(Mt(xe,1),xe.parentNode.style.width=Fe.width+"px",xe.parentNode.style.height=Fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Le(He),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Me).parents(".content-added-content"))}}return{responsiveResize:qe,isFlexibleWorksheetEditor:Xn,positionCenter:Le,getScale:dt,scaleElement:Mt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Xn=n.location.search;return Xn.indexOf(J)!=-1||Xn.indexOf(K)!=-1}function q(Xn,Mt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Xn){var Mt=s[L].bindings;s[L].bindings=function(){for(var ae=Mt?Mt():{},x=Xn[webModule.__softPermutationId],dt=O;dt<x.length;dt++){var Le=x[dt];ae[Le[O]]=Le[P]}return ae}};var t;function u(){return v(),t}function v(){if(!t){var Xn=o.createElement(Q);if(Xn.id=L,Xn.style.cssText=R+S,Xn.tabIndex=-1,o.body.appendChild(Xn),t=Xn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Mt=document.compatMode==U?V:W;t.write(Mt+X),t.close()}}}function w(Xn){function Mt(x){function dt(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Le=dt();if(Le){x();return}function qe(){if(!Le){if(!dt())return;Le=!0,x(),o.removeEventListener&&o.removeEventListener(Z,qe,!1),He&&clearInterval(He)}}o.addEventListener&&o.addEventListener(Z,qe,!1);var He=setInterval(function(){qe()},$)}function ae(x){var dt=u(),Le=dt.body,qe=dt.createElement(_);qe.language=ab,qe.crossOrigin=W,qe.src=x,webModule.__errFn&&(qe.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),Le.appendChild(qe)}Mt(function(){ae(Xn)})}webModule.__startLoadingFragment=function(Xn){return C(Xn)},webModule.__installRunAsyncCode=function(Xn){var Mt=u(),ae=Mt.body,x=Mt.createElement(_);x.language=ab,x.text=Xn,ae.appendChild(x),ae.removeChild(x)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Xn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Xn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Xn){var Mt=c[Xn];return Mt==null?null:Mt},r=d,webModule.__errFn=e}function B(){function Xn(He){var Fe=He.lastIndexOf(rb);Fe==-1&&(Fe=He.length);var Me=He.indexOf(sb);Me==-1&&(Me=He.length);var fe=He.lastIndexOf(tb,Math.min(Me,Fe));return fe>=O?He.substring(O,fe+P):W}function Mt(He){if(!He.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=He+vb,He=Xn(Fe.src)}return He}function ae(){var He=__gwt_getMetaProperty(wb);return He!=null?He:W}function x(){for(var He=o.getElementsByTagName(_),Fe=O;Fe<He.length;++Fe)if(He[Fe].src.indexOf(xb)!=-1)return Xn(He[Fe].src);return W}function dt(){var He=o.getElementsByTagName(yb);return He.length>O?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 qe=ae();return qe==W&&(qe=x()),qe==W&&(qe=dt()),qe==W&&Le()&&(qe=Xn(o.location.href)),qe=Mt(qe),qe}function C(Xn){return Xn.match(/^\//)||Xn.match(/^[a-zA-Z]+:\/\//)?Xn:webModule.__moduleBase+Xn}function D(){var Xn=[],Mt=O,ae=[],x=[];function dt(He){var Fe=x[He](),Me=ae[He];if(Fe in Me)return Fe;var fe=[];for(var xe in Me)fe[Me[xe]]=xe;throw r&&r(He,fe,Fe),null}if(__gwt_isKnownPropertyValue=function(He,Fe){return Fe in ae[He]},webModule.__getPropMap=function(){var He={};for(var Fe in ae)ae.hasOwnProperty(Fe)&&(He[Fe]=dt(Fe));return He},webModule.__computePropValue=dt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Le;try{Le=Cb;var qe=Le.indexOf(Db);qe!=-1&&(Mt=parseInt(Le.substring(qe+P),$),Le=Le.substring(O,qe))}catch(He){}return webModule.__softPermutationId=Mt,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})()},23216:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Ax:function(){return qe},Ds:function(){return He},KI:function(){return Me},SI:function(){return Le},f1:function(){return dt}});var x=ae(14185);function dt(fe){let xe=!0;if(fe.length>0){for(let oe=0;oe<fe.length;oe++)if(fe[oe].compile_success==0||!fe[oe].compile_success){xe=!1;break}}else xe=!1;return xe}function Le(fe,xe=""){let oe=[];for(let Pe=0;Pe<fe.length;Pe++){let ye=fe[Pe],Re=xe?`${xe}/${ye.name}`:`${ye.name}`;oe.push({title:ye.name,type:ye.type,isLeaf:ye.type!=="tree",key:Re})}return oe}function qe(fe,xe,oe){for(let Pe=0;Pe<fe.length;Pe++){let ye=fe[Pe];if(ye.key===xe){ye.children=oe;break}ye.children&&qe(ye.children,xe,oe)}return fe}function He(fe,xe,oe){let Pe;return function(){let ye=this,Re=arguments,Se=function(){Pe=null,oe||fe.apply(ye,Re)},Ie=oe&&!Pe;clearTimeout(Pe),Pe=setTimeout(Se,xe),Ie&&fe.apply(ye,Re)}}const Fe=!0,Me=x.Z.API_SERVER},42075:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Se}});var x=ae(7939),dt=ae(59301),Le=Object.defineProperty,qe=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,xe=(Ie,ve,we)=>ve in Ie?Le(Ie,ve,{enumerable:!0,configurable:!0,writable:!0,value:we}):Ie[ve]=we,oe=(Ie,ve)=>{for(var we in ve||(ve={}))Me.call(ve,we)&&xe(Ie,we,ve[we]);if(Fe)for(var we of Fe(ve))fe.call(ve,we)&&xe(Ie,we,ve[we]);return Ie},Pe=(Ie,ve)=>qe(Ie,He(ve)),ye=(Ie,ve)=>{var we={};for(var Ee in Ie)Me.call(Ie,Ee)&&ve.indexOf(Ee)<0&&(we[Ee]=Ie[Ee]);if(Ie!=null&&Fe)for(var Ee of Fe(Ie))ve.indexOf(Ee)<0&&fe.call(Ie,Ee)&&(we[Ee]=Ie[Ee]);return we},Re=(Ie,ve,we)=>new Promise((Ee,Oe)=>{var Ke=Je=>{try{_e(we.next(Je))}catch(Ve){Oe(Ve)}},je=Je=>{try{_e(we.throw(Je))}catch(Ve){Oe(Ve)}},_e=Je=>Je.done?Ee(Je.value):Promise.resolve(Je.value).then(Ke,je);_e((we=we.apply(Ie,ve)).next())});const Se=Ie=>{var ve=Ie,{children:we}=ve,Ee=ye(ve,["children"]);const[Oe,Ke]=(0,dt.useState)(!1);return dt.createElement(x.ZP,Pe(oe({},Ee),{loading:Oe,onClick:je=>Re(void 0,null,function*(){try{Ke(!0),yield Ee.onClick(je),Ke(!1)}catch(_e){console.error(_e),Ke(!1)}})}),we)}},94258:function(Xn,Mt,ae){"use strict";ae.d(Mt,{ij:function(){return Oe},_s:function(){return Ee},Uf:function(){return we},ZP:function(){return je}});var x=ae(59301),dt={flex_box_center:"flex_box_center___swvFl",flex_space_between:"flex_space_between___AqPFV",flex_box_vertical_center:"flex_box_vertical_center___XWInJ",flex_box_center_end:"flex_box_center_end___GB61t",flex_box_column:"flex_box_column___dJnz1",analysis:"analysis___xyV_c",title:"title___DQ3VK",itemWrap:"itemWrap___vFE5r",item:"item___NjeOt",list:"list___BbMrm",wrap:"wrap___UQTTb",img:"img___tNvUo",tips:"tips___Eu4wH",footer:"footer___ZbR9W",noData:"noData___mLlw0"},Le=ae(92310),qe=ae.n(Le),He=ae(42441),Fe=ae(25399),Me=ae(458),fe=ae(29787),xe=ae(90736),oe=ae(14185),Pe=Object.defineProperty,ye=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ie=(_e,Je,Ve)=>Je in _e?Pe(_e,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):_e[Je]=Ve,ve=(_e,Je)=>{for(var Ve in Je||(Je={}))Re.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);if(ye)for(var Ve of ye(Je))Se.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);return _e};const we=(_e={})=>{var Je,Ve,st,at;let ht=(Je=_e==null?void 0:_e.emotion)==null?void 0:Je.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne)),Ct=(Ve=_e==null?void 0:_e.focus)==null?void 0:Ve.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne)),ze=(st=_e==null?void 0:_e.action)==null?void 0:st.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne)),pt=(at=_e==null?void 0:_e.intention)==null?void 0:at.map(Ne=>ve({value:Ne==null?void 0:Ne.rate},Ne));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:ht||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:Ct||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:ze||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:pt||[]}]},Ee=({className:_e,dataSource:Je=[],col:Ve=4,right:st,bottom:at=23,precision:ht=0,wrapWidth:Ct=1200})=>{const ze=(Ne="",Qe,Ot="--")=>Ne?(Ne==null?void 0:Ne.length)>Qe?(Ne==null?void 0:Ne.slice(0,Qe-1))+"...":Ne:Ot,pt=Math.floor((Ct-(Ve-1)*st)/Ve);return x.createElement("div",{className:qe()(dt.list,_e)},!!(Je!=null&&Je.length)&&(Je==null?void 0:Je.map((Ne,Qe)=>{const{cover_pic:Ot,created_at:ot,emotion:lt,action:Bt,intention:We,focus:ke}=Ne;return x.createElement("div",{key:Qe,className:dt.wrap,style:{width:pt,marginRight:(1+Qe)%Ve===0?0:st+ht,marginBottom:at}},x.createElement("div",{className:dt.img},x.createElement("img",{src:`${oe.Z.API_SERVER}${Ot}`}),x.createElement("div",{className:dt.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:dt.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(Fe.Z,{title:lt},x.createElement("span",{className:"c-grey-333"},ze(lt,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-hangwei"}),x.createElement("span",null,"\u884C\u4E3A\uFF1A",x.createElement(Fe.Z,{title:Bt},x.createElement("span",{className:"c-grey-333"},ze(Bt,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(Fe.Z,{title:We},x.createElement("span",{className:"c-grey-333"},ze(We,4))))),x.createElement("li",null,x.createElement("i",{className:"iconfont icon-zhuangtai"}),x.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",x.createElement(Fe.Z,{title:ke},x.createElement("span",{className:"c-grey-333"},ze(ke,3))))))))})))},Oe=({className:_e,style:Je,title:Ve,hideBar:st=!1,children:at,customText:ht="",noDataText:Ct="",emptyData:ze=[],loading:pt,actionAnalysis:Ne})=>{var Qe,Ot;const ot=((Qe=ze==null?void 0:ze[0])==null?void 0:Qe.every(Bt=>{var We;return!((We=Bt==null?void 0:Bt.data)!=null&&We.length)}))&&!((Ot=ze==null?void 0:ze[1])!=null&&Ot.length)||!Ne,lt=Ne?Ct:ht;return x.createElement(Me.Z,{loading:pt,active:!0},ot&&x.createElement("div",{className:qe()(dt.noData,_e),style:Je},!!Ve&&x.createElement("div",{className:dt.title},!st&&x.createElement("b",null),x.createElement("span",null,Ve)),x.createElement("div",{className:dt.itemWrap},x.createElement(xe.Z,{customText:lt}))),!ot&&at)};var je=({className:_e,style:Je,data:Ve=[],title:st,hideBar:at=!1,loading:ht=!1})=>x.createElement("div",{className:qe()(dt.analysis,_e),style:Je},!!st&&x.createElement("div",{className:dt.title},!at&&x.createElement("b",null),x.createElement("span",null,st)),x.createElement(fe.Z,{spinning:ht},x.createElement("div",{className:dt.itemWrap},Ve==null?void 0:Ve.map((Ct,ze)=>x.createElement("div",{className:dt.item,key:ze},x.createElement(He.Z,{option:{tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c}%"},title:{left:"center",bottom:15,text:Ct==null?void 0:Ct.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(pt){for(let Ne in Ct==null?void 0:Ct.data)if(pt==(Ct==null?void 0:Ct.data[Ne].name))return pt+" "+(Ct==null?void 0:Ct.data[Ne].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:Ct==null?void 0:Ct.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:Ct==null?void 0:Ct.data}]},style:{height:145}}))))))},74410:function(Xn,Mt,ae){"use strict";var x=ae(86204),dt=ae.n(x),Le=Object.defineProperty,qe=(fe,xe,oe)=>xe in fe?Le(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:oe}):fe[xe]=oe,He=(fe,xe,oe)=>qe(fe,typeof xe!="symbol"?xe+"":xe,oe),Fe=(fe,xe,oe)=>new Promise((Pe,ye)=>{var Re=ve=>{try{Ie(oe.next(ve))}catch(we){ye(we)}},Se=ve=>{try{Ie(oe.throw(ve))}catch(we){ye(we)}},Ie=ve=>ve.done?Pe(ve.value):Promise.resolve(ve.value).then(Re,Se);Ie((oe=oe.apply(fe,xe)).next())});class Me extends x.EventEmitter{constructor(xe,oe){super(),He(this,"url"),He(this,"body"),He(this,"fullContent",""),He(this,"controller",null),He(this,"buffer",""),this.url=xe,this.body=oe}startStream(){return Fe(this,null,function*(){this.controller=new AbortController;const{signal:xe}=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:xe});if(!oe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${oe.status}`);const Pe=oe.headers.get("content-type");if(!Pe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Pe.includes("application/json")){const Se=yield oe.json();this.emit("error",Se);return}if(!Pe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ye=oe.body.getReader(),Re=new TextDecoder("utf-8");for(;;){const{done:Se,value:Ie}=yield ye.read();if(Se)break;const ve=Re.decode(Ie,{stream:!0});this.buffer+=ve;const we=this.buffer.split(`
`);this.buffer=we.pop()||"";for(const Ee of we)if(Ee.startsWith("data:")){const Oe=Ee.slice(5).trim();if(Oe==="[DONE]")break;try{const Ke=JSON.parse(Oe);Ke.data&&this.handleData(Ke.data)}catch(Ke){this.buffer=Ee+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ke)}}}this.emit("done",this.fullContent)}catch(oe){oe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",oe.message)}})}handleData(xe){xe.content&&(this.fullContent+=xe.content,this.emit("data",{chunk:xe,full:this.fullContent}))}cancelRequest(){var xe;(xe=this.controller)==null||xe.abort()}}Mt.Z=Me},13705:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ie}});var x=ae(59301),dt={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),qe=ae.n(Le),He=ae(86974),Fe=ae(40254),Me=ae(76406),fe=ae(14185),xe=ae(49317),oe=ae(15267),Pe=ae(44283),ye=ae(6767),Re=(ve,we,Ee)=>new Promise((Oe,Ke)=>{var je=Ve=>{try{Je(Ee.next(Ve))}catch(st){Ke(st)}},_e=Ve=>{try{Je(Ee.throw(Ve))}catch(st){Ke(st)}},Je=Ve=>Ve.done?Oe(Ve.value):Promise.resolve(Ve.value).then(je,_e);Je((Ee=Ee.apply(ve,we)).next())});const Se=({className:ve,style:we,dataSource:Ee=[],authority:Oe=!1,callback:Ke,showDimensions:je=!0,classroomList:_e})=>{var Je;const[Ve,st]=(0,x.useState)({content:"",type:""}),[at,ht]=(0,x.useState)({}),[Ct,ze]=(0,x.useState)(!1),[pt,Ne]=(0,x.useState)({title:"",visible:!1,src:"",snapshotData:{}}),Qe=(0,x.useRef)(),Ot=We=>Re(void 0,null,function*(){if(ht(We),We.file_type==="txt"){const ke=yield(0,xe.ZP)(We.url,{method:"get",headers:{"Content-Type":"application/xml"}});Qe.current=ke}st({type:We.file_type,content:fe.Z.API_SERVER+We.url})}),ot=We=>{var ke;Ne({visible:!0,src:fe.Z.API_SERVER+We.url,id:We.id,title:We.title,snapshotData:(ke=We==null?void 0:We.subitem)==null?void 0:ke.settings})},lt=We=>Re(void 0,null,function*(){var ke;st({type:We.file_type,content:fe.Z.API_SERVER+((ke=We==null?void 0:We.subitem)==null?void 0:ke.url)})}),Bt=()=>{Ke(),Ne({visible:!1})};return Ee!=null&&Ee.length?x.createElement(x.Fragment,null,x.createElement("div",{className:qe()(dt.list,ve),style:we},Ee.map((We,ke)=>{var At,Kt,Ht;return x.createElement("div",{key:ke,className:dt.row},x.createElement("div",{className:dt.title,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-fujian1"}),x.createElement("span",{title:We.title},We.title)),x.createElement("div",{className:dt.size},We.filesize),x.createElement("div",{className:dt.download,onClick:()=>{var nt,Pt;if((0,oe.Rm)()&&!((nt=_e.AssistantObject.normal)!=null&&nt.can_download)){ye.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Me.Nd)("",`${fe.Z.API_SERVER}${(Pt=We.url)==null?void 0:Pt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(We==null?void 0:We.file_type)&&x.createElement("div",{className:dt.preview,onClick:()=>Ot(We)},x.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(We==null?void 0:We.file_type)&&je&&(Oe?x.createElement("div",{className:dt.annotation,onClick:()=>ot(We)},x.createElement("i",{className:"iconfont icon-pizhu"}),(At=We.subitem)!=null&&At.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Kt=We.subitem)==null?void 0:Kt.id)&&x.createElement("div",{className:dt.annotation,onClick:()=>lt(We)},x.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(We==null?void 0:We.file_type)&&((Ht=We.subitem)==null?void 0:Ht.id)&&x.createElement("div",{className:dt.download,style:{marginLeft:20},onClick:()=>{var nt,Pt;(0,Me.Nd)("",`${fe.Z.API_SERVER}${(Pt=(nt=We==null?void 0:We.subitem)==null?void 0:nt.url)==null?void 0:Pt.replace("disposition=inline","")}`)}},x.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(We==null?void 0:We.file_type)&&(0,oe.eB)()&&["xlsx","docx","pptx"].includes(We==null?void 0:We.file_sub)&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{ze(!0),Ot(We)}},x.createElement("i",{className:"iconfont icon-pizhu"}),We.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),We.is_edit&&(0,oe.dE)()&&je&&x.createElement("div",{className:dt.annotation,onClick:()=>{Ot(We)}},x.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),x.createElement(He.Z,{close:!0,data:Ve==null?void 0:Ve.content,type:Ve==null?void 0:Ve.type,hasMask:!0,disabledDownload:(0,oe.Rm)()&&!((Je=_e.AssistantObject.normal)!=null&&Je.can_download),editOffice:Ct?"edit":"view",monacoEditor:{value:Qe.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:Oe&&je&&Ve.type==="image"?()=>ot(at):null,onClose:()=>{Ke(),ze(!1),st({content:"",type:""})}}),x.createElement(Fe.Z,{onOk:Bt,onClose:()=>Ne({visible:!1}),data:pt,showFullTools:!0})):null};var Ie=(0,Pe.connect)(({classroomList:ve})=>({classroomList:ve}))(Se)},40254:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Pe}});var x=ae(59301),dt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Le=ae(92310),qe=ae.n(Le),He=ae(29787),Fe=ae(2859),Me=ae(49317),fe=ae(76406),xe=(ye,Re,Se)=>new Promise((Ie,ve)=>{var we=Ke=>{try{Oe(Se.next(Ke))}catch(je){ve(je)}},Ee=Ke=>{try{Oe(Se.throw(Ke))}catch(je){ve(je)}},Oe=Ke=>Ke.done?Ie(Ke.value):Promise.resolve(Ke.value).then(we,Ee);Oe((Se=Se.apply(ye,Re)).next())}),Pe=({data:ye,className:Re,fullWidth:Se,style:Ie={},onClose:ve,onOk:we,showFullTools:Ee,noAssociationId:Oe})=>{const Ke=(0,x.useRef)(null),je=(0,x.useRef)(null),_e=(0,x.useRef)(null),Je=(0,x.useRef)(null),[Ve,st]=(0,x.useState)(!1),[at,ht]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>(_e.current||(_e.current=document.createElement("style"),document.head.appendChild(_e.current)),ye!=null&&ye.visible?(document.body.setAttribute("data-custom","y-hidden"),_e.current.innerHTML=" html { overflow-y: hidden; }",ye!=null&&ye.src&&Ct()):(document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)),()=>{document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)}),[ye==null?void 0:ye.visible]);const Ct=()=>xe(void 0,null,function*(){st(!0),ht("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Qe=yield(0,fe.ZJ)(ye==null?void 0:ye.src);Ke.current.src="",Ke.current.src=Qe,Ke.current.onload=function(){Ne()},st(!1),ht("")}),ze=Qe=>xe(void 0,null,function*(){st(!0),ht("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ot=yield(0,Me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ye.title,file:Qe.dataUrl}});Ot!=null&&Ot.id&&!Oe?(yield(0,Me.ZP)(`/api/attachments/${ye.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ot==null?void 0:Ot.id,settings:JSON.stringify(Qe.state)}})).status===0&&we():Ot!=null&&Ot.id&&we(Ot),st(!1),ht("")}),pt=()=>{const Qe=document.querySelector('a[href="https://markerjs.com/"]');Qe&&Qe.parentNode&&(Qe.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 lt=document.querySelector(ot.name);lt&&lt.setAttribute("title",ot.title)})},Ne=()=>{je.current=new Fe.hP(Ke.current),je.current.targetRoot=Je.current,je.current.addEventListener("render",ze),je.current.addEventListener("beforeclose",ve),Ee&&(je.current.availableMarkerTypes=je.current.ALL_MARKER_TYPES,je.current.uiStyleSettings.redoButtonVisible=!0,je.current.uiStyleSettings.notesButtonVisible=!0,je.current.uiStyleSettings.zoomButtonVisible=!0,je.current.uiStyleSettings.zoomOutButtonVisible=!0,je.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=je.current.uiStyleSettings,je.current.show(),ye!=null&&ye.snapshotData&&je.current.restoreState(ye.snapshotData),setTimeout(()=>{window.scrollTo(0,0),pt()},300)};return x.createElement(x.Fragment,null,(ye==null?void 0:ye.visible)&&x.createElement(He.Z,{spinning:Ve,tip:at,style:{position:"absolute",width:"100vw"}},x.createElement("div",{ref:Je,className:qe()(dt.imageDimensions,Re,Se?dt.fullWidth:""),style:Ie},x.createElement("img",{className:dt.img,ref:Ke}))))}},9057:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(77019),Le=ae(5269),qe=ae(31691),He=ae(7939),Fe=ae(35883),Me=ae(74501),fe=ae(48136),xe=ae(59301);const oe=(0,x.forwardRef)(({callback:Pe,showSaveButton:ye,value:Re=""},Se)=>{const Ie=(0,x.useRef)(),ve=[{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 "}]}]}],we=[{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=je=>{Ie.current.setValue(Ie.current.getValue()+" "+je.value+" ")},Oe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:xe.createElement(dt.Z,{className:Me.Z.lists,gutter:[10,10]},ve.map((je,_e)=>xe.createElement(Le.Z,{flex:"110px",className:Me.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:`$$${je.value}$$`}),je.name),xe.createElement("div",{className:Me.Z.children},je.children.map((Je,Ve)=>xe.createElement("div",{key:Ve},xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((st,at)=>xe.createElement(Le.Z,{key:at,onClick:()=>Ee(st),className:Me.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+st.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:xe.createElement(dt.Z,{className:Me.Z.lists,gutter:[10,10]},we.map((je,_e)=>xe.createElement(Le.Z,{flex:"110px",className:Me.Z.item},xe.createElement("div",null,xe.createElement(Fe.Z,{value:"`$$"+je.value+"$$`"}),je.name),xe.createElement("div",{className:Me.Z.children},je.children.map((Je,Ve)=>xe.createElement("div",{key:Ve},Je.name&&xe.createElement("h1",null,Je.name),xe.createElement(dt.Z,{gutter:[10,10]},Je.data.map((st,at)=>xe.createElement(Le.Z,{key:at,onClick:()=>Ee(st),className:Me.Z.diamond},xe.createElement(Fe.Z,{value:"`$$"+st.value+"$$`"}))))))))))}],Ke=()=>{var je=document.createElement("div");je.innerHTML=Ie.current.getValue();var _e=je.innerText;return Pe&&Pe(_e),_e};return(0,x.useImperativeHandle)(Se,()=>({getData:Ke})),xe.createElement("div",{className:Me.Z.mathWrap},xe.createElement(qe.default,{defaultActiveKey:"1",items:Oe}),xe.createElement("math-field",{locale:"zh_cn",className:Me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Ie,style:{width:800,marginTop:30,fontSize:18}},Re||""),ye&&xe.createElement("div",{className:Me.Z.button},xe.createElement(He.ZP,{size:"large",onClick:Ke,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Mt.Z=oe},90736:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(4977),Le=ae(7939),qe=Object.defineProperty,He=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(Se,Ie,ve)=>Ie in Se?qe(Se,Ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Se[Ie]=ve,Pe=(Se,Ie)=>{for(var ve in Ie||(Ie={}))fe.call(Ie,ve)&&oe(Se,ve,Ie[ve]);if(Me)for(var ve of Me(Ie))xe.call(Ie,ve)&&oe(Se,ve,Ie[ve]);return Se},ye=(Se,Ie)=>He(Se,Fe(Ie));const Re=({img:Se,buttonProps:Ie={},styles:ve={},customText:we,ButtonText:Ee,ButtonClick:Oe,Buttonclass:Ke,ButtonTwo:je,imgStyles:_e,loading:Je=!1,className:Ve=""})=>x.createElement("section",{className:`tc animated fadeIn ${Ve}`,style:Pe({color:"#999",margin:"100px auto",visibility:Je?"hidden":"visible"},ve)},x.createElement("img",{src:Se||dt,style:ye(Pe({},_e),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},we||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ee&&x.createElement(Le.ZP,Pe({className:Ke,onClick:Oe},Ie),Ee),je&&je);Mt.Z=Re},86974:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ke}});var x=ae(59301),dt={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},Le=ae(7939),qe=ae(70557),He=ae(34728),Fe=ae(25399),Me=ae(76406),fe=ae(84849),xe=ae(90736),oe=ae(14185),Pe=ae(52078),ye=ae(59301),Re=Object.defineProperty,Se=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(je,_e,Je)=>_e in je?Re(je,_e,{enumerable:!0,configurable:!0,writable:!0,value:Je}):je[_e]=Je,Ee=(je,_e)=>{for(var Je in _e||(_e={}))Ie.call(_e,Je)&&we(je,Je,_e[Je]);if(Se)for(var Je of Se(_e))ve.call(_e,Je)&&we(je,Je,_e[Je]);return je},Oe=(je,_e,Je)=>new Promise((Ve,st)=>{var at=ze=>{try{Ct(Je.next(ze))}catch(pt){st(pt)}},ht=ze=>{try{Ct(Je.throw(ze))}catch(pt){st(pt)}},Ct=ze=>ze.done?Ve(ze.value):Promise.resolve(ze.value).then(at,ht);Ct((Je=Je.apply(je,_e)).next())}),Ke=({editOffice:je="view",data:_e,issaver:Je,onSaver:Ve,theme:st,type:at,filename:ht,monacoEditor:Ct,className:ze,style:pt,close:Ne,onClose:Qe,hasMask:Ot,disabledDownload:ot,onImgDimensions:lt,showNodata:Bt,recordInfo:We})=>{const[ke,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"),[Kt,Ht]=(0,x.useState)(""),[nt,Pt]=(0,x.useState)(),Rt=window.ENV==="build"?"/react/build":"",hn=location.host.startsWith("localhost")?oe.Z.PROXY_SERVER:oe.Z.API_SERVER,mn=10*(1024*1024),kt=(0,x.useRef)();_e!=null&&_e.startsWith("/api")&&at!=="txt"&&(_e=oe.Z.API_SERVER+_e);const Fn=se=>se.substring(se.lastIndexOf("/")+1).split(".").pop();ht&&Ct&&(Ct.filename=ht),(0,x.useEffect)(()=>{var se,le;const Be=(le=(se=document.cookie)==null?void 0:se.replace(/\s/g,""))==null?void 0:le.split(";");Be==null||Be.map(Ge=>{let ut=Ge.split("=");ut[0]==="_educoder_session"&&Ht(ut[1])})},[]),(0,x.useEffect)(()=>{at==="office"&&(_e.indexOf("bigfilescdn.")>-1||_e.indexOf("bigfiles1")>-1?Pt({url:_e,fileType:Fn(_e),model:_e.indexOf("model=edit")?"edit":"view"}):_e.indexOf("coze")>-1?Pt({url:_e,fileType:"doc",model:"view"}):de())},[at,_e]);function an(se){return Oe(this,null,function*(){se.data.type==="pdfdata"&&(Ve(se.data.data),window.removeEventListener("message",an,!1)),console.log("mess---:",se.data)})}const de=()=>Oe(void 0,null,function*(){console.log("data:",_e);let se=_e;_e.startsWith("http")||(se=location.origin+se);let le=new URL(se).pathname.split("/").pop();const Be=yield(0,fe.gJ)({attachment_id:le});Be.url=hn+Be.url,Pt(Be)}),ge=()=>{if(_e.startsWith("http")||_e.startsWith("blob:")){ie();return}(0,Me.Sv)(ht||"educoder",_e,ht)},ie=()=>{We&&(0,Pe.fc)({id:We==null?void 0:We.id,watch_type:1,course_id:We==null?void 0:We.course_id}),(0,Me.Nd)(ht||"educoder",decodeURIComponent(_e))};(0,x.useEffect)(()=>(window.addEventListener("message",ee),()=>{window.removeEventListener("message",ee)}),[]);const ee=se=>{var le;((le=se==null?void 0:se.data)==null?void 0:le.type)==="closePop"&&Qe()};return ye.createElement("div",{style:Ee({},pt||{}),className:`${Ot&&dt.bgBlack} ${at?dt.wrp:"hide"}`},!!at&&Ne&&ye.createElement("div",{id:"closePop",className:dt.close,ref:kt},!!lt&&ye.createElement(Fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>kt.current},ye.createElement("span",{onClick:()=>{Qe(),lt()}},ye.createElement("i",{className:"icon-yulanpizhu"}))),!ot&&window.parent===window&&ye.createElement(Fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>kt.current},ye.createElement("span",{onClick:ie},ye.createElement("i",{className:"icon-quxiaozhiding"}))),Je&&ye.createElement(Fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>kt.current},ye.createElement("span",{className:"",onClick:()=>{const se=document.getElementById("pdfiframe");window.addEventListener("message",an,!1),setTimeout(()=>{se.contentWindow.postMessage("getData","*")},300)}},ye.createElement("i",{className:"icon-baocun"}))),ye.createElement(Fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>kt.current},ye.createElement("span",{className:"",onClick:()=>{Qe()}},ye.createElement("i",{className:"icon-guanbi1"})))),ye.createElement("div",{className:`${dt[ze]} ${ze} ${dt.monaco} ${at==="txt"?"show":"hide"}`},at==="txt"&&ye.createElement(ye.Fragment,null,ye.createElement(He.ZP,Ee({},Ct)))),at==="audio"&&ye.createElement("audio",{controls:!0,src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${_e}`,autoPlay:!0}),at==="video"&&ye.createElement(ye.Fragment,null,(_e==null?void 0:_e.indexOf("http"))>-1?ye.createElement("video",{controls:!0,src:`${_e}`,autoPlay:!0}):ye.createElement("video",{controls:!0,src:`data:video/mp4;base64,${_e}`,autoPlay:!0})),at==="office"&&nt&&ye.createElement("iframe",{src:`${Rt}/office.html?key=${nt.key}&url=${btoa(nt.url)}&callbackUrl=${hn+(nt.callbackUrl||"")}&fileType=${nt.fileType}&title=${nt.title||""}&model=${je}&officeServer=${oe.Z.ONLYOFFICE}&disabledDownload=${!!ot}`}),at==="html"&&ye.createElement("iframe",{src:_e+"&disposition=inline"}),at==="pdf"&&ye.createElement("iframe",{id:"pdfiframe",src:`${Rt}/js/pdf/index.html?filename=${ht||"educoder.pdf"}&url=${encodeURIComponent(_e)}&disabledDownload=${!!ot}&model=${je}`}),at==="image"&&ye.createElement("img",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${_e}`}),(at==="other"||at==="download")&&ye.createElement(ye.Fragment,null,Bt?ye.createElement(xe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ye.createElement(Le.ZP,{icon:ye.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ge,disabled:ot},"\u4E0B\u8F7D")}):ye.createElement(Le.ZP,{type:"primary",size:"middle",onClick:ge,disabled:ot},ye.createElement(qe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),at==="flowChart"&&ye.createElement("div",{className:"embed"},ye.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${_e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(Xn,Mt,ae){"use strict";ae.d(Mt,{z:function(){return Ct},Z:function(){return ze}});var x=ae(59301),dt=ae(46214),Le=ae(20047),qe=ae(64018),He=ae(16471),Fe=ae(14185),Me=ae(76406),fe=ae(15342),xe=ae(44104),oe=ae(7939),Pe=ae(1012),ye=ae(86974),Re=ae(59301),Ie=({html:pt})=>{const Ne=(0,x.useRef)(null),Qe=(0,x.useRef)(null),Ot=`.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"});Qe.current=document.createElement("div"),Qe.current.className="markdown-body",Qe.current.innerHTML=pt,ot.appendChild(Qe.current);const lt=document.createElement("style");return lt.textContent=Ot,ot.appendChild(lt),()=>{ot.innerHTML=""}},[]),(0,x.useEffect)(()=>{Qe.current&&(Qe.current.innerHTML=pt)},[pt]),Re.createElement("div",{ref:Ne})};function ve(pt){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"],Qe=new RegExp(`\\b(${Ne.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Ot=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return pt.replace(Qe,"").replace(Ot,"").trim()}var we={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ee=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,_e=(pt,Ne,Qe)=>Ne in pt?Ee(pt,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):pt[Ne]=Qe,Je=(pt,Ne)=>{for(var Qe in Ne||(Ne={}))Ke.call(Ne,Qe)&&_e(pt,Qe,Ne[Qe]);if(Oe)for(var Qe of Oe(Ne))je.call(Ne,Qe)&&_e(pt,Qe,Ne[Qe]);return pt};const Ve="@\u2581\u2581@",st="@\u2581@",at=/<pre[^>]*>/g;function ht(pt){let Ne=document.createElement("div");return Ne.innerHTML=pt,Ne.childNodes.length===0?"":Ne.childNodes[0].nodeValue}const Ct=(pt,Ne)=>{pt=pt||"";const Qe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ot=/\"(?: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,lt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ne?pt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Qe,(Bt,We,ke,At,Kt,Ht,nt)=>{const Pt=We||At||Ht,Rt=ke||Kt||nt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Pt+Rt+"&t="+(0,Me.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(pt=pt.replace(lt,(Bt,We,ke,At,Kt,Ht,nt)=>{const Pt=We||At||Ht,Rt=ke||Kt||nt||"?";return Fe.Z.API_SERVER+"/attachments/download/"+Pt+Rt+"&t="+(0,Me.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(Qe,(Bt,We,ke,At,Kt,Ht,nt)=>{const Pt=We||At||Ht,Rt=ke||Kt||nt||"?";return Fe.Z.API_SERVER+"/api/attachments/"+Pt+Rt+"&t="+(0,Me.Jn)(Pt,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(Ot,(Bt,We,ke,At,Kt)=>{const Ht=We||At,nt=ke||Kt||"";return'"'+Fe.Z.API_SERVER+"/api/attachments/"+Ht+nt+Ht+nt+"&t="+(0,Me.Jn)(Ht,Date.now())}).replace(ot,(Bt,We,ke,At,Kt)=>{const Ht=We||At,nt=ke||Kt||"";return"("+Fe.Z.API_SERVER+"/files/uploads/"+Ht+nt+Ht+nt+"&t="+(0,Me.Jn)(Ht,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,`
`),pt)};var ze=({value:pt="",edit:Ne=!1,className:Qe,showTextOnly:Ot,showLines:ot,style:lt={},stylesPrev:Bt={},highlightKeywords:We,showProgramFill:ke,isProgramFill:At,disabledFill:Kt=!1,programFillValue:Ht,openEditor:nt=()=>{},onFillChange:Pt=Tt=>{},onFillBlur:Rt=()=>{},onFillFocus:hn=()=>{}})=>{let Tt=ve(String(pt||""));const mn=(0,x.useRef)(),kt=(0,x.useRef)(),[Fn,an]=(0,x.useState)(""),[de,ge]=(0,x.useState)("office"),[ie,ee]=(0,x.useState)([]),se=(0,x.useRef)("a"+(0,Pe.Z)()),le={},Be=nn=>/<style[\s\S]*?>/i.test(nn||""),Ge=(nn,zn,Ln)=>{const _t=document.createElement(nn===st?"input":"textarea");_t.style.width="100%",_t.style.height=nn===st?"40px":"151px",_t.rows=5,_t.spellcheck=!1,_t.name="edu-program-fill",_t.placeholder="\u8BF7\u8F93\u5165",_t.dataset.id=zn;const un=Object.keys(le).length;return le[un]=_t,`<span class="edu-program-fill-wrap ${nn===st?"":"show"}" style="width:${nn===st?"600px":"100%"}" title=${Ln||""}><span>${_t.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function ut(nn){return nn=nn.replace(/!\[.*?\]\(.*?\)/g,""),nn=nn.replace(/\[.*?\]\(.*?\)/g,""),nn=nn.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),nn=nn.replace(/<embed.*?>/g,""),nn=nn.replace(/<img.*?>/g,""),nn=nn.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),nn=nn.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),nn=nn.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),nn=nn.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),nn}const mt=nn=>!Ot&&Be(Tt)?nn:nn.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(zn,Ln){let _t=Ln.replace(/(\n|\r)/g,"").split("}"),un=[];return _t.map(Pn=>{Pn!=""&&un.push(`.${se.current} ${Pn}`)}),`<style>${un.join("}")}</style>`}),vt=(0,x.useMemo)(()=>{(0,Le.Iy)();try{const _t=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,un=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Pn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Vn=/\(\/attachments\/download\//g;Tt=Tt.replace(Vn,"("+Fe.Z.API_SERVER+"/attachments/download/").replace(_t,"("+Fe.Z.API_SERVER+"/api/attachments/").replace(un,'"'+Fe.Z.API_SERVER+"/api/attachments/").replace(Pn,'"'+Fe.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,`
`),mn.current.style.display="none"}catch(_t){}if(ke){let _t=-1;return Tt=Tt.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(un,Pn,Vn){var Lt;return++_t,Ge(un,_t,(Lt=Ht==null?void 0:Ht[_t])==null?void 0:Lt.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${mt(Tt||"")}</pre>`}let nn=mt(Tt);nn=(0,Le.ZP)(nn);const zn=(0,Le.ez)();Tt.match(/\[TOC\]/)&&(nn=nn.replace("<p>[TOC]</p>",(0,Le.Qv)()),(0,Le.Iy)()),nn=nn.replace(/(__special_katext_id_\d+__)/g,(_t,un)=>{const{type:Pn,expression:Vn}=zn[un];return(0,fe.renderToString)(ht(Vn)||"",{displayMode:Pn==="block",throwOnError:!1,output:"html"})}),nn=nn.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Le.AL)();const Ln=document.createElement("div");if(Ln.innerHTML=nn,Ot)return Ln.innerText;if(We){const _t=We.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return xt(Ln,_t),Ln.innerHTML}return setTimeout(()=>Wt(),500),Ln.innerHTML},[Tt,We]);(0,x.useEffect)(()=>{ct.current&&ct.current.querySelectorAll(["input","textarea"]).forEach(zn=>{zn.oninput=St,zn.onblur=Dt,zn.onfocus=Qt})},[ie]),(0,x.useEffect)(()=>{var nn,zn,Ln,_t,un;if(Ht!=null&&Ht.length)try{const Pn=ct.current.querySelectorAll(".edu-program-fill-score"),Vn=ct.current.querySelectorAll('[name="edu-program-fill"]');for(const[Lt,Gt]of Vn.entries())Gt.value=((nn=Ht==null?void 0:Ht[Lt])==null?void 0:nn.value)||"",((zn=Ht==null?void 0:Ht[Lt])==null?void 0:zn.type)==="warning"?Gt.className="program-fill-warning":((Ln=Ht==null?void 0:Ht[Lt])==null?void 0:Ln.type)==="success"?Gt.className="program-fill-success":Gt.className="";for(const[Lt,Gt]of Pn.entries())Gt.innerHTML=(_t=Ht==null?void 0:Ht[Lt])!=null&&_t.score?`${(un=Ht==null?void 0:Ht[Lt])==null?void 0:un.score}\u5206`:"";ee(Ht)}catch(Pn){console.log(Pn,"error")}},[Ht]);const St=nn=>{ie[nn.target.dataset.id]=ie[nn.target.dataset.id]||{},ie[nn.target.dataset.id].value=nn.target.value,ee([...ie]),Pt(ie,nn.target.dataset.id)},Dt=nn=>{ie[nn.target.dataset.id]=ie[nn.target.dataset.id]||{},ie[nn.target.dataset.id].value=nn.target.value,ee([...ie]),Rt(ie,nn.target.dataset.id)},Qt=nn=>{ie[nn.target.dataset.id]=ie[nn.target.dataset.id]||{},ie[nn.target.dataset.id].value=nn.target.value,ee([...ie]),hn(ie,nn.target.dataset.id)};function xt(nn,zn){return nn.childNodes.forEach(Ln=>{var _t;if(Ln.childNodes.length>0)xt(Ln,zn);else if(Ln.nodeName!=="IMG")if(Ln.innerHTML)Ln.innerHTML=(_t=Ln.innerHTML)==null?void 0:_t.replace(new RegExp(zn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const un=document.createElement("span");un.innerHTML=Ln.textContent.replace(new RegExp(zn,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Ln.replaceWith(un)}})}const ct=(0,x.useRef)();Le.jb.WebkitLineClamp=ot,ot&&(lt=Je(Je({},lt),Le.jb));function Xt(nn){let zn=nn.target;if(zn.tagName.toUpperCase()==="A"){let Ln=zn.getAttribute("href");if(Ln.indexOf("office")>-1)nn.preventDefault(),an(Ln),ge("office");else if(Ln.indexOf("application/pdf")>-1)nn.preventDefault(),an(Ln),ge("pdf");else if(Ln.indexOf("text/html")>-1)nn.preventDefault(),an(Ln),ge("html");else if(Ln.startsWith("#")){nn.preventDefault();let _t=document.getElementById(Ln.replace("#",""));_t&&_t.scrollIntoView(!0)}}}const Wt=()=>{var nn;const zn=(nn=ct.current)==null?void 0:nn.querySelectorAll("video");zn==null||zn.forEach(Ln=>{if(Ln.oncontextmenu=()=>!1,Ln.src.indexOf(".m3u8")>-1&&!Ln.canPlayType("application/vnd.apple.mpegurl")){if(He.ZP.isSupported()){var _t=new He.ZP;_t.loadSource(Ln.src),_t.attachMedia(Ln)}}})};(0,x.useEffect)(()=>{if(ct.current&&vt&&vt.match(at)&&window.PR.prettyPrint(),ct.current)return ct.current.addEventListener("click",Xt),()=>{var nn;(nn=ct.current)==null||nn.removeEventListener("click",Xt),(0,Le.AL)(),(0,Le.Iy)()}},[vt,ct.current,Xt]);const wn=nn=>{nn.target.nodeName==="IMG"&&nn.target.className.indexOf("draw-flowchart")>-1?(mn.current.style.zIndex=1,mn.current.style.display="flex",mn.current.style.width=nn.target.clientWidth+"px",mn.current.style.height=nn.target.clientHeight+"px",mn.current.style.top=nn.target.offsetTop+"px",mn.current.style.left=nn.target.offsetLeft+"px",nn.target.id&&(kt.current=nn.target.id)):mn.current.style.display="none"},ln=()=>{mn.current.style.display="none"};return(0,x.useEffect)(()=>{var nn;const zn=Ln=>{Ln.preventDefault(),Ln.clipboardData.setData("text",window.getSelection().toString())};return(nn=ct.current)==null||nn.addEventListener("copy",zn),()=>{var Ln;(Ln=ct.current)==null||Ln.removeEventListener("copy",zn)}},[ct.current]),x.createElement("div",{style:{position:"relative"},onMouseLeave:ln},Ot&&x.createElement("div",{ref:ct,className:`${we.mdBody} `},vt),!Ot&&!Be(vt)&&x.createElement("div",{ref:ct,style:Je({},lt),onMouseOver:wn,className:`${Qe||""} ${Kt?"disabled-fill":""} markdown-body ${we.mdBody} ${se.current}`,dangerouslySetInnerHTML:{__html:vt}}),!Ot&&Be(vt)&&x.createElement(Ie,{html:vt}),x.createElement("div",{ref:mn,className:`${we.button} ${Ne?"":we.previewFlowChart}`},x.createElement(xe.Z,null,x.createElement(oe.ZP,{onClick:()=>{Ne?nt(kt.current):(an(kt.current),ge("flowChart"))}},Ne?"\u7F16\u8F91":"\u9884\u89C8"))),x.createElement(ye.Z,{close:!0,data:Fn,type:Fn!=null&&Fn.length?de:"",style:Je({},Bt),onClose:()=>an("")}))}},7011:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return ve}});var x=ae(44283),dt=ae(62957),Le=ae(7939),qe=ae(49317),He={archiveTip:"archiveTip___k77Pl"},Fe=ae(42075),Me=ae(59301),fe=Object.defineProperty,xe=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,ye=(we,Ee,Oe)=>Ee in we?fe(we,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):we[Ee]=Oe,Re=(we,Ee)=>{for(var Oe in Ee||(Ee={}))oe.call(Ee,Oe)&&ye(we,Oe,Ee[Oe]);if(xe)for(var Oe of xe(Ee))Pe.call(Ee,Oe)&&ye(we,Oe,Ee[Oe]);return we},Se=(we,Ee,Oe)=>new Promise((Ke,je)=>{var _e=st=>{try{Ve(Oe.next(st))}catch(at){je(at)}},Je=st=>{try{Ve(Oe.throw(st))}catch(at){je(at)}},Ve=st=>st.done?Ke(st.value):Promise.resolve(st.value).then(_e,Je);Ve((Oe=Oe.apply(we,Ee)).next())});const Ie=({globalSetting:we,loading:Ee,dispatch:Oe,user:Ke,shixunHomeworks:je})=>{var _e;return Me.createElement(dt.default,{centered:!0,open:je.actionTabs.key=="\u91CD\u7F6E\u4ED3\u5E93\u63D0\u793A",title:"\u63D0\u793A",width:550,onCancel:()=>{je.actionTabs.goToBack(),Oe({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},footer:Me.createElement("div",null,Me.createElement(Le.ZP,{onClick:()=>{var Je;((Je=je.actionTabs.params)==null?void 0:Je.type)=="\u9000\u51FA\u5B9E\u8BAD"&&je.actionTabs.goToBack(),Oe({type:"shixunHomeworks/setActionTabs",payload:{key:""}})}},((_e=je.actionTabs.params)==null?void 0:_e.type)=="\u9000\u51FA\u5B9E\u8BAD"?"\u9000\u51FA\u5B9E\u8BAD":"\u6211\u77E5\u9053\u4E86"),Me.createElement(Fe.Z,{type:"primary",onClick:()=>Se(void 0,null,function*(){let Je={};const Ve=yield(0,qe.ZP)(`/api/myshixuns/${je.actionTabs.params.roleInfo}/reset_repository.json`,{method:"post",body:Re({},Je)});(Ve==null?void 0:Ve.status)==0&&(Oe({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),je.actionTabs.goToDetail())})},"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"))},Me.createElement("div",null,Me.createElement("div",{className:He.archiveTip},"\u4F60\u6B63\u5728\u8BBF\u95EE\u7684\u5B9E\u8BAD\u4EE3\u7801\u4ED3\u5E93\u5DF2\u7ECF\u957F\u671F\u672A\u4F7F\u7528\uFF08\u8D85\u8FC7 1 \u5E74\uFF09\uFF0C"),Me.createElement("div",{className:He.archiveTip},"\u5E73\u53F0\u5DF2\u6309\u89C4\u5219\u5BF9\u8FD9\u7C7B\u5386\u53F2\u6570\u636E\u8FDB\u884C\u6E05\u7406\u3002"),Me.createElement("div",{className:He.archiveTip,style:{marginTop:"30px"}},"\u4F46\u4E0D\u5F71\u54CD\u4F60\u7EE7\u7EED\u4F7F\u7528\uFF0C\u53EF\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93\u5E76\u8FDB\u5165\u5B9E\u8BAD\u3002")))};var ve=(0,x.connect)(({loading:we,globalSetting:Ee,shixunHomeworks:Oe,user:Ke})=>({globalSetting:Ee,loading:we.effects,shixunHomeworks:Oe,user:Ke}))(Ie)},28303:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return pt}});var x=ae(59301),dt=ae(44283),Le=ae(62957),qe=ae(28284),He=ae(6767),Fe=ae(29787),Me=ae(18287),fe=ae(77019),xe=ae(5269),oe=ae(25399),Pe=ae(37568),ye={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Re=ae(63392),Se=ae(32352),Ie=ae(90736),ve=ae(70467),we=Object.defineProperty,Ee=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Je=(Ne,Qe,Ot)=>Qe in Ne?we(Ne,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Ne[Qe]=Ot,Ve=(Ne,Qe)=>{for(var Ot in Qe||(Qe={}))je.call(Qe,Ot)&&Je(Ne,Ot,Qe[Ot]);if(Ke)for(var Ot of Ke(Qe))_e.call(Qe,Ot)&&Je(Ne,Ot,Qe[Ot]);return Ne},st=(Ne,Qe)=>Ee(Ne,Oe(Qe)),at=(Ne,Qe)=>{var Ot={};for(var ot in Ne)je.call(Ne,ot)&&Qe.indexOf(ot)<0&&(Ot[ot]=Ne[ot]);if(Ne!=null&&Ke)for(var ot of Ke(Ne))Qe.indexOf(ot)<0&&_e.call(Ne,ot)&&(Ot[ot]=Ne[ot]);return Ot},ht=(Ne,Qe,Ot)=>new Promise((ot,lt)=>{var Bt=At=>{try{ke(Ot.next(At))}catch(Kt){lt(Kt)}},We=At=>{try{ke(Ot.throw(At))}catch(Kt){lt(Kt)}},ke=At=>At.done?ot(At.value):Promise.resolve(At.value).then(Bt,We);ke((Ot=Ot.apply(Ne,Qe)).next())});const Ct=(Ne=[])=>Ne==null?void 0:Ne.map(Qe=>st(Ve({},Qe),{title:(Qe==null?void 0:Qe.value)||"",key:Qe==null?void 0:Qe.id,isLeaf:!0})),ze=Ne=>{var Qe=Ne,{user:Ot,children:ot,isShowComponent:lt=!0,ModalProps:Bt={},onDataSelect:We}=Qe,ke=at(Qe,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[At,Kt]=Le.default.useModal(),[Ht]=qe.default.useForm(),[nt,Pt]=(0,x.useState)([]),[Rt,hn]=(0,x.useState)(!1),[Tt,mn]=(0,x.useState)(!1),[,kt,Fn,an]=(0,Re.U)(Se.qE,{page:1,limit:9999}),[,,de]=(0,Re.U)(Se.V8,{}),[,,ge]=(0,Re.U)(Se.B$,{}),[,,ie]=(0,Re.U)(Se.DH,{}),[,,ee]=(0,Re.U)(Se.bJ,{}),se=()=>{hn(!1),Ht.resetFields(),mn(!1)},le=Ge=>ht(void 0,null,function*(){const{node:ut,dragNode:mt,event:vt}=Ge,St=Ge.node.pos.split("-"),Dt=Ge.dropPosition-Number(St[St.length-1]);if(Dt==0){He.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(Dt==1&&(mt==null?void 0:mt.item_index)==(ut==null?void 0:ut.item_index)+1){He.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Qt=yield ee({id:mt==null?void 0:mt.key,position:Dt==-1?1:(mt==null?void 0:mt.item_index)>(ut==null?void 0:ut.item_index)?(ut==null?void 0:ut.item_index)+1:ut==null?void 0:ut.item_index});(Qt==null?void 0:Qt.status)===0&&(He.ZP.success("\u79FB\u52A8\u6210\u529F"),Fn({},!0))}),Be=Ge=>ht(void 0,null,function*(){let ut={};Tt?ut=yield ge(Ve({},Ge)):ut=yield ie(Ve({},Ge)),(ut==null?void 0:ut.status)==0&&(He.ZP.success((ut==null?void 0:ut.message)||(Tt?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Fn({},!0),se())});return(0,x.useEffect)(()=>{Bt!=null&&Bt.open&&Fn({},!0)},[Bt==null?void 0:Bt.open]),(0,x.useEffect)(()=>{var Ge;Pt(Ct((Ge=an==null?void 0:an.data)==null?void 0:Ge.list))},[an]),lt?x.createElement(x.Fragment,null,Kt,ot,x.createElement(Le.default,Ve({},Ve({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Bt)),x.createElement(Fe.Z,{spinning:kt},(nt==null?void 0:nt.length)>0?x.createElement(x.Fragment,null,x.createElement(Me.default.DirectoryTree,{height:500,className:ye.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:We,treeData:nt,onDrop:le,titleRender:Ge=>x.createElement(x.Fragment,null,x.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Ge==null?void 0:Ge.title),x.createElement("div",{className:`${ye.EditDom}`},x.createElement(fe.Z,{wrap:!1,align:"middle",gutter:16},x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},x.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ye.currentPrimary}`}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u7F16\u8F91"},x.createElement("i",{className:`iconfont icon-bianji11 font12 ${ye.currentPrimary}`,onClick:ut=>{ut.stopPropagation(),Ht.setFieldsValue(Ve({},Ge)),hn(!0)}}))),x.createElement(xe.Z,null,x.createElement(oe.Z,{title:"\u5220\u9664"},x.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ye.currentDelete}`,onClick:ut=>{ut.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:()=>ht(void 0,null,function*(){const mt=yield de({id:Ge==null?void 0:Ge.key});(mt==null?void 0:mt.status)==0&&(He.ZP.success((mt==null?void 0:mt.message)||"\u5220\u9664\u6210\u529F"),Fn({},!0))})})}}))))))}),x.createElement(ve.op,{className:"ml20 mt20",icon:x.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{mn(!0),hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):x.createElement(Ie.Z,{styles:{margin:"30px auto"},customText:x.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",x.createElement("a",{onClick:()=>{mn(!0),hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),x.createElement(Le.default,{title:Tt?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Rt,okText:Tt?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{se()},onOk:()=>{Ht.submit()}},x.createElement(qe.default,{form:Ht,onFinish:Be},Tt&&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(qe.default.Item,{hidden:!0,name:"id"}),x.createElement(qe.default.Item,{className:"mt10",name:"value"},x.createElement(Pe.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 pt=(0,dt.connect)(({loading:Ne,user:Qe})=>({user:Qe,loading:Ne.effects}))(ze)},11295:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return qe}});var x=ae(59301),dt=ae(33156),Le=ae(75786),qe=()=>{const[He,Fe]=(0,x.useState)(""),[Me,fe]=(0,x.useState)(0);let[xe,oe]=(0,x.useState)(),[Pe,ye]=(0,x.useState)();const[Re,Se]=(0,x.useState)(!1),Ie=(0,x.useRef)("");(0,x.useEffect)(()=>dt.Z.subscribe("preview-image",at=>{Fe(at),console.log(Je.current)}),[]),(0,x.useEffect)(()=>(document.addEventListener("keydown",ve),()=>{document.removeEventListener("keydown",ve)}),[]),(0,x.useEffect)(()=>{Ie.current=He},[He]);function ve(st){console.log("e====",st),st.keyCode==27&&Ie.current&&we()}function we(){document.body.style.overflow="auto",oe(void 0),ye(void 0),fe(0),Fe("")}function Ee(){fe(Me+90)}function Oe(){xe=Je.current.width*1.1,Pe=Je.current.height*1.1,ye(Pe),oe(xe)}function Ke(){xe=Je.current.width/1.1,Pe=Je.current.height/1.1,ye(Pe),oe(xe)}const je=(0,x.useRef)(),_e=(0,x.useRef)(),Je=(0,x.useRef)(),Ve=st=>{(st.nativeEvent.target===je.current||st.nativeEvent.target===_e.current)&&we()};return x.createElement(x.Fragment,null,He?x.createElement("div",null,x.createElement("div",{className:"preview-wrp-group",ref:_e},x.createElement(Le.Z,{className:"image-preview",src:He,style:{display:"none"},preview:{visible:!0,src:He,onVisibleChange:st=>{Fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},28267:function(Xn,Mt,ae){"use strict";ae.d(Mt,{h:function(){return je}});var x=ae(59301),dt=ae(82326),Le=ae(28284),qe=ae(7939),He=ae(89780),Fe=ae.n(He),Me=ae(88319),fe=ae(94896),xe=Object.defineProperty,oe=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ie=(_e,Je,Ve)=>Je in _e?xe(_e,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):_e[Je]=Ve,ve=(_e,Je)=>{for(var Ve in Je||(Je={}))Re.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);if(ye)for(var Ve of ye(Je))Se.call(Je,Ve)&&Ie(_e,Ve,Je[Ve]);return _e},we=(_e,Je)=>oe(_e,Pe(Je));const Ee=dt.default.Option,Oe={labelCol:{span:4},wrapperCol:{span:20}},Ke={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"]};Mt.Z=({callback:_e,onCancel:Je})=>{const[Ve,st]=(0,x.useState)("python");function at(Ct){st(Ke[Ct][1])}function ht(Ct){_e(Ct)}return x.createElement(Le.default,we(ve({},Oe),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ht,style:{width:500}}),x.createElement(Le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(dt.default,{getPopupContainer:Ct=>Ct.parentNode,onChange:at},Object.keys(Ke).map(Ct=>x.createElement(Ee,{key:Ct,value:Ct},Ke[Ct][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(je,{mode:Ve})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(qe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(qe.ZP,{type:"ghost",onClick:Je},"\u53D6\u6D88")))};function je({value:_e,onChange:Je,mode:Ve,options:st={}}){const at=(0,x.useRef)(),[ht,Ct]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ht){let ze=function(pt){const Ne=pt.getValue();Je&&Je(Ne)};return ht.on("change",ze),()=>{ht.off("change",ze)}}},[ht,Je]),(0,x.useEffect)(()=>{ht&&ht.setOption("mode",Ve)},[ht,Ve]),(0,x.useEffect)(()=>{ht&&(_e!==ht.getValue()||_e==="")&&setTimeout(()=>{ht.setValue(_e||"")},300)},[ht,_e]),(0,x.useEffect)(()=>{if(at.current&&!ht){const ze=Fe().fromTextArea(at.current,ve({mode:Ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},st));Ct(ze)}},[at.current,ht]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:at}))}},39116:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return rr}});var x=ae(59301),dt=ae(44283),Le=ae(89780),qe=ae.n(Le),He=ae(76374),Fe=ae(88319),Me=ae(6313),fe=ae(25717),xe=ae(99498),oe=ae(25419),Pe=ae(67549),ye=ae(35883),Re=({value:Zn="",className:br,showTextOnly:Br,showLines:Or,style:ci={}})=>{const Ai=(0,x.useMemo)(()=>"",[Zn]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:Ai}}))},Se=Object.defineProperty,Ie=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ke=(Zn,br,Br)=>br in Zn?Se(Zn,br,{enumerable:!0,configurable:!0,writable:!0,value:Br}):Zn[br]=Br,je=(Zn,br)=>{for(var Br in br||(br={}))Ee.call(br,Br)&&Ke(Zn,Br,br[Br]);if(we)for(var Br of we(br))Oe.call(br,Br)&&Ke(Zn,Br,br[Br]);return Zn},_e=(Zn,br)=>Ie(Zn,ve(br));let Je=[{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 Ve({onActionCallback:Zn,title:br,icon:Br,actionName:Or,className:ci="",children:Ai}){function di(){Zn(Or)}return x.createElement("a",{title:br,className:ci,onClick:di},x.createElement("i",{className:`${Br}`}),Ai)}var st=({watch:Zn,showNullButton:br,showNullProgramButton:Br,onActionCallback:Or,fullScreen:ci,insertTemp:Ai,hidetoolBar:di,extraUse:Pi})=>{const yi=[...Je,{title:`${Zn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Zn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return x.createElement("ul",{className:"markdown-toolbar-container"},!di&&yi.map((oo,Gi)=>x.createElement("li",{key:Gi},oo.actionName?x.createElement(Ve,_e(je({},oo),{onActionCallback:Or})):x.createElement("span",{className:"v-line"}))),br?x.createElement("li",null,x.createElement(Ve,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Or},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(Ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Or},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),x.createElement("li",null,x.createElement(Ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Or},x.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Ai&&x.createElement("li",null,x.createElement(Ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ai}`,onActionCallback:Or},x.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Pi&&x.createElement("li",null,Pi),x.createElement("li",{className:"btn-full-screen"},x.createElement(Ve,{icon:`${ci?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ci?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Or})))},at=ae(88487),ht=ae(28284),Ct=ae(37568),ze=ae(7939),pt=Object.defineProperty,Ne=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,Bt=(Zn,br,Br)=>br in Zn?pt(Zn,br,{enumerable:!0,configurable:!0,writable:!0,value:Br}):Zn[br]=Br,We=(Zn,br)=>{for(var Br in br||(br={}))ot.call(br,Br)&&Bt(Zn,Br,br[Br]);if(Ot)for(var Br of Ot(br))lt.call(br,Br)&&Bt(Zn,Br,br[Br]);return Zn},ke=(Zn,br)=>Ne(Zn,Qe(br));const At={labelCol:{span:4},wrapperCol:{span:20}};var Kt=({callback:Zn,onCancel:br})=>{function Br(Or){Zn(Or)}return x.createElement(ht.default,ke(We({},At),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Br,style:{width:500}}),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Ct.default,null)),x.createElement(ht.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Ct.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ze.ZP,{type:"ghost",onClick:br},"\u53D6\u6D88")))},Ht=ae(28267),nt=ae(53332),Pt=ae(62957),Rt=ae(77019),hn=ae(40254),Tt=ae(59301),mn=({callback:Zn,onCancel:br})=>{const Br=document.createElement("canvas"),Or=Br.getContext("2d");Br.width=1e3,Br.height=800,Or.fillStyle="#ffffff",Or.fillRect(0,0,Br.width,Br.height);const ci=Br.toDataURL("image/png");return Tt.createElement(Pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Tt.createElement(Rt.Z,{style:{height:"100vh"}},Tt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ci,visible:!0,title:String(Date.now())},onOk:Ai=>{Zn({src:Ai.url})},onClose:br})))},kt=ae(36207),Fn=ae(5269),an=ae(6767),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ge=ae(59301),ee=(0,x.forwardRef)(({onCancel:Zn,editImgId:br,callback:Br},Or)=>{let ci=(0,x.useRef)(),Ai=(0,x.useRef)(),di=(0,x.useRef)(),Pi=(0,x.useRef)(!1);const yi=(0,x.useRef)(!1);console.log("ref:",Or);const[oo,Gi]=(0,x.useState)(0),[ar,Dr]=(0,x.useState)("100vh");return(0,x.useEffect)(()=>{Gi(1)},[]),(0,x.useImperativeHandle)(Or,()=>({setHeight:Dr})),ge.createElement("div",{ref:yi,className:"body-overflow-initial"},ge.createElement(kt.Z,{width:"100vw",height:ar,footer:null,closable:!0,placement:"bottom",open:!!oo,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${de.drawerWrap}`,onClose:()=>{window.saveDrawData(gi=>{Br({src:`/api/attachments/${gi}`,id:gi})})},title:ge.createElement(Rt.Z,{align:"middle"},ge.createElement(Fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ge.createElement(Fn.Z,{onClick:()=>{Dr(ar==="60px"?"100vh":"60px")}},ge.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ge.createElement(Fn.Z,{onClick:()=>{window.saveDrawData(gi=>{if(gi===null){an.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}an.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Br({src:`/api/attachments/${gi}`,id:gi,disabledClose:!0})})}},ge.createElement(ze.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ge.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${br||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Ai})))}),se=ae(14185),le=ae(47889),Be=ae(4875);const Ge=le.ZP.Group,ut={margin:"0 8px"};var mt=({callback:Zn,onCancel:br})=>{function Br(Or){Zn(Or)}return x.createElement(ht.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:ut},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:ut},"\u884C\u6570"),x.createElement(ht.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(Be.Z,null)),x.createElement("span",{style:ut},"\u5217\u6570"),x.createElement(ht.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:ut},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ht.default.Item,{name:"align"},x.createElement(Ge,null,x.createElement(le.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(le.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(le.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(le.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(ze.ZP,{type:"ghost",onClick:br},"\u53D6\u6D88")))},vt=ae(58755),St=ae(84915),Dt=ae.n(St),xt=(0,x.forwardRef)(({use3d:Zn,width:br,height:Br,callback:Or,showSaveButton:ci},Ai)=>{const di=(0,x.useRef)(),Pi=(0,x.useRef)(),[yi,oo]=(0,x.useState)(!1),Gi=(0,x.useRef)({id:di,appName:"graphing",width:br||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)(()=>{Pi.current=new(Dt())(Gi.current,!0),window.onload=function(){Pi.current.inject("applet_container")}},[]);const ar=()=>{var Dr=window.ggbApplet.getPNGBase64(1,!0,72);return Or&&Or(Dr),Dr};return(0,x.useEffect)(()=>{Gi.current.appName=yi?"3D":"graphing",Pi.current.inject("applet_container")},[yi]),(0,x.useEffect)(()=>{oo(Zn)},[Zn]),(0,x.useImperativeHandle)(Ai,()=>({getImgData:ar})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:di}),x.createElement(Rt.Z,{align:"middle"},x.createElement(Fn.Z,{flex:1},x.createElement(vt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:yi,onChange:Dr=>oo(Dr)})),x.createElement(Fn.Z,null,x.createElement(ze.ZP,{size:"large",onClick:ar,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ct=ae(9057);const Xt="link",Wt="upload-image",wn="add-flowchart",ln="draw-image",nn="add-flowchart",zn="code-block",Ln="add-table",_t="------------",un={default:_t,left:`:${_t}`,center:`:${_t}:`,right:`${_t}:`};var Pn=ae(79006),Vn=ae(76406);function Lt(){}let Gt=0;const sn=1e4,bn="\u2581",Yn="@\u2581\u2581@",pr="@\u2581@",ti=`
**\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`,si=["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 Cr(Zn){return/^\d+$/.test(Zn)?`${Zn}px`:Zn}const dr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",yn={[dr+"-B"]:"bold",[dr+"-I"]:"italic"},$n={[Xt]:"\u6DFB\u52A0\u94FE\u63A5",[zn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Wt]:"\u6DFB\u52A0\u56FE\u7247",[ln]:"\u6DFB\u52A0\u753B\u56FE",[wn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ln]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var rr=({defaultValue:Zn="",onChange:br,width:Br="100%",height:Or=400,miniToolbar:ci=!1,isFocus:Ai=!1,watch:di,insertTemp:Pi,mode:yi="markdown",id:oo="markdown-editor-id",showResizeBar:Gi=!1,noStorage:ar=!1,showNullButton:Dr=!1,showNullProgramButton:gi=!1,hidetoolBar:ni=!1,fullScreen:An=!1,onBlur:Cn,onCMBeforeChange:tt,onFullScreen:pn,className:Zt="",disablePaste:vn=!1,disabled:On=!1,disabledFill:Rr=!1,placeholder:Xr="",values:li="",extraUse:nr,onAddBlank:or})=>{const[er,_r]=(0,x.useState)(null),[Ti,bi]=(0,x.useState)(Zn),[Xi,Er]=(0,x.useState)(di),[tn,$t]=(0,x.useState)(An),[jn,lr]=(0,x.useState)(""),[gr,Ir]=(0,x.useState)(0),[Kr,zr]=(0,x.useState)(Or),[pi,Ci]=(0,x.useState)(!1),[xi,hi]=(0,x.useState)(0),[Ii,Di]=(0,x.useState)(0),$i=(0,x.useRef)(),no=(0,x.useRef)(),Hi=(0,x.useRef)(),ai=(0,x.useRef)(),ao=(0,x.useRef)(),ki=(0,x.useRef)(),So=(0,dt.useDispatch)();(0,x.useEffect)(()=>{const jr=window.scrollY||window.pageYOffset;bi(li),er==null||er.setValue(li),window.scrollTo(0,jr)},[li]),(0,x.useEffect)(()=>{pn==null||pn(tn)},[tn]),(0,x.useEffect)(()=>{if($i.current){let jr=function(Bi,_i){var Ro;if(vn){_i.preventDefault();return}const ya=_i.clipboardData;if(ya){const $o=ya.types.toString(),Ea=ya.items;if($o==="Files"||ya.types.indexOf("Files")>-1){if(_i.preventDefault(),yi=="stex")return;try{let da=Ea[1];((Ro=Ea[0])==null?void 0:Ro.kind)==="file"&&(da=Ea[0]);const wa=da.getAsFile(),Wr=wa.name.split(".").pop();(0,nt.I)(wa,Ji=>{var xo,ba,Xa;Ji.id?((xo=wa==null?void 0:wa.type)==null?void 0:xo.indexOf("image"))>-1?Yr.replaceSelection(`<img width="100%" src="/api/attachments/${Ji.id}?type=${Ji.content_type})" alt="" />`):((ba=wa==null?void 0:wa.type)==null?void 0:ba.indexOf("video"))>-1?Yr.replaceSelection(`<video width="100%" controls src="/api/attachments/${Ji.id}"></video>`):((Xa=wa==null?void 0:wa.type)==null?void 0:Xa.indexOf("pdf"))>-1?Yr.replaceSelection(`<a href="/api/attachments/${Ji.id}?type=${wa.type}&disposition=inline" target="_blank">${wa.name}</a>`):si.includes(Wr)?Yr.replaceSelection(`<a href="/api/attachments/${Ji.id}?type=office&disposition=inline" target="_blank">${wa.name}</a>`):Yr.replaceSelection(`[${wa.name}](/api/attachments/${Ji.id}?type=${Ji.content_type})`):(Ji==null?void 0:Ji.status)===401&&(document.location.href="/user/login")})}catch(da){an.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Yr=qe().fromTextArea($i.current,{mode:yi,lineNumbers:!ci,lineWrapping:!0,value:Zn,autoCloseTags:!0,autoCloseBrackets:!0});return Yr.on("keyup",function(Bi,_i){_i.keyCode===8&&(Bi.getValue()==""?Yr.setOption("placeholder",Xr):Yr.setOption("placeholder",null))}),Yr.on("keydown",function(Bi,_i){if(_i.keyCode===8){var Ro=Do(Bi);Ro&&_i.preventDefault()}}),Ai&&Yr.focus(),Yr.on("paste",jr),On&&Yr.on("beforeChange",function(Bi,_i){(_i.origin==="paste"||_i.origin==="+input")&&_i.cancel()}),_r(Yr),()=>{Yr.off("paste",jr)}}},[]);const uo=(0,x.useCallback)(()=>{if(no.current)try{}catch(jr){console.log(jr,"---- to set md editor body height")}},[Kr,no,tn]);(0,x.useEffect)(()=>{function jr(){let Yr=new He.Z(Bi=>{for(let _i of Bi)(_i.target.offsetHeight>0||_i.target.offsetWidth>0)&&(uo(),er.setSize("100%","100%"),er.refresh())});return Yr.observe($i.current.parentElement),Yr}if(er){const Yr=jr();return()=>{var Bi,_i;(Bi=$i.current)!=null&&Bi.parentElement&&Yr.unobserve((_i=$i.current)==null?void 0:_i.parentElement)}}},[er,uo]),(0,x.useEffect)(()=>{if(er){let jr=[];for(const[Yr,Bi]of Object.entries(yn)){let _i={[Yr]:()=>{Co(Bi)}};jr.push(_i),er.addKeyMap(_i)}return()=>{for(let Yr of jr)er.removeKeyMap(Yr)}}},[er]),(0,x.useEffect)(()=>{An!==tn&&$t(An)},[An]),(0,Pn.Z)(()=>{if(!ar&&gr>0){let jr=new Date().getTime(),Yr=window.sessionStorage.getItem(oo);jr>=gr+sn&&(!Yr||Yr!==Ti)&&(window.sessionStorage.setItem(oo,Ti),Ci(!0))}},sn),(0,x.useEffect)(()=>{Er(di)},[er,di]),(0,x.useEffect)(()=>{er&&Ai&&er.focus()},[er,Ai]),(0,x.useEffect)(()=>{if(Xi&&er){let jr=function(Bi){let _i=Bi.target;if(ai.current){let Ro=_i.scrollTop/_i.scrollHeight;ai.current.scrollTop=ai.current.scrollHeight*Ro}};const Yr=er.getScrollerElement();return Yr.addEventListener("scroll",jr),()=>{Yr.removeEventListener("scroll",jr)}}},[er,Xi]),(0,x.useEffect)(()=>{if(er&&tt){let jr=function(Yr,Bi){tt(Yr,Bi)};return er.on("beforeChange",jr),()=>{er.off("beforeChange",jr)}}},[er,tt]),(0,x.useEffect)(()=>{if(er&&Cn){let jr=function(){Cn(er.getValue())};return er.on("blur",jr),()=>{er.off("blur",jr)}}},[er,Cn]);function Do(jr,Yr){var Bi=jr.getDoc(),_i=Bi.getCursor(),Ro=Bi.getLine(_i.line),ya=Ro.charAt(_i.ch-1),$o=Ro.lastIndexOf("@\u2581@",_i.ch),Ea=Ro.lastIndexOf("@\u2581\u2581@",_i.ch),da=$o>Ea?$o:Ea,wa=$o>Ea?3:4;if(Yn.indexOf(ya)===-1)return null;if(console.log("change1:",Yr,jr,Ro,_i,da,$o,Ea,ya),da>=0&&_i.ch-da<5){var Wr=da+wa;return Bi.replaceRange("",{line:_i.line,ch:da},{line:_i.line,ch:Wr}),{line:_i.line,ch:Wr}}return null}(0,x.useEffect)(()=>{if(er){let jr=function(Yr,Bi){const _i=Yr.getValue();bi(_i),Ir(new Date().getTime()),Yr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),br&&(gi?br(_i,$r(_i)):br(_i))};return er.on("change",jr),()=>{er.off("change",jr)}}},[er,br]),(0,x.useEffect)(()=>{if(er)if(Zn==null)er.setValue(""),bi("");else{const jr=window.scrollY||window.pageYOffset;Zn!==er.getValue()&&(er.setValue(Zn),bi(Zn),er.setCursor(On?1:er.lineCount(),0),window.scrollTo(0,jr))}},[er,Zn]);const Co=(0,x.useCallback)(jr=>{const Yr=er.getCursor(),Bi=er.getSelection();let _i=Bi.split(`
`);switch(jr){case"bold":return er.replaceSelection("**"+Bi+"**"),Bi===""&&er.setCursor(Yr.line,Yr.ch+2),er.focus();case"italic":return er.replaceSelection("*"+Bi+"*"),Bi===""&&er.setCursor(Yr.line,Yr.ch+1),er.focus();case"code":return er.replaceSelection("`"+Bi+"`"),Bi===""&&er.setCursor(Yr.line,Yr.ch+1),er.focus();case"inline-latex":return(0,Vn.Ye)(So)?void 0:(lr("inline-latex"),er.focus());case"latex":return er.replaceSelection("```latex\n"+Bi+"\n```"),er.setCursor(Yr.line+1,Bi.length+1),er.focus();case"line-break":return er.replaceSelection(`<br/>
`),er.focus();case"list-ul":return Bi===""?er.replaceSelection("- "+Bi):er.replaceSelection(_i.map(Ro=>Ro===""?"":`- ${Ro}`).join(`
`)),er.focus();case"list-ol":return Bi===""?er.replaceSelection("1. "+Bi):er.replaceSelection(_i.map((Ro,ya)=>Ro===""?"":`${ya+1}. ${Ro}`).join(`
`)),er.focus();case"add-null-ch":or==null||or();return;case"add-signal":return Bi===""&&er.setCursor(Yr.line,Yr.ch),er.replaceSelection(pr),er.focus();case"add-multiple":return Bi===""&&er.setCursor(Yr.line,Yr.ch),er.replaceSelection(Yn),er.focus();case"inster-template-1":return Bi===""&&er.setCursor(Yr.line,Yr.ch),er.replaceSelection(ti),er.focus();case"eraser":return er.setValue(""),er.focus();case"trigger-watch":return Er(!Xi),er.focus();case"trigger-full-screen":return $t(!tn),er.focus();case Xt:lr(Xt);return;case zn:lr(zn);return;case Wt:lr(Wt);return;case ln:lr(ln);return;case"maths-latex":if((0,Vn.Ye)(So))return;lr("maths-latex");return;case wn:ao.current="",sessionStorage.removeItem("file_id"),lr(wn);return;case Ln:lr(Ln);return;default:throw new Error}},[er,Xi,tn]),to=(0,x.useCallback)((jr,Yr)=>{var Bi,_i,Ro,ya,$o,Ea;jr!=null&&jr.disabledClose||lr("");const{src:da,alt:wa,id:Wr}=jr||{};switch(jn){case Xt:const{title:ns,link:Ta}=jr;return er.replaceSelection(`[${ns}](${Ta})`),er.focus();case zn:const{language:Za,content:Fo}=jr;return er.replaceSelection(["```"+Za,Fo,"```"].join(`
`)),er.focus();case"maths-latex":for(var Ji=atob(jr),xo=new Uint8Array(Ji.length),ba=0;ba<Ji.length;ba++)xo[ba]=Ji.charCodeAt(ba);var Xa=new Blob([xo],{type:"image/png"});return(0,nt.I)(Xa,tu=>{tu.id?er.replaceSelection(`![,](/api/attachments/${tu.id}?type=${tu.content_type})`):(tu==null?void 0:tu.status)===401&&(document.location.href="/user/login")}),er.focus();case"inline-latex":return(0,Vn.Ye)(So)?void 0:(er.replaceSelection("`$$"+jr+"$$`"),er.focus());case nn:return Wr?(er.getValue().indexOf(da)===-1?er.replaceSelection(`<center><img id="${Wr}" width="80%" src="${da}" class="draw-flowchart" alt="${wa||""}" /></center>`):document.getElementById(Wr).src=se.Z.API_SERVER+da+"?t="+Date.now(),er.focus()):void 0;case Wt:case ln:const vo=Yr,qo=(Ro=(_i=(Bi=vo==null?void 0:vo.name)==null?void 0:Bi.split("."))==null?void 0:_i.pop)==null?void 0:Ro.call(_i);return((ya=vo==null?void 0:vo.type)==null?void 0:ya.indexOf("image"))>-1||!(vo!=null&&vo.type)?vo!=null&&vo.align||vo!=null&&vo.width?er.replaceSelection(`<p style="text-align:${vo.align||"initial"}"><img width="${vo.width?vo.width+"%":"initial"}" src="${da}" alt="${wa||""}" /></p>`):er.replaceSelection(`<img width="100%" src="${da}" alt="${wa||""}" />`):(($o=vo==null?void 0:vo.type)==null?void 0:$o.indexOf("video"))>-1?er.replaceSelection(`<video width="100%" controls src="${da}"></video>`):((Ea=vo==null?void 0:vo.type)==null?void 0:Ea.indexOf("pdf"))>-1?er.replaceSelection(`<a href="${da}?type=${vo.type}&disposition=inline" target="_blank">${vo.name}</a>`):si.includes(qo)?er.replaceSelection(`<a href="${da}?type=office&disposition=inline" target="_blank">${vo.name}</a>`):er.replaceSelection(`[${vo.name}](${da})`),er.focus();case Ln:const{row:ja,col:ls,align:Fs}=jr;let il=`
`;for(let tu=0;tu<ja;tu++){let Au=[],tl=[];for(let fl=0;fl<ls;fl++)tu===1&&tl.push(un[Fs]),Au.push(" ");tu===1&&(il+=`| ${tl.join(" | ")} |
`),il+=`| ${Au.join(ls===1?"":" | ")} |
`}return er.replaceSelection(il+`
`),er.focus();default:throw new Error}},[er,jn]),Mo=(0,x.useMemo)(()=>{switch(jn){case Xt:return x.createElement(Kt,{callback:to,onCancel:Go});case zn:return x.createElement(Ht.Z,{callback:to,onCancel:Go});case Wt:return x.createElement(nt.Z,{callback:to,onCancel:Go});case wn:return x.createElement(ee,{editImgId:ao.current,callback:to,onCancel:Go});case Ln:return x.createElement(mt,{callback:to,onCancel:Go});case"maths-latex":return x.createElement(xt,{showSaveButton:!0,callback:to});case"inline-latex":return x.createElement(ct.Z,{showSaveButton:!0,callback:to});default:return null}},[jn]);function Go(){lr("")}(0,x.useEffect)(()=>{if(Hi.current){let jr=function($o){Ro=!0,ya=$o.pageY},Yr=function(){Ro=!1},Bi=function($o){if(Ro){let Ea=$o.pageY-ya;Ea<0&&(Ea=0),Ea>300&&(Ea=300);let da=Or+Ea+"px";zr(da)}},_i=Hi.current,Ro=!1,ya=0;return _i.addEventListener("mousedown",jr),document.addEventListener("mousemove",Bi),document.addEventListener("mouseup",Yr),()=>{_i.removeEventListener("mousedown",jr),document.removeEventListener("mousemove",Bi),document.removeEventListener("mouseup",Yr)}}},[er,Hi]),(0,x.useEffect)(()=>{zr(Or)},[Or]);const zo=Cr(Br),No=Cr(Kr),zi={width:zo,height:No},Vt=(0,x.useMemo)(()=>{if(gr){let jr=new Date(gr),Yr=jr.getHours(),Bi=jr.getMinutes(),_i=jr.getSeconds();return Yr=Yr<10?"0"+Yr:Yr,Bi=Bi<10?"0"+Bi:Bi,_i=_i<10?"0"+_i:_i,`${Yr}:${Bi}:${_i}`}return 0},[gr]),$r=jr=>{const Yr=[];if(gi){let Bi=-1;jr=jr.replace(/(@▁▁@|@▁@)/g,function(_i,Ro,ya){Yr.push({multiLine:_i!==pr})})}return Yr};function ui(){window.sessionStorage.removeItem(oo),Ci(!1),Ir(0)}function Zr(){Ci(!1),Ir(0),er.setValue(window.sessionStorage.getItem(oo))}(0,x.useEffect)(()=>{$n[jn]&&jn!==ln&&jn!==wn&&setTimeout(()=>{const jr=document.getElementsByClassName("markdown-popup-form")[0],Yr=window.innerWidth/2-jr.offsetWidth/2,Bi=window.innerHeight/2-jr.offsetHeight/2;hi(Yr),Di(Bi)},0)},[jn]);const Ri=jr=>{jr.preventDefault();const Yr=jr.clientX-xi,Bi=jr.clientY-Ii;document.body.onmousemove=_i=>{let Ro=_i.clientX-Yr,ya=_i.clientY-Bi;const $o=document.getElementsByClassName("markdown-popup-form")[0],Ea=window.innerWidth-$o.offsetWidth,da=window.innerHeight-$o.offsetHeight;Ro=Math.max(0,Math.min(Ro,Ea)),ya=Math.max(0,Math.min(ya,da)),ro(_i.clientX,_i.clientY,Yr,Bi)&&(hi(Ro),Di(ya))},document.body.onmouseup=function(){document.body.onmousemove=null}},ro=(jr,Yr,Bi,_i)=>{const Ro=document.body.clientHeight,ya=document.body.clientWidth;return jr<20&&Bi>jr||jr>ya-20&&Bi<jr||Yr<20&&_i>Yr||Yr>Ro-20&&_i<Yr?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:no},x.createElement("div",{className:`markdown-editor-container ${Zt} ${Xi?"on-preview":""} ${ci?"mini":""} ${tn?"full-screen":""}`,style:zi},x.createElement(st,{insertTemp:Pi,watch:Xi,fullScreen:tn,showNullButton:Dr,showNullProgramButton:gi,onActionCallback:Co,hidetoolBar:ni,extraUse:nr}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:$i,placeholder:Xr})),Xi?x.createElement("div",{ref:ai,className:"preview-container"},yi==="stex"&&x.createElement(Re,{value:Ti}),yi!=="stex"&&x.createElement(ye.Z,{edit:!0,disabledFill:Rr,showProgramFill:gi,value:Ti,openEditor:jr=>{var Yr;ao.current=jr,(Yr=ki.current)==null||Yr.setHeight("100vh"),setTimeout(()=>{lr("add-flowchart")},150)}})):null))),Gi?x.createElement("a",{ref:Hi,className:"editor-resize"}):null,jn===ln&&x.createElement(mn,{callback:to,onCancel:Go}),jn===wn&&x.createElement(ee,{ref:ki,editImgId:ao.current,callback:to,onCancel:Go}),x.createElement(at.Z,null,$n[jn]&&jn!==ln&&jn!==wn?x.createElement(Pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:xi,top:Ii},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Ri},$n[jn]),open:!0,onCancel:Go,footer:null,destroyOnClose:!0,width:jn===wn?"1200px":null,height:jn===wn?"80vh":null,className:"markdown-popup-form"},Mo):null))}},53332:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Je},I:function(){return st}});var x=ae(28284),dt=ae(6767),Le=ae(37568),qe=ae(44104),He=ae(4875),Fe=ae(47889),Me=ae(7939),fe=ae(23216),xe=ae(59301),oe=ae(59301),Pe=Object.defineProperty,ye=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,we=(at,ht,Ct)=>ht in at?Pe(at,ht,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):at[ht]=Ct,Ee=(at,ht)=>{for(var Ct in ht||(ht={}))Ie.call(ht,Ct)&&we(at,Ct,ht[Ct]);if(Se)for(var Ct of Se(ht))ve.call(ht,Ct)&&we(at,Ct,ht[Ct]);return at},Oe=(at,ht)=>ye(at,Re(ht));const{useForm:Ke}=x.default,je={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var Je=({callback:at,onCancel:ht})=>{const[Ct]=Ke();let ze=(0,xe.useRef)();function pt(Ot){ze.current.width=Ct.getFieldValue("width"),ze.current.align=Ct.getFieldValue("align"),at(Ot,ze.current)}function Ne(Ot,ot){if(Ot.status===-1){dt.ZP.error(Ot.message);return}Ct.setFieldsValue({src:`/api/attachments/${Ot.id}`,type:ot.type})}function Qe(Ot){let ot=Ot.target.files[0];ze.current=ot,st(ot,Ne)}return oe.createElement(x.default,Oe(Ee({form:Ct},_e),{className:"upload-image-panel",onFinish:pt,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:je})),oe.createElement(Ve,{onFileChange:Qe}))),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(qe.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(Fe.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(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(Me.ZP,{type:"default",onClick:ht},"\u53D6\u6D88"))))};function Ve({onFileChange:at}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:at}))}function st(at,ht){if(!at)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ct=new FormData;Ct.append("editormd-image-file",at),Ct.append("file_param_name","editormd-image-file"),Ct.append("byxhr","true");var ze=new window.XMLHttpRequest;ze.withCredentials=!0,ze.addEventListener("load",function(pt){ht(JSON.parse(pt.target.responseText),at)},!1),ze.addEventListener("error",function(pt){console.error(pt)},!1),ze.open("POST",`${fe.KI}/api/attachments.json`),ze.send(Ct)}},88487:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Le}});var x=ae(59301),dt=ae(4676);class Le extends x.Component{constructor(He){super(He);const Fe=window.document;this.node=Fe.createElement("div"),Fe.body.appendChild(this.node)}render(){const{children:He}=this.props;return(0,dt.createPortal)(He,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Xn,Mt,ae){"use strict";ae.d(Mt,{SV:function(){return mn},ZP:function(){return Tt}});var x=ae(59301),dt=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"]},qe={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 <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},Fe={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(`
`)}]},Me={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),xe=ae.n(fe),oe=(kt,Fn,an)=>new Promise((de,ge)=>{var ie=le=>{try{se(an.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(an.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((an=an.apply(kt,Fn)).next())});const Pe={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"]}},ye=(kt,Fn,an,de)=>{const ge=Fn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:an.lineNumber,endColumn:an.column});return Array.from(new Set(ge.match(/\b\w{2,}\b/g)||[])).map(ee=>({label:ee,kind:kt.languages.CompletionItemKind.Text,insertText:ee,range:de}))},Re=(kt,Fn,an,de)=>{kt.languages.registerCompletionItemProvider(Fn,{provideCompletionItems(ge,ie){const ee=ge.getWordUntilPosition(ie),se={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},le=ge.getLineContent(ie.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...ye(kt,ge,ie,se),...an.map(Ge=>({label:Ge,kind:kt.languages.CompletionItemKind.Keyword,documentation:Ge,insertText:Ge,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se})),...de.map(Ge=>({label:Ge.label,kind:kt.languages.CompletionItemKind.Snippet,documentation:Ge.content,insertText:le.startsWith("#")?Ge.content.replace(/#/,""):Ge.content,insertTextRules:kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:se}))]}}})};var Se=kt=>{Pe.languages.forEach(Fn=>{kt.languages.registerDocumentFormattingEditProvider(Fn,{provideDocumentFormattingEdits(an){return oe(this,null,function*(){const de=xe()(an.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:an.getFullModelRange(),text:de}]})}})}),Re(kt,"java",qe.keywords,qe.quickKey),Re(kt,"cpp",He.keywords,He.quickKey),Re(kt,"c",Le.keywords,[]),Re(kt,"python",Fe.keywords,Fe.quickKey),Re(kt,"scala",Me.keywords,Me.quickKey)};const Ie="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,we=(kt,Fn,an)=>Fn in kt?ve(kt,Fn,{enumerable:!0,configurable:!0,writable:!0,value:an}):kt[Fn]=an,Ee=(kt,Fn,an)=>we(kt,typeof Fn!="symbol"?Fn+"":Fn,an);const Oe=class Ov{constructor(Fn,an,de){this.placeholder=Fn,this.editor=an,this.monaco=de,an.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(Oe,"ID","editor.widget.placeholderHint");var je=Oe,_e=ae(96236),Je=ae(6767),Ve=ae(25399),st=ae(78267),at=ae(33156),ht=ae(56102),Ct=Object.defineProperty,ze=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,ot=(kt,Fn,an)=>Fn in kt?Ct(kt,Fn,{enumerable:!0,configurable:!0,writable:!0,value:an}):kt[Fn]=an,lt=(kt,Fn)=>{for(var an in Fn||(Fn={}))Qe.call(Fn,an)&&ot(kt,an,Fn[an]);if(Ne)for(var an of Ne(Fn))Ot.call(Fn,an)&&ot(kt,an,Fn[an]);return kt},Bt=(kt,Fn)=>ze(kt,pt(Fn)),We=(kt,Fn)=>{var an={};for(var de in kt)Qe.call(kt,de)&&Fn.indexOf(de)<0&&(an[de]=kt[de]);if(kt!=null&&Ne)for(var de of Ne(kt))Fn.indexOf(de)<0&&Ot.call(kt,de)&&(an[de]=kt[de]);return an},ke=(kt,Fn,an)=>new Promise((de,ge)=>{var ie=le=>{try{se(an.next(le))}catch(Be){ge(Be)}},ee=le=>{try{se(an.throw(le))}catch(Be){ge(Be)}},se=le=>le.done?de(le.value):Promise.resolve(le.value).then(ie,ee);se((an=an.apply(kt,Fn)).next())});function At(kt){return/^\d+$/.test(kt)?`${kt}px`:kt}function Kt(){}let Ht=!1;const nt={"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 Pt(kt=[]){let Fn=kt;if(Array.isArray(kt)){for(let an=0;an<kt.length;an++){let de=nt[kt[an]];if(de)return de}return Fn[0]}return nt[Fn]||Fn}let Rt=null;const hn=()=>ke(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(kt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",kt)}});var Tt=kt=>{var Fn=kt,{width:an="100%",height:de="100%",value:ge,language:ie="javascript",style:ee={},options:se={},overrideServices:le={},theme:Be="vs-dark",onEditBlur:Ge,isCopy:ut=!1,onSave:mt,autoHeight:vt=!1,forbidCopy:St=!1,forbidCopyTips:Dt,onChange:Qt=Kt,editorDidMount:xt=Kt,onFocus:ct=Kt,onBreakPoint:Xt=Kt,breakPointValue:Wt=[],filename:wn="educoder.txt",errorLine:ln,errorContent:nn="",highlightLine:zn,openBreakPoint:Ln=!1,placeholder:_t="",showMiniMap:un=!0}=Fn,Pn=We(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 Vn=(0,x.useRef)(),Lt=(0,x.useRef)({}),Gt=(0,x.useRef)(),sn=(0,x.useRef)(),bn=(0,x.useRef)([]),Yn=(0,x.useRef)(!1),pr=(0,x.useRef)(),ti=(0,x.useRef)(),si=(0,x.useRef)(!1),[Cr,ur]=(0,x.useState)(!1);function dr(){let ar;return Vn.current&&(ar=new dt.Z(Dr=>{for(let gi of Dr)(gi.target.offsetHeight>0||gi.target.offsetWidth>0)&&Lt.current.instance.layout()}),ar.observe(Vn.current)),ar}function yn(){Je.ZP.warning({content:decodeURIComponent(Dt||Ie),key:"monaco-editor-tip"})}const $n=()=>{let ar=Lt.current.instance;if(ge!=null&&ar&&Cr){const Dr=ar.getModel();Dr&&ge!==Dr.getValue()&&(Ht=!0,Dr.setValue(ge),ar.layout(),Ht=!1)}};(0,x.useEffect)(()=>{const ar=at.Z.subscribe("formatDocument",Dr=>{var gi;let ni=Lt.current.instance;(gi=ni==null?void 0:ni.getAction)==null||gi.call(ni,"editor.action.formatDocument").run()});return window.updateMonacoValue=Dr=>{Qt(Dr)},ar},[]),(0,x.useEffect)(()=>{var ar;let Dr=Lt.current.instance;sn.current&&clearTimeout(sn.current),sn.current=setTimeout(()=>{$n()},500),ge&&(ge!=null&&ge.length)&&((ar=Dr==null?void 0:Dr.updateOptions)==null||ar.call(Dr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[ge,Cr,Lt.current]),(0,x.useEffect)(()=>{if(ln&&Lt.current&&Lt.current.instance){let Dr=Lt.current.instance;Dr.changeViewZones(function(gi){var ni=document.createElement("div");ni.style.padding="10px 20px",ni.style.width="calc(100% - 20px)",ni.className="my-error-line-wrp",ni.innerHTML=nn,gi.addZone({afterLineNumber:ln||11,heightInLines:3,domNode:ni})});var ar={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}};Dr.addOverlayWidget(ar),Dr.revealPositionInCenter({lineNumber:20,column:1})}},[ln,Lt.current,Cr]);const rr=(ar="",Dr)=>{if(!ar||ar.trim()==="")return!0;const ni=Lt.current.instance.getModel().getLineTokens(Dr);let An=!1;for(let Cn=0;Cn<2;Cn++)ni.getStandardTokenType(Cn)===1&&(An=!0);return An};(0,x.useEffect)(()=>{var ar;const Dr=(ar=Lt.current)==null?void 0:ar.instance;if(Dr&&Cr&&St){const gi=Dr.onDidBlurEditorWidget(()=>{si.current=!1}),ni=Dr.onDidFocusEditorText(()=>{si.current=!0});return()=>{gi.dispose(),ni.dispose()}}},[Lt.current,Cr,St]),(0,x.useEffect)(()=>{var ar;if((ar=Lt.current)!=null&&ar.instance&&Cr&&Ln){let Dr=Lt.current.instance,gi=Dr.getModel();if(!gi)return;(()=>{var nr;let or=[],er=[];const _r=gi.getAllDecorations();for(let bi of _r)bi.options.className==="highlighted-line"&&(or.push((nr=bi==null?void 0:bi.range)==null?void 0:nr.startLineNumber),er.push(bi==null?void 0:bi.id));if(zn===or[0])return;gi.deltaDecorations(er,[]);const Ti=gi.getLineCount();zn&&zn<=Ti&&(Dr.deltaDecorations([],[{range:new Rt.Range(zn,1,zn,gi.getLineMaxColumn(zn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Dr.revealLineInCenter(zn))})();const An=(nr=!1)=>{var or;let er=[],_r=[];const Ti=gi.getAllDecorations();for(let bi of Ti)bi.options.linesDecorationsClassName==="breakpoints-select"&&(er.push((or=bi==null?void 0:bi.range)==null?void 0:or.startLineNumber),_r.push(bi==null?void 0:bi.id));if(nr)return{lines:er,ids:_r};Xt(er)},Cn=nr=>ke(void 0,null,function*(){let or={range:new Rt.Range(nr,1,nr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gi.deltaDecorations([],[or]),An()}),tt=nr=>ke(void 0,null,function*(){let or=[];const er=Dr.getLineDecorations(nr);for(let _r of er)_r.options.linesDecorationsClassName==="breakpoints-select"&&or.push(_r.id);yield gi.deltaDecorations(or,[]),An()}),pn=nr=>{let or=Dr.getLineDecorations(nr);for(let er of or)if(er.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,st.isEqual)(Wt,An(!0).lines)){gi.deltaDecorations(An(!0).ids,[]);const nr=Wt.map(or=>({range:new Rt.Range(or,1,or,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gi.deltaDecorations([],nr)}const Zt=Dr.onDidChangeModelContent(nr=>{let or=Dr.getPosition();if(or){let er=or.lineNumber;clearTimeout(ti.current),ti.current=setTimeout(()=>{rr(gi.getLineContent(er),er)?tt(er):pn(er)?(tt(er),Cn(er)):An()},100)}}),vn=Dr.onMouseDown(nr=>{var or,er,_r;if(nr.target.detail&&((_r=(er=(or=nr.target)==null?void 0:or.element)==null?void 0:er.className)!=null&&_r.includes("line-numbers"))){let Ti=nr.target.position.lineNumber;if(rr(gi.getLineContent(Ti),Ti))return;pn(Ti)?tt(Ti):Cn(Ti)}}),On=nr=>{let or={range:new Rt.Range(nr,1,nr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};bn.current=Dr.deltaDecorations(bn.current,[or])},Rr=()=>{bn.current=Dr.deltaDecorations(bn.current,[])},Xr=Dr.onMouseMove(nr=>{var or,er,_r;if(Rr(),nr.target.detail&&((_r=(er=(or=nr.target)==null?void 0:or.element)==null?void 0:er.className)!=null&&_r.includes("line-numbers"))){let Ti=nr.target.position.lineNumber;if(rr(gi.getLineContent(Ti),Ti))return;On(Ti)}}),li=Dr.onMouseLeave(()=>{Rr()});return()=>{Zt.dispose(),vn.dispose(),Xr.dispose(),li.dispose()}}},[Lt.current,Cr,Wt,zn,Ln,ie]),(0,x.useEffect)(()=>{var ar;(ar=Lt.current)!=null&&ar.instance&&Ln&&Lt.current.instance.setPosition({lineNumber:0,column:0})},[zn]);function Zn(){let ar=Lt.current.instance;if(ar){const Dr=ar.getSelection(),gi=Lt.current.pastePos||{},ni=new Rt.Range(gi.startLineNumber||Dr.endLineNumber,gi.startColumn||Dr.endColumn,gi.endLineNumber||Dr.endLineNumber,gi.endColumn||Dr.endColumn);setTimeout(()=>{ar.executeEdits("",[{range:ni,text:""}])},300)}}function br(ar){(window.navigator.platform.match("Mac")?ar.metaKey:ar.ctrlKey)&&ar.keyCode==83&&(ar.preventDefault(),mt())}const Br=()=>{if(vt&&Lt.current.instance){const ar=Lt.current.instance.getContentHeight();oo(ar<de?de:ar)}else oo(de)};function Or(ar){var Dr=document.createEvent("MouseEvents");Dr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),ar.dispatchEvent(Dr)}const ci=ar=>{if(!si.current)return;const{keyCode:Dr,ctrlKey:gi,metaKey:ni,target:An,type:Cn}=ar;return(Cn==="paste"||(Dr===67||Dr===86)&&(ni||gi))&&An.nodeName==="TEXTAREA"&&(yn(),ar.preventDefault()),!1};function Ai(ar,Dr){var gi=window.URL||window.webkitURL||window,ni=new Blob([Dr]),An=document.createElementNS("http://www.w3.org/1999/xhtml","a");An.href=gi.createObjectURL(ni),An.download=ar,Or(An)}(0,x.useEffect)(()=>{Br()},[Br]),(0,x.useEffect)(()=>{Vn.current&&!Cr&&Promise.all([ae.e(8909),ae.e(5977)]).then(ae.bind(ae,71448)).then(ar=>{try{Rt=ar,Lt.current.instance=Rt.editor.create(Vn.current,{value:ge,language:Pt(ie),theme:Be,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:un||!1}},le);const Dr=Lt.current.instance;let An=[..._e.BH._menuItems].find(Zt=>Zt[0]._debugName=="EditorContext")[1],Cn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],tt=(Zt,vn)=>{var On,Rr;let Xr=Zt._first;do vn.includes((Rr=(On=Xr.element)==null?void 0:On.command)==null?void 0:Rr.id)&&Zt._remove(Xr);while(Xr=Xr.next)};if(xt(Dr,Rt),setTimeout(()=>{Br(),Lt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ai(wn||"educoder.txt",Dr.getValue())}})},500),Lt.current.subscription=Dr.onDidChangeModelContent(Zt=>{Yn.current?clearTimeout(pr.current):(Br(),Qt(Dr.getValue(),Zt)),pr.current=setTimeout(()=>{Yn.current=!1},500)}),window.Monaco||Se(Rt,Pt(ie)),St&&(tt(An,Cn),Vn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",ci),window.removeEventListener("paste",ci),window.addEventListener("keydown",ci),window.addEventListener("paste",ci)),window.Monaco=Rt,Ge&&Dr.onDidBlurEditorWidget(()=>{Ge(Dr.getValue())}),ct&&Dr.onDidFocusEditorText(()=>{St&&hn(),ct(Dr.getValue())}),St){hn();try{Dr.onDidPaste(Zt=>{const vn=Dr.getSelection(),On=Lt.current.pastePos||{},Rr=new Rt.Range(On.startLineNumber||vn.endLineNumber,On.startColumn||vn.endColumn,On.endLineNumber||vn.endLineNumber,On.endColumn||vn.endColumn);Dr.executeEdits("",[{range:Zt.range,text:""}])})}catch(Zt){}}let pn=dr();return _t&&typeof _t=="string"&&new je(_t,Dr,Rt),ur(!0),()=>{const Zt=Lt.current.instance;Zt.dispose();const vn=Zt.getModel();vn&&vn.dispose(),Lt.current.subscription&&Lt.current.subscription.dispose(),pn.unobserve(Vn.current)}}catch(Dr){}})},[]),(0,x.useEffect)(()=>{if(Lt.current.instance&&Cr)return document.addEventListener("keydown",br,!1),()=>{document.removeEventListener("keydown",br)}},[mt,Cr]),(0,x.useEffect)(()=>{let ar=Lt.current.instance;if(ar&&Cr){let Dr=Pt(ie);Rt.editor.setModelLanguage(ar.getModel(),Dr)}},[ie,Cr]),(0,x.useEffect)(()=>{Lt.current.instance&&Cr&&Rt.editor.setTheme(Be)},[Be,Cr]),(0,x.useEffect)(()=>{let ar=Lt.current.instance;Gt.current=se,ar&&Cr&&(ar.updateOptions(lt({},se)),setTimeout(()=>{ar.getModel().updateOptions(lt({},se))},200))},[JSON.stringify(se),Cr]),(0,x.useEffect)(()=>{let ar=Lt.current.instance;ar&&Cr&&ar.layout()},[an,de,Cr]);const[di,Pi]=(0,x.useState)(At(an)),[yi,oo]=(0,x.useState)(At(de)),Gi=Bt(lt({},ee),{width:di,height:yi,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:Vn,style:Gi,onFocus:()=>{St&&hn()}},ut&&x.createElement(ht.CopyToClipboard,{text:ge,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Ve.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 mn({width:kt="100%",height:Fn="100%",original:an,modified:de,language:ge,options:ie={}}){const ee=(0,x.useRef)(),[se,le]=(0,x.useState)(null);function Be(vt){let St;return ee.current&&(St=new dt.Z(Dt=>{for(let Qt of Dt)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&vt.layout()}),St.observe(ee.current)),St}(0,x.useEffect)(()=>(ee.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(vt=>{Rt=vt;const St=Rt.editor.createDiffEditor(ee.current,Bt(lt({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}));le(St);let Dt=Be(St);return()=>{St.dispose();const Qt=St.getModel();Qt&&Qt.dispose(),Dt.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{se&&se.setModel({original:Rt.editor.createModel(an,ge),modified:Rt.editor.createModel(de,ge)})},[an,de,ge,se]);const Ge=At(kt),ut=At(Fn),mt={width:Ge,height:ut};return x.createElement("div",{className:"my-diff-editor",ref:ee,style:mt})}},54077:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Pe}});var x={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},dt=ae(29787),Le=ae(25399),qe=ae(89787),He=ae(92310),Fe=ae.n(He),Me=ae(76406),fe=ae(90736),xe=ae(59301),Pe=({className:ye,dataSource:Re=[],col:Se=4,right:Ie,bottom:ve=23,precision:we=0,wrapWidth:Ee=1200,trackEventItems:Oe,loading:Ke,onRemove:je=()=>{},isCurrent:_e=!0,showProgress:Je=!1,showAlias:Ve=!1,category:st="notDisplay",hiddenClick:at=()=>{}})=>{const ht=Math.floor((Ee-(Se-1)*Ie)/Se),Ct=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return xe.createElement(dt.Z,{spinning:Ke},xe.createElement("div",{className:Fe()(x.list,ye)},!!(Re!=null&&Re.length)&&(Re==null?void 0:Re.map((ze,pt)=>{var Ne,Qe,Ot,ot,lt,Bt,We;const{name:ke,id:At,identifier:Kt,featured:Ht,school_name:nt,image_url:Pt,excellent:Rt,is_plan:hn}=ze;return xe.createElement("div",{key:At,className:_e&&Je?x.wrapisCurrent:x.wrap,style:{width:ht,marginRight:(1+pt)%Se===0?0:Ie+we,marginBottom:ve}},xe.createElement("a",{className:x.li,onClick:Tt=>{Tt.preventDefault(),Tt.stopPropagation(),Oe&&(0,Me.L9)([Oe]),(0,Me.xg)(`/paths/${Kt}`)}},xe.createElement("div",{className:x.img},xe.createElement("img",{className:x.cover,src:`${Pt}`}),(Ne=ze==null?void 0:ze.subject_tags)==null?void 0:Ne.map((Tt,mn)=>{var kt,Fn;if(mn===0){const de=(kt=Ct.find(ge=>ge.name==Tt))==null?void 0:kt.swclass;return xe.createElement("span",{className:`sprite ${de} ${x.sign}`,style:{left:"-4px"}})}const an=(Fn=Ct.find(de=>de.name==Tt))==null?void 0:Fn.ptclass;return xe.createElement("span",{className:`sprite ${an} ${x.sign}`,style:{left:`${48+52*(mn-1)+2*mn}px`}})}),xe.createElement("div",{className:x.tagsDom},xe.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(ze==null?void 0:ze.excellent)&&xe.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"),((Qe=ze==null?void 0:ze.custom_tags)==null?void 0:Qe.length)>0&&(ze==null?void 0:ze.custom_tags.map((Tt,mn)=>{var kt;return xe.createElement(Le.Z,{title:Tt==null?void 0:Tt.tag_name,key:mn},xe.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((kt=ze==null?void 0:ze.custom_tags)==null?void 0:kt.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},xe.createElement("span",{className:"multi-llipsis1e"},Tt==null?void 0:Tt.tag_name)))})))),st=="hide"&&(ze==null?void 0:ze.studying)&&_e&&xe.createElement("div",{className:`${x.movebq} user-path-items`,onClick:Tt=>{Tt.stopPropagation(),je(ze)}},xe.createElement("i",{className:"iconfont icon-yichu1 font12"}),xe.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(st)&&_e&&xe.createElement("div",{className:`${x.hiddenbq} user-path-items`,onClick:Tt=>{Tt.stopPropagation(),at(ze)}},xe.createElement("i",{className:`iconfont ${st=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),xe.createElement("span",null,st=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),xe.createElement("div",{className:x.name},xe.createElement(Le.Z,{title:Ve&&(ze!=null&&ze.excellent_alias_name)?xe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ke}`,xe.createElement("br",null),xe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ze==null?void 0:ze.excellent_alias_name}`)):ke},xe.createElement("span",{className:x.e},Ve&&(ze==null?void 0:ze.excellent_alias_name)||ke))),_e&&Je&&((Ot=ze==null?void 0:ze.progress)==null?void 0:Ot.all_score)!=0&&xe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},xe.createElement(qe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((ot=ze==null?void 0:ze.progress)==null?void 0:ot.my_score)/((lt=ze==null?void 0:ze.progress)==null?void 0:lt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Bt=ze==null?void 0:ze.progress)==null?void 0:Bt.my_score,"/",(We=ze==null?void 0:ze.progress)==null?void 0:We.all_score),(!_e||!Je)&&xe.createElement(Le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${nt}`},xe.createElement("div",{className:x.unit},xe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),nt)),(!_e||!Je)&&xe.createElement("div",{className:x.tags},xe.createElement("div",null,xe.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),xe.createElement("span",null,ze.stages_count))),xe.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),xe.createElement("span",null,ze.members_count)))))))})),!Re.length&&xe.createElement(fe.Z,null)))}},70467:function(Xn,Mt,ae){"use strict";ae.d(Mt,{jL:function(){return qe},w9:function(){return ke},QD:function(){return Wt},cQ:function(){return pt.Z},op:function(){return St},O5:function(){return dr},_b:function(){return _t},t7:function(){return we},Gi:function(){return Rt},YG:function(){return nt},qp:function(){return oe},vr:function(){return nn},qE:function(){return xt},Je:function(){return Ke},wb:function(){return ze},cq:function(){return an},tp:function(){return Re}});var x=ae(59301),dt={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"},qe=({dataSource:yn=[],img:$n,imgWidth:rr=346,title:Zn,sunTitle:br,bannerExtraContent:Br})=>x.createElement("div",{className:dt.banner},x.createElement("div",{className:dt.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Zn),x.createElement("span",null,br)),yn.length>0&&x.createElement("div",{className:dt.btns},yn.map((Or,ci)=>x.createElement("div",{key:ci,onClick:Or.click},Or.name,Or.sign?x.createElement("span",{className:"sprite sprite-33"}):null))),Br),$n&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:$n,width:rr}))),He={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"},Fe=ae(92310),Me=ae.n(Fe),fe=ae(78267),oe=({dataSource:yn=[],value:$n,onChange:rr,onTitleChange:Zn,className:br,title:Br,titleWidth:Or=41,style:ci={},fontColor:Ai="#6A7283",showCount:di})=>{const[Pi,yi]=(0,x.useState)(1),[oo,Gi]=(0,x.useState)(!1),ar=(0,x.useRef)(null),Dr=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var gi;yn.length!==0&&(((gi=ar==null?void 0:ar.current)==null?void 0:gi.clientHeight)>97?yi(1):yi(0)),yn.length===0&&yi(0),Gi(!1)},[yn]),x.createElement("div",{className:Me()(He.row,br,"fadeIn","animated"),style:ci},x.createElement("div",{onClick:(0,fe.throttle)(()=>Zn==null?void 0:Zn(),2e3),style:{width:Or,marginTop:oo?12:4},className:`${He.title} ${Zn?"current":""}`},Br),x.createElement("div",{className:oo?`${He.tagsWrap} ${He.tagsBorderWrap}`:He.tagsWrap},x.createElement("div",{className:He.bar,ref:Dr,style:Pi>0?{height:Pi===1?97:"auto",overflow:Pi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:He.tag,ref:ar},yn==null?void 0:yn.map(gi=>x.createElement("span",{onClick:()=>rr(gi.id),key:gi.id,style:{color:Ai},className:$n===gi.id?He.active:""},x.createElement("span",{title:gi.name,className:He.name},gi.name),!!di&&x.createElement("span",{className:He.num},gi.count))))),!!Pi&&x.createElement(x.Fragment,null,Pi===1?x.createElement("div",{onClick:()=>{var gi;yi(2),((gi=ar==null?void 0:ar.current)==null?void 0:gi.clientHeight)>245?Gi(!0):Gi(!1)},className:He.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{Dr.current.scrollTop=0,yi(1),Gi(!1)},className:He.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Pe={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"},Re=({dataSource:yn=[],value:$n,onChange:rr,className:Zn,style:br={}})=>x.createElement("div",{style:br,className:Me()(Pe.tabs,Zn)},yn.map(Br=>x.createElement("span",{onClick:()=>rr(Br.id),className:$n===Br.id?Pe.active:"",key:Br.id},Br.name))),Se={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"},Ie=ae(37568),we=({dataSource:yn=[],value:$n="",onChange:rr,onInputChange:Zn=()=>{},className:br,style:Br={},placeholder:Or,allowClear:ci=!1})=>{var Ai;const[di,Pi]=(0,x.useState)(""),[yi,oo]=(0,x.useState)("");(0,x.useEffect)(()=>{var Dr;let gi=$n;(Dr=JSON.stringify($n))!=null&&Dr.includes("{")&&(Pi($n.id),gi=$n.value||"");try{oo(decodeURIComponent(gi||""))}catch(ni){oo(decodeURIComponent(gi||""))}},[$n]);const Gi=()=>{rr(encodeURIComponent(yi),di||null)},ar=Dr=>{Dr!==di&&(Pi(Dr),rr(encodeURIComponent(yi),Dr))};return x.createElement("div",{className:Me()(Se.input,br),style:Br},!!yn.length&&x.createElement("div",{className:Se.dropdown},x.createElement("div",{className:Se.text},(Ai=yn.find(Dr=>Dr.id===di))==null?void 0:Ai.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:Se.b1}),x.createElement("b",{className:Se.b2})),x.createElement("div",{className:Se.menu},yn.map((Dr,gi)=>x.createElement("div",{key:gi,onClick:()=>ar(Dr.id)},Dr.name)))),x.createElement(Ie.default,{onPressEnter:Gi,value:yi,onChange:Dr=>{oo(Dr.target.value),Zn(encodeURIComponent(Dr.target.value),di||null)},placeholder:Or,variant:"borderless",allowClear:ci,onClear:()=>rr("",di||null)}),x.createElement("i",{onClick:Gi,className:"iconfont icon-sousuo9 font14 current"}))},Ee={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"},Ke=({value:yn,onChange:$n,className:rr,total:Zn,pageSize:br,style:Br={}})=>{const Or=yn<2,ci=yn>=Math.ceil(Zn/br);return Zn<=br?x.createElement(x.Fragment,null):x.createElement("div",{className:Me()(Ee.quickPager,rr),style:Br},x.createElement("div",{onClick:()=>{Or||$n(yn-1,"prev")},className:Or?Ee.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{ci||$n(yn+1,"next")},className:ci?Ee.disabled:""},"\u4E0B\u4E00\u9875"))},je={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"},_e=ae(29787),Je=ae(25399),Ve=ae(63139),st=ae(14185),at=ae(76406),ht=ae(90736),ze=({className:yn,dataSource:$n=[],col:rr=4,right:Zn,bottom:br=23,precision:Br=0,wrapWidth:Or=1200,trackEventItems:ci,loading:Ai})=>{const di=Math.floor((Or-(rr-1)*Zn)/rr);return x.createElement(_e.Z,{spinning:Ai},x.createElement("div",{className:Me()(je.list,yn)},!!$n.length&&$n.map((Pi,yi)=>{const{name:oo,id:Gi,identifier:ar,power:Dr,cover_image_id:gi,pic:ni}=Pi;return x.createElement("div",{className:je.wrap,key:Gi,style:{width:di,marginRight:(1+yi)%rr===0?0:Zn+Br,marginBottom:br}},x.createElement("a",{target:"_blank",href:`/shixuns/${ar}/challenges`,className:je.li,onClick:An=>{An.preventDefault(),ci&&(0,at.L9)([ci]),Dr&&(0,at.xg)(`/shixuns/${ar}/challenges`)}},x.createElement("div",{className:je.img},x.createElement("img",{className:je.cover,src:`${ni}`}),Pi.is_jupyter&&x.createElement("span",{className:`sprite sprite-43 ${je.sign}`}),Pi.is_jupyter_lab&&x.createElement("span",{className:`sprite sprite-42 ${je.sign}`}),Pi.is_unity_3d&&x.createElement("span",{className:`sprite sprite-44 ${je.sign}`})),x.createElement("div",{className:je.name},x.createElement(Je.Z,{title:oo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:je.e},oo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:je.tags},x.createElement(Je.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,Pi.challenges_count))),!!Pi.myshixuns_count&&x.createElement(Je.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,Pi.myshixuns_count))),x.createElement(Je.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,Pi.level))),x.createElement("div",{className:je.rate},x.createElement(Ve.Z,{allowHalf:!0,disabled:!0,defaultValue:Pi.score_info}),x.createElement("span",null,"\xA0",Pi.score_info?`${Pi.score_info}\u5206`:"5\u5206")))),!Dr&&x.createElement("div",{className:je.lockWrap},x.createElement("img",{src:`${st.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")))}),!$n.length&&x.createElement(ht.Z,null)))},pt=ae(54077),Ne={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Qe=ae(62957),Ot=ae(96599),ot="data:image/png;base64,iVBORw0KGgoAAAAN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U5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",lt=ae(59301),Bt=(yn,$n,rr)=>new Promise((Zn,br)=>{var Br=Ai=>{try{ci(rr.next(Ai))}catch(di){br(di)}},Or=Ai=>{try{ci(rr.throw(Ai))}catch(di){br(di)}},ci=Ai=>Ai.done?Zn(Ai.value):Promise.resolve(Ai.value).then(Br,Or);ci((rr=rr.apply(yn,$n)).next())}),ke=({className:yn,dataSource:$n=[],col:rr=4,right:Zn,bottom:br=23,precision:Br=0,wrapWidth:Or=1200,trackEventItems:ci,loading:Ai,category:di,hiddenClick:Pi,handleVery:yi=()=>!0,isCurrent:oo})=>{const[Gi,ar]=Qe.default.useModal(),Dr=Math.floor((Or-(rr-1)*Zn)/rr),gi=ni=>Bt(void 0,null,function*(){Gi.confirm({title:"\u7F6E\u9876",width:500,content:lt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",lt.createElement("span",{className:"c-blue"},"\u201C",ni.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return lt.createElement(_e.Z,{spinning:Ai},ar,lt.createElement("div",{className:Me()(Ne.list,yn)},!!$n.length&&$n.map((ni,An)=>{const{subject_identifier:Cn,id:tt,identifier:pn,power:Zt}=ni,vn=ni.is_public!=0&&ni.is_public;return lt.createElement("div",{className:Ne.wrap,key:tt,style:{width:Dr,marginRight:(1+An)%rr===0?0:Zn+Br,marginBottom:br}},ni.homepage_show&&lt.createElement("div",{className:Ne.btnsTop},lt.createElement(Ot.default,{color:"red"},"\u7F6E\u9876")),lt.createElement("a",{className:Ne.li,onClick:On=>{On.preventDefault(),yi(ni==null?void 0:ni.first_category_url)&&(ci&&(0,at.L9)([ci]),(0,at.xg)(ni.first_category_url))}},lt.createElement("div",{className:Ne.top},lt.createElement(Je.Z,{title:ni.name},lt.createElement("div",{className:Ne.name},ni.name)),lt.createElement("img",{className:Ne.img,src:st.Z.IMG_SERVER+"/images/"+ni.avatar_url}),lt.createElement("div",{className:Ne.text,title:ni.creator},ni.creator),Cn&&lt.createElement("div",{className:Ne.btns},lt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),lt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),vn&&lt.createElement("div",{className:Ne.sign},"\u516C\u5F00"),oo&&lt.createElement("div",{className:Ne.hidden,onClick:On=>{On.stopPropagation(),Pi(ni)}},lt.createElement("i",{className:`iconfont ${di=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),di=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),lt.createElement("div",{className:Ne.bottom},ni.visits>0&&lt.createElement(Je.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-liulanyan"}),lt.createElement("span",null,ni.visits))),ni.course_members_count>0&&lt.createElement(Je.Z,{title:"\u6210\u5458",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-chengyuan"}),ni.course_members_count)),ni.tasks_count>0&&lt.createElement(Je.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},lt.createElement("span",null,lt.createElement("i",{className:"iconfont icon-zuoye"}),ni.tasks_count)),ni.is_end?lt.createElement("div",{style:{color:"#6B758B"}}):lt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ni.is_accessible&&lt.createElement("div",{className:Ne.lockWrap},lt.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),lt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!$n.length&&lt.createElement(ht.Z,null)))},At={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(44283),nt=({dataSource:yn=[],value:$n,onChange:rr,className:Zn,style:br={},tabBarExtraContent:Br})=>x.createElement("div",{className:Me()(At.tabs,Zn),style:br},x.createElement("div",{className:At.tabsWrap},yn.map((Or,ci)=>!(Or!=null&&Or.hide)&&x.createElement("aside",{className:At.tab,onClick:()=>{rr(Or.id),Or.link&&Kt.history.push(Or.link)},key:ci},x.createElement("div",{className:$n===Or.id?At.active:""},Or.name),(Or==null?void 0:Or.resetCount)==null&&(Or==null?void 0:Or.total)!==void 0&&x.createElement("span",null,"\uFF08",Or==null?void 0:Or.total,"\uFF09"),(Or==null?void 0:Or.resetCount)!==void 0&&(Or==null?void 0:Or.total)!==void 0&&x.createElement(Je.Z,{title:(Or==null?void 0:Or.tip)!=null?Or==null?void 0:Or.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Or==null?void 0:Or.resetCount),"/",x.createElement("span",null,Or==null?void 0:Or.total),"\uFF09"))))),x.createElement("div",{className:At.tabBar},Br)),Rt=({className:yn,style:$n={},children:rr})=>x.createElement("div",{className:Me()(yn),style:$n},rr),hn={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"},Tt=ae(75727),mn=ae(93041);const kt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var an=({sortValue:yn,dropValue:$n,className:rr,onSort:Zn,onDrop:br,dataSource:Br=kt})=>{var Or;return x.createElement("div",{className:Me()(hn.orderWrap,rr)},x.createElement(Tt.Z,{dropdownRender:()=>x.createElement(mn.default,null,Br.map((ci,Ai)=>x.createElement(mn.default.Item,{key:Ai,onClick:()=>br(ci.id)},ci.name)))},x.createElement("span",{className:hn.orderTextWrap},(Or=Br.find(ci=>$n===ci.id))==null?void 0:Or.name)),x.createElement("span",{className:hn.orderIconWrap},x.createElement("span",{className:hn.orderAsc},x.createElement("i",{className:yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-up font12 ${hn.cursorPointer}`,onClick:()=>Zn(yn==="asc"?"desc":"asc")})),x.createElement("span",{className:hn.orderDesc},x.createElement("i",{className:yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer} ${hn.active}`:`iconfont icon-sanjiaoxing-down font12 ${hn.cursorPointer}`,onClick:()=>Zn(yn==="asc"?"desc":"asc")}))))},de={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"},ge=ae(7939),ie=Object.defineProperty,ee=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Be=(yn,$n,rr)=>$n in yn?ie(yn,$n,{enumerable:!0,configurable:!0,writable:!0,value:rr}):yn[$n]=rr,Ge=(yn,$n)=>{for(var rr in $n||($n={}))se.call($n,rr)&&Be(yn,rr,$n[rr]);if(ee)for(var rr of ee($n))le.call($n,rr)&&Be(yn,rr,$n[rr]);return yn},ut=(yn,$n)=>{var rr={};for(var Zn in yn)se.call(yn,Zn)&&$n.indexOf(Zn)<0&&(rr[Zn]=yn[Zn]);if(yn!=null&&ee)for(var Zn of ee(yn))$n.indexOf(Zn)<0&&le.call(yn,Zn)&&(rr[Zn]=yn[Zn]);return rr},mt=(yn,$n,rr)=>new Promise((Zn,br)=>{var Br=Ai=>{try{ci(rr.next(Ai))}catch(di){br(di)}},Or=Ai=>{try{ci(rr.throw(Ai))}catch(di){br(di)}},ci=Ai=>Ai.done?Zn(Ai.value):Promise.resolve(Ai.value).then(Br,Or);ci((rr=rr.apply(yn,$n)).next())}),St=yn=>{var $n=yn,{className:rr,style:Zn,children:br,loading:Br=!1,openLoading:Or,onClick:ci=()=>{},size:Ai="middle",shape:di="round"}=$n,Pi=ut($n,["className","style","children","loading","openLoading","onClick","size","shape"]);const[yi,oo]=(0,x.useState)(!1);return x.createElement(ge.ZP,Ge({onClick:(0,fe.throttle)(Gi=>mt(void 0,null,function*(){Or&&oo(!0);try{yield ci(Gi)}catch(ar){console.log("error",ar)}Or&&oo(!1)}),2e3,{leading:!0,trailing:!1}),className:Me()(de.btn,de[`${Ai}-${di}`],rr),style:Zn,size:Ai,shape:di,loading:yi||Br},Pi),br)},Dt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},xt=({className:yn,style:$n,children:rr=null,onClick:Zn,title:br})=>x.createElement("div",{className:Me()(Dt.head,yn),style:$n},x.createElement("span",{className:"primary-hover",onClick:Zn},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:br},br),x.createElement("div",{className:Dt.node},rr)),ct={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"},Wt=({confirmShow:yn=!0,confirmTitle:$n,confirmClick:rr,cancelShow:Zn=!0,cancelTitle:br,cancelClick:Br,className:Or,style:ci,confirmLoading:Ai=!1})=>x.createElement("div",{className:Me()(ct.btns,Or),style:ci},yn&&x.createElement(ge.ZP,{loading:Ai,onClick:rr,type:"primary",className:ct.confirm},$n),Zn&&x.createElement(ge.ZP,{onClick:Br,className:ct.cancel},br)),wn={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"},nn=({className:yn,style:$n={},LeftContent:rr,children:Zn,RightContent:br})=>x.createElement("div",{className:Me()(wn.fixedBottom,yn),style:$n},x.createElement("div",{className:wn.wrap},x.createElement("div",{className:wn.left},rr),x.createElement("div",{className:wn.center},Zn),x.createElement("div",{className:wn.right},br))),zn={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"},_t=({className:yn,style:$n={},dataSource:rr=[]})=>x.createElement("div",{className:Me()(zn.crumbs,yn),style:$n},rr.map((Zn,br)=>br<rr.length-1?x.createElement(x.Fragment,{key:br},Zn.path||Zn.onClick?x.createElement("span",{className:zn.hover,onClick:Zn!=null&&Zn.onClick?Zn.onClick:()=>Kt.history.push(Zn.path)},Zn.name):x.createElement("span",null,Zn.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:br,style:{color:"#5F6368"}},Zn.name))),un=ae(11938),Pn=Object.defineProperty,Vn=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Yn=(yn,$n,rr)=>$n in yn?Pn(yn,$n,{enumerable:!0,configurable:!0,writable:!0,value:rr}):yn[$n]=rr,pr=(yn,$n)=>{for(var rr in $n||($n={}))sn.call($n,rr)&&Yn(yn,rr,$n[rr]);if(Gt)for(var rr of Gt($n))bn.call($n,rr)&&Yn(yn,rr,$n[rr]);return yn},ti=(yn,$n)=>Vn(yn,Lt($n)),si=(yn,$n)=>{var rr={};for(var Zn in yn)sn.call(yn,Zn)&&$n.indexOf(Zn)<0&&(rr[Zn]=yn[Zn]);if(yn!=null&&Gt)for(var Zn of Gt(yn))$n.indexOf(Zn)<0&&bn.call(yn,Zn)&&(rr[Zn]=yn[Zn]);return rr};const{Countdown:Cr}=un.default;var dr=yn=>{var $n=yn,{onChange:rr}=$n,Zn=si($n,["onChange"]);const[br,Br]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof br=="number"&&br>=0&&rr(br)},[br]);const Or=ci=>{const Ai=Math.floor(ci/1e3);Br(Ai)};return x.createElement(Cr,ti(pr({},Zn),{onChange:Or}))}},79006:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return dt}});var x=ae(59301);function dt(Le,qe){const He=(0,x.useRef)();(0,x.useEffect)(()=>{He.current=Le}),(0,x.useEffect)(()=>{function Fe(){He.current()}if(qe!==null){let Me=setInterval(Fe,qe);return()=>clearInterval(Me)}},[qe])}},5062:function(Xn,Mt,ae){"use strict";ae.r(Mt),ae.d(Mt,{default:function(){return Xi}});var x=ae(59301),dt=ae(66649),Le=ae.n(dt),qe=ae(86129),He=ae.n(qe),Fe=ae(49317),Me=ae(44283),fe=ae(62957),xe=ae(6767),oe=ae(458),Pe=ae(91882),ye=ae(77019),Re=ae(5269),Se=ae(7939),Ie=ae(25399),ve=ae(37285),we=ae(37568),Ee=ae(70858),Oe=ae(82326),Ke=ae(31709),je=ae(27812),_e=ae(95869),Je=ae(87169),Ve=ae(26227),st=ae(14185),at=ae(15267),ht=ae(76406),Ct=ae(42441),ze={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"},pt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Ne=({shixunHomeworks:Er,data:tn,globalSetting:$t,loading:jn,dispatch:lr})=>{var gr;const{shixunWorkReport:Ir}=Er;let Kr=((gr=tn==null?void 0:tn.efficiency_list)==null?void 0:gr.length)-parseInt(tn==null?void 0:tn.myself_eff[0]);const zr=()=>({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(Ci){return Ci.name===Ir.username?"\u59D3\u540D\uFF1A"+Ir.username+"<br/>\u5B66\u53F7\uFF1A "+Ir.user_id+"<br/>\u6548\u7387\uFF1A"+(tn==null?void 0:tn.myself_eff[1]):Ci.name+":"+Ci.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:tn==null?void 0:tn.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:Ir.username,xAxis:Kr,yAxis:tn==null?void 0:tn.myself_eff[1],value:tn==null?void 0:tn.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),pi=()=>({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(Ci){var xi=Ci.value;if(Ci.name===Ir.username)return"\u59D3\u540D\uFF1A"+Ir.username+"<br/>\u5B66\u53F7\uFF1A "+Ir.user_id+"<br/>\u5F97\u5206\uFF1A"+(tn==null?void 0:tn.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:pt,data:tn==null?void 0:tn.consume_list,symbolSize:function(Ci){return Math.round(Ci[2])},markPoint:{data:[{name:Ir.username,xAxis:tn==null?void 0:tn.myself_object[0],yAxis:tn==null?void 0:tn.myself_object[1],value:tn==null?void 0:tn.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return x.createElement(x.Fragment,null,x.createElement("aside",{className:"ml60 pr30"},x.createElement(ye.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:zr()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:ze.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},Ir.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},Ir.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",x.createElement("span",{className:"ml30 c-orange"},tn==null?void 0:tn.myself_eff[1])),x.createElement("li",null,x.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",x.createElement("span",{className:"ml30 c-orange"},tn==null?void 0:tn.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(ye.Z,null,x.createElement(Re.Z,{flex:"800px"},x.createElement(Ct.Z,{style:{width:750,height:580},option:pi()})),x.createElement(Re.Z,{flex:"1"},x.createElement("aside",{className:ze.rightInfo},x.createElement("ul",null,x.createElement("li",null,x.createElement("span",null,"\u59D3\u540D")," ",x.createElement("span",{className:"ml30"},Ir.username)),x.createElement("li",null,x.createElement("span",null,"\u5B66\u53F7")," ",x.createElement("span",{className:"ml30"},Ir.student_id||"--")),x.createElement("li",null,x.createElement("span",null,"\u80FD\u529B")," ",x.createElement("span",{className:"ml30 c-orange"},tn==null?void 0:tn.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 Qe=(0,Me.connect)(({shixunHomeworks:Er,loading:tn,globalSetting:$t})=>({shixunHomeworks:Er,globalSetting:$t,loading:tn.effects}))(Ne),Ot=ae(34728),ot=ae(4875),lt=({defaultValue:Er,onBlur:tn,max:$t,className:jn="game-score",style:lr,disabled:gr=!1})=>{const[Ir,Kr]=(0,x.useState)(Er);(0,x.useEffect)(()=>{Kr(Er)},[Er]);function zr(Ci){Kr(Ci)}function pi(){Ir!==Er&&tn(Ir>$t?$t:Ir)}return x.createElement(ot.Z,{max:$t,min:0,className:jn,style:lr,value:Ir,disabled:gr,onChange:zr,onBlur:pi})},Bt=ae(39116),We={md:"md___TEmcT"},ke=ae(59301),At=Object.defineProperty,Kt=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,hn=(Er,tn,$t)=>tn in Er?At(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,Tt=(Er,tn)=>{for(var $t in tn||(tn={}))Pt.call(tn,$t)&&hn(Er,$t,tn[$t]);if(nt)for(var $t of nt(tn))Rt.call(tn,$t)&&hn(Er,$t,tn[$t]);return Er},mn=(Er,tn)=>Kt(Er,Ht(tn));const kt=Oe.default.Option,Fn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var an=(Er=>(Er[Er.SET_PATH=0]="SET_PATH",Er[Er.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Er))(an||{});function de(Er,tn){switch(tn.type){case 0:return mn(Tt({},Er),{selectedPath:tn.payload});case 1:return mn(Tt({},Er),{passedContent:tn.payload});default:throw new Error}}var ge=({path:Er,game_id:tn,onPathChange:$t,autoHeight:jn,diff_code_count:lr,data:gr,game_codes_cn:Ir})=>{var Kr,zr,pi,Ci;const xi=Er.split("\uFF1B").filter(ai=>!!ai),[hi,Ii]=(0,x.useReducer)(de,{selectedPath:xi[0],passedContent:{language:"python",content:""}}),{selectedPath:Di,passedContent:$i}=hi;function no(ai){Ii({type:0,payload:ai})}const Hi={\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 ke.createElement(ke.Fragment,null,ke.createElement("h2",null," ",ke.createElement("span",null,Ir,ke.createElement(Ie.Z,{title:ke.createElement("div",null,ke.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ke.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ke.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"),ke.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ke.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),lr&&ke.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",lr),ke.createElement("span",null,ke.createElement(Oe.default,{style:{width:200},value:Di,onChange:no}," ",xi.map(ai=>ke.createElement(kt,{key:ai,value:ai},ai))," "))," "),(Di==null?void 0:Di.split(".")[1])==="md"&&ke.createElement(Bt.Z,{height:300,autoHeight:jn,defaultValue:((zr=(Kr=gr==null?void 0:gr.filter(ai=>ai.path===Di))==null?void 0:Kr[0])==null?void 0:zr.content)||"",className:We.md}),(Di==null?void 0:Di.split(".")[1])!=="md"&&ke.createElement(Ot.ZP,{height:300,language:$i.language,value:((Ci=(pi=gr==null?void 0:gr.filter(ai=>ai.path===Di))==null?void 0:pi[0])==null?void 0:Ci.content)||"",autoHeight:jn,theme:"default",isCopy:!0,options:Fn}))},ie=ae(77996),ee=ae(96249),se=ae.n(ee),le=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,mt=(Er,tn,$t)=>tn in Er?le(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,vt=(Er,tn)=>{for(var $t in tn||(tn={}))Ge.call(tn,$t)&&mt(Er,$t,tn[$t]);if(Be)for(var $t of Be(tn))ut.call(tn,$t)&&mt(Er,$t,tn[$t]);return Er};const St=Er=>React.createElement("svg",vt({className:"scai_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Er),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 Dt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0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IgMzAuNzItMzAuNzJ6IiBmaWxsPSIjQUIyRkYwIi8+PHBhdGggZD0iTTI1MC44OCA4Ny4wNGMyMC40OCAwIDMwLjcyIDE1LjM2IDMwLjcyIDMwLjcydjQ2LjA4YzAgMjAuNDgtMTUuMzYgMzAuNzItMzAuNzIgMzAuNzJzLTM1Ljg0LTEwLjI0LTM1Ljg0LTMwLjcydi00MC45NmMwLTIwLjQ4IDE1LjM2LTM1Ljg0IDM1Ljg0LTM1Ljg0eiIgZmlsbD0iIzZENTdGMiIvPjxwYXRoIGQ9Ik03NzguMjQgODcuMDRjMjAuNDggMCAzMC43MiAxNS4zNiAzMC43MiAzMC43MnY0Ni4wOGMwIDIwLjQ4LTE1LjM2IDMwLjcyLTMwLjcyIDMwLjcycy0zMC43Mi0xNS4zNi0zMC43Mi0zMC43MnYtNDAuOTZjMC0yMC40OCAxNS4zNi0zNS44NCAzMC43Mi0zNS44NHoiIGZpbGw9IiNDODZGRkEiLz48L3N2Zz4=",Qt=ae(74410),xt=ae(35883),ct=ae(11295),Xt=ae(33156),Wt=ae(13705),wn=ae(90736);const ln=({shixunHomeworks:Er,classroomList:tn,items:$t,dispatch:jn})=>{var lr;const{shixunWorkReport:gr}=Er,Ir=(0,x.useRef)(null),[Kr,zr]=(0,x.useState)(!1),[pi,Ci]=(0,x.useState)(!1);(0,x.useEffect)(()=>{if(Ir.current)return Ir.current.addEventListener("mousedown",xi),()=>{var hi;(hi=Ir.current)==null||hi.removeEventListener("mousedown",xi)}},[Ir.current]),(0,x.useEffect)(()=>{setTimeout(()=>{Ir.current&&Ir.current.clientHeight>=500&&zr(!0)},500)},[(lr=gr==null?void 0:gr.student_work_test_result_info)==null?void 0:lr.content,Ir.current]);function xi(hi){const Ii=(no,Hi)=>{if(no.localName===Hi)return no;for(let ai=0,ao=no;ao=ao.parentNode;ai++){if(ao.localName===Hi)return ao;if(ao==document.documentElement)return!1}},Di=hi.target,$i=Ii(Di,"a");if(console.log([$i],$i==null?void 0:$i.href,44),!($i!=null&&$i.href)&&Di.tagName.toUpperCase()==="IMG"){let no=Di.src||Di.getAttribute("src");no&&no.indexOf("/images/avatars/User")===-1&&(hi.stopPropagation(),hi.preventDefault(),Xt.Z.publish("preview-image",no))}}return x.createElement("div",null,(gr==null?void 0:gr.is_open_submit_test_result)&&x.createElement(x.Fragment,null,x.createElement(ct.Z,null),x.createElement("strong",{className:"c-black font14"},"\u5B9E\u9A8C\u7ED3\u679C"),$t?x.createElement("div",{style:{marginTop:10},className:""},x.createElement("div",{className:"py-20px px-36px",style:{background:"#F6F7F9"}},x.createElement("div",{ref:Ir,style:{maxHeight:!pi&&"500px",overflow:"hidden"}},x.createElement(xt.Z,{value:$t==null?void 0:$t.content})),Kr&&x.createElement("div",{className:"w-full current",onClick:()=>{Ci(!pi)}},x.createElement(ve.Z,{variant:"dashed",style:{borderColor:"#3061D0",marginBottom:"0px"},dashed:!0},x.createElement("span",{style:{color:"#3061D0"}},pi?"\u6536\u8D77":"\u5C55\u5F00")))),x.createElement(Wt.Z,{className:"px-36px",showDimensions:!1,dataSource:$t==null?void 0:$t.test_result_files,callback:()=>{}})):x.createElement(wn.Z,{customText:"\u5B66\u751F\u672A\u63D0\u4EA4\u5B9E\u9A8C\u7ED3\u679C"})))};var nn=(0,Me.connect)(({shixunHomeworks:Er,loading:tn,globalSetting:$t,classroomList:jn})=>({shixunHomeworks:Er,globalSetting:$t,loading:tn.effects,classroomList:jn}))(ln),zn=ae(86974),Ln=ae(7011),_t=Object.defineProperty,un=Object.defineProperties,Pn=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,sn=(Er,tn,$t)=>tn in Er?_t(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,bn=(Er,tn)=>{for(var $t in tn||(tn={}))Lt.call(tn,$t)&&sn(Er,$t,tn[$t]);if(Vn)for(var $t of Vn(tn))Gt.call(tn,$t)&&sn(Er,$t,tn[$t]);return Er},Yn=(Er,tn)=>un(Er,Pn(tn)),pr=(Er,tn,$t)=>new Promise((jn,lr)=>{var gr=zr=>{try{Kr($t.next(zr))}catch(pi){lr(pi)}},Ir=zr=>{try{Kr($t.throw(zr))}catch(pi){lr(pi)}},Kr=zr=>zr.done?jn(zr.value):Promise.resolve(zr.value).then(gr,Ir);Kr(($t=$t.apply(Er,tn)).next())});const ti=({shixunHomeworks:Er,autoHeight:tn,classroomList:$t,dispatch:jn})=>{var lr,gr,Ir,Kr,zr,pi,Ci,xi;const{shixunWorkReport:hi}=Er,{stage_list:Ii,work_id:Di,ai_code_evaluation_promote:$i}=hi,[no,Hi]=(0,x.useState)(!1),[ai,ao]=(0,x.useState)(!0),[ki,So]=(0,x.useState)({left:0,top:0,bottom:0,right:0}),uo=(0,x.useRef)(null),[Do,Co]=(0,x.useState)(!1),[to,Mo]=(0,x.useState)(""),[Go,zo]=(0,x.useState)({}),No=(0,x.useRef)(null),zi=(Wr,Ji)=>{var xo;const{clientWidth:ba,clientHeight:Xa}=window.document.documentElement,ns=(xo=uo.current)==null?void 0:xo.getBoundingClientRect();ns&&So({left:-ns.left+Ji.x,right:ba-(ns.right-Ji.x),top:-ns.top+Ji.y,bottom:Xa-(ns.bottom-Ji.y)})},Vt=(0,Me.useParams)(),$r=(0,at.GJ)(),ui={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,x.useEffect)(()=>{console.log(Vt)},[]);const Zr=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,Ji,xo)=>x.createElement("div",null,Wr,Ji.is_work_end_evaluate&&x.createElement(ht.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:Wr=>Le()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,Ji)=>x.createElement("span",{className:"c-blue current",onClick:()=>pr(void 0,null,function*(){var xo,ba;const Xa=yield(0,ie.Lk)(Ji.game_identifier,{path:(ba=(xo=Ji.path)==null?void 0:xo.replace(/\/g,";"))==null?void 0:ba.split(";")[0],query_index:Ji.query_index,homework_common_id:Vt.categoryId});(Xa==null?void 0:Xa.status)===0&&(Co(Xa),Hi(!0))})},Ji.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Ri=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,Ji)=>{var xo;return x.createElement("span",null,x.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:st.Z.IMG_SERVER+"/images/"+((xo=Ji==null?void 0:Ji.user)==null?void 0:xo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>x.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Le()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function ro(Wr,Ji){return pr(this,null,function*(){const{challenge_id:xo}=Ii[Wr],ba=yield jn({type:"shixunHomeworks/changeScore",payload:{categoryId:Vt.homeworkId,type:"report",score:Ji,challenge_id:xo}});yield jn({type:"shixunHomeworks/getShixunWorkReport",payload:bn({},Vt)}),ba.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function jr(Wr,Ji){return(0,Fe.U2)(`student_works/${Di}/rep_passed_content.json`,{path:Ji,game_id:Wr})}const[Yr,Bi]=(0,x.useState)((lr=hi==null?void 0:hi.shixun_detail)==null?void 0:lr.map(Wr=>Yn(bn({},Wr),{commentEdit:!1}))),_i=Wr=>Wr.replace(/\\\(([\s\S]*?)\\\)/g,"<mathx data-text='$1'>$$$$$1$$$$</mathx>").replace(/\\\[([\s\S]*?)\\\]/g,"<mathx data-text='$1'>$$$$$1$$$$</mathx>").replace(/`(\$\$.*?\$\$)`/g,"<mathx data-text='$1'>$$$$$1$$$$</mathx>").replace(/_{2,}/g,"`$&`"),[Ro,ya]=(0,x.useState)(!1),$o=(Wr,Ji)=>pr(void 0,null,function*(){var xo,ba;ya(!0),No.current=new Qt.Z(st.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:$i,shixun_id:hi==null?void 0:hi.myshixun_identifier,game_id:Wr==null?void 0:Wr.id,source:"shixun",is_chat:!1,type:9,description:Wr==null?void 0:Wr.challenge_description,query:(ba=(xo=Wr==null?void 0:Wr.game_codes)==null?void 0:xo[0])==null?void 0:ba.content,homework_common_id:Vt.categoryId}),yield new Promise((Xa,ns)=>{No.current.on("data",Ta=>{const Za=[...Yr];Za[Ji].comment=_i(Ta==null?void 0:Ta.full),Bi(Za)}),No.current.on("done",()=>pr(void 0,null,function*(){var Ta;ya(!1);const Za=[...Yr],Fo=yield(0,Fe.ZP)(`/api/student_works/${Vt==null?void 0:Vt.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:Za[Ji].comment}});if((Fo==null?void 0:Fo.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const vo=[...Yr];vo[Ji].comment_updated_at=(Ta=Fo==null?void 0:Fo.data)==null?void 0:Ta.comment_updated_at,Bi(vo)}})),No.current.startStream()})}),Ea=(0,x.useRef)(null),da=(0,x.useRef)(!1),wa=Wr=>pr(void 0,null,function*(){return!Wr||da.current?!1:(Ea.current&&clearTimeout(Ea.current),new Promise(Ji=>{Ea.current=setTimeout(()=>pr(void 0,null,function*(){da.current=!0;try{const xo=yield(0,Fe.ZP)(`/api/myshixuns/${Wr}/version_repository_delete.json`,{method:"get"});xo!=null&&xo.delete_expired?Ji(!0):Ji(!1)}catch(xo){Ji(!1)}finally{da.current=!1}}),300)}))});return x.createElement(x.Fragment,null,Yr==null?void 0:Yr.map(function(Wr,Ji){var xo,ba,Xa,ns,Ta,Za,Fo;const vo=!!((xo=Wr==null?void 0:Wr.game_extension_attachments)!=null&&xo.length);return x.createElement("div",{key:Ji},x.createElement("aside",{className:"pl30 pr30",key:Ji},x.createElement("div",{className:`${ze.shixunTitle} mt10`},x.createElement("div",null,x.createElement("span",{className:"fa fa-code "}),x.createElement("strong",{className:"c-black"},"\u7B2C",Ji+1,"\u5173",x.createElement("span",{style:{cursor:"pointer",marginLeft:"3px"},onClick:()=>pr(this,null,function*(){(yield wa(Wr.myshixun_id))?jn({type:"shixunHomeworks/setActionTabs",payload:{key:"\u91CD\u7F6E\u4ED3\u5E93\u63D0\u793A",params:{roleInfo:Wr.myshixun_id},goToBack:()=>{},goToDetail:()=>pr(this,null,function*(){(0,ht.xg)(`/tasks/${Vt.coursesId}/${Vt.categoryId}/${Wr.game_identifier}`)})}}):(0,ht.xg)(`/tasks/${Vt.coursesId}/${Vt.categoryId}/${Wr.game_identifier}`)})},Wr.subject))),$r?x.createElement("span",null,"\u8C03\u5206\uFF1A",x.createElement(lt,{className:"game-score",max:Ii[Ji].game_score_full,defaultValue:Ii[Ji].game_score,disabled:!((ba=Ii==null?void 0:Ii[Ji])!=null&&ba.checked)&&((Xa=Ii==null?void 0:Ii[Ji])==null?void 0:Xa.is_show),onBlur:qo=>{var ja;if((0,at.Rm)()&&!((ja=$t.AssistantObject.practice)!=null&&ja.can_appraise)){xe.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}ro(Ji,qo)}})):null),vo&&x.createElement("div",{className:"font16 mt10 mb10"},x.createElement("div",null,"\u5B66\u5458\u97F3\u9891\u6587\u4EF6"),x.createElement("a",{className:"current",onClick:()=>{var qo,ja,ls,Fs;zo({url:st.Z.API_SERVER+((ja=(qo=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:qo[0])==null?void 0:ja.url),file_type:(Fs=(ls=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:ls[0])==null?void 0:Fs.file_type})}},(Ta=(ns=Wr==null?void 0:Wr.game_extension_attachments)==null?void 0:ns[0])==null?void 0:Ta.title)),!vo&&x.createElement(x.Fragment,null,x.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?x.createElement("aside",{className:ze.shixunWrp},x.createElement(ge,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:tn,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:jr})):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"),Wr.st===1&&(Wr.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"},(Za=Wr.outputs)!=null&&Za.length?x.createElement(Ee.default,{columns:Zr,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(qo=>bn(bn({},Wr),qo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55")),x.createElement(nn,{items:Wr==null?void 0:Wr.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"),!(Wr!=null&&Wr.commentEdit)&&!(0,at.dE)()&&(Wr!=null&&Wr.comment?x.createElement(x.Fragment,null,x.createElement("div",{style:{color:"#666666",fontSize:"12px",marginLeft:"auto"}},"\u6700\u65B0\u8BC4\u4EF7\u65F6\u95F4\uFF1A",Wr!=null&&Wr.comment_updated_at?Le()(Wr==null?void 0:Wr.comment_updated_at).format("YYYY-MM-DD HH:mm:ss"):"--"),x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"40px",cursor:"pointer"},onClick:()=>pr(this,null,function*(){Ro?xe.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:()=>pr(this,null,function*(){$o(Wr,Ji)})})})},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:()=>pr(this,null,function*(){Ro?xe.ZP.warning("\u6B63\u5728\u751F\u6210\u8BC4\u8BBA\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"):$o(Wr,Ji)})},x.createElement("img",{src:Dt,className:"mr8"}),"\u4E00\u952EAI\u751F\u6210")),!(Wr!=null&&Wr.commentEdit)&&!(0,at.dE)()&&x.createElement("div",{style:{color:"#3061D0",fontSize:"14px",marginLeft:"20px",cursor:"pointer"},onClick:()=>{const qo=[...Yr];qo[Ji].commentEdit=!0,Bi(qo),Mo(Wr==null?void 0:Wr.comment)}},x.createElement("i",{className:"iconfont icon-bianji-moren mr8 font14"}),"\u7F16\u8F91"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(x.Fragment,null,x.createElement("div",{className:ze.pj_close,onClick:()=>{const qo=[...Yr];qo[Ji].commentEdit=!1,Bi(qo)}},"\u53D6\u6D88"),x.createElement("div",{className:ze.pj_save,onClick:()=>pr(this,null,function*(){var qo;const ja=yield(0,Fe.ZP)(`/api/student_works/${Vt==null?void 0:Vt.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Wr==null?void 0:Wr.challenge_id,comment:to}});if((ja==null?void 0:ja.status)==0){xe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const ls=[...Yr];ls[Ji].commentEdit=!1,ls[Ji].comment=to,ls[Ji].comment_updated_at=(qo=ja==null?void 0:ja.data)==null?void 0:qo.comment_updated_at,Bi(ls)}})},"\u4FDD\u5B58"))),!(Wr!=null&&Wr.commentEdit)&&x.createElement("div",{className:ze.pingjia},Wr!=null&&Wr.comment?x.createElement(xt.Z,{value:Wr==null?void 0:Wr.comment,style:{fontSize:"14px"}}):"\u6682\u65E0\u8BC4\u4EF7~"),(Wr==null?void 0:Wr.commentEdit)&&x.createElement(we.default.TextArea,{defaultValue:to,style:{borderRadius:"5px",marginTop:"10px"},rows:5,onChange:qo=>Mo(qo.target.value)}))),x.createElement("aside",{className:"mt10 font16"},((Fo=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Fo.length)>0&&(0,at.GJ)()&&x.createElement("div",null,x.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),x.createElement(Ee.default,{columns:Ri,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),x.createElement(fe.default,{open:no,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Co({}),Hi(!1)},onCancel:()=>{Co({}),Hi(!1)},title:x.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ai&&ao(!1)},onMouseOut:()=>{ao(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>x.createElement(se(),{disabled:ai,bounds:ki,nodeRef:uo,onStart:(Ji,xo)=>zi(Ji,xo)},x.createElement("div",{ref:uo},Wr))},x.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},x.createElement("div",{style:{display:"flex",alignItems:"center"}},((gr=Do==null?void 0:Do.data)==null?void 0:gr.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:((Ir=Do==null?void 0:Do.data)==null?void 0:Ir.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Kr=Do==null?void 0:Do.data)==null?void 0:Kr.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()((zr=Do==null?void 0:Do.data)==null?void 0:zr.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"}},(pi=Do==null?void 0:Do.data)==null?void 0:pi.ts_time,"s")),x.createElement("div",null,x.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),x.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ci=Do==null?void 0:Do.data)==null?void 0:Ci.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"}},((xi=Do==null?void 0:Do.data)==null?void 0:xi.test_set_passed_rate)*100,"%")))),x.createElement(Ot.ZP,{height:500,autoHeight:tn,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Do==null?void 0:Do.content)||""))),options:ui})),x.createElement(Ln.Z,null),x.createElement(zn.Z,{close:!0,hasMask:!0,style:{zIndex:9999},data:Go==null?void 0:Go.url,type:Go==null?void 0:Go.file_type,onClose:()=>zo({})}))};var si=(0,Me.connect)(({shixunHomeworks:Er,loading:tn,globalSetting:$t,classroomList:jn})=>({shixunHomeworks:Er,globalSetting:$t,loading:tn.effects,classroomList:jn}))(ti),Cr=ae(28284),ur={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},dr=ae(28303),yn=ae(59301),$n=Object.defineProperty,rr=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,Br=(Er,tn,$t)=>tn in Er?$n(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,Or=(Er,tn)=>{for(var $t in tn||(tn={}))Zn.call(tn,$t)&&Br(Er,$t,tn[$t]);if(rr)for(var $t of rr(tn))br.call(tn,$t)&&Br(Er,$t,tn[$t]);return Er},ci=(Er,tn,$t)=>new Promise((jn,lr)=>{var gr=zr=>{try{Kr($t.next(zr))}catch(pi){lr(pi)}},Ir=zr=>{try{Kr($t.throw(zr))}catch(pi){lr(pi)}},Kr=zr=>zr.done?jn(zr.value):Promise.resolve(zr.value).then(gr,Ir);Kr(($t=$t.apply(Er,tn)).next())});const Ai=({shixunHomeworks:Er,dispatch:tn,classroomList:$t})=>{const{shixunWorkReport:jn}=Er,lr=(0,Me.useParams)(),[gr,Ir]=(0,x.useState)(!1),[Kr]=Cr.default.useForm(),[zr,pi]=fe.default.useModal(),[Ci,xi]=(0,x.useState)(!1),[hi,Ii]=(0,x.useState)(!1),Di=[{label:"\u5FC5\u505A",value:"required",color:"#1B8565"},{label:"\u9009\u505A",value:"optional",color:"#1E96F4"},{label:"\u4E0D\u505A",value:"hidden",color:"#5F6368"}];(0,x.useEffect)(()=>{var Hi,ai,ao,ki;Er.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Kr.setFieldsValue({comment:(ai=(Hi=Er.actionTabs.selectArrs)==null?void 0:Hi.data)==null?void 0:ai.work_comment,hidden_comment:(ki=(ao=Er.actionTabs.selectArrs)==null?void 0:ao.data)==null?void 0:ki.work_comment_hidden})},[Er.actionTabs.key]);const $i=()=>ci(void 0,null,function*(){const Hi=Kr.getFieldsValue();(yield(0,Fe.ZP)(`/api/student_works/${lr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Hi.hidden_comment,comment:Hi.comment}})).status===0&&(xe.ZP.success("\u8BC4\u9605\u6210\u529F"),Kr.resetFields(),tn({type:"shixunHomeworks/setActionTabs",payload:{}}),tn({type:"shixunHomeworks/getShixunWorkReport",payload:Or({},lr)}))}),no=[{title:"\u5173\u5361",dataIndex:"name",render:(Hi,ai,ao)=>ao+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Hi,ai,ao)=>yn.createElement("div",null,Hi,ai.complete_status===4&&yn.createElement(ht.vA,{status:ai.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"checked",render:Hi=>{var ai,ao;return yn.createElement("span",{style:{color:(ai=Di==null?void 0:Di.find(ki=>(ki==null?void 0:ki.value)==Hi))==null?void 0:ai.color}},(ao=Di==null?void 0:Di.find(ki=>(ki==null?void 0:ki.value)==Hi))==null?void 0:ao.label)}},{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:Hi=>Hi?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Hi,ai)=>yn.createElement("div",null,yn.createElement("span",{style:{color:parseFloat(ai.game_score_full)!==parseFloat(Hi)?"#E30000":"#53C41B"}},Hi),"/",ai.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Hi,ai)=>(0,at.GJ)()?yn.createElement(lt,{max:ai.game_score_full,defaultValue:parseFloat(Hi),onBlur:ao=>ci(void 0,null,function*(){var ki,So;if((0,at.Rm)()&&!((ki=$t.AssistantObject.practice)!=null&&ki.can_appraise)){xe.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 uo=yield tn({type:"shixunHomeworks/changeScore",payload:{categoryId:lr.homeworkId,type:"report",score:ao,challenge_id:ai.challenge_id}});(So=Er==null?void 0:Er.actionTabs)==null||So.fn(),yield tn({type:"shixunHomeworks/getShixunWorkReport",payload:Or({},lr)}),uo.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Hi}];return yn.createElement(yn.Fragment,null,pi,yn.createElement(fe.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Er.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ci(void 0,null,function*(){var Hi;if((0,at.Rm)()&&!((Hi=$t.AssistantObject.practice)!=null&&Hi.can_appraise)){xe.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 ai=Kr.getFieldsValue();JSON.stringify(ai)==="{}"||ai.hidden_comment===""&&ai.comment===""?Ir(!0):$i()}),onCancel:()=>{tn({type:"shixunHomeworks/setActionTabs",payload:{}})}},yn.createElement(ye.Z,{justify:"space-between",className:ur.info},yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u59D3\u540D"),yn.createElement("span",{className:ur.blackContent},jn==null?void 0:jn.username)),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u5B66\u53F7"),yn.createElement("span",{className:ur.blackContent},(jn==null?void 0:jn.student_id)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u73ED\u7EA7"),yn.createElement("span",{className:ur.blackContent},(jn==null?void 0:jn.group_name)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u5173\u5361\u5F97\u5206"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.challenge_score)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u6548\u7387\u5206"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.eff_score)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u8865\u4EA4\u6263\u5206"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.late_penalty)||"--")),yn.createElement(Re.Z,null,yn.createElement("span",{className:`${ur.label} ${ur.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),yn.createElement("span",{className:ur.orangeContent},(jn==null?void 0:jn.work_score)||"--"))),yn.createElement(Cr.default,{form:Kr,onChange:()=>{gr&&Ir(!1)}},yn.createElement(ye.Z,{wrap:!1,align:"middle",justify:"space-between"},yn.createElement(Re.Z,null,yn.createElement("div",{className:`${ur.inputLabel} ${ur.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yn.createElement(Re.Z,null,yn.createElement(dr.Z,{isShowComponent:(0,at.G5)(),ModalProps:{open:Ci,onCancel:()=>{xi(!1)}},onDataSelect:(Hi,ai)=>ci(void 0,[Hi,ai],function*(ao,{node:ki}){const So=()=>{Kr.setFieldsValue({comment:ki==null?void 0:ki.value}),xi(!1)};if(Kr.getFieldValue("comment")){zr.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:So});return}So()})},yn.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:yn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Hi=>{xi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yn.createElement(Cr.default.Item,{name:"comment"},yn.createElement(we.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),yn.createElement(ye.Z,{wrap:!1,align:"middle",justify:"space-between"},yn.createElement(Re.Z,null,yn.createElement("div",{className:`${ur.inputLabel} ${ur.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),yn.createElement(Re.Z,null,yn.createElement(dr.Z,{isShowComponent:(0,at.G5)(),ModalProps:{open:hi,onCancel:()=>{Ii(!1)}},onDataSelect:(Hi,ai)=>ci(void 0,[Hi,ai],function*(ao,{node:ki}){const So=()=>{Kr.setFieldsValue({hidden_comment:ki==null?void 0:ki.value}),Ii(!1)};if(Kr.getFieldValue("hidden_comment")){zr.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:So});return}So()})},yn.createElement(Se.ZP,{style:{padding:0,height:"auto"},icon:yn.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Hi=>{Ii(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),yn.createElement(Cr.default.Item,{name:"hidden_comment"},yn.createElement(we.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),gr&&yn.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),yn.createElement("div",{className:ur.tableTitle},"\u5173\u5361\u6210\u7EE9"),yn.createElement(Ee.default,{className:ur.scoreTable,dataSource:jn.stage_list,rowKey:"challenge_id",pagination:!1,columns:no,scroll:{x:"max-content"}})))};var di=(0,Me.connect)(({shixunHomeworks:Er,classroomList:tn})=>({shixunHomeworks:Er,classroomList:tn}))(Ai),Pi=ae(19423),yi=ae(9657),oo=ae(44164),Gi=ae.n(oo),ar={wrap:"wrap___LZOi9",line:"line___oju0L"},Dr=ae(94258),ni=({detailData:Er})=>{var tn;return x.createElement("div",{className:ar.wrap},x.createElement(Dr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Dr.Uf)(Er),(Er==null?void 0:Er.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},x.createElement(Dr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Dr.Uf)(Er)}),!!((tn=Er==null?void 0:Er.photos)!=null&&tn.length)&&x.createElement(x.Fragment,null,x.createElement("div",{className:ar.line}),x.createElement(Dr._s,{dataSource:Er==null?void 0:Er.photos,right:21,col:4,wrapWidth:1140}))))},An=ae(6252),Cn=ae(14759),tt=ae(59301),pn=Object.defineProperty,Zt=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,li=(Er,tn,$t)=>tn in Er?pn(Er,tn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Er[tn]=$t,nr=(Er,tn)=>{for(var $t in tn||(tn={}))Rr.call(tn,$t)&&li(Er,$t,tn[$t]);if(On)for(var $t of On(tn))Xr.call(tn,$t)&&li(Er,$t,tn[$t]);return Er},or=(Er,tn)=>Zt(Er,vn(tn)),er=(Er,tn)=>{var $t={};for(var jn in Er)Rr.call(Er,jn)&&tn.indexOf(jn)<0&&($t[jn]=Er[jn]);if(Er!=null&&On)for(var jn of On(Er))tn.indexOf(jn)<0&&Xr.call(Er,jn)&&($t[jn]=Er[jn]);return $t},_r=(Er,tn,$t)=>new Promise((jn,lr)=>{var gr=zr=>{try{Kr($t.next(zr))}catch(pi){lr(pi)}},Ir=zr=>{try{Kr($t.throw(zr))}catch(pi){lr(pi)}},Kr=zr=>zr.done?jn(zr.value):Promise.resolve(zr.value).then(gr,Ir);Kr(($t=$t.apply(Er,tn)).next())});function Ti(Er){const tn=(lr,gr)=>{if(lr.localName===gr)return lr;for(let Ir=0,Kr=lr;Kr=Kr.parentNode;Ir++){if(Kr.localName===gr)return Kr;if(Kr==document.documentElement)return!1}},$t=Er.target,jn=tn($t,"a");if(console.log([jn],jn==null?void 0:jn.href,44),!(jn!=null&&jn.href)&&$t.tagName.toUpperCase()==="IMG"){let lr=$t.src||$t.getAttribute("src");lr&&lr.indexOf("/images/avatars/User")===-1&&(Er.stopPropagation(),Er.preventDefault(),Xt.Z.publish("preview-image",lr))}}const bi=Er=>{var tn=Er,{shixunHomeworks:$t,classroomList:jn,globalSetting:lr,loading:gr,user:Ir,dispatch:Kr}=tn,zr=er(tn,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),pi,Ci,xi,hi;const[Ii,Di]=(0,x.useState)(nr({},(0,Me.useParams)())),$i=(0,Me.useParams)(),[no,Hi]=(0,x.useState)({page:1,page_size:10}),ai=(0,Me.useLocation)(),[]=(0,x.useState)([]),[ao,ki]=(0,x.useState)(),So=(0,x.useRef)(),uo=(0,x.useRef)(),[Do,Co]=(0,x.useState)(!1),[to,Mo]=(0,x.useState)(!0),[Go,zo]=(0,x.useState)(!1),[No,zi]=(0,x.useState)(!1),{shixunWorkReport:Vt}=$t,[$r,ui]=(0,x.useState)(),[Zr,Ri]=(0,x.useState)([]),[ro,jr]=(0,x.useState)(),[Yr,Bi]=(0,x.useState)("all"),_i=(0,at.GJ)(),[Ro,ya]=(0,x.useState)(new(He())),[$o,Ea]=(0,x.useState)(0),[da,wa]=(0,x.useState)(!1),[Wr,Ji]=(0,x.useState)(!1),[xo,ba]=(0,x.useState)(!1),[Xa,ns]=(0,x.useState)(""),[Ta,Za]=(0,x.useState)(!1),[Fo,vo]=(0,x.useState)(!0),[qo,ja]=(0,x.useState)(0),ls=(0,x.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Fs=(0,x.useRef)(),[il,tu]=(0,x.useState)(!1),[Au,tl]=(0,x.useState)(!1),fl=(0,x.useRef)(null),wu={required:{tag:"\u5FC5\u505A",color:"#1B8565"},optional:{tag:"\u9009\u505A",color:"#1E96F4"},hidden:{tag:"\u4E0D\u505A",color:"#5F6368"}},Lu=()=>_r(void 0,null,function*(){(Ir.userInfo.is_teacher||Ir.userInfo.admin)&&(Za(!0),vo(!1))});(0,x.useEffect)(()=>{var Qi;(0,at.Rm)()&&jn.AssistantObject.practice&&!((Qi=jn.AssistantObject.practice)!=null&&Qi.can_view)&&Me.history.replace("/403")},[(pi=jn.AssistantObject.practice)==null?void 0:pi.can_view]),(0,x.useEffect)(()=>{Lu(),console.log("\u6253\u5370\u7684------",Vt),Fs.current=Vt==null?void 0:Vt.next_student_work_id,ns(Vt.repeat_minus_score)},[Vt,Ir]),(0,x.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Vt.work_score),ja(Vt.work_score)},[Vt.work_score,Xa]),(0,x.useEffect)(()=>(Kr({type:"globalSetting/footerToggle",payload:!1}),()=>{Kr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,x.useEffect)(()=>{if(fl.current)return fl.current.addEventListener("mousedown",Ti),()=>{var Qi;(Qi=fl.current)==null||Qi.removeEventListener("mousedown",Ti)}},[fl.current]),(0,x.useEffect)(()=>{setTimeout(()=>{fl.current&&fl.current.clientHeight>=500&&tl(!0)},500)},[(Ci=Vt==null?void 0:Vt.student_work_test_result_info)==null?void 0:Ci.content,fl.current]),(0,x.useEffect)(()=>{var Qi;if(Vt){let Bo=[];(Qi=Vt==null?void 0:Vt.target_test_sets)==null||Qi.map((Wa,ol)=>{var kc;(kc=Wa==null?void 0:Wa.targets)==null||kc.map((nu,Cu)=>{var ps;nu.name=Wa==null?void 0:Wa.name,nu.total_target_score=Wa==null?void 0:Wa.total_target_score,nu.actual_target_score=Wa==null?void 0:Wa.actual_target_score,nu.rowSpan=Cu===0?(ps=Wa==null?void 0:Wa.targets)==null?void 0:ps.length:0,nu.order=ol+1,Bo.push(nu)})}),ui(Bo),(0,at.Rm)()&&Kr({type:"classroomList/getAssistantPermissions",payload:{course_id:Ii.coursesId}})}},[Vt]),(0,x.useEffect)(()=>{$t.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Vt==null?void 0:Vt.students_count)>0&&!to&&setTimeout(()=>{es("all")},800)},[Vt==null?void 0:Vt.homework_common_id,to]),(0,x.useEffect)(()=>{Di(nr({},$i))},[ai.pathname]);const hl=()=>{document.body.scrollIntoView()},vc=Qi=>{no.page=Qi,Hi(nr({},no)),Du(no,Yr)},Du=(Qi,Bo)=>_r(void 0,null,function*(){zo(!0);const Wa=yield(0,Fe.ZP)(`/api/student_works/${Ii==null?void 0:Ii.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:or(nr({},Qi),{challenge_id:Bo=="all"?null:Bo})});(Wa==null?void 0:Wa.status)===0&&(Ri(Wa==null?void 0:Wa.list),jr(Wa==null?void 0:Wa.count)),zo(!1)});function fa(){return _r(this,null,function*(){ls.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const La=()=>{document.querySelectorAll("canvas").forEach(Qi=>{(!Qi.clientWidth||!Qi.clientHeight)&&Qi.remove()})},ha=()=>{So.current.offsetHeight>62e3?zi(!1):zi(!0)},ga=Qi=>_r(void 0,null,function*(){const Bo=yield(0,yi.t1)({homeworkId:Qi||Ii.homeworkId});ki(Bo==null?void 0:Bo.data)}),es=Qi=>_r(void 0,null,function*(){var Bo,Wa,ol,kc;tu(!0);let nu=0,Cu;Cu=fe.default.info({width:460,title:tt.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",tt.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:tt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tt.createElement("span",{className:"c-blue"},nu+1),"/",Qi!=="all"?1:Vt==null?void 0:Vt.students_count,tt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ze.modal,onOk:()=>{}});const ps={margin:[0,0],filename:`${Vt!=null&&Vt.student_id&&(Vt==null?void 0:Vt.student_id)!="--"?Vt==null?void 0:Vt.student_id:""}${Vt.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},oc=Ro.folder(Vt==null?void 0:Vt.shixun_name);function td(Vc){return _r(this,null,function*(){yield ga(Vc||Fs.current);const ka=yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr({homeworkId:Vc||Fs.current},ls.current||{})});Fs.current=ka==null?void 0:ka.next_student_work_id,hl(),nu++,setTimeout(()=>_r(this,null,function*(){var Xu,yc,Nu,Ns;La();const Pl=oc.folder(`${ka==null?void 0:ka.group_name}`).folder(`${ka!=null&&ka.student_id&&(ka==null?void 0:ka.student_id)!="--"?ka.student_id+"+":""}${ka==null?void 0:ka.username}`),ml=document.querySelector("#export-all").children;let Tl=Gi()();for(let xu=0;xu<ml.length;xu++)yield Tl.set(ps).from(ml[xu]).toContainer().toCanvas().toPdf().get("pdf").then($u=>_r(this,null,function*(){xu<ml.length-1&&(yield $u.addPage())}));if(Pl.file(`${ka!=null&&ka.student_id&&(ka==null?void 0:ka.student_id)!="--"?ka.student_id+"+":""}${ka==null?void 0:ka.username}.pdf`,Tl.output("blob")),((Xu=ka==null?void 0:ka.shixun_detail)==null?void 0:Xu.length)>0&&((Nu=(yc=ka==null?void 0:ka.shixun_detail)==null?void 0:yc.filter(xu=>{var $u;return(($u=xu==null?void 0:xu.game_codes)==null?void 0:$u.length)>0}))==null?void 0:Nu.length)>0){const xu=Pl.folder("\u4EE3\u7801\u6587\u4EF6");(Ns=ka==null?void 0:ka.shixun_detail)==null||Ns.map(($u,ru)=>{var fu,Fa;if(((fu=$u==null?void 0:$u.game_codes)==null?void 0:fu.length)>0){const Ma=xu.folder(`\u7B2C${ru+1}\u5173-${$u.subject}-${$u.id}`);(Fa=$u==null?void 0:$u.game_codes)==null||Fa.map(bs=>{Ma.file(`${bs.filename}.txt`,bs==null?void 0:bs.content)})}})}Cu.update({content:tt.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tt.createElement("span",{className:"c-blue"},nu),"/",ka==null?void 0:ka.students_count,tt.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),nu==(ka==null?void 0:ka.students_count)?(Cu.destroy(),Ya()):td()}),2200)})}if(Qi!=="all"||(Vt==null?void 0:Vt.students_count)<2){La(),hl();const Vc=uo.current.children;let ka=Gi()();const yc=oc.folder(`${Vt==null?void 0:Vt.group_name}`).folder(`${Vt!=null&&Vt.student_id&&(Vt==null?void 0:Vt.student_id)!="--"?(Vt==null?void 0:Vt.student_id)+"+":""}${Vt==null?void 0:Vt.username}`);for(let Nu=0;Nu<Vc.length;Nu++)yield ka.set(ps).from(Vc[Nu]).toContainer().toCanvas().toPdf().get("pdf").then(Ns=>_r(void 0,null,function*(){Nu<Vc.length-1&&(yield Ns.addPage())}));if(Co(!1),yc.file(`${Vt!=null&&Vt.student_id&&(Vt==null?void 0:Vt.student_id)!="--"?(Vt==null?void 0:Vt.student_id)+"+":""}${Vt.username}.pdf`,ka.output("blob"),{base64:!1}),((Bo=Vt==null?void 0:Vt.shixun_detail)==null?void 0:Bo.length)>0&&((ol=(Wa=Vt==null?void 0:Vt.shixun_detail)==null?void 0:Wa.filter(Nu=>{var Ns;return((Ns=Nu==null?void 0:Nu.game_codes)==null?void 0:Ns.length)>0}))==null?void 0:ol.length)>0){const Nu=yc.folder("\u4EE3\u7801\u6587\u4EF6");(kc=Vt==null?void 0:Vt.shixun_detail)==null||kc.map((Ns,Yu)=>{var Pl,ml;if(((Pl=Ns==null?void 0:Ns.game_codes)==null?void 0:Pl.length)>0){const Tl=Nu.folder(`\u7B2C${Yu+1}\u5173-${Ns.subject}-${Ns.id}`);(ml=Ns==null?void 0:Ns.game_codes)==null||ml.map(xu=>{Tl.file(`${xu.filename}.txt`,xu==null?void 0:xu.content)})}})}Cu.destroy(),Ya();return}else td(Vt==null?void 0:Vt.first_student_work_id)}),Ya=()=>{Ro.generateAsync({type:"blob"}).then(function(Qi){console.log(Vt,"shixunWorkReport");const Bo=document.createElement("a");Bo.href=window.URL.createObjectURL(Qi),Bo.download=(Vt==null?void 0:Vt.shixun_name)+".zip",document.body.appendChild(Bo);const Wa=document.createEvent("MouseEvents");Wa.initEvent("click",!1,!1),Bo.dispatchEvent(Wa),document.body.removeChild(Bo),ya(new(He()))}),zi(!1)};(0,x.useEffect)(()=>{$a()},[Ii.homeworkId]);const $a=()=>_r(void 0,null,function*(){Mo(!0);const Qi=yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})});if((Qi==null?void 0:Qi.status)==-100&&!(0,at.Ny)()){const Bo=yield(0,Fe.ZP)("/api/users/check_archive_view.json",{method:"get",params:{container_id:Ii.categoryId,container_type:"HomeworkCommon"}});(Bo==null?void 0:Bo.status)==0&&(Bo==null?void 0:Bo.code)==1&&Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5F52\u6863\u63D0\u793A",params:{roleInfo:Bo,homework_id:Ii.categoryId},goToBack:()=>{Me.history.push(`/classrooms/${Ii.coursesId}/shixun_homework`)},goToDetail:()=>{window.location.reload()}}})}ga(),(0,at.GJ)()&&fa(),Mo(!1)}),Kl=[{title:"\u5173\u5361",width:50,dataIndex:"name",render:(Qi,Bo,Wa)=>Wa+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Qi,Bo,Wa)=>tt.createElement("div",null,Qi,Bo.complete_status===4&&tt.createElement(ht.vA,{status:Bo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Qi,Bo,Wa)=>Qi||"- -"},{title:"\u5173\u5361\u8981\u6C42",dataIndex:"status",render:Qi=>{var Bo,Wa;return tt.createElement("span",{style:{color:(Bo=wu[Qi])==null?void 0:Bo.color}},(Wa=wu[Qi])==null?void 0:Wa.tag)}},{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:Qi=>Qi?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Qi,Bo)=>tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.myself_experience)!==parseFloat(Qi)?"red":"green"}},Bo.myself_experience),"/",Qi)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Qi,Bo)=>tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.game_score_full)!==parseFloat(Qi)?"red":"green"}},Qi),"/",Bo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Qi,Bo)=>_i?tt.createElement(lt,{style:{width:80},max:Bo.game_score_full,defaultValue:parseFloat(Qi),onBlur:Wa=>_r(void 0,null,function*(){var ol;if((0,at.Rm)()&&!((ol=jn.AssistantObject.practice)!=null&&ol.can_appraise)){xe.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 kc=yield Kr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ii.homeworkId,type:"report",score:Wa,challenge_id:Bo.challenge_id}});Du({page:1,page_size:10},"all"),yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})}),kc.status===0&&xe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Qi}];let su=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Qi,Bo,Wa)=>({children:Qi,props:{rowSpan:Bo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Qi,Bo,Wa)=>({children:Qi,props:{rowSpan:Bo.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:(Qi,Bo,Wa)=>tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.actual_test_score)!==parseFloat(Qi)?"red":"green"}},Bo.actual_test_score),"/",Qi)},{title:"\u6307\u6807\u603B\u5206",render:(Qi,Bo,Wa)=>({children:tt.createElement("div",null,tt.createElement("span",{style:{color:parseFloat(Bo.actual_target_score)!==parseFloat(Qi)?"red":"green"}},Bo.actual_target_score),"/",Qi),props:{rowSpan:Bo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Ol=[{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:Qi=>tt.createElement("span",null,Qi?Le()(Qi).format("YYYY-MM-DD HH:mm"):"--")}],bu=Qi=>{Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Qi==="next"?Me.history.push(`/classrooms/${Ii.coursesId}/shixun_homework/${Ii.categoryId}/${Vt==null?void 0:Vt.next_student_work_id}/comment`):Me.history.push(`/classrooms/${Ii.coursesId}/shixun_homework/${Ii.categoryId}/${Vt==null?void 0:Vt.pre_student_work_id}/comment`)},200)},du=Qi=>{ns(""),Qi.target.value&&(console.log("\u8FDB\u6765",Vt),Qi.target.value=Qi.target.value>Vt.repeat_setting_score?Vt.repeat_setting_score:Qi.target.value,ns(Qi.target.value))},Gu=()=>_r(void 0,null,function*(){const Qi=yield(0,Fe.ZP)(`/api/student_works/${Vt==null?void 0:Vt.work_id}/update_repeat_score`,{method:"put",body:{score:Xa}});yield Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})}),Qi.status===0&&xe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return tt.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},tt.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},tt.createElement(oe.Z,{loading:gr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},tt.createElement("div",{className:"edu-container"},Vt.course_id&&tt.createElement("section",{className:"animated fadeIn"},tt.createElement("aside",{className:""},Vt.category&&tt.createElement(Pe.Z,{separator:">"},tt.createElement(Pe.Z.Item,null,tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework`},Vt.course_name)),tt.createElement(Pe.Z.Item,null,tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework/${Vt.category.main?"":Vt.category.category_id}`},Vt.category.category_name)),tt.createElement(Pe.Z.Item,null,tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework/${Vt.homework_common_id}/detail${(0,at.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),tt.createElement(Pe.Z.Item,null,Vt.username))),tt.createElement("aside",{className:[ze.title1,"mt20"].join(" ")},tt.createElement(ye.Z,{align:"middle"},tt.createElement(Re.Z,{flex:1},tt.createElement(Me.Link,{to:`/classrooms/${Vt.course_id}/shixun_homework/${Vt.homework_common_id}/detail`},tt.createElement(je.Z,{className:"font16 c-black"})),tt.createElement("strong",{className:"font20 ml5"},Vt==null?void 0:Vt.homework_name),tt.createElement(ht.VV,{temporary:!0,status:Vt.homework_status})),tt.createElement(Re.Z,{className:ze.title1_right},Vt.view_tpi&&tt.createElement(Se.ZP,{onClick:()=>{var Qi,Bo;(0,ht.xg)(`/tasks/${Vt==null?void 0:Vt.course_id}/${Vt==null?void 0:Vt.homework_common_id}/${(Bo=(Qi=Vt==null?void 0:Vt.shixun_detail)==null?void 0:Qi[0])==null?void 0:Bo.game_identifier}`)}},tt.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,at.GJ)()&&Vt.homework_end===!1&&!!Vt.myshixun_id&&tt.createElement(Se.ZP,{className:"ml10",onClick:()=>_r(void 0,null,function*(){yield Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Vt.myshixun_identifier},homework_common_id:$i.categoryId}})})},tt.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),tt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var Qi,Bo;if(!(!(Vt!=null&&Vt.is_old_data_for_time)&&(Vt==null?void 0:Vt.user_id)!==((Qi=Ir==null?void 0:Ir.userInfo)==null?void 0:Qi.user_id)&&(0,ht.Ye)(Kr))){if((0,at.Rm)()&&!((Bo=jn.AssistantObject.practice)!=null&&Bo.can_download)){xe.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}es("")}},loading:Do},tt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,at.GJ)()&&(Vt==null?void 0:Vt.students_count)>1&&tt.createElement(Se.ZP,{className:"ml10",onClick:()=>{var Qi;if(!(!(Vt!=null&&Vt.is_old_data_for_time)&&(0,ht.Ye)(Kr))){if((0,at.Rm)()&&!((Qi=jn.AssistantObject.practice)!=null&&Qi.can_download)){xe.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:tt.createElement(Ie.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:tt.createElement(Ie.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:()=>{es("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,An.jj)({categoryId:Ii.categoryId,coursesId:Ii.coursesId},"shixun_report")}}})}}},tt.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),tt.createElement("aside",{className:"mt30 relative"})),tt.createElement("aside",{className:"edu-container bg-white",ref:So},tt.createElement("div",{id:"export-all",ref:uo},tt.createElement("div",{id:"export-all-1"},tt.createElement("div",{className:ze.title},tt.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),tt.createElement("div",null,(0,at.GJ)()&&tt.createElement(Se.ZP,{className:"mr20",type:"primary",onClick:()=>{Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Vt.user_id,data:nr({},Vt)},fn:()=>Du({page:1,page_size:10},"all")}})}},tt.createElement(_e.Z,null),Vt.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),tt.createElement(ve.Z,{style:{marginTop:0}}),tt.createElement(ye.Z,{className:"pl30 pr30"},tt.createElement(Re.Z,null,tt.createElement("img",{className:ze.userPic,src:`${st.Z.IMG_SERVER}/images/${Vt.image_url}`,alt:Vt.username})),tt.createElement(Re.Z,null,tt.createElement("span",{className:"font16 ml40"},Vt.username),tt.createElement(ht.vA,{status:Vt.compelete_status}),tt.createElement("ul",{className:ze.userInfo},tt.createElement("li",null,"\u5B66\u53F7\uFF1A",Vt.student_id||"--"),tt.createElement("li",null,"\u5206\u73ED\uFF1A",Vt.group_name||"--"),tt.createElement("br",null),tt.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",tt.createElement("span",{className:"c-red"},Vt.complete_count),"/",tt.createElement("span",{className:"c-red"},Vt.checked_challenge_count)),tt.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",tt.createElement("span",{className:"c-red"},Vt.current_complete_count||"-"),"/",tt.createElement("span",{className:"c-red"},Vt.checked_challenge_count)),tt.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",Vt&&Vt.efficiency===null?"--":Vt&&Vt.efficiency),tt.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",Vt&&Vt.max_efficiency===null?"--":Vt&&Vt.max_efficiency))),tt.createElement("ul",{className:[ze.listItem,"mt10"].join(" ")},tt.createElement("li",null,tt.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),tt.createElement("div",{className:"c-light-black mt20"},Vt&&Vt.passed_time===null||Vt&&Vt.passed_time==="--"?"--":Le()(Vt&&Vt.passed_time).format("YYYY-MM-DD HH:mm"))),tt.createElement("li",null,tt.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",tt.createElement("i",{onClick:Qi=>{Qi.stopPropagation(),Qi.preventDefault(),wa(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tt.createElement("div",{className:"c-light-black mt20"},Vt==null?void 0:Vt.human_training_time_rules)),tt.createElement("li",null,tt.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",tt.createElement("i",{onClick:Qi=>{Qi.stopPropagation(),Qi.preventDefault(),Ji(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tt.createElement("div",{className:"c-light-black mt20"},Vt.time_consuming)),tt.createElement("li",null,tt.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),tt.createElement("div",{className:"mt20"},Vt.evaluate_count)),(Vt==null?void 0:Vt.eff_score_full)&&tt.createElement(tt.Fragment,null,tt.createElement("li",null,tt.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},Vt.challenge_score),"/",tt.createElement("span",{className:"c-light-black"},Vt.challenge_score_full))),tt.createElement("li",null,tt.createElement("strong",null,"\u6548\u7387\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},Vt.eff_score),"/",tt.createElement("span",{className:"c-light-black"},Vt.eff_score_full)))),(Vt==null?void 0:Vt.have_repeat)&&(Vt==null?void 0:Vt.repeat_minus_score)!==0&&tt.createElement("li",{style:{position:"relative"}},tt.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},tt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tt.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},Vt!=null&&Vt.review_rate?tt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(Vt!=null&&Vt.review_id&&Ta)localStorage.setItem("studentDetial",window.location.pathname),Me.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Ii.categoryId}/review_detail/${Vt==null?void 0:Vt.review_id}`});else return}},Vt.review_rate.toFixed(1),"%"):tt.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),Ta?tt.createElement("div",{className:"mt20"},tt.createElement(we.default,{style:{width:"45px",height:"22px"},value:Xa,onChange:Qi=>{du(Qi)},onBlur:Gu,disabled:Fo})," / ",Vt==null?void 0:Vt.repeat_setting_score):tt.createElement("div",{className:"mt20"},Vt==null?void 0:Vt.repeat_minus_score," / ",Vt==null?void 0:Vt.repeat_setting_score)),console.log("sssssssssssssssssssssss",Vt==null?void 0:Vt.have_repeat,Vt==null?void 0:Vt.repeat_minus_score),(Vt==null?void 0:Vt.have_repeat)&&(Vt==null?void 0:Vt.repeat_minus_score)===0&&tt.createElement("li",null,tt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tt.createElement("div",{className:"mt20"}," - -")),!(Vt!=null&&Vt.have_repeat)&&tt.createElement("li",null,tt.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tt.createElement("div",{className:"mt20"}," - -")),tt.createElement("li",null,tt.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",null,Vt.late_penalty||"- -"))),Vt.extra_score>0&&tt.createElement("li",null,tt.createElement("strong",null,"\u9644\u52A0\u5F97\u5206"),tt.createElement("div",{className:"mt20"},tt.createElement("span",null,Vt.extra_score||"- -"))),tt.createElement("li",null,tt.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},qo),"/",tt.createElement("span",{className:"c-light-black"},Vt.all_work_score))),tt.createElement("li",null,tt.createElement("strong",null,"\u603B\u8BC4"),tt.createElement("div",{className:"mt20"},tt.createElement("span",{className:"c-orange"},Vt.overall_appraisal))))),tt.createElement(ve.Z,{style:{margin:0}}),(Vt.work_comment_hidden||Vt.work_comment)&&tt.createElement("div",null,tt.createElement(ye.Z,{align:"middle"},tt.createElement(Re.Z,{flex:1},tt.createElement("h1",{className:ze.title},"\u70B9\u8BC4\u5185\u5BB9")),tt.createElement(Re.Z,{className:"pr30"},(0,at.GJ)()&&tt.createElement(Se.ZP,{onClick:()=>_r(void 0,null,function*(){fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:tt.createElement(Je.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return _r(this,null,function*(){(yield(0,yi.gZ)({comment_id:Vt.comment_id,homeworkId:Ii.homeworkId})).status===0&&(xe.ZP.success("\u5220\u9664\u6210\u529F"),Kr({type:"shixunHomeworks/getShixunWorkReport",payload:nr(nr({},Ii),ls.current||{})}))})}})})},tt.createElement(Ve.Z,null),"\u5220\u9664"))),tt.createElement(ve.Z,{style:{margin:0}}),Vt.work_comment&&tt.createElement("aside",{className:"pl30 pr30 mt20"},tt.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tt.createElement("br",null),tt.createElement(xt.Z,{value:Vt.work_comment})),Vt.work_comment_hidden&&tt.createElement("aside",{className:"pl30 pr30 mt20"},tt.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tt.createElement("br",null),tt.createElement(xt.Z,{value:Vt.work_comment_hidden}))),(Vt==null?void 0:Vt.action_analysis)&&tt.createElement(ni,{detailData:Vt}),tt.createElement("div",{className:ze.score},tt.createElement("h1",{className:ze.title},"\u9636\u6BB5\u6210\u7EE9"),(Vt==null?void 0:Vt.adjust_review_score_count)>0&&(0,at.GJ)()&&tt.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ba(!0),Du({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Vt==null?void 0:Vt.adjust_review_score_count,"\u6B21\uFF09")),tt.createElement("aside",{className:"pl30 pr30"},tt.createElement(Ee.default,{dataSource:Vt.stage_list,rowKey:Qi=>Qi==null?void 0:Qi.challenge_id,pagination:!1,columns:Kl})),((xi=Vt==null?void 0:Vt.target_test_sets)==null?void 0:xi.length)>0&&tt.createElement("div",null,tt.createElement("h1",{className:ze.title},"\u6307\u6807\u6210\u7EE9"),tt.createElement("aside",{className:"pl30 pr30"},tt.createElement(Ee.default,{dataSource:$r,rowKey:Qi=>Qi==null?void 0:Qi.challenge_id,pagination:!1,bordered:!0,columns:su}))),(Vt==null?void 0:Vt.work_description)&&tt.createElement(tt.Fragment,null,tt.createElement("h1",{className:ze.title},"\u4E2A\u4EBA\u603B\u7ED3"),tt.createElement("aside",{className:"pl30 pr30"},tt.createElement(xt.Z,{value:Vt==null?void 0:Vt.work_description}))),tt.createElement("h1",{className:ze.title},"\u56FE\u5F62\u7EDF\u8BA1"),tt.createElement(Qe,{data:ao}),(Vt==null?void 0:Vt.is_open_submit_test_result)&&tt.createElement(tt.Fragment,null),tt.createElement("h1",{className:ze.title},"\u5B9E\u8BAD\u8BE6\u60C5")),tt.createElement(si,{autoHeight:No}))),(0,at.GJ)()&&tt.createElement("aside",{className:`${ze.footerBar} ${Do?ze.footerBarStatic:""}`},tt.createElement("aside",{className:"edu-container"},tt.createElement(ye.Z,{align:"middle"},tt.createElement(Re.Z,{flex:"1"},tt.createElement(Me.Link,{className:ze.exitComment,to:`/classrooms/${Ii.coursesId}/shixun_homework/${Ii.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),tt.createElement(Re.Z,{flex:"1",className:"tr"},tt.createElement(Se.ZP,{type:"default",disabled:!(Vt!=null&&Vt.pre_student_work_id),onClick:()=>bu()},"\u4E0A\u4E00\u4E2A"),tt.createElement(Se.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(Vt!=null&&Vt.next_student_work_id),onClick:()=>bu("next")},"\u4E0B\u4E00\u4E2A"),(0,at.GJ)()&&tt.createElement(Se.ZP,{type:"primary",onClick:()=>_r(void 0,null,function*(){Kr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Vt.user_id,data:nr({},Vt)},fn:()=>Du({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),tt.createElement(di,null),tt.createElement(Pi.Z,null),tt.createElement(fe.default,{open:da,width:860,centered:!0,onCancel:()=>{wa(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},tt.createElement("div",{style:{color:"#333333",fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),tt.createElement("br",null),tt.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"),tt.createElement("br",null),tt.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"),tt.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 "),tt.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")),tt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),tt.createElement("br",null),tt.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 "),tt.createElement("br",null),tt.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"),tt.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 "),tt.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"),tt.createElement("br",null),tt.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")),tt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),tt.createElement("br",null),tt.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")),tt.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tt.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),tt.createElement("br",null),tt.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"))),tt.createElement(fe.default,{open:Wr,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Ji(!1)},width:600},tt.createElement("div",{style:{fontWeight:400,color:"#333333"}},tt.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tt.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),tt.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tt.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5FC5\u505A\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),tt.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tt.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"))),tt.createElement(fe.default,{open:xo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Bi("all"),ba(!1)},destroyOnClose:!0,width:900},tt.createElement("div",{style:{fontWeight:400,color:"#333333"}},tt.createElement("div",null,tt.createElement("span",null,"\u5173\u5361\uFF1A"),tt.createElement(Oe.default,{style:{width:300},value:Yr,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Qi=>_r(void 0,null,function*(){Bi(Qi),Du({page:1,page_size:10},Qi)})},tt.createElement(Oe.default.Option,{value:"all"}," \u5168\u90E8 "),(hi=Vt==null?void 0:Vt.stage_list)==null?void 0:hi.map((Qi,Bo)=>tt.createElement(Oe.default.Option,{key:Bo,value:Qi==null?void 0:Qi.challenge_id},"\u7B2C",(0,ht.EM)(Bo+1),"\u5173")))),tt.createElement("div",{className:"mt20"},tt.createElement(Ee.default,{dataSource:Zr,rowKey:Qi=>Qi==null?void 0:Qi.id,pagination:!1,columns:Ol,loading:Go})),tt.createElement("div",{className:ze.footer},tt.createElement("div",null,tt.createElement("span",{style:{color:"#656F87"}},"\u5171",tt.createElement("span",{className:"c-light-primary"},ro),"\u6761\u6570\u636E")),tt.createElement(Ke.Z,{defaultCurrent:1,defaultPageSize:10,current:(no==null?void 0:no.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ro,onChange:vc})))),tt.createElement(Cn.Z,{onClose:()=>{},onSuccess:()=>{}}))};var Xi=(0,Me.connect)(({shixunHomeworks:Er,classroomList:tn,loading:$t,globalSetting:jn,user:lr})=>({shixunHomeworks:Er,classroomList:tn,globalSetting:jn,loading:$t.effects,user:lr}))(bi)},19423:function(Xn,Mt,ae){"use strict";var x=ae(62957),dt=ae(6767),Le=ae(49317),qe=ae(44283),He=ae(15267),Fe=ae(59301),Me=(xe,oe,Pe)=>new Promise((ye,Re)=>{var Se=we=>{try{ve(Pe.next(we))}catch(Ee){Re(Ee)}},Ie=we=>{try{ve(Pe.throw(we))}catch(Ee){Re(Ee)}},ve=we=>we.done?ye(we.value):Promise.resolve(we.value).then(Se,Ie);ve((Pe=Pe.apply(xe,oe)).next())});const fe=({shixunHomeworks:xe,classroomList:oe,dispatch:Pe})=>{const ye=(0,qe.useParams)();return Fe.createElement(x.default,{centered:!0,title:"\u63D0\u793A",open:xe.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Me(void 0,null,function*(){var Re,Se,Ie,ve;if((0,He.Rm)()&&!((Re=oe.AssistantObject.practice)!=null&&Re.can_redo)){dt.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 we=yield(0,Le.ZP)(`/api/myshixuns/${xe.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ye.coursesId,homework_common_id:xe.actionTabs.homework_common_id}});if(we.shixun_identifier){dt.ZP.success("\u64CD\u4F5C\u6210\u529F"),Pe({type:"shixunHomeworks/setActionTabs",payload:{}});const Ee=(Ie=(Se=we==null?void 0:we.new_works)==null?void 0:Se.find(Oe=>`${Oe.homework_common_id}`===ye.categoryId))==null?void 0:Ie.id;if((0,He.Rm)()&&!((ve=oe.AssistantObject.practice)!=null&&ve.can_view))return;qe.history.replace(`/classrooms/${ye.coursesId}/shixun_homework/${ye.categoryId}/${Ee}/comment`)}}),onCancel:()=>{Pe({type:"shixunHomeworks/setActionTabs",payload:{}})}},Fe.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Fe.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Mt.Z=(0,qe.connect)(({shixunHomeworks:xe,classroomList:oe})=>({shixunHomeworks:xe,classroomList:oe}))(fe)},14759:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return oe}});var x=ae(44283),dt=ae(62957),Le=ae(7939),qe=ae(25399),He=ae(49317),Fe={archiveTip:"archiveTip___ZP0rt"},Me=ae(59301),fe=(Pe,ye,Re)=>new Promise((Se,Ie)=>{var ve=Oe=>{try{Ee(Re.next(Oe))}catch(Ke){Ie(Ke)}},we=Oe=>{try{Ee(Re.throw(Oe))}catch(Ke){Ie(Ke)}},Ee=Oe=>Oe.done?Se(Oe.value):Promise.resolve(Oe.value).then(ve,we);Ee((Re=Re.apply(Pe,ye)).next())});const xe=({globalSetting:Pe,loading:ye,dispatch:Re,user:Se,shixunHomeworks:Ie,onClose:ve=()=>{},onSuccess:we=()=>{}})=>{var Ee,Oe,Ke,je,_e,Je,Ve,st,at,ht,Ct,ze,pt,Ne,Qe,Ot,ot,lt,Bt,We,ke,At,Kt,Ht,nt,Pt;return Me.createElement(dt.default,{centered:!0,open:Ie.actionTabs.key=="\u5F52\u6863\u63D0\u793A",title:"\u63D0\u793A",width:550,onCancel:()=>{Ie.actionTabs.goToBack(),Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}})},footer:Me.createElement("div",null,((Ke=[0,1])==null?void 0:Ke.includes((Oe=(Ee=Ie.actionTabs.params)==null?void 0:Ee.roleInfo)==null?void 0:Oe.version_type))&&Me.createElement(Le.ZP,{onClick:()=>{var Rt;Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),x.history.push(`/users/${(Rt=Se.userInfo)==null?void 0:Rt.login}/memberCenter`)}},"\u5347\u7EA7\u7248\u672C"),!((Je=[0,1,2])!=null&&Je.includes((_e=(je=Ie.actionTabs.params)==null?void 0:je.roleInfo)==null?void 0:_e.version_type))&&Me.createElement(qe.Z,{title:Me.createElement("div",null,Me.createElement("img",{src:ae(89242),width:150,height:150,alt:""}))},Me.createElement(Le.ZP,null,"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458")),Me.createElement(Le.ZP,{type:"primary",disabled:((st=(Ve=Ie.actionTabs.params)==null?void 0:Ve.roleInfo)==null?void 0:st.surplus_archive_view_count)==0,style:((ht=(at=Ie.actionTabs.params)==null?void 0:at.roleInfo)==null?void 0:ht.surplus_archive_view_count)==0?{marginLeft:"20px"}:{},onClick:()=>fe(void 0,null,function*(){var Rt;const hn=yield(0,He.ZP)("/api/users/archive_view.json",{method:"post",body:{container_id:(Rt=Ie.actionTabs.params)==null?void 0:Rt.homework_id,container_type:"HomeworkCommon"}});(hn==null?void 0:hn.status)==0&&(Re({type:"shixunHomeworks/setActionTabs",payload:{key:""}}),Ie.actionTabs.goToDetail())})},"\u786E\u8BA4",((Ct=Ie.actionTabs.params)==null?void 0:Ct.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B"))},Me.createElement("div",null,Me.createElement("div",{className:Fe.archiveTip},"\u8BE5\u8BFE\u5802\u5B9E\u9A8C\u5DF2\u8D85\u8FC7 1 \u5E74\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u5F52\u6863\u3002"),Me.createElement("div",{className:Fe.archiveTip},((ze=Ie.actionTabs.params)==null?void 0:ze.type)=="\u64CD\u4F5C"?"\u8BE5\u64CD\u4F5C":"\u67E5\u770B\u5386\u53F2\u5F52\u6863\u6570\u636E","\u5C06\u6D88\u8017",Me.createElement("span",{style:{color:"#FA6400"}}," 1 "),"\u6B21\u67E5\u770B\u989D\u5EA6\uFF08\u5F53\u5929 24 \u70B9\u4E4B\u524D\u91CD\u590D",((pt=Ie.actionTabs.params)==null?void 0:pt.type)=="\u64CD\u4F5C"?"\u64CD\u4F5C":"\u67E5\u770B","\u4E0D\u91CD\u590D\u6263\u51CF\uFF09\u3002"),Me.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px"}},"\u60A8\u5F53\u524D\u4E3A",Me.createElement("span",{style:{color:"#3061D0"}}," ",((Qe=(Ne=Ie.actionTabs.params)==null?void 0:Ne.roleInfo)==null?void 0:Qe.version_type)==0?"\u57FA\u7840\u7248":((ot=(Ot=Ie.actionTabs.params)==null?void 0:Ot.roleInfo)==null?void 0:ot.version_type)==1?"\u6807\u51C6\u7248":((Bt=(lt=Ie.actionTabs.params)==null?void 0:lt.roleInfo)==null?void 0:Bt.version_type)==2?"\u4E13\u4E1A\u7248":"\u514D\u8D39\u7248","\u7528\u6237"),"\uFF0C\u6BCF\u5E74\u9ED8\u8BA4\u53EF\u67E5\u770B",Me.createElement("span",{style:{color:"#3061D0"}}," ",(ke=(We=Ie.actionTabs.params)==null?void 0:We.roleInfo)==null?void 0:ke.archive_view_year_count," "),"\u6B21\u5386\u53F2\u5F52\u6863\u6570\u636E\u3002"),Me.createElement("div",{className:Fe.archiveTip},"\u5269\u4F59\u53EF\u7528\uFF1A",Me.createElement("span",{style:{color:"#FA6400"}},(Kt=(At=Ie.actionTabs.params)==null?void 0:At.roleInfo)==null?void 0:Kt.surplus_archive_view_count," "),"\u6B21\u3002"),((Pt=[0,1])==null?void 0:Pt.includes((nt=(Ht=Ie.actionTabs.params)==null?void 0:Ht.roleInfo)==null?void 0:nt.version_type))&&Me.createElement("div",{className:Fe.archiveTip,style:{marginTop:"20px",color:"#3061D0"}},"\u5347\u7EA7\u7248\u672C\u53EF\u83B7\u5F97\u66F4\u591A\u67E5\u770B\u989D\u5EA6\u3002")))};var oe=(0,x.connect)(({loading:Pe,globalSetting:ye,shixunHomeworks:Re,user:Se})=>({globalSetting:ye,loading:Pe.effects,shixunHomeworks:Re,user:Se}))(xe)},6252:function(Xn,Mt,ae){"use strict";ae.d(Mt,{AD:function(){return Qe},BA:function(){return ie},D9:function(){return At},Hp:function(){return Je},IM:function(){return Ht},Iy:function(){return st},KM:function(){return ge},KU:function(){return hn},MJ:function(){return Ve},Ne:function(){return Kt},ON:function(){return mn},Uj:function(){return an},VY:function(){return Rt},YO:function(){return Fn},YX:function(){return kt},Zn:function(){return Ie},_g:function(){return Ke},_k:function(){return We},c6:function(){return pt},cr:function(){return ve},eV:function(){return Ne},fi:function(){return we},gh:function(){return Ct},hS:function(){return nt},iA:function(){return Ee},j6:function(){return je},je:function(){return lt},jj:function(){return _e},kS:function(){return Tt},lS:function(){return Bt},o6:function(){return ze},pO:function(){return de},rQ:function(){return Ot},sA:function(){return ht},xm:function(){return ke},xo:function(){return Pt},y8:function(){return ot},yd:function(){return Oe}});var x=ae(77996),dt=ae(44283),Le=ae(76406),qe=ae(6767),He=ae(14185),Fe=Object.defineProperty,Me=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,oe=(ee,se,le)=>se in ee?Fe(ee,se,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[se]=le,Pe=(ee,se)=>{for(var le in se||(se={}))fe.call(se,le)&&oe(ee,le,se[le]);if(Me)for(var le of Me(se))xe.call(se,le)&&oe(ee,le,se[le]);return ee},ye=(ee,se,le)=>new Promise((Be,Ge)=>{var ut=St=>{try{vt(le.next(St))}catch(Dt){Ge(Dt)}},mt=St=>{try{vt(le.throw(St))}catch(Dt){Ge(Dt)}},vt=St=>St.done?Be(St.value):Promise.resolve(St.value).then(ut,mt);vt((le=le.apply(ee,se)).next())});const Re=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},Se=()=>{(0,dt.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},Ie=ee=>ye(void 0,null,function*(){Re(),(yield(0,x.YR)(Pe({},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}))),Se()}),ve=ee=>ye(void 0,null,function*(){const se=yield(0,x.yS)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`);else{if(se.status===-2)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_member_act_score`))}}),we=ee=>ye(void 0,null,function*(){const se=yield(0,x.W0)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_score`))}}),Ee=ee=>ye(void 0,null,function*(){const se=yield(0,x.Nl)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`))}}),Oe=ee=>ye(void 0,null,function*(){const se=yield(0,x.IU)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/export_star_user`))}}),Ke=ee=>ye(void 0,null,function*(){const se=yield(0,x.td)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-2)return se;if(se.status===-3)(0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_exercise_and_other`);else if(se.status===-4)return se}}),je=ee=>ye(void 0,null,function*(){const se=yield(0,x.QX)(Pe({},ee));if(se.status===0)qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`);else{if(se.status===-4)return se;se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/course_total_homework`))}}),_e=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.o_)(Pe({},ee));le.status===0?(qe.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"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Je=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.ZL)(Pe({},ee));le.status===0?(qe.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"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),Ve=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.vV)(Pe({},ee));le.status===0?(qe.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"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),st=(ee,se)=>ye(void 0,null,function*(){const le=yield(0,x.aP)(Pe({},ee));le.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`)):le.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/${se}`))}),at=ee=>ye(void 0,null,function*(){Re(),(yield exportCourseWorkListAppendix(Pe({},ee))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${ee.categoryId}/works_list.zip`,query:ee}))),Se()}),ht=ee=>ye(void 0,null,function*(){Re(),yield(0,Le.FH)("",He.Z.API_SERVER+`/api/polls/${ee.categoryId}/commit_result.xlsx`),Se()}),Ct=ee=>ye(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}))}),ze=ee=>ye(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}))}),pt=ee=>ye(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=>ye(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}))}),Qe=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/school_manages/students.xlsx",query:ee}))}),Ot=ee=>ye(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=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:ee}))}),lt=ee=>ye(void 0,null,function*(){const se=yield(0,x.Uy)(Pe({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Bt=ee=>ye(void 0,null,function*(){const se=yield(0,x.tg)(Pe({},ee));se.status===0?(qe.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`)):se.status===-3&&((0,dt.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),dt.history.push(`/classrooms/${ee.coursesId}/exportlist/exercise_score,export_exercise_report`))}),We=ee=>ye(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}))}),ke=ee=>ye(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=>ye(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(se=>`course_group_id[]=${se}`).join("&")}`,query:ee}))}),Kt=ee=>ye(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}))}),Ht=ee=>ye(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}))}),nt=ee=>ye(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}))}),Pt=ee=>ye(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}))}),Rt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:ee}))}),hn=ee=>ye(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}))}),Tt=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:ee}))}),mn=ee=>ye(void 0,null,function*(){yield(0,Le.FH)("",(0,Le.NY)({url:He.Z.API_SERVER+`/api/examination_banks/${ee.id}.json`,query:ee}))}),kt=ee=>ye(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=>ye(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}))}),an=ee=>ye(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,se)=>ye(void 0,null,function*(){yield(0,Le.FH)(se||"",(0,Le.NY)({url:He.Z.API_SERVER+`/api/exercises/${ee==null?void 0:ee.exercise_id}/consult_exercise.json`,query:ee}))}),ge=ee=>ye(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=>ye(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}))})},63392:function(Xn,Mt,ae){"use strict";ae.d(Mt,{U:function(){return xe}});var x=ae(59301),dt=Object.defineProperty,Le=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Fe=(oe,Pe,ye)=>Pe in oe?dt(oe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):oe[Pe]=ye,Me=(oe,Pe)=>{for(var ye in Pe||(Pe={}))qe.call(Pe,ye)&&Fe(oe,ye,Pe[ye]);if(Le)for(var ye of Le(Pe))He.call(Pe,ye)&&Fe(oe,ye,Pe[ye]);return oe},fe=(oe,Pe,ye)=>new Promise((Re,Se)=>{var Ie=Ee=>{try{we(ye.next(Ee))}catch(Oe){Se(Oe)}},ve=Ee=>{try{we(ye.throw(Ee))}catch(Oe){Se(Oe)}},we=Ee=>Ee.done?Re(Ee.value):Promise.resolve(Ee.value).then(Ie,ve);we((ye=ye.apply(oe,Pe)).next())});function xe(oe,Pe){const[ye,Re]=(0,x.useState)(Pe),[Se,Ie]=(0,x.useState)(!1),[ve,we]=(0,x.useState)();return[ye,Se,(Oe,Ke=!1)=>fe(this,null,function*(){const je=Ke?Pe:Me(Me({},ye),Oe);Ie(!0),Re(je);const _e=yield oe(je);return Ie(!1),we(_e),_e}),ve,we]}},20047:function(Xn,Mt,ae){"use strict";ae.d(Mt,{AL:function(){return je},Iy:function(){return Pe},Qv:function(){return Se},ez:function(){return Ke},jb:function(){return ye}});var x=ae(32834),dt=ae.n(x),Le=ae(11690),qe=ae.n(Le);let He=1;function Fe(at,ht){const Ct=at.match(/^(\s+)(?:```)/);if(Ct===null)return ht;const ze=Ct[1];return ht.split(`
`).map(pt=>{const Ne=pt.match(/^\s+/);if(Ne===null)return pt;const[Qe]=Ne;return Qe.length>=ze.length?pt.slice(ze.length):pt}).join(`
`)}let Me=[],fe=["<ul>"];const xe=new(dt()).Renderer,oe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Pe(){Me.length=0,fe=["<ul>"]}const ye={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Re(at,ht,Ct,ze){if(ht>=at.length||at[ht].level<=Ct)return ht;var pt=at[ht];ze.push("<li><a href='#"+He+pt.anchor+"'>"+pt.text+"</a>"),ht++;var Ne=[];return ht=Re(at,ht,pt.level,Ne),Ne.length>0&&(ze.push("<ul>"),Ne.forEach(function(Qe){ze.push(Qe)}),ze.push("</ul>")),ze.push("</li>"),ht=Re(at,ht,Ct,ze),ht}function Se(){return Re(Me,0,0,fe),fe.push("</ul>"),fe.join("")}const Ie={heading(at){const ht=oe.exec(at);if(He+=1,ht)return{type:"heading",raw:ht[0],depth:ht[1].length,text:ht[2]}},fences(at){const ht=this.rules.block.fences.exec(at);if(ht){const Ct=ht[0];let ze=Fe(Ct,ht[3]||"");const pt=ht[2]?ht[2].trim():ht[2];if(["latex","katex","math"].indexOf(pt)>=0){const Ne=Ee(),Qe=ze;ze=Ne,Oe[Ne]={type:"block",expression:Qe}}return{type:"code",raw:Ct,lang:pt,text:ze}}}},ve=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let we=0;const Ee=()=>`__special_katext_id_${we++}__`;let Oe={};function Ke(){return Oe}function je(){we=0,Oe={}}function _e(at){return at=at.replace(ve,(ht,Ct)=>{const ze=Ee();return Oe[ze]={type:"inline",expression:Ct},ze}),at}const Je=xe.listitem;xe.listitem=function(at){return Je(_e(at))};const Ve=xe.paragraph;xe.paragraph=function(at){return Ve(_e(at))};const st=xe.tablecell;xe.tablecell=function(at,ht){return st(_e(at),ht)},xe.code=function(at,ht,Ct){const ze=(ht||"").match(/\S*/)[0];return ze?["latex","katex","math"].indexOf(ze)>=0?`<p class='editormd-tex'>${at}</p>`:`<pre class="prettyprint linenums"><code class="language-${ht}">${Ct?at:(0,Le.escape)(at,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(Ct?at:(0,Le.escape)(at,!0))+"</code></pre>"},xe.heading=function(at,ht,Ct){let ze=this.options.headerPrefix+Ct.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Me.push({anchor:ze,level:ht,text:at}),"<h"+ht+' id="'+He+ze+'">'+at+"</h"+ht+">"},dt().setOptions({silent:!0,gfm:!0,pedantic:!1}),dt().use({tokenizer:Ie,renderer:xe}),Mt.ZP=dt()},9981:function(Xn,Mt){"use strict";const ae=function(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let dt=1;dt<arguments.length;dt++){const Le=dt<0||arguments.length<=dt?void 0:arguments[dt];Le&&Object.keys(Le).forEach(qe=>{const He=Le[qe];He!==void 0&&(x[qe]=He)})}return x};Mt.Z=ae},86013:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(19248);const Le=qe=>{let He;return typeof qe=="object"&&(qe!=null&&qe.clearIcon)?He=qe:qe&&(He={clearIcon:x.createElement(dt.Z,null)}),He};Mt.Z=Le},97224:function(Xn,Mt,ae){"use strict";ae.d(Mt,{F:function(){return x}});function x(Le){return Le!=null&&Le===Le.window}const dt=Le=>{var qe,He;if(typeof window=="undefined")return 0;let Fe=0;return x(Le)?Fe=Le.pageYOffset:Le instanceof Document?Fe=Le.documentElement.scrollTop:(Le instanceof HTMLElement||Le)&&(Fe=Le.scrollTop),Le&&!x(Le)&&typeof Fe!="number"&&(Fe=(He=((qe=Le.ownerDocument)!==null&&qe!==void 0?qe:Le).documentElement)===null||He===void 0?void 0:He.scrollTop),Fe};Mt.Z=dt},83010:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return qe}});var x=ae(16089);function dt(He,Fe,Me,fe){const xe=Me-Fe;return He/=fe/2,He<1?xe/2*He*He*He+Fe:xe/2*((He-=2)*He*He+2)+Fe}var Le=ae(97224);function qe(He){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Me=()=>window,callback:fe,duration:xe=450}=Fe,oe=Me(),Pe=(0,Le.Z)(oe),ye=Date.now(),Re=()=>{const Ie=Date.now()-ye,ve=dt(Ie>xe?xe:Ie,Pe,He,xe);(0,Le.F)(oe)?oe.scrollTo(window.pageXOffset,ve):oe instanceof Document||oe.constructor.name==="HTMLDocument"?oe.documentElement.scrollTop=ve:oe.scrollTop=ve,Ie<xe?(0,x.Z)(Re):typeof fe=="function"&&fe()};(0,x.Z)(Re)}},91882:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return ot}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(11592),He=ae(26112),Fe=ae(22703),Me=ae(48755),fe=ae(84105),xe=ae(19563);const oe=lt=>{let{children:Bt}=lt;const{getPrefixCls:We}=x.useContext(Me.E_),ke=We("breadcrumb");return x.createElement("li",{className:`${ke}-separator`,"aria-hidden":"true"},Bt===""?Bt:Bt||"/")};oe.__ANT_BREADCRUMB_SEPARATOR=!0;var Pe=oe,ye=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);At<ke.length;At++)Bt.indexOf(ke[At])<0&&Object.prototype.propertyIsEnumerable.call(lt,ke[At])&&(We[ke[At]]=lt[ke[At]]);return We};function Re(lt,Bt){if(lt.title===void 0||lt.title===null)return null;const We=Object.keys(Bt).join("|");return typeof lt.title=="object"?lt.title:String(lt.title).replace(new RegExp(`:(${We})`,"g"),(ke,At)=>Bt[At]||ke)}function Se(lt,Bt,We,ke){if(We==null)return null;const{className:At,onClick:Kt}=Bt,Ht=ye(Bt,["className","onClick"]),nt=Object.assign(Object.assign({},(0,He.Z)(Ht,{data:!0,aria:!0})),{onClick:Kt});return ke!==void 0?x.createElement("a",Object.assign({},nt,{className:Le()(`${lt}-link`,At),href:ke}),We):x.createElement("span",Object.assign({},nt,{className:Le()(`${lt}-link`,At)}),We)}function Ie(lt,Bt){return(ke,At,Kt,Ht,nt)=>{if(Bt)return Bt(ke,At,Kt,Ht);const Pt=Re(ke,At);return Se(lt,ke,Pt,nt)}}var ve=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);At<ke.length;At++)Bt.indexOf(ke[At])<0&&Object.prototype.propertyIsEnumerable.call(lt,ke[At])&&(We[ke[At]]=lt[ke[At]]);return We};const we=lt=>{const{prefixCls:Bt,separator:We="/",children:ke,menu:At,overlay:Kt,dropdownProps:Ht,href:nt}=lt,Rt=(hn=>{if(At||Kt){const Tt=Object.assign({},Ht);if(At){const mn=At||{},{items:kt}=mn,Fn=ve(mn,["items"]);Tt.menu=Object.assign(Object.assign({},Fn),{items:kt==null?void 0:kt.map((an,de)=>{var{key:ge,title:ie,label:ee,path:se}=an,le=ve(an,["key","title","label","path"]);let Be=ee!=null?ee:ie;return se&&(Be=x.createElement("a",{href:`${nt}${se}`},Be)),Object.assign(Object.assign({},le),{key:ge!=null?ge:de,label:Be})})})}else Kt&&(Tt.overlay=Kt);return x.createElement(xe.Z,Object.assign({placement:"bottom"},Tt),x.createElement("span",{className:`${Bt}-overlay-link`},hn,x.createElement(fe.Z,null)))}return hn})(ke);return Rt!=null?x.createElement(x.Fragment,null,x.createElement("li",null,Rt),We&&x.createElement(Pe,null,We)):null},Ee=lt=>{const{prefixCls:Bt,children:We,href:ke}=lt,At=ve(lt,["prefixCls","children","href"]),{getPrefixCls:Kt}=x.useContext(Me.E_),Ht=Kt("breadcrumb",Bt);return x.createElement(we,Object.assign({},At,{prefixCls:Ht}),Se(Ht,At,We,ke))};Ee.__ANT_BREADCRUMB_ITEM=!0;var Oe=Ee,Ke=ae(36237),je=ae(63356),_e=ae(16931),Je=ae(51636);const Ve=lt=>{const{componentCls:Bt,iconCls:We,calc:ke}=lt;return{[Bt]:Object.assign(Object.assign({},(0,je.Wf)(lt)),{color:lt.itemColor,fontSize:lt.fontSize,[We]:{fontSize:lt.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:lt.linkColor,transition:`color ${lt.motionDurationMid}`,padding:`0 ${(0,Ke.unit)(lt.paddingXXS)}`,borderRadius:lt.borderRadiusSM,height:lt.fontHeight,display:"inline-block",marginInline:ke(lt.marginXXS).mul(-1).equal(),"&:hover":{color:lt.linkHoverColor,backgroundColor:lt.colorBgTextHover}},(0,je.Qy)(lt)),"li:last-child":{color:lt.lastItemColor},[`${Bt}-separator`]:{marginInline:lt.separatorMargin,color:lt.separatorColor},[`${Bt}-link`]:{[`
> ${We} + span,
> ${We} + a
`]:{marginInlineStart:lt.marginXXS}},[`${Bt}-overlay-link`]:{borderRadius:lt.borderRadiusSM,height:lt.fontHeight,display:"inline-block",padding:`0 ${(0,Ke.unit)(lt.paddingXXS)}`,marginInline:ke(lt.marginXXS).mul(-1).equal(),[`> ${We}`]:{marginInlineStart:lt.marginXXS,fontSize:lt.fontSizeIcon},"&:hover":{color:lt.linkHoverColor,backgroundColor:lt.colorBgTextHover,a:{color:lt.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${lt.componentCls}-rtl`]:{direction:"rtl"}})}},st=lt=>({itemColor:lt.colorTextDescription,lastItemColor:lt.colorText,iconFontSize:lt.fontSize,linkColor:lt.colorTextDescription,linkHoverColor:lt.colorText,separatorColor:lt.colorTextDescription,separatorMargin:lt.marginXS});var at=(0,_e.I$)("Breadcrumb",lt=>{const Bt=(0,Je.mergeToken)(lt,{});return Ve(Bt)},st),ht=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);At<ke.length;At++)Bt.indexOf(ke[At])<0&&Object.prototype.propertyIsEnumerable.call(lt,ke[At])&&(We[ke[At]]=lt[ke[At]]);return We};function Ct(lt){const{breadcrumbName:Bt,children:We}=lt,ke=ht(lt,["breadcrumbName","children"]),At=Object.assign({title:Bt},ke);return We&&(At.menu={items:We.map(Kt=>{var{breadcrumbName:Ht}=Kt,nt=ht(Kt,["breadcrumbName"]);return Object.assign(Object.assign({},nt),{title:Ht})})}),At}function ze(lt,Bt){return(0,x.useMemo)(()=>lt||(Bt?Bt.map(Ct):null),[lt,Bt])}var pt=function(lt,Bt){var We={};for(var ke in lt)Object.prototype.hasOwnProperty.call(lt,ke)&&Bt.indexOf(ke)<0&&(We[ke]=lt[ke]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ke=Object.getOwnPropertySymbols(lt);At<ke.length;At++)Bt.indexOf(ke[At])<0&&Object.prototype.propertyIsEnumerable.call(lt,ke[At])&&(We[ke[At]]=lt[ke[At]]);return We};const Ne=(lt,Bt)=>{if(Bt===void 0)return Bt;let We=(Bt||"").replace(/^\//,"");return Object.keys(lt).forEach(ke=>{We=We.replace(`:${ke}`,lt[ke])}),We},Qe=lt=>{const{prefixCls:Bt,separator:We="/",style:ke,className:At,rootClassName:Kt,routes:Ht,items:nt,children:Pt,itemRender:Rt,params:hn={}}=lt,Tt=pt(lt,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:mn,direction:kt,breadcrumb:Fn}=x.useContext(Me.E_);let an;const de=mn("breadcrumb",Bt),[ge,ie,ee]=at(de),se=ze(nt,Ht),le=Ie(de,Rt);if(se&&se.length>0){const ut=[],mt=nt||Ht;an=se.map((vt,St)=>{const{path:Dt,key:Qt,type:xt,menu:ct,overlay:Xt,onClick:Wt,className:wn,separator:ln,dropdownProps:nn}=vt,zn=Ne(hn,Dt);zn!==void 0&&ut.push(zn);const Ln=Qt!=null?Qt:St;if(xt==="separator")return x.createElement(Pe,{key:Ln},ln);const _t={},un=St===se.length-1;ct?_t.menu=ct:Xt&&(_t.overlay=Xt);let{href:Pn}=vt;return ut.length&&zn!==void 0&&(Pn=`#/${ut.join("/")}`),x.createElement(we,Object.assign({key:Ln},_t,(0,He.Z)(vt,{data:!0,aria:!0}),{className:wn,dropdownProps:nn,href:Pn,separator:un?"":We,onClick:Wt,prefixCls:de}),le(vt,hn,mt,ut,Pn))})}else if(Pt){const ut=(0,qe.Z)(Pt).length;an=(0,qe.Z)(Pt).map((mt,vt)=>{if(!mt)return mt;const St=vt===ut-1;return(0,Fe.Tm)(mt,{separator:St?"":We,key:vt})})}const Be=Le()(de,Fn==null?void 0:Fn.className,{[`${de}-rtl`]:kt==="rtl"},At,Kt,ie,ee),Ge=Object.assign(Object.assign({},Fn==null?void 0:Fn.style),ke);return ge(x.createElement("nav",Object.assign({className:Be,style:Ge},Tt),x.createElement("ol",null,an)))};Qe.Item=Oe,Qe.Separator=Pe;var Ot=Qe,ot=Ot},62673:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return at}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(16632),He=ae(8654),Fe=ae(12919),Me=ae(63872),fe=ae(48755),xe=ae(2171),oe=ae(83397),Pe=ae(56553),Re=x.createContext(null),Se=ae(36170),Ie=ae(74632),ve=function(ht,Ct){var ze={};for(var pt in ht)Object.prototype.hasOwnProperty.call(ht,pt)&&Ct.indexOf(pt)<0&&(ze[pt]=ht[pt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,pt=Object.getOwnPropertySymbols(ht);Ne<pt.length;Ne++)Ct.indexOf(pt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ht,pt[Ne])&&(ze[pt[Ne]]=ht[pt[Ne]]);return ze};const we=(ht,Ct)=>{var ze;const{prefixCls:pt,className:Ne,rootClassName:Qe,children:Ot,indeterminate:ot=!1,style:lt,onMouseEnter:Bt,onMouseLeave:We,skipGroup:ke=!1,disabled:At}=ht,Kt=ve(ht,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ht,direction:nt,checkbox:Pt}=x.useContext(fe.E_),Rt=x.useContext(Re),{isFormItemInput:hn}=x.useContext(Pe.aM),Tt=x.useContext(xe.Z),mn=(ze=(Rt==null?void 0:Rt.disabled)||At)!==null&&ze!==void 0?ze:Tt,kt=x.useRef(Kt.value),Fn=x.useRef(null),an=(0,He.sQ)(Ct,Fn);x.useEffect(()=>{Rt==null||Rt.registerValue(Kt.value)},[]),x.useEffect(()=>{if(!ke)return Kt.value!==kt.current&&(Rt==null||Rt.cancelValue(kt.current),Rt==null||Rt.registerValue(Kt.value),kt.current=Kt.value),()=>Rt==null?void 0:Rt.cancelValue(Kt.value)},[Kt.value]),x.useEffect(()=>{var vt;!((vt=Fn.current)===null||vt===void 0)&&vt.input&&(Fn.current.input.indeterminate=ot)},[ot]);const de=Ht("checkbox",pt),ge=(0,oe.Z)(de),[ie,ee,se]=(0,Se.ZP)(de,ge),le=Object.assign({},Kt);Rt&&!ke&&(le.onChange=function(){Kt.onChange&&Kt.onChange.apply(Kt,arguments),Rt.toggleOption&&Rt.toggleOption({label:Ot,value:Kt.value})},le.name=Rt.name,le.checked=Rt.value.includes(Kt.value));const Be=Le()(`${de}-wrapper`,{[`${de}-rtl`]:nt==="rtl",[`${de}-wrapper-checked`]:le.checked,[`${de}-wrapper-disabled`]:mn,[`${de}-wrapper-in-form-item`]:hn},Pt==null?void 0:Pt.className,Ne,Qe,se,ge,ee),Ge=Le()({[`${de}-indeterminate`]:ot},Me.A,ee),[ut,mt]=(0,Ie.Z)(le.onClick);return ie(x.createElement(Fe.Z,{component:"Checkbox",disabled:mn},x.createElement("label",{className:Be,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),lt),onMouseEnter:Bt,onMouseLeave:We,onClick:ut},x.createElement(qe.Z,Object.assign({},le,{onClick:mt,prefixCls:de,className:Ge,disabled:mn,ref:an})),Ot!==void 0&&x.createElement("span",{className:`${de}-label`},Ot))))};var Oe=x.forwardRef(we),Ke=ae(77654),je=ae(2738),_e=function(ht,Ct){var ze={};for(var pt in ht)Object.prototype.hasOwnProperty.call(ht,pt)&&Ct.indexOf(pt)<0&&(ze[pt]=ht[pt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,pt=Object.getOwnPropertySymbols(ht);Ne<pt.length;Ne++)Ct.indexOf(pt[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ht,pt[Ne])&&(ze[pt[Ne]]=ht[pt[Ne]]);return ze},Ve=x.forwardRef((ht,Ct)=>{const{defaultValue:ze,children:pt,options:Ne=[],prefixCls:Qe,className:Ot,rootClassName:ot,style:lt,onChange:Bt}=ht,We=_e(ht,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ke,direction:At}=x.useContext(fe.E_),[Kt,Ht]=x.useState(We.value||ze||[]),[nt,Pt]=x.useState([]);x.useEffect(()=>{"value"in We&&Ht(We.value||[])},[We.value]);const Rt=x.useMemo(()=>Ne.map(Ge=>typeof Ge=="string"||typeof Ge=="number"?{label:Ge,value:Ge}:Ge),[Ne]),hn=Ge=>{Pt(ut=>ut.filter(mt=>mt!==Ge))},Tt=Ge=>{Pt(ut=>[].concat((0,Ke.Z)(ut),[Ge]))},mn=Ge=>{const ut=Kt.indexOf(Ge.value),mt=(0,Ke.Z)(Kt);ut===-1?mt.push(Ge.value):mt.splice(ut,1),"value"in We||Ht(mt),Bt==null||Bt(mt.filter(vt=>nt.includes(vt)).sort((vt,St)=>{const Dt=Rt.findIndex(xt=>xt.value===vt),Qt=Rt.findIndex(xt=>xt.value===St);return Dt-Qt}))},kt=ke("checkbox",Qe),Fn=`${kt}-group`,an=(0,oe.Z)(kt),[de,ge,ie]=(0,Se.ZP)(kt,an),ee=(0,je.Z)(We,["value","disabled"]),se=Ne.length?Rt.map(Ge=>x.createElement(Oe,{prefixCls:kt,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:We.disabled,value:Ge.value,checked:Kt.includes(Ge.value),onChange:Ge.onChange,className:`${Fn}-item`,style:Ge.style,title:Ge.title,id:Ge.id,required:Ge.required},Ge.label)):pt,le={toggleOption:mn,value:Kt,disabled:We.disabled,name:We.name,registerValue:Tt,cancelValue:hn},Be=Le()(Fn,{[`${Fn}-rtl`]:At==="rtl"},Ot,ot,ie,an,ge);return de(x.createElement("div",Object.assign({className:Be,style:lt},ee,{ref:Ct}),x.createElement(Re.Provider,{value:le},se)))});const st=Oe;st.Group=Ve,st.__ANT_CHECKBOX=!0;var at=st},36170:function(Xn,Mt,ae){"use strict";ae.d(Mt,{C2:function(){return Fe}});var x=ae(36237),dt=ae(63356),Le=ae(51636),qe=ae(16931);const He=Me=>{const{checkboxCls:fe}=Me,xe=`${fe}-wrapper`;return[{[`${fe}-group`]:Object.assign(Object.assign({},(0,dt.Wf)(Me)),{display:"inline-flex",flexWrap:"wrap",columnGap:Me.marginXS,[`> ${Me.antCls}-row`]:{flex:1}}),[xe]:Object.assign(Object.assign({},(0,dt.Wf)(Me)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[fe]:Object.assign(Object.assign({},(0,dt.Wf)(Me)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Me.borderRadiusSM,alignSelf:"center",[`${fe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${fe}-inner`]:Object.assign({},(0,dt.oN)(Me))},[`${fe}-inner`]:{boxSizing:"border-box",display:"block",width:Me.checkboxSize,height:Me.checkboxSize,direction:"ltr",backgroundColor:Me.colorBgContainer,border:`${(0,x.unit)(Me.lineWidth)} ${Me.lineType} ${Me.colorBorder}`,borderRadius:Me.borderRadiusSM,borderCollapse:"separate",transition:`all ${Me.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Me.calc(Me.checkboxSize).div(14).mul(5).equal(),height:Me.calc(Me.checkboxSize).div(14).mul(8).equal(),border:`${(0,x.unit)(Me.lineWidthBold)} solid ${Me.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Me.motionDurationFast} ${Me.motionEaseInBack}, opacity ${Me.motionDurationFast}`}},"& + span":{paddingInlineStart:Me.paddingXS,paddingInlineEnd:Me.paddingXS}})},{[`
${xe}:not(${xe}-disabled),
${fe}:not(${fe}-disabled)
`]:{[`&:hover ${fe}-inner`]:{borderColor:Me.colorPrimary}},[`${xe}:not(${xe}-disabled)`]:{[`&:hover ${fe}-checked:not(${fe}-disabled) ${fe}-inner`]:{backgroundColor:Me.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${fe}-checked:not(${fe}-disabled):after`]:{borderColor:Me.colorPrimaryHover}}},{[`${fe}-checked`]:{[`${fe}-inner`]:{backgroundColor:Me.colorPrimary,borderColor:Me.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Me.motionDurationMid} ${Me.motionEaseOutBack} ${Me.motionDurationFast}`}}},[`
${xe}-checked:not(${xe}-disabled),
${fe}-checked:not(${fe}-disabled)
`]:{[`&:hover ${fe}-inner`]:{backgroundColor:Me.colorPrimaryHover,borderColor:"transparent"}}},{[fe]:{"&-indeterminate":{[`${fe}-inner`]:{backgroundColor:`${Me.colorBgContainer} !important`,borderColor:`${Me.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Me.calc(Me.fontSizeLG).div(2).equal(),height:Me.calc(Me.fontSizeLG).div(2).equal(),backgroundColor:Me.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${fe}-inner`]:{backgroundColor:`${Me.colorBgContainer} !important`,borderColor:`${Me.colorPrimary} !important`}}}},{[`${xe}-disabled`]:{cursor:"not-allowed"},[`${fe}-disabled`]:{[`&, ${fe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${fe}-inner`]:{background:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,"&:after":{borderColor:Me.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Me.colorTextDisabled},[`&${fe}-indeterminate ${fe}-inner::after`]:{background:Me.colorTextDisabled}}}]};function Fe(Me,fe){const xe=(0,Le.mergeToken)(fe,{checkboxCls:`.${Me}`,checkboxSize:fe.controlInteractiveSize});return[He(xe)]}Mt.ZP=(0,qe.I$)("Checkbox",(Me,fe)=>{let{prefixCls:xe}=fe;return[Fe(xe,Me)]})},38406:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(48755),Le=ae(584);const qe=He=>{const{componentName:Fe}=He,{getPrefixCls:Me}=(0,x.useContext)(dt.E_),fe=Me("empty");switch(Fe){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)}};Mt.Z=qe},37285:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Se}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(48755),He=ae(36237),Fe=ae(63356),Me=ae(16931),fe=ae(51636);const xe=Ie=>{const{componentCls:ve,sizePaddingEdgeHorizontal:we,colorSplit:Ee,lineWidth:Oe,textPaddingInline:Ke,orientationMargin:je,verticalMarginInline:_e}=Ie;return{[ve]:Object.assign(Object.assign({},(0,Fe.Wf)(Ie)),{borderBlockStart:`${(0,He.unit)(Oe)} solid ${Ee}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:_e,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,He.unit)(Oe)} solid ${Ee}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,He.unit)(Ie.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${ve}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,He.unit)(Ie.dividerHorizontalWithTextGutterMargin)} 0`,color:Ie.colorTextHeading,fontWeight:500,fontSize:Ie.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ee}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,He.unit)(Oe)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ve}-with-text-start`]:{"&::before":{width:`calc(${je} * 100%)`},"&::after":{width:`calc(100% - ${je} * 100%)`}},[`&-horizontal${ve}-with-text-end`]:{"&::before":{width:`calc(100% - ${je} * 100%)`},"&::after":{width:`calc(${je} * 100%)`}},[`${ve}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ke},"&-dashed":{background:"none",borderColor:Ee,borderStyle:"dashed",borderWidth:`${(0,He.unit)(Oe)} 0 0`},[`&-horizontal${ve}-with-text${ve}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ve}-dashed`]:{borderInlineStartWidth:Oe,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Ee,borderStyle:"dotted",borderWidth:`${(0,He.unit)(Oe)} 0 0`},[`&-horizontal${ve}-with-text${ve}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${ve}-dotted`]:{borderInlineStartWidth:Oe,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ve}-with-text`]:{color:Ie.colorText,fontWeight:"normal",fontSize:Ie.fontSize},[`&-horizontal${ve}-with-text-start${ve}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ve}-inner-text`]:{paddingInlineStart:we}},[`&-horizontal${ve}-with-text-end${ve}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ve}-inner-text`]:{paddingInlineEnd:we}}})}},oe=Ie=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ie.marginXS});var Pe=(0,Me.I$)("Divider",Ie=>{const ve=(0,fe.mergeToken)(Ie,{dividerHorizontalWithTextGutterMargin:Ie.margin,dividerHorizontalGutterMargin:Ie.marginLG,sizePaddingEdgeHorizontal:0});return[xe(ve)]},oe,{unitless:{orientationMargin:!0}}),ye=function(Ie,ve){var we={};for(var Ee in Ie)Object.prototype.hasOwnProperty.call(Ie,Ee)&&ve.indexOf(Ee)<0&&(we[Ee]=Ie[Ee]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ee=Object.getOwnPropertySymbols(Ie);Oe<Ee.length;Oe++)ve.indexOf(Ee[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ee[Oe])&&(we[Ee[Oe]]=Ie[Ee[Oe]]);return we},Se=Ie=>{const{getPrefixCls:ve,direction:we,className:Ee,style:Oe}=(0,qe.dj)("divider"),{prefixCls:Ke,type:je="horizontal",orientation:_e="center",orientationMargin:Je,className:Ve,rootClassName:st,children:at,dashed:ht,variant:Ct="solid",plain:ze,style:pt}=Ie,Ne=ye(Ie,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),Qe=ve("divider",Ke),[Ot,ot,lt]=Pe(Qe),Bt=!!at,We=x.useMemo(()=>_e==="left"?we==="rtl"?"end":"start":_e==="right"?we==="rtl"?"start":"end":_e,[we,_e]),ke=We==="start"&&Je!=null,At=We==="end"&&Je!=null,Kt=Le()(Qe,Ee,ot,lt,`${Qe}-${je}`,{[`${Qe}-with-text`]:Bt,[`${Qe}-with-text-${We}`]:Bt,[`${Qe}-dashed`]:!!ht,[`${Qe}-${Ct}`]:Ct!=="solid",[`${Qe}-plain`]:!!ze,[`${Qe}-rtl`]:we==="rtl",[`${Qe}-no-default-orientation-margin-start`]:ke,[`${Qe}-no-default-orientation-margin-end`]:At},Ve,st),Ht=x.useMemo(()=>typeof Je=="number"?Je:/^\d+$/.test(Je)?Number(Je):Je,[Je]),nt={marginInlineStart:ke?Ht:void 0,marginInlineEnd:At?Ht:void 0};return Ot(x.createElement("div",Object.assign({className:Kt,style:Object.assign(Object.assign({},Oe),pt)},Ne,{role:"separator"}),at&&je!=="vertical"&&x.createElement("span",{className:`${Qe}-inner-text`,style:nt},at)))}},36207:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return ut}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(85899),He=ae(72190),Fe=ae(43403),Me=ae(34280),fe=x.createContext(null),xe=x.createContext({}),oe=fe,Pe=ae(18642),ye=ae(60499),Re=ae(77900),Se=ae(10228),Ie=ae(26112),ve=ae(42244),we=ae(8654),Ee=["prefixCls","className","containerRef"],Oe=function(vt){var St=vt.prefixCls,Dt=vt.className,Qt=vt.containerRef,xt=(0,ve.Z)(vt,Ee),ct=x.useContext(xe),Xt=ct.panel,Wt=(0,we.x1)(Xt,Qt);return x.createElement("div",(0,ye.Z)({className:Le()("".concat(St,"-content"),Dt),role:"dialog",ref:Wt},(0,Ie.Z)(vt,{aria:!0}),{"aria-modal":"true"},xt))},Ke=Oe,je=ae(48736);function _e(mt){return typeof mt=="string"&&String(Number(mt))===mt?((0,je.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(mt)):mt}function Je(mt){warning(!("wrapperClassName"in mt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!mt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ve={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function st(mt,vt){var St,Dt,Qt,xt=mt.prefixCls,ct=mt.open,Xt=mt.placement,Wt=mt.inline,wn=mt.push,ln=mt.forceRender,nn=mt.autoFocus,zn=mt.keyboard,Ln=mt.classNames,_t=mt.rootClassName,un=mt.rootStyle,Pn=mt.zIndex,Vn=mt.className,Lt=mt.id,Gt=mt.style,sn=mt.motion,bn=mt.width,Yn=mt.height,pr=mt.children,ti=mt.mask,si=mt.maskClosable,Cr=mt.maskMotion,ur=mt.maskClassName,dr=mt.maskStyle,yn=mt.afterOpenChange,$n=mt.onClose,rr=mt.onMouseEnter,Zn=mt.onMouseOver,br=mt.onMouseLeave,Br=mt.onClick,Or=mt.onKeyDown,ci=mt.onKeyUp,Ai=mt.styles,di=mt.drawerRender,Pi=x.useRef(),yi=x.useRef(),oo=x.useRef();x.useImperativeHandle(vt,function(){return Pi.current});var Gi=function(or){var er=or.keyCode,_r=or.shiftKey;switch(er){case Se.Z.TAB:{if(er===Se.Z.TAB){if(!_r&&document.activeElement===oo.current){var Ti;(Ti=yi.current)===null||Ti===void 0||Ti.focus({preventScroll:!0})}else if(_r&&document.activeElement===yi.current){var bi;(bi=oo.current)===null||bi===void 0||bi.focus({preventScroll:!0})}}break}case Se.Z.ESC:{$n&&zn&&(or.stopPropagation(),$n(or));break}}};x.useEffect(function(){if(ct&&nn){var nr;(nr=Pi.current)===null||nr===void 0||nr.focus({preventScroll:!0})}},[ct]);var ar=x.useState(!1),Dr=(0,He.Z)(ar,2),gi=Dr[0],ni=Dr[1],An=x.useContext(oe),Cn;typeof wn=="boolean"?Cn=wn?{}:{distance:0}:Cn=wn||{};var tt=(St=(Dt=(Qt=Cn)===null||Qt===void 0?void 0:Qt.distance)!==null&&Dt!==void 0?Dt:An==null?void 0:An.pushDistance)!==null&&St!==void 0?St:180,pn=x.useMemo(function(){return{pushDistance:tt,push:function(){ni(!0)},pull:function(){ni(!1)}}},[tt]);x.useEffect(function(){if(ct){var nr;An==null||(nr=An.push)===null||nr===void 0||nr.call(An)}else{var or;An==null||(or=An.pull)===null||or===void 0||or.call(An)}},[ct]),x.useEffect(function(){return function(){var nr;An==null||(nr=An.pull)===null||nr===void 0||nr.call(An)}},[]);var Zt=ti&&x.createElement(Re.default,(0,ye.Z)({key:"mask"},Cr,{visible:ct}),function(nr,or){var er=nr.className,_r=nr.style;return x.createElement("div",{className:Le()("".concat(xt,"-mask"),er,Ln==null?void 0:Ln.mask,ur),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},_r),dr),Ai==null?void 0:Ai.mask),onClick:si&&ct?$n:void 0,ref:or})}),vn=typeof sn=="function"?sn(Xt):sn,On={};if(gi&&tt)switch(Xt){case"top":On.transform="translateY(".concat(tt,"px)");break;case"bottom":On.transform="translateY(".concat(-tt,"px)");break;case"left":On.transform="translateX(".concat(tt,"px)");break;default:On.transform="translateX(".concat(-tt,"px)");break}Xt==="left"||Xt==="right"?On.width=_e(bn):On.height=_e(Yn);var Rr={onMouseEnter:rr,onMouseOver:Zn,onMouseLeave:br,onClick:Br,onKeyDown:Or,onKeyUp:ci},Xr=x.createElement(Re.default,(0,ye.Z)({key:"panel"},vn,{visible:ct,forceRender:ln,onVisibleChanged:function(or){yn==null||yn(or)},removeOnLeave:!1,leavedClassName:"".concat(xt,"-content-wrapper-hidden")}),function(nr,or){var er=nr.className,_r=nr.style,Ti=x.createElement(Ke,(0,ye.Z)({id:Lt,containerRef:or,prefixCls:xt,className:Le()(Vn,Ln==null?void 0:Ln.content),style:(0,qe.Z)((0,qe.Z)({},Gt),Ai==null?void 0:Ai.content)},(0,Ie.Z)(mt,{aria:!0}),Rr),pr);return x.createElement("div",(0,ye.Z)({className:Le()("".concat(xt,"-content-wrapper"),Ln==null?void 0:Ln.wrapper,er),style:(0,qe.Z)((0,qe.Z)((0,qe.Z)({},On),_r),Ai==null?void 0:Ai.wrapper)},(0,Ie.Z)(mt,{data:!0})),di?di(Ti):Ti)}),li=(0,qe.Z)({},un);return Pn&&(li.zIndex=Pn),x.createElement(oe.Provider,{value:pn},x.createElement("div",{className:Le()(xt,"".concat(xt,"-").concat(Xt),_t,(0,Pe.Z)((0,Pe.Z)({},"".concat(xt,"-open"),ct),"".concat(xt,"-inline"),Wt)),style:li,tabIndex:-1,ref:Pi,onKeyDown:Gi},Zt,x.createElement("div",{tabIndex:0,ref:yi,style:Ve,"aria-hidden":"true","data-sentinel":"start"}),Xr,x.createElement("div",{tabIndex:0,ref:oo,style:Ve,"aria-hidden":"true","data-sentinel":"end"})))}var at=x.forwardRef(st),ht=at,Ct=function(vt){var St=vt.open,Dt=St===void 0?!1:St,Qt=vt.prefixCls,xt=Qt===void 0?"rc-drawer":Qt,ct=vt.placement,Xt=ct===void 0?"right":ct,Wt=vt.autoFocus,wn=Wt===void 0?!0:Wt,ln=vt.keyboard,nn=ln===void 0?!0:ln,zn=vt.width,Ln=zn===void 0?378:zn,_t=vt.mask,un=_t===void 0?!0:_t,Pn=vt.maskClosable,Vn=Pn===void 0?!0:Pn,Lt=vt.getContainer,Gt=vt.forceRender,sn=vt.afterOpenChange,bn=vt.destroyOnClose,Yn=vt.onMouseEnter,pr=vt.onMouseOver,ti=vt.onMouseLeave,si=vt.onClick,Cr=vt.onKeyDown,ur=vt.onKeyUp,dr=vt.panelRef,yn=x.useState(!1),$n=(0,He.Z)(yn,2),rr=$n[0],Zn=$n[1],br=x.useState(!1),Br=(0,He.Z)(br,2),Or=Br[0],ci=Br[1];(0,Me.Z)(function(){ci(!0)},[]);var Ai=Or?Dt:!1,di=x.useRef(),Pi=x.useRef();(0,Me.Z)(function(){Ai&&(Pi.current=document.activeElement)},[Ai]);var yi=function(gi){var ni;if(Zn(gi),sn==null||sn(gi),!gi&&Pi.current&&!((ni=di.current)!==null&&ni!==void 0&&ni.contains(Pi.current))){var An;(An=Pi.current)===null||An===void 0||An.focus({preventScroll:!0})}},oo=x.useMemo(function(){return{panel:dr}},[dr]);if(!Gt&&!rr&&!Ai&&bn)return null;var Gi={onMouseEnter:Yn,onMouseOver:pr,onMouseLeave:ti,onClick:si,onKeyDown:Cr,onKeyUp:ur},ar=(0,qe.Z)((0,qe.Z)({},vt),{},{open:Ai,prefixCls:xt,placement:Xt,autoFocus:wn,keyboard:nn,width:Ln,mask:un,maskClosable:Vn,inline:Lt===!1,afterOpenChange:yi,ref:di},Gi);return x.createElement(xe.Provider,{value:oo},x.createElement(Fe.Z,{open:Ai||Gt||rr,autoDestroy:!1,getContainer:Lt,autoLock:un&&(Ai||rr)},x.createElement(ht,ar)))},ze=Ct,pt=ze,Ne=ae(62487),Qe=ae(75030),Ot=ae(86641),ot=ae(55743),lt=ae(48755),Bt=ae(91190),We=ae(78776),ke=ae(458),Kt=mt=>{var vt,St;const{prefixCls:Dt,title:Qt,footer:xt,extra:ct,loading:Xt,onClose:Wt,headerStyle:wn,bodyStyle:ln,footerStyle:nn,children:zn,classNames:Ln,styles:_t}=mt,un=(0,lt.dj)("drawer"),Pn=x.useCallback(bn=>x.createElement("button",{type:"button",onClick:Wt,"aria-label":"Close",className:`${Dt}-close`},bn),[Wt]),[Vn,Lt]=(0,We.Z)((0,We.w)(mt),(0,We.w)(un),{closable:!0,closeIconRender:Pn}),Gt=x.useMemo(()=>{var bn,Yn;return!Qt&&!Vn?null:x.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(bn=un.styles)===null||bn===void 0?void 0:bn.header),wn),_t==null?void 0:_t.header),className:Le()(`${Dt}-header`,{[`${Dt}-header-close-only`]:Vn&&!Qt&&!ct},(Yn=un.classNames)===null||Yn===void 0?void 0:Yn.header,Ln==null?void 0:Ln.header)},x.createElement("div",{className:`${Dt}-header-title`},Lt,Qt&&x.createElement("div",{className:`${Dt}-title`},Qt)),ct&&x.createElement("div",{className:`${Dt}-extra`},ct))},[Vn,Lt,ct,wn,Dt,Qt]),sn=x.useMemo(()=>{var bn,Yn;if(!xt)return null;const pr=`${Dt}-footer`;return x.createElement("div",{className:Le()(pr,(bn=un.classNames)===null||bn===void 0?void 0:bn.footer,Ln==null?void 0:Ln.footer),style:Object.assign(Object.assign(Object.assign({},(Yn=un.styles)===null||Yn===void 0?void 0:Yn.footer),nn),_t==null?void 0:_t.footer)},xt)},[xt,nn,Dt]);return x.createElement(x.Fragment,null,Gt,x.createElement("div",{className:Le()(`${Dt}-body`,Ln==null?void 0:Ln.body,(vt=un.classNames)===null||vt===void 0?void 0:vt.body),style:Object.assign(Object.assign(Object.assign({},(St=un.styles)===null||St===void 0?void 0:St.body),ln),_t==null?void 0:_t.body)},Xt?x.createElement(ke.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Dt}-body-skeleton`}):zn),sn)},Ht=ae(36237),nt=ae(63356),Pt=ae(16931),Rt=ae(51636);const hn=mt=>{const vt="100%";return{left:`translateX(-${vt})`,right:`translateX(${vt})`,top:`translateY(-${vt})`,bottom:`translateY(${vt})`}[mt]},Tt=(mt,vt)=>({"&-enter, &-appear":Object.assign(Object.assign({},mt),{"&-active":vt}),"&-leave":Object.assign(Object.assign({},vt),{"&-active":mt})}),mn=(mt,vt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${vt}`}}},Tt({opacity:mt},{opacity:1})),kt=(mt,vt)=>[mn(.7,vt),Tt({transform:hn(mt)},{transform:"none"})];var an=mt=>{const{componentCls:vt,motionDurationSlow:St}=mt;return{[vt]:{[`${vt}-mask-motion`]:mn(0,St),[`${vt}-panel-motion`]:["left","right","top","bottom"].reduce((Dt,Qt)=>Object.assign(Object.assign({},Dt),{[`&-${Qt}`]:kt(Qt,St)}),{})}}};const de=mt=>{const{borderRadiusSM:vt,componentCls:St,zIndexPopup:Dt,colorBgMask:Qt,colorBgElevated:xt,motionDurationSlow:ct,motionDurationMid:Xt,paddingXS:Wt,padding:wn,paddingLG:ln,fontSizeLG:nn,lineHeightLG:zn,lineWidth:Ln,lineType:_t,colorSplit:un,marginXS:Pn,colorIcon:Vn,colorIconHover:Lt,colorBgTextHover:Gt,colorBgTextActive:sn,colorText:bn,fontWeightStrong:Yn,footerPaddingBlock:pr,footerPaddingInline:ti,calc:si}=mt,Cr=`${St}-content-wrapper`;return{[St]:{position:"fixed",inset:0,zIndex:Dt,pointerEvents:"none",color:bn,"&-pure":{position:"relative",background:xt,display:"flex",flexDirection:"column",[`&${St}-left`]:{boxShadow:mt.boxShadowDrawerLeft},[`&${St}-right`]:{boxShadow:mt.boxShadowDrawerRight},[`&${St}-top`]:{boxShadow:mt.boxShadowDrawerUp},[`&${St}-bottom`]:{boxShadow:mt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${St}-mask`]:{position:"absolute",inset:0,zIndex:Dt,background:Qt,pointerEvents:"auto"},[Cr]:{position:"absolute",zIndex:Dt,maxWidth:"100vw",transition:`all ${ct}`,"&-hidden":{display:"none"}},[`&-left > ${Cr}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:mt.boxShadowDrawerLeft},[`&-right > ${Cr}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:mt.boxShadowDrawerRight},[`&-top > ${Cr}`]:{top:0,insetInline:0,boxShadow:mt.boxShadowDrawerUp},[`&-bottom > ${Cr}`]:{bottom:0,insetInline:0,boxShadow:mt.boxShadowDrawerDown},[`${St}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:xt,pointerEvents:"auto"},[`${St}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Ht.unit)(wn)} ${(0,Ht.unit)(ln)}`,fontSize:nn,lineHeight:zn,borderBottom:`${(0,Ht.unit)(Ln)} ${_t} ${un}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${St}-extra`]:{flex:"none"},[`${St}-close`]:Object.assign({display:"inline-flex",width:si(nn).add(Wt).equal(),height:si(nn).add(Wt).equal(),borderRadius:vt,justifyContent:"center",alignItems:"center",marginInlineEnd:Pn,color:Vn,fontWeight:Yn,fontSize:nn,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Xt}`,textRendering:"auto","&:hover":{color:Lt,backgroundColor:Gt,textDecoration:"none"},"&:active":{backgroundColor:sn}},(0,nt.Qy)(mt)),[`${St}-title`]:{flex:1,margin:0,fontWeight:mt.fontWeightStrong,fontSize:nn,lineHeight:zn},[`${St}-body`]:{flex:1,minWidth:0,minHeight:0,padding:ln,overflow:"auto",[`${St}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${St}-footer`]:{flexShrink:0,padding:`${(0,Ht.unit)(pr)} ${(0,Ht.unit)(ti)}`,borderTop:`${(0,Ht.unit)(Ln)} ${_t} ${un}`},"&-rtl":{direction:"rtl"}}}},ge=mt=>({zIndexPopup:mt.zIndexPopupBase,footerPaddingBlock:mt.paddingXS,footerPaddingInline:mt.padding});var ie=(0,Pt.I$)("Drawer",mt=>{const vt=(0,Rt.mergeToken)(mt,{});return[de(vt),an(vt)]},ge),ee=function(mt,vt){var St={};for(var Dt in mt)Object.prototype.hasOwnProperty.call(mt,Dt)&&vt.indexOf(Dt)<0&&(St[Dt]=mt[Dt]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Dt=Object.getOwnPropertySymbols(mt);Qt<Dt.length;Qt++)vt.indexOf(Dt[Qt])<0&&Object.prototype.propertyIsEnumerable.call(mt,Dt[Qt])&&(St[Dt[Qt]]=mt[Dt[Qt]]);return St};const se=null,le={distance:180},Be=mt=>{var vt;const{rootClassName:St,width:Dt,height:Qt,size:xt="default",mask:ct=!0,push:Xt=le,open:Wt,afterOpenChange:wn,onClose:ln,prefixCls:nn,getContainer:zn,style:Ln,className:_t,visible:un,afterVisibleChange:Pn,maskStyle:Vn,drawerStyle:Lt,contentWrapperStyle:Gt}=mt,sn=ee(mt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:bn,getPrefixCls:Yn,direction:pr,className:ti,style:si,classNames:Cr,styles:ur}=(0,lt.dj)("drawer"),dr=Yn("drawer",nn),[yn,$n,rr]=ie(dr),Zn=zn===void 0&&bn?()=>bn(document.body):zn,br=Le()({"no-mask":!ct,[`${dr}-rtl`]:pr==="rtl"},St,$n,rr),Br=x.useMemo(()=>Dt!=null?Dt:xt==="large"?736:378,[Dt,xt]),Or=x.useMemo(()=>Qt!=null?Qt:xt==="large"?736:378,[Qt,xt]),ci={motionName:(0,Ot.m)(dr,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Ai=ar=>({motionName:(0,Ot.m)(dr,`panel-motion-${ar}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),di=(0,Bt.H)(),[Pi,yi]=(0,Qe.Cn)("Drawer",sn.zIndex),{classNames:oo={},styles:Gi={}}=sn;return yn(x.createElement(Ne.Z,{form:!0,space:!0},x.createElement(ot.Z.Provider,{value:yi},x.createElement(pt,Object.assign({prefixCls:dr,onClose:ln,maskMotion:ci,motion:Ai},sn,{classNames:{mask:Le()(oo.mask,Cr.mask),content:Le()(oo.content,Cr.content),wrapper:Le()(oo.wrapper,Cr.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Gi.mask),Vn),ur.mask),content:Object.assign(Object.assign(Object.assign({},Gi.content),Lt),ur.content),wrapper:Object.assign(Object.assign(Object.assign({},Gi.wrapper),Gt),ur.wrapper)},open:Wt!=null?Wt:un,mask:ct,push:Xt,width:Br,height:Or,style:Object.assign(Object.assign({},si),Ln),className:Le()(ti,_t),rootClassName:br,getContainer:Zn,afterOpenChange:wn!=null?wn:Pn,panelRef:di,zIndex:Pi}),x.createElement(Kt,Object.assign({prefixCls:dr},sn,{onClose:ln}))))))},Ge=mt=>{const{prefixCls:vt,style:St,className:Dt,placement:Qt="right"}=mt,xt=ee(mt,["prefixCls","style","className","placement"]),{getPrefixCls:ct}=x.useContext(lt.E_),Xt=ct("drawer",vt),[Wt,wn,ln]=ie(Xt),nn=Le()(Xt,`${Xt}-pure`,`${Xt}-${Qt}`,wn,ln,Dt);return Wt(x.createElement("div",{className:nn,style:St},x.createElement(Kt,Object.assign({prefixCls:Xt},xt))))};Be._InternalPanelDoNotUseOrYouWillBeFired=Ge;var ut=Be},19563:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ht}});var x=ae(59301),dt=ae(33853),Le=ae(38819),qe=ae(92310),He=ae.n(qe),Fe=ae(96478),Me=ae(6089),fe=ae(18929),xe=ae(2738),oe=ae(75030),ye=nt=>typeof nt!="object"&&typeof nt!="function"||nt===null,Re=ae(52838),Se=ae(45915),Ie=ae(22703),ve=ae(32383),we=ae(55743),Ee=ae(48755),Oe=ae(83397),Ke=ae(93041),je=ae(78857),_e=ae(57700),Je=ae(36237),Ve=ae(63356),st=ae(46e3),at=ae(93873),ht=ae(34925),Ct=ae(37645),ze=ae(36305),pt=ae(16931),Ne=ae(51636),Ot=nt=>{const{componentCls:Pt,menuCls:Rt,colorError:hn,colorTextLightSolid:Tt}=nt,mn=`${Rt}-item`;return{[`${Pt}, ${Pt}-menu-submenu`]:{[`${Rt} ${mn}`]:{[`&${mn}-danger:not(${mn}-disabled)`]:{color:hn,"&:hover":{color:Tt,backgroundColor:hn}}}}}};const ot=nt=>{const{componentCls:Pt,menuCls:Rt,zIndexPopup:hn,dropdownArrowDistance:Tt,sizePopupArrow:mn,antCls:kt,iconCls:Fn,motionDurationMid:an,paddingBlock:de,fontSize:ge,dropdownEdgeChildPadding:ie,colorTextDisabled:ee,fontSizeIcon:se,controlPaddingHorizontal:le,colorBgElevated:Be}=nt;return[{[Pt]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:hn,display:"block","&::before":{position:"absolute",insetBlock:nt.calc(mn).div(2).sub(Tt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${kt}-btn`]:{[`& > ${Fn}-down, & > ${kt}-btn-icon > ${Fn}-down`]:{fontSize:se}},[`${Pt}-wrap`]:{position:"relative",[`${kt}-btn > ${Fn}-down`]:{fontSize:se},[`${Fn}-down::before`]:{transition:`transform ${an}`}},[`${Pt}-wrap-open`]:{[`${Fn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottomLeft,
&${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottomLeft,
&${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottom,
&${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottom,
&${kt}-slide-down-enter${kt}-slide-down-enter-active${Pt}-placement-bottomRight,
&${kt}-slide-down-appear${kt}-slide-down-appear-active${Pt}-placement-bottomRight`]:{animationName:st.fJ},[`&${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-topLeft,
&${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-topLeft,
&${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-top,
&${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-top,
&${kt}-slide-up-enter${kt}-slide-up-enter-active${Pt}-placement-topRight,
&${kt}-slide-up-appear${kt}-slide-up-appear-active${Pt}-placement-topRight`]:{animationName:st.Qt},[`&${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottomLeft,
&${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottom,
&${kt}-slide-down-leave${kt}-slide-down-leave-active${Pt}-placement-bottomRight`]:{animationName:st.Uw},[`&${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-topLeft,
&${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-top,
&${kt}-slide-up-leave${kt}-slide-up-leave-active${Pt}-placement-topRight`]:{animationName:st.ly}}},(0,Ct.ZP)(nt,Be,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Pt} ${Rt}`]:{position:"relative",margin:0},[`${Rt}-submenu-popup`]:{position:"absolute",zIndex:hn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Pt}, ${Pt}-menu-submenu`]:Object.assign(Object.assign({},(0,Ve.Wf)(nt)),{[Rt]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Be,backgroundClip:"padding-box",borderRadius:nt.borderRadiusLG,outline:"none",boxShadow:nt.boxShadowSecondary},(0,Ve.Qy)(nt)),{"&:empty":{padding:0,boxShadow:"none"},[`${Rt}-item-group-title`]:{padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:nt.colorTextDescription,transition:`all ${an}`},[`${Rt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Rt}-item-icon`]:{minWidth:ge,marginInlineEnd:nt.marginXS,fontSize:nt.fontSizeSM},[`${Rt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${an}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Rt}-item-extra`]:{paddingInlineStart:nt.padding,marginInlineStart:"auto",fontSize:nt.fontSizeSM,color:nt.colorTextDescription}},[`${Rt}-item, ${Rt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Je.unit)(de)} ${(0,Je.unit)(le)}`,color:nt.colorText,fontWeight:"normal",fontSize:ge,lineHeight:nt.lineHeight,cursor:"pointer",transition:`all ${an}`,borderRadius:nt.borderRadiusSM,"&:hover, &-active":{backgroundColor:nt.controlItemBgHover}},(0,Ve.Qy)(nt)),{"&-selected":{color:nt.colorPrimary,backgroundColor:nt.controlItemBgActive,"&:hover, &-active":{backgroundColor:nt.controlItemBgActiveHover}},"&-disabled":{color:ee,cursor:"not-allowed","&:hover":{color:ee,backgroundColor:Be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Je.unit)(nt.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:nt.colorSplit},[`${Pt}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:nt.paddingXS,[`${Pt}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:nt.colorTextDescription,fontSize:se,fontStyle:"normal"}}}),[`${Rt}-item-group-list`]:{margin:`0 ${(0,Je.unit)(nt.marginXS)}`,padding:0,listStyle:"none"},[`${Rt}-submenu-title`]:{paddingInlineEnd:nt.calc(le).add(nt.fontSizeSM).equal()},[`${Rt}-submenu-vertical`]:{position:"relative"},[`${Rt}-submenu${Rt}-submenu-disabled ${Pt}-menu-submenu-title`]:{[`&, ${Pt}-menu-submenu-arrow-icon`]:{color:ee,backgroundColor:Be,cursor:"not-allowed"}},[`${Rt}-submenu-selected ${Pt}-menu-submenu-title`]:{color:nt.colorPrimary}})})},[(0,st.oN)(nt,"slide-up"),(0,st.oN)(nt,"slide-down"),(0,at.Fm)(nt,"move-up"),(0,at.Fm)(nt,"move-down"),(0,ht._y)(nt,"zoom-big")]]},lt=nt=>Object.assign(Object.assign({zIndexPopup:nt.zIndexPopupBase+50,paddingBlock:(nt.controlHeight-nt.fontSize*nt.lineHeight)/2},(0,Ct.wZ)({contentRadius:nt.borderRadiusLG,limitVerticalRadius:!0})),(0,ze.w)(nt));var Bt=(0,pt.I$)("Dropdown",nt=>{const{marginXXS:Pt,sizePopupArrow:Rt,paddingXXS:hn,componentCls:Tt}=nt,mn=(0,Ne.mergeToken)(nt,{menuCls:`${Tt}-menu`,dropdownArrowDistance:nt.calc(Rt).div(2).add(Pt).equal(),dropdownEdgeChildPadding:hn});return[ot(mn),Ot(mn)]},lt,{resetStyle:!1});const We=null,ke=nt=>{var Pt;const{menu:Rt,arrow:hn,prefixCls:Tt,children:mn,trigger:kt,disabled:Fn,dropdownRender:an,getPopupContainer:de,overlayClassName:ge,rootClassName:ie,overlayStyle:ee,open:se,onOpenChange:le,visible:Be,onVisibleChange:Ge,mouseEnterDelay:ut=.15,mouseLeaveDelay:mt=.1,autoAdjustOverflow:vt=!0,placement:St="",overlay:Dt,transitionName:Qt}=nt,{getPopupContainer:xt,getPrefixCls:ct,direction:Xt,dropdown:Wt}=x.useContext(Ee.E_),wn=(0,ve.ln)("Dropdown"),ln=x.useMemo(()=>{const Zn=ct();return Qt!==void 0?Qt:St.includes("top")?`${Zn}-slide-down`:`${Zn}-slide-up`},[ct,St,Qt]),nn=x.useMemo(()=>St?St.includes("Center")?St.slice(0,St.indexOf("Center")):St:Xt==="rtl"?"bottomRight":"bottomLeft",[St,Xt]),zn=ct("dropdown",Tt),Ln=(0,Oe.Z)(zn),[_t,un,Pn]=Bt(zn,Ln),[,Vn]=(0,_e.ZP)(),Lt=x.Children.only(ye(mn)?x.createElement("span",null,mn):mn),Gt=(0,Ie.Tm)(Lt,{className:He()(`${zn}-trigger`,{[`${zn}-rtl`]:Xt==="rtl"},Lt.props.className),disabled:(Pt=Lt.props.disabled)!==null&&Pt!==void 0?Pt:Fn}),sn=Fn?[]:kt,bn=!!(sn!=null&&sn.includes("contextMenu")),[Yn,pr]=(0,fe.Z)(!1,{value:se!=null?se:Be}),ti=(0,Me.Z)(Zn=>{le==null||le(Zn,{source:"trigger"}),Ge==null||Ge(Zn),pr(Zn)}),si=He()(ge,ie,un,Pn,Ln,Wt==null?void 0:Wt.className,{[`${zn}-rtl`]:Xt==="rtl"}),Cr=(0,Re.Z)({arrowPointAtCenter:typeof hn=="object"&&hn.pointAtCenter,autoAdjustOverflow:vt,offset:Vn.marginXXS,arrowWidth:hn?Vn.sizePopupArrow:0,borderRadius:Vn.borderRadius}),ur=x.useCallback(()=>{Rt!=null&&Rt.selectable&&(Rt!=null&&Rt.multiple)||(le==null||le(!1,{source:"menu"}),pr(!1))},[Rt==null?void 0:Rt.selectable,Rt==null?void 0:Rt.multiple]),dr=()=>{let Zn;return Rt!=null&&Rt.items?Zn=x.createElement(Ke.default,Object.assign({},Rt)):typeof Dt=="function"?Zn=Dt():Zn=Dt,an&&(Zn=an(Zn)),Zn=x.Children.only(typeof Zn=="string"?x.createElement("span",null,Zn):Zn),x.createElement(je.J,{prefixCls:`${zn}-menu`,rootClassName:He()(Pn,Ln),expandIcon:x.createElement("span",{className:`${zn}-menu-submenu-arrow`},Xt==="rtl"?x.createElement(dt.Z,{className:`${zn}-menu-submenu-arrow-icon`}):x.createElement(Le.Z,{className:`${zn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ur,validator:br=>{let{mode:Br}=br}},Zn)},[yn,$n]=(0,oe.Cn)("Dropdown",ee==null?void 0:ee.zIndex);let rr=x.createElement(Fe.Z,Object.assign({alignPoint:bn},(0,xe.Z)(nt,["rootClassName"]),{mouseEnterDelay:ut,mouseLeaveDelay:mt,visible:Yn,builtinPlacements:Cr,arrow:!!hn,overlayClassName:si,prefixCls:zn,getPopupContainer:de||xt,transitionName:ln,trigger:sn,overlay:dr,placement:nn,onVisibleChange:ti,overlayStyle:Object.assign(Object.assign(Object.assign({},Wt==null?void 0:Wt.style),ee),{zIndex:yn})}),Gt);return yn&&(rr=x.createElement(we.Z.Provider,{value:$n},rr)),_t(rr)},At=(0,Se.Z)(ke,"align",void 0,"dropdown",nt=>nt),Kt=nt=>x.createElement(At,Object.assign({},nt),x.createElement("span",null));ke._InternalPanelDoNotUseOrYouWillBeFired=Kt;var Ht=ke},75727:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Se}});var x=ae(19563),dt=ae(59301),Le=ae(18785),qe=ae(92310),He=ae.n(qe),Fe=ae(7939),Me=ae(48755),fe=ae(44104),xe=ae(70045),oe=function(Ie,ve){var we={};for(var Ee in Ie)Object.prototype.hasOwnProperty.call(Ie,Ee)&&ve.indexOf(Ee)<0&&(we[Ee]=Ie[Ee]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ee=Object.getOwnPropertySymbols(Ie);Oe<Ee.length;Oe++)ve.indexOf(Ee[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Ee[Oe])&&(we[Ee[Oe]]=Ie[Ee[Oe]]);return we};const Pe=Ie=>{const{getPopupContainer:ve,getPrefixCls:we,direction:Ee}=dt.useContext(Me.E_),{prefixCls:Oe,type:Ke="default",danger:je,disabled:_e,loading:Je,onClick:Ve,htmlType:st,children:at,className:ht,menu:Ct,arrow:ze,autoFocus:pt,overlay:Ne,trigger:Qe,align:Ot,open:ot,onOpenChange:lt,placement:Bt,getPopupContainer:We,href:ke,icon:At=dt.createElement(Le.Z,null),title:Kt,buttonsRender:Ht=ut=>ut,mouseEnterDelay:nt,mouseLeaveDelay:Pt,overlayClassName:Rt,overlayStyle:hn,destroyPopupOnHide:Tt,dropdownRender:mn}=Ie,kt=oe(Ie,["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=we("dropdown",Oe),an=`${Fn}-button`,de={menu:Ct,arrow:ze,autoFocus:pt,align:Ot,disabled:_e,trigger:_e?[]:Qe,onOpenChange:lt,getPopupContainer:We||ve,mouseEnterDelay:nt,mouseLeaveDelay:Pt,overlayClassName:Rt,overlayStyle:hn,destroyPopupOnHide:Tt,dropdownRender:mn},{compactSize:ge,compactItemClassnames:ie}=(0,xe.ri)(Fn,Ee),ee=He()(an,ie,ht);"overlay"in Ie&&(de.overlay=Ne),"open"in Ie&&(de.open=ot),"placement"in Ie?de.placement=Bt:de.placement=Ee==="rtl"?"bottomLeft":"bottomRight";const se=dt.createElement(Fe.ZP,{type:Ke,danger:je,disabled:_e,loading:Je,onClick:Ve,htmlType:st,href:ke,title:Kt},at),le=dt.createElement(Fe.ZP,{type:Ke,danger:je,icon:At}),[Be,Ge]=Ht([se,le]);return dt.createElement(fe.Z.Compact,Object.assign({className:ee,size:ge,block:!0},kt),Be,dt.createElement(x.Z,Object.assign({},de),Ge))};Pe.__ANT_BUTTON=!0;var ye=Pe;const Re=x.Z;Re.Button=ye;var Se=Re},584:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ke}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(9017),He=ae(17835),Fe=ae(57700),fe=()=>{const[,je]=(0,Fe.ZP)(),[_e]=(0,qe.Z)("Empty"),Ve=new He.FastColor(je.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:Ve,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(_e==null?void 0:_e.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[,je]=(0,Fe.ZP)(),[_e]=(0,qe.Z)("Empty"),{colorFill:Je,colorFillTertiary:Ve,colorFillQuaternary:st,colorBgContainer:at}=je,{borderColor:ht,shadowColor:Ct,contentColor:ze}=(0,x.useMemo)(()=>({borderColor:new He.FastColor(Je).onBackground(at).toHexString(),shadowColor:new He.FastColor(Ve).onBackground(at).toHexString(),contentColor:new He.FastColor(st).onBackground(at).toHexString()}),[Je,Ve,st,at]);return x.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},x.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),x.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},x.createElement("ellipse",{fill:Ct,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:ht},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:ze}))))},Pe=ae(16931),ye=ae(51636);const Re=je=>{const{componentCls:_e,margin:Je,marginXS:Ve,marginXL:st,fontSize:at,lineHeight:ht}=je;return{[_e]:{marginInline:Ve,fontSize:at,lineHeight:ht,textAlign:"center",[`${_e}-image`]:{height:je.emptyImgHeight,marginBottom:Ve,opacity:je.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${_e}-description`]:{color:je.colorTextDescription},[`${_e}-footer`]:{marginTop:Je},"&-normal":{marginBlock:st,color:je.colorTextDescription,[`${_e}-description`]:{color:je.colorTextDescription},[`${_e}-image`]:{height:je.emptyImgHeightMD}},"&-small":{marginBlock:Ve,color:je.colorTextDescription,[`${_e}-image`]:{height:je.emptyImgHeightSM}}}}};var Se=(0,Pe.I$)("Empty",je=>{const{componentCls:_e,controlHeightLG:Je,calc:Ve}=je,st=(0,ye.mergeToken)(je,{emptyImgCls:`${_e}-img`,emptyImgHeight:Ve(Je).mul(2.5).equal(),emptyImgHeightMD:Je,emptyImgHeightSM:Ve(Je).mul(.875).equal()});return[Re(st)]}),Ie=ae(48755),ve=function(je,_e){var Je={};for(var Ve in je)Object.prototype.hasOwnProperty.call(je,Ve)&&_e.indexOf(Ve)<0&&(Je[Ve]=je[Ve]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Ve=Object.getOwnPropertySymbols(je);st<Ve.length;st++)_e.indexOf(Ve[st])<0&&Object.prototype.propertyIsEnumerable.call(je,Ve[st])&&(Je[Ve[st]]=je[Ve[st]]);return Je};const we=x.createElement(fe,null),Ee=x.createElement(oe,null),Oe=je=>{const{className:_e,rootClassName:Je,prefixCls:Ve,image:st=we,description:at,children:ht,imageStyle:Ct,style:ze,classNames:pt,styles:Ne}=je,Qe=ve(je,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Ot,direction:ot,className:lt,style:Bt,classNames:We,styles:ke}=(0,Ie.dj)("empty"),At=Ot("empty",Ve),[Kt,Ht,nt]=Se(At),[Pt]=(0,qe.Z)("Empty"),Rt=typeof at!="undefined"?at:Pt==null?void 0:Pt.description,hn=typeof Rt=="string"?Rt:"empty";let Tt=null;return typeof st=="string"?Tt=x.createElement("img",{alt:hn,src:st}):Tt=st,Kt(x.createElement("div",Object.assign({className:Le()(Ht,nt,At,lt,{[`${At}-normal`]:st===Ee,[`${At}-rtl`]:ot==="rtl"},_e,Je,We.root,pt==null?void 0:pt.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},ke.root),Bt),Ne==null?void 0:Ne.root),ze)},Qe),x.createElement("div",{className:Le()(`${At}-image`,We.image,pt==null?void 0:pt.image),style:Object.assign(Object.assign(Object.assign({},Ct),ke.image),Ne==null?void 0:Ne.image)},Tt),Rt&&x.createElement("div",{className:Le()(`${At}-description`,We.description,pt==null?void 0:pt.description),style:Object.assign(Object.assign({},ke.description),Ne==null?void 0:Ne.description)},Rt),ht&&x.createElement("div",{className:Le()(`${At}-footer`,We.footer,pt==null?void 0:pt.footer),style:Object.assign(Object.assign({},ke.footer),Ne==null?void 0:Ne.footer)},ht)))};Oe.PRESENTED_IMAGE_DEFAULT=we,Oe.PRESENTED_IMAGE_SIMPLE=Ee;var Ke=Oe},28284:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Cn}});var x=ae(56553),dt=ae(77654),Le=ae(59301),qe=ae(92310),He=ae.n(qe),Fe=ae(77900),Me=ae(86641),fe=ae(83397);function xe(tt){const[pn,Zt]=Le.useState(tt);return Le.useEffect(()=>{const vn=setTimeout(()=>{Zt(tt)},tt.length?0:10);return()=>{clearTimeout(vn)}},[tt]),pn}var oe=ae(36237),Pe=ae(63356),ye=ae(34925),Re=ae(34961),Se=ae(51636),Ie=ae(16931),we=tt=>{const{componentCls:pn}=tt,Zt=`${pn}-show-help`,vn=`${pn}-show-help-item`;return{[Zt]:{transition:`opacity ${tt.motionDurationFast} ${tt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[vn]:{overflow:"hidden",transition:`height ${tt.motionDurationFast} ${tt.motionEaseInOut},
opacity ${tt.motionDurationFast} ${tt.motionEaseInOut},
transform ${tt.motionDurationFast} ${tt.motionEaseInOut} !important`,[`&${vn}-appear, &${vn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${vn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ee=tt=>({legend:{display:"block",width:"100%",marginBottom:tt.marginLG,padding:0,color:tt.colorTextDescription,fontSize:tt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,oe.unit)(tt.lineWidth)} ${tt.lineType} ${tt.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)(tt.controlOutlineWidth)} ${tt.controlOutline}`},output:{display:"block",paddingTop:15,color:tt.colorText,fontSize:tt.fontSize,lineHeight:tt.lineHeight}}),Oe=(tt,pn)=>{const{formItemCls:Zt}=tt;return{[Zt]:{[`${Zt}-label > label`]:{height:pn},[`${Zt}-control-input`]:{minHeight:pn}}}},Ke=tt=>{const{componentCls:pn}=tt;return{[tt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(tt)),Ee(tt)),{[`${pn}-text`]:{display:"inline-block",paddingInlineEnd:tt.paddingSM},"&-small":Object.assign({},Oe(tt,tt.controlHeightSM)),"&-large":Object.assign({},Oe(tt,tt.controlHeightLG))})}},je=tt=>{const{formItemCls:pn,iconCls:Zt,rootPrefixCls:vn,antCls:On,labelRequiredMarkColor:Rr,labelColor:Xr,labelFontSize:li,labelHeight:nr,labelColonMarginInlineStart:or,labelColonMarginInlineEnd:er,itemMarginBottom:_r}=tt;return{[pn]:Object.assign(Object.assign({},(0,Pe.Wf)(tt)),{marginBottom:_r,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${On}-row`]:{display:"none"},"&-has-warning":{[`${pn}-split`]:{color:tt.colorError}},"&-has-error":{[`${pn}-split`]:{color:tt.colorWarning}},[`${pn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:tt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nr,color:Xr,fontSize:li,[`> ${Zt}`]:{fontSize:tt.fontSize,verticalAlign:"top"},[`&${pn}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:tt.marginXXS,color:Rr,fontSize:tt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${pn}-required-mark-hidden, &${pn}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${pn}-optional`]:{display:"inline-block",marginInlineStart:tt.marginXXS,color:tt.colorTextDescription,[`&${pn}-required-mark-hidden`]:{display:"none"}},[`${pn}-tooltip`]:{color:tt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:tt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:or,marginInlineEnd:er},[`&${pn}-no-colon::after`]:{content:'"\\a0"'}}},[`${pn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${vn}-col-'"]):not([class*="' ${vn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:tt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[pn]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:tt.colorTextDescription,fontSize:tt.fontSize,lineHeight:tt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:tt.controlHeightSM,transition:`color ${tt.motionDurationMid} ${tt.motionEaseOut}`},"&-explain":{"&-error":{color:tt.colorError},"&-warning":{color:tt.colorWarning}}},[`&-with-help ${pn}-explain`]:{height:"auto",opacity:1},[`${pn}-feedback-icon`]:{fontSize:tt.fontSize,textAlign:"center",visibility:"visible",animationName:ye.kr,animationDuration:tt.motionDurationMid,animationTimingFunction:tt.motionEaseOutBack,pointerEvents:"none","&-success":{color:tt.colorSuccess},"&-error":{color:tt.colorError},"&-warning":{color:tt.colorWarning},"&-validating":{color:tt.colorPrimary}}})}},_e=(tt,pn)=>{const{formItemCls:Zt}=tt;return{[`${pn}-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"}}}}},Je=tt=>{const{componentCls:pn,formItemCls:Zt,inlineItemMarginBottom:vn}=tt;return{[`${pn}-inline`]:{display:"flex",flexWrap:"wrap",[Zt]:{flex:"none",marginInlineEnd:tt.margin,marginBottom:vn,"&-row":{flexWrap:"nowrap"},[`> ${Zt}-label,
> ${Zt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Zt}-label`]:{flex:"none"},[`${pn}-text`]:{display:"inline-block"},[`${Zt}-has-feedback`]:{display:"inline-block"}}}}},Ve=tt=>({padding:tt.verticalLabelPadding,margin:tt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),st=tt=>{const{componentCls:pn,formItemCls:Zt,rootPrefixCls:vn}=tt;return{[`${Zt} ${Zt}-label`]:Ve(tt),[`${pn}:not(${pn}-inline)`]:{[Zt]:{flexWrap:"wrap",[`${Zt}-label, ${Zt}-control`]:{[`&:not([class*=" ${vn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},at=tt=>{const{componentCls:pn,formItemCls:Zt,antCls:vn}=tt;return{[`${pn}-vertical`]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${Zt}-row`]:{flexDirection:"column"},[`${Zt}-label > label`]:{height:"auto"},[`${Zt}-control`]:{width:"100%"},[`${Zt}-label,
${vn}-col-24${Zt}-label,
${vn}-col-xl-24${Zt}-label`]:Ve(tt)}},[`@media (max-width: ${(0,oe.unit)(tt.screenXSMax)})`]:[st(tt),{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-xs-24${Zt}-label`]:Ve(tt)}}}],[`@media (max-width: ${(0,oe.unit)(tt.screenSMMax)})`]:{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-sm-24${Zt}-label`]:Ve(tt)}}},[`@media (max-width: ${(0,oe.unit)(tt.screenMDMax)})`]:{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-md-24${Zt}-label`]:Ve(tt)}}},[`@media (max-width: ${(0,oe.unit)(tt.screenLGMax)})`]:{[pn]:{[`${Zt}:not(${Zt}-horizontal)`]:{[`${vn}-col-lg-24${Zt}-label`]:Ve(tt)}}}}},ht=tt=>{const{formItemCls:pn,antCls:Zt}=tt;return{[`${pn}-vertical`]:{[`${pn}-row`]:{flexDirection:"column"},[`${pn}-label > label`]:{height:"auto"},[`${pn}-control`]:{width:"100%"}},[`${pn}-vertical ${pn}-label,
${Zt}-col-24${pn}-label,
${Zt}-col-xl-24${pn}-label`]:Ve(tt),[`@media (max-width: ${(0,oe.unit)(tt.screenXSMax)})`]:[st(tt),{[pn]:{[`${Zt}-col-xs-24${pn}-label`]:Ve(tt)}}],[`@media (max-width: ${(0,oe.unit)(tt.screenSMMax)})`]:{[pn]:{[`${Zt}-col-sm-24${pn}-label`]:Ve(tt)}},[`@media (max-width: ${(0,oe.unit)(tt.screenMDMax)})`]:{[pn]:{[`${Zt}-col-md-24${pn}-label`]:Ve(tt)}},[`@media (max-width: ${(0,oe.unit)(tt.screenLGMax)})`]:{[pn]:{[`${Zt}-col-lg-24${pn}-label`]:Ve(tt)}}}},Ct=tt=>({labelRequiredMarkColor:tt.colorError,labelColor:tt.colorTextHeading,labelFontSize:tt.fontSize,labelHeight:tt.controlHeight,labelColonMarginInlineStart:tt.marginXXS/2,labelColonMarginInlineEnd:tt.marginXS,itemMarginBottom:tt.marginLG,verticalLabelPadding:`0 0 ${tt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),ze=(tt,pn)=>(0,Se.mergeToken)(tt,{formItemCls:`${tt.componentCls}-item`,rootPrefixCls:pn});var pt=(0,Ie.I$)("Form",(tt,pn)=>{let{rootPrefixCls:Zt}=pn;const vn=ze(tt,Zt);return[Ke(vn),je(vn),we(vn),_e(vn,vn.componentCls),_e(vn,vn.formItemCls),Je(vn),at(vn),ht(vn),(0,Re.Z)(vn),ye.kr]},Ct,{order:-1e3});const Ne=[];function Qe(tt,pn,Zt){let vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof tt=="string"?tt:`${pn}-${vn}`,error:tt,errorStatus:Zt}}var ot=tt=>{let{help:pn,helpStatus:Zt,errors:vn=Ne,warnings:On=Ne,className:Rr,fieldId:Xr,onVisibleChanged:li}=tt;const{prefixCls:nr}=Le.useContext(x.Rk),or=`${nr}-item-explain`,er=(0,fe.Z)(nr),[_r,Ti,bi]=pt(nr,er),Xi=Le.useMemo(()=>(0,Me.Z)(nr),[nr]),Er=xe(vn),tn=xe(On),$t=Le.useMemo(()=>pn!=null?[Qe(pn,"help",Zt)]:[].concat((0,dt.Z)(Er.map((gr,Ir)=>Qe(gr,"error","error",Ir))),(0,dt.Z)(tn.map((gr,Ir)=>Qe(gr,"warning","warning",Ir)))),[pn,Zt,Er,tn]),jn=Le.useMemo(()=>{const gr={};return $t.forEach(Ir=>{let{key:Kr}=Ir;gr[Kr]=(gr[Kr]||0)+1}),$t.map((Ir,Kr)=>Object.assign(Object.assign({},Ir),{key:gr[Ir.key]>1?`${Ir.key}-fallback-${Kr}`:Ir.key}))},[$t]),lr={};return Xr&&(lr.id=`${Xr}_help`),_r(Le.createElement(Fe.default,{motionDeadline:Xi.motionDeadline,motionName:`${nr}-show-help`,visible:!!jn.length,onVisibleChanged:li},gr=>{const{className:Ir,style:Kr}=gr;return Le.createElement("div",Object.assign({},lr,{className:He()(or,Ir,bi,er,Rr,Ti),style:Kr}),Le.createElement(Fe.CSSMotionList,Object.assign({keys:jn},(0,Me.Z)(nr),{motionName:`${nr}-show-help-item`,component:!1}),zr=>{const{key:pi,error:Ci,errorStatus:xi,className:hi,style:Ii}=zr;return Le.createElement("div",{key:pi,className:He()(hi,{[`${or}-${xi}`]:xi}),style:Ii},Ci)}))}))},lt=ae(69180),Bt=ae(48755),We=ae(2171),ke=ae(31756),At=ae(23069),Kt=ae(76846),Ht=ae(16722);const nt=["parentNode"],Pt="form_item";function Rt(tt){return tt===void 0||tt===!1?[]:Array.isArray(tt)?tt:[tt]}function hn(tt,pn){if(!tt.length)return;const Zt=tt.join("_");return pn?`${pn}_${Zt}`:nt.includes(Zt)?`${Pt}_${Zt}`:Zt}function Tt(tt,pn,Zt,vn,On,Rr){let Xr=vn;return Rr!==void 0?Xr=Rr:Zt.validating?Xr="validating":tt.length?Xr="error":pn.length?Xr="warning":(Zt.touched||On&&Zt.validated)&&(Xr="success"),Xr}var mn=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On<vn.length;On++)pn.indexOf(vn[On])<0&&Object.prototype.propertyIsEnumerable.call(tt,vn[On])&&(Zt[vn[On]]=tt[vn[On]]);return Zt};function kt(tt){return Rt(tt).join("_")}function Fn(tt,pn){const Zt=pn.getFieldInstance(tt),vn=(0,Kt.bn)(Zt);if(vn)return vn;const On=hn(Rt(tt),pn.__INTERNAL__.name);if(On)return document.getElementById(On)}function an(tt){const[pn]=(0,lt.useForm)(),Zt=Le.useRef({}),vn=Le.useMemo(()=>tt!=null?tt:Object.assign(Object.assign({},pn),{__INTERNAL__:{itemRef:On=>Rr=>{const Xr=kt(On);Rr?Zt.current[Xr]=Rr:delete Zt.current[Xr]}},scrollToField:function(On){let Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Xr}=Rr,li=mn(Rr,["focus"]),nr=Fn(On,vn);nr&&((0,Ht.Z)(nr,Object.assign({scrollMode:"if-needed",block:"nearest"},li)),Xr&&vn.focusField(On))},focusField:On=>{var Rr,Xr;const li=vn.getFieldInstance(On);typeof(li==null?void 0:li.focus)=="function"?li.focus():(Xr=(Rr=Fn(On,vn))===null||Rr===void 0?void 0:Rr.focus)===null||Xr===void 0||Xr.call(Rr)},getFieldInstance:On=>{const Rr=kt(On);return Zt.current[Rr]}}),[tt,pn]);return[vn]}var de=ae(98350),ge=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On<vn.length;On++)pn.indexOf(vn[On])<0&&Object.prototype.propertyIsEnumerable.call(tt,vn[On])&&(Zt[vn[On]]=tt[vn[On]]);return Zt};const ie=(tt,pn)=>{const Zt=Le.useContext(We.Z),{getPrefixCls:vn,direction:On,requiredMark:Rr,colon:Xr,scrollToFirstError:li,className:nr,style:or}=(0,Bt.dj)("form"),{prefixCls:er,className:_r,rootClassName:Ti,size:bi,disabled:Xi=Zt,form:Er,colon:tn,labelAlign:$t,labelWrap:jn,labelCol:lr,wrapperCol:gr,hideRequiredMark:Ir,layout:Kr="horizontal",scrollToFirstError:zr,requiredMark:pi,onFinishFailed:Ci,name:xi,style:hi,feedbackIcons:Ii,variant:Di}=tt,$i=ge(tt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),no=(0,ke.Z)(bi),Hi=Le.useContext(de.Z),ai=Le.useMemo(()=>pi!==void 0?pi:Ir?!1:Rr!==void 0?Rr:!0,[Ir,pi,Rr]),ao=tn!=null?tn:Xr,ki=vn("form",er),So=(0,fe.Z)(ki),[uo,Do,Co]=pt(ki,So),to=He()(ki,`${ki}-${Kr}`,{[`${ki}-hide-required-mark`]:ai===!1,[`${ki}-rtl`]:On==="rtl",[`${ki}-${no}`]:no},Co,So,Do,nr,_r,Ti),[Mo]=an(Er),{__INTERNAL__:Go}=Mo;Go.name=xi;const zo=Le.useMemo(()=>({name:xi,labelAlign:$t,labelCol:lr,labelWrap:jn,wrapperCol:gr,vertical:Kr==="vertical",colon:ao,requiredMark:ai,itemRef:Go.itemRef,form:Mo,feedbackIcons:Ii}),[xi,$t,lr,gr,Kr,ao,ai,Mo,Ii]),No=Le.useRef(null);Le.useImperativeHandle(pn,()=>{var $r;return Object.assign(Object.assign({},Mo),{nativeElement:($r=No.current)===null||$r===void 0?void 0:$r.nativeElement})});const zi=($r,ui)=>{if($r){let Zr={block:"nearest"};typeof $r=="object"&&(Zr=Object.assign(Object.assign({},Zr),$r)),Mo.scrollToField(ui,Zr)}},Vt=$r=>{if(Ci==null||Ci($r),$r.errorFields.length){const ui=$r.errorFields[0].name;if(zr!==void 0){zi(zr,ui);return}li!==void 0&&zi(li,ui)}};return uo(Le.createElement(x.pg.Provider,{value:Di},Le.createElement(We.n,{disabled:Xi},Le.createElement(At.Z.Provider,{value:no},Le.createElement(x.RV,{validateMessages:Hi},Le.createElement(x.q3.Provider,{value:zo},Le.createElement(lt.default,Object.assign({id:xi},$i,{name:xi,onFinishFailed:Vt,form:Mo,ref:No,style:Object.assign(Object.assign({},or),hi),className:to}))))))))};var se=Le.forwardRef(ie),le=ae(41799),Be=ae(8654),Ge=ae(22703),ut=ae(32383),mt=ae(11592);function vt(tt){if(typeof tt=="function")return tt;const pn=(0,mt.Z)(tt);return pn.length<=1?pn[0]:pn}const St=()=>{const{status:tt,errors:pn=[],warnings:Zt=[]}=Le.useContext(x.aM);return{status:tt,errors:pn,warnings:Zt}};St.Context=x.aM;var Dt=St,Qt=ae(16089);function xt(tt){const[pn,Zt]=Le.useState(tt),vn=Le.useRef(null),On=Le.useRef([]),Rr=Le.useRef(!1);Le.useEffect(()=>(Rr.current=!1,()=>{Rr.current=!0,Qt.Z.cancel(vn.current),vn.current=null}),[]);function Xr(li){Rr.current||(vn.current===null&&(On.current=[],vn.current=(0,Qt.Z)(()=>{vn.current=null,Zt(nr=>{let or=nr;return On.current.forEach(er=>{or=er(or)}),or})})),On.current.push(li))}return[pn,Xr]}function ct(){const{itemRef:tt}=Le.useContext(x.q3),pn=Le.useRef({});function Zt(vn,On){const Rr=On&&typeof On=="object"&&(0,Be.C4)(On),Xr=vn.join("_");return(pn.current.name!==Xr||pn.current.originRef!==Rr)&&(pn.current.name=Xr,pn.current.originRef=Rr,pn.current.ref=(0,Be.sQ)(tt(vn),Rr)),pn.current.ref}return Zt}var Xt=ae(29194),Wt=ae(34280),wn=ae(2738),ln=ae(65970),nn=ae(70425),zn=ae(5472);const Ln=tt=>{const{formItemCls:pn}=tt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${pn}-control`]:{display:"flex"}}}};var _t=(0,Ie.bk)(["Form","item-item"],(tt,pn)=>{let{rootPrefixCls:Zt}=pn;const vn=ze(tt,Zt);return[Ln(vn)]}),un=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On<vn.length;On++)pn.indexOf(vn[On])<0&&Object.prototype.propertyIsEnumerable.call(tt,vn[On])&&(Zt[vn[On]]=tt[vn[On]]);return Zt};const Pn=24;var Lt=tt=>{const{prefixCls:pn,status:Zt,labelCol:vn,wrapperCol:On,children:Rr,errors:Xr,warnings:li,_internalItemRender:nr,extra:or,help:er,fieldId:_r,marginBottom:Ti,onErrorVisibleChanged:bi,label:Xi}=tt,Er=`${pn}-item`,tn=Le.useContext(x.q3),$t=Le.useMemo(()=>{let $i=Object.assign({},On||tn.wrapperCol||{});return Xi===null&&!vn&&!On&&tn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(Hi=>{const ai=Hi?[Hi]:[],ao=(0,nn.U2)(tn.labelCol,ai),ki=typeof ao=="object"?ao:{},So=(0,nn.U2)($i,ai),uo=typeof So=="object"?So:{};"span"in ki&&!("offset"in uo)&&ki.span<Pn&&($i=(0,nn.t8)($i,[].concat(ai,["offset"]),ki.span))}),$i},[On,tn]),jn=He()(`${Er}-control`,$t.className),lr=Le.useMemo(()=>{const{labelCol:$i,wrapperCol:no}=tn;return un(tn,["labelCol","wrapperCol"])},[tn]),gr=Le.useRef(null),[Ir,Kr]=Le.useState(0);(0,Wt.Z)(()=>{or&&gr.current?Kr(gr.current.clientHeight):Kr(0)},[or]);const zr=Le.createElement("div",{className:`${Er}-control-input`},Le.createElement("div",{className:`${Er}-control-input-content`},Rr)),pi=Le.useMemo(()=>({prefixCls:pn,status:Zt}),[pn,Zt]),Ci=Ti!==null||Xr.length||li.length?Le.createElement(x.Rk.Provider,{value:pi},Le.createElement(ot,{fieldId:_r,errors:Xr,warnings:li,help:er,helpStatus:Zt,className:`${Er}-explain-connected`,onVisibleChanged:bi})):null,xi={};_r&&(xi.id=`${_r}_extra`);const hi=or?Le.createElement("div",Object.assign({},xi,{className:`${Er}-extra`,ref:gr}),or):null,Ii=Ci||hi?Le.createElement("div",{className:`${Er}-additional`,style:Ti?{minHeight:Ti+Ir}:{}},Ci,hi):null,Di=nr&&nr.mark==="pro_table_render"&&nr.render?nr.render(tt,{input:zr,errorList:Ci,extra:hi}):Le.createElement(Le.Fragment,null,zr,Ii);return Le.createElement(x.q3.Provider,{value:lr},Le.createElement(zn.Z,Object.assign({},$t,{className:jn}),Di),Le.createElement(_t,{prefixCls:pn}))},Gt=ae(61485),sn=ae(9017),bn=ae(85981),Yn=ae(25399),pr=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On<vn.length;On++)pn.indexOf(vn[On])<0&&Object.prototype.propertyIsEnumerable.call(tt,vn[On])&&(Zt[vn[On]]=tt[vn[On]]);return Zt};function ti(tt){return tt?typeof tt=="object"&&!Le.isValidElement(tt)?tt:{title:tt}:null}var Cr=tt=>{let{prefixCls:pn,label:Zt,htmlFor:vn,labelCol:On,labelAlign:Rr,colon:Xr,required:li,requiredMark:nr,tooltip:or,vertical:er}=tt;var _r;const[Ti]=(0,sn.Z)("Form"),{labelAlign:bi,labelCol:Xi,labelWrap:Er,colon:tn}=Le.useContext(x.q3);if(!Zt)return null;const $t=On||Xi||{},jn=Rr||bi,lr=`${pn}-item-label`,gr=He()(lr,jn==="left"&&`${lr}-left`,$t.className,{[`${lr}-wrap`]:!!Er});let Ir=Zt;const Kr=Xr===!0||tn!==!1&&Xr!==!1;Kr&&!er&&typeof Zt=="string"&&Zt.trim()&&(Ir=Zt.replace(/[:|]\s*$/,""));const pi=ti(or);if(pi){const{icon:$i=Le.createElement(Gt.Z,null)}=pi,no=pr(pi,["icon"]),Hi=Le.createElement(Yn.Z,Object.assign({},no),Le.cloneElement($i,{className:`${pn}-item-tooltip`,title:"",onClick:ai=>{ai.preventDefault()},tabIndex:null}));Ir=Le.createElement(Le.Fragment,null,Ir,Hi)}const Ci=nr==="optional",xi=typeof nr=="function",hi=nr===!1;xi?Ir=nr(Ir,{required:!!li}):Ci&&!li&&(Ir=Le.createElement(Le.Fragment,null,Ir,Le.createElement("span",{className:`${pn}-item-optional`,title:""},(Ti==null?void 0:Ti.optional)||((_r=bn.Z.Form)===null||_r===void 0?void 0:_r.optional))));let Ii;hi?Ii="hidden":(Ci||xi)&&(Ii="optional");const Di=He()({[`${pn}-item-required`]:li,[`${pn}-item-required-mark-${Ii}`]:Ii,[`${pn}-item-no-colon`]:!Kr});return Le.createElement(zn.Z,Object.assign({},$t,{className:gr}),Le.createElement("label",{htmlFor:vn,className:Di,title:typeof Zt=="string"?Zt:""},Ir))},ur=ae(29679),dr=ae(19248),yn=ae(96512),$n=ae(58617);const rr={success:ur.Z,warning:yn.Z,error:dr.Z,validating:$n.Z};function Zn(tt){let{children:pn,errors:Zt,warnings:vn,hasFeedback:On,validateStatus:Rr,prefixCls:Xr,meta:li,noStyle:nr}=tt;const or=`${Xr}-item`,{feedbackIcons:er}=Le.useContext(x.q3),_r=Tt(Zt,vn,li,null,!!On,Rr),{isFormItemInput:Ti,status:bi,hasFeedback:Xi,feedbackIcon:Er}=Le.useContext(x.aM),tn=Le.useMemo(()=>{var $t;let jn;if(On){const gr=On!==!0&&On.icons||er,Ir=_r&&(($t=gr==null?void 0:gr({status:_r,errors:Zt,warnings:vn}))===null||$t===void 0?void 0:$t[_r]),Kr=_r&&rr[_r];jn=Ir!==!1&&Kr?Le.createElement("span",{className:He()(`${or}-feedback-icon`,`${or}-feedback-icon-${_r}`)},Ir||Le.createElement(Kr,null)):null}const lr={status:_r||"",errors:Zt,warnings:vn,hasFeedback:!!On,feedbackIcon:jn,isFormItemInput:!0};return nr&&(lr.status=(_r!=null?_r:bi)||"",lr.isFormItemInput=Ti,lr.hasFeedback=!!(On!=null?On:Xi),lr.feedbackIcon=On!==void 0?lr.feedbackIcon:Er),lr},[_r,On,nr,Ti,bi]);return Le.createElement(x.aM.Provider,{value:tn},pn)}var br=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On<vn.length;On++)pn.indexOf(vn[On])<0&&Object.prototype.propertyIsEnumerable.call(tt,vn[On])&&(Zt[vn[On]]=tt[vn[On]]);return Zt};function Br(tt){const{prefixCls:pn,className:Zt,rootClassName:vn,style:On,help:Rr,errors:Xr,warnings:li,validateStatus:nr,meta:or,hasFeedback:er,hidden:_r,children:Ti,fieldId:bi,required:Xi,isRequired:Er,onSubItemMetaChange:tn,layout:$t}=tt,jn=br(tt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),lr=`${pn}-item`,{requiredMark:gr,vertical:Ir}=Le.useContext(x.q3),Kr=Ir||$t==="vertical",zr=Le.useRef(null),pi=xe(Xr),Ci=xe(li),xi=Rr!=null,hi=!!(xi||Xr.length||li.length),Ii=!!zr.current&&(0,Xt.Z)(zr.current),[Di,$i]=Le.useState(null);(0,Wt.Z)(()=>{if(hi&&zr.current){const ki=getComputedStyle(zr.current);$i(parseInt(ki.marginBottom,10))}},[hi,Ii]);const no=ki=>{ki||$i(null)},ai=function(){let ki=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const So=ki?pi:or.errors,uo=ki?Ci:or.warnings;return Tt(So,uo,or,"",!!er,nr)}(),ao=He()(lr,Zt,vn,{[`${lr}-with-help`]:xi||pi.length||Ci.length,[`${lr}-has-feedback`]:ai&&er,[`${lr}-has-success`]:ai==="success",[`${lr}-has-warning`]:ai==="warning",[`${lr}-has-error`]:ai==="error",[`${lr}-is-validating`]:ai==="validating",[`${lr}-hidden`]:_r,[`${lr}-${$t}`]:$t});return Le.createElement("div",{className:ao,style:On,ref:zr},Le.createElement(ln.Z,Object.assign({className:`${lr}-row`},(0,wn.Z)(jn,["_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(Cr,Object.assign({htmlFor:bi},tt,{requiredMark:gr,required:Xi!=null?Xi:Er,prefixCls:pn,vertical:Kr})),Le.createElement(Lt,Object.assign({},tt,or,{errors:pi,warnings:Ci,prefixCls:pn,status:ai,help:Rr,marginBottom:Di,onErrorVisibleChanged:no}),Le.createElement(x.qI.Provider,{value:tn},Le.createElement(Zn,{prefixCls:pn,meta:or,errors:or.errors,warnings:or.warnings,hasFeedback:er,validateStatus:ai},Ti)))),!!Di&&Le.createElement("div",{className:`${lr}-margin-offset`,style:{marginBottom:-Di}}))}const Or="__SPLIT__",ci=null;function Ai(tt,pn){const Zt=Object.keys(tt),vn=Object.keys(pn);return Zt.length===vn.length&&Zt.every(On=>{const Rr=tt[On],Xr=pn[On];return Rr===Xr||typeof Rr=="function"||typeof Xr=="function"})}const di=Le.memo(tt=>{let{children:pn}=tt;return pn},(tt,pn)=>Ai(tt.control,pn.control)&&tt.update===pn.update&&tt.childProps.length===pn.childProps.length&&tt.childProps.every((Zt,vn)=>Zt===pn.childProps[vn]));function Pi(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function yi(tt){const{name:pn,noStyle:Zt,className:vn,dependencies:On,prefixCls:Rr,shouldUpdate:Xr,rules:li,children:nr,required:or,label:er,messageVariables:_r,trigger:Ti="onChange",validateTrigger:bi,hidden:Xi,help:Er,layout:tn}=tt,{getPrefixCls:$t}=Le.useContext(Bt.E_),{name:jn}=Le.useContext(x.q3),lr=vt(nr),gr=typeof lr=="function",Ir=Le.useContext(x.qI),{validateTrigger:Kr}=Le.useContext(lt.FieldContext),zr=bi!==void 0?bi:Kr,pi=pn!=null,Ci=$t("form",Rr),xi=(0,fe.Z)(Ci),[hi,Ii,Di]=pt(Ci,xi),$i=(0,ut.ln)("Form.Item"),no=Le.useContext(lt.ListContext),Hi=Le.useRef(null),[ai,ao]=xt({}),[ki,So]=(0,le.Z)(()=>Pi()),uo=No=>{const zi=no==null?void 0:no.getKey(No.name);if(So(No.destroy?Pi():No,!0),Zt&&Er!==!1&&Ir){let Vt=No.name;if(No.destroy)Vt=Hi.current||Vt;else if(zi!==void 0){const[$r,ui]=zi;Vt=[$r].concat((0,dt.Z)(ui)),Hi.current=Vt}Ir(No,Vt)}},Do=(No,zi)=>{ao(Vt=>{const $r=Object.assign({},Vt),Zr=[].concat((0,dt.Z)(No.name.slice(0,-1)),(0,dt.Z)(zi)).join(Or);return No.destroy?delete $r[Zr]:$r[Zr]=No,$r})},[Co,to]=Le.useMemo(()=>{const No=(0,dt.Z)(ki.errors),zi=(0,dt.Z)(ki.warnings);return Object.values(ai).forEach(Vt=>{No.push.apply(No,(0,dt.Z)(Vt.errors||[])),zi.push.apply(zi,(0,dt.Z)(Vt.warnings||[]))}),[No,zi]},[ai,ki.errors,ki.warnings]),Mo=ct();function Go(No,zi,Vt){return Zt&&!Xi?Le.createElement(Zn,{prefixCls:Ci,hasFeedback:tt.hasFeedback,validateStatus:tt.validateStatus,meta:ki,errors:Co,warnings:to,noStyle:!0},No):Le.createElement(Br,Object.assign({key:"row"},tt,{className:He()(vn,Di,xi,Ii),prefixCls:Ci,fieldId:zi,isRequired:Vt,errors:Co,warnings:to,meta:ki,onSubItemMetaChange:Do,layout:tn}),No)}if(!pi&&!gr&&!On)return hi(Go(lr));let zo={};return typeof er=="string"?zo.label=er:pn&&(zo.label=String(pn)),_r&&(zo=Object.assign(Object.assign({},zo),_r)),hi(Le.createElement(lt.Field,Object.assign({},tt,{messageVariables:zo,trigger:Ti,validateTrigger:zr,onMetaChange:uo}),(No,zi,Vt)=>{const $r=Rt(pn).length&&zi?zi.name:[],ui=hn($r,jn),Zr=or!==void 0?or:!!(li!=null&&li.some(jr=>{if(jr&&typeof jr=="object"&&jr.required&&!jr.warningOnly)return!0;if(typeof jr=="function"){const Yr=jr(Vt);return(Yr==null?void 0:Yr.required)&&!(Yr!=null&&Yr.warningOnly)}return!1})),Ri=Object.assign({},No);let ro=null;if(Array.isArray(lr)&&pi)ro=lr;else if(!(gr&&(!(Xr||On)||pi))){if(!(On&&!gr&&!pi))if(Le.isValidElement(lr)){const jr=Object.assign(Object.assign({},lr.props),Ri);if(jr.id||(jr.id=ui),Er||Co.length>0||to.length>0||tt.extra){const _i=[];(Er||Co.length>0)&&_i.push(`${ui}_help`),tt.extra&&_i.push(`${ui}_extra`),jr["aria-describedby"]=_i.join(" ")}Co.length>0&&(jr["aria-invalid"]="true"),Zr&&(jr["aria-required"]="true"),(0,Be.Yr)(lr)&&(jr.ref=Mo($r,lr)),new Set([].concat((0,dt.Z)(Rt(Ti)),(0,dt.Z)(Rt(zr)))).forEach(_i=>{jr[_i]=function(){for(var Ro,ya,$o,Ea,da,wa=arguments.length,Wr=new Array(wa),Ji=0;Ji<wa;Ji++)Wr[Ji]=arguments[Ji];($o=Ri[_i])===null||$o===void 0||(Ro=$o).call.apply(Ro,[Ri].concat(Wr)),(da=(Ea=lr.props)[_i])===null||da===void 0||(ya=da).call.apply(ya,[Ea].concat(Wr))}});const Bi=[jr["aria-required"],jr["aria-invalid"],jr["aria-describedby"]];ro=Le.createElement(di,{control:Ri,update:lr,childProps:Bi},(0,Ge.Tm)(lr,jr))}else gr&&(Xr||On)&&!pi?ro=lr(Vt):ro=lr}return Go(ro,ui,Zr)}))}const oo=yi;oo.useStatus=Dt;var Gi=oo,ar=function(tt,pn){var Zt={};for(var vn in tt)Object.prototype.hasOwnProperty.call(tt,vn)&&pn.indexOf(vn)<0&&(Zt[vn]=tt[vn]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,vn=Object.getOwnPropertySymbols(tt);On<vn.length;On++)pn.indexOf(vn[On])<0&&Object.prototype.propertyIsEnumerable.call(tt,vn[On])&&(Zt[vn[On]]=tt[vn[On]]);return Zt},gi=tt=>{var{prefixCls:pn,children:Zt}=tt,vn=ar(tt,["prefixCls","children"]);const{getPrefixCls:On}=Le.useContext(Bt.E_),Rr=On("form",pn),Xr=Le.useMemo(()=>({prefixCls:Rr,status:"error"}),[Rr]);return Le.createElement(lt.List,Object.assign({},vn),(li,nr,or)=>Le.createElement(x.Rk.Provider,{value:Xr},Zt(li.map(er=>Object.assign(Object.assign({},er),{fieldKey:er.key})),nr,{errors:or.errors,warnings:or.warnings})))};function ni(){const{form:tt}=Le.useContext(x.q3);return tt}const An=se;An.Item=Gi,An.List=gi,An.ErrorList=ot,An.useForm=an,An.useFormInstance=ni,An.useWatch=lt.useWatch,An.Provider=x.RV,An.create=()=>{};var Cn=An},75786:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Er}});var x=ae(59301),dt=ae(15277),Le=ae(92310),qe=ae.n(Le),He=ae(60499),Fe=ae(85899),Me=ae(18642),fe=ae(72190),xe=ae(43749),oe=ae(42244),Pe=/margin|padding|width|height|max|min|offset/,ye={left:!0,top:!0},Re={cssFloat:1,styleFloat:1,float:1};function Se(tn){return tn.nodeType===1?tn.ownerDocument.defaultView.getComputedStyle(tn,null):{}}function Ie(tn,$t,jn){if($t=$t.toLowerCase(),jn==="auto"){if($t==="height")return tn.offsetHeight;if($t==="width")return tn.offsetWidth}return $t in ye||(ye[$t]=Pe.test($t)),ye[$t]?parseFloat(jn)||0:jn}function ve(tn,$t){var jn=arguments.length,lr=Se(tn);return $t=Re[$t]?"cssFloat"in tn.style?"cssFloat":"styleFloat":$t,jn===1?lr:Ie(tn,$t,lr[$t]||tn.style[$t])}function we(tn,$t,jn){var lr=arguments.length;if($t=Re[$t]?"cssFloat"in tn.style?"cssFloat":"styleFloat":$t,lr===3)return typeof jn=="number"&&Pe.test($t)&&(jn="".concat(jn,"px")),tn.style[$t]=jn,jn;for(var gr in $t)$t.hasOwnProperty(gr)&&we(tn,gr,$t[gr]);return Se(tn)}function Ee(tn){return tn===document.body?document.documentElement.clientWidth:tn.offsetWidth}function Oe(tn){return tn===document.body?window.innerHeight||document.documentElement.clientHeight:tn.offsetHeight}function Ke(){var tn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),$t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:tn,height:$t}}function je(){var tn=document.documentElement.clientWidth,$t=window.innerHeight||document.documentElement.clientHeight;return{width:tn,height:$t}}function _e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Je(tn){var $t=tn.getBoundingClientRect(),jn=document.documentElement;return{left:$t.left+(window.pageXOffset||jn.scrollLeft)-(jn.clientLeft||document.body.clientLeft||0),top:$t.top+(window.pageYOffset||jn.scrollTop)-(jn.clientTop||document.body.clientTop||0)}}var Ve=ae(18929),st=ae(55311),at=ae(8224),ht=ae(10228),Ct=ae(43403),ze=ae(77900),pt=x.createContext(null),Ne=function($t){var jn=$t.visible,lr=$t.maskTransitionName,gr=$t.getContainer,Ir=$t.prefixCls,Kr=$t.rootClassName,zr=$t.icons,pi=$t.countRender,Ci=$t.showSwitch,xi=$t.showProgress,hi=$t.current,Ii=$t.transform,Di=$t.count,$i=$t.scale,no=$t.minScale,Hi=$t.maxScale,ai=$t.closeIcon,ao=$t.onActive,ki=$t.onClose,So=$t.onZoomIn,uo=$t.onZoomOut,Do=$t.onRotateRight,Co=$t.onRotateLeft,to=$t.onFlipX,Mo=$t.onFlipY,Go=$t.onReset,zo=$t.toolbarRender,No=$t.zIndex,zi=$t.image,Vt=(0,x.useContext)(pt),$r=zr.rotateLeft,ui=zr.rotateRight,Zr=zr.zoomIn,Ri=zr.zoomOut,ro=zr.close,jr=zr.left,Yr=zr.right,Bi=zr.flipX,_i=zr.flipY,Ro="".concat(Ir,"-operations-operation");x.useEffect(function(){var Ta=function(Fo){Fo.keyCode===ht.Z.ESC&&ki()};return jn&&window.addEventListener("keydown",Ta),function(){window.removeEventListener("keydown",Ta)}},[jn]);var ya=function(Za,Fo){Za.preventDefault(),Za.stopPropagation(),ao(Fo)},$o=x.useCallback(function(Ta){var Za=Ta.type,Fo=Ta.disabled,vo=Ta.onClick,qo=Ta.icon;return x.createElement("div",{key:Za,className:qe()(Ro,"".concat(Ir,"-operations-operation-").concat(Za),(0,Me.Z)({},"".concat(Ir,"-operations-operation-disabled"),!!Fo)),onClick:vo},qo)},[Ro,Ir]),Ea=Ci?$o({icon:jr,onClick:function(Za){return ya(Za,-1)},type:"prev",disabled:hi===0}):void 0,da=Ci?$o({icon:Yr,onClick:function(Za){return ya(Za,1)},type:"next",disabled:hi===Di-1}):void 0,wa=$o({icon:_i,onClick:Mo,type:"flipY"}),Wr=$o({icon:Bi,onClick:to,type:"flipX"}),Ji=$o({icon:$r,onClick:Co,type:"rotateLeft"}),xo=$o({icon:ui,onClick:Do,type:"rotateRight"}),ba=$o({icon:Ri,onClick:uo,type:"zoomOut",disabled:$i<=no}),Xa=$o({icon:Zr,onClick:So,type:"zoomIn",disabled:$i===Hi}),ns=x.createElement("div",{className:"".concat(Ir,"-operations")},wa,Wr,Ji,xo,ba,Xa);return x.createElement(ze.default,{visible:jn,motionName:lr},function(Ta){var Za=Ta.className,Fo=Ta.style;return x.createElement(Ct.Z,{open:!0,getContainer:gr!=null?gr:document.body},x.createElement("div",{className:qe()("".concat(Ir,"-operations-wrapper"),Za,Kr),style:(0,Fe.Z)((0,Fe.Z)({},Fo),{},{zIndex:No})},ai===null?null:x.createElement("button",{className:"".concat(Ir,"-close"),onClick:ki},ai||ro),Ci&&x.createElement(x.Fragment,null,x.createElement("div",{className:qe()("".concat(Ir,"-switch-left"),(0,Me.Z)({},"".concat(Ir,"-switch-left-disabled"),hi===0)),onClick:function(qo){return ya(qo,-1)}},jr),x.createElement("div",{className:qe()("".concat(Ir,"-switch-right"),(0,Me.Z)({},"".concat(Ir,"-switch-right-disabled"),hi===Di-1)),onClick:function(qo){return ya(qo,1)}},Yr)),x.createElement("div",{className:"".concat(Ir,"-footer")},xi&&x.createElement("div",{className:"".concat(Ir,"-progress")},pi?pi(hi+1,Di):"".concat(hi+1," / ").concat(Di)),zo?zo(ns,(0,Fe.Z)((0,Fe.Z)({icons:{prevIcon:Ea,nextIcon:da,flipYIcon:wa,flipXIcon:Wr,rotateLeftIcon:Ji,rotateRightIcon:xo,zoomOutIcon:ba,zoomInIcon:Xa},actions:{onActive:ao,onFlipY:Mo,onFlipX:to,onRotateLeft:Co,onRotateRight:Do,onZoomOut:uo,onZoomIn:So,onReset:Go,onClose:ki},transform:Ii},Vt?{current:hi,total:Di}:{}),{},{image:zi})):ns)))})},Qe=Ne,Ot=ae(13697),ot=ae(16089),lt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Bt(tn,$t,jn,lr){var gr=(0,x.useRef)(null),Ir=(0,x.useRef)([]),Kr=(0,x.useState)(lt),zr=(0,fe.Z)(Kr,2),pi=zr[0],Ci=zr[1],xi=function($i){Ci(lt),(0,Ot.Z)(lt,pi)||lr==null||lr({transform:lt,action:$i})},hi=function($i,no){gr.current===null&&(Ir.current=[],gr.current=(0,ot.Z)(function(){Ci(function(Hi){var ai=Hi;return Ir.current.forEach(function(ao){ai=(0,Fe.Z)((0,Fe.Z)({},ai),ao)}),gr.current=null,lr==null||lr({transform:ai,action:no}),ai})})),Ir.current.push((0,Fe.Z)((0,Fe.Z)({},pi),$i))},Ii=function($i,no,Hi,ai,ao){var ki=tn.current,So=ki.width,uo=ki.height,Do=ki.offsetWidth,Co=ki.offsetHeight,to=ki.offsetLeft,Mo=ki.offsetTop,Go=$i,zo=pi.scale*$i;zo>jn?(zo=jn,Go=jn/pi.scale):zo<$t&&(zo=ao?zo:$t,Go=zo/pi.scale);var No=Hi!=null?Hi:innerWidth/2,zi=ai!=null?ai:innerHeight/2,Vt=Go-1,$r=Vt*So*.5,ui=Vt*uo*.5,Zr=Vt*(No-pi.x-to),Ri=Vt*(zi-pi.y-Mo),ro=pi.x-(Zr-$r),jr=pi.y-(Ri-ui);if($i<1&&zo===1){var Yr=Do*zo,Bi=Co*zo,_i=je(),Ro=_i.width,ya=_i.height;Yr<=Ro&&Bi<=ya&&(ro=0,jr=0)}hi({x:ro,y:jr,scale:zo},no)};return{transform:pi,resetTransform:xi,updateTransform:hi,dispatchZoomChange:Ii}}var We=ae(48736);function ke(tn,$t,jn,lr){var gr=$t+jn,Ir=(jn-lr)/2;if(jn>lr){if($t>0)return(0,Me.Z)({},tn,Ir);if($t<0&&gr<lr)return(0,Me.Z)({},tn,-Ir)}else if($t<0||gr>lr)return(0,Me.Z)({},tn,$t<0?Ir:-Ir);return{}}function At(tn,$t,jn,lr){var gr=je(),Ir=gr.width,Kr=gr.height,zr=null;return tn<=Ir&&$t<=Kr?zr={x:0,y:0}:(tn>Ir||$t>Kr)&&(zr=(0,Fe.Z)((0,Fe.Z)({},ke("x",jn,tn,Ir)),ke("y",lr,$t,Kr))),zr}var Kt=1,Ht=1;function nt(tn,$t,jn,lr,gr,Ir,Kr){var zr=gr.rotate,pi=gr.scale,Ci=gr.x,xi=gr.y,hi=(0,x.useState)(!1),Ii=(0,fe.Z)(hi,2),Di=Ii[0],$i=Ii[1],no=(0,x.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),Hi=function(uo){!$t||uo.button!==0||(uo.preventDefault(),uo.stopPropagation(),no.current={diffX:uo.pageX-Ci,diffY:uo.pageY-xi,transformX:Ci,transformY:xi},$i(!0))},ai=function(uo){jn&&Di&&Ir({x:uo.pageX-no.current.diffX,y:uo.pageY-no.current.diffY},"move")},ao=function(){if(jn&&Di){$i(!1);var uo=no.current,Do=uo.transformX,Co=uo.transformY,to=Ci!==Do&&xi!==Co;if(!to)return;var Mo=tn.current.offsetWidth*pi,Go=tn.current.offsetHeight*pi,zo=tn.current.getBoundingClientRect(),No=zo.left,zi=zo.top,Vt=zr%180!==0,$r=At(Vt?Go:Mo,Vt?Mo:Go,No,zi);$r&&Ir((0,Fe.Z)({},$r),"dragRebound")}},ki=function(uo){if(!(!jn||uo.deltaY==0)){var Do=Math.abs(uo.deltaY/100),Co=Math.min(Do,Ht),to=Kt+Co*lr;uo.deltaY>0&&(to=Kt/to),Kr(to,"wheel",uo.clientX,uo.clientY)}};return(0,x.useEffect)(function(){var So,uo,Do,Co;if($t){Do=(0,at.Z)(window,"mouseup",ao,!1),Co=(0,at.Z)(window,"mousemove",ai,!1);try{window.top!==window.self&&(So=(0,at.Z)(window.top,"mouseup",ao,!1),uo=(0,at.Z)(window.top,"mousemove",ai,!1))}catch(to){(0,We.Kp)(!1,"[rc-image] ".concat(to))}}return function(){var to,Mo,Go,zo;(to=Do)===null||to===void 0||to.remove(),(Mo=Co)===null||Mo===void 0||Mo.remove(),(Go=So)===null||Go===void 0||Go.remove(),(zo=uo)===null||zo===void 0||zo.remove()}},[jn,Di,Ci,xi,zr,$t]),{isMoving:Di,onMouseDown:Hi,onMouseMove:ai,onMouseUp:ao,onWheel:ki}}function Pt(tn){return new Promise(function($t){if(!tn){$t(!1);return}var jn=document.createElement("img");jn.onerror=function(){return $t(!1)},jn.onload=function(){return $t(!0)},jn.src=tn})}function Rt(tn){var $t=tn.src,jn=tn.isCustomPlaceholder,lr=tn.fallback,gr=(0,x.useState)(jn?"loading":"normal"),Ir=(0,fe.Z)(gr,2),Kr=Ir[0],zr=Ir[1],pi=(0,x.useRef)(!1),Ci=Kr==="error";(0,x.useEffect)(function(){var Di=!0;return Pt($t).then(function($i){!$i&&Di&&zr("error")}),function(){Di=!1}},[$t]),(0,x.useEffect)(function(){jn&&!pi.current?zr("loading"):Ci&&zr("normal")},[$t]);var xi=function(){zr("normal")},hi=function($i){pi.current=!1,Kr==="loading"&&$i!==null&&$i!==void 0&&$i.complete&&($i.naturalWidth||$i.naturalHeight)&&(pi.current=!0,xi())},Ii=Ci&&lr?{src:lr}:{onLoad:xi,src:$t};return[hi,Ii,Kr]}function hn(tn,$t){var jn=tn.x-$t.x,lr=tn.y-$t.y;return Math.hypot(jn,lr)}function Tt(tn,$t,jn,lr){var gr=hn(tn,jn),Ir=hn($t,lr);if(gr===0&&Ir===0)return[tn.x,tn.y];var Kr=gr/(gr+Ir),zr=tn.x+Kr*($t.x-tn.x),pi=tn.y+Kr*($t.y-tn.y);return[zr,pi]}function mn(tn,$t,jn,lr,gr,Ir,Kr){var zr=gr.rotate,pi=gr.scale,Ci=gr.x,xi=gr.y,hi=(0,x.useState)(!1),Ii=(0,fe.Z)(hi,2),Di=Ii[0],$i=Ii[1],no=(0,x.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Hi=function(uo){no.current=(0,Fe.Z)((0,Fe.Z)({},no.current),uo)},ai=function(uo){if($t){uo.stopPropagation(),$i(!0);var Do=uo.touches,Co=Do===void 0?[]:Do;Co.length>1?Hi({point1:{x:Co[0].clientX,y:Co[0].clientY},point2:{x:Co[1].clientX,y:Co[1].clientY},eventType:"touchZoom"}):Hi({point1:{x:Co[0].clientX-Ci,y:Co[0].clientY-xi},eventType:"move"})}},ao=function(uo){var Do=uo.touches,Co=Do===void 0?[]:Do,to=no.current,Mo=to.point1,Go=to.point2,zo=to.eventType;if(Co.length>1&&zo==="touchZoom"){var No={x:Co[0].clientX,y:Co[0].clientY},zi={x:Co[1].clientX,y:Co[1].clientY},Vt=Tt(Mo,Go,No,zi),$r=(0,fe.Z)(Vt,2),ui=$r[0],Zr=$r[1],Ri=hn(No,zi)/hn(Mo,Go);Kr(Ri,"touchZoom",ui,Zr,!0),Hi({point1:No,point2:zi,eventType:"touchZoom"})}else zo==="move"&&(Ir({x:Co[0].clientX-Mo.x,y:Co[0].clientY-Mo.y},"move"),Hi({eventType:"move"}))},ki=function(){if(jn){if(Di&&$i(!1),Hi({eventType:"none"}),lr>pi)return Ir({x:0,y:0,scale:lr},"touchZoom");var uo=tn.current.offsetWidth*pi,Do=tn.current.offsetHeight*pi,Co=tn.current.getBoundingClientRect(),to=Co.left,Mo=Co.top,Go=zr%180!==0,zo=At(Go?Do:uo,Go?uo:Do,to,Mo);zo&&Ir((0,Fe.Z)({},zo),"dragRebound")}};return(0,x.useEffect)(function(){var So;return jn&&$t&&(So=(0,at.Z)(window,"touchmove",function(uo){return uo.preventDefault()},{passive:!1})),function(){var uo;(uo=So)===null||uo===void 0||uo.remove()}},[jn,$t]),{isTouching:Di,onTouchStart:ai,onTouchMove:ao,onTouchEnd:ki}}var kt=["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"],an=function($t){var jn=$t.fallback,lr=$t.src,gr=$t.imgRef,Ir=(0,oe.Z)($t,kt),Kr=Rt({src:lr,fallback:jn}),zr=(0,fe.Z)(Kr,2),pi=zr[0],Ci=zr[1];return x.createElement("img",(0,He.Z)({ref:function(hi){gr.current=hi,pi(hi)}},Ir,Ci))},de=function($t){var jn=$t.prefixCls,lr=$t.src,gr=$t.alt,Ir=$t.imageInfo,Kr=$t.fallback,zr=$t.movable,pi=zr===void 0?!0:zr,Ci=$t.onClose,xi=$t.visible,hi=$t.icons,Ii=hi===void 0?{}:hi,Di=$t.rootClassName,$i=$t.closeIcon,no=$t.getContainer,Hi=$t.current,ai=Hi===void 0?0:Hi,ao=$t.count,ki=ao===void 0?1:ao,So=$t.countRender,uo=$t.scaleStep,Do=uo===void 0?.5:uo,Co=$t.minScale,to=Co===void 0?1:Co,Mo=$t.maxScale,Go=Mo===void 0?50:Mo,zo=$t.transitionName,No=zo===void 0?"zoom":zo,zi=$t.maskTransitionName,Vt=zi===void 0?"fade":zi,$r=$t.imageRender,ui=$t.imgCommonProps,Zr=$t.toolbarRender,Ri=$t.onTransform,ro=$t.onChange,jr=(0,oe.Z)($t,Fn),Yr=(0,x.useRef)(),Bi=(0,x.useContext)(pt),_i=Bi&&ki>1,Ro=Bi&&ki>=1,ya=(0,x.useState)(!0),$o=(0,fe.Z)(ya,2),Ea=$o[0],da=$o[1],wa=Bt(Yr,to,Go,Ri),Wr=wa.transform,Ji=wa.resetTransform,xo=wa.updateTransform,ba=wa.dispatchZoomChange,Xa=nt(Yr,pi,xi,Do,Wr,xo,ba),ns=Xa.isMoving,Ta=Xa.onMouseDown,Za=Xa.onWheel,Fo=mn(Yr,pi,xi,to,Wr,xo,ba),vo=Fo.isTouching,qo=Fo.onTouchStart,ja=Fo.onTouchMove,ls=Fo.onTouchEnd,Fs=Wr.rotate,il=Wr.scale,tu=qe()((0,Me.Z)({},"".concat(jn,"-moving"),ns));(0,x.useEffect)(function(){Ea||da(!0)},[Ea]);var Au=function(){Ji("close")},tl=function(){ba(Kt+Do,"zoomIn")},fl=function(){ba(Kt/(Kt+Do),"zoomOut")},wu=function(){xo({rotate:Fs+90},"rotateRight")},Lu=function(){xo({rotate:Fs-90},"rotateLeft")},hl=function(){xo({flipX:!Wr.flipX},"flipX")},vc=function(){xo({flipY:!Wr.flipY},"flipY")},Du=function(){Ji("reset")},fa=function($a){var Kl=ai+$a;!Number.isInteger(Kl)||Kl<0||Kl>ki-1||(da(!1),Ji($a<0?"prev":"next"),ro==null||ro(Kl,ai))},La=function($a){!xi||!_i||($a.keyCode===ht.Z.LEFT?fa(-1):$a.keyCode===ht.Z.RIGHT&&fa(1))},ha=function($a){xi&&(il!==1?xo({x:0,y:0,scale:1},"doubleClick"):ba(Kt+Do,"doubleClick",$a.clientX,$a.clientY))};(0,x.useEffect)(function(){var Ya=(0,at.Z)(window,"keydown",La,!1);return function(){Ya.remove()}},[xi,_i,ai]);var ga=x.createElement(an,(0,He.Z)({},ui,{width:$t.width,height:$t.height,imgRef:Yr,className:"".concat(jn,"-img"),alt:gr,style:{transform:"translate3d(".concat(Wr.x,"px, ").concat(Wr.y,"px, 0) scale3d(").concat(Wr.flipX?"-":"").concat(il,", ").concat(Wr.flipY?"-":"").concat(il,", 1) rotate(").concat(Fs,"deg)"),transitionDuration:(!Ea||vo)&&"0s"},fallback:Kr,src:lr,onWheel:Za,onMouseDown:Ta,onDoubleClick:ha,onTouchStart:qo,onTouchMove:ja,onTouchEnd:ls,onTouchCancel:ls})),es=(0,Fe.Z)({url:lr,alt:gr},Ir);return x.createElement(x.Fragment,null,x.createElement(st.Z,(0,He.Z)({transitionName:No,maskTransitionName:Vt,closable:!1,keyboard:!0,prefixCls:jn,onClose:Ci,visible:xi,classNames:{wrapper:tu},rootClassName:Di,getContainer:no},jr,{afterClose:Au}),x.createElement("div",{className:"".concat(jn,"-img-wrapper")},$r?$r(ga,(0,Fe.Z)({transform:Wr,image:es},Bi?{current:ai}:{})):ga)),x.createElement(Qe,{visible:xi,transform:Wr,maskTransitionName:Vt,closeIcon:$i,getContainer:no,prefixCls:jn,rootClassName:Di,icons:Ii,countRender:So,showSwitch:_i,showProgress:Ro,current:ai,count:ki,scale:il,minScale:to,maxScale:Go,toolbarRender:Zr,onActive:fa,onZoomIn:tl,onZoomOut:fl,onRotateRight:wu,onRotateLeft:Lu,onFlipX:hl,onFlipY:vc,onClose:Ci,onReset:Du,zIndex:jr.zIndex!==void 0?jr.zIndex+1:void 0,image:es}))},ge=de,ie=ae(77654),ee=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function se(tn){var $t=x.useState({}),jn=(0,fe.Z)($t,2),lr=jn[0],gr=jn[1],Ir=x.useCallback(function(zr,pi){return gr(function(Ci){return(0,Fe.Z)((0,Fe.Z)({},Ci),{},(0,Me.Z)({},zr,pi))}),function(){gr(function(Ci){var xi=(0,Fe.Z)({},Ci);return delete xi[zr],xi})}},[]),Kr=x.useMemo(function(){return tn?tn.map(function(zr){if(typeof zr=="string")return{data:{src:zr}};var pi={};return Object.keys(zr).forEach(function(Ci){["src"].concat((0,ie.Z)(ee)).includes(Ci)&&(pi[Ci]=zr[Ci])}),{data:pi}}):Object.keys(lr).reduce(function(zr,pi){var Ci=lr[pi],xi=Ci.canPreview,hi=Ci.data;return xi&&zr.push({data:hi,id:pi}),zr},[])},[tn,lr]);return[Kr,Ir,!!tn]}var le=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Be=["src"],Ge=function($t){var jn,lr=$t.previewPrefixCls,gr=lr===void 0?"rc-image-preview":lr,Ir=$t.children,Kr=$t.icons,zr=Kr===void 0?{}:Kr,pi=$t.items,Ci=$t.preview,xi=$t.fallback,hi=(0,xe.Z)(Ci)==="object"?Ci:{},Ii=hi.visible,Di=hi.onVisibleChange,$i=hi.getContainer,no=hi.current,Hi=hi.movable,ai=hi.minScale,ao=hi.maxScale,ki=hi.countRender,So=hi.closeIcon,uo=hi.onChange,Do=hi.onTransform,Co=hi.toolbarRender,to=hi.imageRender,Mo=(0,oe.Z)(hi,le),Go=se(pi),zo=(0,fe.Z)(Go,3),No=zo[0],zi=zo[1],Vt=zo[2],$r=(0,Ve.Z)(0,{value:no}),ui=(0,fe.Z)($r,2),Zr=ui[0],Ri=ui[1],ro=(0,x.useState)(!1),jr=(0,fe.Z)(ro,2),Yr=jr[0],Bi=jr[1],_i=((jn=No[Zr])===null||jn===void 0?void 0:jn.data)||{},Ro=_i.src,ya=(0,oe.Z)(_i,Be),$o=(0,Ve.Z)(!!Ii,{value:Ii,onChange:function(vo,qo){Di==null||Di(vo,qo,Zr)}}),Ea=(0,fe.Z)($o,2),da=Ea[0],wa=Ea[1],Wr=(0,x.useState)(null),Ji=(0,fe.Z)(Wr,2),xo=Ji[0],ba=Ji[1],Xa=x.useCallback(function(Fo,vo,qo,ja){var ls=Vt?No.findIndex(function(Fs){return Fs.data.src===vo}):No.findIndex(function(Fs){return Fs.id===Fo});Ri(ls<0?0:ls),wa(!0),ba({x:qo,y:ja}),Bi(!0)},[No,Vt]);x.useEffect(function(){da?Yr||Ri(0):Bi(!1)},[da]);var ns=function(vo,qo){Ri(vo),uo==null||uo(vo,qo)},Ta=function(){wa(!1),ba(null)},Za=x.useMemo(function(){return{register:zi,onPreview:Xa}},[zi,Xa]);return x.createElement(pt.Provider,{value:Za},Ir,x.createElement(ge,(0,He.Z)({"aria-hidden":!da,movable:Hi,visible:da,prefixCls:gr,closeIcon:So,onClose:Ta,mousePosition:xo,imgCommonProps:ya,src:Ro,fallback:xi,icons:zr,minScale:ai,maxScale:ao,getContainer:$i,current:Zr,count:No.length,countRender:ki,onTransform:Do,toolbarRender:Co,imageRender:to,onChange:ns},Mo)))},ut=Ge,mt=0;function vt(tn,$t){var jn=x.useState(function(){return mt+=1,String(mt)}),lr=(0,fe.Z)(jn,1),gr=lr[0],Ir=x.useContext(pt),Kr={data:$t,canPreview:tn};return x.useEffect(function(){if(Ir)return Ir.register(gr,Kr)},[]),x.useEffect(function(){Ir&&Ir.register(gr,Kr)},[tn,$t]),gr}var St=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Dt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Qt=function($t){var jn=$t.src,lr=$t.alt,gr=$t.onPreviewClose,Ir=$t.prefixCls,Kr=Ir===void 0?"rc-image":Ir,zr=$t.previewPrefixCls,pi=zr===void 0?"".concat(Kr,"-preview"):zr,Ci=$t.placeholder,xi=$t.fallback,hi=$t.width,Ii=$t.height,Di=$t.style,$i=$t.preview,no=$i===void 0?!0:$i,Hi=$t.className,ai=$t.onClick,ao=$t.onError,ki=$t.wrapperClassName,So=$t.wrapperStyle,uo=$t.rootClassName,Do=(0,oe.Z)($t,St),Co=Ci&&Ci!==!0,to=(0,xe.Z)(no)==="object"?no:{},Mo=to.src,Go=to.visible,zo=Go===void 0?void 0:Go,No=to.onVisibleChange,zi=No===void 0?gr:No,Vt=to.getContainer,$r=Vt===void 0?void 0:Vt,ui=to.mask,Zr=to.maskClassName,Ri=to.movable,ro=to.icons,jr=to.scaleStep,Yr=to.minScale,Bi=to.maxScale,_i=to.imageRender,Ro=to.toolbarRender,ya=(0,oe.Z)(to,Dt),$o=Mo!=null?Mo:jn,Ea=(0,Ve.Z)(!!zo,{value:zo,onChange:zi}),da=(0,fe.Z)(Ea,2),wa=da[0],Wr=da[1],Ji=Rt({src:jn,isCustomPlaceholder:Co,fallback:xi}),xo=(0,fe.Z)(Ji,3),ba=xo[0],Xa=xo[1],ns=xo[2],Ta=(0,x.useState)(null),Za=(0,fe.Z)(Ta,2),Fo=Za[0],vo=Za[1],qo=(0,x.useContext)(pt),ja=!!no,ls=function(){Wr(!1),vo(null)},Fs=qe()(Kr,ki,uo,(0,Me.Z)({},"".concat(Kr,"-error"),ns==="error")),il=(0,x.useMemo)(function(){var fl={};return ee.forEach(function(wu){$t[wu]!==void 0&&(fl[wu]=$t[wu])}),fl},ee.map(function(fl){return $t[fl]})),tu=(0,x.useMemo)(function(){return(0,Fe.Z)((0,Fe.Z)({},il),{},{src:$o})},[$o,il]),Au=vt(ja,tu),tl=function(wu){var Lu=Je(wu.target),hl=Lu.left,vc=Lu.top;qo?qo.onPreview(Au,$o,hl,vc):(vo({x:hl,y:vc}),Wr(!0)),ai==null||ai(wu)};return x.createElement(x.Fragment,null,x.createElement("div",(0,He.Z)({},Do,{className:Fs,onClick:ja?tl:ai,style:(0,Fe.Z)({width:hi,height:Ii},So)}),x.createElement("img",(0,He.Z)({},il,{className:qe()("".concat(Kr,"-img"),(0,Me.Z)({},"".concat(Kr,"-img-placeholder"),Ci===!0),Hi),style:(0,Fe.Z)({height:Ii},Di),ref:ba},Xa,{width:hi,height:Ii,onError:ao})),ns==="loading"&&x.createElement("div",{"aria-hidden":"true",className:"".concat(Kr,"-placeholder")},Ci),ui&&ja&&x.createElement("div",{className:qe()("".concat(Kr,"-mask"),Zr),style:{display:(Di==null?void 0:Di.display)==="none"?"none":void 0}},ui)),!qo&&ja&&x.createElement(ge,(0,He.Z)({"aria-hidden":!wa,visible:wa,prefixCls:pi,onClose:ls,mousePosition:Fo,src:$o,alt:lr,imageInfo:{width:hi,height:Ii},fallback:xi,getContainer:$r,icons:ro,movable:Ri,scaleStep:jr,minScale:Yr,maxScale:Bi,rootClassName:uo,imageRender:_i,imgCommonProps:il,toolbarRender:Ro},ya)))};Qt.PreviewGroup=ut;var xt=Qt,ct=xt,Xt=ae(75030),Wt=ae(86641),wn=ae(48755),ln=ae(83397),nn=ae(9017),zn=ae(99267),Ln=ae(33853),_t=ae(38819),un={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"},Pn=un,Vn=ae(7657),Lt=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Pn}))},Gt=x.forwardRef(Lt),sn=Gt,bn={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"},Yn=bn,pr=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Yn}))},ti=x.forwardRef(pr),si=ti,Cr={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"},ur=Cr,dr=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:ur}))},yn=x.forwardRef(dr),$n=yn,rr={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"},Zn=rr,br=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Zn}))},Br=x.forwardRef(br),Or=Br,ci={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"},Ai=ci,di=function($t,jn){return x.createElement(Vn.Z,(0,He.Z)({},$t,{ref:jn,icon:Ai}))},Pi=x.forwardRef(di),yi=Pi,oo=ae(36237),Gi=ae(17835),ar=ae(64427),Dr=ae(63356),gi=ae(34925),ni=ae(99495),An=ae(16931),Cn=ae(51636);const tt=tn=>({position:tn||"absolute",inset:0}),pn=tn=>{const{iconCls:$t,motionDurationSlow:jn,paddingXXS:lr,marginXXS:gr,prefixCls:Ir,colorTextLightSolid:Kr}=tn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Kr,background:new Gi.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${jn}`,[`.${Ir}-mask-info`]:Object.assign(Object.assign({},Dr.vS),{padding:`0 ${(0,oo.unit)(lr)}`,[$t]:{marginInlineEnd:gr,svg:{verticalAlign:"baseline"}}})}},Zt=tn=>{const{previewCls:$t,modalMaskBg:jn,paddingSM:lr,marginXL:gr,margin:Ir,paddingLG:Kr,previewOperationColorDisabled:zr,previewOperationHoverColor:pi,motionDurationSlow:Ci,iconCls:xi,colorTextLightSolid:hi}=tn,Ii=new Gi.FastColor(jn).setA(.1),Di=Ii.clone().setA(.2);return{[`${$t}-footer`]:{position:"fixed",bottom:gr,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:tn.previewOperationColor,transform:"translateX(-50%)"},[`${$t}-progress`]:{marginBottom:Ir},[`${$t}-close`]:{position:"fixed",top:gr,right:{_skip_check_:!0,value:gr},display:"flex",color:hi,backgroundColor:Ii.toRgbString(),borderRadius:"50%",padding:lr,outline:0,border:0,cursor:"pointer",transition:`all ${Ci}`,"&:hover":{backgroundColor:Di.toRgbString()},[`& > ${xi}`]:{fontSize:tn.previewOperationSize}},[`${$t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,oo.unit)(Kr)}`,backgroundColor:Ii.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:lr,padding:lr,cursor:"pointer",transition:`all ${Ci}`,userSelect:"none",[`&:not(${$t}-operations-operation-disabled):hover > ${xi}`]:{color:pi},"&-disabled":{color:zr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${xi}`]:{fontSize:tn.previewOperationSize}}}}},vn=tn=>{const{modalMaskBg:$t,iconCls:jn,previewOperationColorDisabled:lr,previewCls:gr,zIndexPopup:Ir,motionDurationSlow:Kr}=tn,zr=new Gi.FastColor($t).setA(.1),pi=zr.clone().setA(.2);return{[`${gr}-switch-left, ${gr}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:tn.calc(Ir).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:tn.imagePreviewSwitchSize,height:tn.imagePreviewSwitchSize,marginTop:tn.calc(tn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:tn.previewOperationColor,background:zr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Kr}`,userSelect:"none","&:hover":{background:pi.toRgbString()},"&-disabled":{"&, &:hover":{color:lr,background:"transparent",cursor:"not-allowed",[`> ${jn}`]:{cursor:"not-allowed"}}},[`> ${jn}`]:{fontSize:tn.previewOperationSize}},[`${gr}-switch-left`]:{insetInlineStart:tn.marginSM},[`${gr}-switch-right`]:{insetInlineEnd:tn.marginSM}}},On=tn=>{const{motionEaseOut:$t,previewCls:jn,motionDurationSlow:lr,componentCls:gr}=tn;return[{[`${gr}-preview-root`]:{[jn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${jn}-body`]:Object.assign(Object.assign({},tt()),{overflow:"hidden"}),[`${jn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${lr} ${$t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},tt()),{transition:`transform ${lr} ${$t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${jn}-moving`]:{[`${jn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${gr}-preview-root`]:{[`${jn}-wrap`]:{zIndex:tn.zIndexPopup}}},{[`${gr}-preview-operations-wrapper`]:{position:"fixed",zIndex:tn.calc(tn.zIndexPopup).add(1).equal()},"&":[Zt(tn),vn(tn)]}]},Rr=tn=>{const{componentCls:$t}=tn;return{[$t]:{position:"relative",display:"inline-block",[`${$t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${$t}-img-placeholder`]:{backgroundColor:tn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${$t}-mask`]:Object.assign({},pn(tn)),[`${$t}-mask:hover`]:{opacity:1},[`${$t}-placeholder`]:Object.assign({},tt())}}},Xr=tn=>{const{previewCls:$t}=tn;return{[`${$t}-root`]:(0,gi._y)(tn,"zoom"),"&":(0,ni.J$)(tn,!0)}},li=tn=>({zIndexPopup:tn.zIndexPopupBase+80,previewOperationColor:new Gi.FastColor(tn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Gi.FastColor(tn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Gi.FastColor(tn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:tn.fontSizeIcon*1.5});var nr=(0,An.I$)("Image",tn=>{const $t=`${tn.componentCls}-preview`,jn=(0,Cn.mergeToken)(tn,{previewCls:$t,modalMaskBg:new Gi.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:tn.controlHeightLG});return[Rr(jn),On(jn),(0,ar.QA)((0,Cn.mergeToken)(jn,{componentCls:$t})),Xr(jn)]},li),or=function(tn,$t){var jn={};for(var lr in tn)Object.prototype.hasOwnProperty.call(tn,lr)&&$t.indexOf(lr)<0&&(jn[lr]=tn[lr]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gr=0,lr=Object.getOwnPropertySymbols(tn);gr<lr.length;gr++)$t.indexOf(lr[gr])<0&&Object.prototype.propertyIsEnumerable.call(tn,lr[gr])&&(jn[lr[gr]]=tn[lr[gr]]);return jn};const er={rotateLeft:x.createElement(sn,null),rotateRight:x.createElement(si,null),zoomIn:x.createElement(Or,null),zoomOut:x.createElement(yi,null),close:x.createElement(zn.Z,null),left:x.createElement(Ln.Z,null),right:x.createElement(_t.Z,null),flipX:x.createElement($n,null),flipY:x.createElement($n,{rotate:90})};var Ti=tn=>{var{previewPrefixCls:$t,preview:jn}=tn,lr=or(tn,["previewPrefixCls","preview"]);const{getPrefixCls:gr}=x.useContext(wn.E_),Ir=gr("image",$t),Kr=`${Ir}-preview`,zr=gr(),pi=(0,ln.Z)(Ir),[Ci,xi,hi]=nr(Ir,pi),[Ii]=(0,Xt.Cn)("ImagePreview",typeof jn=="object"?jn.zIndex:void 0),Di=x.useMemo(()=>{var $i;if(jn===!1)return jn;const no=typeof jn=="object"?jn:{},Hi=qe()(xi,hi,pi,($i=no.rootClassName)!==null&&$i!==void 0?$i:"");return Object.assign(Object.assign({},no),{transitionName:(0,Wt.m)(zr,"zoom",no.transitionName),maskTransitionName:(0,Wt.m)(zr,"fade",no.maskTransitionName),rootClassName:Hi,zIndex:Ii})},[jn]);return Ci(x.createElement(ct.PreviewGroup,Object.assign({preview:Di,previewPrefixCls:Kr,icons:er},lr)))},bi=function(tn,$t){var jn={};for(var lr in tn)Object.prototype.hasOwnProperty.call(tn,lr)&&$t.indexOf(lr)<0&&(jn[lr]=tn[lr]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gr=0,lr=Object.getOwnPropertySymbols(tn);gr<lr.length;gr++)$t.indexOf(lr[gr])<0&&Object.prototype.propertyIsEnumerable.call(tn,lr[gr])&&(jn[lr[gr]]=tn[lr[gr]]);return jn};const Xi=tn=>{const{prefixCls:$t,preview:jn,className:lr,rootClassName:gr,style:Ir}=tn,Kr=bi(tn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:zr,getPopupContainer:pi,className:Ci,style:xi,preview:hi}=(0,wn.dj)("image"),[Ii]=(0,nn.Z)("Image"),Di=zr("image",$t),$i=zr(),no=(0,ln.Z)(Di),[Hi,ai,ao]=nr(Di,no),ki=qe()(gr,ai,ao,no),So=qe()(lr,ai,Ci),[uo]=(0,Xt.Cn)("ImagePreview",typeof jn=="object"?jn.zIndex:void 0),Do=x.useMemo(()=>{if(jn===!1)return jn;const to=typeof jn=="object"?jn:{},{getContainer:Mo,closeIcon:Go,rootClassName:zo}=to,No=bi(to,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:x.createElement("div",{className:`${Di}-mask-info`},x.createElement(dt.Z,null),Ii==null?void 0:Ii.preview),icons:er},No),{rootClassName:qe()(ki,zo),getContainer:Mo!=null?Mo:pi,transitionName:(0,Wt.m)($i,"zoom",to.transitionName),maskTransitionName:(0,Wt.m)($i,"fade",to.maskTransitionName),zIndex:uo,closeIcon:Go!=null?Go:hi==null?void 0:hi.closeIcon})},[jn,Ii,hi==null?void 0:hi.closeIcon]),Co=Object.assign(Object.assign({},xi),Ir);return Hi(x.createElement(ct,Object.assign({prefixCls:Di,preview:Do,rootClassName:ki,className:So,style:Co},Kr)))};Xi.PreviewGroup=Ti;var Er=Xi},4875:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Vn}});var x=ae(59301),dt=ae(84105),Le=ae(87395),qe=ae(92310),He=ae.n(qe),Fe=ae(60499),Me=ae(18642),fe=ae(43749),xe=ae(72190),oe=ae(42244),Pe=ae(38705),ye=ae(17212);function Re(){return typeof BigInt=="function"}function Se(Lt){return!Lt&&Lt!==0&&!Number.isNaN(Lt)||!String(Lt).trim()}function Ie(Lt){var Gt=Lt.trim(),sn=Gt.startsWith("-");sn&&(Gt=Gt.slice(1)),Gt=Gt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Gt.startsWith(".")&&(Gt="0".concat(Gt));var bn=Gt||"0",Yn=bn.split("."),pr=Yn[0]||"0",ti=Yn[1]||"0";pr==="0"&&ti==="0"&&(sn=!1);var si=sn?"-":"";return{negative:sn,negativeStr:si,trimStr:bn,integerStr:pr,decimalStr:ti,fullStr:"".concat(si).concat(bn)}}function ve(Lt){var Gt=String(Lt);return!Number.isNaN(Number(Gt))&&Gt.includes("e")}function we(Lt){var Gt=String(Lt);if(ve(Lt)){var sn=Number(Gt.slice(Gt.indexOf("e-")+2)),bn=Gt.match(/\.(\d+)/);return bn!=null&&bn[1]&&(sn+=bn[1].length),sn}return Gt.includes(".")&&Oe(Gt)?Gt.length-Gt.indexOf(".")-1:0}function Ee(Lt){var Gt=String(Lt);if(ve(Lt)){if(Lt>Number.MAX_SAFE_INTEGER)return String(Re()?BigInt(Lt).toString():Number.MAX_SAFE_INTEGER);if(Lt<Number.MIN_SAFE_INTEGER)return String(Re()?BigInt(Lt).toString():Number.MIN_SAFE_INTEGER);Gt=Lt.toFixed(we(Gt))}return Ie(Gt).fullStr}function Oe(Lt){return typeof Lt=="number"?!Number.isNaN(Lt):Lt?/^\s*-?\d+(\.\d+)?\s*$/.test(Lt)||/^\s*-?\d+\.\s*$/.test(Lt)||/^\s*-?\.\d+\s*$/.test(Lt):!1}var Ke=function(){function Lt(Gt){if((0,Pe.Z)(this,Lt),(0,Me.Z)(this,"origin",""),(0,Me.Z)(this,"negative",void 0),(0,Me.Z)(this,"integer",void 0),(0,Me.Z)(this,"decimal",void 0),(0,Me.Z)(this,"decimalLen",void 0),(0,Me.Z)(this,"empty",void 0),(0,Me.Z)(this,"nan",void 0),Se(Gt)){this.empty=!0;return}if(this.origin=String(Gt),Gt==="-"||Number.isNaN(Gt)){this.nan=!0;return}var sn=Gt;if(ve(sn)&&(sn=Number(sn)),sn=typeof sn=="string"?sn:Ee(sn),Oe(sn)){var bn=Ie(sn);this.negative=bn.negative;var Yn=bn.trimStr.split(".");this.integer=BigInt(Yn[0]);var pr=Yn[1]||"0";this.decimal=BigInt(pr),this.decimalLen=pr.length}else this.nan=!0}return(0,ye.Z)(Lt,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(sn){var bn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(sn,"0"));return BigInt(bn)}},{key:"negate",value:function(){var sn=new Lt(this.toString());return sn.negative=!sn.negative,sn}},{key:"cal",value:function(sn,bn,Yn){var pr=Math.max(this.getDecimalStr().length,sn.getDecimalStr().length),ti=this.alignDecimal(pr),si=sn.alignDecimal(pr),Cr=bn(ti,si).toString(),ur=Yn(pr),dr=Ie(Cr),yn=dr.negativeStr,$n=dr.trimStr,rr="".concat(yn).concat($n.padStart(ur+1,"0"));return new Lt("".concat(rr.slice(0,-ur),".").concat(rr.slice(-ur)))}},{key:"add",value:function(sn){if(this.isInvalidate())return new Lt(sn);var bn=new Lt(sn);return bn.isInvalidate()?this:this.cal(bn,function(Yn,pr){return Yn+pr},function(Yn){return Yn})}},{key:"multi",value:function(sn){var bn=new Lt(sn);return this.isInvalidate()||bn.isInvalidate()?new Lt(NaN):this.cal(bn,function(Yn,pr){return Yn*pr},function(Yn){return Yn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(sn){return this.toString()===(sn==null?void 0:sn.toString())}},{key:"lessEquals",value:function(sn){return this.add(sn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return sn?this.isInvalidate()?"":Ie("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Lt}(),je=function(){function Lt(Gt){if((0,Pe.Z)(this,Lt),(0,Me.Z)(this,"origin",""),(0,Me.Z)(this,"number",void 0),(0,Me.Z)(this,"empty",void 0),Se(Gt)){this.empty=!0;return}this.origin=String(Gt),this.number=Number(Gt)}return(0,ye.Z)(Lt,[{key:"negate",value:function(){return new Lt(-this.toNumber())}},{key:"add",value:function(sn){if(this.isInvalidate())return new Lt(sn);var bn=Number(sn);if(Number.isNaN(bn))return this;var Yn=this.number+bn;if(Yn>Number.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(Yn<Number.MIN_SAFE_INTEGER)return new Lt(Number.MIN_SAFE_INTEGER);var pr=Math.max(we(this.number),we(bn));return new Lt(Yn.toFixed(pr))}},{key:"multi",value:function(sn){var bn=Number(sn);if(this.isInvalidate()||Number.isNaN(bn))return new Lt(NaN);var Yn=this.number*bn;if(Yn>Number.MAX_SAFE_INTEGER)return new Lt(Number.MAX_SAFE_INTEGER);if(Yn<Number.MIN_SAFE_INTEGER)return new Lt(Number.MIN_SAFE_INTEGER);var pr=Math.max(we(this.number),we(bn));return new Lt(Yn.toFixed(pr))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(sn){return this.toNumber()===(sn==null?void 0:sn.toNumber())}},{key:"lessEquals",value:function(sn){return this.add(sn.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return sn?this.isInvalidate()?"":Ee(this.number):this.origin}}]),Lt}();function _e(Lt){return Re()?new Ke(Lt):new je(Lt)}function Je(Lt,Gt,sn){var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Lt==="")return"";var Yn=Ie(Lt),pr=Yn.negativeStr,ti=Yn.integerStr,si=Yn.decimalStr,Cr="".concat(Gt).concat(si),ur="".concat(pr).concat(ti);if(sn>=0){var dr=Number(si[sn]);if(dr>=5&&!bn){var yn=_e(Lt).add("".concat(pr,"0.").concat("0".repeat(sn)).concat(10-dr));return Je(yn.toString(),Gt,sn,bn)}return sn===0?ur:"".concat(ur).concat(Gt).concat(si.padEnd(sn,"0").slice(0,sn))}return Cr===".0"?ur:"".concat(ur).concat(Cr)}var Ve=_e,st=ae(36901),at=ae(34280);function ht(Lt,Gt){return typeof Proxy!="undefined"&&Lt?new Proxy(Lt,{get:function(bn,Yn){if(Gt[Yn])return Gt[Yn];var pr=bn[Yn];return typeof pr=="function"?pr.bind(bn):pr}}):Lt}var Ct=ae(8654),ze=ae(48736);function pt(Lt,Gt){var sn=(0,x.useRef)(null);function bn(){try{var pr=Lt.selectionStart,ti=Lt.selectionEnd,si=Lt.value,Cr=si.substring(0,pr),ur=si.substring(ti);sn.current={start:pr,end:ti,value:si,beforeTxt:Cr,afterTxt:ur}}catch(dr){}}function Yn(){if(Lt&&sn.current&&Gt)try{var pr=Lt.value,ti=sn.current,si=ti.beforeTxt,Cr=ti.afterTxt,ur=ti.start,dr=pr.length;if(pr.startsWith(si))dr=si.length;else if(pr.endsWith(Cr))dr=pr.length-sn.current.afterTxt.length;else{var yn=si[ur-1],$n=pr.indexOf(yn,ur-1);$n!==-1&&(dr=$n+1)}Lt.setSelectionRange(dr,dr)}catch(rr){(0,ze.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(rr.message))}}return[bn,Yn]}var Ne=ae(49658),Qe=function(){var Gt=(0,x.useState)(!1),sn=(0,xe.Z)(Gt,2),bn=sn[0],Yn=sn[1];return(0,at.Z)(function(){Yn((0,Ne.Z)())},[]),bn},Ot=Qe,ot=ae(16089),lt=200,Bt=600;function We(Lt){var Gt=Lt.prefixCls,sn=Lt.upNode,bn=Lt.downNode,Yn=Lt.upDisabled,pr=Lt.downDisabled,ti=Lt.onStep,si=x.useRef(),Cr=x.useRef([]),ur=x.useRef();ur.current=ti;var dr=function(){clearTimeout(si.current)},yn=function(Ai,di){Ai.preventDefault(),dr(),ur.current(di);function Pi(){ur.current(di),si.current=setTimeout(Pi,lt)}si.current=setTimeout(Pi,Bt)};x.useEffect(function(){return function(){dr(),Cr.current.forEach(function(ci){return ot.Z.cancel(ci)})}},[]);var $n=Ot();if($n)return null;var rr="".concat(Gt,"-handler"),Zn=He()(rr,"".concat(rr,"-up"),(0,Me.Z)({},"".concat(rr,"-up-disabled"),Yn)),br=He()(rr,"".concat(rr,"-down"),(0,Me.Z)({},"".concat(rr,"-down-disabled"),pr)),Br=function(){return Cr.current.push((0,ot.Z)(dr))},Or={unselectable:"on",role:"button",onMouseUp:Br,onMouseLeave:Br};return x.createElement("div",{className:"".concat(rr,"-wrap")},x.createElement("span",(0,Fe.Z)({},Or,{onMouseDown:function(Ai){yn(Ai,!0)},"aria-label":"Increase Value","aria-disabled":Yn,className:Zn}),sn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-up-inner")})),x.createElement("span",(0,Fe.Z)({},Or,{onMouseDown:function(Ai){yn(Ai,!1)},"aria-label":"Decrease Value","aria-disabled":pr,className:br}),bn||x.createElement("span",{unselectable:"on",className:"".concat(Gt,"-handler-down-inner")})))}function ke(Lt){var Gt=typeof Lt=="number"?Ee(Lt):Ie(Lt).fullStr,sn=Gt.includes(".");return sn?Ie(Gt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Lt+"0"}var At=ae(30292),Kt=function(){var Lt=(0,x.useRef)(0),Gt=function(){ot.Z.cancel(Lt.current)};return(0,x.useEffect)(function(){return Gt},[]),function(sn){Gt(),Lt.current=(0,ot.Z)(function(){sn()})}},Ht=["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"],nt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Pt=function(Gt,sn){return Gt||sn.isEmpty()?sn.toString():sn.toNumber()},Rt=function(Gt){var sn=Ve(Gt);return sn.isInvalidate()?null:sn},hn=x.forwardRef(function(Lt,Gt){var sn=Lt.prefixCls,bn=Lt.className,Yn=Lt.style,pr=Lt.min,ti=Lt.max,si=Lt.step,Cr=si===void 0?1:si,ur=Lt.defaultValue,dr=Lt.value,yn=Lt.disabled,$n=Lt.readOnly,rr=Lt.upHandler,Zn=Lt.downHandler,br=Lt.keyboard,Br=Lt.changeOnWheel,Or=Br===void 0?!1:Br,ci=Lt.controls,Ai=ci===void 0?!0:ci,di=Lt.classNames,Pi=Lt.stringMode,yi=Lt.parser,oo=Lt.formatter,Gi=Lt.precision,ar=Lt.decimalSeparator,Dr=Lt.onChange,gi=Lt.onInput,ni=Lt.onPressEnter,An=Lt.onStep,Cn=Lt.changeOnBlur,tt=Cn===void 0?!0:Cn,pn=Lt.domRef,Zt=(0,oe.Z)(Lt,Ht),vn="".concat(sn,"-input"),On=x.useRef(null),Rr=x.useState(!1),Xr=(0,xe.Z)(Rr,2),li=Xr[0],nr=Xr[1],or=x.useRef(!1),er=x.useRef(!1),_r=x.useRef(!1),Ti=x.useState(function(){return Ve(dr!=null?dr:ur)}),bi=(0,xe.Z)(Ti,2),Xi=bi[0],Er=bi[1];function tn(ui){dr===void 0&&Er(ui)}var $t=x.useCallback(function(ui,Zr){if(!Zr)return Gi>=0?Gi:Math.max(we(ui),we(Cr))},[Gi,Cr]),jn=x.useCallback(function(ui){var Zr=String(ui);if(yi)return yi(Zr);var Ri=Zr;return ar&&(Ri=Ri.replace(ar,".")),Ri.replace(/[^\w.-]+/g,"")},[yi,ar]),lr=x.useRef(""),gr=x.useCallback(function(ui,Zr){if(oo)return oo(ui,{userTyping:Zr,input:String(lr.current)});var Ri=typeof ui=="number"?Ee(ui):ui;if(!Zr){var ro=$t(Ri,Zr);if(Oe(Ri)&&(ar||ro>=0)){var jr=ar||".";Ri=Je(Ri,jr,ro)}}return Ri},[oo,$t,ar]),Ir=x.useState(function(){var ui=ur!=null?ur:dr;return Xi.isInvalidate()&&["string","number"].includes((0,fe.Z)(ui))?Number.isNaN(ui)?"":ui:gr(Xi.toString(),!1)}),Kr=(0,xe.Z)(Ir,2),zr=Kr[0],pi=Kr[1];lr.current=zr;function Ci(ui,Zr){pi(gr(ui.isInvalidate()?ui.toString(!1):ui.toString(!Zr),Zr))}var xi=x.useMemo(function(){return Rt(ti)},[ti,Gi]),hi=x.useMemo(function(){return Rt(pr)},[pr,Gi]),Ii=x.useMemo(function(){return!xi||!Xi||Xi.isInvalidate()?!1:xi.lessEquals(Xi)},[xi,Xi]),Di=x.useMemo(function(){return!hi||!Xi||Xi.isInvalidate()?!1:Xi.lessEquals(hi)},[hi,Xi]),$i=pt(On.current,li),no=(0,xe.Z)($i,2),Hi=no[0],ai=no[1],ao=function(Zr){return xi&&!Zr.lessEquals(xi)?xi:hi&&!hi.lessEquals(Zr)?hi:null},ki=function(Zr){return!ao(Zr)},So=function(Zr,Ri){var ro=Zr,jr=ki(ro)||ro.isEmpty();if(!ro.isEmpty()&&!Ri&&(ro=ao(ro)||ro,jr=!0),!$n&&!yn&&jr){var Yr=ro.toString(),Bi=$t(Yr,Ri);return Bi>=0&&(ro=Ve(Je(Yr,".",Bi)),ki(ro)||(ro=Ve(Je(Yr,".",Bi,!0)))),ro.equals(Xi)||(tn(ro),Dr==null||Dr(ro.isEmpty()?null:Pt(Pi,ro)),dr===void 0&&Ci(ro,Ri)),ro}return Xi},uo=Kt(),Do=function ui(Zr){if(Hi(),lr.current=Zr,pi(Zr),!er.current){var Ri=jn(Zr),ro=Ve(Ri);ro.isNaN()||So(ro,!0)}gi==null||gi(Zr),uo(function(){var jr=Zr;yi||(jr=Zr.replace(/。/g,".")),jr!==Zr&&ui(jr)})},Co=function(){er.current=!0},to=function(){er.current=!1,Do(On.current.value)},Mo=function(Zr){Do(Zr.target.value)},Go=function(Zr){var Ri;if(!(Zr&&Ii||!Zr&&Di)){or.current=!1;var ro=Ve(_r.current?ke(Cr):Cr);Zr||(ro=ro.negate());var jr=(Xi||Ve(0)).add(ro.toString()),Yr=So(jr,!1);An==null||An(Pt(Pi,Yr),{offset:_r.current?ke(Cr):Cr,type:Zr?"up":"down"}),(Ri=On.current)===null||Ri===void 0||Ri.focus()}},zo=function(Zr){var Ri=Ve(jn(zr)),ro;Ri.isNaN()?ro=So(Xi,Zr):ro=So(Ri,Zr),dr!==void 0?Ci(Xi,!1):ro.isNaN()||Ci(ro,!1)},No=function(){or.current=!0},zi=function(Zr){var Ri=Zr.key,ro=Zr.shiftKey;or.current=!0,_r.current=ro,Ri==="Enter"&&(er.current||(or.current=!1),zo(!1),ni==null||ni(Zr)),br!==!1&&!er.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ri)&&(Go(Ri==="Up"||Ri==="ArrowUp"),Zr.preventDefault())},Vt=function(){or.current=!1,_r.current=!1};x.useEffect(function(){if(Or&&li){var ui=function(ro){Go(ro.deltaY<0),ro.preventDefault()},Zr=On.current;if(Zr)return Zr.addEventListener("wheel",ui,{passive:!1}),function(){return Zr.removeEventListener("wheel",ui)}}});var $r=function(){tt&&zo(!1),nr(!1),or.current=!1};return(0,at.o)(function(){Xi.isInvalidate()||Ci(Xi,!1)},[Gi,oo]),(0,at.o)(function(){var ui=Ve(dr);Er(ui);var Zr=Ve(jn(zr));(!ui.equals(Zr)||!or.current||oo)&&Ci(ui,or.current)},[dr]),(0,at.o)(function(){oo&&ai()},[zr]),x.createElement("div",{ref:pn,className:He()(sn,bn,(0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)((0,Me.Z)({},"".concat(sn,"-focused"),li),"".concat(sn,"-disabled"),yn),"".concat(sn,"-readonly"),$n),"".concat(sn,"-not-a-number"),Xi.isNaN()),"".concat(sn,"-out-of-range"),!Xi.isInvalidate()&&!ki(Xi))),style:Yn,onFocus:function(){nr(!0)},onBlur:$r,onKeyDown:zi,onKeyUp:Vt,onCompositionStart:Co,onCompositionEnd:to,onBeforeInput:No},Ai&&x.createElement(We,{prefixCls:sn,upNode:rr,downNode:Zn,upDisabled:Ii,downDisabled:Di,onStep:Go}),x.createElement("div",{className:"".concat(vn,"-wrap")},x.createElement("input",(0,Fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":pr,"aria-valuemax":ti,"aria-valuenow":Xi.isInvalidate()?null:Xi.toString(),step:Cr},Zt,{ref:(0,Ct.sQ)(On,Gt),className:vn,value:zr,onChange:Mo,disabled:yn,readOnly:$n}))))}),Tt=x.forwardRef(function(Lt,Gt){var sn=Lt.disabled,bn=Lt.style,Yn=Lt.prefixCls,pr=Yn===void 0?"rc-input-number":Yn,ti=Lt.value,si=Lt.prefix,Cr=Lt.suffix,ur=Lt.addonBefore,dr=Lt.addonAfter,yn=Lt.className,$n=Lt.classNames,rr=(0,oe.Z)(Lt,nt),Zn=x.useRef(null),br=x.useRef(null),Br=x.useRef(null),Or=function(Ai){Br.current&&(0,At.nH)(Br.current,Ai)};return x.useImperativeHandle(Gt,function(){return ht(Br.current,{focus:Or,nativeElement:Zn.current.nativeElement||br.current})}),x.createElement(st.BaseInput,{className:yn,triggerFocus:Or,prefixCls:pr,value:ti,disabled:sn,style:bn,prefix:si,suffix:Cr,addonAfter:dr,addonBefore:ur,classNames:$n,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Zn},x.createElement(hn,(0,Fe.Z)({prefixCls:pr,disabled:sn,ref:Br,domRef:br,className:$n==null?void 0:$n.input},rr)))}),mn=Tt,kt=mn,Fn=ae(62487),an=ae(82855),de=ae(48755),ge=ae(60840),ie=ae(2171),ee=ae(83397),se=ae(31756),le=ae(56553),Be=ae(24971),Ge=ae(70045),ut=ae(36237),mt=ae(53075),vt=ae(64910),St=ae(39082),Dt=ae(63356),Qt=ae(56119),xt=ae(16931),ct=ae(51636),Xt=ae(17835);const Wt=Lt=>{var Gt;const sn=(Gt=Lt.handleVisible)!==null&&Gt!==void 0?Gt:"auto",bn=Lt.controlHeightSM-Lt.lineWidth*2;return Object.assign(Object.assign({},(0,vt.T)(Lt)),{controlWidth:90,handleWidth:bn,handleFontSize:Lt.fontSize/2,handleVisible:sn,handleActiveBg:Lt.colorFillAlter,handleBg:Lt.colorBgContainer,filledHandleBg:new Xt.FastColor(Lt.colorFillSecondary).onBackground(Lt.colorBgContainer).toHexString(),handleHoverColor:Lt.colorPrimary,handleBorderColor:Lt.colorBorder,handleOpacity:sn===!0?1:0,handleVisibleWidth:sn===!0?bn:0})},wn=(Lt,Gt)=>{let{componentCls:sn,borderRadiusSM:bn,borderRadiusLG:Yn}=Lt;const pr=Gt==="lg"?Yn:bn;return{[`&-${Gt}`]:{[`${sn}-handler-wrap`]:{borderStartEndRadius:pr,borderEndEndRadius:pr},[`${sn}-handler-up`]:{borderStartEndRadius:pr},[`${sn}-handler-down`]:{borderEndEndRadius:pr}}}},ln=Lt=>{const{componentCls:Gt,lineWidth:sn,lineType:bn,borderRadius:Yn,inputFontSizeSM:pr,inputFontSizeLG:ti,controlHeightLG:si,controlHeightSM:Cr,colorError:ur,paddingInlineSM:dr,paddingBlockSM:yn,paddingBlockLG:$n,paddingInlineLG:rr,colorTextDescription:Zn,motionDurationMid:br,handleHoverColor:Br,handleOpacity:Or,paddingInline:ci,paddingBlock:Ai,handleBg:di,handleActiveBg:Pi,colorTextDisabled:yi,borderRadiusSM:oo,borderRadiusLG:Gi,controlWidth:ar,handleBorderColor:Dr,filledHandleBg:gi,lineHeightLG:ni,calc:An}=Lt;return[{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,mt.ik)(Lt)),{display:"inline-block",width:ar,margin:0,padding:0,borderRadius:Yn}),(0,St.qG)(Lt,{[`${Gt}-handler-wrap`]:{background:di,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`}}})),(0,St.H8)(Lt,{[`${Gt}-handler-wrap`]:{background:gi,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`}},"&:focus-within":{[`${Gt}-handler-wrap`]:{background:di}}})),(0,St.vc)(Lt,{[`${Gt}-handler-wrap`]:{background:di,[`${Gt}-handler-down`]:{borderBlockStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`}}})),(0,St.Mu)(Lt)),{"&-rtl":{direction:"rtl",[`${Gt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ti,lineHeight:ni,borderRadius:Gi,[`input${Gt}-input`]:{height:An(si).sub(An(sn).mul(2)).equal(),padding:`${(0,ut.unit)($n)} ${(0,ut.unit)(rr)}`}},"&-sm":{padding:0,fontSize:pr,borderRadius:oo,[`input${Gt}-input`]:{height:An(Cr).sub(An(sn).mul(2)).equal(),padding:`${(0,ut.unit)(yn)} ${(0,ut.unit)(dr)}`}},"&-out-of-range":{[`${Gt}-input-wrap`]:{input:{color:ur}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),(0,mt.s7)(Lt)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Gt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Gt}-group-addon`]:{borderRadius:Gi,fontSize:Lt.fontSizeLG}},"&-sm":{[`${Gt}-group-addon`]:{borderRadius:oo}}},(0,St.ir)(Lt)),(0,St.S5)(Lt)),{[`&:not(${Gt}-compact-first-item):not(${Gt}-compact-last-item)${Gt}-compact-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderRadius:0}},[`&:not(${Gt}-compact-last-item)${Gt}-compact-first-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Gt}-compact-first-item)${Gt}-compact-last-item`]:{[`${Gt}, ${Gt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Gt}-input`]:{cursor:"not-allowed"},[Gt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Dt.Wf)(Lt)),{width:"100%",padding:`${(0,ut.unit)(Ai)} ${(0,ut.unit)(ci)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Yn,outline:0,transition:`all ${br} linear`,appearance:"textfield",fontSize:"inherit"}),(0,mt.nz)(Lt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1}})},{[Gt]:Object.assign(Object.assign(Object.assign({[`${Gt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Lt.handleVisibleWidth,opacity:Or,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Yn,borderEndEndRadius:Yn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${br}`,overflow:"hidden",[`${Gt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${Gt}-handler-up-inner,
${Gt}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:Lt.handleFontSize}}},[`${Gt}-handler`]:{height:"50%",overflow:"hidden",color:Zn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,ut.unit)(sn)} ${bn} ${Dr}`,transition:`all ${br} linear`,"&:active":{background:Pi},"&:hover":{height:"60%",[`
${Gt}-handler-up-inner,
${Gt}-handler-down-inner
`]:{color:Br}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Dt.Ro)()),{color:Zn,transition:`all ${br} linear`,userSelect:"none"})},[`${Gt}-handler-up`]:{borderStartEndRadius:Yn},[`${Gt}-handler-down`]:{borderEndEndRadius:Yn}},wn(Lt,"lg")),wn(Lt,"sm")),{"&-disabled, &-readonly":{[`${Gt}-handler-wrap`]:{display:"none"},[`${Gt}-input`]:{color:"inherit"}},[`
${Gt}-handler-up-disabled,
${Gt}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${Gt}-handler-up-disabled:hover &-handler-up-inner,
${Gt}-handler-down-disabled:hover &-handler-down-inner
`]:{color:yi}})}]},nn=Lt=>{const{componentCls:Gt,paddingBlock:sn,paddingInline:bn,inputAffixPadding:Yn,controlWidth:pr,borderRadiusLG:ti,borderRadiusSM:si,paddingInlineLG:Cr,paddingInlineSM:ur,paddingBlockLG:dr,paddingBlockSM:yn,motionDurationMid:$n}=Lt;return{[`${Gt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Gt}-input`]:{padding:`${(0,ut.unit)(sn)} 0`}},(0,mt.ik)(Lt)),{position:"relative",display:"inline-flex",alignItems:"center",width:pr,padding:0,paddingInlineStart:bn,"&-lg":{borderRadius:ti,paddingInlineStart:Cr,[`input${Gt}-input`]:{padding:`${(0,ut.unit)(dr)} 0`}},"&-sm":{borderRadius:si,paddingInlineStart:ur,[`input${Gt}-input`]:{padding:`${(0,ut.unit)(yn)} 0`}},[`&:not(${Gt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Gt}-disabled`]:{background:"transparent"},[`> div${Gt}`]:{width:"100%",border:"none",outline:"none",[`&${Gt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Gt}-handler-wrap`]:{zIndex:2},[Gt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Yn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:bn,marginInlineStart:Yn,transition:`margin ${$n}`}},[`&:hover ${Gt}-handler-wrap, &-focused ${Gt}-handler-wrap`]:{width:Lt.handleWidth,opacity:1},[`&:not(${Gt}-affix-wrapper-without-controls):hover ${Gt}-suffix`]:{marginInlineEnd:Lt.calc(Lt.handleWidth).add(bn).equal()}})}};var zn=(0,xt.I$)("InputNumber",Lt=>{const Gt=(0,ct.mergeToken)(Lt,(0,vt.e)(Lt));return[ln(Gt),nn(Gt),(0,Qt.c)(Gt)]},Wt,{unitless:{handleOpacity:!0}}),Ln=function(Lt,Gt){var sn={};for(var bn in Lt)Object.prototype.hasOwnProperty.call(Lt,bn)&&Gt.indexOf(bn)<0&&(sn[bn]=Lt[bn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yn=0,bn=Object.getOwnPropertySymbols(Lt);Yn<bn.length;Yn++)Gt.indexOf(bn[Yn])<0&&Object.prototype.propertyIsEnumerable.call(Lt,bn[Yn])&&(sn[bn[Yn]]=Lt[bn[Yn]]);return sn};const _t=x.forwardRef((Lt,Gt)=>{const{getPrefixCls:sn,direction:bn}=x.useContext(de.E_),Yn=x.useRef(null);x.useImperativeHandle(Gt,()=>Yn.current);const{className:pr,rootClassName:ti,size:si,disabled:Cr,prefixCls:ur,addonBefore:dr,addonAfter:yn,prefix:$n,suffix:rr,bordered:Zn,readOnly:br,status:Br,controls:Or,variant:ci}=Lt,Ai=Ln(Lt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),di=sn("input-number",ur),Pi=(0,ee.Z)(di),[yi,oo,Gi]=zn(di,Pi),{compactSize:ar,compactItemClassnames:Dr}=(0,Ge.ri)(di,bn);let gi=x.createElement(Le.Z,{className:`${di}-handler-up-inner`}),ni=x.createElement(dt.Z,{className:`${di}-handler-down-inner`});const An=typeof Or=="boolean"?Or:void 0;typeof Or=="object"&&(gi=typeof Or.upIcon=="undefined"?gi:x.createElement("span",{className:`${di}-handler-up-inner`},Or.upIcon),ni=typeof Or.downIcon=="undefined"?ni:x.createElement("span",{className:`${di}-handler-down-inner`},Or.downIcon));const{hasFeedback:Cn,status:tt,isFormItemInput:pn,feedbackIcon:Zt}=x.useContext(le.aM),vn=(0,an.F)(tt,Br),On=(0,se.Z)(bi=>{var Xi;return(Xi=si!=null?si:ar)!==null&&Xi!==void 0?Xi:bi}),Rr=x.useContext(ie.Z),Xr=Cr!=null?Cr:Rr,[li,nr]=(0,Be.Z)("inputNumber",ci,Zn),or=Cn&&x.createElement(x.Fragment,null,Zt),er=He()({[`${di}-lg`]:On==="large",[`${di}-sm`]:On==="small",[`${di}-rtl`]:bn==="rtl",[`${di}-in-form-item`]:pn},oo),_r=`${di}-group`,Ti=x.createElement(kt,Object.assign({ref:Yn,disabled:Xr,className:He()(Gi,Pi,pr,ti,Dr),upHandler:gi,downHandler:ni,prefixCls:di,readOnly:br,controls:An,prefix:$n,suffix:or||rr,addonBefore:dr&&x.createElement(Fn.Z,{form:!0,space:!0},dr),addonAfter:yn&&x.createElement(Fn.Z,{form:!0,space:!0},yn),classNames:{input:er,variant:He()({[`${di}-${li}`]:nr},(0,an.Z)(di,vn,Cn)),affixWrapper:He()({[`${di}-affix-wrapper-sm`]:On==="small",[`${di}-affix-wrapper-lg`]:On==="large",[`${di}-affix-wrapper-rtl`]:bn==="rtl",[`${di}-affix-wrapper-without-controls`]:Or===!1||Xr},oo),wrapper:He()({[`${_r}-rtl`]:bn==="rtl"},oo),groupWrapper:He()({[`${di}-group-wrapper-sm`]:On==="small",[`${di}-group-wrapper-lg`]:On==="large",[`${di}-group-wrapper-rtl`]:bn==="rtl",[`${di}-group-wrapper-${li}`]:nr},(0,an.Z)(`${di}-group-wrapper`,vn,Cn),oo)}},Ai));return yi(Ti)}),un=_t,Pn=Lt=>x.createElement(ge.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},x.createElement(_t,Object.assign({},Lt)));un._InternalPanelDoNotUseOrYouWillBeFired=Pn;var Vn=un},49397:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return je}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(36901),He=ae(8654),Fe=ae(62487),Me=ae(86013),fe=ae(82855),xe=ae(48755),oe=ae(2171),Pe=ae(83397),ye=ae(31756),Re=ae(56553),Se=ae(24971),Ie=ae(70045),ve=ae(23826),we=ae(53075);function Ee(_e){return!!(_e.prefix||_e.suffix||_e.allowClear||_e.showCount)}var Oe=function(_e,Je){var Ve={};for(var st in _e)Object.prototype.hasOwnProperty.call(_e,st)&&Je.indexOf(st)<0&&(Ve[st]=_e[st]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,st=Object.getOwnPropertySymbols(_e);at<st.length;at++)Je.indexOf(st[at])<0&&Object.prototype.propertyIsEnumerable.call(_e,st[at])&&(Ve[st[at]]=_e[st[at]]);return Ve},je=(0,x.forwardRef)((_e,Je)=>{const{prefixCls:Ve,bordered:st=!0,status:at,size:ht,disabled:Ct,onBlur:ze,onFocus:pt,suffix:Ne,allowClear:Qe,addonAfter:Ot,addonBefore:ot,className:lt,style:Bt,styles:We,rootClassName:ke,onChange:At,classNames:Kt,variant:Ht}=_e,nt=Oe(_e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Pt,direction:Rt,allowClear:hn,autoComplete:Tt,className:mn,style:kt,classNames:Fn,styles:an}=(0,xe.dj)("input"),de=Pt("input",Ve),ge=(0,x.useRef)(null),ie=(0,Pe.Z)(de),[ee,se,le]=(0,we.TI)(de,ke),[Be]=(0,we.ZP)(de,ie),{compactSize:Ge,compactItemClassnames:ut}=(0,Ie.ri)(de,Rt),mt=(0,ye.Z)(Vn=>{var Lt;return(Lt=ht!=null?ht:Ge)!==null&&Lt!==void 0?Lt:Vn}),vt=x.useContext(oe.Z),St=Ct!=null?Ct:vt,{status:Dt,hasFeedback:Qt,feedbackIcon:xt}=(0,x.useContext)(Re.aM),ct=(0,fe.F)(Dt,at),Xt=Ee(_e)||!!Qt,Wt=(0,x.useRef)(Xt),wn=(0,ve.Z)(ge,!0),ln=Vn=>{wn(),ze==null||ze(Vn)},nn=Vn=>{wn(),pt==null||pt(Vn)},zn=Vn=>{wn(),At==null||At(Vn)},Ln=(Qt||Ne)&&x.createElement(x.Fragment,null,Ne,Qt&&xt),_t=(0,Me.Z)(Qe!=null?Qe:hn),[un,Pn]=(0,Se.Z)("input",Ht,st);return ee(Be(x.createElement(qe.default,Object.assign({ref:(0,He.sQ)(Je,ge),prefixCls:de,autoComplete:Tt},nt,{disabled:St,onBlur:ln,onFocus:nn,style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},an),We),suffix:Ln,allowClear:_t,className:Le()(lt,ke,le,ie,ut,mn),onChange:zn,addonBefore:ot&&x.createElement(Fe.Z,{form:!0,space:!0},ot),addonAfter:Ot&&x.createElement(Fe.Z,{form:!0,space:!0},Ot),classNames:Object.assign(Object.assign(Object.assign({},Kt),Fn),{input:Le()({[`${de}-sm`]:mt==="small",[`${de}-lg`]:mt==="large",[`${de}-rtl`]:Rt==="rtl"},Kt==null?void 0:Kt.input,Fn.input,se),variant:Le()({[`${de}-${un}`]:Pn},(0,fe.Z)(de,ct)),affixWrapper:Le()({[`${de}-affix-wrapper-sm`]:mt==="small",[`${de}-affix-wrapper-lg`]:mt==="large",[`${de}-affix-wrapper-rtl`]:Rt==="rtl"},se),wrapper:Le()({[`${de}-group-rtl`]:Rt==="rtl"},se),groupWrapper:Le()({[`${de}-group-wrapper-sm`]:mt==="small",[`${de}-group-wrapper-lg`]:mt==="large",[`${de}-group-wrapper-rtl`]:Rt==="rtl",[`${de}-group-wrapper-${un}`]:Pn},(0,fe.Z)(`${de}-group-wrapper`,ct,Qt),se)})}))))})},79809:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Je}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(22711),He=ae(86013),Fe=ae(82855),Me=ae(48755),fe=ae(2171),xe=ae(83397),oe=ae(31756),Pe=ae(56553),ye=ae(24971),Re=ae(70045),Se=ae(30292),Ie=ae(53075),ve=ae(16931),we=ae(51636),Ee=ae(64910);const Oe=Ve=>{const{componentCls:st,paddingLG:at}=Ve,ht=`${st}-textarea`;return{[`textarea${st}`]:{maxWidth:"100%",height:"auto",minHeight:Ve.controlHeight,lineHeight:Ve.lineHeight,verticalAlign:"bottom",transition:`all ${Ve.motionDurationSlow}`,resize:"vertical",[`&${st}-mouse-active`]:{transition:`all ${Ve.motionDurationSlow}, height 0s, width 0s`}},[`${st}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ht]:{position:"relative","&-show-count":{[`> ${st}`]:{height:"100%"},[`${st}-data-count`]:{position:"absolute",bottom:Ve.calc(Ve.fontSize).mul(Ve.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ve.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${st},
&-affix-wrapper${ht}-has-feedback ${st}
`]:{paddingInlineEnd:at},[`&-affix-wrapper${st}-affix-wrapper`]:{padding:0,[`> textarea${st}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ve.calc(Ve.controlHeight).sub(Ve.calc(Ve.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${st}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${st}-clear-icon`]:{position:"absolute",insetInlineEnd:Ve.paddingInline,insetBlockStart:Ve.paddingXS},[`${ht}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ve.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${st}-affix-wrapper-sm`]:{[`${st}-suffix`]:{[`${st}-clear-icon`]:{insetInlineEnd:Ve.paddingInlineSM}}}}}};var Ke=(0,ve.I$)(["Input","TextArea"],Ve=>{const st=(0,we.mergeToken)(Ve,(0,Ee.e)(Ve));return[Oe(st)]},Ee.T,{resetFont:!1}),je=function(Ve,st){var at={};for(var ht in Ve)Object.prototype.hasOwnProperty.call(Ve,ht)&&st.indexOf(ht)<0&&(at[ht]=Ve[ht]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ht=Object.getOwnPropertySymbols(Ve);Ct<ht.length;Ct++)st.indexOf(ht[Ct])<0&&Object.prototype.propertyIsEnumerable.call(Ve,ht[Ct])&&(at[ht[Ct]]=Ve[ht[Ct]]);return at},Je=(0,x.forwardRef)((Ve,st)=>{var at;const{prefixCls:ht,bordered:Ct=!0,size:ze,disabled:pt,status:Ne,allowClear:Qe,classNames:Ot,rootClassName:ot,className:lt,style:Bt,styles:We,variant:ke,showCount:At,onMouseDown:Kt,onResize:Ht}=Ve,nt=je(Ve,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Pt,direction:Rt,allowClear:hn,autoComplete:Tt,className:mn,style:kt,classNames:Fn,styles:an}=(0,Me.dj)("textArea"),de=x.useContext(fe.Z),ge=pt!=null?pt:de,{status:ie,hasFeedback:ee,feedbackIcon:se}=x.useContext(Pe.aM),le=(0,Fe.F)(ie,Ne),Be=x.useRef(null);x.useImperativeHandle(st,()=>{var Pn;return{resizableTextArea:(Pn=Be.current)===null||Pn===void 0?void 0:Pn.resizableTextArea,focus:Vn=>{var Lt,Gt;(0,Se.nH)((Gt=(Lt=Be.current)===null||Lt===void 0?void 0:Lt.resizableTextArea)===null||Gt===void 0?void 0:Gt.textArea,Vn)},blur:()=>{var Vn;return(Vn=Be.current)===null||Vn===void 0?void 0:Vn.blur()}}});const Ge=Pt("input",ht),ut=(0,xe.Z)(Ge),[mt,vt,St]=(0,Ie.TI)(Ge,ot),[Dt]=Ke(Ge,ut),{compactSize:Qt,compactItemClassnames:xt}=(0,Re.ri)(Ge,Rt),ct=(0,oe.Z)(Pn=>{var Vn;return(Vn=ze!=null?ze:Qt)!==null&&Vn!==void 0?Vn:Pn}),[Xt,Wt]=(0,ye.Z)("textArea",ke,Ct),wn=(0,He.Z)(Qe!=null?Qe:hn),[ln,nn]=x.useState(!1),[zn,Ln]=x.useState(!1),_t=Pn=>{nn(!0),Kt==null||Kt(Pn);const Vn=()=>{nn(!1),document.removeEventListener("mouseup",Vn)};document.addEventListener("mouseup",Vn)},un=Pn=>{var Vn,Lt;if(Ht==null||Ht(Pn),ln&&typeof getComputedStyle=="function"){const Gt=(Lt=(Vn=Be.current)===null||Vn===void 0?void 0:Vn.nativeElement)===null||Lt===void 0?void 0:Lt.querySelector("textarea");Gt&&getComputedStyle(Gt).resize==="both"&&Ln(!0)}};return mt(Dt(x.createElement(qe.default,Object.assign({autoComplete:Tt},nt,{style:Object.assign(Object.assign({},kt),Bt),styles:Object.assign(Object.assign({},an),We),disabled:ge,allowClear:wn,className:Le()(St,ut,lt,ot,xt,mn,zn&&`${Ge}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Ot),Fn),{textarea:Le()({[`${Ge}-sm`]:ct==="small",[`${Ge}-lg`]:ct==="large"},vt,Ot==null?void 0:Ot.textarea,Fn.textarea,ln&&`${Ge}-mouse-active`),variant:Le()({[`${Ge}-${Xt}`]:Wt},(0,Fe.Z)(Ge,le)),affixWrapper:Le()(`${Ge}-textarea-affix-wrapper`,{[`${Ge}-affix-wrapper-rtl`]:Rt==="rtl",[`${Ge}-affix-wrapper-sm`]:ct==="small",[`${Ge}-affix-wrapper-lg`]:ct==="large",[`${Ge}-textarea-show-count`]:At||((at=Ve.count)===null||at===void 0?void 0:at.show)},vt)}),prefixCls:Ge,suffix:ee&&x.createElement("span",{className:`${Ge}-textarea-suffix`},se),showCount:At,ref:Be,onResize:un,onMouseDown:_t}))))})},23826:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return dt}});var x=ae(59301);function dt(Le,qe){const He=(0,x.useRef)([]),Fe=()=>{He.current.push(setTimeout(()=>{var Me,fe,xe,oe;!((Me=Le.current)===null||Me===void 0)&&Me.input&&((fe=Le.current)===null||fe===void 0?void 0:fe.input.getAttribute("type"))==="password"&&(!((xe=Le.current)===null||xe===void 0)&&xe.input.hasAttribute("value"))&&((oe=Le.current)===null||oe===void 0||oe.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(qe&&Fe(),()=>He.current.forEach(Me=>{Me&&clearTimeout(Me)})),[]),Fe}},37568:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Fn}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(48755),He=ae(56553),Fe=ae(53075),fe=an=>{const{getPrefixCls:de,direction:ge}=(0,x.useContext)(qe.E_),{prefixCls:ie,className:ee}=an,se=de("input-group",ie),le=de("input"),[Be,Ge,ut]=(0,Fe.ZP)(le),mt=Le()(se,ut,{[`${se}-lg`]:an.size==="large",[`${se}-sm`]:an.size==="small",[`${se}-compact`]:an.compact,[`${se}-rtl`]:ge==="rtl"},Ge,ee),vt=(0,x.useContext)(He.aM),St=(0,x.useMemo)(()=>Object.assign(Object.assign({},vt),{isFormItemInput:!1}),[vt]);return Be(x.createElement("span",{className:mt,style:an.style,onMouseEnter:an.onMouseEnter,onMouseLeave:an.onMouseLeave,onFocus:an.onFocus,onBlur:an.onBlur},x.createElement(He.aM.Provider,{value:St},an.children)))},xe=ae(49397),oe=ae(77654),Pe=ae(6089),ye=ae(26112),Re=ae(82855),Se=ae(31756),Ie=ae(16931),ve=ae(51636),we=ae(64910);const Ee=an=>{const{componentCls:de,paddingXS:ge}=an;return{[de]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ge,"&-rtl":{direction:"rtl"},[`${de}-input`]:{textAlign:"center",paddingInline:an.paddingXXS},[`&${de}-sm ${de}-input`]:{paddingInline:an.calc(an.paddingXXS).div(2).equal()},[`&${de}-lg ${de}-input`]:{paddingInline:an.paddingXS}}}};var Oe=(0,Ie.I$)(["Input","OTP"],an=>{const de=(0,ve.mergeToken)(an,(0,we.e)(an));return[Ee(de)]},we.T),Ke=ae(16089),je=function(an,de){var ge={};for(var ie in an)Object.prototype.hasOwnProperty.call(an,ie)&&de.indexOf(ie)<0&&(ge[ie]=an[ie]);if(an!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(an);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(an,ie[ee])&&(ge[ie[ee]]=an[ie[ee]]);return ge},Je=x.forwardRef((an,de)=>{const{value:ge,onChange:ie,onActiveChange:ee,index:se,mask:le}=an,Be=je(an,["value","onChange","onActiveChange","index","mask"]),Ge=ge&&typeof le=="string"?le:ge,ut=Qt=>{ie(se,Qt.target.value)},mt=x.useRef(null);x.useImperativeHandle(de,()=>mt.current);const vt=()=>{(0,Ke.Z)(()=>{var Qt;const xt=(Qt=mt.current)===null||Qt===void 0?void 0:Qt.input;document.activeElement===xt&&xt&&xt.select()})},St=Qt=>{const{key:xt,ctrlKey:ct,metaKey:Xt}=Qt;xt==="ArrowLeft"?ee(se-1):xt==="ArrowRight"?ee(se+1):xt==="z"&&(ct||Xt)&&Qt.preventDefault(),vt()},Dt=Qt=>{Qt.key==="Backspace"&&!ge&&ee(se-1),vt()};return x.createElement(xe.Z,Object.assign({type:le===!0?"password":"text"},Be,{ref:mt,value:Ge,onInput:ut,onFocus:vt,onKeyDown:St,onKeyUp:Dt,onMouseDown:vt,onMouseUp:vt}))}),Ve=function(an,de){var ge={};for(var ie in an)Object.prototype.hasOwnProperty.call(an,ie)&&de.indexOf(ie)<0&&(ge[ie]=an[ie]);if(an!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(an);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(an,ie[ee])&&(ge[ie[ee]]=an[ie[ee]]);return ge};function st(an){return(an||"").split("")}const at=an=>{const{index:de,prefixCls:ge,separator:ie}=an,ee=typeof ie=="function"?ie(de):ie;return ee?x.createElement("span",{className:`${ge}-separator`},ee):null};var Ct=x.forwardRef((an,de)=>{const{prefixCls:ge,length:ie=6,size:ee,defaultValue:se,value:le,onChange:Be,formatter:Ge,separator:ut,variant:mt,disabled:vt,status:St,autoFocus:Dt,mask:Qt,type:xt,onInput:ct,inputMode:Xt}=an,Wt=Ve(an,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:wn,direction:ln}=x.useContext(qe.E_),nn=wn("otp",ge),zn=(0,ye.Z)(Wt,{aria:!0,data:!0,attr:!0}),[Ln,_t,un]=Oe(nn),Pn=(0,Se.Z)($n=>ee!=null?ee:$n),Vn=x.useContext(He.aM),Lt=(0,Re.F)(Vn.status,St),Gt=x.useMemo(()=>Object.assign(Object.assign({},Vn),{status:Lt,hasFeedback:!1,feedbackIcon:null}),[Vn,Lt]),sn=x.useRef(null),bn=x.useRef({});x.useImperativeHandle(de,()=>({focus:()=>{var $n;($n=bn.current[0])===null||$n===void 0||$n.focus()},blur:()=>{var $n;for(let rr=0;rr<ie;rr+=1)($n=bn.current[rr])===null||$n===void 0||$n.blur()},nativeElement:sn.current}));const Yn=$n=>Ge?Ge($n):$n,[pr,ti]=x.useState(()=>st(Yn(se||"")));x.useEffect(()=>{le!==void 0&&ti(st(le))},[le]);const si=(0,Pe.Z)($n=>{ti($n),ct&&ct($n),Be&&$n.length===ie&&$n.every(rr=>rr)&&$n.some((rr,Zn)=>pr[Zn]!==rr)&&Be($n.join(""))}),Cr=(0,Pe.Z)(($n,rr)=>{let Zn=(0,oe.Z)(pr);for(let Br=0;Br<$n;Br+=1)Zn[Br]||(Zn[Br]="");rr.length<=1?Zn[$n]=rr:Zn=Zn.slice(0,$n).concat(st(rr)),Zn=Zn.slice(0,ie);for(let Br=Zn.length-1;Br>=0&&!Zn[Br];Br-=1)Zn.pop();const br=Yn(Zn.map(Br=>Br||" ").join(""));return Zn=st(br).map((Br,Or)=>Br===" "&&!Zn[Or]?Zn[Or]:Br),Zn}),ur=($n,rr)=>{var Zn;const br=Cr($n,rr),Br=Math.min($n+rr.length,ie-1);Br!==$n&&br[$n]!==void 0&&((Zn=bn.current[Br])===null||Zn===void 0||Zn.focus()),si(br)},dr=$n=>{var rr;(rr=bn.current[$n])===null||rr===void 0||rr.focus()},yn={variant:mt,disabled:vt,status:Lt,mask:Qt,type:xt,inputMode:Xt};return Ln(x.createElement("div",Object.assign({},zn,{ref:sn,className:Le()(nn,{[`${nn}-sm`]:Pn==="small",[`${nn}-lg`]:Pn==="large",[`${nn}-rtl`]:ln==="rtl"},un,_t)}),x.createElement(He.aM.Provider,{value:Gt},Array.from({length:ie}).map(($n,rr)=>{const Zn=`otp-${rr}`,br=pr[rr]||"";return x.createElement(x.Fragment,{key:Zn},x.createElement(Je,Object.assign({ref:Br=>{bn.current[rr]=Br},index:rr,size:Pn,htmlSize:1,className:`${nn}-input`,onChange:ur,value:br,onActiveChange:dr,autoFocus:rr===0&&Dt},yn)),rr<ie-1&&x.createElement(at,{separator:ut,index:rr,prefixCls:nn}))}))))}),ze=ae(73331),pt=ae(15277),Ne=ae(2738),Qe=ae(8654),Ot=ae(2171),ot=ae(23826),lt=function(an,de){var ge={};for(var ie in an)Object.prototype.hasOwnProperty.call(an,ie)&&de.indexOf(ie)<0&&(ge[ie]=an[ie]);if(an!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(an);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(an,ie[ee])&&(ge[ie[ee]]=an[ie[ee]]);return ge};const Bt=an=>an?x.createElement(pt.Z,null):x.createElement(ze.Z,null),We={click:"onClick",hover:"onMouseOver"};var At=x.forwardRef((an,de)=>{const{disabled:ge,action:ie="click",visibilityToggle:ee=!0,iconRender:se=Bt}=an,le=x.useContext(Ot.Z),Be=ge!=null?ge:le,Ge=typeof ee=="object"&&ee.visible!==void 0,[ut,mt]=(0,x.useState)(()=>Ge?ee.visible:!1),vt=(0,x.useRef)(null);x.useEffect(()=>{Ge&&mt(ee.visible)},[Ge,ee]);const St=(0,ot.Z)(vt),Dt=()=>{var Pn;if(Be)return;ut&&St();const Vn=!ut;mt(Vn),typeof ee=="object"&&((Pn=ee.onVisibleChange)===null||Pn===void 0||Pn.call(ee,Vn))},Qt=Pn=>{const Vn=We[ie]||"",Lt=se(ut),Gt={[Vn]:Dt,className:`${Pn}-icon`,key:"passwordIcon",onMouseDown:sn=>{sn.preventDefault()},onMouseUp:sn=>{sn.preventDefault()}};return x.cloneElement(x.isValidElement(Lt)?Lt:x.createElement("span",null,Lt),Gt)},{className:xt,prefixCls:ct,inputPrefixCls:Xt,size:Wt}=an,wn=lt(an,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:ln}=x.useContext(qe.E_),nn=ln("input",Xt),zn=ln("input-password",ct),Ln=ee&&Qt(zn),_t=Le()(zn,xt,{[`${zn}-${Wt}`]:!!Wt}),un=Object.assign(Object.assign({},(0,Ne.Z)(wn,["suffix","iconRender","visibilityToggle"])),{type:ut?"text":"password",className:_t,prefixCls:nn,suffix:Ln});return Wt&&(un.size=Wt),x.createElement(xe.Z,Object.assign({ref:(0,Qe.sQ)(de,vt)},un))}),Kt=ae(47472),Ht=ae(22703),nt=ae(7939),Pt=ae(70045),Rt=function(an,de){var ge={};for(var ie in an)Object.prototype.hasOwnProperty.call(an,ie)&&de.indexOf(ie)<0&&(ge[ie]=an[ie]);if(an!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ie=Object.getOwnPropertySymbols(an);ee<ie.length;ee++)de.indexOf(ie[ee])<0&&Object.prototype.propertyIsEnumerable.call(an,ie[ee])&&(ge[ie[ee]]=an[ie[ee]]);return ge},Tt=x.forwardRef((an,de)=>{const{prefixCls:ge,inputPrefixCls:ie,className:ee,size:se,suffix:le,enterButton:Be=!1,addonAfter:Ge,loading:ut,disabled:mt,onSearch:vt,onChange:St,onCompositionStart:Dt,onCompositionEnd:Qt}=an,xt=Rt(an,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ct,direction:Xt}=x.useContext(qe.E_),Wt=x.useRef(!1),wn=ct("input-search",ge),ln=ct("input",ie),{compactSize:nn}=(0,Pt.ri)(wn,Xt),zn=(0,Se.Z)(ur=>{var dr;return(dr=se!=null?se:nn)!==null&&dr!==void 0?dr:ur}),Ln=x.useRef(null),_t=ur=>{ur!=null&&ur.target&&ur.type==="click"&&vt&&vt(ur.target.value,ur,{source:"clear"}),St==null||St(ur)},un=ur=>{var dr;document.activeElement===((dr=Ln.current)===null||dr===void 0?void 0:dr.input)&&ur.preventDefault()},Pn=ur=>{var dr,yn;vt&&vt((yn=(dr=Ln.current)===null||dr===void 0?void 0:dr.input)===null||yn===void 0?void 0:yn.value,ur,{source:"input"})},Vn=ur=>{Wt.current||ut||Pn(ur)},Lt=typeof Be=="boolean"?x.createElement(Kt.Z,null):null,Gt=`${wn}-button`;let sn;const bn=Be||{},Yn=bn.type&&bn.type.__ANT_BUTTON===!0;Yn||bn.type==="button"?sn=(0,Ht.Tm)(bn,Object.assign({onMouseDown:un,onClick:ur=>{var dr,yn;(yn=(dr=bn==null?void 0:bn.props)===null||dr===void 0?void 0:dr.onClick)===null||yn===void 0||yn.call(dr,ur),Pn(ur)},key:"enterButton"},Yn?{className:Gt,size:zn}:{})):sn=x.createElement(nt.ZP,{className:Gt,type:Be?"primary":void 0,size:zn,disabled:mt,key:"enterButton",onMouseDown:un,onClick:Pn,loading:ut,icon:Lt},Be),Ge&&(sn=[sn,(0,Ht.Tm)(Ge,{key:"addonAfter"})]);const pr=Le()(wn,{[`${wn}-rtl`]:Xt==="rtl",[`${wn}-${zn}`]:!!zn,[`${wn}-with-button`]:!!Be},ee),ti=Object.assign(Object.assign({},xt),{className:pr,prefixCls:ln,type:"search"}),si=ur=>{Wt.current=!0,Dt==null||Dt(ur)},Cr=ur=>{Wt.current=!1,Qt==null||Qt(ur)};return x.createElement(xe.Z,Object.assign({ref:(0,Qe.sQ)(Ln,de),onPressEnter:Vn},ti,{size:zn,onCompositionStart:si,onCompositionEnd:Cr,addonAfter:sn,suffix:le,onChange:_t,disabled:mt}))}),mn=ae(79809);const kt=xe.Z;kt.Group=fe,kt.Search=Tt,kt.TextArea=mn.Z,kt.Password=At,kt.OTP=Ct;var Fn=kt},24303:function(Xn,Mt,ae){"use strict";ae.d(Mt,{D:function(){return Ve},Z:function(){return ht}});var x=ae(59301),dt=ae(60499),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"},qe=Le,He=ae(7657),Fe=function(ze,pt){return x.createElement(He.Z,(0,dt.Z)({},ze,{ref:pt,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(33853),oe=ae(38819),Pe=ae(92310),ye=ae.n(Pe),Re=ae(2738),Se=ae(48755),Ie=ae(6989),ve=ae(36237),we=ae(48923),Ee=ae(16931);const Oe=Ct=>{const{componentCls:ze,siderBg:pt,motionDurationMid:Ne,motionDurationSlow:Qe,antCls:Ot,triggerHeight:ot,triggerColor:lt,triggerBg:Bt,headerHeight:We,zeroTriggerWidth:ke,zeroTriggerHeight:At,borderRadiusLG:Kt,lightSiderBg:Ht,lightTriggerColor:nt,lightTriggerBg:Pt,bodyBg:Rt}=Ct;return{[ze]:{position:"relative",minWidth:0,background:pt,transition:`all ${Ne}, background 0s`,"&-has-trigger":{paddingBottom:ot},"&-right":{order:1},[`${ze}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ot}-menu${Ot}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${ze}-children`]:{overflow:"hidden"},[`${ze}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ot,color:lt,lineHeight:(0,ve.unit)(ot),textAlign:"center",background:Bt,cursor:"pointer",transition:`all ${Ne}`},[`${ze}-zero-width-trigger`]:{position:"absolute",top:We,insetInlineEnd:Ct.calc(ke).mul(-1).equal(),zIndex:1,width:ke,height:At,color:lt,fontSize:Ct.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:pt,borderRadius:`0 ${(0,ve.unit)(Kt)} ${(0,ve.unit)(Kt)} 0`,cursor:"pointer",transition:`background ${Qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ct.calc(ke).mul(-1).equal(),borderRadius:`${(0,ve.unit)(Kt)} 0 0 ${(0,ve.unit)(Kt)}`}},"&-light":{background:Ht,[`${ze}-trigger`]:{color:nt,background:Pt},[`${ze}-zero-width-trigger`]:{color:nt,background:Pt,border:`1px solid ${Rt}`,borderInlineStart:0}}}}};var Ke=(0,Ee.I$)(["Layout","Sider"],Ct=>[Oe(Ct)],we.eh,{deprecatedTokens:we.jn}),je=function(Ct,ze){var pt={};for(var Ne in Ct)Object.prototype.hasOwnProperty.call(Ct,Ne)&&ze.indexOf(Ne)<0&&(pt[Ne]=Ct[Ne]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(Ct);Qe<Ne.length;Qe++)ze.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(Ct,Ne[Qe])&&(pt[Ne[Qe]]=Ct[Ne[Qe]]);return pt};const _e={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Je=Ct=>!Number.isNaN(Number.parseFloat(Ct))&&isFinite(Ct),Ve=x.createContext({}),st=(()=>{let Ct=0;return function(){let ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ct+=1,`${ze}${Ct}`}})();var ht=x.forwardRef((Ct,ze)=>{const{prefixCls:pt,className:Ne,trigger:Qe,children:Ot,defaultCollapsed:ot=!1,theme:lt="dark",style:Bt={},collapsible:We=!1,reverseArrow:ke=!1,width:At=200,collapsedWidth:Kt=80,zeroWidthTriggerStyle:Ht,breakpoint:nt,onCollapse:Pt,onBreakpoint:Rt}=Ct,hn=je(Ct,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Tt}=(0,x.useContext)(Ie.V),[mn,kt]=(0,x.useState)("collapsed"in Ct?Ct.collapsed:ot),[Fn,an]=(0,x.useState)(!1);(0,x.useEffect)(()=>{"collapsed"in Ct&&kt(Ct.collapsed)},[Ct.collapsed]);const de=(zn,Ln)=>{"collapsed"in Ct||kt(zn),Pt==null||Pt(zn,Ln)},{getPrefixCls:ge,direction:ie}=(0,x.useContext)(Se.E_),ee=ge("layout-sider",pt),[se,le,Be]=Ke(ee),Ge=(0,x.useRef)(null);Ge.current=zn=>{an(zn.matches),Rt==null||Rt(zn.matches),mn!==zn.matches&&de(zn.matches,"responsive")},(0,x.useEffect)(()=>{function zn(_t){return Ge.current(_t)}let Ln;if(typeof window!="undefined"){const{matchMedia:_t}=window;if(_t&&nt&&nt in _e){Ln=_t(`screen and (max-width: ${_e[nt]})`);try{Ln.addEventListener("change",zn)}catch(un){Ln.addListener(zn)}zn(Ln)}}return()=>{try{Ln==null||Ln.removeEventListener("change",zn)}catch(_t){Ln==null||Ln.removeListener(zn)}}},[nt]),(0,x.useEffect)(()=>{const zn=st("ant-sider-");return Tt.addSider(zn),()=>Tt.removeSider(zn)},[]);const ut=()=>{de(!mn,"clickTrigger")},mt=(0,Re.Z)(hn,["collapsed"]),vt=mn?Kt:At,St=Je(vt)?`${vt}px`:String(vt),Dt=parseFloat(String(Kt||0))===0?x.createElement("span",{onClick:ut,className:ye()(`${ee}-zero-width-trigger`,`${ee}-zero-width-trigger-${ke?"right":"left"}`),style:Ht},Qe||x.createElement(fe,null)):null,Qt=ie==="rtl"==!ke,Xt={expanded:Qt?x.createElement(oe.Z,null):x.createElement(xe.Z,null),collapsed:Qt?x.createElement(xe.Z,null):x.createElement(oe.Z,null)}[mn?"collapsed":"expanded"],Wt=Qe!==null?Dt||x.createElement("div",{className:`${ee}-trigger`,onClick:ut,style:{width:St}},Qe||Xt):null,wn=Object.assign(Object.assign({},Bt),{flex:`0 0 ${St}`,maxWidth:St,minWidth:St,width:St}),ln=ye()(ee,`${ee}-${lt}`,{[`${ee}-collapsed`]:!!mn,[`${ee}-has-trigger`]:We&&Qe!==null&&!Dt,[`${ee}-below`]:!!Fn,[`${ee}-zero-width`]:parseFloat(St)===0},Ne,le,Be),nn=x.useMemo(()=>({siderCollapsed:mn}),[mn]);return se(x.createElement(Ve.Provider,{value:nn},x.createElement("aside",Object.assign({className:ln},mt,{style:wn,ref:ze}),x.createElement("div",{className:`${ee}-children`},Ot),We||Fn&&Dt?Wt:null)))})},6989:function(Xn,Mt,ae){"use strict";ae.d(Mt,{V:function(){return dt}});var x=ae(59301);const dt=x.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Xn,Mt,ae){"use strict";ae.d(Mt,{eh:function(){return qe},jn:function(){return He}});var x=ae(36237),dt=ae(16931);const Le=Fe=>{const{antCls:Me,componentCls:fe,colorText:xe,footerBg:oe,headerHeight:Pe,headerPadding:ye,headerColor:Re,footerPadding:Se,fontSize:Ie,bodyBg:ve,headerBg:we}=Fe;return{[fe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ve,"&, *":{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:Pe,padding:ye,color:Re,lineHeight:(0,x.unit)(Pe),background:we,[`${Me}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:Se,color:xe,fontSize:Ie,background:oe},[`${fe}-content`]:{flex:"auto",color:xe,minHeight:0}}},qe=Fe=>{const{colorBgLayout:Me,controlHeight:fe,controlHeightLG:xe,colorText:oe,controlHeightSM:Pe,marginXXS:ye,colorTextLightSolid:Re,colorBgContainer:Se}=Fe,Ie=xe*1.25;return{colorBgHeader:"#001529",colorBgBody:Me,colorBgTrigger:"#002140",bodyBg:Me,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${Ie}px`,headerColor:oe,footerPadding:`${Pe}px ${Ie}px`,footerBg:Me,siderBg:"#001529",triggerHeight:xe+ye*2,triggerBg:"#002140",triggerColor:Re,zeroTriggerWidth:xe,zeroTriggerHeight:xe,lightSiderBg:Se,lightTriggerBg:Se,lightTriggerColor:oe}},He=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Mt.ZP=(0,dt.I$)("Layout",Fe=>[Le(Fe)],qe,{deprecatedTokens:He})},78857:function(Xn,Mt,ae){"use strict";ae.d(Mt,{J:function(){return Fe}});var x=ae(59301),dt=ae(8654),Le=ae(62487),qe=function(Me,fe){var xe={};for(var oe in Me)Object.prototype.hasOwnProperty.call(Me,oe)&&fe.indexOf(oe)<0&&(xe[oe]=Me[oe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,oe=Object.getOwnPropertySymbols(Me);Pe<oe.length;Pe++)fe.indexOf(oe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Me,oe[Pe])&&(xe[oe[Pe]]=Me[oe[Pe]]);return xe};const He=x.createContext(null),Fe=x.forwardRef((Me,fe)=>{const{children:xe}=Me,oe=qe(Me,["children"]),Pe=x.useContext(He),ye=x.useMemo(()=>Object.assign(Object.assign({},Pe),oe),[Pe,oe.prefixCls,oe.mode,oe.selectable,oe.rootClassName]),Re=(0,dt.t4)(xe),Se=(0,dt.x1)(fe,Re?(0,dt.C4)(xe):null);return x.createElement(He.Provider,{value:ye},x.createElement(Le.Z,{space:!0},Re?x.cloneElement(xe,{ref:Se}):xe))});Mt.Z=He},93041:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return se}});var x=ae(59301),dt=ae(28321),Le=ae(24303),qe=ae(18785),He=ae(92310),Fe=ae.n(He),Me=ae(6089),fe=ae(2738),xe=ae(86641),oe=ae(22703),Pe=ae(48755),ye=ae(83397),Se=(0,x.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ie=function(le,Be){var Ge={};for(var ut in le)Object.prototype.hasOwnProperty.call(le,ut)&&Be.indexOf(ut)<0&&(Ge[ut]=le[ut]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,ut=Object.getOwnPropertySymbols(le);mt<ut.length;mt++)Be.indexOf(ut[mt])<0&&Object.prototype.propertyIsEnumerable.call(le,ut[mt])&&(Ge[ut[mt]]=le[ut[mt]]);return Ge},we=le=>{const{prefixCls:Be,className:Ge,dashed:ut}=le,mt=Ie(le,["prefixCls","className","dashed"]),{getPrefixCls:vt}=x.useContext(Pe.E_),St=vt("menu",Be),Dt=Fe()({[`${St}-item-divider-dashed`]:!!ut},Ge);return x.createElement(dt.iz,Object.assign({className:Dt},mt))},Ee=ae(11592),Oe=ae(25399),je=le=>{var Be;const{className:Ge,children:ut,icon:mt,title:vt,danger:St,extra:Dt}=le,{prefixCls:Qt,firstLevel:xt,direction:ct,disableMenuItemTitleTooltip:Xt,inlineCollapsed:Wt}=x.useContext(Se),wn=un=>{const Pn=ut==null?void 0:ut[0],Vn=x.createElement("span",{className:Fe()(`${Qt}-title-content`,{[`${Qt}-title-content-with-extra`]:!!Dt||Dt===0})},ut);return(!mt||x.isValidElement(ut)&&ut.type==="span")&&ut&&un&&xt&&typeof Pn=="string"?x.createElement("div",{className:`${Qt}-inline-collapsed-noicon`},Pn.charAt(0)):Vn},{siderCollapsed:ln}=x.useContext(Le.D);let nn=vt;typeof vt=="undefined"?nn=xt?ut:"":vt===!1&&(nn="");const zn={title:nn};!ln&&!Wt&&(zn.title=null,zn.open=!1);const Ln=(0,Ee.Z)(ut).length;let _t=x.createElement(dt.ck,Object.assign({},(0,fe.Z)(le,["title","icon","danger"]),{className:Fe()({[`${Qt}-item-danger`]:St,[`${Qt}-item-only-child`]:(mt?Ln+1:Ln)===1},Ge),title:typeof vt=="string"?vt:void 0}),(0,oe.Tm)(mt,{className:Fe()(x.isValidElement(mt)?(Be=mt.props)===null||Be===void 0?void 0:Be.className:"",`${Qt}-item-icon`)}),wn(Wt));return Xt||(_t=x.createElement(Oe.Z,Object.assign({},zn,{placement:ct==="rtl"?"left":"right",classNames:{root:`${Qt}-inline-collapsed-tooltip`}}),_t)),_t},_e=ae(78857),Je=ae(36237),Ve=ae(17835),st=ae(63356),at=ae(34961),ht=ae(46e3),Ct=ae(34925),ze=ae(16931),pt=ae(51636),Qe=le=>{const{componentCls:Be,motionDurationSlow:Ge,horizontalLineHeight:ut,colorSplit:mt,lineWidth:vt,lineType:St,itemPaddingInline:Dt}=le;return{[`${Be}-horizontal`]:{lineHeight:ut,border:0,borderBottom:`${(0,Je.unit)(vt)} ${St} ${mt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Be}-item, ${Be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Dt},[`> ${Be}-item:hover,
> ${Be}-item-active,
> ${Be}-submenu ${Be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Be}-item, ${Be}-submenu-title`]:{transition:[`border-color ${Ge}`,`background ${Ge}`].join(",")},[`${Be}-submenu-arrow`]:{display:"none"}}}},ot=le=>{let{componentCls:Be,menuArrowOffset:Ge,calc:ut}=le;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,Je.unit)(ut(Ge).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Je.unit)(Ge)})`}}}}};const lt=le=>Object.assign({},(0,st.oN)(le));var We=(le,Be)=>{const{componentCls:Ge,itemColor:ut,itemSelectedColor:mt,subMenuItemSelectedColor:vt,groupTitleColor:St,itemBg:Dt,subMenuItemBg:Qt,itemSelectedBg:xt,activeBarHeight:ct,activeBarWidth:Xt,activeBarBorderWidth:Wt,motionDurationSlow:wn,motionEaseInOut:ln,motionEaseOut:nn,itemPaddingInline:zn,motionDurationMid:Ln,itemHoverColor:_t,lineType:un,colorSplit:Pn,itemDisabledColor:Vn,dangerItemColor:Lt,dangerItemHoverColor:Gt,dangerItemSelectedColor:sn,dangerItemActiveBg:bn,dangerItemSelectedBg:Yn,popupBg:pr,itemHoverBg:ti,itemActiveBg:si,menuSubMenuBg:Cr,horizontalItemSelectedColor:ur,horizontalItemSelectedBg:dr,horizontalItemBorderRadius:yn,horizontalItemHoverBg:$n}=le;return{[`${Ge}-${Be}, ${Ge}-${Be} > ${Ge}`]:{color:ut,background:Dt,[`&${Ge}-root:focus-visible`]:Object.assign({},lt(le)),[`${Ge}-item`]:{"&-group-title, &-extra":{color:St}},[`${Ge}-submenu-selected > ${Ge}-submenu-title`]:{color:vt},[`${Ge}-item, ${Ge}-submenu-title`]:{color:ut,[`&:not(${Ge}-item-disabled):focus-visible`]:Object.assign({},lt(le))},[`${Ge}-item-disabled, ${Ge}-submenu-disabled`]:{color:`${Vn} !important`},[`${Ge}-item:not(${Ge}-item-selected):not(${Ge}-submenu-selected)`]:{[`&:hover, > ${Ge}-submenu-title:hover`]:{color:_t}},[`&:not(${Ge}-horizontal)`]:{[`${Ge}-item:not(${Ge}-item-selected)`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:si}},[`${Ge}-submenu-title`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:si}}},[`${Ge}-item-danger`]:{color:Lt,[`&${Ge}-item:hover`]:{[`&:not(${Ge}-item-selected):not(${Ge}-submenu-selected)`]:{color:Gt}},[`&${Ge}-item:active`]:{background:bn}},[`${Ge}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ge}-item-selected`]:{color:mt,[`&${Ge}-item-danger`]:{color:sn},"a, a:hover":{color:"inherit"}},[`& ${Ge}-item-selected`]:{backgroundColor:xt,[`&${Ge}-item-danger`]:{backgroundColor:Yn}},[`&${Ge}-submenu > ${Ge}`]:{backgroundColor:Cr},[`&${Ge}-popup > ${Ge}`]:{backgroundColor:pr},[`&${Ge}-submenu-popup > ${Ge}`]:{backgroundColor:pr},[`&${Ge}-horizontal`]:Object.assign(Object.assign({},Be==="dark"?{borderBottom:0}:{}),{[`> ${Ge}-item, > ${Ge}-submenu`]:{top:Wt,marginTop:le.calc(Wt).mul(-1).equal(),marginBottom:0,borderRadius:yn,"&::after":{position:"absolute",insetInline:zn,bottom:0,borderBottom:`${(0,Je.unit)(ct)} solid transparent`,transition:`border-color ${wn} ${ln}`,content:'""'},"&:hover, &-active, &-open":{background:$n,"&::after":{borderBottomWidth:ct,borderBottomColor:ur}},"&-selected":{color:ur,backgroundColor:dr,"&:hover":{backgroundColor:dr},"&::after":{borderBottomWidth:ct,borderBottomColor:ur}}}}),[`&${Ge}-root`]:{[`&${Ge}-inline, &${Ge}-vertical`]:{borderInlineEnd:`${(0,Je.unit)(Wt)} ${un} ${Pn}`}},[`&${Ge}-inline`]:{[`${Ge}-sub${Ge}-inline`]:{background:Qt},[`${Ge}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Je.unit)(Xt)} solid ${mt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ln} ${nn}`,`opacity ${Ln} ${nn}`].join(","),content:'""'},[`&${Ge}-item-danger`]:{"&::after":{borderInlineEndColor:sn}}},[`${Ge}-selected, ${Ge}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ln} ${ln}`,`opacity ${Ln} ${ln}`].join(",")}}}}}};const ke=le=>{const{componentCls:Be,itemHeight:Ge,itemMarginInline:ut,padding:mt,menuArrowSize:vt,marginXS:St,itemMarginBlock:Dt,itemWidth:Qt,itemPaddingInline:xt}=le,ct=le.calc(vt).add(mt).add(St).equal();return{[`${Be}-item`]:{position:"relative",overflow:"hidden"},[`${Be}-item, ${Be}-submenu-title`]:{height:Ge,lineHeight:(0,Je.unit)(Ge),paddingInline:xt,overflow:"hidden",textOverflow:"ellipsis",marginInline:ut,marginBlock:Dt,width:Qt},[`> ${Be}-item,
> ${Be}-submenu > ${Be}-submenu-title`]:{height:Ge,lineHeight:(0,Je.unit)(Ge)},[`${Be}-item-group-list ${Be}-submenu-title,
${Be}-submenu-title`]:{paddingInlineEnd:ct}}};var Kt=le=>{const{componentCls:Be,iconCls:Ge,itemHeight:ut,colorTextLightSolid:mt,dropdownWidth:vt,controlHeightLG:St,motionEaseOut:Dt,paddingXL:Qt,itemMarginInline:xt,fontSizeLG:ct,motionDurationFast:Xt,motionDurationSlow:Wt,paddingXS:wn,boxShadowSecondary:ln,collapsedWidth:nn,collapsedIconSize:zn}=le,Ln={height:ut,lineHeight:(0,Je.unit)(ut),listStylePosition:"inside",listStyleType:"disc"};return[{[Be]:{"&-inline, &-vertical":Object.assign({[`&${Be}-root`]:{boxShadow:"none"}},ke(le))},[`${Be}-submenu-popup`]:{[`${Be}-vertical`]:Object.assign(Object.assign({},ke(le)),{boxShadow:ln})}},{[`${Be}-submenu-popup ${Be}-vertical${Be}-sub`]:{minWidth:vt,maxHeight:`calc(100vh - ${(0,Je.unit)(le.calc(St).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 ${Wt}`,`background ${Wt}`,`padding ${Xt} ${Dt}`].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`]:Ln,[`& ${Be}-item-group-title`]:{paddingInlineStart:Qt}},[`${Be}-item`]:Ln}},{[`${Be}-inline-collapsed`]:{width:nn,[`&${Be}-root`]:{[`${Be}-item, ${Be}-submenu ${Be}-submenu-title`]:{[`> ${Be}-inline-collapsed-noicon`]:{fontSize:ct,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,Je.unit)(le.calc(zn).div(2).equal())} - ${(0,Je.unit)(xt)})`,textOverflow:"clip",[`
${Be}-submenu-arrow,
${Be}-submenu-expand-icon
`]:{opacity:0},[`${Be}-item-icon, ${Ge}`]:{margin:0,fontSize:zn,lineHeight:(0,Je.unit)(ut),"+ span":{display:"inline-block",opacity:0}}},[`${Be}-item-icon, ${Ge}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Be}-item-icon, ${Ge}`]:{display:"none"},"a, a:hover":{color:mt}},[`${Be}-item-group-title`]:Object.assign(Object.assign({},st.vS),{paddingInline:wn})}}]};const Ht=le=>{const{componentCls:Be,motionDurationSlow:Ge,motionDurationMid:ut,motionEaseInOut:mt,motionEaseOut:vt,iconCls:St,iconSize:Dt,iconMarginInlineEnd:Qt}=le;return{[`${Be}-item, ${Be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ge}`,`background ${Ge}`,`padding calc(${Ge} + 0.1s) ${mt}`].join(","),[`${Be}-item-icon, ${St}`]:{minWidth:Dt,fontSize:Dt,transition:[`font-size ${ut} ${vt}`,`margin ${Ge} ${mt}`,`color ${Ge}`].join(","),"+ span":{marginInlineStart:Qt,opacity:1,transition:[`opacity ${Ge} ${mt}`,`margin ${Ge}`,`color ${Ge}`].join(",")}},[`${Be}-item-icon`]:Object.assign({},(0,st.Ro)()),[`&${Be}-item-only-child`]:{[`> ${St}, > ${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"}}}},nt=le=>{const{componentCls:Be,motionDurationSlow:Ge,motionEaseInOut:ut,borderRadius:mt,menuArrowSize:vt,menuArrowOffset:St}=le;return{[`${Be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:le.margin,width:vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ge} ${ut}, opacity ${Ge}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:le.calc(vt).mul(.6).equal(),height:le.calc(vt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:mt,transition:[`background ${Ge} ${ut}`,`transform ${Ge} ${ut}`,`top ${Ge} ${ut}`,`color ${Ge} ${ut}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Je.unit)(le.calc(St).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Je.unit)(St)})`}}}}},Pt=le=>{const{antCls:Be,componentCls:Ge,fontSize:ut,motionDurationSlow:mt,motionDurationMid:vt,motionEaseInOut:St,paddingXS:Dt,padding:Qt,colorSplit:xt,lineWidth:ct,zIndexPopup:Xt,borderRadiusLG:Wt,subMenuItemBorderRadius:wn,menuArrowSize:ln,menuArrowOffset:nn,lineType:zn,groupTitleLineHeight:Ln,groupTitleFontSize:_t}=le;return[{"":{[Ge]:Object.assign(Object.assign({},(0,st.dF)()),{"&-hidden":{display:"none"}})},[`${Ge}-submenu-hidden`]:{display:"none"}},{[Ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,st.Wf)(le)),(0,st.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ut,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${mt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ge}-item`]:{flex:"none"}},[`${Ge}-item, ${Ge}-submenu, ${Ge}-submenu-title`]:{borderRadius:le.itemBorderRadius},[`${Ge}-item-group-title`]:{padding:`${(0,Je.unit)(Dt)} ${(0,Je.unit)(Qt)}`,fontSize:_t,lineHeight:Ln,transition:`all ${mt}`},[`&-horizontal ${Ge}-submenu`]:{transition:[`border-color ${mt} ${St}`,`background ${mt} ${St}`].join(",")},[`${Ge}-submenu, ${Ge}-submenu-inline`]:{transition:[`border-color ${mt} ${St}`,`background ${mt} ${St}`,`padding ${vt} ${St}`].join(",")},[`${Ge}-submenu ${Ge}-sub`]:{cursor:"initial",transition:[`background ${mt} ${St}`,`padding ${mt} ${St}`].join(",")},[`${Ge}-title-content`]:{transition:`color ${mt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Be}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Ge}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:le.padding}},[`${Ge}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ge}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:xt,borderStyle:zn,borderWidth:0,borderTopWidth:ct,marginBlock:ct,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ht(le)),{[`${Ge}-item-group`]:{[`${Ge}-item-group-list`]:{margin:0,padding:0,[`${Ge}-item, ${Ge}-submenu-title`]:{paddingInline:`${(0,Je.unit)(le.calc(ut).mul(2).equal())} ${(0,Je.unit)(Qt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Xt,borderRadius:Wt,boxShadow:"none",transformOrigin:"0 0",[`&${Ge}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Ge}`]:Object.assign(Object.assign(Object.assign({borderRadius:Wt},Ht(le)),nt(le)),{[`${Ge}-item, ${Ge}-submenu > ${Ge}-submenu-title`]:{borderRadius:wn},[`${Ge}-submenu-title::after`]:{transition:`transform ${mt} ${St}`}})},"\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:le.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:le.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:le.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:le.paddingXS}}}),nt(le)),{[`&-inline-collapsed ${Ge}-submenu-arrow,
&-inline ${Ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(nn)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Je.unit)(le.calc(nn).mul(-1).equal())})`}},[`${Ge}-submenu-open${Ge}-submenu-inline > ${Ge}-submenu-title > ${Ge}-submenu-arrow`]:{transform:`translateY(${(0,Je.unit)(le.calc(ln).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Je.unit)(le.calc(nn).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Je.unit)(nn)})`}}})},{[`${Be}-layout-header`]:{[Ge]:{lineHeight:"inherit"}}}]},Rt=le=>{var Be,Ge,ut;const{colorPrimary:mt,colorError:vt,colorTextDisabled:St,colorErrorBg:Dt,colorText:Qt,colorTextDescription:xt,colorBgContainer:ct,colorFillAlter:Xt,colorFillContent:Wt,lineWidth:wn,lineWidthBold:ln,controlItemBgActive:nn,colorBgTextHover:zn,controlHeightLG:Ln,lineHeight:_t,colorBgElevated:un,marginXXS:Pn,padding:Vn,fontSize:Lt,controlHeightSM:Gt,fontSizeLG:sn,colorTextLightSolid:bn,colorErrorHover:Yn}=le,pr=(Be=le.activeBarWidth)!==null&&Be!==void 0?Be:0,ti=(Ge=le.activeBarBorderWidth)!==null&&Ge!==void 0?Ge:wn,si=(ut=le.itemMarginInline)!==null&&ut!==void 0?ut:le.marginXXS,Cr=new Ve.FastColor(bn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:le.zIndexPopupBase+50,radiusItem:le.borderRadiusLG,itemBorderRadius:le.borderRadiusLG,radiusSubMenuItem:le.borderRadiusSM,subMenuItemBorderRadius:le.borderRadiusSM,colorItemText:Qt,itemColor:Qt,colorItemTextHover:Qt,itemHoverColor:Qt,colorItemTextHoverHorizontal:mt,horizontalItemHoverColor:mt,colorGroupTitle:xt,groupTitleColor:xt,colorItemTextSelected:mt,itemSelectedColor:mt,subMenuItemSelectedColor:mt,colorItemTextSelectedHorizontal:mt,horizontalItemSelectedColor:mt,colorItemBg:ct,itemBg:ct,colorItemBgHover:zn,itemHoverBg:zn,colorItemBgActive:Wt,itemActiveBg:nn,colorSubItemBg:Xt,subMenuItemBg:Xt,colorItemBgSelected:nn,itemSelectedBg:nn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:pr,colorActiveBarHeight:ln,activeBarHeight:ln,colorActiveBarBorderSize:wn,activeBarBorderWidth:ti,colorItemTextDisabled:St,itemDisabledColor:St,colorDangerItemText:vt,dangerItemColor:vt,colorDangerItemTextHover:vt,dangerItemHoverColor:vt,colorDangerItemTextSelected:vt,dangerItemSelectedColor:vt,colorDangerItemBgActive:Dt,dangerItemActiveBg:Dt,colorDangerItemBgSelected:Dt,dangerItemSelectedBg:Dt,itemMarginInline:si,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ln,groupTitleLineHeight:_t,collapsedWidth:Ln*2,popupBg:un,itemMarginBlock:Pn,itemPaddingInline:Vn,horizontalLineHeight:`${Ln*1.15}px`,iconSize:Lt,iconMarginInlineEnd:Gt-Lt,collapsedIconSize:sn,groupTitleFontSize:Lt,darkItemDisabledColor:new Ve.FastColor(bn).setA(.25).toRgbString(),darkItemColor:Cr,darkDangerItemColor:vt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:bn,darkItemSelectedBg:mt,darkDangerItemSelectedBg:vt,darkItemHoverBg:"transparent",darkGroupTitleColor:Cr,darkItemHoverColor:bn,darkDangerItemHoverColor:Yn,darkDangerItemSelectedColor:bn,darkDangerItemActiveBg:vt,itemWidth:pr?`calc(100% + ${ti}px)`:`calc(100% - ${si*2}px)`}};var hn=function(le){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le,Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,ze.I$)("Menu",mt=>{const{colorBgElevated:vt,controlHeightLG:St,fontSize:Dt,darkItemColor:Qt,darkDangerItemColor:xt,darkItemBg:ct,darkSubMenuItemBg:Xt,darkItemSelectedColor:Wt,darkItemSelectedBg:wn,darkDangerItemSelectedBg:ln,darkItemHoverBg:nn,darkGroupTitleColor:zn,darkItemHoverColor:Ln,darkItemDisabledColor:_t,darkDangerItemHoverColor:un,darkDangerItemSelectedColor:Pn,darkDangerItemActiveBg:Vn,popupBg:Lt,darkPopupBg:Gt}=mt,sn=mt.calc(Dt).div(7).mul(5).equal(),bn=(0,pt.mergeToken)(mt,{menuArrowSize:sn,menuHorizontalHeight:mt.calc(St).mul(1.15).equal(),menuArrowOffset:mt.calc(sn).mul(.25).equal(),menuSubMenuBg:vt,calc:mt.calc,popupBg:Lt}),Yn=(0,pt.mergeToken)(bn,{itemColor:Qt,itemHoverColor:Ln,groupTitleColor:zn,itemSelectedColor:Wt,subMenuItemSelectedColor:Wt,itemBg:ct,popupBg:Gt,subMenuItemBg:Xt,itemActiveBg:"transparent",itemSelectedBg:wn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:nn,itemDisabledColor:_t,dangerItemColor:xt,dangerItemHoverColor:un,dangerItemSelectedColor:Pn,dangerItemActiveBg:Vn,dangerItemSelectedBg:ln,menuSubMenuBg:Xt,horizontalItemSelectedColor:Wt,horizontalItemSelectedBg:wn});return[Pt(bn),Qe(bn),Kt(bn),We(bn,"light"),We(Yn,"dark"),ot(bn),(0,at.Z)(bn),(0,ht.oN)(bn,"slide-up"),(0,ht.oN)(bn,"slide-down"),(0,Ct._y)(bn,"zoom-big")]},Rt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:Ge,unitless:{groupTitleLineHeight:!0}})(le,Be)},Tt=ae(75030),kt=le=>{var Be;const{popupClassName:Ge,icon:ut,title:mt,theme:vt}=le,St=x.useContext(Se),{prefixCls:Dt,inlineCollapsed:Qt,theme:xt}=St,ct=(0,dt.Xl)();let Xt;if(!ut)Xt=Qt&&!ct.length&&mt&&typeof mt=="string"?x.createElement("div",{className:`${Dt}-inline-collapsed-noicon`},mt.charAt(0)):x.createElement("span",{className:`${Dt}-title-content`},mt);else{const ln=x.isValidElement(mt)&&mt.type==="span";Xt=x.createElement(x.Fragment,null,(0,oe.Tm)(ut,{className:Fe()(x.isValidElement(ut)?(Be=ut.props)===null||Be===void 0?void 0:Be.className:"",`${Dt}-item-icon`)}),ln?mt:x.createElement("span",{className:`${Dt}-title-content`},mt))}const Wt=x.useMemo(()=>Object.assign(Object.assign({},St),{firstLevel:!1}),[St]),[wn]=(0,Tt.Cn)("Menu");return x.createElement(Se.Provider,{value:Wt},x.createElement(dt.Wd,Object.assign({},(0,fe.Z)(le,["icon"]),{title:Xt,popupClassName:Fe()(Dt,Ge,`${Dt}-${vt||xt}`),popupStyle:Object.assign({zIndex:wn},le.popupStyle)})))},Fn=function(le,Be){var Ge={};for(var ut in le)Object.prototype.hasOwnProperty.call(le,ut)&&Be.indexOf(ut)<0&&(Ge[ut]=le[ut]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,ut=Object.getOwnPropertySymbols(le);mt<ut.length;mt++)Be.indexOf(ut[mt])<0&&Object.prototype.propertyIsEnumerable.call(le,ut[mt])&&(Ge[ut[mt]]=le[ut[mt]]);return Ge};function an(le){return le===null||le===!1}const de={item:je,submenu:kt,divider:we};var ie=(0,x.forwardRef)((le,Be)=>{var Ge;const ut=x.useContext(_e.Z),mt=ut||{},{getPrefixCls:vt,getPopupContainer:St,direction:Dt,menu:Qt}=x.useContext(Pe.E_),xt=vt(),{prefixCls:ct,className:Xt,style:Wt,theme:wn="light",expandIcon:ln,_internalDisableMenuItemTitleTooltip:nn,inlineCollapsed:zn,siderCollapsed:Ln,rootClassName:_t,mode:un,selectable:Pn,onClick:Vn,overflowedIndicatorPopupClassName:Lt}=le,Gt=Fn(le,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),sn=(0,fe.Z)(Gt,["collapsedWidth"]);(Ge=mt.validator)===null||Ge===void 0||Ge.call(mt,{mode:un});const bn=(0,Me.Z)(function(){var Br;Vn==null||Vn.apply(void 0,arguments),(Br=mt.onClick)===null||Br===void 0||Br.call(mt)}),Yn=mt.mode||un,pr=Pn!=null?Pn:mt.selectable,ti=zn!=null?zn:Ln,si={horizontal:{motionName:`${xt}-slide-up`},inline:(0,xe.Z)(xt),other:{motionName:`${xt}-zoom-big`}},Cr=vt("menu",ct||mt.prefixCls),ur=(0,ye.Z)(Cr),[dr,yn,$n]=hn(Cr,ur,!ut),rr=Fe()(`${Cr}-${wn}`,Qt==null?void 0:Qt.className,Xt),Zn=x.useMemo(()=>{var Br,Or;if(typeof ln=="function"||an(ln))return ln||null;if(typeof mt.expandIcon=="function"||an(mt.expandIcon))return mt.expandIcon||null;if(typeof(Qt==null?void 0:Qt.expandIcon)=="function"||an(Qt==null?void 0:Qt.expandIcon))return(Qt==null?void 0:Qt.expandIcon)||null;const ci=(Br=ln!=null?ln:mt==null?void 0:mt.expandIcon)!==null&&Br!==void 0?Br:Qt==null?void 0:Qt.expandIcon;return(0,oe.Tm)(ci,{className:Fe()(`${Cr}-submenu-expand-icon`,x.isValidElement(ci)?(Or=ci.props)===null||Or===void 0?void 0:Or.className:void 0)})},[ln,mt==null?void 0:mt.expandIcon,Qt==null?void 0:Qt.expandIcon,Cr]),br=x.useMemo(()=>({prefixCls:Cr,inlineCollapsed:ti||!1,direction:Dt,firstLevel:!0,theme:wn,mode:Yn,disableMenuItemTitleTooltip:nn}),[Cr,ti,Dt,nn,wn]);return dr(x.createElement(_e.Z.Provider,{value:null},x.createElement(Se.Provider,{value:br},x.createElement(dt.ZP,Object.assign({getPopupContainer:St,overflowedIndicator:x.createElement(qe.Z,null),overflowedIndicatorPopupClassName:Fe()(Cr,`${Cr}-${wn}`,Lt),mode:Yn,selectable:pr,onClick:bn},sn,{inlineCollapsed:ti,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Wt),className:rr,prefixCls:Cr,direction:Dt,defaultMotions:si,expandIcon:Zn,ref:Be,rootClassName:Fe()(_t,yn,mt.rootClassName,$n,ur),_internalComponents:de})))))});const ee=(0,x.forwardRef)((le,Be)=>{const Ge=(0,x.useRef)(null),ut=x.useContext(Le.D);return(0,x.useImperativeHandle)(Be,()=>({menu:Ge.current,focus:mt=>{var vt;(vt=Ge.current)===null||vt===void 0||vt.focus(mt)}})),x.createElement(ie,Object.assign({ref:Ge},le,ut))});ee.Item=je,ee.SubMenu=kt,ee.Divider=we,ee.ItemGroup=dt.BW;var se=ee},31709:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Qt}});var x=ae(59301),dt=ae(60499),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"},qe=Le,He=ae(7657),Fe=function(ct,Xt){return x.createElement(He.Z,(0,dt.Z)({},ct,{ref:Xt,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(49198),oe=ae(33853),Pe=ae(38819),ye=ae(92310),Re=ae.n(ye),Se=ae(18642),Ie=ae(43749),ve=ae(85899),we=ae(72190),Ee=ae(18929),Oe=ae(10228),Ke=ae(26112),je=ae(48736),_e=ae(17119),Je=[10,20,50,100],Ve=function(ct){var Xt=ct.pageSizeOptions,Wt=Xt===void 0?Je:Xt,wn=ct.locale,ln=ct.changeSize,nn=ct.pageSize,zn=ct.goButton,Ln=ct.quickGo,_t=ct.rootPrefixCls,un=ct.disabled,Pn=ct.buildOptionText,Vn=ct.showSizeChanger,Lt=ct.sizeChangerRender,Gt=x.useState(""),sn=(0,we.Z)(Gt,2),bn=sn[0],Yn=sn[1],pr=function(){return!bn||Number.isNaN(bn)?void 0:Number(bn)},ti=typeof Pn=="function"?Pn:function(br){return"".concat(br," ").concat(wn.items_per_page)},si=function(Br){Yn(Br.target.value)},Cr=function(Br){zn||bn===""||(Yn(""),!(Br.relatedTarget&&(Br.relatedTarget.className.indexOf("".concat(_t,"-item-link"))>=0||Br.relatedTarget.className.indexOf("".concat(_t,"-item"))>=0))&&(Ln==null||Ln(pr())))},ur=function(Br){bn!==""&&(Br.keyCode===Oe.Z.ENTER||Br.type==="click")&&(Yn(""),Ln==null||Ln(pr()))},dr=function(){return Wt.some(function(Br){return Br.toString()===nn.toString()})?Wt:Wt.concat([nn]).sort(function(Br,Or){var ci=Number.isNaN(Number(Br))?0:Number(Br),Ai=Number.isNaN(Number(Or))?0:Number(Or);return ci-Ai})},yn="".concat(_t,"-options");if(!Vn&&!Ln)return null;var $n=null,rr=null,Zn=null;return Vn&&Lt&&($n=Lt({disabled:un,size:nn,onSizeChange:function(Br){ln==null||ln(Number(Br))},"aria-label":wn.page_size,className:"".concat(yn,"-size-changer"),options:dr().map(function(br){return{label:ti(br),value:br}})})),Ln&&(zn&&(Zn=typeof zn=="boolean"?x.createElement("button",{type:"button",onClick:ur,onKeyUp:ur,disabled:un,className:"".concat(yn,"-quick-jumper-button")},wn.jump_to_confirm):x.createElement("span",{onClick:ur,onKeyUp:ur},zn)),rr=x.createElement("div",{className:"".concat(yn,"-quick-jumper")},wn.jump_to,x.createElement("input",{disabled:un,type:"text",value:bn,onChange:si,onKeyUp:ur,onBlur:Cr,"aria-label":wn.page}),wn.page,Zn)),x.createElement("li",{className:yn},$n,rr)},st=Ve,at=function(ct){var Xt=ct.rootPrefixCls,Wt=ct.page,wn=ct.active,ln=ct.className,nn=ct.showTitle,zn=ct.onClick,Ln=ct.onKeyPress,_t=ct.itemRender,un="".concat(Xt,"-item"),Pn=Re()(un,"".concat(un,"-").concat(Wt),(0,Se.Z)((0,Se.Z)({},"".concat(un,"-active"),wn),"".concat(un,"-disabled"),!Wt),ln),Vn=function(){zn(Wt)},Lt=function(bn){Ln(bn,zn,Wt)},Gt=_t(Wt,"page",x.createElement("a",{rel:"nofollow"},Wt));return Gt?x.createElement("li",{title:nn?String(Wt):null,className:Pn,onClick:Vn,onKeyDown:Lt,tabIndex:0},Gt):null},ht=at,Ct=function(ct,Xt,Wt){return Wt};function ze(){}function pt(xt){var ct=Number(xt);return typeof ct=="number"&&!Number.isNaN(ct)&&isFinite(ct)&&Math.floor(ct)===ct}function Ne(xt,ct,Xt){var Wt=typeof xt=="undefined"?ct:xt;return Math.floor((Xt-1)/Wt)+1}var Qe=function(ct){var Xt=ct.prefixCls,Wt=Xt===void 0?"rc-pagination":Xt,wn=ct.selectPrefixCls,ln=wn===void 0?"rc-select":wn,nn=ct.className,zn=ct.current,Ln=ct.defaultCurrent,_t=Ln===void 0?1:Ln,un=ct.total,Pn=un===void 0?0:un,Vn=ct.pageSize,Lt=ct.defaultPageSize,Gt=Lt===void 0?10:Lt,sn=ct.onChange,bn=sn===void 0?ze:sn,Yn=ct.hideOnSinglePage,pr=ct.align,ti=ct.showPrevNextJumpers,si=ti===void 0?!0:ti,Cr=ct.showQuickJumper,ur=ct.showLessItems,dr=ct.showTitle,yn=dr===void 0?!0:dr,$n=ct.onShowSizeChange,rr=$n===void 0?ze:$n,Zn=ct.locale,br=Zn===void 0?_e.Z:Zn,Br=ct.style,Or=ct.totalBoundaryShowSizeChanger,ci=Or===void 0?50:Or,Ai=ct.disabled,di=ct.simple,Pi=ct.showTotal,yi=ct.showSizeChanger,oo=yi===void 0?Pn>ci:yi,Gi=ct.sizeChangerRender,ar=ct.pageSizeOptions,Dr=ct.itemRender,gi=Dr===void 0?Ct:Dr,ni=ct.jumpPrevIcon,An=ct.jumpNextIcon,Cn=ct.prevIcon,tt=ct.nextIcon,pn=x.useRef(null),Zt=(0,Ee.Z)(10,{value:Vn,defaultValue:Gt}),vn=(0,we.Z)(Zt,2),On=vn[0],Rr=vn[1],Xr=(0,Ee.Z)(1,{value:zn,defaultValue:_t,postState:function(vo){return Math.max(1,Math.min(vo,Ne(void 0,On,Pn)))}}),li=(0,we.Z)(Xr,2),nr=li[0],or=li[1],er=x.useState(nr),_r=(0,we.Z)(er,2),Ti=_r[0],bi=_r[1];(0,x.useEffect)(function(){bi(nr)},[nr]);var Xi=bn!==ze,Er="current"in ct,tn=Math.max(1,nr-(ur?3:5)),$t=Math.min(Ne(void 0,On,Pn),nr+(ur?3:5));function jn(Fo,vo){var qo=Fo||x.createElement("button",{type:"button","aria-label":vo,className:"".concat(Wt,"-item-link")});return typeof Fo=="function"&&(qo=x.createElement(Fo,(0,ve.Z)({},ct))),qo}function lr(Fo){var vo=Fo.target.value,qo=Ne(void 0,On,Pn),ja;return vo===""?ja=vo:Number.isNaN(Number(vo))?ja=Ti:vo>=qo?ja=qo:ja=Number(vo),ja}function gr(Fo){return pt(Fo)&&Fo!==nr&&pt(Pn)&&Pn>0}var Ir=Pn>On?Cr:!1;function Kr(Fo){(Fo.keyCode===Oe.Z.UP||Fo.keyCode===Oe.Z.DOWN)&&Fo.preventDefault()}function zr(Fo){var vo=lr(Fo);switch(vo!==Ti&&bi(vo),Fo.keyCode){case Oe.Z.ENTER:xi(vo);break;case Oe.Z.UP:xi(vo-1);break;case Oe.Z.DOWN:xi(vo+1);break;default:break}}function pi(Fo){xi(lr(Fo))}function Ci(Fo){var vo=Ne(Fo,On,Pn),qo=nr>vo&&vo!==0?vo:nr;Rr(Fo),bi(qo),rr==null||rr(nr,Fo),or(qo),bn==null||bn(qo,Fo)}function xi(Fo){if(gr(Fo)&&!Ai){var vo=Ne(void 0,On,Pn),qo=Fo;return Fo>vo?qo=vo:Fo<1&&(qo=1),qo!==Ti&&bi(qo),or(qo),bn==null||bn(qo,On),qo}return nr}var hi=nr>1,Ii=nr<Ne(void 0,On,Pn);function Di(){hi&&xi(nr-1)}function $i(){Ii&&xi(nr+1)}function no(){xi(tn)}function Hi(){xi($t)}function ai(Fo,vo){if(Fo.key==="Enter"||Fo.charCode===Oe.Z.ENTER||Fo.keyCode===Oe.Z.ENTER){for(var qo=arguments.length,ja=new Array(qo>2?qo-2:0),ls=2;ls<qo;ls++)ja[ls-2]=arguments[ls];vo.apply(void 0,ja)}}function ao(Fo){ai(Fo,Di)}function ki(Fo){ai(Fo,$i)}function So(Fo){ai(Fo,no)}function uo(Fo){ai(Fo,Hi)}function Do(Fo){var vo=gi(Fo,"prev",jn(Cn,"prev page"));return x.isValidElement(vo)?x.cloneElement(vo,{disabled:!hi}):vo}function Co(Fo){var vo=gi(Fo,"next",jn(tt,"next page"));return x.isValidElement(vo)?x.cloneElement(vo,{disabled:!Ii}):vo}function to(Fo){(Fo.type==="click"||Fo.keyCode===Oe.Z.ENTER)&&xi(Ti)}var Mo=null,Go=(0,Ke.Z)(ct,{aria:!0,data:!0}),zo=Pi&&x.createElement("li",{className:"".concat(Wt,"-total-text")},Pi(Pn,[Pn===0?0:(nr-1)*On+1,nr*On>Pn?Pn:nr*On])),No=null,zi=Ne(void 0,On,Pn);if(Yn&&Pn<=On)return null;var Vt=[],$r={rootPrefixCls:Wt,onClick:xi,onKeyPress:ai,showTitle:yn,itemRender:gi,page:-1},ui=nr-1>0?nr-1:0,Zr=nr+1<zi?nr+1:zi,Ri=Cr&&Cr.goButton,ro=(0,Ie.Z)(di)==="object"?di.readOnly:!di,jr=Ri,Yr=null;di&&(Ri&&(typeof Ri=="boolean"?jr=x.createElement("button",{type:"button",onClick:to,onKeyUp:to},br.jump_to_confirm):jr=x.createElement("span",{onClick:to,onKeyUp:to},Ri),jr=x.createElement("li",{title:yn?"".concat(br.jump_to).concat(nr,"/").concat(zi):null,className:"".concat(Wt,"-simple-pager")},jr)),Yr=x.createElement("li",{title:yn?"".concat(nr,"/").concat(zi):null,className:"".concat(Wt,"-simple-pager")},ro?Ti:x.createElement("input",{type:"text","aria-label":br.jump_to,value:Ti,disabled:Ai,onKeyDown:Kr,onKeyUp:zr,onChange:zr,onBlur:pi,size:3}),x.createElement("span",{className:"".concat(Wt,"-slash")},"/"),zi));var Bi=ur?1:2;if(zi<=3+Bi*2){zi||Vt.push(x.createElement(ht,(0,dt.Z)({},$r,{key:"noPager",page:1,className:"".concat(Wt,"-item-disabled")})));for(var _i=1;_i<=zi;_i+=1)Vt.push(x.createElement(ht,(0,dt.Z)({},$r,{key:_i,page:_i,active:nr===_i})))}else{var Ro=ur?br.prev_3:br.prev_5,ya=ur?br.next_3:br.next_5,$o=gi(tn,"jump-prev",jn(ni,"prev page")),Ea=gi($t,"jump-next",jn(An,"next page"));si&&(Mo=$o?x.createElement("li",{title:yn?Ro:null,key:"prev",onClick:no,tabIndex:0,onKeyDown:So,className:Re()("".concat(Wt,"-jump-prev"),(0,Se.Z)({},"".concat(Wt,"-jump-prev-custom-icon"),!!ni))},$o):null,No=Ea?x.createElement("li",{title:yn?ya:null,key:"next",onClick:Hi,tabIndex:0,onKeyDown:uo,className:Re()("".concat(Wt,"-jump-next"),(0,Se.Z)({},"".concat(Wt,"-jump-next-custom-icon"),!!An))},Ea):null);var da=Math.max(1,nr-Bi),wa=Math.min(nr+Bi,zi);nr-1<=Bi&&(wa=1+Bi*2),zi-nr<=Bi&&(da=zi-Bi*2);for(var Wr=da;Wr<=wa;Wr+=1)Vt.push(x.createElement(ht,(0,dt.Z)({},$r,{key:Wr,page:Wr,active:nr===Wr})));if(nr-1>=Bi*2&&nr!==3&&(Vt[0]=x.cloneElement(Vt[0],{className:Re()("".concat(Wt,"-item-after-jump-prev"),Vt[0].props.className)}),Vt.unshift(Mo)),zi-nr>=Bi*2&&nr!==zi-2){var Ji=Vt[Vt.length-1];Vt[Vt.length-1]=x.cloneElement(Ji,{className:Re()("".concat(Wt,"-item-before-jump-next"),Ji.props.className)}),Vt.push(No)}da!==1&&Vt.unshift(x.createElement(ht,(0,dt.Z)({},$r,{key:1,page:1}))),wa!==zi&&Vt.push(x.createElement(ht,(0,dt.Z)({},$r,{key:zi,page:zi})))}var xo=Do(ui);if(xo){var ba=!hi||!zi;xo=x.createElement("li",{title:yn?br.prev_page:null,onClick:Di,tabIndex:ba?null:0,onKeyDown:ao,className:Re()("".concat(Wt,"-prev"),(0,Se.Z)({},"".concat(Wt,"-disabled"),ba)),"aria-disabled":ba},xo)}var Xa=Co(Zr);if(Xa){var ns,Ta;di?(ns=!Ii,Ta=hi?0:null):(ns=!Ii||!zi,Ta=ns?null:0),Xa=x.createElement("li",{title:yn?br.next_page:null,onClick:$i,tabIndex:Ta,onKeyDown:ki,className:Re()("".concat(Wt,"-next"),(0,Se.Z)({},"".concat(Wt,"-disabled"),ns)),"aria-disabled":ns},Xa)}var Za=Re()(Wt,nn,(0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)((0,Se.Z)({},"".concat(Wt,"-start"),pr==="start"),"".concat(Wt,"-center"),pr==="center"),"".concat(Wt,"-end"),pr==="end"),"".concat(Wt,"-simple"),di),"".concat(Wt,"-disabled"),Ai));return x.createElement("ul",(0,dt.Z)({className:Za,style:Br,ref:pn},Go),zo,xo,di?Yr:Vt,Xa,x.createElement(st,{locale:br,rootPrefixCls:Wt,disabled:Ai,selectPrefixCls:ln,changeSize:Ci,pageSize:On,pageSizeOptions:ar,quickGo:Ir?xi:null,goButton:jr,showSizeChanger:oo,sizeChangerRender:Gi}))},Ot=Qe,ot=ae(61852),lt=ae(48755),Bt=ae(31756),We=ae(13783),ke=ae(9017),At=ae(82326),Kt=ae(57700),Ht=ae(36237),nt=ae(53075),Pt=ae(64910),Rt=ae(39082),hn=ae(63356),Tt=ae(51636),mn=ae(16931);const kt=xt=>{const{componentCls:ct}=xt;return{[`${ct}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ct}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ct}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed"}}},[`&${ct}-disabled`]:{cursor:"not-allowed",[`${ct}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:xt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:xt.colorBorder,backgroundColor:xt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:xt.itemActiveBgDisabled},a:{color:xt.itemActiveColorDisabled}}},[`${ct}-item-link`]:{color:xt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ct}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ct}-simple-pager`]:{color:xt.colorTextDisabled},[`${ct}-jump-prev, ${ct}-jump-next`]:{[`${ct}-item-link-icon`]:{opacity:0},[`${ct}-item-ellipsis`]:{opacity:1}}},[`&${ct}-simple`]:{[`${ct}-prev, ${ct}-next`]:{[`&${ct}-disabled ${ct}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Fn=xt=>{const{componentCls:ct}=xt;return{[`&${ct}-mini ${ct}-total-text, &${ct}-mini ${ct}-simple-pager`]:{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM)},[`&${ct}-mini ${ct}-item`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,Ht.unit)(xt.calc(xt.itemSizeSM).sub(2).equal())},[`&${ct}-mini ${ct}-prev, &${ct}-mini ${ct}-next`]:{minWidth:xt.itemSizeSM,height:xt.itemSizeSM,margin:0,lineHeight:(0,Ht.unit)(xt.itemSizeSM)},[`&${ct}-mini:not(${ct}-disabled)`]:{[`${ct}-prev, ${ct}-next`]:{[`&:hover ${ct}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${ct}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${ct}-disabled:hover ${ct}-item-link`]:{backgroundColor:"transparent"}}},[`
&${ct}-mini ${ct}-prev ${ct}-item-link,
&${ct}-mini ${ct}-next ${ct}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM)}},[`&${ct}-mini ${ct}-jump-prev, &${ct}-mini ${ct}-jump-next`]:{height:xt.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Ht.unit)(xt.itemSizeSM)},[`&${ct}-mini ${ct}-options`]:{marginInlineStart:xt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:xt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM),input:Object.assign(Object.assign({},(0,nt.x0)(xt)),{width:xt.paginationMiniQuickJumperInputWidth,height:xt.controlHeightSM})}}}},an=xt=>{const{componentCls:ct}=xt;return{[`
&${ct}-simple ${ct}-prev,
&${ct}-simple ${ct}-next
`]:{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM),verticalAlign:"top",[`${ct}-item-link`]:{height:xt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive},"&::after":{height:xt.itemSizeSM,lineHeight:(0,Ht.unit)(xt.itemSizeSM)}}},[`&${ct}-simple ${ct}-simple-pager`]:{display:"inline-block",height:xt.itemSizeSM,marginInlineEnd:xt.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Ht.unit)(xt.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:xt.itemInputBg,border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,borderRadius:xt.borderRadius,outline:"none",transition:`border-color ${xt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:xt.colorPrimary},"&:focus":{borderColor:xt.colorPrimaryHover,boxShadow:`${(0,Ht.unit)(xt.inputOutlineOffset)} 0 ${(0,Ht.unit)(xt.controlOutlineWidth)} ${xt.controlOutline}`},"&[disabled]":{color:xt.colorTextDisabled,backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,cursor:"not-allowed"}}}}},de=xt=>{const{componentCls:ct}=xt;return{[`${ct}-jump-prev, ${ct}-jump-next`]:{outline:0,[`${ct}-item-container`]:{position:"relative",[`${ct}-item-link-icon`]:{color:xt.colorPrimary,fontSize:xt.fontSizeSM,opacity:0,transition:`all ${xt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ct}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:xt.colorTextDisabled,letterSpacing:xt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:xt.paginationEllipsisTextIndent,opacity:1,transition:`all ${xt.motionDurationMid}`}},"&:hover":{[`${ct}-item-link-icon`]:{opacity:1},[`${ct}-item-ellipsis`]:{opacity:0}}},[`
${ct}-prev,
${ct}-jump-prev,
${ct}-jump-next
`]:{marginInlineEnd:xt.marginXS},[`
${ct}-prev,
${ct}-next,
${ct}-jump-prev,
${ct}-jump-next
`]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,color:xt.colorText,fontFamily:xt.fontFamily,lineHeight:(0,Ht.unit)(xt.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:xt.borderRadius,cursor:"pointer",transition:`all ${xt.motionDurationMid}`},[`${ct}-prev, ${ct}-next`]:{outline:0,button:{color:xt.colorText,cursor:"pointer",userSelect:"none"},[`${ct}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:xt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:"none",transition:`all ${xt.motionDurationMid}`},[`&:hover ${ct}-item-link`]:{backgroundColor:xt.colorBgTextHover},[`&:active ${ct}-item-link`]:{backgroundColor:xt.colorBgTextActive},[`&${ct}-disabled:hover`]:{[`${ct}-item-link`]:{backgroundColor:"transparent"}}},[`${ct}-slash`]:{marginInlineEnd:xt.paginationSlashMarginInlineEnd,marginInlineStart:xt.paginationSlashMarginInlineStart},[`${ct}-options`]:{display:"inline-block",marginInlineStart:xt.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:xt.controlHeight,marginInlineStart:xt.marginXS,lineHeight:(0,Ht.unit)(xt.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,nt.ik)(xt)),(0,Rt.$U)(xt,{borderColor:xt.colorBorder,hoverBorderColor:xt.colorPrimaryHover,activeBorderColor:xt.colorPrimary,activeShadow:xt.activeShadow})),{"&[disabled]":Object.assign({},(0,Rt.Xy)(xt)),width:xt.calc(xt.controlHeightLG).mul(1.25).equal(),height:xt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:xt.marginXS,marginInlineEnd:xt.marginXS})}}}},ge=xt=>{const{componentCls:ct}=xt;return{[`${ct}-item`]:{display:"inline-block",minWidth:xt.itemSize,height:xt.itemSize,marginInlineEnd:xt.marginXS,fontFamily:xt.fontFamily,lineHeight:(0,Ht.unit)(xt.calc(xt.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:xt.itemBg,border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} transparent`,borderRadius:xt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Ht.unit)(xt.paginationItemPaddingInline)}`,color:xt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ct}-item-active)`]:{"&:hover":{transition:`all ${xt.motionDurationMid}`,backgroundColor:xt.colorBgTextHover},"&:active":{backgroundColor:xt.colorBgTextActive}},"&-active":{fontWeight:xt.fontWeightStrong,backgroundColor:xt.itemActiveBg,borderColor:xt.colorPrimary,a:{color:xt.colorPrimary},"&:hover":{borderColor:xt.colorPrimaryHover},"&:hover a":{color:xt.colorPrimaryHover}}}}},ie=xt=>{const{componentCls:ct}=xt;return{[ct]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,hn.Wf)(xt)),{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:'""'},[`${ct}-total-text`]:{display:"inline-block",height:xt.itemSize,marginInlineEnd:xt.marginXS,lineHeight:(0,Ht.unit)(xt.calc(xt.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ge(xt)),de(xt)),an(xt)),Fn(xt)),kt(xt)),{[`@media only screen and (max-width: ${xt.screenLG}px)`]:{[`${ct}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${xt.screenSM}px)`]:{[`${ct}-options`]:{display:"none"}}}),[`&${xt.componentCls}-rtl`]:{direction:"rtl"}}},ee=xt=>{const{componentCls:ct}=xt;return{[`${ct}:not(${ct}-disabled)`]:{[`${ct}-item`]:Object.assign({},(0,hn.Qy)(xt)),[`${ct}-jump-prev, ${ct}-jump-next`]:{"&:focus-visible":Object.assign({[`${ct}-item-link-icon`]:{opacity:1},[`${ct}-item-ellipsis`]:{opacity:0}},(0,hn.oN)(xt))},[`${ct}-prev, ${ct}-next`]:{[`&:focus-visible ${ct}-item-link`]:Object.assign({},(0,hn.oN)(xt))}}}},se=xt=>Object.assign({itemBg:xt.colorBgContainer,itemSize:xt.controlHeight,itemSizeSM:xt.controlHeightSM,itemActiveBg:xt.colorBgContainer,itemLinkBg:xt.colorBgContainer,itemActiveColorDisabled:xt.colorTextDisabled,itemActiveBgDisabled:xt.controlItemBgActiveDisabled,itemInputBg:xt.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Pt.T)(xt)),le=xt=>(0,Tt.mergeToken)(xt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:xt.calc(xt.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:xt.calc(xt.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:xt.calc(xt.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:xt.calc(xt.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:xt.marginSM,paginationSlashMarginInlineEnd:xt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Pt.e)(xt));var Be=(0,mn.I$)("Pagination",xt=>{const ct=le(xt);return[ie(ct),ee(ct)]},se);const Ge=xt=>{const{componentCls:ct}=xt;return{[`${ct}${ct}-bordered${ct}-disabled:not(${ct}-mini)`]:{"&, &:hover":{[`${ct}-item-link`]:{borderColor:xt.colorBorder}},"&:focus-visible":{[`${ct}-item-link`]:{borderColor:xt.colorBorder}},[`${ct}-item, ${ct}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,[`&:hover:not(${ct}-item-active)`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,a:{color:xt.colorTextDisabled}},[`&${ct}-item-active`]:{backgroundColor:xt.itemActiveBgDisabled}},[`${ct}-prev, ${ct}-next`]:{"&:hover button":{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder,color:xt.colorTextDisabled},[`${ct}-item-link`]:{backgroundColor:xt.colorBgContainerDisabled,borderColor:xt.colorBorder}}},[`${ct}${ct}-bordered:not(${ct}-mini)`]:{[`${ct}-prev, ${ct}-next`]:{"&:hover button":{borderColor:xt.colorPrimaryHover,backgroundColor:xt.itemBg},[`${ct}-item-link`]:{backgroundColor:xt.itemLinkBg,borderColor:xt.colorBorder},[`&:hover ${ct}-item-link`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,color:xt.colorPrimary},[`&${ct}-disabled`]:{[`${ct}-item-link`]:{borderColor:xt.colorBorder,color:xt.colorTextDisabled}}},[`${ct}-item`]:{backgroundColor:xt.itemBg,border:`${(0,Ht.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,[`&:hover:not(${ct}-item-active)`]:{borderColor:xt.colorPrimary,backgroundColor:xt.itemBg,a:{color:xt.colorPrimary}},"&-active":{borderColor:xt.colorPrimary}}}}};var ut=(0,mn.bk)(["Pagination","bordered"],xt=>{const ct=le(xt);return[Ge(ct)]},se);function mt(xt){return(0,x.useMemo)(()=>typeof xt=="boolean"?[xt,{}]:xt&&typeof xt=="object"?[!0,xt]:[void 0,void 0],[xt])}var vt=function(xt,ct){var Xt={};for(var Wt in xt)Object.prototype.hasOwnProperty.call(xt,Wt)&&ct.indexOf(Wt)<0&&(Xt[Wt]=xt[Wt]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,Wt=Object.getOwnPropertySymbols(xt);wn<Wt.length;wn++)ct.indexOf(Wt[wn])<0&&Object.prototype.propertyIsEnumerable.call(xt,Wt[wn])&&(Xt[Wt[wn]]=xt[Wt[wn]]);return Xt},Dt=xt=>{const{align:ct,prefixCls:Xt,selectPrefixCls:Wt,className:wn,rootClassName:ln,style:nn,size:zn,locale:Ln,responsive:_t,showSizeChanger:un,selectComponentClass:Pn,pageSizeOptions:Vn}=xt,Lt=vt(xt,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Gt}=(0,We.Z)(_t),[,sn]=(0,Kt.ZP)(),{getPrefixCls:bn,direction:Yn,showSizeChanger:pr,className:ti,style:si}=(0,lt.dj)("pagination"),Cr=bn("pagination",Xt),[ur,dr,yn]=Be(Cr),$n=(0,Bt.Z)(zn),rr=$n==="small"||!!(Gt&&!$n&&_t),[Zn]=(0,ke.Z)("Pagination",ot.Z),br=Object.assign(Object.assign({},Zn),Ln),[Br,Or]=mt(un),[ci,Ai]=mt(pr),di=Br!=null?Br:ci,Pi=Or!=null?Or:Ai,yi=Pn||At.default,oo=x.useMemo(()=>Vn?Vn.map(An=>Number(An)):void 0,[Vn]),Gi=An=>{var Cn;const{disabled:tt,size:pn,onSizeChange:Zt,"aria-label":vn,className:On,options:Rr}=An,{className:Xr,onChange:li}=Pi||{},nr=(Cn=Rr.find(or=>String(or.value)===String(pn)))===null||Cn===void 0?void 0:Cn.value;return x.createElement(yi,Object.assign({disabled:tt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:or=>or.parentNode,"aria-label":vn,options:Rr},Pi,{value:nr,onChange:(or,er)=>{Zt==null||Zt(or),li==null||li(or,er)},size:rr?"small":"middle",className:Re()(On,Xr)}))},ar=x.useMemo(()=>{const An=x.createElement("span",{className:`${Cr}-item-ellipsis`},"\u2022\u2022\u2022"),Cn=x.createElement("button",{className:`${Cr}-item-link`,type:"button",tabIndex:-1},Yn==="rtl"?x.createElement(Pe.Z,null):x.createElement(oe.Z,null)),tt=x.createElement("button",{className:`${Cr}-item-link`,type:"button",tabIndex:-1},Yn==="rtl"?x.createElement(oe.Z,null):x.createElement(Pe.Z,null)),pn=x.createElement("a",{className:`${Cr}-item-link`},x.createElement("div",{className:`${Cr}-item-container`},Yn==="rtl"?x.createElement(xe.Z,{className:`${Cr}-item-link-icon`}):x.createElement(fe,{className:`${Cr}-item-link-icon`}),An)),Zt=x.createElement("a",{className:`${Cr}-item-link`},x.createElement("div",{className:`${Cr}-item-container`},Yn==="rtl"?x.createElement(fe,{className:`${Cr}-item-link-icon`}):x.createElement(xe.Z,{className:`${Cr}-item-link-icon`}),An));return{prevIcon:Cn,nextIcon:tt,jumpPrevIcon:pn,jumpNextIcon:Zt}},[Yn,Cr]),Dr=bn("select",Wt),gi=Re()({[`${Cr}-${ct}`]:!!ct,[`${Cr}-mini`]:rr,[`${Cr}-rtl`]:Yn==="rtl",[`${Cr}-bordered`]:sn.wireframe},ti,wn,ln,dr,yn),ni=Object.assign(Object.assign({},si),nn);return ur(x.createElement(x.Fragment,null,sn.wireframe&&x.createElement(ut,{prefixCls:Cr}),x.createElement(Ot,Object.assign({},ar,Lt,{style:ni,prefixCls:Cr,selectPrefixCls:Dr,className:gi,locale:br,pageSizeOptions:oo,showSizeChanger:di,sizeChangerRender:Gi}))))},Qt=Dt},89787:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ln}});var x=ae(59301),dt=ae(17835),Le=ae(29679),qe=ae(40001),He=ae(19248),Fe=ae(99267),Me=ae(92310),fe=ae.n(Me),xe=ae(2738),oe=ae(48755),Pe=ae(60499),ye=ae(85899),Re=ae(42244),Se={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ie=function(){var un=(0,x.useRef)([]),Pn=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Vn=Date.now(),Lt=!1;un.current.forEach(function(Gt){if(Gt){Lt=!0;var sn=Gt.style;sn.transitionDuration=".3s, .3s, .3s, .06s",Pn.current&&Vn-Pn.current<100&&(sn.transitionDuration="0s, 0s")}}),Lt&&(Pn.current=Date.now())}),un.current},ve=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],we=function(un){var Pn=(0,ye.Z)((0,ye.Z)({},Se),un),Vn=Pn.className,Lt=Pn.percent,Gt=Pn.prefixCls,sn=Pn.strokeColor,bn=Pn.strokeLinecap,Yn=Pn.strokeWidth,pr=Pn.style,ti=Pn.trailColor,si=Pn.trailWidth,Cr=Pn.transition,ur=(0,Re.Z)(Pn,ve);delete ur.gapPosition;var dr=Array.isArray(Lt)?Lt:[Lt],yn=Array.isArray(sn)?sn:[sn],$n=Ie(),rr=Yn/2,Zn=100-Yn/2,br="M ".concat(bn==="round"?rr:0,",").concat(rr,`
L `).concat(bn==="round"?Zn:100,",").concat(rr),Br="0 0 100 ".concat(Yn),Or=0;return x.createElement("svg",(0,Pe.Z)({className:fe()("".concat(Gt,"-line"),Vn),viewBox:Br,preserveAspectRatio:"none",style:pr},ur),x.createElement("path",{className:"".concat(Gt,"-line-trail"),d:br,strokeLinecap:bn,stroke:ti,strokeWidth:si||Yn,fillOpacity:"0"}),dr.map(function(ci,Ai){var di=1;switch(bn){case"round":di=1-Yn/100;break;case"square":di=1-Yn/2/100;break;default:di=1;break}var Pi={strokeDasharray:"".concat(ci*di,"px, 100px"),strokeDashoffset:"-".concat(Or,"px"),transition:Cr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},yi=yn[Ai]||yn[yn.length-1];return Or+=ci,x.createElement("path",{key:Ai,className:"".concat(Gt,"-line-path"),d:br,strokeLinecap:bn,stroke:yi,strokeWidth:Yn,fillOpacity:"0",ref:function(Gi){$n[Ai]=Gi},style:Pi})}))},Ee=we,Oe=ae(43749),Ke=ae(72190),je=ae(47273),_e=0,Je=(0,je.Z)();function Ve(){var _t;return Je?(_t=_e,_e+=1):_t="TEST_OR_SSR",_t}var st=function(_t){var un=x.useState(),Pn=(0,Ke.Z)(un,2),Vn=Pn[0],Lt=Pn[1];return x.useEffect(function(){Lt("rc_progress_".concat(Ve()))},[]),_t||Vn},at=function(un){var Pn=un.bg,Vn=un.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Pn}},Vn)};function ht(_t,un){return Object.keys(_t).map(function(Pn){var Vn=parseFloat(Pn),Lt="".concat(Math.floor(Vn*un),"%");return"".concat(_t[Pn]," ").concat(Lt)})}var Ct=x.forwardRef(function(_t,un){var Pn=_t.prefixCls,Vn=_t.color,Lt=_t.gradientId,Gt=_t.radius,sn=_t.style,bn=_t.ptg,Yn=_t.strokeLinecap,pr=_t.strokeWidth,ti=_t.size,si=_t.gapDegree,Cr=Vn&&(0,Oe.Z)(Vn)==="object",ur=Cr?"#FFF":void 0,dr=ti/2,yn=x.createElement("circle",{className:"".concat(Pn,"-circle-path"),r:Gt,cx:dr,cy:dr,stroke:ur,strokeLinecap:Yn,strokeWidth:pr,opacity:bn===0?0:1,style:sn,ref:un});if(!Cr)return yn;var $n="".concat(Lt,"-conic"),rr=si?"".concat(180+si/2,"deg"):"0deg",Zn=ht(Vn,(360-si)/360),br=ht(Vn,1),Br="conic-gradient(from ".concat(rr,", ").concat(Zn.join(", "),")"),Or="linear-gradient(to ".concat(si?"bottom":"top",", ").concat(br.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:$n},yn),x.createElement("foreignObject",{x:0,y:0,width:ti,height:ti,mask:"url(#".concat($n,")")},x.createElement(at,{bg:Or},x.createElement(at,{bg:Br}))))}),ze=Ct,pt=100,Ne=function(un,Pn,Vn,Lt,Gt,sn,bn,Yn,pr,ti){var si=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Cr=Vn/100*360*((360-sn)/360),ur=sn===0?0:{bottom:0,top:180,left:90,right:-90}[bn],dr=(100-Lt)/100*Pn;pr==="round"&&Lt!==100&&(dr+=ti/2,dr>=Pn&&(dr=Pn-.01));var yn=pt/2;return{stroke:typeof Yn=="string"?Yn:void 0,strokeDasharray:"".concat(Pn,"px ").concat(un),strokeDashoffset:dr+si,transform:"rotate(".concat(Gt+Cr+ur,"deg)"),transformOrigin:"".concat(yn,"px ").concat(yn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ot(_t){var un=_t!=null?_t:[];return Array.isArray(un)?un:[un]}var ot=function(un){var Pn=(0,ye.Z)((0,ye.Z)({},Se),un),Vn=Pn.id,Lt=Pn.prefixCls,Gt=Pn.steps,sn=Pn.strokeWidth,bn=Pn.trailWidth,Yn=Pn.gapDegree,pr=Yn===void 0?0:Yn,ti=Pn.gapPosition,si=Pn.trailColor,Cr=Pn.strokeLinecap,ur=Pn.style,dr=Pn.className,yn=Pn.strokeColor,$n=Pn.percent,rr=(0,Re.Z)(Pn,Qe),Zn=pt/2,br=st(Vn),Br="".concat(br,"-gradient"),Or=Zn-sn/2,ci=Math.PI*2*Or,Ai=pr>0?90+pr/2:-90,di=ci*((360-pr)/360),Pi=(0,Oe.Z)(Gt)==="object"?Gt:{count:Gt,gap:2},yi=Pi.count,oo=Pi.gap,Gi=Ot($n),ar=Ot(yn),Dr=ar.find(function(Zt){return Zt&&(0,Oe.Z)(Zt)==="object"}),gi=Dr&&(0,Oe.Z)(Dr)==="object",ni=gi?"butt":Cr,An=Ne(ci,di,0,100,Ai,pr,ti,si,ni,sn),Cn=Ie(),tt=function(){var vn=0;return Gi.map(function(On,Rr){var Xr=ar[Rr]||ar[ar.length-1],li=Ne(ci,di,vn,On,Ai,pr,ti,Xr,ni,sn);return vn+=On,x.createElement(ze,{key:Rr,color:Xr,ptg:On,radius:Or,prefixCls:Lt,gradientId:Br,style:li,strokeLinecap:ni,strokeWidth:sn,gapDegree:pr,ref:function(or){Cn[Rr]=or},size:pt})}).reverse()},pn=function(){var vn=Math.round(yi*(Gi[0]/100)),On=100/yi,Rr=0;return new Array(yi).fill(null).map(function(Xr,li){var nr=li<=vn-1?ar[0]:si,or=nr&&(0,Oe.Z)(nr)==="object"?"url(#".concat(Br,")"):void 0,er=Ne(ci,di,Rr,On,Ai,pr,ti,nr,"butt",sn,oo);return Rr+=(di-er.strokeDashoffset+oo)*100/di,x.createElement("circle",{key:li,className:"".concat(Lt,"-circle-path"),r:Or,cx:Zn,cy:Zn,stroke:or,strokeWidth:sn,opacity:1,style:er,ref:function(Ti){Cn[li]=Ti}})})};return x.createElement("svg",(0,Pe.Z)({className:fe()("".concat(Lt,"-circle"),dr),viewBox:"0 0 ".concat(pt," ").concat(pt),style:ur,id:Vn,role:"presentation"},rr),!yi&&x.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:Or,cx:Zn,cy:Zn,stroke:si,strokeLinecap:ni,strokeWidth:bn||sn,style:An}),yi?pn():tt())},lt=ot,Bt={Line:Ee,Circle:lt},We=ae(25399),ke=ae(68361);function At(_t){return!_t||_t<0?0:_t>100?100:_t}function Kt(_t){let{success:un,successPercent:Pn}=_t,Vn=Pn;return un&&"progress"in un&&(Vn=un.progress),un&&"percent"in un&&(Vn=un.percent),Vn}const Ht=_t=>{let{percent:un,success:Pn,successPercent:Vn}=_t;const Lt=At(Kt({success:Pn,successPercent:Vn}));return[Lt,At(At(un)-Lt)]},nt=_t=>{let{success:un={},strokeColor:Pn}=_t;const{strokeColor:Vn}=un;return[Vn||ke.presetPrimaryColors.green,Pn||null]},Pt=(_t,un,Pn)=>{var Vn,Lt,Gt,sn;let bn=-1,Yn=-1;if(un==="step"){const pr=Pn.steps,ti=Pn.strokeWidth;typeof _t=="string"||typeof _t=="undefined"?(bn=_t==="small"?2:14,Yn=ti!=null?ti:8):typeof _t=="number"?[bn,Yn]=[_t,_t]:[bn=14,Yn=8]=Array.isArray(_t)?_t:[_t.width,_t.height],bn*=pr}else if(un==="line"){const pr=Pn==null?void 0:Pn.strokeWidth;typeof _t=="string"||typeof _t=="undefined"?Yn=pr||(_t==="small"?6:8):typeof _t=="number"?[bn,Yn]=[_t,_t]:[bn=-1,Yn=8]=Array.isArray(_t)?_t:[_t.width,_t.height]}else(un==="circle"||un==="dashboard")&&(typeof _t=="string"||typeof _t=="undefined"?[bn,Yn]=_t==="small"?[60,60]:[120,120]:typeof _t=="number"?[bn,Yn]=[_t,_t]:Array.isArray(_t)&&(bn=(Lt=(Vn=_t[0])!==null&&Vn!==void 0?Vn:_t[1])!==null&&Lt!==void 0?Lt:120,Yn=(sn=(Gt=_t[0])!==null&&Gt!==void 0?Gt:_t[1])!==null&&sn!==void 0?sn:120));return[bn,Yn]},Rt=3,hn=_t=>Rt/_t*100;var mn=_t=>{const{prefixCls:un,trailColor:Pn=null,strokeLinecap:Vn="round",gapPosition:Lt,gapDegree:Gt,width:sn=120,type:bn,children:Yn,success:pr,size:ti=sn,steps:si}=_t,[Cr,ur]=Pt(ti,"circle");let{strokeWidth:dr}=_t;dr===void 0&&(dr=Math.max(hn(Cr),6));const yn={width:Cr,height:ur,fontSize:Cr*.15+6},$n=x.useMemo(()=>{if(Gt||Gt===0)return Gt;if(bn==="dashboard")return 75},[Gt,bn]),rr=Ht(_t),Zn=Lt||bn==="dashboard"&&"bottom"||void 0,br=Object.prototype.toString.call(_t.strokeColor)==="[object Object]",Br=nt({success:pr,strokeColor:_t.strokeColor}),Or=fe()(`${un}-inner`,{[`${un}-circle-gradient`]:br}),ci=x.createElement(lt,{steps:si,percent:si?rr[1]:rr,strokeWidth:dr,trailWidth:dr,strokeColor:si?Br[1]:Br,strokeLinecap:Vn,trailColor:Pn,prefixCls:un,gapDegree:$n,gapPosition:Zn}),Ai=Cr<=20,di=x.createElement("div",{className:Or,style:yn},ci,!Ai&&Yn);return Ai?x.createElement(We.Z,{title:Yn},di):di},kt=ae(36237),Fn=ae(63356),an=ae(16931),de=ae(51636);const ge="--progress-line-stroke-color",ie="--progress-percent",ee=_t=>{const un=_t?"100%":"-100%";return new kt.Keyframes(`antProgress${_t?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${un}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${un}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},se=_t=>{const{componentCls:un,iconCls:Pn}=_t;return{[un]:Object.assign(Object.assign({},(0,Fn.Wf)(_t)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:_t.fontSize},[`${un}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${un}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:_t.remainingColor,borderRadius:_t.lineBorderRadius},[`${un}-inner:not(${un}-circle-gradient)`]:{[`${un}-circle-path`]:{stroke:_t.defaultColor}},[`${un}-success-bg, ${un}-bg`]:{position:"relative",background:_t.defaultColor,borderRadius:_t.lineBorderRadius,transition:`all ${_t.motionDurationSlow} ${_t.motionEaseInOutCirc}`},[`${un}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${un}-text`]:{width:"max-content",marginInlineStart:0,marginTop:_t.marginXXS}},[`${un}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ge})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${un}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${un}-text-inner`]:{color:_t.colorWhite,[`&${un}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${un}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:_t.colorSuccess},[`${un}-text`]:{display:"inline-block",marginInlineStart:_t.marginXS,color:_t.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Pn]:{fontSize:_t.fontSize},[`&${un}-text-outer`]:{width:"max-content"},[`&${un}-text-outer${un}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:_t.marginXS}},[`${un}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,kt.unit)(_t.paddingXXS)}`,[`&${un}-text-start`]:{justifyContent:"start"},[`&${un}-text-end`]:{justifyContent:"end"}},[`&${un}-status-active`]:{[`${un}-bg::before`]:{position:"absolute",inset:0,backgroundColor:_t.colorBgContainer,borderRadius:_t.lineBorderRadius,opacity:0,animationName:ee(),animationDuration:_t.progressActiveMotionDuration,animationTimingFunction:_t.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${un}-rtl${un}-status-active`]:{[`${un}-bg::before`]:{animationName:ee(!0)}},[`&${un}-status-exception`]:{[`${un}-bg`]:{backgroundColor:_t.colorError},[`${un}-text`]:{color:_t.colorError}},[`&${un}-status-exception ${un}-inner:not(${un}-circle-gradient)`]:{[`${un}-circle-path`]:{stroke:_t.colorError}},[`&${un}-status-success`]:{[`${un}-bg`]:{backgroundColor:_t.colorSuccess},[`${un}-text`]:{color:_t.colorSuccess}},[`&${un}-status-success ${un}-inner:not(${un}-circle-gradient)`]:{[`${un}-circle-path`]:{stroke:_t.colorSuccess}}})}},le=_t=>{const{componentCls:un,iconCls:Pn}=_t;return{[un]:{[`${un}-circle-trail`]:{stroke:_t.remainingColor},[`&${un}-circle ${un}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${un}-circle ${un}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:_t.circleTextColor,fontSize:_t.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Pn]:{fontSize:_t.circleIconFontSize}},[`${un}-circle&-status-exception`]:{[`${un}-text`]:{color:_t.colorError}},[`${un}-circle&-status-success`]:{[`${un}-text`]:{color:_t.colorSuccess}}},[`${un}-inline-circle`]:{lineHeight:1,[`${un}-inner`]:{verticalAlign:"bottom"}}}},Be=_t=>{const{componentCls:un}=_t;return{[un]:{[`${un}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:_t.progressStepMinWidth,marginInlineEnd:_t.progressStepMarginInlineEnd,backgroundColor:_t.remainingColor,transition:`all ${_t.motionDurationSlow}`,"&-active":{backgroundColor:_t.defaultColor}}}}}},Ge=_t=>{const{componentCls:un,iconCls:Pn}=_t;return{[un]:{[`${un}-small&-line, ${un}-small&-line ${un}-text ${Pn}`]:{fontSize:_t.fontSizeSM}}}},ut=_t=>({circleTextColor:_t.colorText,defaultColor:_t.colorInfo,remainingColor:_t.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${_t.fontSize/_t.fontSizeSM}em`});var mt=(0,an.I$)("Progress",_t=>{const un=_t.calc(_t.marginXXS).div(2).equal(),Pn=(0,de.mergeToken)(_t,{progressStepMarginInlineEnd:un,progressStepMinWidth:un,progressActiveMotionDuration:"2.4s"});return[se(Pn),le(Pn),Be(Pn),Ge(Pn)]},ut),vt=function(_t,un){var Pn={};for(var Vn in _t)Object.prototype.hasOwnProperty.call(_t,Vn)&&un.indexOf(Vn)<0&&(Pn[Vn]=_t[Vn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Vn=Object.getOwnPropertySymbols(_t);Lt<Vn.length;Lt++)un.indexOf(Vn[Lt])<0&&Object.prototype.propertyIsEnumerable.call(_t,Vn[Lt])&&(Pn[Vn[Lt]]=_t[Vn[Lt]]);return Pn};const St=_t=>{let un=[];return Object.keys(_t).forEach(Pn=>{const Vn=parseFloat(Pn.replace(/%/g,""));Number.isNaN(Vn)||un.push({key:Vn,value:_t[Pn]})}),un=un.sort((Pn,Vn)=>Pn.key-Vn.key),un.map(Pn=>{let{key:Vn,value:Lt}=Pn;return`${Lt} ${Vn}%`}).join(", ")},Dt=(_t,un)=>{const{from:Pn=ke.presetPrimaryColors.blue,to:Vn=ke.presetPrimaryColors.blue,direction:Lt=un==="rtl"?"to left":"to right"}=_t,Gt=vt(_t,["from","to","direction"]);if(Object.keys(Gt).length!==0){const bn=St(Gt),Yn=`linear-gradient(${Lt}, ${bn})`;return{background:Yn,[ge]:Yn}}const sn=`linear-gradient(${Lt}, ${Pn}, ${Vn})`;return{background:sn,[ge]:sn}};var xt=_t=>{const{prefixCls:un,direction:Pn,percent:Vn,size:Lt,strokeWidth:Gt,strokeColor:sn,strokeLinecap:bn="round",children:Yn,trailColor:pr=null,percentPosition:ti,success:si}=_t,{align:Cr,type:ur}=ti,dr=sn&&typeof sn!="string"?Dt(sn,Pn):{[ge]:sn,background:sn},yn=bn==="square"||bn==="butt"?0:void 0,$n=Lt!=null?Lt:[-1,Gt||(Lt==="small"?6:8)],[rr,Zn]=Pt($n,"line",{strokeWidth:Gt}),br={backgroundColor:pr||void 0,borderRadius:yn},Br=Object.assign(Object.assign({width:`${At(Vn)}%`,height:Zn,borderRadius:yn},dr),{[ie]:At(Vn)/100}),Or=Kt(_t),ci={width:`${At(Or)}%`,height:Zn,borderRadius:yn,backgroundColor:si==null?void 0:si.strokeColor},Ai={width:rr<0?"100%":rr},di=x.createElement("div",{className:`${un}-inner`,style:br},x.createElement("div",{className:fe()(`${un}-bg`,`${un}-bg-${ur}`),style:Br},ur==="inner"&&Yn),Or!==void 0&&x.createElement("div",{className:`${un}-success-bg`,style:ci})),Pi=ur==="outer"&&Cr==="start",yi=ur==="outer"&&Cr==="end";return ur==="outer"&&Cr==="center"?x.createElement("div",{className:`${un}-layout-bottom`},di,Yn):x.createElement("div",{className:`${un}-outer`,style:Ai},Pi&&Yn,di,yi&&Yn)},Xt=_t=>{const{size:un,steps:Pn,rounding:Vn=Math.round,percent:Lt=0,strokeWidth:Gt=8,strokeColor:sn,trailColor:bn=null,prefixCls:Yn,children:pr}=_t,ti=Vn(Pn*(Lt/100)),si=un==="small"?2:14,Cr=un!=null?un:[si,Gt],[ur,dr]=Pt(Cr,"step",{steps:Pn,strokeWidth:Gt}),yn=ur/Pn,$n=Array.from({length:Pn});for(let rr=0;rr<Pn;rr++){const Zn=Array.isArray(sn)?sn[rr]:sn;$n[rr]=x.createElement("div",{key:rr,className:fe()(`${Yn}-steps-item`,{[`${Yn}-steps-item-active`]:rr<=ti-1}),style:{backgroundColor:rr<=ti-1?Zn:bn,width:yn,height:dr}})}return x.createElement("div",{className:`${Yn}-steps-outer`},$n,pr)},Wt=function(_t,un){var Pn={};for(var Vn in _t)Object.prototype.hasOwnProperty.call(_t,Vn)&&un.indexOf(Vn)<0&&(Pn[Vn]=_t[Vn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Vn=Object.getOwnPropertySymbols(_t);Lt<Vn.length;Lt++)un.indexOf(Vn[Lt])<0&&Object.prototype.propertyIsEnumerable.call(_t,Vn[Lt])&&(Pn[Vn[Lt]]=_t[Vn[Lt]]);return Pn};const wn=null,ln=["normal","exception","active","success"];var zn=x.forwardRef((_t,un)=>{const{prefixCls:Pn,className:Vn,rootClassName:Lt,steps:Gt,strokeColor:sn,percent:bn=0,size:Yn="default",showInfo:pr=!0,type:ti="line",status:si,format:Cr,style:ur,percentPosition:dr={}}=_t,yn=Wt(_t,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:$n="end",type:rr="outer"}=dr,Zn=Array.isArray(sn)?sn[0]:sn,br=typeof sn=="string"||Array.isArray(sn)?sn:void 0,Br=x.useMemo(()=>{if(Zn){const tt=typeof Zn=="string"?Zn:Object.values(Zn)[0];return new dt.FastColor(tt).isLight()}return!1},[sn]),Or=x.useMemo(()=>{var tt,pn;const Zt=Kt(_t);return parseInt(Zt!==void 0?(tt=Zt!=null?Zt:0)===null||tt===void 0?void 0:tt.toString():(pn=bn!=null?bn:0)===null||pn===void 0?void 0:pn.toString(),10)},[bn,_t.success,_t.successPercent]),ci=x.useMemo(()=>!ln.includes(si)&&Or>=100?"success":si||"normal",[si,Or]),{getPrefixCls:Ai,direction:di,progress:Pi}=x.useContext(oe.E_),yi=Ai("progress",Pn),[oo,Gi,ar]=mt(yi),Dr=ti==="line",gi=Dr&&!Gt,ni=x.useMemo(()=>{if(!pr)return null;const tt=Kt(_t);let pn;const Zt=Cr||(On=>`${On}%`),vn=Dr&&Br&&rr==="inner";return rr==="inner"||Cr||ci!=="exception"&&ci!=="success"?pn=Zt(At(bn),At(tt)):ci==="exception"?pn=Dr?x.createElement(He.Z,null):x.createElement(Fe.Z,null):ci==="success"&&(pn=Dr?x.createElement(Le.Z,null):x.createElement(qe.Z,null)),x.createElement("span",{className:fe()(`${yi}-text`,{[`${yi}-text-bright`]:vn,[`${yi}-text-${$n}`]:gi,[`${yi}-text-${rr}`]:gi}),title:typeof pn=="string"?pn:void 0},pn)},[pr,bn,Or,ci,ti,yi,Cr]);let An;ti==="line"?An=Gt?x.createElement(Xt,Object.assign({},_t,{strokeColor:br,prefixCls:yi,steps:typeof Gt=="object"?Gt.count:Gt}),ni):x.createElement(xt,Object.assign({},_t,{strokeColor:Zn,prefixCls:yi,direction:di,percentPosition:{align:$n,type:rr}}),ni):(ti==="circle"||ti==="dashboard")&&(An=x.createElement(mn,Object.assign({},_t,{strokeColor:Zn,prefixCls:yi,progressStatus:ci}),ni));const Cn=fe()(yi,`${yi}-status-${ci}`,{[`${yi}-${ti==="dashboard"&&"circle"||ti}`]:ti!=="line",[`${yi}-inline-circle`]:ti==="circle"&&Pt(Yn,"circle")[0]<=20,[`${yi}-line`]:gi,[`${yi}-line-align-${$n}`]:gi,[`${yi}-line-position-${rr}`]:gi,[`${yi}-steps`]:Gt,[`${yi}-show-info`]:pr,[`${yi}-${Yn}`]:typeof Yn=="string",[`${yi}-rtl`]:di==="rtl"},Pi==null?void 0:Pi.className,Vn,Lt,Gi,ar);return oo(x.createElement("div",Object.assign({ref:un,style:Object.assign(Object.assign({},Pi==null?void 0:Pi.style),ur),className:Cn,role:"progressbar","aria-valuenow":Or,"aria-valuemin":0,"aria-valuemax":100},(0,xe.Z)(yn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),An))}),Ln=zn},63139:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ht}});var x=ae(59301),dt=ae(60499),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"},qe=Le,He=ae(7657),Fe=function(Pt,Rt){return x.createElement(He.Z,(0,dt.Z)({},Pt,{ref:Rt,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(92310),oe=ae.n(xe),Pe=ae(18642),ye=ae(72190),Re=ae(42244),Se=ae(18929),Ie=ae(10228),ve=ae(26112);function we(nt,Pt){var Rt=nt.disabled,hn=nt.prefixCls,Tt=nt.character,mn=nt.characterRender,kt=nt.index,Fn=nt.count,an=nt.value,de=nt.allowHalf,ge=nt.focused,ie=nt.onHover,ee=nt.onClick,se=function(Dt){ie(Dt,kt)},le=function(Dt){ee(Dt,kt)},Be=function(Dt){Dt.keyCode===Ie.Z.ENTER&&ee(Dt,kt)},Ge=kt+1,ut=new Set([hn]);an===0&&kt===0&&ge?ut.add("".concat(hn,"-focused")):de&&an+.5>=Ge&&an<Ge?(ut.add("".concat(hn,"-half")),ut.add("".concat(hn,"-active")),ge&&ut.add("".concat(hn,"-focused"))):(Ge<=an?ut.add("".concat(hn,"-full")):ut.add("".concat(hn,"-zero")),Ge===an&&ge&&ut.add("".concat(hn,"-focused")));var mt=typeof Tt=="function"?Tt(nt):Tt,vt=x.createElement("li",{className:oe()(Array.from(ut)),ref:Pt},x.createElement("div",{onClick:Rt?null:le,onKeyDown:Rt?null:Be,onMouseMove:Rt?null:se,role:"radio","aria-checked":an>kt?"true":"false","aria-posinset":kt+1,"aria-setsize":Fn,tabIndex:Rt?-1:0},x.createElement("div",{className:"".concat(hn,"-first")},mt),x.createElement("div",{className:"".concat(hn,"-second")},mt)));return mn&&(vt=mn(vt,nt)),vt}var Ee=x.forwardRef(we);function Oe(){var nt=x.useRef({});function Pt(hn){return nt.current[hn]}function Rt(hn){return function(Tt){nt.current[hn]=Tt}}return[Pt,Rt]}function Ke(nt){var Pt=nt.pageXOffset,Rt="scrollLeft";if(typeof Pt!="number"){var hn=nt.document;Pt=hn.documentElement[Rt],typeof Pt!="number"&&(Pt=hn.body[Rt])}return Pt}function je(nt){var Pt,Rt,hn=nt.ownerDocument,Tt=hn.body,mn=hn&&hn.documentElement,kt=nt.getBoundingClientRect();return Pt=kt.left,Rt=kt.top,Pt-=mn.clientLeft||Tt.clientLeft||0,Rt-=mn.clientTop||Tt.clientTop||0,{left:Pt,top:Rt}}function _e(nt){var Pt=je(nt),Rt=nt.ownerDocument,hn=Rt.defaultView||Rt.parentWindow;return Pt.left+=Ke(hn),Pt.left}var Je=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ve(nt,Pt){var Rt=nt.prefixCls,hn=Rt===void 0?"rc-rate":Rt,Tt=nt.className,mn=nt.defaultValue,kt=nt.value,Fn=nt.count,an=Fn===void 0?5:Fn,de=nt.allowHalf,ge=de===void 0?!1:de,ie=nt.allowClear,ee=ie===void 0?!0:ie,se=nt.keyboard,le=se===void 0?!0:se,Be=nt.character,Ge=Be===void 0?"\u2605":Be,ut=nt.characterRender,mt=nt.disabled,vt=nt.direction,St=vt===void 0?"ltr":vt,Dt=nt.tabIndex,Qt=Dt===void 0?0:Dt,xt=nt.autoFocus,ct=nt.onHoverChange,Xt=nt.onChange,Wt=nt.onFocus,wn=nt.onBlur,ln=nt.onKeyDown,nn=nt.onMouseLeave,zn=(0,Re.Z)(nt,Je),Ln=Oe(),_t=(0,ye.Z)(Ln,2),un=_t[0],Pn=_t[1],Vn=x.useRef(null),Lt=function(){if(!mt){var ni;(ni=Vn.current)===null||ni===void 0||ni.focus()}};x.useImperativeHandle(Pt,function(){return{focus:Lt,blur:function(){if(!mt){var ni;(ni=Vn.current)===null||ni===void 0||ni.blur()}}}});var Gt=(0,Se.Z)(mn||0,{value:kt}),sn=(0,ye.Z)(Gt,2),bn=sn[0],Yn=sn[1],pr=(0,Se.Z)(null),ti=(0,ye.Z)(pr,2),si=ti[0],Cr=ti[1],ur=function(ni,An){var Cn=St==="rtl",tt=ni+1;if(ge){var pn=un(ni),Zt=_e(pn),vn=pn.clientWidth;(Cn&&An-Zt>vn/2||!Cn&&An-Zt<vn/2)&&(tt-=.5)}return tt},dr=function(ni){Yn(ni),Xt==null||Xt(ni)},yn=x.useState(!1),$n=(0,ye.Z)(yn,2),rr=$n[0],Zn=$n[1],br=function(){Zn(!0),Wt==null||Wt()},Br=function(){Zn(!1),wn==null||wn()},Or=x.useState(null),ci=(0,ye.Z)(Or,2),Ai=ci[0],di=ci[1],Pi=function(ni,An){var Cn=ur(An,ni.pageX);Cn!==si&&(di(Cn),Cr(null)),ct==null||ct(Cn)},yi=function(ni){mt||(di(null),Cr(null),ct==null||ct(void 0)),ni&&(nn==null||nn(ni))},oo=function(ni,An){var Cn=ur(An,ni.pageX),tt=!1;ee&&(tt=Cn===bn),yi(),dr(tt?0:Cn),Cr(tt?Cn:null)},Gi=function(ni){var An=ni.keyCode,Cn=St==="rtl",tt=ge?.5:1;le&&(An===Ie.Z.RIGHT&&bn<an&&!Cn?(dr(bn+tt),ni.preventDefault()):An===Ie.Z.LEFT&&bn>0&&!Cn||An===Ie.Z.RIGHT&&bn>0&&Cn?(dr(bn-tt),ni.preventDefault()):An===Ie.Z.LEFT&&bn<an&&Cn&&(dr(bn+tt),ni.preventDefault())),ln==null||ln(ni)};x.useEffect(function(){xt&&!mt&&Lt()},[]);var ar=new Array(an).fill(0).map(function(gi,ni){return x.createElement(Ee,{ref:Pn(ni),index:ni,count:an,disabled:mt,prefixCls:"".concat(hn,"-star"),allowHalf:ge,value:Ai===null?bn:Ai,onClick:oo,onHover:Pi,key:gi||ni,character:Ge,characterRender:ut,focused:rr})}),Dr=oe()(hn,Tt,(0,Pe.Z)((0,Pe.Z)({},"".concat(hn,"-disabled"),mt),"".concat(hn,"-rtl"),St==="rtl"));return x.createElement("ul",(0,dt.Z)({className:Dr,onMouseLeave:yi,tabIndex:mt?-1:Qt,onFocus:mt?null:br,onBlur:mt?null:Br,onKeyDown:mt?null:Gi,ref:Vn},(0,ve.Z)(zn,{aria:!0,data:!0,attr:!0})),ar)}var st=x.forwardRef(Ve),at=st,ht=ae(48755),Ct=ae(25399),ze=ae(36237),pt=ae(63356),Ne=ae(16931),Qe=ae(51636);const Ot=nt=>{const{componentCls:Pt}=nt;return{[`${Pt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:nt.marginXS},"> div":{transition:`all ${nt.motionDurationMid}, outline 0s`,"&:hover":{transform:nt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,ze.unit)(nt.lineWidth)} dashed ${nt.starColor}`,transform:nt.starHoverScale}},"&-first, &-second":{color:nt.starBg,transition:`all ${nt.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pt}-star-first, &-half ${Pt}-star-second`]:{opacity:1},[`&-half ${Pt}-star-first, &-full ${Pt}-star-second`]:{color:"inherit"}}}},ot=nt=>({[`&-rtl${nt.componentCls}`]:{direction:"rtl"}}),lt=nt=>{const{componentCls:Pt}=nt;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,pt.Wf)(nt)),{display:"inline-block",margin:0,padding:0,color:nt.starColor,fontSize:nt.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Pt} ${Pt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ot(nt)),ot(nt))}},Bt=nt=>({starColor:nt.yellow6,starSize:nt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:nt.colorFillContent});var We=(0,Ne.I$)("Rate",nt=>{const Pt=(0,Qe.mergeToken)(nt,{});return[lt(Pt)]},Bt),ke=ae(2171),At=function(nt,Pt){var Rt={};for(var hn in nt)Object.prototype.hasOwnProperty.call(nt,hn)&&Pt.indexOf(hn)<0&&(Rt[hn]=nt[hn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,hn=Object.getOwnPropertySymbols(nt);Tt<hn.length;Tt++)Pt.indexOf(hn[Tt])<0&&Object.prototype.propertyIsEnumerable.call(nt,hn[Tt])&&(Rt[hn[Tt]]=nt[hn[Tt]]);return Rt},Ht=x.forwardRef((nt,Pt)=>{const{prefixCls:Rt,className:hn,rootClassName:Tt,style:mn,tooltips:kt,character:Fn=x.createElement(fe,null),disabled:an}=nt,de=At(nt,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ge=(Dt,Qt)=>{let{index:xt}=Qt;return kt?x.createElement(Ct.Z,{title:kt[xt]},Dt):Dt},{getPrefixCls:ie,direction:ee,rate:se}=x.useContext(ht.E_),le=ie("rate",Rt),[Be,Ge,ut]=We(le),mt=Object.assign(Object.assign({},se==null?void 0:se.style),mn),vt=x.useContext(ke.Z),St=an!=null?an:vt;return Be(x.createElement(at,Object.assign({ref:Pt,character:Fn,characterRender:ge,disabled:St},de,{className:oe()(hn,Tt,Ge,ut,se==null?void 0:se.className),style:mt,prefixCls:le,direction:ee})))})},82326:function(Xn,Mt,ae){"use strict";var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(37463),He=ae(2738),Fe=ae(75030),Me=ae(86641),fe=ae(45915),xe=ae(82855),oe=ae(48755),Pe=ae(38406),ye=ae(2171),Re=ae(83397),Se=ae(31756),Ie=ae(56553),ve=ae(24971),we=ae(70045),Ee=ae(57700),Oe=ae(1722),Ke=ae(90376),je=ae(68525),_e=ae(90005),Je=function(Ct,ze){var pt={};for(var Ne in Ct)Object.prototype.hasOwnProperty.call(Ct,Ne)&&ze.indexOf(Ne)<0&&(pt[Ne]=Ct[Ne]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(Ct);Qe<Ne.length;Qe++)ze.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(Ct,Ne[Qe])&&(pt[Ne[Qe]]=Ct[Ne[Qe]]);return pt};const Ve="SECRET_COMBOBOX_MODE_DO_NOT_USE",st=(Ct,ze)=>{var pt;const{prefixCls:Ne,bordered:Qe,className:Ot,rootClassName:ot,getPopupContainer:lt,popupClassName:Bt,dropdownClassName:We,listHeight:ke=256,placement:At,listItemHeight:Kt,size:Ht,disabled:nt,notFoundContent:Pt,status:Rt,builtinPlacements:hn,dropdownMatchSelectWidth:Tt,popupMatchSelectWidth:mn,direction:kt,style:Fn,allowClear:an,variant:de,dropdownStyle:ge,transitionName:ie,tagRender:ee,maxCount:se,prefix:le}=Ct,Be=Je(Ct,["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:Ge,getPrefixCls:ut,renderEmpty:mt,direction:vt,virtual:St,popupMatchSelectWidth:Dt,popupOverflow:Qt}=x.useContext(oe.E_),xt=(0,oe.dj)("select"),[,ct]=(0,Ee.ZP)(),Xt=Kt!=null?Kt:ct==null?void 0:ct.controlHeight,Wt=ut("select",Ne),wn=ut(),ln=kt!=null?kt:vt,{compactSize:nn,compactItemClassnames:zn}=(0,we.ri)(Wt,ln),[Ln,_t]=(0,ve.Z)("select",de,Qe),un=(0,Re.Z)(Wt),[Pn,Vn,Lt]=(0,Ke.Z)(Wt,un),Gt=x.useMemo(()=>{const{mode:Gi}=Ct;if(Gi!=="combobox")return Gi===Ve?"combobox":Gi},[Ct.mode]),sn=Gt==="multiple"||Gt==="tags",bn=(0,_e.Z)(Ct.suffixIcon,Ct.showArrow),Yn=(pt=mn!=null?mn:Tt)!==null&&pt!==void 0?pt:Dt,{status:pr,hasFeedback:ti,isFormItemInput:si,feedbackIcon:Cr}=x.useContext(Ie.aM),ur=(0,xe.F)(pr,Rt);let dr;Pt!==void 0?dr=Pt:Gt==="combobox"?dr=null:dr=(mt==null?void 0:mt("Select"))||x.createElement(Pe.Z,{componentName:"Select"});const{suffixIcon:yn,itemIcon:$n,removeIcon:rr,clearIcon:Zn}=(0,je.Z)(Object.assign(Object.assign({},Be),{multiple:sn,hasFeedback:ti,feedbackIcon:Cr,showSuffixIcon:bn,prefixCls:Wt,componentName:"Select"})),br=an===!0?{clearIcon:Zn}:an,Br=(0,He.Z)(Be,["suffixIcon","itemIcon"]),Or=Le()(Bt||We,{[`${Wt}-dropdown-${ln}`]:ln==="rtl"},ot,Lt,un,Vn),ci=(0,Se.Z)(Gi=>{var ar;return(ar=Ht!=null?Ht:nn)!==null&&ar!==void 0?ar:Gi}),Ai=x.useContext(ye.Z),di=nt!=null?nt:Ai,Pi=Le()({[`${Wt}-lg`]:ci==="large",[`${Wt}-sm`]:ci==="small",[`${Wt}-rtl`]:ln==="rtl",[`${Wt}-${Ln}`]:_t,[`${Wt}-in-form-item`]:si},(0,xe.Z)(Wt,ur,ti),zn,xt.className,Ot,ot,Lt,un,Vn),yi=x.useMemo(()=>At!==void 0?At:ln==="rtl"?"bottomRight":"bottomLeft",[At,ln]),[oo]=(0,Fe.Cn)("SelectLike",ge==null?void 0:ge.zIndex);return Pn(x.createElement(qe.ZP,Object.assign({ref:ze,virtual:St,showSearch:xt.showSearch},Br,{style:Object.assign(Object.assign({},xt.style),Fn),dropdownMatchSelectWidth:Yn,transitionName:(0,Me.m)(wn,"slide-up",ie),builtinPlacements:(0,Oe.Z)(hn,Qt),listHeight:ke,listItemHeight:Xt,mode:Gt,prefixCls:Wt,placement:yi,direction:ln,prefix:le,suffixIcon:yn,menuItemSelectedIcon:$n,removeIcon:rr,allowClear:br,notFoundContent:dr,className:Pi,getPopupContainer:lt||Ge,dropdownClassName:Or,disabled:di,dropdownStyle:Object.assign(Object.assign({},ge),{zIndex:oo}),maxCount:sn?se:void 0,tagRender:sn?ee:void 0})))},at=x.forwardRef(st),ht=(0,fe.Z)(at,"dropdownAlign");at.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ve,at.Option=qe.Wx,at.OptGroup=qe.Xo,at._InternalPanelDoNotUseOrYouWillBeFired=ht,Mt.default=at},1722:function(Xn,Mt){"use strict";const ae=dt=>{const qe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:dt==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},qe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},qe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},qe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},qe),{points:["br","tr"],offset:[0,-4]})}};function x(dt,Le){return dt||ae(Le)}Mt.Z=x},90376:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ne}});var x=ae(63356),dt=ae(56119),Le=ae(16931),qe=ae(51636),He=ae(46e3),Fe=ae(93873);const Me=Qe=>{const{optionHeight:Ot,optionFontSize:ot,optionLineHeight:lt,optionPadding:Bt}=Qe;return{position:"relative",display:"block",minHeight:Ot,padding:Bt,color:Qe.colorText,fontWeight:"normal",fontSize:ot,lineHeight:lt,boxSizing:"border-box"}};var xe=Qe=>{const{antCls:Ot,componentCls:ot}=Qe,lt=`${ot}-item`,Bt=`&${Ot}-slide-up-enter${Ot}-slide-up-enter-active`,We=`&${Ot}-slide-up-appear${Ot}-slide-up-appear-active`,ke=`&${Ot}-slide-up-leave${Ot}-slide-up-leave-active`,At=`${ot}-dropdown-placement-`,Kt=`${lt}-option-selected`;return[{[`${ot}-dropdown`]:Object.assign(Object.assign({},(0,x.Wf)(Qe)),{position:"absolute",top:-9999,zIndex:Qe.zIndexPopup,boxSizing:"border-box",padding:Qe.paddingXXS,overflow:"hidden",fontSize:Qe.fontSize,fontVariant:"initial",backgroundColor:Qe.colorBgElevated,borderRadius:Qe.borderRadiusLG,outline:"none",boxShadow:Qe.boxShadowSecondary,[`
${Bt}${At}bottomLeft,
${We}${At}bottomLeft
`]:{animationName:He.fJ},[`
${Bt}${At}topLeft,
${We}${At}topLeft,
${Bt}${At}topRight,
${We}${At}topRight
`]:{animationName:He.Qt},[`${ke}${At}bottomLeft`]:{animationName:He.Uw},[`
${ke}${At}topLeft,
${ke}${At}topRight
`]:{animationName:He.ly},"&-hidden":{display:"none"},[lt]:Object.assign(Object.assign({},Me(Qe)),{cursor:"pointer",transition:`background ${Qe.motionDurationSlow} ease`,borderRadius:Qe.borderRadiusSM,"&-group":{color:Qe.colorTextDescription,fontSize:Qe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},x.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${lt}-option-disabled)`]:{backgroundColor:Qe.optionActiveBg},[`&-selected:not(${lt}-option-disabled)`]:{color:Qe.optionSelectedColor,fontWeight:Qe.optionSelectedFontWeight,backgroundColor:Qe.optionSelectedBg,[`${lt}-option-state`]:{color:Qe.colorPrimary}},"&-disabled":{[`&${lt}-option-selected`]:{backgroundColor:Qe.colorBgContainerDisabled},color:Qe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Qe.calc(Qe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Me(Qe)),{color:Qe.colorTextDisabled})}),[`${Kt}:has(+ ${Kt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Kt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,He.oN)(Qe,"slide-up"),(0,He.oN)(Qe,"slide-down"),(0,Fe.Fm)(Qe,"move-up"),(0,Fe.Fm)(Qe,"move-down")]},oe=ae(26743),Pe=ae(36237);function ye(Qe,Ot){const{componentCls:ot,inputPaddingHorizontalBase:lt,borderRadius:Bt}=Qe,We=Qe.calc(Qe.controlHeight).sub(Qe.calc(Qe.lineWidth).mul(2)).equal(),ke=Ot?`${ot}-${Ot}`:"";return{[`${ot}-single${ke}`]:{fontSize:Qe.fontSize,height:Qe.controlHeight,[`${ot}-selector`]:Object.assign(Object.assign({},(0,x.Wf)(Qe,!0)),{display:"flex",borderRadius:Bt,flex:"1 1 auto",[`${ot}-selection-wrap:after`]:{lineHeight:(0,Pe.unit)(We)},[`${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,Pe.unit)(We),transition:`all ${Qe.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:Qe.showArrowPaddingInlineEnd},[`&${ot}-open ${ot}-selection-item`]:{color:Qe.colorTextPlaceholder},[`&:not(${ot}-customize-input)`]:{[`${ot}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Pe.unit)(lt)}`,[`${ot}-selection-search-input`]:{height:We,fontSize:Qe.fontSize},"&:after":{lineHeight:(0,Pe.unit)(We)}}},[`&${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,Pe.unit)(lt)}`,"&:after":{display:"none"}}}}}}}function Re(Qe){const{componentCls:Ot}=Qe,ot=Qe.calc(Qe.controlPaddingHorizontalSM).sub(Qe.lineWidth).equal();return[ye(Qe),ye((0,qe.mergeToken)(Qe,{controlHeight:Qe.controlHeightSM,borderRadius:Qe.borderRadiusSM}),"sm"),{[`${Ot}-single${Ot}-sm`]:{[`&:not(${Ot}-customize-input)`]:{[`${Ot}-selector`]:{padding:`0 ${(0,Pe.unit)(ot)}`},[`&${Ot}-show-arrow ${Ot}-selection-search`]:{insetInlineEnd:Qe.calc(ot).add(Qe.calc(Qe.fontSize).mul(1.5)).equal()},[`
&${Ot}-show-arrow ${Ot}-selection-item,
&${Ot}-show-arrow ${Ot}-selection-placeholder
`]:{paddingInlineEnd:Qe.calc(Qe.fontSize).mul(1.5).equal()}}}},ye((0,qe.mergeToken)(Qe,{controlHeight:Qe.singleItemHeightLG,fontSize:Qe.fontSizeLG,borderRadius:Qe.borderRadiusLG}),"lg")]}const Se=Qe=>{const{fontSize:Ot,lineHeight:ot,lineWidth:lt,controlHeight:Bt,controlHeightSM:We,controlHeightLG:ke,paddingXXS:At,controlPaddingHorizontal:Kt,zIndexPopupBase:Ht,colorText:nt,fontWeightStrong:Pt,controlItemBgActive:Rt,controlItemBgHover:hn,colorBgContainer:Tt,colorFillSecondary:mn,colorBgContainerDisabled:kt,colorTextDisabled:Fn,colorPrimaryHover:an,colorPrimary:de,controlOutline:ge}=Qe,ie=At*2,ee=lt*2,se=Math.min(Bt-ie,Bt-ee),le=Math.min(We-ie,We-ee),Be=Math.min(ke-ie,ke-ee);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(At/2),zIndexPopup:Ht+50,optionSelectedColor:nt,optionSelectedFontWeight:Pt,optionSelectedBg:Rt,optionActiveBg:hn,optionPadding:`${(Bt-Ot*ot)/2}px ${Kt}px`,optionFontSize:Ot,optionLineHeight:ot,optionHeight:Bt,selectorBg:Tt,clearBg:Tt,singleItemHeightLG:ke,multipleItemBg:mn,multipleItemBorderColor:"transparent",multipleItemHeight:se,multipleItemHeightSM:le,multipleItemHeightLG:Be,multipleSelectorBgDisabled:kt,multipleItemColorDisabled:Fn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(Qe.fontSize*1.25),hoverBorderColor:an,activeBorderColor:de,activeOutlineColor:ge,selectAffixPadding:At}},Ie=(Qe,Ot)=>{const{componentCls:ot,antCls:lt,controlOutlineWidth:Bt}=Qe;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Ot.borderColor}`,background:Qe.selectorBg},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ot.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ot.activeBorderColor,boxShadow:`0 0 0 ${(0,Pe.unit)(Bt)} ${Ot.activeOutlineColor}`,outline:0},[`${ot}-prefix`]:{color:Ot.color}}}},ve=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},Ie(Qe,Ot))}),we=Qe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ie(Qe,{borderColor:Qe.colorBorder,hoverBorderHover:Qe.hoverBorderColor,activeBorderColor:Qe.activeBorderColor,activeOutlineColor:Qe.activeOutlineColor,color:Qe.colorText})),ve(Qe,{status:"error",borderColor:Qe.colorError,hoverBorderHover:Qe.colorErrorHover,activeBorderColor:Qe.colorError,activeOutlineColor:Qe.colorErrorOutline,color:Qe.colorError})),ve(Qe,{status:"warning",borderColor:Qe.colorWarning,hoverBorderHover:Qe.colorWarningHover,activeBorderColor:Qe.colorWarning,activeOutlineColor:Qe.colorWarningOutline,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{background:Qe.colorBgContainerDisabled,color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`}})}),Ee=(Qe,Ot)=>{const{componentCls:ot,antCls:lt}=Qe;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{background:Ot.bg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`,color:Ot.color},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{background:Ot.hoverBg},[`${ot}-focused& ${ot}-selector`]:{background:Qe.selectorBg,borderColor:Ot.activeBorderColor,outline:0}}}},Oe=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},Ee(Qe,Ot))}),Ke=Qe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ee(Qe,{bg:Qe.colorFillTertiary,hoverBg:Qe.colorFillSecondary,activeBorderColor:Qe.activeBorderColor,color:Qe.colorText})),Oe(Qe,{status:"error",bg:Qe.colorErrorBg,hoverBg:Qe.colorErrorBgHover,activeBorderColor:Qe.colorError,color:Qe.colorError})),Oe(Qe,{status:"warning",bg:Qe.colorWarningBg,hoverBg:Qe.colorWarningBgHover,activeBorderColor:Qe.colorWarning,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{borderColor:Qe.colorBorder,background:Qe.colorBgContainerDisabled,color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.colorBgContainer,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorSplit}`}})}),je=Qe=>({"&-borderless":{[`${Qe.componentCls}-selector`]:{background:"transparent",border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} transparent`},[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`},[`&${Qe.componentCls}-status-error`]:{[`${Qe.componentCls}-prefix, ${Qe.componentCls}-selection-item`]:{color:Qe.colorError}},[`&${Qe.componentCls}-status-warning`]:{[`${Qe.componentCls}-prefix, ${Qe.componentCls}-selection-item`]:{color:Qe.colorWarning}}}}),_e=(Qe,Ot)=>{const{componentCls:ot,antCls:lt}=Qe;return{[`&:not(${ot}-customize-input) ${ot}-selector`]:{borderWidth:`0 0 ${(0,Pe.unit)(Qe.lineWidth)} 0`,borderStyle:`none none ${Qe.lineType} none`,borderColor:Ot.borderColor,background:Qe.selectorBg,borderRadius:0},[`&:not(${ot}-disabled):not(${ot}-customize-input):not(${lt}-pagination-size-changer)`]:{[`&:hover ${ot}-selector`]:{borderColor:Ot.hoverBorderHover},[`${ot}-focused& ${ot}-selector`]:{borderColor:Ot.activeBorderColor,outline:0},[`${ot}-prefix`]:{color:Ot.color}}}},Je=(Qe,Ot)=>({[`&${Qe.componentCls}-status-${Ot.status}`]:Object.assign({},_e(Qe,Ot))}),Ve=Qe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(Qe,{borderColor:Qe.colorBorder,hoverBorderHover:Qe.hoverBorderColor,activeBorderColor:Qe.activeBorderColor,activeOutlineColor:Qe.activeOutlineColor,color:Qe.colorText})),Je(Qe,{status:"error",borderColor:Qe.colorError,hoverBorderHover:Qe.colorErrorHover,activeBorderColor:Qe.colorError,activeOutlineColor:Qe.colorErrorOutline,color:Qe.colorError})),Je(Qe,{status:"warning",borderColor:Qe.colorWarning,hoverBorderHover:Qe.colorWarningHover,activeBorderColor:Qe.colorWarning,activeOutlineColor:Qe.colorWarningOutline,color:Qe.colorWarning})),{[`&${Qe.componentCls}-disabled`]:{[`&:not(${Qe.componentCls}-customize-input) ${Qe.componentCls}-selector`]:{color:Qe.colorTextDisabled}},[`&${Qe.componentCls}-multiple ${Qe.componentCls}-selection-item`]:{background:Qe.multipleItemBg,border:`${(0,Pe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.multipleItemBorderColor}`}})});var at=Qe=>({[Qe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},we(Qe)),Ke(Qe)),je(Qe)),Ve(Qe))});const ht=Qe=>{const{componentCls:Ot}=Qe;return{position:"relative",transition:`all ${Qe.motionDurationMid} ${Qe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ot}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Ot}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ct=Qe=>{const{componentCls:Ot}=Qe;return{[`${Ot}-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"}}}},ze=Qe=>{const{antCls:Ot,componentCls:ot,inputPaddingHorizontalBase:lt,iconCls:Bt}=Qe;return{[ot]:Object.assign(Object.assign({},(0,x.Wf)(Qe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ot}-customize-input) ${ot}-selector`]:Object.assign(Object.assign({},ht(Qe)),Ct(Qe)),[`${ot}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},x.vS),{[`> ${Ot}-typography`]:{display:"inline"}}),[`${ot}-selection-placeholder`]:Object.assign(Object.assign({},x.vS),{flex:1,color:Qe.colorTextPlaceholder,pointerEvents:"none"}),[`${ot}-arrow`]:Object.assign(Object.assign({},(0,x.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:lt,height:Qe.fontSizeIcon,marginTop:Qe.calc(Qe.fontSizeIcon).mul(-1).div(2).equal(),color:Qe.colorTextQuaternary,fontSize:Qe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${Qe.motionDurationSlow} ease`,[Bt]:{verticalAlign:"top",transition:`transform ${Qe.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:Qe.selectAffixPadding},[`${ot}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:lt,zIndex:1,display:"inline-block",width:Qe.fontSizeIcon,height:Qe.fontSizeIcon,marginTop:Qe.calc(Qe.fontSizeIcon).mul(-1).div(2).equal(),color:Qe.colorTextQuaternary,fontSize:Qe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${Qe.motionDurationMid} ease, opacity ${Qe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Qe.colorTextTertiary}},[`&:hover ${ot}-clear`]:{opacity:1,background:Qe.colorBgBase,borderRadius:"50%"}}),[`${ot}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ot}-has-feedback`]:{[`${ot}-clear`]:{insetInlineEnd:Qe.calc(lt).add(Qe.fontSize).add(Qe.paddingXS).equal()}}}}}},pt=Qe=>{const{componentCls:Ot}=Qe;return[{[Ot]:{[`&${Ot}-in-form-item`]:{width:"100%"}}},ze(Qe),Re(Qe),(0,oe.ZP)(Qe),xe(Qe),{[`${Ot}-rtl`]:{direction:"rtl"}},(0,dt.c)(Qe,{borderElCls:`${Ot}-selector`,focusElCls:`${Ot}-focused`})]};var Ne=(0,Le.I$)("Select",(Qe,Ot)=>{let{rootPrefixCls:ot}=Ot;const lt=(0,qe.mergeToken)(Qe,{rootPrefixCls:ot,inputPaddingHorizontalBase:Qe.calc(Qe.paddingSM).sub(1).equal(),multipleSelectItemHeight:Qe.multipleItemHeight,selectHeight:Qe.controlHeight});return[pt(lt),at(lt)]},Se,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Xn,Mt,ae){"use strict";ae.d(Mt,{_z:function(){return Fe},gp:function(){return qe}});var x=ae(36237),dt=ae(63356),Le=ae(51636);const qe=oe=>{const{multipleSelectItemHeight:Pe,paddingXXS:ye,lineWidth:Re,INTERNAL_FIXED_ITEM_MARGIN:Se}=oe,Ie=oe.max(oe.calc(ye).sub(Re).equal(),0),ve=oe.max(oe.calc(Ie).sub(Se).equal(),0);return{basePadding:Ie,containerPadding:ve,itemHeight:(0,x.unit)(Pe),itemLineHeight:(0,x.unit)(oe.calc(Pe).sub(oe.calc(oe.lineWidth).mul(2)).equal())}},He=oe=>{const{multipleSelectItemHeight:Pe,selectHeight:ye,lineWidth:Re}=oe;return oe.calc(ye).sub(Pe).div(2).sub(Re).equal()},Fe=oe=>{const{componentCls:Pe,iconCls:ye,borderRadiusSM:Re,motionDurationSlow:Se,paddingXS:Ie,multipleItemColorDisabled:ve,multipleItemBorderColorDisabled:we,colorIcon:Ee,colorIconHover:Oe,INTERNAL_FIXED_ITEM_MARGIN:Ke}=oe;return{[`${Pe}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Pe}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ke,borderRadius:Re,cursor:"default",transition:`font-size ${Se}, line-height ${Se}, height ${Se}`,marginInlineEnd:oe.calc(Ke).mul(2).equal(),paddingInlineStart:Ie,paddingInlineEnd:oe.calc(Ie).div(2).equal(),[`${Pe}-disabled&`]:{color:ve,borderColor:we,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:oe.calc(Ie).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,dt.Ro)()),{display:"inline-flex",alignItems:"center",color:Ee,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ye}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Oe}})}}}},Me=(oe,Pe)=>{const{componentCls:ye,INTERNAL_FIXED_ITEM_MARGIN:Re}=oe,Se=`${ye}-selection-overflow`,Ie=oe.multipleSelectItemHeight,ve=He(oe),we=Pe?`${ye}-${Pe}`:"",Ee=qe(oe);return{[`${ye}-multiple${we}`]:Object.assign(Object.assign({},Fe(oe)),{[`${ye}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ee.basePadding,paddingBlock:Ee.containerPadding,borderRadius:oe.borderRadius,[`${ye}-disabled&`]:{background:oe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,x.unit)(Re)} 0`,lineHeight:(0,x.unit)(Ie),visibility:"hidden",content:'"\\a0"'}},[`${ye}-selection-item`]:{height:Ee.itemHeight,lineHeight:(0,x.unit)(Ee.itemLineHeight)},[`${ye}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,x.unit)(Ie),marginBlock:Re}},[`${ye}-prefix`]:{marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(Ee.basePadding).equal()},[`${Se}-item + ${Se}-item,
${ye}-prefix + ${ye}-selection-wrap
`]:{[`${ye}-selection-search`]:{marginInlineStart:0},[`${ye}-selection-placeholder`]:{insetInlineStart:0}},[`${Se}-item-suffix`]:{minHeight:Ee.itemHeight,marginBlock:Re},[`${ye}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:oe.calc(oe.inputPaddingHorizontalBase).sub(ve).equal(),"\n &-input,\n &-mirror\n ":{height:Ie,fontFamily:oe.fontFamily,lineHeight:(0,x.unit)(Ie),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"}},[`${ye}-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,Pe){const{componentCls:ye}=oe,Re=Pe?`${ye}-${Pe}`:"",Se={[`${ye}-multiple${Re}`]:{fontSize:oe.fontSize,[`${ye}-selector`]:{[`${ye}-show-search&`]:{cursor:"text"}},[`
&${ye}-show-arrow ${ye}-selector,
&${ye}-allow-clear ${ye}-selector
`]:{paddingInlineEnd:oe.calc(oe.fontSizeIcon).add(oe.controlPaddingHorizontal).equal()}}};return[Me(oe,Pe),Se]}const xe=oe=>{const{componentCls:Pe}=oe,ye=(0,Le.mergeToken)(oe,{selectHeight:oe.controlHeightSM,multipleSelectItemHeight:oe.multipleItemHeightSM,borderRadius:oe.borderRadiusSM,borderRadiusSM:oe.borderRadiusXS}),Re=(0,Le.mergeToken)(oe,{fontSize:oe.fontSizeLG,selectHeight:oe.controlHeightLG,multipleSelectItemHeight:oe.multipleItemHeightLG,borderRadius:oe.borderRadiusLG,borderRadiusSM:oe.borderRadius});return[fe(oe),fe(ye,"sm"),{[`${Pe}-multiple${Pe}-sm`]:{[`${Pe}-selection-placeholder`]:{insetInline:oe.calc(oe.controlPaddingHorizontalSM).sub(oe.lineWidth).equal()},[`${Pe}-selection-search`]:{marginInlineStart:2}}},fe(Re,"lg")]};Mt.ZP=xe},68525:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});var x=ae(59301),dt=ae(40001),Le=ae(19248),qe=ae(99267),He=ae(84105),Fe=ae(58617),Me=ae(47472);function fe(xe){let{suffixIcon:oe,clearIcon:Pe,menuItemSelectedIcon:ye,removeIcon:Re,loading:Se,multiple:Ie,hasFeedback:ve,prefixCls:we,showSuffixIcon:Ee,feedbackIcon:Oe,showArrow:Ke,componentName:je}=xe;const _e=Pe!=null?Pe:x.createElement(Le.Z,null),Je=ht=>oe===null&&!ve&&!Ke?null:x.createElement(x.Fragment,null,Ee!==!1&&ht,ve&&Oe);let Ve=null;if(oe!==void 0)Ve=Je(oe);else if(Se)Ve=Je(x.createElement(Fe.Z,{spin:!0}));else{const ht=`${we}-suffix`;Ve=Ct=>{let{open:ze,showSearch:pt}=Ct;return Je(ze&&pt?x.createElement(Me.Z,{className:ht}):x.createElement(He.Z,{className:ht}))}}let st=null;ye!==void 0?st=ye:Ie?st=x.createElement(dt.Z,null):st=null;let at=null;return Re!==void 0?at=Re:at=x.createElement(qe.Z,null),{clearIcon:_e,suffixIcon:Ve,itemIcon:st,removeIcon:at}}},90005:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return x}});function x(dt,Le){return Le!==void 0?Le:dt!==null}},11938:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Ct}});var x=ae(59301),dt=ae(40192),Le=ae(22703),qe=ae(92310),He=ae.n(qe),Fe=ae(26112),Me=ae(48755),fe=ae(458),oe=ze=>{const{value:pt,formatter:Ne,precision:Qe,decimalSeparator:Ot,groupSeparator:ot="",prefixCls:lt}=ze;let Bt;if(typeof Ne=="function")Bt=Ne(pt);else{const We=String(pt),ke=We.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||We==="-")Bt=We;else{const At=ke[1];let Kt=ke[2]||"0",Ht=ke[4]||"";Kt=Kt.replace(/\B(?=(\d{3})+(?!\d))/g,ot),typeof Qe=="number"&&(Ht=Ht.padEnd(Qe,"0").slice(0,Qe>0?Qe:0)),Ht&&(Ht=`${Ot}${Ht}`),Bt=[x.createElement("span",{key:"int",className:`${lt}-content-value-int`},At,Kt),Ht&&x.createElement("span",{key:"decimal",className:`${lt}-content-value-decimal`},Ht)]}}return x.createElement("span",{className:`${lt}-content-value`},Bt)},Pe=ae(63356),ye=ae(16931),Re=ae(51636);const Se=ze=>{const{componentCls:pt,marginXXS:Ne,padding:Qe,colorTextDescription:Ot,titleFontSize:ot,colorTextHeading:lt,contentFontSize:Bt,fontFamily:We}=ze;return{[pt]:Object.assign(Object.assign({},(0,Pe.Wf)(ze)),{[`${pt}-title`]:{marginBottom:Ne,color:Ot,fontSize:ot},[`${pt}-skeleton`]:{paddingTop:Qe},[`${pt}-content`]:{color:lt,fontSize:Bt,fontFamily:We,[`${pt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${pt}-content-prefix, ${pt}-content-suffix`]:{display:"inline-block"},[`${pt}-content-prefix`]:{marginInlineEnd:Ne},[`${pt}-content-suffix`]:{marginInlineStart:Ne}}})}},Ie=ze=>{const{fontSizeHeading3:pt,fontSize:Ne}=ze;return{titleFontSize:Ne,contentFontSize:pt}};var ve=(0,ye.I$)("Statistic",ze=>{const pt=(0,Re.mergeToken)(ze,{});return[Se(pt)]},Ie),we=function(ze,pt){var Ne={};for(var Qe in ze)Object.prototype.hasOwnProperty.call(ze,Qe)&&pt.indexOf(Qe)<0&&(Ne[Qe]=ze[Qe]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Qe=Object.getOwnPropertySymbols(ze);Ot<Qe.length;Ot++)pt.indexOf(Qe[Ot])<0&&Object.prototype.propertyIsEnumerable.call(ze,Qe[Ot])&&(Ne[Qe[Ot]]=ze[Qe[Ot]]);return Ne},Oe=ze=>{const{prefixCls:pt,className:Ne,rootClassName:Qe,style:Ot,valueStyle:ot,value:lt=0,title:Bt,valueRender:We,prefix:ke,suffix:At,loading:Kt=!1,formatter:Ht,precision:nt,decimalSeparator:Pt=".",groupSeparator:Rt=",",onMouseEnter:hn,onMouseLeave:Tt}=ze,mn=we(ze,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:kt,direction:Fn,className:an,style:de}=(0,Me.dj)("statistic"),ge=kt("statistic",pt),[ie,ee,se]=ve(ge),le=x.createElement(oe,{decimalSeparator:Pt,groupSeparator:Rt,prefixCls:ge,formatter:Ht,precision:nt,value:lt}),Be=He()(ge,{[`${ge}-rtl`]:Fn==="rtl"},an,Ne,Qe,ee,se),Ge=(0,Fe.Z)(mn,{aria:!0,data:!0});return ie(x.createElement("div",Object.assign({},Ge,{className:Be,style:Object.assign(Object.assign({},de),Ot),onMouseEnter:hn,onMouseLeave:Tt}),Bt&&x.createElement("div",{className:`${ge}-title`},Bt),x.createElement(fe.Z,{paragraph:!1,loading:Kt,className:`${ge}-skeleton`},x.createElement("div",{style:ot,className:`${ge}-content`},ke&&x.createElement("span",{className:`${ge}-content-prefix`},ke),We?We(le):le,At&&x.createElement("span",{className:`${ge}-content-suffix`},At)))))};const Ke=[["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 je(ze,pt){let Ne=ze;const Qe=/\[[^\]]*]/g,Ot=(pt.match(Qe)||[]).map(We=>We.slice(1,-1)),ot=pt.replace(Qe,"[]"),lt=Ke.reduce((We,ke)=>{let[At,Kt]=ke;if(We.includes(At)){const Ht=Math.floor(Ne/Kt);return Ne-=Ht*Kt,We.replace(new RegExp(`${At}+`,"g"),nt=>{const Pt=nt.length;return Ht.toString().padStart(Pt,"0")})}return We},ot);let Bt=0;return lt.replace(Qe,()=>{const We=Ot[Bt];return Bt+=1,We})}function _e(ze,pt){const{format:Ne=""}=pt,Qe=new Date(ze).getTime(),Ot=Date.now(),ot=Math.max(Qe-Ot,0);return je(ot,Ne)}var Je=function(ze,pt){var Ne={};for(var Qe in ze)Object.prototype.hasOwnProperty.call(ze,Qe)&&pt.indexOf(Qe)<0&&(Ne[Qe]=ze[Qe]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Qe=Object.getOwnPropertySymbols(ze);Ot<Qe.length;Ot++)pt.indexOf(Qe[Ot])<0&&Object.prototype.propertyIsEnumerable.call(ze,Qe[Ot])&&(Ne[Qe[Ot]]=ze[Qe[Ot]]);return Ne};const Ve=1e3/30;function st(ze){return new Date(ze).getTime()}const at=ze=>{const{value:pt,format:Ne="HH:mm:ss",onChange:Qe,onFinish:Ot}=ze,ot=Je(ze,["value","format","onChange","onFinish"]),lt=(0,dt.Z)(),Bt=x.useRef(null),We=()=>{Ot==null||Ot(),Bt.current&&(clearInterval(Bt.current),Bt.current=null)},ke=()=>{const Ht=st(pt);Ht>=Date.now()&&(Bt.current=setInterval(()=>{lt(),Qe==null||Qe(Ht-Date.now()),Ht<Date.now()&&We()},Ve))};x.useEffect(()=>(ke(),()=>{Bt.current&&(clearInterval(Bt.current),Bt.current=null)}),[pt]);const At=(Ht,nt)=>_e(Ht,Object.assign(Object.assign({},nt),{format:Ne})),Kt=Ht=>(0,Le.Tm)(Ht,{title:void 0});return x.createElement(Oe,Object.assign({},ot,{value:pt,valueRender:Kt,formatter:At}))};var ht=x.memo(at);Oe.Countdown=ht;var Ct=Oe},58755:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ot}});var x=ae(59301),dt=ae(58617),Le=ae(92310),qe=ae.n(Le),He=ae(60499),Fe=ae(18642),Me=ae(72190),fe=ae(42244),xe=ae(18929),oe=ae(10228),Pe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ye=x.forwardRef(function(ot,lt){var Bt,We=ot.prefixCls,ke=We===void 0?"rc-switch":We,At=ot.className,Kt=ot.checked,Ht=ot.defaultChecked,nt=ot.disabled,Pt=ot.loadingIcon,Rt=ot.checkedChildren,hn=ot.unCheckedChildren,Tt=ot.onClick,mn=ot.onChange,kt=ot.onKeyDown,Fn=(0,fe.Z)(ot,Pe),an=(0,xe.Z)(!1,{value:Kt,defaultValue:Ht}),de=(0,Me.Z)(an,2),ge=de[0],ie=de[1];function ee(Ge,ut){var mt=ge;return nt||(mt=Ge,ie(mt),mn==null||mn(mt,ut)),mt}function se(Ge){Ge.which===oe.Z.LEFT?ee(!1,Ge):Ge.which===oe.Z.RIGHT&&ee(!0,Ge),kt==null||kt(Ge)}function le(Ge){var ut=ee(!ge,Ge);Tt==null||Tt(ut,Ge)}var Be=qe()(ke,At,(Bt={},(0,Fe.Z)(Bt,"".concat(ke,"-checked"),ge),(0,Fe.Z)(Bt,"".concat(ke,"-disabled"),nt),Bt));return x.createElement("button",(0,He.Z)({},Fn,{type:"button",role:"switch","aria-checked":ge,disabled:nt,className:Be,ref:lt,onKeyDown:se,onClick:le}),Pt,x.createElement("span",{className:"".concat(ke,"-inner")},x.createElement("span",{className:"".concat(ke,"-inner-checked")},Rt),x.createElement("span",{className:"".concat(ke,"-inner-unchecked")},hn)))});ye.displayName="Switch";var Re=ye,Se=ae(12919),Ie=ae(48755),ve=ae(2171),we=ae(31756),Ee=ae(36237),Oe=ae(17835),Ke=ae(63356),je=ae(16931),_e=ae(51636);const Je=ot=>{const{componentCls:lt,trackHeightSM:Bt,trackPadding:We,trackMinWidthSM:ke,innerMinMarginSM:At,innerMaxMarginSM:Kt,handleSizeSM:Ht,calc:nt}=ot,Pt=`${lt}-inner`,Rt=(0,Ee.unit)(nt(Ht).add(nt(We).mul(2)).equal()),hn=(0,Ee.unit)(nt(Kt).mul(2).equal());return{[lt]:{[`&${lt}-small`]:{minWidth:ke,height:Bt,lineHeight:(0,Ee.unit)(Bt),[`${lt}-inner`]:{paddingInlineStart:Kt,paddingInlineEnd:At,[`${Pt}-checked, ${Pt}-unchecked`]:{minHeight:Bt},[`${Pt}-checked`]:{marginInlineStart:`calc(-100% + ${Rt} - ${hn})`,marginInlineEnd:`calc(100% - ${Rt} + ${hn})`},[`${Pt}-unchecked`]:{marginTop:nt(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${lt}-handle`]:{width:Ht,height:Ht},[`${lt}-loading-icon`]:{top:nt(nt(Ht).sub(ot.switchLoadingIconSize)).div(2).equal(),fontSize:ot.switchLoadingIconSize},[`&${lt}-checked`]:{[`${lt}-inner`]:{paddingInlineStart:At,paddingInlineEnd:Kt,[`${Pt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Pt}-unchecked`]:{marginInlineStart:`calc(100% - ${Rt} + ${hn})`,marginInlineEnd:`calc(-100% + ${Rt} - ${hn})`}},[`${lt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(nt(Ht).add(We).equal())})`}},[`&:not(${lt}-disabled):active`]:{[`&:not(${lt}-checked) ${Pt}`]:{[`${Pt}-unchecked`]:{marginInlineStart:nt(ot.marginXXS).div(2).equal(),marginInlineEnd:nt(ot.marginXXS).mul(-1).div(2).equal()}},[`&${lt}-checked ${Pt}`]:{[`${Pt}-checked`]:{marginInlineStart:nt(ot.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:nt(ot.marginXXS).div(2).equal()}}}}}}},Ve=ot=>{const{componentCls:lt,handleSize:Bt,calc:We}=ot;return{[lt]:{[`${lt}-loading-icon${ot.iconCls}`]:{position:"relative",top:We(We(Bt).sub(ot.fontSize)).div(2).equal(),color:ot.switchLoadingIconColor,verticalAlign:"top"},[`&${lt}-checked ${lt}-loading-icon`]:{color:ot.switchColor}}}},st=ot=>{const{componentCls:lt,trackPadding:Bt,handleBg:We,handleShadow:ke,handleSize:At,calc:Kt}=ot,Ht=`${lt}-handle`;return{[lt]:{[Ht]:{position:"absolute",top:Bt,insetInlineStart:Bt,width:At,height:At,transition:`all ${ot.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:We,borderRadius:Kt(At).div(2).equal(),boxShadow:ke,transition:`all ${ot.switchDuration} ease-in-out`,content:'""'}},[`&${lt}-checked ${Ht}`]:{insetInlineStart:`calc(100% - ${(0,Ee.unit)(Kt(At).add(Bt).equal())})`},[`&:not(${lt}-disabled):active`]:{[`${Ht}::before`]:{insetInlineEnd:ot.switchHandleActiveInset,insetInlineStart:0},[`&${lt}-checked ${Ht}::before`]:{insetInlineEnd:0,insetInlineStart:ot.switchHandleActiveInset}}}}},at=ot=>{const{componentCls:lt,trackHeight:Bt,trackPadding:We,innerMinMargin:ke,innerMaxMargin:At,handleSize:Kt,calc:Ht}=ot,nt=`${lt}-inner`,Pt=(0,Ee.unit)(Ht(Kt).add(Ht(We).mul(2)).equal()),Rt=(0,Ee.unit)(Ht(At).mul(2).equal());return{[lt]:{[nt]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:At,paddingInlineEnd:ke,transition:`padding-inline-start ${ot.switchDuration} ease-in-out, padding-inline-end ${ot.switchDuration} ease-in-out`,[`${nt}-checked, ${nt}-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:Bt},[`${nt}-checked`]:{marginInlineStart:`calc(-100% + ${Pt} - ${Rt})`,marginInlineEnd:`calc(100% - ${Pt} + ${Rt})`},[`${nt}-unchecked`]:{marginTop:Ht(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${lt}-checked ${nt}`]:{paddingInlineStart:ke,paddingInlineEnd:At,[`${nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${nt}-unchecked`]:{marginInlineStart:`calc(100% - ${Pt} + ${Rt})`,marginInlineEnd:`calc(-100% + ${Pt} - ${Rt})`}},[`&:not(${lt}-disabled):active`]:{[`&:not(${lt}-checked) ${nt}`]:{[`${nt}-unchecked`]:{marginInlineStart:Ht(We).mul(2).equal(),marginInlineEnd:Ht(We).mul(-1).mul(2).equal()}},[`&${lt}-checked ${nt}`]:{[`${nt}-checked`]:{marginInlineStart:Ht(We).mul(-1).mul(2).equal(),marginInlineEnd:Ht(We).mul(2).equal()}}}}}},ht=ot=>{const{componentCls:lt,trackHeight:Bt,trackMinWidth:We}=ot;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ke.Wf)(ot)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:We,height:Bt,lineHeight:(0,Ee.unit)(Bt),verticalAlign:"middle",background:ot.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ot.motionDurationMid}`,userSelect:"none",[`&:hover:not(${lt}-disabled)`]:{background:ot.colorTextTertiary}}),(0,Ke.Qy)(ot)),{[`&${lt}-checked`]:{background:ot.switchColor,[`&:hover:not(${lt}-disabled)`]:{background:ot.colorPrimaryHover}},[`&${lt}-loading, &${lt}-disabled`]:{cursor:"not-allowed",opacity:ot.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${lt}-rtl`]:{direction:"rtl"}})}},Ct=ot=>{const{fontSize:lt,lineHeight:Bt,controlHeight:We,colorWhite:ke}=ot,At=lt*Bt,Kt=We/2,Ht=2,nt=At-Ht*2,Pt=Kt-Ht*2;return{trackHeight:At,trackHeightSM:Kt,trackMinWidth:nt*2+Ht*4,trackMinWidthSM:Pt*2+Ht*2,trackPadding:Ht,handleBg:ke,handleSize:nt,handleSizeSM:Pt,handleShadow:`0 2px 4px 0 ${new Oe.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:nt/2,innerMaxMargin:nt+Ht+Ht*2,innerMinMarginSM:Pt/2,innerMaxMarginSM:Pt+Ht+Ht*2}};var ze=(0,je.I$)("Switch",ot=>{const lt=(0,_e.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[ht(lt),at(lt),st(lt),Ve(lt),Je(lt)]},Ct),pt=function(ot,lt){var Bt={};for(var We in ot)Object.prototype.hasOwnProperty.call(ot,We)&&lt.indexOf(We)<0&&(Bt[We]=ot[We]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,We=Object.getOwnPropertySymbols(ot);ke<We.length;ke++)lt.indexOf(We[ke])<0&&Object.prototype.propertyIsEnumerable.call(ot,We[ke])&&(Bt[We[ke]]=ot[We[ke]]);return Bt};const Qe=x.forwardRef((ot,lt)=>{const{prefixCls:Bt,size:We,disabled:ke,loading:At,className:Kt,rootClassName:Ht,style:nt,checked:Pt,value:Rt,defaultChecked:hn,defaultValue:Tt,onChange:mn}=ot,kt=pt(ot,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Fn,an]=(0,xe.Z)(!1,{value:Pt!=null?Pt:Rt,defaultValue:hn!=null?hn:Tt}),{getPrefixCls:de,direction:ge,switch:ie}=x.useContext(Ie.E_),ee=x.useContext(ve.Z),se=(ke!=null?ke:ee)||At,le=de("switch",Bt),Be=x.createElement("div",{className:`${le}-handle`},At&&x.createElement(dt.Z,{className:`${le}-loading-icon`})),[Ge,ut,mt]=ze(le),vt=(0,we.Z)(We),St=qe()(ie==null?void 0:ie.className,{[`${le}-small`]:vt==="small",[`${le}-loading`]:At,[`${le}-rtl`]:ge==="rtl"},Kt,Ht,ut,mt),Dt=Object.assign(Object.assign({},ie==null?void 0:ie.style),nt),Qt=function(){an(arguments.length<=0?void 0:arguments[0]),mn==null||mn.apply(void 0,arguments)};return Ge(x.createElement(Se.Z,{component:"Switch"},x.createElement(Re,Object.assign({},kt,{checked:Fn,onChange:Qt,prefixCls:le,className:St,style:Dt,disabled:se,ref:lt,loadingIcon:Be}))))});Qe.__ANT_SWITCH=!0;var Ot=Qe},70858:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return hp}});var x=ae(59301),dt={},Le="rc-table-internal-hook",qe=ae(72190),He=ae(6089),Fe=ae(34280),Me=ae(13697),fe=ae(4676);function xe(bt){var wt=x.createContext(void 0),Yt=function(In){var Un=In.value,tr=In.children,Jn=x.useRef(Un);Jn.current=Un;var mr=x.useState(function(){return{getValue:function(){return Jn.current},listeners:new Set}}),cr=(0,qe.Z)(mr,1),ii=cr[0];return(0,Fe.Z)(function(){(0,fe.unstable_batchedUpdates)(function(){ii.listeners.forEach(function(Mr){Mr(Un)})})},[Un]),x.createElement(wt.Provider,{value:ii},tr)};return{Context:wt,Provider:Yt,defaultValue:bt}}function oe(bt,wt){var Yt=(0,He.Z)(typeof wt=="function"?wt:function(Mr){if(wt===void 0)return Mr;if(!Array.isArray(wt))return Mr[wt];var Ur={};return wt.forEach(function(Lr){Ur[Lr]=Mr[Lr]}),Ur}),dn=x.useContext(bt==null?void 0:bt.Context),In=dn||{},Un=In.listeners,tr=In.getValue,Jn=x.useRef();Jn.current=Yt(dn?tr():bt==null?void 0:bt.defaultValue);var mr=x.useState({}),cr=(0,qe.Z)(mr,2),ii=cr[1];return(0,Fe.Z)(function(){if(!dn)return;function Mr(Ur){var Lr=Yt(Ur);(0,Me.Z)(Jn.current,Lr,!0)||ii({})}return Un.add(Mr),function(){Un.delete(Mr)}},[dn]),Jn.current}var Pe=ae(60499),ye=ae(8654);function Re(){var bt=x.createContext(null);function wt(){return x.useContext(bt)}function Yt(In,Un){var tr=(0,ye.Yr)(In),Jn=function(cr,ii){var Mr=tr?{ref:ii}:{},Ur=x.useRef(0),Lr=x.useRef(cr),Sr=wt();return Sr!==null?x.createElement(In,(0,Pe.Z)({},cr,Mr)):((!Un||Un(Lr.current,cr))&&(Ur.current+=1),Lr.current=cr,x.createElement(bt.Provider,{value:Ur.current},x.createElement(In,(0,Pe.Z)({},cr,Mr))))};return tr?x.forwardRef(Jn):Jn}function dn(In,Un){var tr=(0,ye.Yr)(In),Jn=function(cr,ii){var Mr=tr?{ref:ii}:{};return wt(),x.createElement(In,(0,Pe.Z)({},cr,Mr))};return tr?x.memo(x.forwardRef(Jn),Un):x.memo(Jn,Un)}return{makeImmutable:Yt,responseImmutable:dn,useImmutableMark:wt}}var Se=Re(),Ie=Se.makeImmutable,ve=Se.responseImmutable,we=Se.useImmutableMark,Ee=Re(),Oe=Ee.makeImmutable,Ke=Ee.responseImmutable,je=Ee.useImmutableMark,_e=xe(),Je=_e;function Ve(bt,wt){var Yt=React.useRef(0);Yt.current+=1;var dn=React.useRef(bt),In=[];Object.keys(bt||{}).map(function(tr){var Jn;(bt==null?void 0:bt[tr])!==((Jn=dn.current)===null||Jn===void 0?void 0:Jn[tr])&&In.push(tr)}),dn.current=bt;var Un=React.useRef([]);return In.length&&(Un.current=In),React.useDebugValue(Yt.current),React.useDebugValue(Un.current.join(", ")),wt&&console.log("".concat(wt,":"),Yt.current,Un.current),Yt.current}var st=null,at=null,ht=ae(43749),Ct=ae(85899),ze=ae(18642),pt=ae(92310),Ne=ae.n(pt),Qe=ae(80547),Ot=ae(97938),ot=ae(48736),lt=x.createContext({renderWithProps:!1}),Bt=lt,We="RC_TABLE_KEY";function ke(bt){return bt==null?[]:Array.isArray(bt)?bt:[bt]}function At(bt){var wt=[],Yt={};return bt.forEach(function(dn){for(var In=dn||{},Un=In.key,tr=In.dataIndex,Jn=Un||ke(tr).join("-")||We;Yt[Jn];)Jn="".concat(Jn,"_next");Yt[Jn]=!0,wt.push(Jn)}),wt}function Kt(bt){return bt!=null}function Ht(bt){return typeof bt=="number"&&!Number.isNaN(bt)}function nt(bt){return bt&&(0,ht.Z)(bt)==="object"&&!Array.isArray(bt)&&!x.isValidElement(bt)}function Pt(bt,wt,Yt,dn,In,Un){var tr=x.useContext(Bt),Jn=je(),mr=(0,Qe.Z)(function(){if(Kt(dn))return[dn];var cr=wt==null||wt===""?[]:Array.isArray(wt)?wt:[wt],ii=(0,Ot.Z)(bt,cr),Mr=ii,Ur=void 0;if(In){var Lr=In(ii,bt,Yt);nt(Lr)?(Mr=Lr.children,Ur=Lr.props,tr.renderWithProps=!0):Mr=Lr}return[Mr,Ur]},[Jn,bt,dn,wt,In,Yt],function(cr,ii){if(Un){var Mr=(0,qe.Z)(cr,2),Ur=Mr[1],Lr=(0,qe.Z)(ii,2),Sr=Lr[1];return Un(Sr,Ur)}return tr.renderWithProps?!0:!(0,Me.Z)(cr,ii,!0)});return mr}function Rt(bt,wt,Yt,dn){var In=bt+wt-1;return bt<=dn&&In>=Yt}function hn(bt,wt){return oe(Je,function(Yt){var dn=Rt(bt,wt||1,Yt.hoverStartRow,Yt.hoverEndRow);return[dn,Yt.onHover]})}var Tt=ae(70425),mn=function(wt){var Yt=wt.ellipsis,dn=wt.rowType,In=wt.children,Un,tr=Yt===!0?{showTitle:!0}:Yt;return tr&&(tr.showTitle||dn==="header")&&(typeof In=="string"||typeof In=="number"?Un=In.toString():x.isValidElement(In)&&typeof In.props.children=="string"&&(Un=In.props.children)),Un};function kt(bt){var wt,Yt,dn,In,Un,tr,Jn,mr,cr=bt.component,ii=bt.children,Mr=bt.ellipsis,Ur=bt.scope,Lr=bt.prefixCls,Sr=bt.className,Wi=bt.align,mi=bt.record,eo=bt.render,co=bt.dataIndex,qi=bt.renderIndex,po=bt.shouldCellUpdate,Io=bt.index,jo=bt.rowType,Uo=bt.colSpan,Da=bt.rowSpan,oa=bt.fixLeft,ta=bt.fixRight,Zo=bt.firstFixLeft,Ho=bt.lastFixLeft,Ko=bt.firstFixRight,yo=bt.lastFixRight,ho=bt.appendNode,_o=bt.additionalProps,Xo=_o===void 0?{}:_o,na=bt.isSticky,bo="".concat(Lr,"-cell"),rs=oe(Je,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Va=rs.supportSticky,kl=rs.allColumnsFixedLeft,xl=rs.rowHoverable,al=Pt(mi,co,qi,ii,eo,po),Ao=(0,qe.Z)(al,2),Vl=Ao[0],ds=Ao[1],us={},nl=typeof oa=="number"&&Va,uu=typeof ta=="number"&&Va;nl&&(us.position="sticky",us.left=oa),uu&&(us.position="sticky",us.right=ta);var ra=(wt=(Yt=(dn=ds==null?void 0:ds.colSpan)!==null&&dn!==void 0?dn:Xo.colSpan)!==null&&Yt!==void 0?Yt:Uo)!==null&&wt!==void 0?wt:1,Ca=(In=(Un=(tr=ds==null?void 0:ds.rowSpan)!==null&&tr!==void 0?tr:Xo.rowSpan)!==null&&Un!==void 0?Un:Da)!==null&&In!==void 0?In:1,Yo=hn(Io,Ca),To=(0,qe.Z)(Yo,2),vs=To[0],Os=To[1],Gs=(0,Tt.zX)(function(Js){var Xs;mi&&Os(Io,Io+Ca-1),Xo==null||(Xs=Xo.onMouseEnter)===null||Xs===void 0||Xs.call(Xo,Js)}),Ks=(0,Tt.zX)(function(Js){var Xs;mi&&Os(-1,-1),Xo==null||(Xs=Xo.onMouseLeave)===null||Xs===void 0||Xs.call(Xo,Js)});if(ra===0||Ca===0)return null;var sl=(Jn=Xo.title)!==null&&Jn!==void 0?Jn:mn({rowType:jo,ellipsis:Mr,children:Vl}),hu=Ne()(bo,Sr,(mr={},(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)(mr,"".concat(bo,"-fix-left"),nl&&Va),"".concat(bo,"-fix-left-first"),Zo&&Va),"".concat(bo,"-fix-left-last"),Ho&&Va),"".concat(bo,"-fix-left-all"),Ho&&kl&&Va),"".concat(bo,"-fix-right"),uu&&Va),"".concat(bo,"-fix-right-first"),Ko&&Va),"".concat(bo,"-fix-right-last"),yo&&Va),"".concat(bo,"-ellipsis"),Mr),"".concat(bo,"-with-append"),ho),"".concat(bo,"-fix-sticky"),(nl||uu)&&na&&Va),(0,ze.Z)(mr,"".concat(bo,"-row-hover"),!ds&&vs)),Xo.className,ds==null?void 0:ds.className),aa={};Wi&&(aa.textAlign=Wi);var ea=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},ds==null?void 0:ds.style),us),aa),Xo.style),Is=Vl;return(0,ht.Z)(Is)==="object"&&!Array.isArray(Is)&&!x.isValidElement(Is)&&(Is=null),Mr&&(Ho||Ko)&&(Is=x.createElement("span",{className:"".concat(bo,"-content")},Is)),x.createElement(cr,(0,Pe.Z)({},ds,Xo,{className:hu,style:ea,title:sl,scope:Ur,onMouseEnter:xl?Gs:void 0,onMouseLeave:xl?Ks:void 0,colSpan:ra!==1?ra:null,rowSpan:Ca!==1?Ca:null}),ho,Is)}var Fn=x.memo(kt);function an(bt,wt,Yt,dn,In){var Un=Yt[bt]||{},tr=Yt[wt]||{},Jn,mr;Un.fixed==="left"?Jn=dn.left[In==="rtl"?wt:bt]:tr.fixed==="right"&&(mr=dn.right[In==="rtl"?bt:wt]);var cr=!1,ii=!1,Mr=!1,Ur=!1,Lr=Yt[wt+1],Sr=Yt[bt-1],Wi=Lr&&!Lr.fixed||Sr&&!Sr.fixed||Yt.every(function(po){return po.fixed==="left"});if(In==="rtl"){if(Jn!==void 0){var mi=Sr&&Sr.fixed==="left";Ur=!mi&&Wi}else if(mr!==void 0){var eo=Lr&&Lr.fixed==="right";Mr=!eo&&Wi}}else if(Jn!==void 0){var co=Lr&&Lr.fixed==="left";cr=!co&&Wi}else if(mr!==void 0){var qi=Sr&&Sr.fixed==="right";ii=!qi&&Wi}return{fixLeft:Jn,fixRight:mr,lastFixLeft:cr,firstFixRight:ii,lastFixRight:Mr,firstFixLeft:Ur,isSticky:dn.isSticky}}var de=x.createContext({}),ge=de;function ie(bt){var wt=bt.className,Yt=bt.index,dn=bt.children,In=bt.colSpan,Un=In===void 0?1:In,tr=bt.rowSpan,Jn=bt.align,mr=oe(Je,["prefixCls","direction"]),cr=mr.prefixCls,ii=mr.direction,Mr=x.useContext(ge),Ur=Mr.scrollColumnIndex,Lr=Mr.stickyOffsets,Sr=Mr.flattenColumns,Wi=Yt+Un-1,mi=Wi+1===Ur?Un+1:Un,eo=an(Yt,Yt+mi-1,Sr,Lr,ii);return x.createElement(Fn,(0,Pe.Z)({className:wt,index:Yt,component:"td",prefixCls:cr,record:null,dataIndex:null,align:Jn,colSpan:mi,rowSpan:tr,render:function(){return dn}},eo))}var ee=ae(42244),se=["children"];function le(bt){var wt=bt.children,Yt=(0,ee.Z)(bt,se);return x.createElement("tr",Yt,wt)}function Be(bt){var wt=bt.children;return wt}Be.Row=le,Be.Cell=ie;var Ge=Be;function ut(bt){var wt=bt.children,Yt=bt.stickyOffsets,dn=bt.flattenColumns,In=oe(Je,"prefixCls"),Un=dn.length-1,tr=dn[Un],Jn=x.useMemo(function(){return{stickyOffsets:Yt,flattenColumns:dn,scrollColumnIndex:tr!=null&&tr.scrollbar?Un:null}},[tr,dn,Un,Yt]);return x.createElement(ge.Provider,{value:Jn},x.createElement("tfoot",{className:"".concat(In,"-summary")},wt))}var mt=Ke(ut),vt=Ge,St=ae(29301),Dt=ae(24514),Qt=ae(75152),xt=ae(26112);function ct(bt,wt,Yt,dn,In,Un,tr){bt.push({record:wt,indent:Yt,index:tr});var Jn=Un(wt),mr=In==null?void 0:In.has(Jn);if(wt&&Array.isArray(wt[dn])&&mr)for(var cr=0;cr<wt[dn].length;cr+=1)ct(bt,wt[dn][cr],Yt+1,dn,In,Un,cr)}function Xt(bt,wt,Yt,dn){var In=x.useMemo(function(){if(Yt!=null&&Yt.size){for(var Un=[],tr=0;tr<(bt==null?void 0:bt.length);tr+=1){var Jn=bt[tr];ct(Un,Jn,0,wt,Yt,dn,tr)}return Un}return bt==null?void 0:bt.map(function(mr,cr){return{record:mr,indent:0,index:cr}})},[bt,wt,Yt,dn]);return In}function Wt(bt,wt,Yt,dn){var In=oe(Je,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Un=In.flattenColumns,tr=In.expandableType,Jn=In.expandedKeys,mr=In.childrenColumnName,cr=In.onTriggerExpand,ii=In.rowExpandable,Mr=In.onRow,Ur=In.expandRowByClick,Lr=In.rowClassName,Sr=tr==="nest",Wi=tr==="row"&&(!ii||ii(bt)),mi=Wi||Sr,eo=Jn&&Jn.has(wt),co=mr&&bt&&bt[mr],qi=(0,Tt.zX)(cr),po=Mr==null?void 0:Mr(bt,Yt),Io=po==null?void 0:po.onClick,jo=function(ta){Ur&&mi&&cr(bt,ta);for(var Zo=arguments.length,Ho=new Array(Zo>1?Zo-1:0),Ko=1;Ko<Zo;Ko++)Ho[Ko-1]=arguments[Ko];Io==null||Io.apply(void 0,[ta].concat(Ho))},Uo;typeof Lr=="string"?Uo=Lr:typeof Lr=="function"&&(Uo=Lr(bt,Yt,dn));var Da=At(Un);return(0,Ct.Z)((0,Ct.Z)({},In),{},{columnsKey:Da,nestExpandable:Sr,expanded:eo,hasNestChildren:co,record:bt,onTriggerExpand:qi,rowSupportExpand:Wi,expandable:mi,rowProps:(0,Ct.Z)((0,Ct.Z)({},po),{},{className:Ne()(Uo,po==null?void 0:po.className),onClick:jo})})}function wn(bt){var wt=bt.prefixCls,Yt=bt.children,dn=bt.component,In=bt.cellComponent,Un=bt.className,tr=bt.expanded,Jn=bt.colSpan,mr=bt.isEmpty,cr=oe(Je,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),ii=cr.scrollbarSize,Mr=cr.fixHeader,Ur=cr.fixColumn,Lr=cr.componentWidth,Sr=cr.horizonScroll,Wi=Yt;return(mr?Sr&&Lr:Ur)&&(Wi=x.createElement("div",{style:{width:Lr-(Mr&&!mr?ii:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(wt,"-expanded-row-fixed")},Wi)),x.createElement(dn,{className:Un,style:{display:tr?null:"none"}},x.createElement(Fn,{component:In,prefixCls:wt,colSpan:Jn},Wi))}var ln=wn;function nn(bt){var wt=bt.prefixCls,Yt=bt.record,dn=bt.onExpand,In=bt.expanded,Un=bt.expandable,tr="".concat(wt,"-row-expand-icon");if(!Un)return x.createElement("span",{className:Ne()(tr,"".concat(wt,"-row-spaced"))});var Jn=function(cr){dn(Yt,cr),cr.stopPropagation()};return x.createElement("span",{className:Ne()(tr,(0,ze.Z)((0,ze.Z)({},"".concat(wt,"-row-expanded"),In),"".concat(wt,"-row-collapsed"),!In)),onClick:Jn})}function zn(bt,wt,Yt){var dn=[];function In(Un){(Un||[]).forEach(function(tr,Jn){dn.push(wt(tr,Jn)),In(tr[Yt])})}return In(bt),dn}function Ln(bt,wt,Yt,dn){return typeof bt=="string"?bt:typeof bt=="function"?bt(wt,Yt,dn):""}function _t(bt,wt,Yt,dn,In){var Un=bt.record,tr=bt.prefixCls,Jn=bt.columnsKey,mr=bt.fixedInfoList,cr=bt.expandIconColumnIndex,ii=bt.nestExpandable,Mr=bt.indentSize,Ur=bt.expandIcon,Lr=bt.expanded,Sr=bt.hasNestChildren,Wi=bt.onTriggerExpand,mi=Jn[Yt],eo=mr[Yt],co;Yt===(cr||0)&&ii&&(co=x.createElement(x.Fragment,null,x.createElement("span",{style:{paddingLeft:"".concat(Mr*dn,"px")},className:"".concat(tr,"-row-indent indent-level-").concat(dn)}),Ur({prefixCls:tr,expanded:Lr,expandable:Sr,record:Un,onExpand:Wi})));var qi;return wt.onCell&&(qi=wt.onCell(Un,In)),{key:mi,fixedInfo:eo,appendCellNode:co,additionalCellProps:qi||{}}}function un(bt){var wt=bt.className,Yt=bt.style,dn=bt.record,In=bt.index,Un=bt.renderIndex,tr=bt.rowKey,Jn=bt.indent,mr=Jn===void 0?0:Jn,cr=bt.rowComponent,ii=bt.cellComponent,Mr=bt.scopeCellComponent,Ur=Wt(dn,tr,In,mr),Lr=Ur.prefixCls,Sr=Ur.flattenColumns,Wi=Ur.expandedRowClassName,mi=Ur.expandedRowRender,eo=Ur.rowProps,co=Ur.expanded,qi=Ur.rowSupportExpand,po=x.useRef(!1);po.current||(po.current=co);var Io=Ln(Wi,dn,In,mr),jo=x.createElement(cr,(0,Pe.Z)({},eo,{"data-row-key":tr,className:Ne()(wt,"".concat(Lr,"-row"),"".concat(Lr,"-row-level-").concat(mr),eo==null?void 0:eo.className,(0,ze.Z)({},Io,mr>=1)),style:(0,Ct.Z)((0,Ct.Z)({},Yt),eo==null?void 0:eo.style)}),Sr.map(function(oa,ta){var Zo=oa.render,Ho=oa.dataIndex,Ko=oa.className,yo=_t(Ur,oa,ta,mr,In),ho=yo.key,_o=yo.fixedInfo,Xo=yo.appendCellNode,na=yo.additionalCellProps;return x.createElement(Fn,(0,Pe.Z)({className:Ko,ellipsis:oa.ellipsis,align:oa.align,scope:oa.rowScope,component:oa.rowScope?Mr:ii,prefixCls:Lr,key:ho,record:dn,index:In,renderIndex:Un,dataIndex:Ho,render:Zo,shouldCellUpdate:oa.shouldCellUpdate},_o,{appendNode:Xo,additionalProps:na}))})),Uo;if(qi&&(po.current||co)){var Da=mi(dn,In,mr+1,co);Uo=x.createElement(ln,{expanded:co,className:Ne()("".concat(Lr,"-expanded-row"),"".concat(Lr,"-expanded-row-level-").concat(mr+1),Io),prefixCls:Lr,component:cr,cellComponent:ii,colSpan:Sr.length,isEmpty:!1},Da)}return x.createElement(x.Fragment,null,jo,Uo)}var Pn=Ke(un);function Vn(bt){var wt=bt.columnKey,Yt=bt.onColumnResize,dn=x.useRef();return(0,Fe.Z)(function(){dn.current&&Yt(wt,dn.current.offsetWidth)},[]),x.createElement(St.Z,{data:wt},x.createElement("td",{ref:dn,style:{padding:0,border:0,height:0}},x.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Lt=ae(29194);function Gt(bt){var wt=bt.prefixCls,Yt=bt.columnsKey,dn=bt.onColumnResize,In=x.useRef(null);return x.createElement("tr",{"aria-hidden":"true",className:"".concat(wt,"-measure-row"),style:{height:0,fontSize:0},ref:In},x.createElement(St.Z.Collection,{onBatchResize:function(tr){(0,Lt.Z)(In.current)&&tr.forEach(function(Jn){var mr=Jn.data,cr=Jn.size;dn(mr,cr.offsetWidth)})}},Yt.map(function(Un){return x.createElement(Vn,{key:Un,columnKey:Un,onColumnResize:dn})})))}function sn(bt){var wt=bt.data,Yt=bt.measureColumnWidth,dn=oe(Je,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),In=dn.prefixCls,Un=dn.getComponent,tr=dn.onColumnResize,Jn=dn.flattenColumns,mr=dn.getRowKey,cr=dn.expandedKeys,ii=dn.childrenColumnName,Mr=dn.emptyNode,Ur=Xt(wt,ii,cr,mr),Lr=x.useRef({renderWithProps:!1}),Sr=Un(["body","wrapper"],"tbody"),Wi=Un(["body","row"],"tr"),mi=Un(["body","cell"],"td"),eo=Un(["body","cell"],"th"),co;wt.length?co=Ur.map(function(po,Io){var jo=po.record,Uo=po.indent,Da=po.index,oa=mr(jo,Io);return x.createElement(Pn,{key:oa,rowKey:oa,record:jo,index:Io,renderIndex:Da,rowComponent:Wi,cellComponent:mi,scopeCellComponent:eo,indent:Uo})}):co=x.createElement(ln,{expanded:!0,className:"".concat(In,"-placeholder"),prefixCls:In,component:Wi,cellComponent:mi,colSpan:Jn.length,isEmpty:!0},Mr);var qi=At(Jn);return x.createElement(Bt.Provider,{value:Lr.current},x.createElement(Sr,{className:"".concat(In,"-tbody")},Yt&&x.createElement(Gt,{prefixCls:In,columnsKey:qi,onColumnResize:tr}),co))}var bn=Ke(sn),Yn=["expandable"],pr="RC_TABLE_INTERNAL_COL_DEFINE";function ti(bt){var wt=bt.expandable,Yt=(0,ee.Z)(bt,Yn),dn;return"expandable"in bt?dn=(0,Ct.Z)((0,Ct.Z)({},Yt),wt):dn=Yt,dn.showExpandColumn===!1&&(dn.expandIconColumnIndex=-1),dn}var si=["columnType"];function Cr(bt){for(var wt=bt.colWidths,Yt=bt.columns,dn=bt.columCount,In=oe(Je,["tableLayout"]),Un=In.tableLayout,tr=[],Jn=dn||Yt.length,mr=!1,cr=Jn-1;cr>=0;cr-=1){var ii=wt[cr],Mr=Yt&&Yt[cr],Ur=void 0,Lr=void 0;if(Mr&&(Ur=Mr[pr],Un==="auto"&&(Lr=Mr.minWidth)),ii||Lr||Ur||mr){var Sr=Ur||{},Wi=Sr.columnType,mi=(0,ee.Z)(Sr,si);tr.unshift(x.createElement("col",(0,Pe.Z)({key:cr,style:{width:ii,minWidth:Lr}},mi))),mr=!0}}return x.createElement("colgroup",null,tr)}var ur=Cr,dr=ae(77654),yn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function $n(bt,wt){return(0,x.useMemo)(function(){for(var Yt=[],dn=0;dn<wt;dn+=1){var In=bt[dn];if(In!==void 0)Yt[dn]=In;else return null}return Yt},[bt.join("_"),wt])}var rr=x.forwardRef(function(bt,wt){var Yt=bt.className,dn=bt.noData,In=bt.columns,Un=bt.flattenColumns,tr=bt.colWidths,Jn=bt.columCount,mr=bt.stickyOffsets,cr=bt.direction,ii=bt.fixHeader,Mr=bt.stickyTopOffset,Ur=bt.stickyBottomOffset,Lr=bt.stickyClassName,Sr=bt.onScroll,Wi=bt.maxContentScroll,mi=bt.children,eo=(0,ee.Z)(bt,yn),co=oe(Je,["prefixCls","scrollbarSize","isSticky","getComponent"]),qi=co.prefixCls,po=co.scrollbarSize,Io=co.isSticky,jo=co.getComponent,Uo=jo(["header","table"],"table"),Da=Io&&!ii?0:po,oa=x.useRef(null),ta=x.useCallback(function(na){(0,ye.mH)(wt,na),(0,ye.mH)(oa,na)},[]);x.useEffect(function(){var na;function bo(rs){var Va=rs,kl=Va.currentTarget,xl=Va.deltaX;xl&&(Sr({currentTarget:kl,scrollLeft:kl.scrollLeft+xl}),rs.preventDefault())}return(na=oa.current)===null||na===void 0||na.addEventListener("wheel",bo,{passive:!1}),function(){var rs;(rs=oa.current)===null||rs===void 0||rs.removeEventListener("wheel",bo)}},[]);var Zo=x.useMemo(function(){return Un.every(function(na){return na.width})},[Un]),Ho=Un[Un.length-1],Ko={fixed:Ho?Ho.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(qi,"-cell-scrollbar")}}},yo=(0,x.useMemo)(function(){return Da?[].concat((0,dr.Z)(In),[Ko]):In},[Da,In]),ho=(0,x.useMemo)(function(){return Da?[].concat((0,dr.Z)(Un),[Ko]):Un},[Da,Un]),_o=(0,x.useMemo)(function(){var na=mr.right,bo=mr.left;return(0,Ct.Z)((0,Ct.Z)({},mr),{},{left:cr==="rtl"?[].concat((0,dr.Z)(bo.map(function(rs){return rs+Da})),[0]):bo,right:cr==="rtl"?na:[].concat((0,dr.Z)(na.map(function(rs){return rs+Da})),[0]),isSticky:Io})},[Da,mr,Io]),Xo=$n(tr,Jn);return x.createElement("div",{style:(0,Ct.Z)({overflow:"hidden"},Io?{top:Mr,bottom:Ur}:{}),ref:ta,className:Ne()(Yt,(0,ze.Z)({},Lr,!!Lr))},x.createElement(Uo,{style:{tableLayout:"fixed",visibility:dn||Xo?null:"hidden"}},(!dn||!Wi||Zo)&&x.createElement(ur,{colWidths:Xo?[].concat((0,dr.Z)(Xo),[Da]):[],columCount:Jn+1,columns:ho}),mi((0,Ct.Z)((0,Ct.Z)({},eo),{},{stickyOffsets:_o,columns:yo,flattenColumns:ho}))))}),Zn=x.memo(rr),br=function(wt){var Yt=wt.cells,dn=wt.stickyOffsets,In=wt.flattenColumns,Un=wt.rowComponent,tr=wt.cellComponent,Jn=wt.onHeaderRow,mr=wt.index,cr=oe(Je,["prefixCls","direction"]),ii=cr.prefixCls,Mr=cr.direction,Ur;Jn&&(Ur=Jn(Yt.map(function(Sr){return Sr.column}),mr));var Lr=At(Yt.map(function(Sr){return Sr.column}));return x.createElement(Un,Ur,Yt.map(function(Sr,Wi){var mi=Sr.column,eo=an(Sr.colStart,Sr.colEnd,In,dn,Mr),co;return mi&&mi.onHeaderCell&&(co=Sr.column.onHeaderCell(mi)),x.createElement(Fn,(0,Pe.Z)({},Sr,{scope:mi.title?Sr.colSpan>1?"colgroup":"col":null,ellipsis:mi.ellipsis,align:mi.align,component:tr,prefixCls:ii,key:Lr[Wi]},eo,{additionalProps:co,rowType:"header"}))}))},Br=br;function Or(bt){var wt=[];function Yt(tr,Jn){var mr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;wt[mr]=wt[mr]||[];var cr=Jn,ii=tr.filter(Boolean).map(function(Mr){var Ur={key:Mr.key,className:Mr.className||"",children:Mr.title,column:Mr,colStart:cr},Lr=1,Sr=Mr.children;return Sr&&Sr.length>0&&(Lr=Yt(Sr,cr,mr+1).reduce(function(Wi,mi){return Wi+mi},0),Ur.hasSubColumns=!0),"colSpan"in Mr&&(Lr=Mr.colSpan),"rowSpan"in Mr&&(Ur.rowSpan=Mr.rowSpan),Ur.colSpan=Lr,Ur.colEnd=Ur.colStart+Lr-1,wt[mr].push(Ur),cr+=Lr,Lr});return ii}Yt(bt,0);for(var dn=wt.length,In=function(Jn){wt[Jn].forEach(function(mr){!("rowSpan"in mr)&&!mr.hasSubColumns&&(mr.rowSpan=dn-Jn)})},Un=0;Un<dn;Un+=1)In(Un);return wt}var ci=function(wt){var Yt=wt.stickyOffsets,dn=wt.columns,In=wt.flattenColumns,Un=wt.onHeaderRow,tr=oe(Je,["prefixCls","getComponent"]),Jn=tr.prefixCls,mr=tr.getComponent,cr=x.useMemo(function(){return Or(dn)},[dn]),ii=mr(["header","wrapper"],"thead"),Mr=mr(["header","row"],"tr"),Ur=mr(["header","cell"],"th");return x.createElement(ii,{className:"".concat(Jn,"-thead")},cr.map(function(Lr,Sr){var Wi=x.createElement(Br,{key:Sr,flattenColumns:In,cells:Lr,stickyOffsets:Yt,rowComponent:Mr,cellComponent:Ur,onHeaderRow:Un,index:Sr});return Wi}))},Ai=Ke(ci),di=ae(11592);function Pi(bt){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof wt=="number"?wt:wt.endsWith("%")?bt*parseFloat(wt)/100:null}function yi(bt,wt,Yt){return x.useMemo(function(){if(wt&&wt>0){var dn=0,In=0;bt.forEach(function(Ur){var Lr=Pi(wt,Ur.width);Lr?dn+=Lr:In+=1});var Un=Math.max(wt,Yt),tr=Math.max(Un-dn,In),Jn=In,mr=tr/In,cr=0,ii=bt.map(function(Ur){var Lr=(0,Ct.Z)({},Ur),Sr=Pi(wt,Lr.width);if(Sr)Lr.width=Sr;else{var Wi=Math.floor(mr);Lr.width=Jn===1?tr:Wi,tr-=Wi,Jn-=1}return cr+=Lr.width,Lr});if(cr<Un){var Mr=Un/cr;tr=Un,ii.forEach(function(Ur,Lr){var Sr=Math.floor(Ur.width*Mr);Ur.width=Lr===ii.length-1?tr:Sr,tr-=Sr})}return[ii,Math.max(cr,Un)]}return[bt,wt]},[bt,wt,Yt])}var oo=["children"],Gi=["fixed"];function ar(bt){return(0,di.Z)(bt).filter(function(wt){return x.isValidElement(wt)}).map(function(wt){var Yt=wt.key,dn=wt.props,In=dn.children,Un=(0,ee.Z)(dn,oo),tr=(0,Ct.Z)({key:Yt},Un);return In&&(tr.children=ar(In)),tr})}function Dr(bt){return bt.filter(function(wt){return wt&&(0,ht.Z)(wt)==="object"&&!wt.hidden}).map(function(wt){var Yt=wt.children;return Yt&&Yt.length>0?(0,Ct.Z)((0,Ct.Z)({},wt),{},{children:Dr(Yt)}):wt})}function gi(bt){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return bt.filter(function(Yt){return Yt&&(0,ht.Z)(Yt)==="object"}).reduce(function(Yt,dn,In){var Un=dn.fixed,tr=Un===!0?"left":Un,Jn="".concat(wt,"-").concat(In),mr=dn.children;return mr&&mr.length>0?[].concat((0,dr.Z)(Yt),(0,dr.Z)(gi(mr,Jn).map(function(cr){return(0,Ct.Z)({fixed:tr},cr)}))):[].concat((0,dr.Z)(Yt),[(0,Ct.Z)((0,Ct.Z)({key:Jn},dn),{},{fixed:tr})])},[])}function ni(bt){return bt.map(function(wt){var Yt=wt.fixed,dn=(0,ee.Z)(wt,Gi),In=Yt;return Yt==="left"?In="right":Yt==="right"&&(In="left"),(0,Ct.Z)({fixed:In},dn)})}function An(bt,wt){var Yt=bt.prefixCls,dn=bt.columns,In=bt.children,Un=bt.expandable,tr=bt.expandedKeys,Jn=bt.columnTitle,mr=bt.getRowKey,cr=bt.onTriggerExpand,ii=bt.expandIcon,Mr=bt.rowExpandable,Ur=bt.expandIconColumnIndex,Lr=bt.direction,Sr=bt.expandRowByClick,Wi=bt.columnWidth,mi=bt.fixed,eo=bt.scrollWidth,co=bt.clientWidth,qi=x.useMemo(function(){var Ho=dn||ar(In)||[];return Dr(Ho.slice())},[dn,In]),po=x.useMemo(function(){if(Un){var Ho=qi.slice();if(!Ho.includes(dt)){var Ko=Ur||0;Ko>=0&&(Ko||mi==="left"||!mi)&&Ho.splice(Ko,0,dt),mi==="right"&&Ho.splice(qi.length,0,dt)}var yo=Ho.indexOf(dt);Ho=Ho.filter(function(na,bo){return na!==dt||bo===yo});var ho=qi[yo],_o;mi?_o=mi:_o=ho?ho.fixed:null;var Xo=(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({},pr,{className:"".concat(Yt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Jn),"fixed",_o),"className","".concat(Yt,"-row-expand-icon-cell")),"width",Wi),"render",function(bo,rs,Va){var kl=mr(rs,Va),xl=tr.has(kl),al=Mr?Mr(rs):!0,Ao=ii({prefixCls:Yt,expanded:xl,expandable:al,record:rs,onExpand:cr});return Sr?x.createElement("span",{onClick:function(ds){return ds.stopPropagation()}},Ao):Ao});return Ho.map(function(na){return na===dt?Xo:na})}return qi.filter(function(na){return na!==dt})},[Un,qi,mr,tr,ii,Lr]),Io=x.useMemo(function(){var Ho=po;return wt&&(Ho=wt(Ho)),Ho.length||(Ho=[{render:function(){return null}}]),Ho},[wt,po,Lr]),jo=x.useMemo(function(){return Lr==="rtl"?ni(gi(Io)):gi(Io)},[Io,Lr,eo]),Uo=x.useMemo(function(){for(var Ho=-1,Ko=jo.length-1;Ko>=0;Ko-=1){var yo=jo[Ko].fixed;if(yo==="left"||yo===!0){Ho=Ko;break}}if(Ho>=0)for(var ho=0;ho<=Ho;ho+=1){var _o=jo[ho].fixed;if(_o!=="left"&&_o!==!0)return!0}var Xo=jo.findIndex(function(rs){var Va=rs.fixed;return Va==="right"});if(Xo>=0)for(var na=Xo;na<jo.length;na+=1){var bo=jo[na].fixed;if(bo!=="right")return!0}return!1},[jo]),Da=yi(jo,eo,co),oa=(0,qe.Z)(Da,2),ta=oa[0],Zo=oa[1];return[Io,ta,Zo,Uo]}var Cn=An;function tt(bt,wt,Yt){var dn=ti(bt),In=dn.expandIcon,Un=dn.expandedRowKeys,tr=dn.defaultExpandedRowKeys,Jn=dn.defaultExpandAllRows,mr=dn.expandedRowRender,cr=dn.onExpand,ii=dn.onExpandedRowsChange,Mr=dn.childrenColumnName,Ur=In||nn,Lr=Mr||"children",Sr=x.useMemo(function(){return mr?"row":bt.expandable&&bt.internalHooks===Le&&bt.expandable.__PARENT_RENDER_ICON__||wt.some(function(Io){return Io&&(0,ht.Z)(Io)==="object"&&Io[Lr]})?"nest":!1},[!!mr,wt]),Wi=x.useState(function(){return tr||(Jn?zn(wt,Yt,Lr):[])}),mi=(0,qe.Z)(Wi,2),eo=mi[0],co=mi[1],qi=x.useMemo(function(){return new Set(Un||eo||[])},[Un,eo]),po=x.useCallback(function(Io){var jo=Yt(Io,wt.indexOf(Io)),Uo,Da=qi.has(jo);Da?(qi.delete(jo),Uo=(0,dr.Z)(qi)):Uo=[].concat((0,dr.Z)(qi),[jo]),co(Uo),cr&&cr(!Da,Io),ii&&ii(Uo)},[Yt,qi,wt,cr,ii]);return[dn,Sr,qi,Ur,Lr,po]}function pn(bt,wt,Yt){var dn=bt.map(function(In,Un){return an(Un,Un,bt,wt,Yt)});return(0,Qe.Z)(function(){return dn},[dn],function(In,Un){return!(0,Me.Z)(In,Un)})}function Zt(bt){var wt=(0,x.useRef)(bt),Yt=(0,x.useState)({}),dn=(0,qe.Z)(Yt,2),In=dn[1],Un=(0,x.useRef)(null),tr=(0,x.useRef)([]);function Jn(mr){tr.current.push(mr);var cr=Promise.resolve();Un.current=cr,cr.then(function(){if(Un.current===cr){var ii=tr.current,Mr=wt.current;tr.current=[],ii.forEach(function(Ur){wt.current=Ur(wt.current)}),Un.current=null,Mr!==wt.current&&In({})}})}return(0,x.useEffect)(function(){return function(){Un.current=null}},[]),[wt.current,Jn]}function vn(bt){var wt=(0,x.useRef)(bt||null),Yt=(0,x.useRef)();function dn(){window.clearTimeout(Yt.current)}function In(tr){wt.current=tr,dn(),Yt.current=window.setTimeout(function(){wt.current=null,Yt.current=void 0},100)}function Un(){return wt.current}return(0,x.useEffect)(function(){return dn},[]),[In,Un]}function On(){var bt=x.useState(-1),wt=(0,qe.Z)(bt,2),Yt=wt[0],dn=wt[1],In=x.useState(-1),Un=(0,qe.Z)(In,2),tr=Un[0],Jn=Un[1],mr=x.useCallback(function(cr,ii){dn(cr),Jn(ii)},[]);return[Yt,tr,mr]}var Rr=ae(47273),Xr=(0,Rr.Z)()?window:null;function li(bt,wt){var Yt=(0,ht.Z)(bt)==="object"?bt:{},dn=Yt.offsetHeader,In=dn===void 0?0:dn,Un=Yt.offsetSummary,tr=Un===void 0?0:Un,Jn=Yt.offsetScroll,mr=Jn===void 0?0:Jn,cr=Yt.getContainer,ii=cr===void 0?function(){return Xr}:cr,Mr=ii()||Xr,Ur=!!bt;return x.useMemo(function(){return{isSticky:Ur,stickyClassName:Ur?"".concat(wt,"-sticky-holder"):"",offsetHeader:In,offsetSummary:tr,offsetScroll:mr,container:Mr}},[Ur,mr,In,tr,wt,Mr])}function nr(bt,wt,Yt){var dn=(0,x.useMemo)(function(){var In=wt.length,Un=function(cr,ii,Mr){for(var Ur=[],Lr=0,Sr=cr;Sr!==ii;Sr+=Mr)Ur.push(Lr),wt[Sr].fixed&&(Lr+=bt[Sr]||0);return Ur},tr=Un(0,In,1),Jn=Un(In-1,-1,-1).reverse();return Yt==="rtl"?{left:Jn,right:tr}:{left:tr,right:Jn}},[bt,wt,Yt]);return dn}var or=nr;function er(bt){var wt=bt.className,Yt=bt.children;return x.createElement("div",{className:wt},Yt)}var _r=er,Ti=ae(8224),bi=ae(16089),Xi=ae(76846);function Er(bt){var wt=(0,Xi.bn)(bt),Yt=wt.getBoundingClientRect(),dn=document.documentElement;return{left:Yt.left+(window.pageXOffset||dn.scrollLeft)-(dn.clientLeft||document.body.clientLeft||0),top:Yt.top+(window.pageYOffset||dn.scrollTop)-(dn.clientTop||document.body.clientTop||0)}}var tn=function(wt,Yt){var dn,In,Un=wt.scrollBodyRef,tr=wt.onScroll,Jn=wt.offsetScroll,mr=wt.container,cr=wt.direction,ii=oe(Je,"prefixCls"),Mr=((dn=Un.current)===null||dn===void 0?void 0:dn.scrollWidth)||0,Ur=((In=Un.current)===null||In===void 0?void 0:In.clientWidth)||0,Lr=Mr&&Ur*(Ur/Mr),Sr=x.useRef(),Wi=Zt({scrollLeft:0,isHiddenScrollBar:!0}),mi=(0,qe.Z)(Wi,2),eo=mi[0],co=mi[1],qi=x.useRef({delta:0,x:0}),po=x.useState(!1),Io=(0,qe.Z)(po,2),jo=Io[0],Uo=Io[1],Da=x.useRef(null);x.useEffect(function(){return function(){bi.Z.cancel(Da.current)}},[]);var oa=function(){Uo(!1)},ta=function(ho){ho.persist(),qi.current.delta=ho.pageX-eo.scrollLeft,qi.current.x=0,Uo(!0),ho.preventDefault()},Zo=function(ho){var _o,Xo=ho||((_o=window)===null||_o===void 0?void 0:_o.event),na=Xo.buttons;if(!jo||na===0){jo&&Uo(!1);return}var bo=qi.current.x+ho.pageX-qi.current.x-qi.current.delta,rs=cr==="rtl";bo=Math.max(rs?Lr-Ur:0,Math.min(rs?0:Ur-Lr,bo));var Va=!rs||Math.abs(bo)+Math.abs(Lr)<Ur;Va&&(tr({scrollLeft:bo/Ur*(Mr+2)}),qi.current.x=ho.pageX)},Ho=function(){bi.Z.cancel(Da.current),Da.current=(0,bi.Z)(function(){if(Un.current){var ho=Er(Un.current).top,_o=ho+Un.current.offsetHeight,Xo=mr===window?document.documentElement.scrollTop+window.innerHeight:Er(mr).top+mr.clientHeight;_o-(0,Qt.Z)()<=Xo||ho>=Xo-Jn?co(function(na){return(0,Ct.Z)((0,Ct.Z)({},na),{},{isHiddenScrollBar:!0})}):co(function(na){return(0,Ct.Z)((0,Ct.Z)({},na),{},{isHiddenScrollBar:!1})})}})},Ko=function(ho){co(function(_o){return(0,Ct.Z)((0,Ct.Z)({},_o),{},{scrollLeft:ho/Mr*Ur||0})})};return x.useImperativeHandle(Yt,function(){return{setScrollLeft:Ko,checkScrollBarVisible:Ho}}),x.useEffect(function(){var yo=(0,Ti.Z)(document.body,"mouseup",oa,!1),ho=(0,Ti.Z)(document.body,"mousemove",Zo,!1);return Ho(),function(){yo.remove(),ho.remove()}},[Lr,jo]),x.useEffect(function(){if(Un.current){for(var yo=[],ho=(0,Xi.bn)(Un.current);ho;)yo.push(ho),ho=ho.parentElement;return yo.forEach(function(_o){return _o.addEventListener("scroll",Ho,!1)}),window.addEventListener("resize",Ho,!1),window.addEventListener("scroll",Ho,!1),mr.addEventListener("scroll",Ho,!1),function(){yo.forEach(function(_o){return _o.removeEventListener("scroll",Ho)}),window.removeEventListener("resize",Ho),window.removeEventListener("scroll",Ho),mr.removeEventListener("scroll",Ho)}}},[mr]),x.useEffect(function(){eo.isHiddenScrollBar||co(function(yo){var ho=Un.current;return ho?(0,Ct.Z)((0,Ct.Z)({},yo),{},{scrollLeft:ho.scrollLeft/ho.scrollWidth*ho.clientWidth}):yo})},[eo.isHiddenScrollBar]),Mr<=Ur||!Lr||eo.isHiddenScrollBar?null:x.createElement("div",{style:{height:(0,Qt.Z)(),width:Ur,bottom:Jn},className:"".concat(ii,"-sticky-scroll")},x.createElement("div",{onMouseDown:ta,ref:Sr,className:Ne()("".concat(ii,"-sticky-scroll-bar"),(0,ze.Z)({},"".concat(ii,"-sticky-scroll-bar-active"),jo)),style:{width:"".concat(Lr,"px"),transform:"translate3d(".concat(eo.scrollLeft,"px, 0, 0)")}}))},$t=x.forwardRef(tn);function jn(bt){return null}var lr=jn;function gr(bt){return null}var Ir=gr,Kr="rc-table",zr=[],pi={};function Ci(){return"No Data"}function xi(bt,wt){var Yt=(0,Ct.Z)({rowKey:"key",prefixCls:Kr,emptyText:Ci},bt),dn=Yt.prefixCls,In=Yt.className,Un=Yt.rowClassName,tr=Yt.style,Jn=Yt.data,mr=Yt.rowKey,cr=Yt.scroll,ii=Yt.tableLayout,Mr=Yt.direction,Ur=Yt.title,Lr=Yt.footer,Sr=Yt.summary,Wi=Yt.caption,mi=Yt.id,eo=Yt.showHeader,co=Yt.components,qi=Yt.emptyText,po=Yt.onRow,Io=Yt.onHeaderRow,jo=Yt.onScroll,Uo=Yt.internalHooks,Da=Yt.transformColumns,oa=Yt.internalRefs,ta=Yt.tailor,Zo=Yt.getContainerWidth,Ho=Yt.sticky,Ko=Yt.rowHoverable,yo=Ko===void 0?!0:Ko,ho=Jn||zr,_o=!!ho.length,Xo=Uo===Le,na=x.useCallback(function(ws,ks){return(0,Ot.Z)(co,ws)||ks},[co]),bo=x.useMemo(function(){return typeof mr=="function"?mr:function(ws){var ks=ws&&ws[mr];return ks}},[mr]),rs=na(["body"]),Va=On(),kl=(0,qe.Z)(Va,3),xl=kl[0],al=kl[1],Ao=kl[2],Vl=tt(Yt,ho,bo),ds=(0,qe.Z)(Vl,6),us=ds[0],nl=ds[1],uu=ds[2],ra=ds[3],Ca=ds[4],Yo=ds[5],To=cr==null?void 0:cr.x,vs=x.useState(0),Os=(0,qe.Z)(vs,2),Gs=Os[0],Ks=Os[1],sl=Cn((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Yt),us),{},{expandable:!!us.expandedRowRender,columnTitle:us.columnTitle,expandedKeys:uu,getRowKey:bo,onTriggerExpand:Yo,expandIcon:ra,expandIconColumnIndex:us.expandIconColumnIndex,direction:Mr,scrollWidth:Xo&&ta&&typeof To=="number"?To:null,clientWidth:Gs}),Xo?Da:null),hu=(0,qe.Z)(sl,4),aa=hu[0],ea=hu[1],Is=hu[2],Js=hu[3],Xs=Is!=null?Is:To,pu=x.useMemo(function(){return{columns:aa,flattenColumns:ea}},[aa,ea]),Ml=x.useRef(),Ac=x.useRef(),Bl=x.useRef(),Cs=x.useRef();x.useImperativeHandle(wt,function(){return{nativeElement:Ml.current,scrollTo:function(ks){var mu;if(Bl.current instanceof HTMLElement){var Hu=ks.index,zu=ks.top,Ad=ks.key;if(Ht(zu)){var XA;(XA=Bl.current)===null||XA===void 0||XA.scrollTo({top:zu})}else{var RA,dd=Ad!=null?Ad:bo(ho[Hu]);(RA=Bl.current.querySelector('[data-row-key="'.concat(dd,'"]')))===null||RA===void 0||RA.scrollIntoView()}}else(mu=Bl.current)!==null&&mu!==void 0&&mu.scrollTo&&Bl.current.scrollTo(ks)}}});var ll=x.useRef(),ul=x.useState(!1),cu=(0,qe.Z)(ul,2),Ul=cu[0],xs=cu[1],vl=x.useState(!1),Ps=(0,qe.Z)(vl,2),yl=Ps[0],Gl=Ps[1],ku=x.useState(new Map),Mu=(0,qe.Z)(ku,2),$c=Mu[0],cl=Mu[1],Dd=At(ea),_u=Dd.map(function(ws){return $c.get(ws)}),qu=x.useMemo(function(){return _u},[_u.join("_")]),Qu=or(qu,ea,Mr),ec=cr&&Kt(cr.y),Al=cr&&Kt(Xs)||!!us.fixed,Cc=Al&&ea.some(function(ws){var ks=ws.fixed;return ks}),xA=x.useRef(),Rc=li(Ho,dn),Jc=Rc.isSticky,Jd=Rc.offsetHeader,qd=Rc.offsetSummary,Ts=Rc.offsetScroll,ld=Rc.stickyClassName,Ef=Rc.container,Ga=x.useMemo(function(){return Sr==null?void 0:Sr(ho)},[Sr,ho]),ys=(ec||Jc)&&x.isValidElement(Ga)&&Ga.type===Ge&&Ga.props.fixed,_l,iu,Bu;ec&&(iu={overflowY:_o?"scroll":"auto",maxHeight:cr.y}),Al&&(_l={overflowX:"auto"},ec||(iu={overflowY:"hidden"}),Bu={width:Xs===!0?"auto":Xs,minWidth:"100%"});var Eu=x.useCallback(function(ws,ks){cl(function(mu){if(mu.get(ws)!==ks){var Hu=new Map(mu);return Hu.set(ws,ks),Hu}return mu})},[]),tc=vn(null),ju=(0,qe.Z)(tc,2),ZA=ju[0],Sf=ju[1];function WA(ws,ks){ks&&(typeof ks=="function"?ks(ws):ks.scrollLeft!==ws&&(ks.scrollLeft=ws,ks.scrollLeft!==ws&&setTimeout(function(){ks.scrollLeft=ws},0)))}var VA=(0,He.Z)(function(ws){var ks=ws.currentTarget,mu=ws.scrollLeft,Hu=Mr==="rtl",zu=typeof mu=="number"?mu:ks.scrollLeft,Ad=ks||pi;if(!Sf()||Sf()===Ad){var XA;ZA(Ad),WA(zu,Ac.current),WA(zu,Bl.current),WA(zu,ll.current),WA(zu,(XA=xA.current)===null||XA===void 0?void 0:XA.setScrollLeft)}var RA=ks||Ac.current;if(RA){var dd=Xo&&ta&&typeof Xs=="number"?Xs:RA.scrollWidth,YA=RA.clientWidth;if(dd===YA){xs(!1),Gl(!1);return}Hu?(xs(-zu<dd-YA),Gl(-zu>0)):(xs(zu>0),Gl(zu<dd-YA))}}),gu=(0,He.Z)(function(ws){VA(ws),jo==null||jo(ws)}),_c=function(){if(Al&&Bl.current){var ks;VA({currentTarget:(0,Xi.bn)(Bl.current),scrollLeft:(ks=Bl.current)===null||ks===void 0?void 0:ks.scrollLeft})}else xs(!1),Gl(!1)},ef=function(ks){var mu,Hu=ks.width;(mu=xA.current)===null||mu===void 0||mu.checkScrollBarVisible();var zu=Ml.current?Ml.current.offsetWidth:Hu;Xo&&Zo&&Ml.current&&(zu=Zo(Ml.current,zu)||zu),zu!==Gs&&(_c(),Ks(zu))},Ff=x.useRef(!1);x.useEffect(function(){Ff.current&&_c()},[Al,Jn,aa.length]),x.useEffect(function(){Ff.current=!0},[]);var tf=x.useState(0),If=(0,qe.Z)(tf,2),GA=If[0],rh=If[1],pp=x.useState(!0),ih=(0,qe.Z)(pp,2),nf=ih[0],gp=ih[1];(0,Fe.Z)(function(){(!ta||!Xo)&&(Bl.current instanceof Element?rh((0,Qt.o)(Bl.current).width):rh((0,Qt.o)(Cs.current).width)),gp((0,Dt.G)("position","sticky"))},[]),x.useEffect(function(){Xo&&oa&&(oa.body.current=Bl.current)});var mp=x.useCallback(function(ws){return x.createElement(x.Fragment,null,x.createElement(Ai,ws),ys==="top"&&x.createElement(mt,ws,Ga))},[ys,Ga]),rf=x.useCallback(function(ws){return x.createElement(mt,ws,Ga)},[Ga]),Lf=na(["table"],"table"),Nd=x.useMemo(function(){return ii||(Cc?Xs==="max-content"?"auto":"fixed":ec||Jc||ea.some(function(ws){var ks=ws.ellipsis;return ks})?"fixed":"auto")},[ec,Cc,ea,ii,Jc]),Df,Od={colWidths:qu,columCount:ea.length,stickyOffsets:Qu,onHeaderRow:Io,fixHeader:ec,scroll:cr},of=x.useMemo(function(){return _o?null:typeof qi=="function"?qi():qi},[_o,qi]),BA=x.createElement(bn,{data:ho,measureColumnWidth:ec||Al||Jc}),oh=x.createElement(ur,{colWidths:ea.map(function(ws){var ks=ws.width;return ks}),columns:ea}),ah=Wi!=null?x.createElement("caption",{className:"".concat(dn,"-caption")},Wi):void 0,Uh=(0,xt.Z)(Yt,{data:!0}),ud=(0,xt.Z)(Yt,{aria:!0});if(ec||Jc){var EA;typeof rs=="function"?(EA=rs(ho,{scrollbarSize:GA,ref:Bl,onScroll:VA}),Od.colWidths=ea.map(function(ws,ks){var mu=ws.width,Hu=ks===ea.length-1?mu-GA:mu;return typeof Hu=="number"&&!Number.isNaN(Hu)?Hu:0})):EA=x.createElement("div",{style:(0,Ct.Z)((0,Ct.Z)({},_l),iu),onScroll:gu,ref:Bl,className:Ne()("".concat(dn,"-body"))},x.createElement(Lf,(0,Pe.Z)({style:(0,Ct.Z)((0,Ct.Z)({},Bu),{},{tableLayout:Nd})},ud),ah,oh,BA,!ys&&Ga&&x.createElement(mt,{stickyOffsets:Qu,flattenColumns:ea},Ga)));var SA=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({noData:!ho.length,maxContentScroll:Al&&Xs==="max-content"},Od),pu),{},{direction:Mr,stickyClassName:ld,onScroll:VA});Df=x.createElement(x.Fragment,null,eo!==!1&&x.createElement(Zn,(0,Pe.Z)({},SA,{stickyTopOffset:Jd,className:"".concat(dn,"-header"),ref:Ac}),mp),EA,ys&&ys!=="top"&&x.createElement(Zn,(0,Pe.Z)({},SA,{stickyBottomOffset:qd,className:"".concat(dn,"-summary"),ref:ll}),rf),Jc&&Bl.current&&Bl.current instanceof Element&&x.createElement($t,{ref:xA,offsetScroll:Ts,scrollBodyRef:Bl,onScroll:VA,container:Ef,direction:Mr}))}else Df=x.createElement("div",{style:(0,Ct.Z)((0,Ct.Z)({},_l),iu),className:Ne()("".concat(dn,"-content")),onScroll:VA,ref:Bl},x.createElement(Lf,(0,Pe.Z)({style:(0,Ct.Z)((0,Ct.Z)({},Bu),{},{tableLayout:Nd})},ud),ah,oh,eo!==!1&&x.createElement(Ai,(0,Pe.Z)({},Od,pu)),BA,Ga&&x.createElement(mt,{stickyOffsets:Qu,flattenColumns:ea},Ga)));var Pd=x.createElement("div",(0,Pe.Z)({className:Ne()(dn,In,(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({},"".concat(dn,"-rtl"),Mr==="rtl"),"".concat(dn,"-ping-left"),Ul),"".concat(dn,"-ping-right"),yl),"".concat(dn,"-layout-fixed"),ii==="fixed"),"".concat(dn,"-fixed-header"),ec),"".concat(dn,"-fixed-column"),Cc),"".concat(dn,"-fixed-column-gapped"),Cc&&Js),"".concat(dn,"-scroll-horizontal"),Al),"".concat(dn,"-has-fix-left"),ea[0]&&ea[0].fixed),"".concat(dn,"-has-fix-right"),ea[ea.length-1]&&ea[ea.length-1].fixed==="right")),style:tr,id:mi,ref:Ml},Uh),Ur&&x.createElement(_r,{className:"".concat(dn,"-title")},Ur(ho)),x.createElement("div",{ref:Cs,className:"".concat(dn,"-container")},Df),Lr&&x.createElement(_r,{className:"".concat(dn,"-footer")},Lr(ho)));Al&&(Pd=x.createElement(St.Z,{onResize:ef},Pd));var cd=pn(ea,Qu,Mr),Rh=x.useMemo(function(){return{scrollX:Xs,prefixCls:dn,getComponent:na,scrollbarSize:GA,direction:Mr,fixedInfoList:cd,isSticky:Jc,supportSticky:nf,componentWidth:Gs,fixHeader:ec,fixColumn:Cc,horizonScroll:Al,tableLayout:Nd,rowClassName:Un,expandedRowClassName:us.expandedRowClassName,expandIcon:ra,expandableType:nl,expandRowByClick:us.expandRowByClick,expandedRowRender:us.expandedRowRender,onTriggerExpand:Yo,expandIconColumnIndex:us.expandIconColumnIndex,indentSize:us.indentSize,allColumnsFixedLeft:ea.every(function(ws){return ws.fixed==="left"}),emptyNode:of,columns:aa,flattenColumns:ea,onColumnResize:Eu,hoverStartRow:xl,hoverEndRow:al,onHover:Ao,rowExpandable:us.rowExpandable,onRow:po,getRowKey:bo,expandedKeys:uu,childrenColumnName:Ca,rowHoverable:yo}},[Xs,dn,na,GA,Mr,cd,Jc,nf,Gs,ec,Cc,Al,Nd,Un,us.expandedRowClassName,ra,nl,us.expandRowByClick,us.expandedRowRender,Yo,us.expandIconColumnIndex,us.indentSize,of,aa,ea,Eu,xl,al,Ao,us.rowExpandable,po,bo,uu,Ca,yo]);return x.createElement(Je.Provider,{value:Rh},Pd)}var hi=x.forwardRef(xi);function Ii(bt){return Oe(hi,bt)}var Di=Ii();Di.EXPAND_COLUMN=dt,Di.INTERNAL_HOOKS=Le,Di.Column=lr,Di.ColumnGroup=Ir,Di.Summary=vt;var $i=Di,no=ae(48911),Hi=xe(null),ai=xe(null);function ao(bt,wt,Yt){var dn=wt||1;return Yt[bt+dn]-(Yt[bt]||0)}function ki(bt){var wt=bt.rowInfo,Yt=bt.column,dn=bt.colIndex,In=bt.indent,Un=bt.index,tr=bt.component,Jn=bt.renderIndex,mr=bt.record,cr=bt.style,ii=bt.className,Mr=bt.inverse,Ur=bt.getHeight,Lr=Yt.render,Sr=Yt.dataIndex,Wi=Yt.className,mi=Yt.width,eo=oe(ai,["columnsOffset"]),co=eo.columnsOffset,qi=_t(wt,Yt,dn,In,Un),po=qi.key,Io=qi.fixedInfo,jo=qi.appendCellNode,Uo=qi.additionalCellProps,Da=Uo.style,oa=Uo.colSpan,ta=oa===void 0?1:oa,Zo=Uo.rowSpan,Ho=Zo===void 0?1:Zo,Ko=dn-1,yo=ao(Ko,ta,co),ho=ta>1?mi-yo:0,_o=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Da),cr),{},{flex:"0 0 ".concat(yo,"px"),width:"".concat(yo,"px"),marginRight:ho,pointerEvents:"auto"}),Xo=x.useMemo(function(){return Mr?Ho<=1:ta===0||Ho===0||Ho>1},[Ho,ta,Mr]);Xo?_o.visibility="hidden":Mr&&(_o.height=Ur==null?void 0:Ur(Ho));var na=Xo?function(){return null}:Lr,bo={};return(Ho===0||ta===0)&&(bo.rowSpan=1,bo.colSpan=1),x.createElement(Fn,(0,Pe.Z)({className:Ne()(Wi,ii),ellipsis:Yt.ellipsis,align:Yt.align,scope:Yt.rowScope,component:tr,prefixCls:wt.prefixCls,key:po,record:mr,index:Un,renderIndex:Jn,dataIndex:Sr,render:na,shouldCellUpdate:Yt.shouldCellUpdate},Io,{appendNode:jo,additionalProps:(0,Ct.Z)((0,Ct.Z)({},Uo),{},{style:_o},bo)}))}var So=ki,uo=["data","index","className","rowKey","style","extra","getHeight"],Do=x.forwardRef(function(bt,wt){var Yt=bt.data,dn=bt.index,In=bt.className,Un=bt.rowKey,tr=bt.style,Jn=bt.extra,mr=bt.getHeight,cr=(0,ee.Z)(bt,uo),ii=Yt.record,Mr=Yt.indent,Ur=Yt.index,Lr=oe(Je,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Sr=Lr.scrollX,Wi=Lr.flattenColumns,mi=Lr.prefixCls,eo=Lr.fixColumn,co=Lr.componentWidth,qi=oe(Hi,["getComponent"]),po=qi.getComponent,Io=Wt(ii,Un,dn,Mr),jo=po(["body","row"],"div"),Uo=po(["body","cell"],"div"),Da=Io.rowSupportExpand,oa=Io.expanded,ta=Io.rowProps,Zo=Io.expandedRowRender,Ho=Io.expandedRowClassName,Ko;if(Da&&oa){var yo=Zo(ii,dn,Mr+1,oa),ho=Ln(Ho,ii,dn,Mr),_o={};eo&&(_o={style:(0,ze.Z)({},"--virtual-width","".concat(co,"px"))});var Xo="".concat(mi,"-expanded-row-cell");Ko=x.createElement(jo,{className:Ne()("".concat(mi,"-expanded-row"),"".concat(mi,"-expanded-row-level-").concat(Mr+1),ho)},x.createElement(Fn,{component:Uo,prefixCls:mi,className:Ne()(Xo,(0,ze.Z)({},"".concat(Xo,"-fixed"),eo)),additionalProps:_o},yo))}var na=(0,Ct.Z)((0,Ct.Z)({},tr),{},{width:Sr});Jn&&(na.position="absolute",na.pointerEvents="none");var bo=x.createElement(jo,(0,Pe.Z)({},ta,cr,{"data-row-key":Un,ref:Da?null:wt,className:Ne()(In,"".concat(mi,"-row"),ta==null?void 0:ta.className,(0,ze.Z)({},"".concat(mi,"-row-extra"),Jn)),style:(0,Ct.Z)((0,Ct.Z)({},na),ta==null?void 0:ta.style)}),Wi.map(function(rs,Va){return x.createElement(So,{key:Va,component:Uo,rowInfo:Io,column:rs,colIndex:Va,indent:Mr,index:dn,renderIndex:Ur,record:ii,inverse:Jn,getHeight:mr})}));return Da?x.createElement("div",{ref:wt},bo,Ko):bo}),Co=Ke(Do),to=Co,Mo=x.forwardRef(function(bt,wt){var Yt=bt.data,dn=bt.onScroll,In=oe(Je,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Un=In.flattenColumns,tr=In.onColumnResize,Jn=In.getRowKey,mr=In.expandedKeys,cr=In.prefixCls,ii=In.childrenColumnName,Mr=In.scrollX,Ur=In.direction,Lr=oe(Hi),Sr=Lr.sticky,Wi=Lr.scrollY,mi=Lr.listItemHeight,eo=Lr.getComponent,co=Lr.onScroll,qi=x.useRef(),po=Xt(Yt,ii,mr,Jn),Io=x.useMemo(function(){var Ko=0;return Un.map(function(yo){var ho=yo.width,_o=yo.key;return Ko+=ho,[_o,ho,Ko]})},[Un]),jo=x.useMemo(function(){return Io.map(function(Ko){return Ko[2]})},[Io]);x.useEffect(function(){Io.forEach(function(Ko){var yo=(0,qe.Z)(Ko,2),ho=yo[0],_o=yo[1];tr(ho,_o)})},[Io]),x.useImperativeHandle(wt,function(){var Ko,yo={scrollTo:function(_o){var Xo;(Xo=qi.current)===null||Xo===void 0||Xo.scrollTo(_o)},nativeElement:(Ko=qi.current)===null||Ko===void 0?void 0:Ko.nativeElement};return Object.defineProperty(yo,"scrollLeft",{get:function(){var _o;return((_o=qi.current)===null||_o===void 0?void 0:_o.getScrollInfo().x)||0},set:function(_o){var Xo;(Xo=qi.current)===null||Xo===void 0||Xo.scrollTo({left:_o})}}),yo});var Uo=function(yo,ho){var _o,Xo=(_o=po[ho])===null||_o===void 0?void 0:_o.record,na=yo.onCell;if(na){var bo,rs=na(Xo,ho);return(bo=rs==null?void 0:rs.rowSpan)!==null&&bo!==void 0?bo:1}return 1},Da=function(yo){var ho=yo.start,_o=yo.end,Xo=yo.getSize,na=yo.offsetY;if(_o<0)return null;for(var bo=Un.filter(function(ra){return Uo(ra,ho)===0}),rs=ho,Va=function(Ca){if(bo=bo.filter(function(Yo){return Uo(Yo,Ca)===0}),!bo.length)return rs=Ca,1},kl=ho;kl>=0&&!Va(kl);kl-=1);for(var xl=Un.filter(function(ra){return Uo(ra,_o)!==1}),al=_o,Ao=function(Ca){if(xl=xl.filter(function(Yo){return Uo(Yo,Ca)!==1}),!xl.length)return al=Math.max(Ca-1,_o),1},Vl=_o;Vl<po.length&&!Ao(Vl);Vl+=1);for(var ds=[],us=function(Ca){var Yo=po[Ca];if(!Yo)return 1;Un.some(function(To){return Uo(To,Ca)>1})&&ds.push(Ca)},nl=rs;nl<=al;nl+=1)us(nl);var uu=ds.map(function(ra){var Ca=po[ra],Yo=Jn(Ca.record,ra),To=function(Gs){var Ks=ra+Gs-1,sl=Jn(po[Ks].record,Ks),hu=Xo(Yo,sl);return hu.bottom-hu.top},vs=Xo(Yo);return x.createElement(to,{key:ra,data:Ca,rowKey:Yo,index:ra,style:{top:-na+vs.top},extra:!0,getHeight:To})});return uu},oa=x.useMemo(function(){return{columnsOffset:jo}},[jo]),ta="".concat(cr,"-tbody"),Zo=eo(["body","wrapper"]),Ho={};return Sr&&(Ho.position="sticky",Ho.bottom=0,(0,ht.Z)(Sr)==="object"&&Sr.offsetScroll&&(Ho.bottom=Sr.offsetScroll)),x.createElement(ai.Provider,{value:oa},x.createElement(no.Z,{fullHeight:!1,ref:qi,prefixCls:"".concat(ta,"-virtual"),styles:{horizontalScrollBar:Ho},className:ta,height:Wi,itemHeight:mi||24,data:po,itemKey:function(yo){return Jn(yo.record)},component:Zo,scrollWidth:Mr,direction:Ur,onVirtualScroll:function(yo){var ho,_o=yo.x;dn({currentTarget:(ho=qi.current)===null||ho===void 0?void 0:ho.nativeElement,scrollLeft:_o})},onScroll:co,extraRender:Da},function(Ko,yo,ho){var _o=Jn(Ko.record,yo);return x.createElement(to,{data:Ko,rowKey:_o,index:yo,style:ho.style})}))}),Go=Ke(Mo),zo=Go,No=function(wt,Yt){var dn=Yt.ref,In=Yt.onScroll;return x.createElement(zo,{ref:dn,data:wt,onScroll:In})};function zi(bt,wt){var Yt=bt.data,dn=bt.columns,In=bt.scroll,Un=bt.sticky,tr=bt.prefixCls,Jn=tr===void 0?Kr:tr,mr=bt.className,cr=bt.listItemHeight,ii=bt.components,Mr=bt.onScroll,Ur=In||{},Lr=Ur.x,Sr=Ur.y;typeof Lr!="number"&&(Lr=1),typeof Sr!="number"&&(Sr=500);var Wi=(0,Tt.zX)(function(co,qi){return(0,Ot.Z)(ii,co)||qi}),mi=(0,Tt.zX)(Mr),eo=x.useMemo(function(){return{sticky:Un,scrollY:Sr,listItemHeight:cr,getComponent:Wi,onScroll:mi}},[Un,Sr,cr,Wi,mi]);return x.createElement(Hi.Provider,{value:eo},x.createElement($i,(0,Pe.Z)({},bt,{className:Ne()(mr,"".concat(Jn,"-virtual")),scroll:(0,Ct.Z)((0,Ct.Z)({},In),{},{x:Lr}),components:(0,Ct.Z)((0,Ct.Z)({},ii),{},{body:Yt!=null&&Yt.length?No:void 0}),columns:dn,internalHooks:Le,tailor:!0,ref:wt})))}var Vt=x.forwardRef(zi);function $r(bt){return Oe(Vt,bt)}var ui=$r(),Zr=null,ro=bt=>null,Yr=bt=>null,Bi=ae(84105),_i=ae(82661),Ro=ae(34643),ya=ae(34061),$o=ae(18929);function Ea(bt){const[wt,Yt]=(0,x.useState)(null);return[(0,x.useCallback)((Un,tr,Jn)=>{const mr=wt!=null?wt:Un,cr=Math.min(mr||0,Un),ii=Math.max(mr||0,Un),Mr=tr.slice(cr,ii+1).map(Sr=>bt(Sr)),Ur=Mr.some(Sr=>!Jn.has(Sr)),Lr=[];return Mr.forEach(Sr=>{Ur?(Jn.has(Sr)||Lr.push(Sr),Jn.add(Sr)):(Jn.delete(Sr),Lr.push(Sr))}),Yt(Ur?ii:null),Lr},[wt]),Un=>{Yt(Un)}]}var da=ae(32383),wa=ae(62673),Wr=ae(75727),Ji=ae(47889);const xo={},ba="SELECT_ALL",Xa="SELECT_INVERT",ns="SELECT_NONE",Ta=[],Za=(bt,wt)=>{let Yt=[];return(wt||[]).forEach(dn=>{Yt.push(dn),dn&&typeof dn=="object"&&bt in dn&&(Yt=[].concat((0,dr.Z)(Yt),(0,dr.Z)(Za(bt,dn[bt]))))}),Yt};var vo=(bt,wt)=>{const{preserveSelectedRowKeys:Yt,selectedRowKeys:dn,defaultSelectedRowKeys:In,getCheckboxProps:Un,onChange:tr,onSelect:Jn,onSelectAll:mr,onSelectInvert:cr,onSelectNone:ii,onSelectMultiple:Mr,columnWidth:Ur,type:Lr,selections:Sr,fixed:Wi,renderCell:mi,hideSelectAll:eo,checkStrictly:co=!0}=wt||{},{prefixCls:qi,data:po,pageData:Io,getRecordByKey:jo,getRowKey:Uo,expandType:Da,childrenColumnName:oa,locale:ta,getPopupContainer:Zo}=bt,Ho=(0,da.ln)("Table"),[Ko,yo]=Ea(ra=>ra),[ho,_o]=(0,$o.Z)(dn||In||Ta,{value:dn}),Xo=x.useRef(new Map),na=(0,x.useCallback)(ra=>{if(Yt){const Ca=new Map;ra.forEach(Yo=>{let To=jo(Yo);!To&&Xo.current.has(Yo)&&(To=Xo.current.get(Yo)),Ca.set(Yo,To)}),Xo.current=Ca}},[jo,Yt]);x.useEffect(()=>{na(ho)},[ho]);const bo=(0,x.useMemo)(()=>Za(oa,Io),[oa,Io]),{keyEntities:rs}=(0,x.useMemo)(()=>{if(co)return{keyEntities:null};let ra=po;if(Yt){const Ca=new Set(bo.map((To,vs)=>Uo(To,vs))),Yo=Array.from(Xo.current).reduce((To,vs)=>{let[Os,Gs]=vs;return Ca.has(Os)?To:To.concat(Gs)},[]);ra=[].concat((0,dr.Z)(ra),(0,dr.Z)(Yo))}return(0,ya.I8)(ra,{externalGetKey:Uo,childrenPropName:oa})},[po,Uo,co,oa,Yt,bo]),Va=(0,x.useMemo)(()=>{const ra=new Map;return bo.forEach((Ca,Yo)=>{const To=Uo(Ca,Yo),vs=(Un?Un(Ca):null)||{};ra.set(To,vs)}),ra},[bo,Uo,Un]),kl=(0,x.useCallback)(ra=>{const Ca=Uo(ra);let Yo;return Va.has(Ca)?Yo=Va.get(Uo(ra)):Yo=Un?Un(ra):void 0,!!(Yo!=null&&Yo.disabled)},[Va,Uo]),[xl,al]=(0,x.useMemo)(()=>{if(co)return[ho||[],[]];const{checkedKeys:ra,halfCheckedKeys:Ca}=(0,Ro.S)(ho,!0,rs,kl);return[ra||[],Ca]},[ho,co,rs,kl]),Ao=(0,x.useMemo)(()=>{const ra=Lr==="radio"?xl.slice(0,1):xl;return new Set(ra)},[xl,Lr]),Vl=(0,x.useMemo)(()=>Lr==="radio"?new Set:new Set(al),[al,Lr]);x.useEffect(()=>{wt||_o(Ta)},[!!wt]);const ds=(0,x.useCallback)((ra,Ca)=>{let Yo,To;na(ra),Yt?(Yo=ra,To=ra.map(vs=>Xo.current.get(vs))):(Yo=[],To=[],ra.forEach(vs=>{const Os=jo(vs);Os!==void 0&&(Yo.push(vs),To.push(Os))})),_o(Yo),tr==null||tr(Yo,To,{type:Ca})},[_o,jo,tr,Yt]),us=(0,x.useCallback)((ra,Ca,Yo,To)=>{if(Jn){const vs=Yo.map(Os=>jo(Os));Jn(jo(ra),Ca,vs,To)}ds(Yo,"single")},[Jn,jo,ds]),nl=(0,x.useMemo)(()=>!Sr||eo?null:(Sr===!0?[ba,Xa,ns]:Sr).map(Ca=>Ca===ba?{key:"all",text:ta.selectionAll,onSelect(){ds(po.map((Yo,To)=>Uo(Yo,To)).filter(Yo=>{const To=Va.get(Yo);return!(To!=null&&To.disabled)||Ao.has(Yo)}),"all")}}:Ca===Xa?{key:"invert",text:ta.selectInvert,onSelect(){const Yo=new Set(Ao);Io.forEach((vs,Os)=>{const Gs=Uo(vs,Os),Ks=Va.get(Gs);Ks!=null&&Ks.disabled||(Yo.has(Gs)?Yo.delete(Gs):Yo.add(Gs))});const To=Array.from(Yo);cr&&(Ho.deprecated(!1,"onSelectInvert","onChange"),cr(To)),ds(To,"invert")}}:Ca===ns?{key:"none",text:ta.selectNone,onSelect(){ii==null||ii(),ds(Array.from(Ao).filter(Yo=>{const To=Va.get(Yo);return To==null?void 0:To.disabled}),"none")}}:Ca).map(Ca=>Object.assign(Object.assign({},Ca),{onSelect:function(){for(var Yo,To,vs=arguments.length,Os=new Array(vs),Gs=0;Gs<vs;Gs++)Os[Gs]=arguments[Gs];(To=Ca.onSelect)===null||To===void 0||(Yo=To).call.apply(Yo,[Ca].concat(Os)),yo(null)}})),[Sr,Ao,Io,Uo,cr,ds]);return[(0,x.useCallback)(ra=>{var Ca;if(!wt)return ra.filter(Cs=>Cs!==xo);let Yo=(0,dr.Z)(ra);const To=new Set(Ao),vs=bo.map(Uo).filter(Cs=>!Va.get(Cs).disabled),Os=vs.every(Cs=>To.has(Cs)),Gs=vs.some(Cs=>To.has(Cs)),Ks=()=>{const Cs=[];Os?vs.forEach(ul=>{To.delete(ul),Cs.push(ul)}):vs.forEach(ul=>{To.has(ul)||(To.add(ul),Cs.push(ul))});const ll=Array.from(To);mr==null||mr(!Os,ll.map(ul=>jo(ul)),Cs.map(ul=>jo(ul))),ds(ll,"all"),yo(null)};let sl,hu;if(Lr!=="radio"){let Cs;if(nl){const xs={getPopupContainer:Zo,items:nl.map((vl,Ps)=>{const{key:yl,text:Gl,onSelect:ku}=vl;return{key:yl!=null?yl:Ps,onClick:()=>{ku==null||ku(vs)},label:Gl}})};Cs=x.createElement("div",{className:`${qi}-selection-extra`},x.createElement(Wr.Z,{menu:xs,getPopupContainer:Zo},x.createElement("span",null,x.createElement(Bi.Z,null))))}const ll=bo.map((xs,vl)=>{const Ps=Uo(xs,vl),yl=Va.get(Ps)||{};return Object.assign({checked:To.has(Ps)},yl)}).filter(xs=>{let{disabled:vl}=xs;return vl}),ul=!!ll.length&&ll.length===bo.length,cu=ul&&ll.every(xs=>{let{checked:vl}=xs;return vl}),Ul=ul&&ll.some(xs=>{let{checked:vl}=xs;return vl});hu=x.createElement(wa.default,{checked:ul?cu:!!bo.length&&Os,indeterminate:ul?!cu&&Ul:!Os&&Gs,onChange:Ks,disabled:bo.length===0||ul,"aria-label":Cs?"Custom selection":"Select all",skipGroup:!0}),sl=!eo&&x.createElement("div",{className:`${qi}-selection`},hu,Cs)}let aa;Lr==="radio"?aa=(Cs,ll,ul)=>{const cu=Uo(ll,ul),Ul=To.has(cu),xs=Va.get(cu);return{node:x.createElement(Ji.ZP,Object.assign({},xs,{checked:Ul,onClick:vl=>{var Ps;vl.stopPropagation(),(Ps=xs==null?void 0:xs.onClick)===null||Ps===void 0||Ps.call(xs,vl)},onChange:vl=>{var Ps;To.has(cu)||us(cu,!0,[cu],vl.nativeEvent),(Ps=xs==null?void 0:xs.onChange)===null||Ps===void 0||Ps.call(xs,vl)}})),checked:Ul}}:aa=(Cs,ll,ul)=>{var cu;const Ul=Uo(ll,ul),xs=To.has(Ul),vl=Vl.has(Ul),Ps=Va.get(Ul);let yl;return Da==="nest"?yl=vl:yl=(cu=Ps==null?void 0:Ps.indeterminate)!==null&&cu!==void 0?cu:vl,{node:x.createElement(wa.default,Object.assign({},Ps,{indeterminate:yl,checked:xs,skipGroup:!0,onClick:Gl=>{var ku;Gl.stopPropagation(),(ku=Ps==null?void 0:Ps.onClick)===null||ku===void 0||ku.call(Ps,Gl)},onChange:Gl=>{var ku;const{nativeEvent:Mu}=Gl,{shiftKey:$c}=Mu,cl=vs.findIndex(_u=>_u===Ul),Dd=xl.some(_u=>vs.includes(_u));if($c&&co&&Dd){const _u=Ko(cl,vs,To),qu=Array.from(To);Mr==null||Mr(!xs,qu.map(Qu=>jo(Qu)),_u.map(Qu=>jo(Qu))),ds(qu,"multiple")}else{const _u=xl;if(co){const qu=xs?(0,_i._5)(_u,Ul):(0,_i.L0)(_u,Ul);us(Ul,!xs,qu,Mu)}else{const qu=(0,Ro.S)([].concat((0,dr.Z)(_u),[Ul]),!0,rs,kl),{checkedKeys:Qu,halfCheckedKeys:ec}=qu;let Al=Qu;if(xs){const Cc=new Set(Qu);Cc.delete(Ul),Al=(0,Ro.S)(Array.from(Cc),{checked:!1,halfCheckedKeys:ec},rs,kl).checkedKeys}us(Ul,!xs,Al,Mu)}}yo(xs?null:cl),(ku=Ps==null?void 0:Ps.onChange)===null||ku===void 0||ku.call(Ps,Gl)}})),checked:xs}};const ea=(Cs,ll,ul)=>{const{node:cu,checked:Ul}=aa(Cs,ll,ul);return mi?mi(Ul,ll,ul,cu):cu};if(!Yo.includes(xo))if(Yo.findIndex(Cs=>{var ll;return((ll=Cs[pr])===null||ll===void 0?void 0:ll.columnType)==="EXPAND_COLUMN"})===0){const[Cs,...ll]=Yo;Yo=[Cs,xo].concat((0,dr.Z)(ll))}else Yo=[xo].concat((0,dr.Z)(Yo));const Is=Yo.indexOf(xo);Yo=Yo.filter((Cs,ll)=>Cs!==xo||ll===Is);const Js=Yo[Is-1],Xs=Yo[Is+1];let pu=Wi;pu===void 0&&((Xs==null?void 0:Xs.fixed)!==void 0?pu=Xs.fixed:(Js==null?void 0:Js.fixed)!==void 0&&(pu=Js.fixed)),pu&&Js&&((Ca=Js[pr])===null||Ca===void 0?void 0:Ca.columnType)==="EXPAND_COLUMN"&&Js.fixed===void 0&&(Js.fixed=pu);const Ml=Ne()(`${qi}-selection-col`,{[`${qi}-selection-col-with-dropdown`]:Sr&&Lr==="checkbox"}),Ac=()=>wt!=null&&wt.columnTitle?typeof wt.columnTitle=="function"?wt.columnTitle(hu):wt.columnTitle:sl,Bl={fixed:pu,width:Ur,className:`${qi}-selection-column`,title:Ac(),render:ea,onCell:wt.onCell,[pr]:{className:Ml}};return Yo.map(Cs=>Cs===xo?Bl:Cs)},[Uo,bo,wt,xl,Ao,Vl,Ur,nl,Da,Va,Mr,us,kl]),Ao]},qo=ae(2738);function ja(bt,wt){return bt._antProxy=bt._antProxy||{},Object.keys(wt).forEach(Yt=>{if(!(Yt in bt._antProxy)){const dn=bt[Yt];bt._antProxy[Yt]=dn,bt[Yt]=wt[Yt]}}),bt}function ls(bt,wt){return(0,x.useImperativeHandle)(bt,()=>{const Yt=wt(),{nativeElement:dn}=Yt;return typeof Proxy!="undefined"?new Proxy(dn,{get(In,Un){return Yt[Un]?Yt[Un]:Reflect.get(In,Un)}}):ja(dn,Yt)})}var Fs=ae(83010),il=ae(48755),tu=ae(38406),Au=ae(83397),tl=ae(31756),fl=ae(13783),wu=ae(85981),Lu=ae(31709),hl=ae(29787),vc=ae(57700);function Du(bt){return wt=>{const{prefixCls:Yt,onExpand:dn,record:In,expanded:Un,expandable:tr}=wt,Jn=`${Yt}-row-expand-icon`;return x.createElement("button",{type:"button",onClick:mr=>{dn(In,mr),mr.stopPropagation()},className:Ne()(Jn,{[`${Jn}-spaced`]:!tr,[`${Jn}-expanded`]:tr&&Un,[`${Jn}-collapsed`]:tr&&!Un}),"aria-label":Un?bt.collapse:bt.expand,"aria-expanded":Un})}}var fa=Du;function La(bt){return(Yt,dn)=>{const In=Yt.querySelector(`.${bt}-container`);let Un=dn;if(In){const tr=getComputedStyle(In),Jn=parseInt(tr.borderLeftWidth,10),mr=parseInt(tr.borderRightWidth,10);Un=dn-Jn-mr}return Un}}const ha=(bt,wt)=>"key"in bt&&bt.key!==void 0&&bt.key!==null?bt.key:bt.dataIndex?Array.isArray(bt.dataIndex)?bt.dataIndex.join("."):bt.dataIndex:wt;function ga(bt,wt){return wt?`${wt}-${bt}`:`${bt}`}const es=(bt,wt)=>typeof bt=="function"?bt(wt):bt,Ya=(bt,wt)=>{const Yt=es(bt,wt);return Object.prototype.toString.call(Yt)==="[object Object]"?"":Yt};var $a={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"},Kl=$a,su=ae(7657),Ol=function(wt,Yt){return x.createElement(su.Z,(0,Pe.Z)({},wt,{ref:Yt,icon:Kl}))},bu=x.forwardRef(Ol),du=bu,Gu=ae(9981),Qi=ae(40192);function Bo(bt){const wt=x.useRef(bt),Yt=(0,Qi.Z)();return[()=>wt.current,dn=>{wt.current=dn,Yt()}]}var Wa=ae(7939),ol=ae(584),kc=ae(93041),nu=ae(78857),Cu=ae(18287),ps=ae(47472),oc=ae(49397),Vc=bt=>{const{value:wt,filterSearch:Yt,tablePrefixCls:dn,locale:In,onChange:Un}=bt;return Yt?x.createElement("div",{className:`${dn}-filter-dropdown-search`},x.createElement(oc.Z,{prefix:x.createElement(ps.Z,null),placeholder:In.filterSearchPlaceholder,onChange:Un,value:wt,htmlSize:1,className:`${dn}-filter-dropdown-search-input`})):null},ka=ae(10228);const Xu=bt=>{const{keyCode:wt}=bt;wt===ka.Z.ENTER&&bt.stopPropagation()};var Nu=x.forwardRef((bt,wt)=>x.createElement("div",{className:bt.className,onClick:Yt=>Yt.stopPropagation(),onKeyDown:Xu,ref:wt},bt.children));function Ns(bt){let wt=[];return(bt||[]).forEach(Yt=>{let{value:dn,children:In}=Yt;wt.push(dn),In&&(wt=[].concat((0,dr.Z)(wt),(0,dr.Z)(Ns(In))))}),wt}function Yu(bt){return bt.some(wt=>{let{children:Yt}=wt;return Yt})}function Pl(bt,wt){return typeof wt=="string"||typeof wt=="number"?wt==null?void 0:wt.toString().toLowerCase().includes(bt.trim().toLowerCase()):!1}function ml(bt){let{filters:wt,prefixCls:Yt,filteredKeys:dn,filterMultiple:In,searchValue:Un,filterSearch:tr}=bt;return wt.map((Jn,mr)=>{const cr=String(Jn.value);if(Jn.children)return{key:cr||mr,label:Jn.text,popupClassName:`${Yt}-dropdown-submenu`,children:ml({filters:Jn.children,prefixCls:Yt,filteredKeys:dn,filterMultiple:In,searchValue:Un,filterSearch:tr})};const ii=In?wa.default:Ji.ZP,Mr={key:Jn.value!==void 0?cr:mr,label:x.createElement(x.Fragment,null,x.createElement(ii,{checked:dn.includes(cr)}),x.createElement("span",null,Jn.text))};return Un.trim()?typeof tr=="function"?tr(Un,Jn)?Mr:null:Pl(Un,Jn.text)?Mr:null:Mr})}function Tl(bt){return bt||[]}var $u=bt=>{var wt,Yt,dn,In;const{tablePrefixCls:Un,prefixCls:tr,column:Jn,dropdownPrefixCls:mr,columnKey:cr,filterOnClose:ii,filterMultiple:Mr,filterMode:Ur="menu",filterSearch:Lr=!1,filterState:Sr,triggerFilter:Wi,locale:mi,children:eo,getPopupContainer:co,rootClassName:qi}=bt,{filterResetToDefaultFilteredValue:po,defaultFilteredValue:Io,filterDropdownProps:jo={},filterDropdownOpen:Uo,filterDropdownVisible:Da,onFilterDropdownVisibleChange:oa,onFilterDropdownOpenChange:ta}=Jn,[Zo,Ho]=x.useState(!1),Ko=!!(Sr&&(!((wt=Sr.filteredKeys)===null||wt===void 0)&&wt.length||Sr.forceFiltered)),yo=aa=>{var ea;Ho(aa),(ea=jo.onOpenChange)===null||ea===void 0||ea.call(jo,aa),ta==null||ta(aa),oa==null||oa(aa)},ho=(In=(dn=(Yt=jo.open)!==null&&Yt!==void 0?Yt:Uo)!==null&&dn!==void 0?dn:Da)!==null&&In!==void 0?In:Zo,_o=Sr==null?void 0:Sr.filteredKeys,[Xo,na]=Bo(Tl(_o)),bo=aa=>{let{selectedKeys:ea}=aa;na(ea)},rs=(aa,ea)=>{let{node:Is,checked:Js}=ea;bo(Mr?{selectedKeys:aa}:{selectedKeys:Js&&Is.key?[Is.key]:[]})};x.useEffect(()=>{Zo&&bo({selectedKeys:Tl(_o)})},[_o]);const[Va,kl]=x.useState([]),xl=aa=>{kl(aa)},[al,Ao]=x.useState(""),Vl=aa=>{const{value:ea}=aa.target;Ao(ea)};x.useEffect(()=>{Zo||Ao("")},[Zo]);const ds=aa=>{const ea=aa!=null&&aa.length?aa:null;if(ea===null&&(!Sr||!Sr.filteredKeys)||(0,Me.Z)(ea,Sr==null?void 0:Sr.filteredKeys,!0))return null;Wi({column:Jn,key:cr,filteredKeys:ea})},us=()=>{yo(!1),ds(Xo())},nl=function(){let{confirm:aa,closeDropdown:ea}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};aa&&ds([]),ea&&yo(!1),Ao(""),na(po?(Io||[]).map(Is=>String(Is)):[])},uu=function(){let{closeDropdown:aa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};aa&&yo(!1),ds(Xo())},ra=(aa,ea)=>{ea.source==="trigger"&&(aa&&_o!==void 0&&na(Tl(_o)),yo(aa),!aa&&!Jn.filterDropdown&&ii&&us())},Ca=Ne()({[`${mr}-menu-without-submenu`]:!Yu(Jn.filters||[])}),Yo=aa=>{if(aa.target.checked){const ea=Ns(Jn==null?void 0:Jn.filters).map(Is=>String(Is));na(ea)}else na([])},To=aa=>{let{filters:ea}=aa;return(ea||[]).map((Is,Js)=>{const Xs=String(Is.value),pu={title:Is.text,key:Is.value!==void 0?Xs:String(Js)};return Is.children&&(pu.children=To({filters:Is.children})),pu})},vs=aa=>{var ea;return Object.assign(Object.assign({},aa),{text:aa.title,value:aa.key,children:((ea=aa.children)===null||ea===void 0?void 0:ea.map(Is=>vs(Is)))||[]})};let Os;const{direction:Gs,renderEmpty:Ks}=x.useContext(il.E_);if(typeof Jn.filterDropdown=="function")Os=Jn.filterDropdown({prefixCls:`${mr}-custom`,setSelectedKeys:aa=>bo({selectedKeys:aa}),selectedKeys:Xo(),confirm:uu,clearFilters:nl,filters:Jn.filters,visible:ho,close:()=>{yo(!1)}});else if(Jn.filterDropdown)Os=Jn.filterDropdown;else{const aa=Xo()||[],ea=()=>{var Js,Xs;const pu=(Js=Ks==null?void 0:Ks("Table.filter"))!==null&&Js!==void 0?Js:x.createElement(ol.Z,{image:ol.Z.PRESENTED_IMAGE_SIMPLE,description:mi.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Jn.filters||[]).length===0)return pu;if(Ur==="tree")return x.createElement(x.Fragment,null,x.createElement(Vc,{filterSearch:Lr,value:al,onChange:Vl,tablePrefixCls:Un,locale:mi}),x.createElement("div",{className:`${Un}-filter-dropdown-tree`},Mr?x.createElement(wa.default,{checked:aa.length===Ns(Jn.filters).length,indeterminate:aa.length>0&&aa.length<Ns(Jn.filters).length,className:`${Un}-filter-dropdown-checkall`,onChange:Yo},(Xs=mi==null?void 0:mi.filterCheckall)!==null&&Xs!==void 0?Xs:mi==null?void 0:mi.filterCheckAll):null,x.createElement(Cu.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Mr,checkStrictly:!Mr,className:`${mr}-menu`,onCheck:rs,checkedKeys:aa,selectedKeys:aa,showIcon:!1,treeData:To({filters:Jn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:al.trim()?Bl=>typeof Lr=="function"?Lr(al,vs(Bl)):Pl(al,Bl.title):void 0})));const Ml=ml({filters:Jn.filters||[],filterSearch:Lr,prefixCls:tr,filteredKeys:Xo(),filterMultiple:Mr,searchValue:al}),Ac=Ml.every(Bl=>Bl===null);return x.createElement(x.Fragment,null,x.createElement(Vc,{filterSearch:Lr,value:al,onChange:Vl,tablePrefixCls:Un,locale:mi}),Ac?pu:x.createElement(kc.default,{selectable:!0,multiple:Mr,prefixCls:`${mr}-menu`,className:Ca,onSelect:bo,onDeselect:bo,selectedKeys:aa,getPopupContainer:co,openKeys:Va,onOpenChange:xl,items:Ml}))},Is=()=>po?(0,Me.Z)((Io||[]).map(Js=>String(Js)),aa,!0):aa.length===0;Os=x.createElement(x.Fragment,null,ea(),x.createElement("div",{className:`${tr}-dropdown-btns`},x.createElement(Wa.ZP,{type:"link",size:"small",disabled:Is(),onClick:()=>nl()},mi.filterReset),x.createElement(Wa.ZP,{type:"primary",size:"small",onClick:us},mi.filterConfirm)))}Jn.filterDropdown&&(Os=x.createElement(nu.J,{selectable:void 0},Os)),Os=x.createElement(Nu,{className:`${tr}-dropdown`},Os);const sl=()=>{let aa;return typeof Jn.filterIcon=="function"?aa=Jn.filterIcon(Ko):Jn.filterIcon?aa=Jn.filterIcon:aa=x.createElement(du,null),x.createElement("span",{role:"button",tabIndex:-1,className:Ne()(`${tr}-trigger`,{active:Ko}),onClick:ea=>{ea.stopPropagation()}},aa)},hu=(0,Gu.Z)({trigger:["click"],placement:Gs==="rtl"?"bottomLeft":"bottomRight",children:sl(),getPopupContainer:co},Object.assign(Object.assign({},jo),{rootClassName:Ne()(qi,jo.rootClassName),open:ho,onOpenChange:ra,dropdownRender:()=>typeof(jo==null?void 0:jo.dropdownRender)=="function"?jo.dropdownRender(Os):Os}));return x.createElement("div",{className:`${tr}-column`},x.createElement("span",{className:`${Un}-column-title`},eo),x.createElement(Wr.Z,Object.assign({},hu)))};const ru=(bt,wt,Yt)=>{let dn=[];return(bt||[]).forEach((In,Un)=>{var tr;const Jn=ga(Un,Yt);if(In.filters||"filterDropdown"in In||"onFilter"in In)if("filteredValue"in In){let mr=In.filteredValue;"filterDropdown"in In||(mr=(tr=mr==null?void 0:mr.map(String))!==null&&tr!==void 0?tr:mr),dn.push({column:In,key:ha(In,Jn),filteredKeys:mr,forceFiltered:In.filtered})}else dn.push({column:In,key:ha(In,Jn),filteredKeys:wt&&In.defaultFilteredValue?In.defaultFilteredValue:void 0,forceFiltered:In.filtered});"children"in In&&(dn=[].concat((0,dr.Z)(dn),(0,dr.Z)(ru(In.children,wt,Jn))))}),dn};function fu(bt,wt,Yt,dn,In,Un,tr,Jn,mr){return Yt.map((cr,ii)=>{const Mr=ga(ii,Jn),{filterOnClose:Ur=!0,filterMultiple:Lr=!0,filterMode:Sr,filterSearch:Wi}=cr;let mi=cr;if(mi.filters||mi.filterDropdown){const eo=ha(mi,Mr),co=dn.find(qi=>{let{key:po}=qi;return eo===po});mi=Object.assign(Object.assign({},mi),{title:qi=>x.createElement($u,{tablePrefixCls:bt,prefixCls:`${bt}-filter`,dropdownPrefixCls:wt,column:mi,columnKey:eo,filterState:co,filterOnClose:Ur,filterMultiple:Lr,filterMode:Sr,filterSearch:Wi,triggerFilter:Un,locale:In,getPopupContainer:tr,rootClassName:mr},es(cr.title,qi))})}return"children"in mi&&(mi=Object.assign(Object.assign({},mi),{children:fu(bt,wt,mi.children,dn,In,Un,tr,Mr,mr)})),mi})}const Fa=bt=>{const wt={};return bt.forEach(Yt=>{let{key:dn,filteredKeys:In,column:Un}=Yt;const tr=dn,{filters:Jn,filterDropdown:mr}=Un;if(mr)wt[tr]=In||null;else if(Array.isArray(In)){const cr=Ns(Jn);wt[tr]=cr.filter(ii=>In.includes(String(ii)))}else wt[tr]=null}),wt},Ma=(bt,wt,Yt)=>wt.reduce((In,Un)=>{const{column:{onFilter:tr,filters:Jn},filteredKeys:mr}=Un;return tr&&mr&&mr.length?In.map(cr=>Object.assign({},cr)).filter(cr=>mr.some(ii=>{const Mr=Ns(Jn),Ur=Mr.findIndex(Sr=>String(Sr)===String(ii)),Lr=Ur!==-1?Mr[Ur]:ii;return cr[Yt]&&(cr[Yt]=Ma(cr[Yt],wt,Yt)),tr(Lr,cr)})):In},bt),bs=bt=>bt.flatMap(wt=>"children"in wt?[wt].concat((0,dr.Z)(bs(wt.children||[]))):[wt]);var Zl=bt=>{const{prefixCls:wt,dropdownPrefixCls:Yt,mergedColumns:dn,onFilterChange:In,getPopupContainer:Un,locale:tr,rootClassName:Jn}=bt,mr=(0,da.ln)("Table"),cr=x.useMemo(()=>bs(dn||[]),[dn]),[ii,Mr]=x.useState(()=>ru(cr,!0)),Ur=x.useMemo(()=>{const mi=ru(cr,!1);if(mi.length===0)return mi;let eo=!0,co=!0;if(mi.forEach(qi=>{let{filteredKeys:po}=qi;po!==void 0?eo=!1:co=!1}),eo){const qi=(cr||[]).map((po,Io)=>ha(po,ga(Io)));return ii.filter(po=>{let{key:Io}=po;return qi.includes(Io)}).map(po=>{const Io=cr[qi.findIndex(jo=>jo===po.key)];return Object.assign(Object.assign({},po),{column:Object.assign(Object.assign({},po.column),Io),forceFiltered:Io.filtered})})}return mi},[cr,ii]),Lr=x.useMemo(()=>Fa(Ur),[Ur]),Sr=mi=>{const eo=Ur.filter(co=>{let{key:qi}=co;return qi!==mi.key});eo.push(mi),Mr(eo),In(Fa(eo),eo)};return[mi=>fu(wt,Yt,mi,Ur,tr,Sr,Un,void 0,Jn),Ur,Lr]},Gc=(bt,wt,Yt)=>{const dn=x.useRef({});function In(Un){var tr;if(!dn.current||dn.current.data!==bt||dn.current.childrenColumnName!==wt||dn.current.getRowKey!==Yt){let mr=function(cr){cr.forEach((ii,Mr)=>{const Ur=Yt(ii,Mr);Jn.set(Ur,ii),ii&&typeof ii=="object"&&wt in ii&&mr(ii[wt]||[])})};const Jn=new Map;mr(bt),dn.current={data:bt,childrenColumnName:wt,kvMap:Jn,getRowKey:Yt}}return(tr=dn.current.kvMap)===null||tr===void 0?void 0:tr.get(Un)}return[In]},wc=function(bt,wt){var Yt={};for(var dn in bt)Object.prototype.hasOwnProperty.call(bt,dn)&&wt.indexOf(dn)<0&&(Yt[dn]=bt[dn]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,dn=Object.getOwnPropertySymbols(bt);In<dn.length;In++)wt.indexOf(dn[In])<0&&Object.prototype.propertyIsEnumerable.call(bt,dn[In])&&(Yt[dn[In]]=bt[dn[In]]);return Yt};const pA=10;function Wl(bt,wt){const Yt={current:bt.current,pageSize:bt.pageSize};return Object.keys(wt&&typeof wt=="object"?wt:{}).forEach(In=>{const Un=bt[In];typeof Un!="function"&&(Yt[In]=Un)}),Yt}function bc(bt,wt,Yt){const dn=Yt&&typeof Yt=="object"?Yt:{},{total:In=0}=dn,Un=wc(dn,["total"]),[tr,Jn]=(0,x.useState)(()=>({current:"defaultCurrent"in Un?Un.defaultCurrent:1,pageSize:"defaultPageSize"in Un?Un.defaultPageSize:pA})),mr=(0,Gu.Z)(tr,Un,{total:In>0?In:bt}),cr=Math.ceil((In||bt)/mr.pageSize);mr.current>cr&&(mr.current=cr||1);const ii=(Ur,Lr)=>{Jn({current:Ur!=null?Ur:1,pageSize:Lr||mr.pageSize})},Mr=(Ur,Lr)=>{var Sr;Yt&&((Sr=Yt.onChange)===null||Sr===void 0||Sr.call(Yt,Ur,Lr)),ii(Ur,Lr),wt(Ur,Lr||(mr==null?void 0:mr.pageSize))};return Yt===!1?[{},()=>{}]:[Object.assign(Object.assign({},mr),{onChange:Mr}),ii]}var iA=bc,oA=ae(89489),Ed=ae(59477),Jf=ae(25399);const nd="ascend",PA="descend",gA=bt=>typeof bt.sorter=="object"&&typeof bt.sorter.multiple=="number"?bt.sorter.multiple:!1,Ou=bt=>typeof bt=="function"?bt:bt&&typeof bt=="object"&&bt.compare?bt.compare:!1,TA=(bt,wt)=>wt?bt[bt.indexOf(wt)+1]:bt[0],aA=(bt,wt,Yt)=>{let dn=[];const In=(Un,tr)=>{dn.push({column:Un,key:ha(Un,tr),multiplePriority:gA(Un),sortOrder:Un.sortOrder})};return(bt||[]).forEach((Un,tr)=>{const Jn=ga(tr,Yt);Un.children?("sortOrder"in Un&&In(Un,Jn),dn=[].concat((0,dr.Z)(dn),(0,dr.Z)(aA(Un.children,wt,Jn)))):Un.sorter&&("sortOrder"in Un?In(Un,Jn):wt&&Un.defaultSortOrder&&dn.push({column:Un,key:ha(Un,Jn),multiplePriority:gA(Un),sortOrder:Un.defaultSortOrder}))}),dn},Sd=(bt,wt,Yt,dn,In,Un,tr,Jn)=>(wt||[]).map((cr,ii)=>{const Mr=ga(ii,Jn);let Ur=cr;if(Ur.sorter){const Lr=Ur.sortDirections||In,Sr=Ur.showSorterTooltip===void 0?tr:Ur.showSorterTooltip,Wi=ha(Ur,Mr),mi=Yt.find(oa=>{let{key:ta}=oa;return ta===Wi}),eo=mi?mi.sortOrder:null,co=TA(Lr,eo);let qi;if(cr.sortIcon)qi=cr.sortIcon({sortOrder:eo});else{const oa=Lr.includes(nd)&&x.createElement(Ed.Z,{className:Ne()(`${bt}-column-sorter-up`,{active:eo===nd})}),ta=Lr.includes(PA)&&x.createElement(oA.Z,{className:Ne()(`${bt}-column-sorter-down`,{active:eo===PA})});qi=x.createElement("span",{className:Ne()(`${bt}-column-sorter`,{[`${bt}-column-sorter-full`]:!!(oa&&ta)})},x.createElement("span",{className:`${bt}-column-sorter-inner`,"aria-hidden":"true"},oa,ta))}const{cancelSort:po,triggerAsc:Io,triggerDesc:jo}=Un||{};let Uo=po;co===PA?Uo=jo:co===nd&&(Uo=Io);const Da=typeof Sr=="object"?Object.assign({title:Uo},Sr):{title:Uo};Ur=Object.assign(Object.assign({},Ur),{className:Ne()(Ur.className,{[`${bt}-column-sort`]:eo}),title:oa=>{const ta=`${bt}-column-sorters`,Zo=x.createElement("span",{className:`${bt}-column-title`},es(cr.title,oa)),Ho=x.createElement("div",{className:ta},Zo,qi);return Sr?typeof Sr!="boolean"&&(Sr==null?void 0:Sr.target)==="sorter-icon"?x.createElement("div",{className:`${ta} ${bt}-column-sorters-tooltip-target-sorter`},Zo,x.createElement(Jf.Z,Object.assign({},Da),qi)):x.createElement(Jf.Z,Object.assign({},Da),Ho):Ho},onHeaderCell:oa=>{var ta;const Zo=((ta=cr.onHeaderCell)===null||ta===void 0?void 0:ta.call(cr,oa))||{},Ho=Zo.onClick,Ko=Zo.onKeyDown;Zo.onClick=_o=>{dn({column:cr,key:Wi,sortOrder:co,multiplePriority:gA(cr)}),Ho==null||Ho(_o)},Zo.onKeyDown=_o=>{_o.keyCode===ka.Z.ENTER&&(dn({column:cr,key:Wi,sortOrder:co,multiplePriority:gA(cr)}),Ko==null||Ko(_o))};const yo=Ya(cr.title,{}),ho=yo==null?void 0:yo.toString();return eo&&(Zo["aria-sort"]=eo==="ascend"?"ascending":"descending"),Zo["aria-label"]=ho||"",Zo.className=Ne()(Zo.className,`${bt}-column-has-sorters`),Zo.tabIndex=0,cr.ellipsis&&(Zo.title=(yo!=null?yo:"").toString()),Zo}})}return"children"in Ur&&(Ur=Object.assign(Object.assign({},Ur),{children:Sd(bt,Ur.children,Yt,dn,In,Un,tr,Mr)})),Ur}),qf=bt=>{const{column:wt,sortOrder:Yt}=bt;return{column:wt,order:Yt,field:wt.dataIndex,columnKey:wt.key}},Ms=bt=>{const wt=bt.filter(Yt=>{let{sortOrder:dn}=Yt;return dn}).map(qf);if(wt.length===0&&bt.length){const Yt=bt.length-1;return Object.assign(Object.assign({},qf(bt[Yt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return wt.length<=1?wt[0]||{}:wt},Ju=(bt,wt,Yt)=>{const dn=wt.slice().sort((tr,Jn)=>Jn.multiplePriority-tr.multiplePriority),In=bt.slice(),Un=dn.filter(tr=>{let{column:{sorter:Jn},sortOrder:mr}=tr;return Ou(Jn)&&mr});return Un.length?In.sort((tr,Jn)=>{for(let mr=0;mr<Un.length;mr+=1){const cr=Un[mr],{column:{sorter:ii},sortOrder:Mr}=cr,Ur=Ou(ii);if(Ur&&Mr){const Lr=Ur(tr,Jn,Mr);if(Lr!==0)return Mr===nd?Lr:-Lr}}return 0}).map(tr=>{const Jn=tr[Yt];return Jn?Object.assign(Object.assign({},tr),{[Yt]:Ju(Jn,wt,Yt)}):tr}):In};var Th=bt=>{const{prefixCls:wt,mergedColumns:Yt,sortDirections:dn,tableLocale:In,showSorterTooltip:Un,onSorterChange:tr}=bt,[Jn,mr]=x.useState(aA(Yt,!0)),cr=(Wi,mi)=>{const eo=[];return Wi.forEach((co,qi)=>{const po=ga(qi,mi);if(eo.push(ha(co,po)),Array.isArray(co.children)){const Io=cr(co.children,po);eo.push.apply(eo,(0,dr.Z)(Io))}}),eo},ii=x.useMemo(()=>{let Wi=!0;const mi=aA(Yt,!1);if(!mi.length){const po=cr(Yt);return Jn.filter(Io=>{let{key:jo}=Io;return po.includes(jo)})}const eo=[];function co(po){Wi?eo.push(po):eo.push(Object.assign(Object.assign({},po),{sortOrder:null}))}let qi=null;return mi.forEach(po=>{qi===null?(co(po),po.sortOrder&&(po.multiplePriority===!1?Wi=!1:qi=!0)):(qi&&po.multiplePriority!==!1||(Wi=!1),co(po))}),eo},[Yt,Jn]),Mr=x.useMemo(()=>{var Wi,mi;const eo=ii.map(co=>{let{column:qi,sortOrder:po}=co;return{column:qi,order:po}});return{sortColumns:eo,sortColumn:(Wi=eo[0])===null||Wi===void 0?void 0:Wi.column,sortOrder:(mi=eo[0])===null||mi===void 0?void 0:mi.order}},[ii]),Ur=Wi=>{let mi;Wi.multiplePriority===!1||!ii.length||ii[0].multiplePriority===!1?mi=[Wi]:mi=[].concat((0,dr.Z)(ii.filter(eo=>{let{key:co}=eo;return co!==Wi.key})),[Wi]),mr(mi),tr(Ms(mi),mi)};return[Wi=>Sd(wt,Wi,ii,Ur,dn,In,Un),ii,Mr,()=>Ms(ii)]};const Xc=(bt,wt)=>bt.map(dn=>{const In=Object.assign({},dn);return In.title=es(dn.title,wt),"children"in In&&(In.children=Xc(In.children,wt)),In});var Fd=bt=>[x.useCallback(Yt=>Xc(Yt,bt),[bt])],bf=Ii((bt,wt)=>{const{_renderTimes:Yt}=bt,{_renderTimes:dn}=wt;return Yt!==dn}),Yc=$r((bt,wt)=>{const{_renderTimes:Yt}=bt,{_renderTimes:dn}=wt;return Yt!==dn}),ma=ae(36237),Rl=ae(17835),Mc=ae(63356),rd=ae(16931),kA=ae(51636),MA=bt=>{const{componentCls:wt,lineWidth:Yt,lineType:dn,tableBorderColor:In,tableHeaderBg:Un,tablePaddingVertical:tr,tablePaddingHorizontal:Jn,calc:mr}=bt,cr=`${(0,ma.unit)(Yt)} ${dn} ${In}`,ii=(Mr,Ur,Lr)=>({[`&${wt}-${Mr}`]:{[`> ${wt}-container`]:{[`> ${wt}-content, > ${wt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${wt}-expanded-row-fixed`]:{margin:`${(0,ma.unit)(mr(Ur).mul(-1).equal())}
${(0,ma.unit)(mr(mr(Lr).add(Yt)).mul(-1).equal())}`}}}}}});return{[`${wt}-wrapper`]:{[`${wt}${wt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${wt}-title`]:{border:cr,borderBottom:0},[`> ${wt}-container`]:{borderInlineStart:cr,borderTop:cr,[`
> ${wt}-content,
> ${wt}-header,
> ${wt}-body,
> ${wt}-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:cr},"> thead":{"> tr:not(:last-child) > th":{borderBottom:cr},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${wt}-cell-fix-right-first::after`]:{borderInlineEnd:cr}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${wt}-expanded-row-fixed`]:{margin:`${(0,ma.unit)(mr(tr).mul(-1).equal())} ${(0,ma.unit)(mr(mr(Jn).add(Yt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Yt,bottom:0,borderInlineEnd:cr,content:'""'}}}}}},[`&${wt}-scroll-horizontal`]:{[`> ${wt}-container > ${wt}-body`]:{"> table > tbody":{[`
> tr${wt}-expanded-row,
> tr${wt}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ii("middle",bt.tablePaddingVerticalMiddle,bt.tablePaddingHorizontalMiddle)),ii("small",bt.tablePaddingVerticalSmall,bt.tablePaddingHorizontalSmall)),{[`> ${wt}-footer`]:{border:cr,borderTop:0}}),[`${wt}-cell`]:{[`${wt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ma.unit)(Yt)} 0 ${(0,ma.unit)(Yt)} ${Un}`}},[`${wt}-bordered ${wt}-cell-scrollbar`]:{borderInlineEnd:cr}}}},Uc=bt=>{const{componentCls:wt}=bt;return{[`${wt}-wrapper`]:{[`${wt}-cell-ellipsis`]:Object.assign(Object.assign({},Mc.vS),{wordBreak:"keep-all",[`
&${wt}-cell-fix-left-last,
&${wt}-cell-fix-right-first
`]:{overflow:"visible",[`${wt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${wt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Zp=bt=>{const{componentCls:wt}=bt;return{[`${wt}-wrapper`]:{[`${wt}-tbody > tr${wt}-placeholder`]:{textAlign:"center",color:bt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:bt.colorBgContainer}}}}},Dc=bt=>{const{componentCls:wt,antCls:Yt,motionDurationSlow:dn,lineWidth:In,paddingXS:Un,lineType:tr,tableBorderColor:Jn,tableExpandIconBg:mr,tableExpandColumnWidth:cr,borderRadius:ii,tablePaddingVertical:Mr,tablePaddingHorizontal:Ur,tableExpandedRowBg:Lr,paddingXXS:Sr,expandIconMarginTop:Wi,expandIconSize:mi,expandIconHalfInner:eo,expandIconScale:co,calc:qi}=bt,po=`${(0,ma.unit)(In)} ${tr} ${Jn}`,Io=qi(Sr).sub(In).equal();return{[`${wt}-wrapper`]:{[`${wt}-expand-icon-col`]:{width:cr},[`${wt}-row-expand-icon-cell`]:{textAlign:"center",[`${wt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${wt}-row-indent`]:{height:1,float:"left"},[`${wt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Mc.Nd)(bt)),{position:"relative",float:"left",width:mi,height:mi,color:"inherit",lineHeight:(0,ma.unit)(mi),background:mr,border:po,borderRadius:ii,transform:`scale(${co})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${dn} ease-out`,content:'""'},"&::before":{top:eo,insetInlineEnd:Io,insetInlineStart:Io,height:In},"&::after":{top:Io,bottom:Io,insetInlineStart:eo,width:In,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"}}),[`${wt}-row-indent + ${wt}-row-expand-icon`]:{marginTop:Wi,marginInlineEnd:Un},[`tr${wt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Lr}},[`${Yt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${wt}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ma.unit)(qi(Mr).mul(-1).equal())} ${(0,ma.unit)(qi(Ur).mul(-1).equal())}`,padding:`${(0,ma.unit)(Mr)} ${(0,ma.unit)(Ur)}`}}}},zs=bt=>{const{componentCls:wt,antCls:Yt,iconCls:dn,tableFilterDropdownWidth:In,tableFilterDropdownSearchWidth:Un,paddingXXS:tr,paddingXS:Jn,colorText:mr,lineWidth:cr,lineType:ii,tableBorderColor:Mr,headerIconColor:Ur,fontSizeSM:Lr,tablePaddingHorizontal:Sr,borderRadius:Wi,motionDurationSlow:mi,colorTextDescription:eo,colorPrimary:co,tableHeaderFilterActiveBg:qi,colorTextDisabled:po,tableFilterDropdownBg:Io,tableFilterDropdownHeight:jo,controlItemBgHover:Uo,controlItemBgActive:Da,boxShadowSecondary:oa,filterDropdownMenuBg:ta,calc:Zo}=bt,Ho=`${Yt}-dropdown`,Ko=`${wt}-filter-dropdown`,yo=`${Yt}-tree`,ho=`${(0,ma.unit)(cr)} ${ii} ${Mr}`;return[{[`${wt}-wrapper`]:{[`${wt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${wt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Zo(tr).mul(-1).equal(),marginInline:`${(0,ma.unit)(tr)} ${(0,ma.unit)(Zo(Sr).div(2).mul(-1).equal())}`,padding:`0 ${(0,ma.unit)(tr)}`,color:Ur,fontSize:Lr,borderRadius:Wi,cursor:"pointer",transition:`all ${mi}`,"&:hover":{color:eo,background:qi},"&.active":{color:co}}}},{[`${Yt}-dropdown`]:{[Ko]:Object.assign(Object.assign({},(0,Mc.Wf)(bt)),{minWidth:In,backgroundColor:Io,borderRadius:Wi,boxShadow:oa,overflow:"hidden",[`${Ho}-menu`]:{maxHeight:jo,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ta,"&:empty::after":{display:"block",padding:`${(0,ma.unit)(Jn)} 0`,color:po,fontSize:Lr,textAlign:"center",content:'"Not Found"'}},[`${Ko}-tree`]:{paddingBlock:`${(0,ma.unit)(Jn)} 0`,paddingInline:Jn,[yo]:{padding:0},[`${yo}-treenode ${yo}-node-content-wrapper:hover`]:{backgroundColor:Uo},[`${yo}-treenode-checkbox-checked ${yo}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Da}}},[`${Ko}-search`]:{padding:Jn,borderBottom:ho,"&-input":{input:{minWidth:Un},[dn]:{color:po}}},[`${Ko}-checkall`]:{width:"100%",marginBottom:tr,marginInlineStart:tr},[`${Ko}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ma.unit)(Zo(Jn).sub(cr).equal())} ${(0,ma.unit)(Jn)}`,overflow:"hidden",borderTop:ho}})}},{[`${Yt}-dropdown ${Ko}, ${Ko}-submenu`]:{[`${Yt}-checkbox-wrapper + span`]:{paddingInlineStart:Jn,color:mr},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},od=bt=>{const{componentCls:wt,lineWidth:Yt,colorSplit:dn,motionDurationSlow:In,zIndexTableFixed:Un,tableBg:tr,zIndexTableSticky:Jn,calc:mr}=bt,cr=dn;return{[`${wt}-wrapper`]:{[`
${wt}-cell-fix-left,
${wt}-cell-fix-right
`]:{position:"sticky !important",zIndex:Un,background:tr},[`
${wt}-cell-fix-left-first::after,
${wt}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:mr(Yt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},[`${wt}-cell-fix-left-all::after`]:{display:"none"},[`
${wt}-cell-fix-right-first::after,
${wt}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:mr(Yt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},[`${wt}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:mr(Jn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${In}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${wt}-ping-left`]:{[`&:not(${wt}-has-fix-left) ${wt}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${cr}`},[`
${wt}-cell-fix-left-first::after,
${wt}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${cr}`},[`${wt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${wt}-ping-right`]:{[`&:not(${wt}-has-fix-right) ${wt}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${cr}`},[`
${wt}-cell-fix-right-first::after,
${wt}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${cr}`}},[`${wt}-fixed-column-gapped`]:{[`
${wt}-cell-fix-left-first::after,
${wt}-cell-fix-left-last::after,
${wt}-cell-fix-right-first::after,
${wt}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},wA=bt=>{const{componentCls:wt,antCls:Yt,margin:dn}=bt;return{[`${wt}-wrapper`]:{[`${wt}-pagination${Yt}-pagination`]:{margin:`${(0,ma.unit)(dn)} 0`},[`${wt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:bt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xf=bt=>{const{componentCls:wt,tableRadius:Yt}=bt;return{[`${wt}-wrapper`]:{[wt]:{[`${wt}-title, ${wt}-header`]:{borderRadius:`${(0,ma.unit)(Yt)} ${(0,ma.unit)(Yt)} 0 0`},[`${wt}-title + ${wt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${wt}-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:Yt,borderStartEndRadius:Yt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Yt},"> *:last-child":{borderStartEndRadius:Yt}}},"&-footer":{borderRadius:`0 0 ${(0,ma.unit)(Yt)} ${(0,ma.unit)(Yt)}`}}}}},Mh=bt=>{const{componentCls:wt}=bt;return{[`${wt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${wt}-pagination-left`]:{justifyContent:"flex-end"},[`${wt}-pagination-right`]:{justifyContent:"flex-start"},[`${wt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${wt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${wt}-row-indent`]:{float:"right"}}}}},lc=bt=>{const{componentCls:wt,antCls:Yt,iconCls:dn,fontSizeIcon:In,padding:Un,paddingXS:tr,headerIconColor:Jn,headerIconHoverColor:mr,tableSelectionColumnWidth:cr,tableSelectedRowBg:ii,tableSelectedRowHoverBg:Mr,tableRowHoverBg:Ur,tablePaddingHorizontal:Lr,calc:Sr}=bt;return{[`${wt}-wrapper`]:{[`${wt}-selection-col`]:{width:cr,[`&${wt}-selection-col-with-dropdown`]:{width:Sr(cr).add(In).add(Sr(Un).div(4)).equal()}},[`${wt}-bordered ${wt}-selection-col`]:{width:Sr(cr).add(Sr(tr).mul(2)).equal(),[`&${wt}-selection-col-with-dropdown`]:{width:Sr(cr).add(In).add(Sr(Un).div(4)).add(Sr(tr).mul(2)).equal()}},[`
table tr th${wt}-selection-column,
table tr td${wt}-selection-column,
${wt}-selection-column
`]:{paddingInlineEnd:bt.paddingXS,paddingInlineStart:bt.paddingXS,textAlign:"center",[`${Yt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${wt}-selection-column${wt}-cell-fix-left`]:{zIndex:Sr(bt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${wt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${wt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${wt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${bt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ma.unit)(Sr(Lr).div(4).equal()),[dn]:{color:Jn,fontSize:In,verticalAlign:"baseline","&:hover":{color:mr}}},[`${wt}-tbody`]:{[`${wt}-row`]:{[`&${wt}-row-selected`]:{[`> ${wt}-cell`]:{background:ii,"&-row-hover":{background:Mr}}},[`> ${wt}-cell-row-hover`]:{background:Ur}}}}}},up=bt=>{const{componentCls:wt,tableExpandColumnWidth:Yt,calc:dn}=bt,In=(Un,tr,Jn,mr)=>({[`${wt}${wt}-${Un}`]:{fontSize:mr,[`
${wt}-title,
${wt}-footer,
${wt}-cell,
${wt}-thead > tr > th,
${wt}-tbody > tr > th,
${wt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,ma.unit)(tr)} ${(0,ma.unit)(Jn)}`},[`${wt}-filter-trigger`]:{marginInlineEnd:(0,ma.unit)(dn(Jn).div(2).mul(-1).equal())},[`${wt}-expanded-row-fixed`]:{margin:`${(0,ma.unit)(dn(tr).mul(-1).equal())} ${(0,ma.unit)(dn(Jn).mul(-1).equal())}`},[`${wt}-tbody`]:{[`${wt}-wrapper:only-child ${wt}`]:{marginBlock:(0,ma.unit)(dn(tr).mul(-1).equal()),marginInline:`${(0,ma.unit)(dn(Yt).sub(Jn).equal())} ${(0,ma.unit)(dn(Jn).mul(-1).equal())}`}},[`${wt}-selection-extra`]:{paddingInlineStart:(0,ma.unit)(dn(Jn).div(4).equal())}}});return{[`${wt}-wrapper`]:Object.assign(Object.assign({},In("middle",bt.tablePaddingVerticalMiddle,bt.tablePaddingHorizontalMiddle,bt.tableFontSizeMiddle)),In("small",bt.tablePaddingVerticalSmall,bt.tablePaddingHorizontalSmall,bt.tableFontSizeSmall))}},Xd=bt=>{const{componentCls:wt,marginXXS:Yt,fontSizeIcon:dn,headerIconColor:In,headerIconHoverColor:Un}=bt;return{[`${wt}-wrapper`]:{[`${wt}-thead th${wt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${bt.motionDurationSlow}, left 0s`,"&:hover":{background:bt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:bt.colorPrimary},[`
&${wt}-cell-fix-left:hover,
&${wt}-cell-fix-right:hover
`]:{background:bt.tableFixedHeaderSortActiveBg}},[`${wt}-thead th${wt}-column-sort`]:{background:bt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${wt}-column-sort`]:{background:bt.tableBodySortBg},[`${wt}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${wt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${wt}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${wt}-column-sorter`]:{marginInlineStart:Yt,color:In,fontSize:0,transition:`color ${bt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:dn,"&.active":{color:bt.colorPrimary}},[`${wt}-column-sorter-up + ${wt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${wt}-column-sorters:hover ${wt}-column-sorter`]:{color:Un}}}},Yd=bt=>{const{componentCls:wt,opacityLoading:Yt,tableScrollThumbBg:dn,tableScrollThumbBgHover:In,tableScrollThumbSize:Un,tableScrollBg:tr,zIndexTableSticky:Jn,stickyScrollBarBorderRadius:mr,lineWidth:cr,lineType:ii,tableBorderColor:Mr}=bt,Ur=`${(0,ma.unit)(cr)} ${ii} ${Mr}`;return{[`${wt}-wrapper`]:{[`${wt}-sticky`]:{"&-holder":{position:"sticky",zIndex:Jn,background:bt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ma.unit)(Un)} !important`,zIndex:Jn,display:"flex",alignItems:"center",background:tr,borderTop:Ur,opacity:Yt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Un,backgroundColor:dn,borderRadius:mr,transition:`all ${bt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:In}}}}}}},uc=bt=>{const{componentCls:wt,lineWidth:Yt,tableBorderColor:dn,calc:In}=bt,Un=`${(0,ma.unit)(Yt)} ${bt.lineType} ${dn}`;return{[`${wt}-wrapper`]:{[`${wt}-summary`]:{position:"relative",zIndex:bt.zIndexTableFixed,background:bt.tableBg,"> tr":{"> th, > td":{borderBottom:Un}}},[`div${wt}-summary`]:{boxShadow:`0 ${(0,ma.unit)(In(Yt).mul(-1).equal())} 0 ${dn}`}}}},cc=bt=>{const{componentCls:wt,motionDurationMid:Yt,lineWidth:dn,lineType:In,tableBorderColor:Un,calc:tr}=bt,Jn=`${(0,ma.unit)(dn)} ${In} ${Un}`,mr=`${wt}-expanded-row-cell`;return{[`${wt}-wrapper`]:{[`${wt}-tbody-virtual`]:{[`${wt}-tbody-virtual-holder-inner`]:{[`
& > ${wt}-row,
& > div:not(${wt}-row) > ${wt}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${wt}-cell`]:{borderBottom:Jn,transition:`background ${Yt}`},[`${wt}-expanded-row`]:{[`${mr}${mr}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ma.unit)(dn)})`,borderInlineEnd:"none"}}},[`${wt}-bordered`]:{[`${wt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Jn,position:"absolute"},[`${wt}-cell`]:{borderInlineEnd:Jn,[`&${wt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:tr(dn).mul(-1).equal(),borderInlineStart:Jn}}},[`&${wt}-virtual`]:{[`${wt}-placeholder ${wt}-cell`]:{borderInlineEnd:Jn,borderBottom:Jn}}}}}};const Tu=bt=>{const{componentCls:wt,fontWeightStrong:Yt,tablePaddingVertical:dn,tablePaddingHorizontal:In,tableExpandColumnWidth:Un,lineWidth:tr,lineType:Jn,tableBorderColor:mr,tableFontSize:cr,tableBg:ii,tableRadius:Mr,tableHeaderTextColor:Ur,motionDurationMid:Lr,tableHeaderBg:Sr,tableHeaderCellSplitColor:Wi,tableFooterTextColor:mi,tableFooterBg:eo,calc:co}=bt,qi=`${(0,ma.unit)(tr)} ${Jn} ${mr}`;return{[`${wt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Mc.dF)()),{[wt]:Object.assign(Object.assign({},(0,Mc.Wf)(bt)),{fontSize:cr,background:ii,borderRadius:`${(0,ma.unit)(Mr)} ${(0,ma.unit)(Mr)} 0 0`,scrollbarColor:`${bt.tableScrollThumbBg} ${bt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ma.unit)(Mr)} ${(0,ma.unit)(Mr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${wt}-cell,
${wt}-thead > tr > th,
${wt}-tbody > tr > th,
${wt}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,ma.unit)(dn)} ${(0,ma.unit)(In)}`,overflowWrap:"break-word"},[`${wt}-title`]:{padding:`${(0,ma.unit)(dn)} ${(0,ma.unit)(In)}`},[`${wt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ur,fontWeight:Yt,textAlign:"start",background:Sr,borderBottom:qi,transition:`background ${Lr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${wt}-selection-column):not(${wt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Wi,transform:"translateY(-50%)",transition:`background-color ${Lr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${wt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Lr}, border-color ${Lr}`,borderBottom:qi,[`
> ${wt}-wrapper:only-child,
> ${wt}-expanded-row-fixed > ${wt}-wrapper:only-child
`]:{[wt]:{marginBlock:(0,ma.unit)(co(dn).mul(-1).equal()),marginInline:`${(0,ma.unit)(co(Un).sub(In).equal())}
${(0,ma.unit)(co(In).mul(-1).equal())}`,[`${wt}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ur,fontWeight:Yt,textAlign:"start",background:Sr,borderBottom:qi,transition:`background ${Lr} ease`}}},[`${wt}-footer`]:{padding:`${(0,ma.unit)(dn)} ${(0,ma.unit)(In)}`,color:mi,background:eo}})}},sd=bt=>{const{colorFillAlter:wt,colorBgContainer:Yt,colorTextHeading:dn,colorFillSecondary:In,colorFillContent:Un,controlItemBgActive:tr,controlItemBgActiveHover:Jn,padding:mr,paddingSM:cr,paddingXS:ii,colorBorderSecondary:Mr,borderRadiusLG:Ur,controlHeight:Lr,colorTextPlaceholder:Sr,fontSize:Wi,fontSizeSM:mi,lineHeight:eo,lineWidth:co,colorIcon:qi,colorIconHover:po,opacityLoading:Io,controlInteractiveSize:jo}=bt,Uo=new Rl.FastColor(In).onBackground(Yt).toHexString(),Da=new Rl.FastColor(Un).onBackground(Yt).toHexString(),oa=new Rl.FastColor(wt).onBackground(Yt).toHexString(),ta=new Rl.FastColor(qi),Zo=new Rl.FastColor(po),Ho=jo/2-co,Ko=Ho*2+co*3;return{headerBg:oa,headerColor:dn,headerSortActiveBg:Uo,headerSortHoverBg:Da,bodySortBg:oa,rowHoverBg:oa,rowSelectedBg:tr,rowSelectedHoverBg:Jn,rowExpandedBg:wt,cellPaddingBlock:mr,cellPaddingInline:mr,cellPaddingBlockMD:cr,cellPaddingInlineMD:ii,cellPaddingBlockSM:ii,cellPaddingInlineSM:ii,borderColor:Mr,headerBorderRadius:Ur,footerBg:oa,footerColor:dn,cellFontSize:Wi,cellFontSizeMD:Wi,cellFontSizeSM:Wi,headerSplitColor:Mr,fixedHeaderSortActiveBg:Uo,headerFilterHoverBg:Un,filterDropdownMenuBg:Yt,filterDropdownBg:Yt,expandIconBg:Yt,selectionColumnWidth:Lr,stickyScrollBarBg:Sr,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Wi*eo-co*3)/2-Math.ceil((mi*1.4-co*3)/2),headerIconColor:ta.clone().setA(ta.a*Io).toRgbString(),headerIconHoverColor:Zo.clone().setA(Zo.a*Io).toRgbString(),expandIconHalfInner:Ho,expandIconSize:Ko,expandIconScale:jo/Ko}},$d=2;var Bf=(0,rd.I$)("Table",bt=>{const{colorTextHeading:wt,colorSplit:Yt,colorBgContainer:dn,controlInteractiveSize:In,headerBg:Un,headerColor:tr,headerSortActiveBg:Jn,headerSortHoverBg:mr,bodySortBg:cr,rowHoverBg:ii,rowSelectedBg:Mr,rowSelectedHoverBg:Ur,rowExpandedBg:Lr,cellPaddingBlock:Sr,cellPaddingInline:Wi,cellPaddingBlockMD:mi,cellPaddingInlineMD:eo,cellPaddingBlockSM:co,cellPaddingInlineSM:qi,borderColor:po,footerBg:Io,footerColor:jo,headerBorderRadius:Uo,cellFontSize:Da,cellFontSizeMD:oa,cellFontSizeSM:ta,headerSplitColor:Zo,fixedHeaderSortActiveBg:Ho,headerFilterHoverBg:Ko,filterDropdownBg:yo,expandIconBg:ho,selectionColumnWidth:_o,stickyScrollBarBg:Xo,calc:na}=bt,bo=(0,kA.mergeToken)(bt,{tableFontSize:Da,tableBg:dn,tableRadius:Uo,tablePaddingVertical:Sr,tablePaddingHorizontal:Wi,tablePaddingVerticalMiddle:mi,tablePaddingHorizontalMiddle:eo,tablePaddingVerticalSmall:co,tablePaddingHorizontalSmall:qi,tableBorderColor:po,tableHeaderTextColor:tr,tableHeaderBg:Un,tableFooterTextColor:jo,tableFooterBg:Io,tableHeaderCellSplitColor:Zo,tableHeaderSortBg:Jn,tableHeaderSortHoverBg:mr,tableBodySortBg:cr,tableFixedHeaderSortActiveBg:Ho,tableHeaderFilterActiveBg:Ko,tableFilterDropdownBg:yo,tableRowHoverBg:ii,tableSelectedRowBg:Mr,tableSelectedRowHoverBg:Ur,zIndexTableFixed:$d,zIndexTableSticky:na($d).add(1).equal({unit:!1}),tableFontSizeMiddle:oa,tableFontSizeSmall:ta,tableSelectionColumnWidth:_o,tableExpandIconBg:ho,tableExpandColumnWidth:na(In).add(na(bt.padding).mul(2)).equal(),tableExpandedRowBg:Lr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Xo,tableScrollThumbBgHover:wt,tableScrollBg:Yt});return[Tu(bo),wA(bo),uc(bo),Xd(bo),zs(bo),MA(bo),xf(bo),Dc(bo),uc(bo),Zp(bo),lc(bo),od(bo),Yd(bo),Uc(bo),up(bo),Mh(bo),cc(bo)]},sd,{unitless:{expandIconScale:!0}});const Ap=[],dp=(bt,wt)=>{var Yt,dn;const{prefixCls:In,className:Un,rootClassName:tr,style:Jn,size:mr,bordered:cr,dropdownPrefixCls:ii,dataSource:Mr,pagination:Ur,rowSelection:Lr,rowKey:Sr="key",rowClassName:Wi,columns:mi,children:eo,childrenColumnName:co,onChange:qi,getPopupContainer:po,loading:Io,expandIcon:jo,expandable:Uo,expandedRowRender:Da,expandIconColumnIndex:oa,indentSize:ta,scroll:Zo,sortDirections:Ho,locale:Ko,showSorterTooltip:yo={target:"full-header"},virtual:ho}=bt,_o=(0,da.ln)("Table"),Xo=x.useMemo(()=>mi||ar(eo),[mi,eo]),na=x.useMemo(()=>Xo.some(Ga=>Ga.responsive),[Xo]),bo=(0,fl.Z)(na),rs=x.useMemo(()=>{const Ga=new Set(Object.keys(bo).filter(ys=>bo[ys]));return Xo.filter(ys=>!ys.responsive||ys.responsive.some(_l=>Ga.has(_l)))},[Xo,bo]),Va=(0,qo.Z)(bt,["className","style","columns"]),{locale:kl=wu.Z,direction:xl,table:al,renderEmpty:Ao,getPrefixCls:Vl,getPopupContainer:ds}=x.useContext(il.E_),us=(0,tl.Z)(mr),nl=Object.assign(Object.assign({},kl.Table),Ko),uu=Mr||Ap,ra=Vl("table",In),Ca=Vl("dropdown",ii),[,Yo]=(0,vc.ZP)(),To=(0,Au.Z)(ra),[vs,Os,Gs]=Bf(ra,To),Ks=Object.assign(Object.assign({childrenColumnName:co,expandIconColumnIndex:oa},Uo),{expandIcon:(Yt=Uo==null?void 0:Uo.expandIcon)!==null&&Yt!==void 0?Yt:(dn=al==null?void 0:al.expandable)===null||dn===void 0?void 0:dn.expandIcon}),{childrenColumnName:sl="children"}=Ks,hu=x.useMemo(()=>uu.some(Ga=>Ga==null?void 0:Ga[sl])?"nest":Da||Uo!=null&&Uo.expandedRowRender?"row":null,[uu]),aa={body:x.useRef(null)},ea=La(ra),Is=x.useRef(null),Js=x.useRef(null);ls(wt,()=>Object.assign(Object.assign({},Js.current),{nativeElement:Is.current}));const Xs=x.useMemo(()=>typeof Sr=="function"?Sr:Ga=>Ga==null?void 0:Ga[Sr],[Sr]),[pu]=Gc(uu,sl,Xs),Ml={},Ac=function(Ga,ys){let _l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var iu,Bu,Eu,tc;const ju=Object.assign(Object.assign({},Ml),Ga);_l&&((iu=Ml.resetPagination)===null||iu===void 0||iu.call(Ml),!((Bu=ju.pagination)===null||Bu===void 0)&&Bu.current&&(ju.pagination.current=1),Ur&&((Eu=Ur.onChange)===null||Eu===void 0||Eu.call(Ur,1,(tc=ju.pagination)===null||tc===void 0?void 0:tc.pageSize))),Zo&&Zo.scrollToFirstRowOnChange!==!1&&aa.body.current&&(0,Fs.Z)(0,{getContainer:()=>aa.body.current}),qi==null||qi(ju.pagination,ju.filters,ju.sorter,{currentDataSource:Ma(Ju(uu,ju.sorterStates,sl),ju.filterStates,sl),action:ys})},Bl=(Ga,ys)=>{Ac({sorter:Ga,sorterStates:ys},"sort",!1)},[Cs,ll,ul,cu]=Th({prefixCls:ra,mergedColumns:rs,onSorterChange:Bl,sortDirections:Ho||["ascend","descend"],tableLocale:nl,showSorterTooltip:yo}),Ul=x.useMemo(()=>Ju(uu,ll,sl),[uu,ll]);Ml.sorter=cu(),Ml.sorterStates=ll;const xs=(Ga,ys)=>{Ac({filters:Ga,filterStates:ys},"filter",!0)},[vl,Ps,yl]=Zl({prefixCls:ra,locale:nl,dropdownPrefixCls:Ca,mergedColumns:rs,onFilterChange:xs,getPopupContainer:po||ds,rootClassName:Ne()(tr,To)}),Gl=Ma(Ul,Ps,sl);Ml.filters=yl,Ml.filterStates=Ps;const ku=x.useMemo(()=>{const Ga={};return Object.keys(yl).forEach(ys=>{yl[ys]!==null&&(Ga[ys]=yl[ys])}),Object.assign(Object.assign({},ul),{filters:Ga})},[ul,yl]),[Mu]=Fd(ku),$c=(Ga,ys)=>{Ac({pagination:Object.assign(Object.assign({},Ml.pagination),{current:Ga,pageSize:ys})},"paginate")},[cl,Dd]=iA(Gl.length,$c,Ur);Ml.pagination=Ur===!1?{}:Wl(cl,Ur),Ml.resetPagination=Dd;const _u=x.useMemo(()=>{if(Ur===!1||!cl.pageSize)return Gl;const{current:Ga=1,total:ys,pageSize:_l=pA}=cl;return Gl.length<ys?Gl.length>_l?Gl.slice((Ga-1)*_l,Ga*_l):Gl:Gl.slice((Ga-1)*_l,Ga*_l)},[!!Ur,Gl,cl==null?void 0:cl.current,cl==null?void 0:cl.pageSize,cl==null?void 0:cl.total]),[qu,Qu]=vo({prefixCls:ra,data:Gl,pageData:_u,getRowKey:Xs,getRecordByKey:pu,expandType:hu,childrenColumnName:sl,locale:nl,getPopupContainer:po||ds},Lr),ec=(Ga,ys,_l)=>{let iu;return typeof Wi=="function"?iu=Ne()(Wi(Ga,ys,_l)):iu=Ne()(Wi),Ne()({[`${ra}-row-selected`]:Qu.has(Xs(Ga,ys))},iu)};Ks.__PARENT_RENDER_ICON__=Ks.expandIcon,Ks.expandIcon=Ks.expandIcon||jo||fa(nl),hu==="nest"&&Ks.expandIconColumnIndex===void 0?Ks.expandIconColumnIndex=Lr?1:0:Ks.expandIconColumnIndex>0&&Lr&&(Ks.expandIconColumnIndex-=1),typeof Ks.indentSize!="number"&&(Ks.indentSize=typeof ta=="number"?ta:15);const Al=x.useCallback(Ga=>Mu(qu(vl(Cs(Ga)))),[Cs,vl,qu]);let Cc,xA;if(Ur!==!1&&(cl!=null&&cl.total)){let Ga;cl.size?Ga=cl.size:Ga=us==="small"||us==="middle"?"small":void 0;const ys=Bu=>x.createElement(Lu.Z,Object.assign({},cl,{className:Ne()(`${ra}-pagination ${ra}-pagination-${Bu}`,cl.className),size:Ga})),_l=xl==="rtl"?"left":"right",{position:iu}=cl;if(iu!==null&&Array.isArray(iu)){const Bu=iu.find(ju=>ju.includes("top")),Eu=iu.find(ju=>ju.includes("bottom")),tc=iu.every(ju=>`${ju}`=="none");!Bu&&!Eu&&!tc&&(xA=ys(_l)),Bu&&(Cc=ys(Bu.toLowerCase().replace("top",""))),Eu&&(xA=ys(Eu.toLowerCase().replace("bottom","")))}else xA=ys(_l)}let Rc;typeof Io=="boolean"?Rc={spinning:Io}:typeof Io=="object"&&(Rc=Object.assign({spinning:!0},Io));const Jc=Ne()(Gs,To,`${ra}-wrapper`,al==null?void 0:al.className,{[`${ra}-wrapper-rtl`]:xl==="rtl"},Un,tr,Os),Jd=Object.assign(Object.assign({},al==null?void 0:al.style),Jn),qd=typeof(Ko==null?void 0:Ko.emptyText)!="undefined"?Ko.emptyText:(Ao==null?void 0:Ao("Table"))||x.createElement(tu.Z,{componentName:"Table"}),Ts=ho?Yc:bf,ld={},Ef=x.useMemo(()=>{const{fontSize:Ga,lineHeight:ys,lineWidth:_l,padding:iu,paddingXS:Bu,paddingSM:Eu}=Yo,tc=Math.floor(Ga*ys);switch(us){case"middle":return Eu*2+tc+_l;case"small":return Bu*2+tc+_l;default:return iu*2+tc+_l}},[Yo,us]);return ho&&(ld.listItemHeight=Ef),vs(x.createElement("div",{ref:Is,className:Jc,style:Jd},x.createElement(hl.Z,Object.assign({spinning:!1},Rc),Cc,x.createElement(Ts,Object.assign({},ld,Va,{ref:Js,columns:rs,direction:xl,expandable:Ks,prefixCls:ra,className:Ne()({[`${ra}-middle`]:us==="middle",[`${ra}-small`]:us==="small",[`${ra}-bordered`]:cr,[`${ra}-empty`]:uu.length===0},Gs,To,Os),data:_u,rowKey:Xs,rowClassName:ec,emptyText:qd,internalHooks:Le,internalRefs:aa,transformColumns:Al,getContainerWidth:ea})),xA)))};var fp=x.forwardRef(dp);const nh=(bt,wt)=>{const Yt=x.useRef(0);return Yt.current+=1,x.createElement(fp,Object.assign({},bt,{ref:wt,_renderTimes:Yt.current}))},CA=x.forwardRef(nh);CA.SELECTION_COLUMN=xo,CA.EXPAND_COLUMN=dt,CA.SELECTION_ALL=ba,CA.SELECTION_INVERT=Xa,CA.SELECTION_NONE=ns,CA.Column=ro,CA.ColumnGroup=Yr,CA.Summary=vt;var Ld=CA,hp=Ld},96599:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Ne}});var x=ae(59301),dt=ae(92310),Le=ae.n(dt),qe=ae(2738),He=ae(29509),Fe=ae(78776),Me=ae(22703),fe=ae(12919),xe=ae(48755),oe=ae(36237),Pe=ae(17835),ye=ae(63356),Re=ae(51636),Se=ae(16931);const Ie=Qe=>{const{paddingXXS:Ot,lineWidth:ot,tagPaddingHorizontal:lt,componentCls:Bt,calc:We}=Qe,ke=We(lt).sub(ot).equal(),At=We(Ot).sub(ot).equal();return{[Bt]:Object.assign(Object.assign({},(0,ye.Wf)(Qe)),{display:"inline-block",height:"auto",marginInlineEnd:Qe.marginXS,paddingInline:ke,fontSize:Qe.tagFontSize,lineHeight:Qe.tagLineHeight,whiteSpace:"nowrap",background:Qe.defaultBg,border:`${(0,oe.unit)(Qe.lineWidth)} ${Qe.lineType} ${Qe.colorBorder}`,borderRadius:Qe.borderRadiusSM,opacity:1,transition:`all ${Qe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Bt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Qe.defaultColor},[`${Bt}-close-icon`]:{marginInlineStart:At,fontSize:Qe.tagIconSize,color:Qe.colorTextDescription,cursor:"pointer",transition:`all ${Qe.motionDurationMid}`,"&:hover":{color:Qe.colorTextHeading}},[`&${Bt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Qe.iconCls}-close, ${Qe.iconCls}-close:hover`]:{color:Qe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Bt}-checkable-checked):hover`]:{color:Qe.colorPrimary,backgroundColor:Qe.colorFillSecondary},"&:active, &-checked":{color:Qe.colorTextLightSolid},"&-checked":{backgroundColor:Qe.colorPrimary,"&:hover":{backgroundColor:Qe.colorPrimaryHover}},"&:active":{backgroundColor:Qe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Qe.iconCls} + span, > span + ${Qe.iconCls}`]:{marginInlineStart:ke}}),[`${Bt}-borderless`]:{borderColor:"transparent",background:Qe.tagBorderlessBg}}},ve=Qe=>{const{lineWidth:Ot,fontSizeIcon:ot,calc:lt}=Qe,Bt=Qe.fontSizeSM;return(0,Re.mergeToken)(Qe,{tagFontSize:Bt,tagLineHeight:(0,oe.unit)(lt(Qe.lineHeightSM).mul(Bt).equal()),tagIconSize:lt(ot).sub(lt(Ot).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:Qe.defaultBg})},we=Qe=>({defaultBg:new Pe.FastColor(Qe.colorFillQuaternary).onBackground(Qe.colorBgContainer).toHexString(),defaultColor:Qe.colorText});var Ee=(0,Se.I$)("Tag",Qe=>{const Ot=ve(Qe);return Ie(Ot)},we),Oe=function(Qe,Ot){var ot={};for(var lt in Qe)Object.prototype.hasOwnProperty.call(Qe,lt)&&Ot.indexOf(lt)<0&&(ot[lt]=Qe[lt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,lt=Object.getOwnPropertySymbols(Qe);Bt<lt.length;Bt++)Ot.indexOf(lt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,lt[Bt])&&(ot[lt[Bt]]=Qe[lt[Bt]]);return ot},je=x.forwardRef((Qe,Ot)=>{const{prefixCls:ot,style:lt,className:Bt,checked:We,onChange:ke,onClick:At}=Qe,Kt=Oe(Qe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ht,tag:nt}=x.useContext(xe.E_),Pt=Fn=>{ke==null||ke(!We),At==null||At(Fn)},Rt=Ht("tag",ot),[hn,Tt,mn]=Ee(Rt),kt=Le()(Rt,`${Rt}-checkable`,{[`${Rt}-checkable-checked`]:We},nt==null?void 0:nt.className,Bt,Tt,mn);return hn(x.createElement("span",Object.assign({},Kt,{ref:Ot,style:Object.assign(Object.assign({},lt),nt==null?void 0:nt.style),className:kt,onClick:Pt})))}),_e=ae(93427);const Je=Qe=>(0,_e.Z)(Qe,(Ot,ot)=>{let{textColor:lt,lightBorderColor:Bt,lightColor:We,darkColor:ke}=ot;return{[`${Qe.componentCls}${Qe.componentCls}-${Ot}`]:{color:lt,background:We,borderColor:Bt,"&-inverse":{color:Qe.colorTextLightSolid,background:ke,borderColor:ke},[`&${Qe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ve=(0,Se.bk)(["Tag","preset"],Qe=>{const Ot=ve(Qe);return Je(Ot)},we);function st(Qe){return typeof Qe!="string"?Qe:Qe.charAt(0).toUpperCase()+Qe.slice(1)}const at=(Qe,Ot,ot)=>{const lt=st(ot);return{[`${Qe.componentCls}${Qe.componentCls}-${Ot}`]:{color:Qe[`color${ot}`],background:Qe[`color${lt}Bg`],borderColor:Qe[`color${lt}Border`],[`&${Qe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ht=(0,Se.bk)(["Tag","status"],Qe=>{const Ot=ve(Qe);return[at(Ot,"success","Success"),at(Ot,"processing","Info"),at(Ot,"error","Error"),at(Ot,"warning","Warning")]},we),Ct=function(Qe,Ot){var ot={};for(var lt in Qe)Object.prototype.hasOwnProperty.call(Qe,lt)&&Ot.indexOf(lt)<0&&(ot[lt]=Qe[lt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,lt=Object.getOwnPropertySymbols(Qe);Bt<lt.length;Bt++)Ot.indexOf(lt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,lt[Bt])&&(ot[lt[Bt]]=Qe[lt[Bt]]);return ot};const pt=x.forwardRef((Qe,Ot)=>{const{prefixCls:ot,className:lt,rootClassName:Bt,style:We,children:ke,icon:At,color:Kt,onClose:Ht,bordered:nt=!0,visible:Pt}=Qe,Rt=Ct(Qe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:hn,direction:Tt,tag:mn}=x.useContext(xe.E_),[kt,Fn]=x.useState(!0),an=(0,qe.Z)(Rt,["closeIcon","closable"]);x.useEffect(()=>{Pt!==void 0&&Fn(Pt)},[Pt]);const de=(0,He.o2)(Kt),ge=(0,He.yT)(Kt),ie=de||ge,ee=Object.assign(Object.assign({backgroundColor:Kt&&!ie?Kt:void 0},mn==null?void 0:mn.style),We),se=hn("tag",ot),[le,Be,Ge]=Ee(se),ut=Le()(se,mn==null?void 0:mn.className,{[`${se}-${Kt}`]:ie,[`${se}-has-color`]:Kt&&!ie,[`${se}-hidden`]:!kt,[`${se}-rtl`]:Tt==="rtl",[`${se}-borderless`]:!nt},lt,Bt,Be,Ge),mt=ct=>{ct.stopPropagation(),Ht==null||Ht(ct),!ct.defaultPrevented&&Fn(!1)},[,vt]=(0,Fe.Z)((0,Fe.w)(Qe),(0,Fe.w)(mn),{closable:!1,closeIconRender:ct=>{const Xt=x.createElement("span",{className:`${se}-close-icon`,onClick:mt},ct);return(0,Me.wm)(ct,Xt,Wt=>({onClick:wn=>{var ln;(ln=Wt==null?void 0:Wt.onClick)===null||ln===void 0||ln.call(Wt,wn),mt(wn)},className:Le()(Wt==null?void 0:Wt.className,`${se}-close-icon`)}))}}),St=typeof Rt.onClick=="function"||ke&&ke.type==="a",Dt=At||null,Qt=Dt?x.createElement(x.Fragment,null,Dt,ke&&x.createElement("span",null,ke)):ke,xt=x.createElement("span",Object.assign({},an,{ref:Ot,className:ut,style:ee}),Qt,vt,de&&x.createElement(Ve,{key:"preset",prefixCls:se}),ge&&x.createElement(ht,{key:"status",prefixCls:se}));return le(St?x.createElement(fe.Z,{component:"Tag"},xt):xt)});pt.CheckableTag=je;var Ne=pt},18287:function(Xn,Mt,ae){"use strict";ae.d(Mt,{default:function(){return Ht}});var x=ae(87632),dt=ae(77654),Le=ae(59301),qe=ae(52671),He=ae(8657),Fe=ae(60499),Me={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=Me,xe=ae(7657),oe=function(Pt,Rt){return Le.createElement(xe.Z,(0,Fe.Z)({},Pt,{ref:Rt,icon:fe}))},Pe=Le.forwardRef(oe),ye=Pe,Re=ae(92310),Se=ae.n(Re),Ie=ae(82661),ve=ae(34061),we=ae(48755),Ee=ae(56082),Oe=ae(86641),Ke=ae(57700),je=ae(12425);const _e=4;function Je(nt){const{dropPosition:Pt,dropLevelOffset:Rt,prefixCls:hn,indent:Tt,direction:mn="ltr"}=nt,kt=mn==="ltr"?"left":"right",Fn=mn==="ltr"?"right":"left",an={[kt]:-Rt*Tt+_e,[Fn]:0};switch(Pt){case-1:an.top=-3;break;case 1:an.bottom=-3;break;default:an.bottom=-3,an[kt]=Tt+_e;break}return Le.createElement("div",{style:an,className:`${hn}-drop-indicator`})}var Ve=Je,st=ae(85278),ht=Le.forwardRef((nt,Pt)=>{var Rt;const{getPrefixCls:hn,direction:Tt,virtual:mn,tree:kt}=Le.useContext(we.E_),{prefixCls:Fn,className:an,showIcon:de=!1,showLine:ge,switcherIcon:ie,switcherLoadingIcon:ee,blockNode:se=!1,children:le,checkable:Be=!1,selectable:Ge=!0,draggable:ut,motion:mt,style:vt}=nt,St=hn("tree",Fn),Dt=hn(),Qt=mt!=null?mt:Object.assign(Object.assign({},(0,Oe.Z)(Dt)),{motionAppear:!1}),xt=Object.assign(Object.assign({},nt),{checkable:Be,selectable:Ge,showIcon:de,motion:Qt,blockNode:se,showLine:!!ge,dropIndicatorRender:Ve}),[ct,Xt,Wt]=(0,je.ZP)(St),[,wn]=(0,Ke.ZP)(),ln=wn.paddingXS/2+(((Rt=wn.Tree)===null||Rt===void 0?void 0:Rt.titleHeight)||wn.controlHeightSM),nn=Le.useMemo(()=>{if(!ut)return!1;let Ln={};switch(typeof ut){case"function":Ln.nodeDraggable=ut;break;case"object":Ln=Object.assign({},ut);break;default:break}return Ln.icon!==!1&&(Ln.icon=Ln.icon||Le.createElement(Ee.Z,null)),Ln},[ut]),zn=Ln=>Le.createElement(st.Z,{prefixCls:St,switcherIcon:ie,switcherLoadingIcon:ee,treeNodeProps:Ln,showLine:ge});return ct(Le.createElement(x.ZP,Object.assign({itemHeight:ln,ref:Pt,virtual:mn},xt,{style:Object.assign(Object.assign({},kt==null?void 0:kt.style),vt),prefixCls:St,className:Se()({[`${St}-icon-hide`]:!de,[`${St}-block-node`]:se,[`${St}-unselectable`]:!Ge,[`${St}-rtl`]:Tt==="rtl"},kt==null?void 0:kt.className,an,Xt,Wt),direction:Tt,checkable:Be&&Le.createElement("span",{className:`${St}-checkbox-inner`}),selectable:Ge,switcherIcon:zn,draggable:nn}),le))});const Ct=0,ze=1,pt=2;function Ne(nt,Pt,Rt){const{key:hn,children:Tt}=Rt;function mn(kt){const Fn=kt[hn],an=kt[Tt];Pt(Fn,kt)!==!1&&Ne(an||[],Pt,Rt)}nt.forEach(mn)}function Qe(nt){let{treeData:Pt,expandedKeys:Rt,startKey:hn,endKey:Tt,fieldNames:mn}=nt;const kt=[];let Fn=Ct;if(hn&&hn===Tt)return[hn];if(!hn||!Tt)return[];function an(de){return de===hn||de===Tt}return Ne(Pt,de=>{if(Fn===pt)return!1;if(an(de)){if(kt.push(de),Fn===Ct)Fn=ze;else if(Fn===ze)return Fn=pt,!1}else Fn===ze&&kt.push(de);return Rt.includes(de)},(0,ve.w$)(mn)),kt}function Ot(nt,Pt,Rt){const hn=(0,dt.Z)(Pt),Tt=[];return Ne(nt,(mn,kt)=>{const Fn=hn.indexOf(mn);return Fn!==-1&&(Tt.push(kt),hn.splice(Fn,1)),!!hn.length},(0,ve.w$)(Rt)),Tt}var ot=function(nt,Pt){var Rt={};for(var hn in nt)Object.prototype.hasOwnProperty.call(nt,hn)&&Pt.indexOf(hn)<0&&(Rt[hn]=nt[hn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,hn=Object.getOwnPropertySymbols(nt);Tt<hn.length;Tt++)Pt.indexOf(hn[Tt])<0&&Object.prototype.propertyIsEnumerable.call(nt,hn[Tt])&&(Rt[hn[Tt]]=nt[hn[Tt]]);return Rt};function lt(nt){const{isLeaf:Pt,expanded:Rt}=nt;return Pt?Le.createElement(qe.Z,null):Rt?Le.createElement(He.Z,null):Le.createElement(ye,null)}function Bt(nt){let{treeData:Pt,children:Rt}=nt;return Pt||(0,ve.zn)(Rt)}const We=(nt,Pt)=>{var{defaultExpandAll:Rt,defaultExpandParent:hn,defaultExpandedKeys:Tt}=nt,mn=ot(nt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const kt=Le.useRef(null),Fn=Le.useRef(null),an=()=>{const{keyEntities:ct}=(0,ve.I8)(Bt(mn));let Xt;return Rt?Xt=Object.keys(ct):hn?Xt=(0,Ie.r7)(mn.expandedKeys||Tt||[],ct):Xt=mn.expandedKeys||Tt||[],Xt},[de,ge]=Le.useState(mn.selectedKeys||mn.defaultSelectedKeys||[]),[ie,ee]=Le.useState(()=>an());Le.useEffect(()=>{"selectedKeys"in mn&&ge(mn.selectedKeys)},[mn.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in mn&&ee(mn.expandedKeys)},[mn.expandedKeys]);const se=(ct,Xt)=>{var Wt;return"expandedKeys"in mn||ee(ct),(Wt=mn.onExpand)===null||Wt===void 0?void 0:Wt.call(mn,ct,Xt)},le=(ct,Xt)=>{var Wt;const{multiple:wn,fieldNames:ln}=mn,{node:nn,nativeEvent:zn}=Xt,{key:Ln=""}=nn,_t=Bt(mn),un=Object.assign(Object.assign({},Xt),{selected:!0}),Pn=(zn==null?void 0:zn.ctrlKey)||(zn==null?void 0:zn.metaKey),Vn=zn==null?void 0:zn.shiftKey;let Lt;wn&&Pn?(Lt=ct,kt.current=Ln,Fn.current=Lt,un.selectedNodes=Ot(_t,Lt,ln)):wn&&Vn?(Lt=Array.from(new Set([].concat((0,dt.Z)(Fn.current||[]),(0,dt.Z)(Qe({treeData:_t,expandedKeys:ie,startKey:Ln,endKey:kt.current,fieldNames:ln}))))),un.selectedNodes=Ot(_t,Lt,ln)):(Lt=[Ln],kt.current=Ln,Fn.current=Lt,un.selectedNodes=Ot(_t,Lt,ln)),(Wt=mn.onSelect)===null||Wt===void 0||Wt.call(mn,Lt,un),"selectedKeys"in mn||ge(Lt)},{getPrefixCls:Be,direction:Ge}=Le.useContext(we.E_),{prefixCls:ut,className:mt,showIcon:vt=!0,expandAction:St="click"}=mn,Dt=ot(mn,["prefixCls","className","showIcon","expandAction"]),Qt=Be("tree",ut),xt=Se()(`${Qt}-directory`,{[`${Qt}-directory-rtl`]:Ge==="rtl"},mt);return Le.createElement(ht,Object.assign({icon:lt,ref:Pt,blockNode:!0},Dt,{showIcon:vt,expandAction:St,prefixCls:Qt,className:xt,expandedKeys:ie,selectedKeys:de,onSelect:le,onExpand:se}))};var At=Le.forwardRef(We);const Kt=ht;Kt.DirectoryTree=At,Kt.TreeNode=x.OF;var Ht=Kt},12425:function(Xn,Mt,ae){"use strict";ae.d(Mt,{ZP:function(){return Ie},Yk:function(){return ye},TM:function(){return Re}});var x=ae(36237),dt=ae(36170),Le=ae(63356),qe=ae(34961),He=ae(51636),Fe=ae(16931);const Me=ve=>{let{treeCls:we,treeNodeCls:Ee,directoryNodeSelectedBg:Oe,directoryNodeSelectedColor:Ke,motionDurationMid:je,borderRadius:_e,controlItemBgHover:Je}=ve;return{[`${we}${we}-directory ${Ee}`]:{[`${we}-node-content-wrapper`]:{position:"static",[`> *:not(${we}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${je}`,content:'""',borderRadius:_e},"&:hover:before":{background:Je}},[`${we}-switcher, ${we}-checkbox, ${we}-draggable-icon`]:{zIndex:1},"&-selected":{[`${we}-switcher, ${we}-draggable-icon`]:{color:Ke},[`${we}-node-content-wrapper`]:{color:Ke,background:"transparent","&:before, &:hover:before":{background:Oe}}}}}},fe=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),xe=(ve,we)=>({[`.${ve}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${we.motionDurationSlow}`}}}),oe=(ve,we)=>({[`.${ve}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:we.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,x.unit)(we.lineWidthBold)} solid ${we.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Pe=(ve,we)=>{const{treeCls:Ee,treeNodeCls:Oe,treeNodePadding:Ke,titleHeight:je,indentSize:_e,nodeSelectedBg:Je,nodeHoverBg:Ve,colorTextQuaternary:st,controlItemBgActiveDisabled:at}=we;return{[Ee]:Object.assign(Object.assign({},(0,Le.Wf)(we)),{background:we.colorBgContainer,borderRadius:we.borderRadius,transition:`background-color ${we.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)(we)),[`${Ee}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ee}-block-node`]:{[`${Ee}-list-holder-inner`]:{alignItems:"stretch",[`${Ee}-node-content-wrapper`]:{flex:"auto"},[`${Oe}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${we.colorPrimary}`,opacity:0,animationName:fe,animationDuration:we.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:we.borderRadius}}},[Oe]:{display:"flex",alignItems:"flex-start",marginBottom:Ke,lineHeight:(0,x.unit)(je),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ke},[`&-disabled ${Ee}-node-content-wrapper`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ee}-checkbox-disabled + ${Ee}-node-selected,&${Oe}-disabled${Oe}-selected ${Ee}-node-content-wrapper`]:{backgroundColor:at},[`${Ee}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Oe}-disabled)`]:{[`${Ee}-node-content-wrapper`]:{"&:hover":{color:we.nodeHoverColor}}},[`&-active ${Ee}-node-content-wrapper`]:{background:we.controlItemBgHover},[`&:not(${Oe}-disabled).filter-node ${Ee}-title`]:{color:we.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ee}-draggable-icon`]:{flexShrink:0,width:je,textAlign:"center",visibility:"visible",color:st},[`&${Oe}-disabled ${Ee}-draggable-icon`]:{visibility:"hidden"}}},[`${Ee}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:_e}},[`${Ee}-draggable-icon`]:{visibility:"hidden"},[`${Ee}-switcher, ${Ee}-checkbox`]:{marginInlineEnd:we.calc(we.calc(je).sub(we.controlInteractiveSize)).div(2).equal()},[`${Ee}-switcher`]:Object.assign(Object.assign({},xe(ve,we)),{position:"relative",flex:"none",alignSelf:"stretch",width:je,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${we.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:je,height:je,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:we.borderRadius,transition:`all ${we.motionDurationSlow}`},[`&:not(${Ee}-switcher-noop):hover:before`]:{backgroundColor:we.colorBgTextHover},[`&_close ${Ee}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:we.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we.calc(je).div(2).equal(),bottom:we.calc(Ke).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${we.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:we.calc(we.calc(je).div(2).equal()).mul(.8).equal(),height:we.calc(je).div(2).equal(),borderBottom:`1px solid ${we.colorBorder}`,content:'""'}}}),[`${Ee}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:je,paddingBlock:0,paddingInline:we.paddingXS,background:"transparent",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},oe(ve,we)),{"&:hover":{backgroundColor:Ve},[`&${Ee}-node-selected`]:{color:we.nodeSelectedColor,backgroundColor:Je},[`${Ee}-iconEle`]:{display:"inline-block",width:je,height:je,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ee}-unselectable ${Ee}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Oe}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${we.colorPrimary}`},"&-show-line":{[`${Ee}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we.calc(je).div(2).equal(),bottom:we.calc(Ke).mul(-1).equal(),borderInlineEnd:`1px solid ${we.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ee}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Oe}-leaf-last ${Ee}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,x.unit)(we.calc(je).div(2).equal())} !important`}})}},ye=function(ve,we){let Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Oe=`.${ve}`,Ke=`${Oe}-treenode`,je=we.calc(we.paddingXS).div(2).equal(),_e=(0,He.mergeToken)(we,{treeCls:Oe,treeNodeCls:Ke,treeNodePadding:je});return[Pe(ve,_e),Ee&&Me(_e)].filter(Boolean)},Re=ve=>{const{controlHeightSM:we,controlItemBgHover:Ee,controlItemBgActive:Oe}=ve,Ke=we;return{titleHeight:Ke,indentSize:Ke,nodeHoverBg:Ee,nodeHoverColor:ve.colorText,nodeSelectedBg:Oe,nodeSelectedColor:ve.colorText}},Se=ve=>{const{colorTextLightSolid:we,colorPrimary:Ee}=ve;return Object.assign(Object.assign({},Re(ve)),{directoryNodeSelectedColor:we,directoryNodeSelectedBg:Ee})};var Ie=(0,Fe.I$)("Tree",(ve,we)=>{let{prefixCls:Ee}=we;return[{[ve.componentCls]:(0,dt.C2)(`${Ee}-checkbox`,ve)},ye(Ee,ve),(0,qe.Z)(ve)]},Se)},85278:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return we}});var x=ae(59301),dt=ae(60499),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"},qe=Le,He=ae(7657),Fe=function(Oe,Ke){return x.createElement(He.Z,(0,dt.Z)({},Oe,{ref:Ke,icon:qe}))},Me=x.forwardRef(Fe),fe=Me,xe=ae(52671),oe=ae(58617),Pe=ae(15075),ye=ae(43531),Re=ae(92310),Se=ae.n(Re),Ie=ae(22703),we=Ee=>{const{prefixCls:Oe,switcherIcon:Ke,treeNodeProps:je,showLine:_e,switcherLoadingIcon:Je}=Ee,{isLeaf:Ve,expanded:st,loading:at}=je;if(at)return x.isValidElement(Je)?Je:x.createElement(oe.Z,{className:`${Oe}-switcher-loading-icon`});let ht;if(_e&&typeof _e=="object"&&(ht=_e.showLeafIcon),Ve){if(!_e)return null;if(typeof ht!="boolean"&&ht){const pt=typeof ht=="function"?ht(je):ht,Ne=`${Oe}-switcher-line-custom-icon`;return x.isValidElement(pt)?(0,Ie.Tm)(pt,{className:Se()(pt.props.className||"",Ne)}):pt}return ht?x.createElement(xe.Z,{className:`${Oe}-switcher-line-icon`}):x.createElement("span",{className:`${Oe}-switcher-leaf-line`})}const Ct=`${Oe}-switcher-icon`,ze=typeof Ke=="function"?Ke(je):Ke;return x.isValidElement(ze)?(0,Ie.Tm)(ze,{className:Se()(ze.props.className||"",Ct)}):ze!==void 0?ze:_e?st?x.createElement(Pe.Z,{className:`${Oe}-switcher-line-icon`}):x.createElement(ye.Z,{className:`${Oe}-switcher-line-icon`}):x.createElement(fe,{className:Ct})}},86251:function(Xn,Mt){"use strict";Mt.byteLength=Me,Mt.toByteArray=xe,Mt.fromByteArray=ye;for(var ae=[],x=[],dt=typeof Uint8Array!="undefined"?Uint8Array:Array,Le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qe=0,He=Le.length;qe<He;++qe)ae[qe]=Le[qe],x[Le.charCodeAt(qe)]=qe;x[45]=62,x[95]=63;function Fe(Re){var Se=Re.length;if(Se%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Ie=Re.indexOf("=");Ie===-1&&(Ie=Se);var ve=Ie===Se?0:4-Ie%4;return[Ie,ve]}function Me(Re){var Se=Fe(Re),Ie=Se[0],ve=Se[1];return(Ie+ve)*3/4-ve}function fe(Re,Se,Ie){return(Se+Ie)*3/4-Ie}function xe(Re){var Se,Ie=Fe(Re),ve=Ie[0],we=Ie[1],Ee=new dt(fe(Re,ve,we)),Oe=0,Ke=we>0?ve-4:ve,je;for(je=0;je<Ke;je+=4)Se=x[Re.charCodeAt(je)]<<18|x[Re.charCodeAt(je+1)]<<12|x[Re.charCodeAt(je+2)]<<6|x[Re.charCodeAt(je+3)],Ee[Oe++]=Se>>16&255,Ee[Oe++]=Se>>8&255,Ee[Oe++]=Se&255;return we===2&&(Se=x[Re.charCodeAt(je)]<<2|x[Re.charCodeAt(je+1)]>>4,Ee[Oe++]=Se&255),we===1&&(Se=x[Re.charCodeAt(je)]<<10|x[Re.charCodeAt(je+1)]<<4|x[Re.charCodeAt(je+2)]>>2,Ee[Oe++]=Se>>8&255,Ee[Oe++]=Se&255),Ee}function oe(Re){return ae[Re>>18&63]+ae[Re>>12&63]+ae[Re>>6&63]+ae[Re&63]}function Pe(Re,Se,Ie){for(var ve,we=[],Ee=Se;Ee<Ie;Ee+=3)ve=(Re[Ee]<<16&16711680)+(Re[Ee+1]<<8&65280)+(Re[Ee+2]&255),we.push(oe(ve));return we.join("")}function ye(Re){for(var Se,Ie=Re.length,ve=Ie%3,we=[],Ee=16383,Oe=0,Ke=Ie-ve;Oe<Ke;Oe+=Ee)we.push(Pe(Re,Oe,Oe+Ee>Ke?Ke:Oe+Ee));return ve===1?(Se=Re[Ie-1],we.push(ae[Se>>2]+ae[Se<<4&63]+"==")):ve===2&&(Se=(Re[Ie-2]<<8)+Re[Ie-1],we.push(ae[Se>>10]+ae[Se>>4&63]+ae[Se<<2&63]+"=")),we.join("")}},19208:function(Xn,Mt,ae){"use strict";var x;var dt=ae(86251),Le=ae(67467),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mt.lW=fe,x=Oe,Mt.h2=50;var He=2147483647;x=He,fe.TYPED_ARRAY_SUPPORT=Fe(),!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 Fe(){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(se){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 Me(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,se){if(typeof ie=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ye(ie)}return xe(ie,ee,se)}fe.poolSize=8192;function xe(ie,ee,se){if(typeof ie=="string")return Re(ie,ee);if(ArrayBuffer.isView(ie))return Ie(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(an(ie,ArrayBuffer)||ie&&an(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(an(ie,SharedArrayBuffer)||ie&&an(ie.buffer,SharedArrayBuffer)))return ve(ie,ee,se);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var le=ie.valueOf&&ie.valueOf();if(le!=null&&le!==ie)return fe.from(le,ee,se);var Be=we(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,se);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,se){return xe(ie,ee,se)},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 Pe(ie,ee,se){return oe(ie),ie<=0?Me(ie):ee!==void 0?typeof se=="string"?Me(ie).fill(ee,se):Me(ie).fill(ee):Me(ie)}fe.alloc=function(ie,ee,se){return Pe(ie,ee,se)};function ye(ie){return oe(ie),Me(ie<0?0:Ee(ie)|0)}fe.allocUnsafe=function(ie){return ye(ie)},fe.allocUnsafeSlow=function(ie){return ye(ie)};function Re(ie,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!fe.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);var se=Ke(ie,ee)|0,le=Me(se),Be=le.write(ie,ee);return Be!==se&&(le=le.slice(0,Be)),le}function Se(ie){for(var ee=ie.length<0?0:Ee(ie.length)|0,se=Me(ee),le=0;le<ee;le+=1)se[le]=ie[le]&255;return se}function Ie(ie){if(an(ie,Uint8Array)){var ee=new Uint8Array(ie);return ve(ee.buffer,ee.byteOffset,ee.byteLength)}return Se(ie)}function ve(ie,ee,se){if(ee<0||ie.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(ie.byteLength<ee+(se||0))throw new RangeError('"length" is outside of buffer bounds');var le;return ee===void 0&&se===void 0?le=new Uint8Array(ie):se===void 0?le=new Uint8Array(ie,ee):le=new Uint8Array(ie,ee,se),Object.setPrototypeOf(le,fe.prototype),le}function we(ie){if(fe.isBuffer(ie)){var ee=Ee(ie.length)|0,se=Me(ee);return se.length===0||ie.copy(se,0,0,ee),se}if(ie.length!==void 0)return typeof ie.length!="number"||de(ie.length)?Me(0):Se(ie);if(ie.type==="Buffer"&&Array.isArray(ie.data))return Se(ie.data)}function Ee(ie){if(ie>=He)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+He.toString(16)+" bytes");return ie|0}function Oe(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,se){if(an(ee,Uint8Array)&&(ee=fe.from(ee,ee.offset,ee.byteLength)),an(se,Uint8Array)&&(se=fe.from(se,se.offset,se.byteLength)),!fe.isBuffer(ee)||!fe.isBuffer(se))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===se)return 0;for(var le=ee.length,Be=se.length,Ge=0,ut=Math.min(le,Be);Ge<ut;++Ge)if(ee[Ge]!==se[Ge]){le=ee[Ge],Be=se[Ge];break}return le<Be?-1:Be<le?1:0},fe.isEncoding=function(ee){switch(String(ee).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},fe.concat=function(ee,se){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return fe.alloc(0);var le;if(se===void 0)for(se=0,le=0;le<ee.length;++le)se+=ee[le].length;var Be=fe.allocUnsafe(se),Ge=0;for(le=0;le<ee.length;++le){var ut=ee[le];if(an(ut,Uint8Array))Ge+ut.length>Be.length?fe.from(ut).copy(Be,Ge):Uint8Array.prototype.set.call(Be,ut,Ge);else if(fe.isBuffer(ut))ut.copy(Be,Ge);else throw new TypeError('"list" argument must be an Array of Buffers');Ge+=ut.length}return Be};function Ke(ie,ee){if(fe.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||an(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var se=ie.length,le=arguments.length>2&&arguments[2]===!0;if(!le&&se===0)return 0;for(var Be=!1;;)switch(ee){case"ascii":case"latin1":case"binary":return se;case"utf8":case"utf-8":return hn(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se*2;case"hex":return se>>>1;case"base64":return kt(ie).length;default:if(Be)return le?-1:hn(ie).length;ee=(""+ee).toLowerCase(),Be=!0}}fe.byteLength=Ke;function je(ie,ee,se){var le=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((se===void 0||se>this.length)&&(se=this.length),se<=0)||(se>>>=0,ee>>>=0,se<=ee))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return Bt(this,ee,se);case"utf8":case"utf-8":return Ne(this,ee,se);case"ascii":return ot(this,ee,se);case"latin1":case"binary":return lt(this,ee,se);case"base64":return pt(this,ee,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,ee,se);default:if(le)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),le=!0}}fe.prototype._isBuffer=!0;function _e(ie,ee,se){var le=ie[ee];ie[ee]=ie[se],ie[se]=le}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 se=0;se<ee;se+=2)_e(this,se,se+1);return this},fe.prototype.swap32=function(){var ee=this.length;if(ee%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var se=0;se<ee;se+=4)_e(this,se,se+3),_e(this,se+1,se+2);return this},fe.prototype.swap64=function(){var ee=this.length;if(ee%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var se=0;se<ee;se+=8)_e(this,se,se+7),_e(this,se+1,se+6),_e(this,se+2,se+5),_e(this,se+3,se+4);return this},fe.prototype.toString=function(){var ee=this.length;return ee===0?"":arguments.length===0?Ne(this,0,ee):je.apply(this,arguments)},fe.prototype.toLocaleString=fe.prototype.toString,fe.prototype.equals=function(ee){if(!fe.isBuffer(ee))throw new TypeError("Argument must be a Buffer");return this===ee?!0:fe.compare(this,ee)===0},fe.prototype.inspect=function(){var ee="",se=Mt.h2;return ee=this.toString("hex",0,se).replace(/(.{2})/g,"$1 ").trim(),this.length>se&&(ee+=" ... "),"<Buffer "+ee+">"},qe&&(fe.prototype[qe]=fe.prototype.inspect),fe.prototype.compare=function(ee,se,le,Be,Ge){if(an(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(se===void 0&&(se=0),le===void 0&&(le=ee?ee.length:0),Be===void 0&&(Be=0),Ge===void 0&&(Ge=this.length),se<0||le>ee.length||Be<0||Ge>this.length)throw new RangeError("out of range index");if(Be>=Ge&&se>=le)return 0;if(Be>=Ge)return-1;if(se>=le)return 1;if(se>>>=0,le>>>=0,Be>>>=0,Ge>>>=0,this===ee)return 0;for(var ut=Ge-Be,mt=le-se,vt=Math.min(ut,mt),St=this.slice(Be,Ge),Dt=ee.slice(se,le),Qt=0;Qt<vt;++Qt)if(St[Qt]!==Dt[Qt]){ut=St[Qt],mt=Dt[Qt];break}return ut<mt?-1:mt<ut?1:0};function Je(ie,ee,se,le,Be){if(ie.length===0)return-1;if(typeof se=="string"?(le=se,se=0):se>2147483647?se=2147483647:se<-2147483648&&(se=-2147483648),se=+se,de(se)&&(se=Be?0:ie.length-1),se<0&&(se=ie.length+se),se>=ie.length){if(Be)return-1;se=ie.length-1}else if(se<0)if(Be)se=0;else return-1;if(typeof ee=="string"&&(ee=fe.from(ee,le)),fe.isBuffer(ee))return ee.length===0?-1:Ve(ie,ee,se,le,Be);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(ie,ee,se):Uint8Array.prototype.lastIndexOf.call(ie,ee,se):Ve(ie,[ee],se,le,Be);throw new TypeError("val must be string, number or Buffer")}function Ve(ie,ee,se,le,Be){var Ge=1,ut=ie.length,mt=ee.length;if(le!==void 0&&(le=String(le).toLowerCase(),le==="ucs2"||le==="ucs-2"||le==="utf16le"||le==="utf-16le")){if(ie.length<2||ee.length<2)return-1;Ge=2,ut/=2,mt/=2,se/=2}function vt(ct,Xt){return Ge===1?ct[Xt]:ct.readUInt16BE(Xt*Ge)}var St;if(Be){var Dt=-1;for(St=se;St<ut;St++)if(vt(ie,St)===vt(ee,Dt===-1?0:St-Dt)){if(Dt===-1&&(Dt=St),St-Dt+1===mt)return Dt*Ge}else Dt!==-1&&(St-=St-Dt),Dt=-1}else for(se+mt>ut&&(se=ut-mt),St=se;St>=0;St--){for(var Qt=!0,xt=0;xt<mt;xt++)if(vt(ie,St+xt)!==vt(ee,xt)){Qt=!1;break}if(Qt)return St}return-1}fe.prototype.includes=function(ee,se,le){return this.indexOf(ee,se,le)!==-1},fe.prototype.indexOf=function(ee,se,le){return Je(this,ee,se,le,!0)},fe.prototype.lastIndexOf=function(ee,se,le){return Je(this,ee,se,le,!1)};function st(ie,ee,se,le){se=Number(se)||0;var Be=ie.length-se;le?(le=Number(le),le>Be&&(le=Be)):le=Be;var Ge=ee.length;le>Ge/2&&(le=Ge/2);for(var ut=0;ut<le;++ut){var mt=parseInt(ee.substr(ut*2,2),16);if(de(mt))return ut;ie[se+ut]=mt}return ut}function at(ie,ee,se,le){return Fn(hn(ee,ie.length-se),ie,se,le)}function ht(ie,ee,se,le){return Fn(Tt(ee),ie,se,le)}function Ct(ie,ee,se,le){return Fn(kt(ee),ie,se,le)}function ze(ie,ee,se,le){return Fn(mn(ee,ie.length-se),ie,se,le)}fe.prototype.write=function(ee,se,le,Be){if(se===void 0)Be="utf8",le=this.length,se=0;else if(le===void 0&&typeof se=="string")Be=se,le=this.length,se=0;else if(isFinite(se))se=se>>>0,isFinite(le)?(le=le>>>0,Be===void 0&&(Be="utf8")):(Be=le,le=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ge=this.length-se;if((le===void 0||le>Ge)&&(le=Ge),ee.length>0&&(le<0||se<0)||se>this.length)throw new RangeError("Attempt to write outside buffer bounds");Be||(Be="utf8");for(var ut=!1;;)switch(Be){case"hex":return st(this,ee,se,le);case"utf8":case"utf-8":return at(this,ee,se,le);case"ascii":case"latin1":case"binary":return ht(this,ee,se,le);case"base64":return Ct(this,ee,se,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ze(this,ee,se,le);default:if(ut)throw new TypeError("Unknown encoding: "+Be);Be=(""+Be).toLowerCase(),ut=!0}},fe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pt(ie,ee,se){return ee===0&&se===ie.length?dt.fromByteArray(ie):dt.fromByteArray(ie.slice(ee,se))}function Ne(ie,ee,se){se=Math.min(ie.length,se);for(var le=[],Be=ee;Be<se;){var Ge=ie[Be],ut=null,mt=Ge>239?4:Ge>223?3:Ge>191?2:1;if(Be+mt<=se){var vt,St,Dt,Qt;switch(mt){case 1:Ge<128&&(ut=Ge);break;case 2:vt=ie[Be+1],(vt&192)===128&&(Qt=(Ge&31)<<6|vt&63,Qt>127&&(ut=Qt));break;case 3:vt=ie[Be+1],St=ie[Be+2],(vt&192)===128&&(St&192)===128&&(Qt=(Ge&15)<<12|(vt&63)<<6|St&63,Qt>2047&&(Qt<55296||Qt>57343)&&(ut=Qt));break;case 4:vt=ie[Be+1],St=ie[Be+2],Dt=ie[Be+3],(vt&192)===128&&(St&192)===128&&(Dt&192)===128&&(Qt=(Ge&15)<<18|(vt&63)<<12|(St&63)<<6|Dt&63,Qt>65535&&Qt<1114112&&(ut=Qt))}}ut===null?(ut=65533,mt=1):ut>65535&&(ut-=65536,le.push(ut>>>10&1023|55296),ut=56320|ut&1023),le.push(ut),Be+=mt}return Ot(le)}var Qe=4096;function Ot(ie){var ee=ie.length;if(ee<=Qe)return String.fromCharCode.apply(String,ie);for(var se="",le=0;le<ee;)se+=String.fromCharCode.apply(String,ie.slice(le,le+=Qe));return se}function ot(ie,ee,se){var le="";se=Math.min(ie.length,se);for(var Be=ee;Be<se;++Be)le+=String.fromCharCode(ie[Be]&127);return le}function lt(ie,ee,se){var le="";se=Math.min(ie.length,se);for(var Be=ee;Be<se;++Be)le+=String.fromCharCode(ie[Be]);return le}function Bt(ie,ee,se){var le=ie.length;(!ee||ee<0)&&(ee=0),(!se||se<0||se>le)&&(se=le);for(var Be="",Ge=ee;Ge<se;++Ge)Be+=ge[ie[Ge]];return Be}function We(ie,ee,se){for(var le=ie.slice(ee,se),Be="",Ge=0;Ge<le.length-1;Ge+=2)Be+=String.fromCharCode(le[Ge]+le[Ge+1]*256);return Be}fe.prototype.slice=function(ee,se){var le=this.length;ee=~~ee,se=se===void 0?le:~~se,ee<0?(ee+=le,ee<0&&(ee=0)):ee>le&&(ee=le),se<0?(se+=le,se<0&&(se=0)):se>le&&(se=le),se<ee&&(se=ee);var Be=this.subarray(ee,se);return Object.setPrototypeOf(Be,fe.prototype),Be};function ke(ie,ee,se){if(ie%1!==0||ie<0)throw new RangeError("offset is not uint");if(ie+ee>se)throw new RangeError("Trying to access beyond buffer length")}fe.prototype.readUintLE=fe.prototype.readUIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=this[ee],Ge=1,ut=0;++ut<se&&(Ge*=256);)Be+=this[ee+ut]*Ge;return Be},fe.prototype.readUintBE=fe.prototype.readUIntBE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=this[ee+--se],Ge=1;se>0&&(Ge*=256);)Be+=this[ee+--se]*Ge;return Be},fe.prototype.readUint8=fe.prototype.readUInt8=function(ee,se){return ee=ee>>>0,se||ke(ee,1,this.length),this[ee]},fe.prototype.readUint16LE=fe.prototype.readUInt16LE=function(ee,se){return ee=ee>>>0,se||ke(ee,2,this.length),this[ee]|this[ee+1]<<8},fe.prototype.readUint16BE=fe.prototype.readUInt16BE=function(ee,se){return ee=ee>>>0,se||ke(ee,2,this.length),this[ee]<<8|this[ee+1]},fe.prototype.readUint32LE=fe.prototype.readUInt32LE=function(ee,se){return ee=ee>>>0,se||ke(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,se){return ee=ee>>>0,se||ke(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},fe.prototype.readIntLE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=this[ee],Ge=1,ut=0;++ut<se&&(Ge*=256);)Be+=this[ee+ut]*Ge;return Ge*=128,Be>=Ge&&(Be-=Math.pow(2,8*se)),Be},fe.prototype.readIntBE=function(ee,se,le){ee=ee>>>0,se=se>>>0,le||ke(ee,se,this.length);for(var Be=se,Ge=1,ut=this[ee+--Be];Be>0&&(Ge*=256);)ut+=this[ee+--Be]*Ge;return Ge*=128,ut>=Ge&&(ut-=Math.pow(2,8*se)),ut},fe.prototype.readInt8=function(ee,se){return ee=ee>>>0,se||ke(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},fe.prototype.readInt16LE=function(ee,se){ee=ee>>>0,se||ke(ee,2,this.length);var le=this[ee]|this[ee+1]<<8;return le&32768?le|4294901760:le},fe.prototype.readInt16BE=function(ee,se){ee=ee>>>0,se||ke(ee,2,this.length);var le=this[ee+1]|this[ee]<<8;return le&32768?le|4294901760:le},fe.prototype.readInt32LE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},fe.prototype.readInt32BE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},fe.prototype.readFloatLE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),Le.read(this,ee,!0,23,4)},fe.prototype.readFloatBE=function(ee,se){return ee=ee>>>0,se||ke(ee,4,this.length),Le.read(this,ee,!1,23,4)},fe.prototype.readDoubleLE=function(ee,se){return ee=ee>>>0,se||ke(ee,8,this.length),Le.read(this,ee,!0,52,8)},fe.prototype.readDoubleBE=function(ee,se){return ee=ee>>>0,se||ke(ee,8,this.length),Le.read(this,ee,!1,52,8)};function At(ie,ee,se,le,Be,Ge){if(!fe.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>Be||ee<Ge)throw new RangeError('"value" argument is out of bounds');if(se+le>ie.length)throw new RangeError("Index out of range")}fe.prototype.writeUintLE=fe.prototype.writeUIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,le=le>>>0,!Be){var Ge=Math.pow(2,8*le)-1;At(this,ee,se,le,Ge,0)}var ut=1,mt=0;for(this[se]=ee&255;++mt<le&&(ut*=256);)this[se+mt]=ee/ut&255;return se+le},fe.prototype.writeUintBE=fe.prototype.writeUIntBE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,le=le>>>0,!Be){var Ge=Math.pow(2,8*le)-1;At(this,ee,se,le,Ge,0)}var ut=le-1,mt=1;for(this[se+ut]=ee&255;--ut>=0&&(mt*=256);)this[se+ut]=ee/mt&255;return se+le},fe.prototype.writeUint8=fe.prototype.writeUInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,1,255,0),this[se]=ee&255,se+1},fe.prototype.writeUint16LE=fe.prototype.writeUInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,65535,0),this[se]=ee&255,this[se+1]=ee>>>8,se+2},fe.prototype.writeUint16BE=fe.prototype.writeUInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,65535,0),this[se]=ee>>>8,this[se+1]=ee&255,se+2},fe.prototype.writeUint32LE=fe.prototype.writeUInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,4294967295,0),this[se+3]=ee>>>24,this[se+2]=ee>>>16,this[se+1]=ee>>>8,this[se]=ee&255,se+4},fe.prototype.writeUint32BE=fe.prototype.writeUInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,4294967295,0),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4},fe.prototype.writeIntLE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ge=Math.pow(2,8*le-1);At(this,ee,se,le,Ge-1,-Ge)}var ut=0,mt=1,vt=0;for(this[se]=ee&255;++ut<le&&(mt*=256);)ee<0&&vt===0&&this[se+ut-1]!==0&&(vt=1),this[se+ut]=(ee/mt>>0)-vt&255;return se+le},fe.prototype.writeIntBE=function(ee,se,le,Be){if(ee=+ee,se=se>>>0,!Be){var Ge=Math.pow(2,8*le-1);At(this,ee,se,le,Ge-1,-Ge)}var ut=le-1,mt=1,vt=0;for(this[se+ut]=ee&255;--ut>=0&&(mt*=256);)ee<0&&vt===0&&this[se+ut+1]!==0&&(vt=1),this[se+ut]=(ee/mt>>0)-vt&255;return se+le},fe.prototype.writeInt8=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,1,127,-128),ee<0&&(ee=255+ee+1),this[se]=ee&255,se+1},fe.prototype.writeInt16LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,32767,-32768),this[se]=ee&255,this[se+1]=ee>>>8,se+2},fe.prototype.writeInt16BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,2,32767,-32768),this[se]=ee>>>8,this[se+1]=ee&255,se+2},fe.prototype.writeInt32LE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,2147483647,-2147483648),this[se]=ee&255,this[se+1]=ee>>>8,this[se+2]=ee>>>16,this[se+3]=ee>>>24,se+4},fe.prototype.writeInt32BE=function(ee,se,le){return ee=+ee,se=se>>>0,le||At(this,ee,se,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[se]=ee>>>24,this[se+1]=ee>>>16,this[se+2]=ee>>>8,this[se+3]=ee&255,se+4};function Kt(ie,ee,se,le,Be,Ge){if(se+le>ie.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("Index out of range")}function Ht(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Kt(ie,ee,se,4,34028234663852886e22,-34028234663852886e22),Le.write(ie,ee,se,le,23,4),se+4}fe.prototype.writeFloatLE=function(ee,se,le){return Ht(this,ee,se,!0,le)},fe.prototype.writeFloatBE=function(ee,se,le){return Ht(this,ee,se,!1,le)};function nt(ie,ee,se,le,Be){return ee=+ee,se=se>>>0,Be||Kt(ie,ee,se,8,17976931348623157e292,-17976931348623157e292),Le.write(ie,ee,se,le,52,8),se+8}fe.prototype.writeDoubleLE=function(ee,se,le){return nt(this,ee,se,!0,le)},fe.prototype.writeDoubleBE=function(ee,se,le){return nt(this,ee,se,!1,le)},fe.prototype.copy=function(ee,se,le,Be){if(!fe.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(le||(le=0),!Be&&Be!==0&&(Be=this.length),se>=ee.length&&(se=ee.length),se||(se=0),Be>0&&Be<le&&(Be=le),Be===le||ee.length===0||this.length===0)return 0;if(se<0)throw new RangeError("targetStart out of bounds");if(le<0||le>=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-se<Be-le&&(Be=ee.length-se+le);var Ge=Be-le;return this===ee&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(se,le,Be):Uint8Array.prototype.set.call(ee,this.subarray(le,Be),se),Ge},fe.prototype.fill=function(ee,se,le,Be){if(typeof ee=="string"){if(typeof se=="string"?(Be=se,se=0,le=this.length):typeof le=="string"&&(Be=le,le=this.length),Be!==void 0&&typeof Be!="string")throw new TypeError("encoding must be a string");if(typeof Be=="string"&&!fe.isEncoding(Be))throw new TypeError("Unknown encoding: "+Be);if(ee.length===1){var Ge=ee.charCodeAt(0);(Be==="utf8"&&Ge<128||Be==="latin1")&&(ee=Ge)}}else typeof ee=="number"?ee=ee&255:typeof ee=="boolean"&&(ee=Number(ee));if(se<0||this.length<se||this.length<le)throw new RangeError("Out of range index");if(le<=se)return this;se=se>>>0,le=le===void 0?this.length:le>>>0,ee||(ee=0);var ut;if(typeof ee=="number")for(ut=se;ut<le;++ut)this[ut]=ee;else{var mt=fe.isBuffer(ee)?ee:fe.from(ee,Be),vt=mt.length;if(vt===0)throw new TypeError('The value "'+ee+'" is invalid for argument "value"');for(ut=0;ut<le-se;++ut)this[ut+se]=mt[ut%vt]}return this};var Pt=/[^+/0-9A-Za-z-_]/g;function Rt(ie){if(ie=ie.split("=")[0],ie=ie.trim().replace(Pt,""),ie.length<2)return"";for(;ie.length%4!==0;)ie=ie+"=";return ie}function hn(ie,ee){ee=ee||1/0;for(var se,le=ie.length,Be=null,Ge=[],ut=0;ut<le;++ut){if(se=ie.charCodeAt(ut),se>55295&&se<57344){if(!Be){if(se>56319){(ee-=3)>-1&&Ge.push(239,191,189);continue}else if(ut+1===le){(ee-=3)>-1&&Ge.push(239,191,189);continue}Be=se;continue}if(se<56320){(ee-=3)>-1&&Ge.push(239,191,189),Be=se;continue}se=(Be-55296<<10|se-56320)+65536}else Be&&(ee-=3)>-1&&Ge.push(239,191,189);if(Be=null,se<128){if((ee-=1)<0)break;Ge.push(se)}else if(se<2048){if((ee-=2)<0)break;Ge.push(se>>6|192,se&63|128)}else if(se<65536){if((ee-=3)<0)break;Ge.push(se>>12|224,se>>6&63|128,se&63|128)}else if(se<1114112){if((ee-=4)<0)break;Ge.push(se>>18|240,se>>12&63|128,se>>6&63|128,se&63|128)}else throw new Error("Invalid code point")}return Ge}function Tt(ie){for(var ee=[],se=0;se<ie.length;++se)ee.push(ie.charCodeAt(se)&255);return ee}function mn(ie,ee){for(var se,le,Be,Ge=[],ut=0;ut<ie.length&&!((ee-=2)<0);++ut)se=ie.charCodeAt(ut),le=se>>8,Be=se%256,Ge.push(Be),Ge.push(le);return Ge}function kt(ie){return dt.toByteArray(Rt(ie))}function Fn(ie,ee,se,le){for(var Be=0;Be<le&&!(Be+se>=ee.length||Be>=ie.length);++Be)ee[Be+se]=ie[Be];return Be}function an(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),se=0;se<16;++se)for(var le=se*16,Be=0;Be<16;++Be)ee[le+Be]=ie[se]+ie[Be];return ee}()},14625:function(Xn){function Mt(x){var dt,Le,qe="";if(typeof x=="string"||typeof x=="number")qe+=x;else if(typeof x=="object")if(Array.isArray(x)){var He=x.length;for(dt=0;dt<He;dt++)x[dt]&&(Le=Mt(x[dt]))&&(qe&&(qe+=" "),qe+=Le)}else for(Le in x)x[Le]&&(qe&&(qe+=" "),qe+=Le);return qe}function ae(){for(var x,dt,Le=0,qe="",He=arguments.length;Le<He;Le++)(x=arguments[Le])&&(dt=Mt(x))&&(qe&&(qe+=" "),qe+=dt);return qe}Xn.exports=ae,Xn.exports.clsx=ae},99498:function(Xn,Mt,ae){(function(x){x(ae(89780))})(function(x){x.defineOption("placeholder","",function(fe,xe,oe){var Pe=oe&&oe!=x.Init;if(xe&&!Pe)fe.on("blur",He),fe.on("change",Fe),fe.on("swapDoc",Fe),x.on(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose=function(){qe(fe)}),Fe(fe);else if(!xe&&Pe){fe.off("blur",He),fe.off("change",Fe),fe.off("swapDoc",Fe),x.off(fe.getInputField(),"compositionupdate",fe.state.placeholderCompose),dt(fe);var ye=fe.getWrapperElement();ye.className=ye.className.replace(" CodeMirror-empty","")}xe&&!fe.hasFocus()&&He(fe)});function dt(fe){fe.state.placeholder&&(fe.state.placeholder.parentNode.removeChild(fe.state.placeholder),fe.state.placeholder=null)}function Le(fe){dt(fe);var xe=fe.state.placeholder=document.createElement("pre");xe.style.cssText="height: 0; overflow: visible",xe.style.direction=fe.getOption("direction"),xe.className="CodeMirror-placeholder CodeMirror-line-like";var oe=fe.getOption("placeholder");typeof oe=="string"&&(oe=document.createTextNode(oe)),xe.appendChild(oe),fe.display.lineSpace.insertBefore(xe,fe.display.lineSpace.firstChild)}function qe(fe){setTimeout(function(){var xe=!1,oe=fe.getInputField();oe.nodeName=="TEXTAREA"?xe=!oe.value:fe.lineCount()==1&&(xe=!/[^\u200b]/.test(oe.querySelector(".CodeMirror-line").textContent)),xe?Le(fe):dt(fe)},20)}function He(fe){Me(fe)&&Le(fe)}function Fe(fe){var xe=fe.getWrapperElement(),oe=Me(fe);xe.className=xe.className.replace(" CodeMirror-empty","")+(oe?" CodeMirror-empty":""),oe?Le(fe):dt(fe)}function Me(fe){return fe.lineCount()===1&&fe.getLine(0)===""}})},25717:function(Xn,Mt,ae){(function(x){x(ae(89780))})(function(x){var dt={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Le=x.Pos;x.defineOption("autoCloseBrackets",!1,function(Ie,ve,we){we&&we!=x.Init&&(Ie.removeKeyMap(He),Ie.state.closeBrackets=null),ve&&(Fe(qe(ve,"pairs")),Ie.state.closeBrackets=ve,Ie.addKeyMap(He))});function qe(Ie,ve){return ve=="pairs"&&typeof Ie=="string"?Ie:typeof Ie=="object"&&Ie[ve]!=null?Ie[ve]:dt[ve]}var He={Backspace:xe,Enter:oe};function Fe(Ie){for(var ve=0;ve<Ie.length;ve++){var we=Ie.charAt(ve),Ee="'"+we+"'";He[Ee]||(He[Ee]=Me(we))}}Fe(dt.pairs+"`");function Me(Ie){return function(ve){return ye(ve,Ie)}}function fe(Ie){var ve=Ie.state.closeBrackets;if(!ve||ve.override)return ve;var we=Ie.getModeAt(Ie.getCursor());return we.closeBrackets||ve}function xe(Ie){var ve=fe(Ie);if(!ve||Ie.getOption("disableInput"))return x.Pass;for(var we=qe(ve,"pairs"),Ee=Ie.listSelections(),Oe=0;Oe<Ee.length;Oe++){if(!Ee[Oe].empty())return x.Pass;var Ke=Re(Ie,Ee[Oe].head);if(!Ke||we.indexOf(Ke)%2!=0)return x.Pass}for(var Oe=Ee.length-1;Oe>=0;Oe--){var je=Ee[Oe].head;Ie.replaceRange("",Le(je.line,je.ch-1),Le(je.line,je.ch+1),"+delete")}}function oe(Ie){var ve=fe(Ie),we=ve&&qe(ve,"explode");if(!we||Ie.getOption("disableInput"))return x.Pass;for(var Ee=Ie.listSelections(),Oe=0;Oe<Ee.length;Oe++){if(!Ee[Oe].empty())return x.Pass;var Ke=Re(Ie,Ee[Oe].head);if(!Ke||we.indexOf(Ke)%2!=0)return x.Pass}Ie.operation(function(){var je=Ie.lineSeparator()||`
`;Ie.replaceSelection(je+je,null),Ie.execCommand("goCharLeft"),Ee=Ie.listSelections();for(var _e=0;_e<Ee.length;_e++){var Je=Ee[_e].head.line;Ie.indentLine(Je,null,!0),Ie.indentLine(Je+1,null,!0)}})}function Pe(Ie){var ve=x.cmpPos(Ie.anchor,Ie.head)>0;return{anchor:new Le(Ie.anchor.line,Ie.anchor.ch+(ve?-1:1)),head:new Le(Ie.head.line,Ie.head.ch+(ve?1:-1))}}function ye(Ie,ve){var we=fe(Ie);if(!we||Ie.getOption("disableInput"))return x.Pass;var Ee=qe(we,"pairs"),Oe=Ee.indexOf(ve);if(Oe==-1)return x.Pass;for(var Ke=qe(we,"closeBefore"),je=qe(we,"triples"),_e=Ee.charAt(Oe+1)==ve,Je=Ie.listSelections(),Ve=Oe%2==0,st,at=0;at<Je.length;at++){var ht=Je[at],Ct=ht.head,ze,pt=Ie.getRange(Ct,Le(Ct.line,Ct.ch+1));if(Ve&&!ht.empty())ze="surround";else if((_e||!Ve)&&pt==ve)_e&&Se(Ie,Ct)?ze="both":je.indexOf(ve)>=0&&Ie.getRange(Ct,Le(Ct.line,Ct.ch+3))==ve+ve+ve?ze="skipThree":ze="skip";else if(_e&&Ct.ch>1&&je.indexOf(ve)>=0&&Ie.getRange(Le(Ct.line,Ct.ch-2),Ct)==ve+ve){if(Ct.ch>2&&/\bstring/.test(Ie.getTokenTypeAt(Le(Ct.line,Ct.ch-2))))return x.Pass;ze="addFour"}else if(_e){var Ne=Ct.ch==0?" ":Ie.getRange(Le(Ct.line,Ct.ch-1),Ct);if(!x.isWordChar(pt)&&Ne!=ve&&!x.isWordChar(Ne))ze="both";else return x.Pass}else if(Ve&&(pt.length===0||/\s/.test(pt)||Ke.indexOf(pt)>-1))ze="both";else return x.Pass;if(!st)st=ze;else if(st!=ze)return x.Pass}var Qe=Oe%2?Ee.charAt(Oe-1):ve,Ot=Oe%2?ve:Ee.charAt(Oe+1);Ie.operation(function(){if(st=="skip")Ie.execCommand("goCharRight");else if(st=="skipThree")for(var ot=0;ot<3;ot++)Ie.execCommand("goCharRight");else if(st=="surround"){for(var lt=Ie.getSelections(),ot=0;ot<lt.length;ot++)lt[ot]=Qe+lt[ot]+Ot;Ie.replaceSelections(lt,"around"),lt=Ie.listSelections().slice();for(var ot=0;ot<lt.length;ot++)lt[ot]=Pe(lt[ot]);Ie.setSelections(lt)}else st=="both"?(Ie.replaceSelection(Qe+Ot,null),Ie.triggerElectric(Qe+Ot),Ie.execCommand("goCharLeft")):st=="addFour"&&(Ie.replaceSelection(Qe+Qe+Qe+Qe,"before"),Ie.execCommand("goCharRight"))})}function Re(Ie,ve){var we=Ie.getRange(Le(ve.line,ve.ch-1),Le(ve.line,ve.ch+1));return we.length==2?we:null}function Se(Ie,ve){var we=Ie.getTokenAt(Le(ve.line,ve.ch+1));return/\bstring/.test(we.type)&&we.start==ve.ch&&(ve.ch==0||!/\bstring/.test(Ie.getTokenTypeAt(ve)))}})},6313:function(Xn,Mt,ae){(function(x){x(ae(89780),ae(32855))})(function(x){x.defineOption("autoCloseTags",!1,function(xe,oe,Pe){if(Pe!=x.Init&&Pe&&xe.removeKeyMap("autoCloseTags"),!!oe){var ye={name:"autoCloseTags"};(typeof oe!="object"||oe.whenClosing!==!1)&&(ye["'/'"]=function(Re){return Fe(Re)}),(typeof oe!="object"||oe.whenOpening!==!1)&&(ye["'>'"]=function(Re){return qe(Re)}),xe.addKeyMap(ye)}});var dt=["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 qe(xe){if(xe.getOption("disableInput"))return x.Pass;for(var oe=xe.listSelections(),Pe=[],ye=xe.getOption("autoCloseTags"),Re=0;Re<oe.length;Re++){if(!oe[Re].empty())return x.Pass;var Se=oe[Re].head,Ie=xe.getTokenAt(Se),ve=x.innerMode(xe.getMode(),Ie.state),we=ve.state,Ee=ve.mode.xmlCurrentTag&&ve.mode.xmlCurrentTag(we),Oe=Ee&&Ee.name;if(!Oe)return x.Pass;var Ke=ve.mode.configuration=="html",je=typeof ye=="object"&&ye.dontCloseTags||Ke&&dt,_e=typeof ye=="object"&&ye.indentTags||Ke&&Le;Ie.end>Se.ch&&(Oe=Oe.slice(0,Oe.length-Ie.end+Se.ch));var Je=Oe.toLowerCase();if(!Oe||Ie.type=="string"&&(Ie.end!=Se.ch||!/[\"\']/.test(Ie.string.charAt(Ie.string.length-1))||Ie.string.length==1)||Ie.type=="tag"&&Ee.close||Ie.string.indexOf("/")==Se.ch-Ie.start-1||je&&Me(je,Je)>-1||fe(xe,ve.mode.xmlCurrentContext&&ve.mode.xmlCurrentContext(we)||[],Oe,Se,!0))return x.Pass;var Ve=typeof ye=="object"&&ye.emptyTags;if(Ve&&Me(Ve,Oe)>-1){Pe[Re]={text:"/>",newPos:x.Pos(Se.line,Se.ch+2)};continue}var st=_e&&Me(_e,Je)>-1;Pe[Re]={indent:st,text:">"+(st?`
`:"")+"</"+Oe+">",newPos:st?x.Pos(Se.line+1,0):x.Pos(Se.line,Se.ch+1)}}for(var at=typeof ye=="object"&&ye.dontIndentOnAutoClose,Re=oe.length-1;Re>=0;Re--){var ht=Pe[Re];xe.replaceRange(ht.text,oe[Re].head,oe[Re].anchor,"+insert");var Ct=xe.listSelections().slice(0);Ct[Re]={head:ht.newPos,anchor:ht.newPos},xe.setSelections(Ct),!at&&ht.indent&&(xe.indentLine(ht.newPos.line,null,!0),xe.indentLine(ht.newPos.line+1,null,!0))}}function He(xe,oe){for(var Pe=xe.listSelections(),ye=[],Re=oe?"/":"</",Se=xe.getOption("autoCloseTags"),Ie=typeof Se=="object"&&Se.dontIndentOnSlash,ve=0;ve<Pe.length;ve++){if(!Pe[ve].empty())return x.Pass;var we=Pe[ve].head,Ee=xe.getTokenAt(we),Oe=x.innerMode(xe.getMode(),Ee.state),Ke=Oe.state;if(oe&&(Ee.type=="string"||Ee.string.charAt(0)!="<"||Ee.start!=we.ch-1))return x.Pass;var je,_e=Oe.mode.name!="xml"&&xe.getMode().name=="htmlmixed";if(_e&&Oe.mode.name=="javascript")je=Re+"script";else if(_e&&Oe.mode.name=="css")je=Re+"style";else{var Je=Oe.mode.xmlCurrentContext&&Oe.mode.xmlCurrentContext(Ke);if(!Je||Je.length&&fe(xe,Je,Je[Je.length-1],we))return x.Pass;je=Re+Je[Je.length-1]}xe.getLine(we.line).charAt(Ee.end)!=">"&&(je+=">"),ye[ve]=je}if(xe.replaceSelections(ye),Pe=xe.listSelections(),!Ie)for(var ve=0;ve<Pe.length;ve++)(ve==Pe.length-1||Pe[ve].head.line<Pe[ve+1].head.line)&&xe.indentLine(Pe[ve].head.line)}function Fe(xe){return xe.getOption("disableInput")?x.Pass:He(xe,!0)}x.commands.closeTag=function(xe){return He(xe)};function Me(xe,oe){if(xe.indexOf)return xe.indexOf(oe);for(var Pe=0,ye=xe.length;Pe<ye;++Pe)if(xe[Pe]==oe)return Pe;return-1}function fe(xe,oe,Pe,ye,Re){if(!x.scanForClosingTag)return!1;var Se=Math.min(xe.lastLine()+1,ye.line+500),Ie=x.scanForClosingTag(xe,ye,null,Se);if(!Ie||Ie.tag!=Pe)return!1;for(var ve=Re?1:0,we=oe.length-1;we>=0&&oe[we]==Pe;we--)++ve;ye=Ie.to;for(var we=1;we<ve;we++){var Ee=x.scanForClosingTag(xe,ye,null,Se);if(!Ee||Ee.tag!=Pe)return!1;ye=Ee.to}return!0}})},32855:function(Xn,Mt,ae){(function(x){x(ae(89780))})(function(x){"use strict";var dt=x.Pos;function Le(we,Ee){return we.line-Ee.line||we.ch-Ee.ch}var qe="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",He=qe+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Fe=new RegExp("<(/?)(["+qe+"]["+He+"]*)","g");function Me(we,Ee,Oe,Ke){this.line=Ee,this.ch=Oe,this.cm=we,this.text=we.getLine(Ee),this.min=Ke?Math.max(Ke.from,we.firstLine()):we.firstLine(),this.max=Ke?Math.min(Ke.to-1,we.lastLine()):we.lastLine()}function fe(we,Ee){var Oe=we.cm.getTokenTypeAt(dt(we.line,Ee));return Oe&&/\btag\b/.test(Oe)}function xe(we){if(!(we.line>=we.max))return we.ch=0,we.text=we.cm.getLine(++we.line),!0}function oe(we){if(!(we.line<=we.min))return we.text=we.cm.getLine(--we.line),we.ch=we.text.length,!0}function Pe(we){for(;;){var Ee=we.text.indexOf(">",we.ch);if(Ee==-1){if(xe(we))continue;return}if(!fe(we,Ee+1)){we.ch=Ee+1;continue}var Oe=we.text.lastIndexOf("/",Ee),Ke=Oe>-1&&!/\S/.test(we.text.slice(Oe+1,Ee));return we.ch=Ee+1,Ke?"selfClose":"regular"}}function ye(we){for(;;){var Ee=we.ch?we.text.lastIndexOf("<",we.ch-1):-1;if(Ee==-1){if(oe(we))continue;return}if(!fe(we,Ee+1)){we.ch=Ee;continue}Fe.lastIndex=Ee,we.ch=Ee;var Oe=Fe.exec(we.text);if(Oe&&Oe.index==Ee)return Oe}}function Re(we){for(;;){Fe.lastIndex=we.ch;var Ee=Fe.exec(we.text);if(!Ee){if(xe(we))continue;return}if(!fe(we,Ee.index+1)){we.ch=Ee.index+1;continue}return we.ch=Ee.index+Ee[0].length,Ee}}function Se(we){for(;;){var Ee=we.ch?we.text.lastIndexOf(">",we.ch-1):-1;if(Ee==-1){if(oe(we))continue;return}if(!fe(we,Ee+1)){we.ch=Ee;continue}var Oe=we.text.lastIndexOf("/",Ee),Ke=Oe>-1&&!/\S/.test(we.text.slice(Oe+1,Ee));return we.ch=Ee+1,Ke?"selfClose":"regular"}}function Ie(we,Ee){for(var Oe=[];;){var Ke=Re(we),je,_e=we.line,Je=we.ch-(Ke?Ke[0].length:0);if(!Ke||!(je=Pe(we)))return;if(je!="selfClose")if(Ke[1]){for(var Ve=Oe.length-1;Ve>=0;--Ve)if(Oe[Ve]==Ke[2]){Oe.length=Ve;break}if(Ve<0&&(!Ee||Ee==Ke[2]))return{tag:Ke[2],from:dt(_e,Je),to:dt(we.line,we.ch)}}else Oe.push(Ke[2])}}function ve(we,Ee){for(var Oe=[];;){var Ke=Se(we);if(!Ke)return;if(Ke=="selfClose"){ye(we);continue}var je=we.line,_e=we.ch,Je=ye(we);if(!Je)return;if(Je[1])Oe.push(Je[2]);else{for(var Ve=Oe.length-1;Ve>=0;--Ve)if(Oe[Ve]==Je[2]){Oe.length=Ve;break}if(Ve<0&&(!Ee||Ee==Je[2]))return{tag:Je[2],from:dt(we.line,we.ch),to:dt(je,_e)}}}}x.registerHelper("fold","xml",function(we,Ee){for(var Oe=new Me(we,Ee.line,0);;){var Ke=Re(Oe);if(!Ke||Oe.line!=Ee.line)return;var je=Pe(Oe);if(!je)return;if(!Ke[1]&&je!="selfClose"){var _e=dt(Oe.line,Oe.ch),Je=Ie(Oe,Ke[2]);return Je&&Le(Je.from,_e)>0?{from:_e,to:Je.from}:null}}}),x.findMatchingTag=function(we,Ee,Oe){var Ke=new Me(we,Ee.line,Ee.ch,Oe);if(!(Ke.text.indexOf(">")==-1&&Ke.text.indexOf("<")==-1)){var je=Pe(Ke),_e=je&&dt(Ke.line,Ke.ch),Je=je&&ye(Ke);if(!(!je||!Je||Le(Ke,Ee)>0)){var Ve={from:dt(Ke.line,Ke.ch),to:_e,tag:Je[2]};return je=="selfClose"?{open:Ve,close:null,at:"open"}:Je[1]?{open:ve(Ke,Je[2]),close:Ve,at:"close"}:(Ke=new Me(we,_e.line,_e.ch,Oe),{open:Ve,close:Ie(Ke,Je[2]),at:"open"})}}},x.findEnclosingTag=function(we,Ee,Oe,Ke){for(var je=new Me(we,Ee.line,Ee.ch,Oe);;){var _e=ve(je,Ke);if(!_e)break;var Je=new Me(we,Ee.line,Ee.ch,Oe),Ve=Ie(Je,_e.tag);if(Ve)return{open:_e,close:Ve}}},x.scanForClosingTag=function(we,Ee,Oe,Ke){var je=new Me(we,Ee.line,Ee.ch,Ke?{from:0,to:Ke}:null);return Ie(je,Oe)}})},89780:function(Xn){(function(Mt,ae){Xn.exports=ae()})(this,function(){"use strict";var Mt=navigator.userAgent,ae=navigator.platform,x=/gecko\/\d/i.test(Mt),dt=/MSIE \d/.test(Mt),Le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Mt),qe=/Edge\/(\d+)/.exec(Mt),He=dt||Le||qe,Fe=He&&(dt?document.documentMode||6:+(qe||Le)[1]),Me=!qe&&/WebKit\//.test(Mt),fe=Me&&/Qt\/\d+\.\d+/.test(Mt),xe=!qe&&/Chrome\//.test(Mt),oe=/Opera\//.test(Mt),Pe=/Apple Computer/.test(navigator.vendor),ye=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Mt),Re=/PhantomJS/.test(Mt),Se=!qe&&/AppleWebKit/.test(Mt)&&/Mobile\/\w+/.test(Mt),Ie=/Android/.test(Mt),ve=Se||Ie||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Mt),we=Se||/Mac/.test(ae),Ee=/\bCrOS\b/.test(Mt),Oe=/win/i.test(ae),Ke=oe&&Mt.match(/Version\/(\d*\.\d*)/);Ke&&(Ke=Number(Ke[1])),Ke&&Ke>=15&&(oe=!1,Me=!0);var je=we&&(fe||oe&&(Ke==null||Ke<12.11)),_e=x||He&&Fe>=9;function Je(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ve=function(a,b){var ne=a.className,te=Je(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 st(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function at(a,b){return st(a).appendChild(b)}function ht(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 Te=0;Te<b.length;++Te)ue.appendChild(b[Te]);return ue}function Ct(a,b,ne,te){var ue=ht(a,b,ne,te);return ue.setAttribute("role","presentation"),ue}var ze;document.createRange?ze=function(a,b,ne,te){var ue=document.createRange();return ue.setEnd(te||a,ne),ue.setStart(a,b),ue}:ze=function(a,b,ne){var te=document.body.createTextRange();try{te.moveToElementText(a.parentNode)}catch(ue){return te}return te.collapse(!0),te.moveEnd("character",ne),te.moveStart("character",b),te};function pt(a,b){if(b.nodeType==3&&(b=b.parentNode),a.contains)return a.contains(b);do if(b.nodeType==11&&(b=b.host),b==a)return!0;while(b=b.parentNode)}function Ne(){var a;try{a=document.activeElement}catch(b){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function Qe(a,b){var ne=a.className;Je(b).test(ne)||(a.className+=(ne?" ":"")+b)}function Ot(a,b){for(var ne=a.split(" "),te=0;te<ne.length;te++)ne[te]&&!Je(ne[te]).test(b)&&(b+=" "+ne[te]);return b}var ot=function(a){a.select()};Se?ot=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:He&&(ot=function(a){try{a.select()}catch(b){}});function lt(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function Bt(a,b,ne){b||(b={});for(var te in a)a.hasOwnProperty(te)&&(ne!==!1||!b.hasOwnProperty(te))&&(b[te]=a[te]);return b}function We(a,b,ne,te,ue){b==null&&(b=a.search(/[^\s\u00a0]/),b==-1&&(b=a.length));for(var Te=te||0,et=ue||0;;){var yt=a.indexOf(" ",Te);if(yt<0||yt>=b)return et+(b-Te);et+=yt-Te,et+=ne-et%ne,Te=yt+1}}var ke=function(){this.id=null,this.f=null,this.time=0,this.handler=lt(this.onTimeout,this)};ke.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},ke.prototype.set=function(a,b){this.f=b;var ne=+new Date+a;(!this.id||ne<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=ne)};function At(a,b){for(var ne=0;ne<a.length;++ne)if(a[ne]==b)return ne;return-1}var Kt=50,Ht={toString:function(){return"CodeMirror.Pass"}},nt={scroll:!1},Pt={origin:"*mouse"},Rt={origin:"+move"};function hn(a,b,ne){for(var te=0,ue=0;;){var Te=a.indexOf(" ",te);Te==-1&&(Te=a.length);var et=Te-te;if(Te==a.length||ue+et>=b)return te+Math.min(et,b-ue);if(ue+=Te-te,ue+=ne-ue%ne,te=Te+1,ue>=b)return te}}var Tt=[""];function mn(a){for(;Tt.length<=a;)Tt.push(kt(Tt)+" ");return Tt[a]}function kt(a){return a[a.length-1]}function Fn(a,b){for(var ne=[],te=0;te<a.length;te++)ne[te]=b(a[te],te);return ne}function an(a,b,ne){for(var te=0,ue=ne(b);te<a.length&&ne(a[te])<=ue;)te++;a.splice(te,0,b)}function de(){}function ge(a,b){var ne;return Object.create?ne=Object.create(a):(de.prototype=a,ne=new de),b&&Bt(b,ne),ne}var ie=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ee(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ie.test(a))}function se(a,b){return b?b.source.indexOf("\\w")>-1&&ee(a)?!0:b.test(a):ee(a)}function le(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 Ge(a){return a.charCodeAt(0)>=768&&Be.test(a)}function ut(a,b,ne){for(;(ne<0?b>0:b<a.length)&&Ge(a.charAt(b));)b+=ne;return b}function mt(a,b,ne){for(var te=b>ne?-1:1;;){if(b==ne)return b;var ue=(b+ne)/2,Te=te<0?Math.ceil(ue):Math.floor(ue);if(Te==b)return a(Te)?b:ne;a(Te)?ne=Te:b=Te+te}}function vt(a,b,ne,te){if(!a)return te(b,ne,"ltr",0);for(var ue=!1,Te=0;Te<a.length;++Te){var et=a[Te];(et.from<ne&&et.to>b||b==ne&&et.to==b)&&(te(Math.max(et.from,b),Math.min(et.to,ne),et.level==1?"rtl":"ltr",Te),ue=!0)}ue||te(b,ne,"ltr")}var St=null;function Dt(a,b,ne){var te;St=null;for(var ue=0;ue<a.length;++ue){var Te=a[ue];if(Te.from<b&&Te.to>b)return ue;Te.to==b&&(Te.from!=Te.to&&ne=="before"?te=ue:St=ue),Te.from==b&&(Te.from!=Te.to&&ne!="before"?te=ue:St=ue)}return te!=null?te:St}var Qt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Nt){return Nt<=247?a.charAt(Nt):1424<=Nt&&Nt<=1524?"R":1536<=Nt&&Nt<=1785?b.charAt(Nt-1536):1774<=Nt&&Nt<=2220?"r":8192<=Nt&&Nt<=8203?"w":Nt==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ue=/[stwN]/,Te=/[LRr]/,et=/[Lb1n]/,yt=/[1n]/;function Ft(Nt,Nn,Hn){this.level=Nt,this.from=Nn,this.to=Hn}return function(Nt,Nn){var Hn=Nn=="ltr"?"L":"R";if(Nt.length==0||Nn=="ltr"&&!te.test(Nt))return!1;for(var Pr=Nt.length,wr=[],vi=0;vi<Pr;++vi)wr.push(ne(Nt.charCodeAt(vi)));for(var Ki=0,fo=Hn;Ki<Pr;++Ki){var Oo=wr[Ki];Oo=="m"?wr[Ki]=fo:fo=Oo}for(var Wo=0,Po=Hn;Wo<Pr;++Wo){var la=wr[Wo];la=="1"&&Po=="r"?wr[Wo]="n":Te.test(la)&&(Po=la,la=="r"&&(wr[Wo]="R"))}for(var Ua=1,xa=wr[0];Ua<Pr-1;++Ua){var Ha=wr[Ua];Ha=="+"&&xa=="1"&&wr[Ua+1]=="1"?wr[Ua]="1":Ha==","&&xa==wr[Ua+1]&&(xa=="1"||xa=="n")&&(wr[Ua]=xa),xa=Ha}for(var Sl=0;Sl<Pr;++Sl){var Ku=wr[Sl];if(Ku==",")wr[Sl]="N";else if(Ku=="%"){var Xl=void 0;for(Xl=Sl+1;Xl<Pr&&wr[Xl]=="%";++Xl);for(var xc=Sl&&wr[Sl-1]=="!"||Xl<Pr&&wr[Xl]=="1"?"1":"N",nc=Sl;nc<Xl;++nc)wr[nc]=xc;Sl=Xl-1}}for(var Uu=0,Bc=Hn;Uu<Pr;++Uu){var dc=wr[Uu];Bc=="L"&&dc=="1"?wr[Uu]="L":Te.test(dc)&&(Bc=dc)}for(var Lo=0;Lo<Pr;++Lo)if(ue.test(wr[Lo])){var Hl=void 0;for(Hl=Lo+1;Hl<Pr&&ue.test(wr[Hl]);++Hl);for(var Yl=(Lo?wr[Lo-1]:Hn)=="L",$l=(Hl<Pr?wr[Hl]:Hn)=="L",Of=Yl==$l?Yl?"L":"R":Hn,Zs=Lo;Zs<Hl;++Zs)wr[Zs]=Of;Lo=Hl-1}for(var Ls=[],sA,fc=0;fc<Pr;)if(et.test(wr[fc])){var dh=fc;for(++fc;fc<Pr&&et.test(wr[fc]);++fc);Ls.push(new Ft(0,dh,fc))}else{var Ra=fc,IA=Ls.length,dl=Nn=="rtl"?1:0;for(++fc;fc<Pr&&wr[fc]!="L";++fc);for(var hc=Ra;hc<fc;)if(yt.test(wr[hc])){Ra<hc&&(Ls.splice(IA,0,new Ft(1,Ra,hc)),IA+=dl);var Md=hc;for(++hc;hc<fc&&yt.test(wr[hc]);++hc);Ls.splice(IA,0,new Ft(2,Md,hc)),IA+=dl,Ra=hc}else++hc;Ra<fc&&Ls.splice(IA,0,new Ft(1,Ra,fc))}return Nn=="ltr"&&(Ls[0].level==1&&(sA=Nt.match(/^\s+/))&&(Ls[0].from=sA[0].length,Ls.unshift(new Ft(0,0,sA[0].length))),kt(Ls).level==1&&(sA=Nt.match(/\s+$/))&&(kt(Ls).to-=sA[0].length,Ls.push(new Ft(0,Pr-sA[0].length,Pr)))),Nn=="rtl"?Ls.reverse():Ls}}();function xt(a,b){var ne=a.order;return ne==null&&(ne=a.order=Qt(a.text,b)),ne}var ct=[],Xt=function(a,b,ne){if(a.addEventListener)a.addEventListener(b,ne,!1);else if(a.attachEvent)a.attachEvent("on"+b,ne);else{var te=a._handlers||(a._handlers={});te[b]=(te[b]||ct).concat(ne)}};function Wt(a,b){return a._handlers&&a._handlers[b]||ct}function wn(a,b,ne){if(a.removeEventListener)a.removeEventListener(b,ne,!1);else if(a.detachEvent)a.detachEvent("on"+b,ne);else{var te=a._handlers,ue=te&&te[b];if(ue){var Te=At(ue,ne);Te>-1&&(te[b]=ue.slice(0,Te).concat(ue.slice(Te+1)))}}}function ln(a,b){var ne=Wt(a,b);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ue=0;ue<ne.length;++ue)ne[ue].apply(null,te)}function nn(a,b,ne){return typeof b=="string"&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),ln(a,ne||b.type,a,b),Vn(b)||b.codemirrorIgnore}function zn(a){var b=a._handlers&&a._handlers.cursorActivity;if(b)for(var ne=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),te=0;te<b.length;++te)At(ne,b[te])==-1&&ne.push(b[te])}function Ln(a,b){return Wt(a,b).length>0}function _t(a){a.prototype.on=function(b,ne){Xt(this,b,ne)},a.prototype.off=function(b,ne){wn(this,b,ne)}}function un(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Pn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Vn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Lt(a){un(a),Pn(a)}function Gt(a){return a.target||a.srcElement}function sn(a){var b=a.which;return b==null&&(a.button&1?b=1:a.button&2?b=3:a.button&4&&(b=2)),we&&a.ctrlKey&&b==1&&(b=3),b}var bn=function(){if(He&&Fe<9)return!1;var a=ht("div");return"draggable"in a||"dragDrop"in a}(),Yn;function pr(a){if(Yn==null){var b=ht("span","\u200B");at(a,ht("span",[b,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Yn=b.offsetWidth<=1&&b.offsetHeight>2&&!(He&&Fe<8))}var ne=Yn?ht("span","\u200B"):ht("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ti;function si(a){if(ti!=null)return ti;var b=at(a,document.createTextNode("A\u062EA")),ne=ze(b,0,1).getBoundingClientRect(),te=ze(b,1,2).getBoundingClientRect();return st(a),!ne||ne.left==ne.right?!1:ti=te.right-ne.right<3}var Cr=`
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 Te=a.slice(b,a.charAt(ue-1)=="\r"?ue-1:ue),et=Te.indexOf("\r");et!=-1?(ne.push(Te.slice(0,et)),b+=et+1):(ne.push(Te),b=ue+1)}return ne}:function(a){return a.split(/\r\n?|\n/)},ur=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},dr=function(){var a=ht("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),yn=null;function $n(a){if(yn!=null)return yn;var b=at(a,ht("span","x")),ne=b.getBoundingClientRect(),te=ze(b,0,1).getBoundingClientRect();return yn=Math.abs(ne.left-te.left)>1}var rr={},Zn={};function br(a,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),rr[a]=b}function Br(a,b){Zn[a]=b}function Or(a){if(typeof a=="string"&&Zn.hasOwnProperty(a))a=Zn[a];else if(a&&typeof a.name=="string"&&Zn.hasOwnProperty(a.name)){var b=Zn[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 Or("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Or("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function ci(a,b){b=Or(b);var ne=rr[b.name];if(!ne)return ci(a,"text/plain");var te=ne(a,b);if(Ai.hasOwnProperty(b.name)){var ue=Ai[b.name];for(var Te in ue)ue.hasOwnProperty(Te)&&(te.hasOwnProperty(Te)&&(te["_"+Te]=te[Te]),te[Te]=ue[Te])}if(te.name=b.name,b.helperType&&(te.helperType=b.helperType),b.modeProps)for(var et in b.modeProps)te[et]=b.modeProps[et];return te}var Ai={};function di(a,b){var ne=Ai.hasOwnProperty(a)?Ai[a]:Ai[a]={};Bt(b,ne)}function Pi(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 yi(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 oo(a,b,ne){return a.startState?a.startState(b,ne):!0}var Gi=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};Gi.prototype.eol=function(){return this.pos>=this.string.length},Gi.prototype.sol=function(){return this.pos==this.lineStart},Gi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Gi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Gi.prototype.eat=function(a){var b=this.string.charAt(this.pos),ne;if(typeof a=="string"?ne=b==a:ne=b&&(a.test?a.test(b):a(b)),ne)return++this.pos,b},Gi.prototype.eatWhile=function(a){for(var b=this.pos;this.eat(a););return this.pos>b},Gi.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Gi.prototype.skipToEnd=function(){this.pos=this.string.length},Gi.prototype.skipTo=function(a){var b=this.string.indexOf(a,this.pos);if(b>-1)return this.pos=b,!0},Gi.prototype.backUp=function(a){this.pos-=a},Gi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=We(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?We(this.string,this.lineStart,this.tabSize):0)},Gi.prototype.indentation=function(){return We(this.string,null,this.tabSize)-(this.lineStart?We(this.string,this.lineStart,this.tabSize):0)},Gi.prototype.match=function(a,b,ne){if(typeof a=="string"){var te=function(et){return ne?et.toLowerCase():et},ue=this.string.substr(this.pos,a.length);if(te(ue)==te(a))return b!==!1&&(this.pos+=a.length),!0}else{var Te=this.string.slice(this.pos).match(a);return Te&&Te.index>0?null:(Te&&b!==!1&&(this.pos+=Te[0].length),Te)}},Gi.prototype.current=function(){return this.string.slice(this.start,this.pos)},Gi.prototype.hideFirstChars=function(a,b){this.lineStart+=a;try{return b()}finally{this.lineStart-=a}},Gi.prototype.lookAhead=function(a){var b=this.lineOracle;return b&&b.lookAhead(a)},Gi.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function ar(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],Te=ue.chunkSize();if(b<Te){ne=ue;break}b-=Te}return ne.lines[b]}function Dr(a,b,ne){var te=[],ue=b.line;return a.iter(b.line,ne.line+1,function(Te){var et=Te.text;ue==ne.line&&(et=et.slice(0,ne.ch)),ue==b.line&&(et=et.slice(b.ch)),te.push(et),++ue}),te}function gi(a,b,ne){var te=[];return a.iter(b,ne,function(ue){te.push(ue.text)}),te}function ni(a,b){var ne=b-a.height;if(ne)for(var te=a;te;te=te.parent)te.height+=ne}function An(a){if(a.parent==null)return null;for(var b=a.parent,ne=At(b.lines,a),te=b.parent;te;b=te,te=te.parent)for(var ue=0;te.children[ue]!=b;++ue)ne+=te.children[ue].chunkSize();return ne+b.first}function Cn(a,b){var ne=a.first;e:do{for(var te=0;te<a.children.length;++te){var ue=a.children[te],Te=ue.height;if(b<Te){a=ue;continue e}b-=Te,ne+=ue.chunkSize()}return ne}while(!a.lines);for(var et=0;et<a.lines.length;++et){var yt=a.lines[et],Ft=yt.height;if(b<Ft)break;b-=Ft}return ne+et}function tt(a,b){return b>=a.first&&b<a.first+a.size}function pn(a,b){return String(a.lineNumberFormatter(b+a.firstLineNumber))}function Zt(a,b,ne){if(ne===void 0&&(ne=null),!(this instanceof Zt))return new Zt(a,b,ne);this.line=a,this.ch=b,this.sticky=ne}function vn(a,b){return a.line-b.line||a.ch-b.ch}function On(a,b){return a.sticky==b.sticky&&vn(a,b)==0}function Rr(a){return Zt(a.line,a.ch)}function Xr(a,b){return vn(a,b)<0?b:a}function li(a,b){return vn(a,b)<0?a:b}function nr(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function or(a,b){if(b.line<a.first)return Zt(a.first,0);var ne=a.first+a.size-1;return b.line>ne?Zt(ne,ar(a,ne).text.length):er(b,ar(a,b.line).text.length)}function er(a,b){var ne=a.ch;return ne==null||ne>b?Zt(a.line,b):ne<0?Zt(a.line,0):a}function _r(a,b){for(var ne=[],te=0;te<b.length;te++)ne[te]=or(a,b[te]);return ne}var Ti=function(a,b){this.state=a,this.lookAhead=b},bi=function(a,b,ne,te){this.state=b,this.doc=a,this.line=ne,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};bi.prototype.lookAhead=function(a){var b=this.doc.getLine(this.line+a);return b!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),b},bi.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}},bi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},bi.fromSaved=function(a,b,ne){return b instanceof Ti?new bi(a,Pi(a.mode,b.state),ne,b.lookAhead):new bi(a,Pi(a.mode,b),ne)},bi.prototype.save=function(a){var b=a!==!1?Pi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ti(b,this.maxLookAhead):b};function Xi(a,b,ne,te){var ue=[a.state.modeGen],Te={};zr(a,b.text,a.doc.mode,ne,function(Nt,Nn){return ue.push(Nt,Nn)},Te,te);for(var et=ne.state,yt=function(Nt){ne.baseTokens=ue;var Nn=a.state.overlays[Nt],Hn=1,Pr=0;ne.state=!0,zr(a,b.text,Nn.mode,ne,function(wr,vi){for(var Ki=Hn;Pr<wr;){var fo=ue[Hn];fo>wr&&ue.splice(Hn,1,wr,ue[Hn+1],fo),Hn+=2,Pr=Math.min(wr,fo)}if(vi)if(Nn.opaque)ue.splice(Ki,Hn-Ki,wr,"overlay "+vi),Hn=Ki+2;else for(;Ki<Hn;Ki+=2){var Oo=ue[Ki+1];ue[Ki+1]=(Oo?Oo+" ":"")+"overlay "+vi}},Te),ne.state=et,ne.baseTokens=null,ne.baseTokenPos=1},Ft=0;Ft<a.state.overlays.length;++Ft)yt(Ft);return{styles:ue,classes:Te.bgClass||Te.textClass?Te:null}}function Er(a,b,ne){if(!b.styles||b.styles[0]!=a.state.modeGen){var te=tn(a,An(b)),ue=b.text.length>a.options.maxHighlightLength&&Pi(a.doc.mode,te.state),Te=Xi(a,b,te);ue&&(te.state=ue),b.stateAfter=te.save(!ue),b.styles=Te.styles,Te.classes?b.styleClasses=Te.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 tn(a,b,ne){var te=a.doc,ue=a.display;if(!te.mode.startState)return new bi(te,!0,b);var Te=pi(a,b,ne),et=Te>te.first&&ar(te,Te-1).stateAfter,yt=et?bi.fromSaved(te,et,Te):new bi(te,oo(te.mode),Te);return te.iter(Te,b,function(Ft){$t(a,Ft.text,yt);var Nt=yt.line;Ft.stateAfter=Nt==b-1||Nt%5==0||Nt>=ue.viewFrom&&Nt<ue.viewTo?yt.save():null,yt.nextLine()}),ne&&(te.modeFrontier=yt.line),yt}function $t(a,b,ne,te){var ue=a.doc.mode,Te=new Gi(b,a.options.tabSize,ne);for(Te.start=Te.pos=te||0,b==""&&jn(ue,ne.state);!Te.eol();)lr(ue,Te,ne.state),Te.start=Te.pos}function jn(a,b){if(a.blankLine)return a.blankLine(b);if(a.innerMode){var ne=yi(a,b);if(ne.mode.blankLine)return ne.mode.blankLine(ne.state)}}function lr(a,b,ne,te){for(var ue=0;ue<10;ue++){te&&(te[0]=yi(a,ne).mode);var Te=a.token(b,ne);if(b.pos>b.start)return Te}throw new Error("Mode "+a.name+" failed to advance stream.")}var gr=function(a,b,ne){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=b||null,this.state=ne};function Ir(a,b,ne,te){var ue=a.doc,Te=ue.mode,et;b=or(ue,b);var yt=ar(ue,b.line),Ft=tn(a,b.line,ne),Nt=new Gi(yt.text,a.options.tabSize,Ft),Nn;for(te&&(Nn=[]);(te||Nt.pos<b.ch)&&!Nt.eol();)Nt.start=Nt.pos,et=lr(Te,Nt,Ft.state),te&&Nn.push(new gr(Nt,et,Pi(ue.mode,Ft.state)));return te?Nn:new gr(Nt,et,Ft.state)}function Kr(a,b){if(a)for(;;){var ne=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ne)break;a=a.slice(0,ne.index)+a.slice(ne.index+ne[0].length);var te=ne[1]?"bgClass":"textClass";b[te]==null?b[te]=ne[2]:new RegExp("(?:^|\\s)"+ne[2]+"(?:$|\\s)").test(b[te])||(b[te]+=" "+ne[2])}return a}function zr(a,b,ne,te,ue,Te,et){var yt=ne.flattenSpans;yt==null&&(yt=a.options.flattenSpans);var Ft=0,Nt=null,Nn=new Gi(b,a.options.tabSize,te),Hn,Pr=a.options.addModeClass&&[null];for(b==""&&Kr(jn(ne,te.state),Te);!Nn.eol();){if(Nn.pos>a.options.maxHighlightLength?(yt=!1,et&&$t(a,b,te,Nn.pos),Nn.pos=b.length,Hn=null):Hn=Kr(lr(ne,Nn,te.state,Pr),Te),Pr){var wr=Pr[0].name;wr&&(Hn="m-"+(Hn?wr+" "+Hn:wr))}if(!yt||Nt!=Hn){for(;Ft<Nn.start;)Ft=Math.min(Nn.start,Ft+5e3),ue(Ft,Nt);Nt=Hn}Nn.start=Nn.pos}for(;Ft<Nn.pos;){var vi=Math.min(Nn.pos,Ft+5e3);ue(vi,Nt),Ft=vi}}function pi(a,b,ne){for(var te,ue,Te=a.doc,et=ne?-1:b-(a.doc.mode.innerMode?1e3:100),yt=b;yt>et;--yt){if(yt<=Te.first)return Te.first;var Ft=ar(Te,yt-1),Nt=Ft.stateAfter;if(Nt&&(!ne||yt+(Nt instanceof Ti?Nt.lookAhead:0)<=Te.modeFrontier))return yt;var Nn=We(Ft.text,null,a.options.tabSize);(ue==null||te>Nn)&&(ue=yt-1,te=Nn)}return ue}function Ci(a,b){if(a.modeFrontier=Math.min(a.modeFrontier,b),!(a.highlightFrontier<b-10)){for(var ne=a.first,te=b-1;te>ne;te--){var ue=ar(a,te).stateAfter;if(ue&&(!(ue instanceof Ti)||te+ue.lookAhead<b)){ne=te+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,ne)}}var xi=!1,hi=!1;function Ii(){xi=!0}function Di(){hi=!0}function $i(a,b,ne){this.marker=a,this.from=b,this.to=ne}function no(a,b){if(a)for(var ne=0;ne<a.length;++ne){var te=a[ne];if(te.marker==b)return te}}function Hi(a,b){for(var ne,te=0;te<a.length;++te)a[te]!=b&&(ne||(ne=[])).push(a[te]);return ne}function ai(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function ao(a,b,ne){var te;if(a)for(var ue=0;ue<a.length;++ue){var Te=a[ue],et=Te.marker,yt=Te.from==null||(et.inclusiveLeft?Te.from<=b:Te.from<b);if(yt||Te.from==b&&et.type=="bookmark"&&(!ne||!Te.marker.insertLeft)){var Ft=Te.to==null||(et.inclusiveRight?Te.to>=b:Te.to>b);(te||(te=[])).push(new $i(et,Te.from,Ft?null:Te.to))}}return te}function ki(a,b,ne){var te;if(a)for(var ue=0;ue<a.length;++ue){var Te=a[ue],et=Te.marker,yt=Te.to==null||(et.inclusiveRight?Te.to>=b:Te.to>b);if(yt||Te.from==b&&et.type=="bookmark"&&(!ne||Te.marker.insertLeft)){var Ft=Te.from==null||(et.inclusiveLeft?Te.from<=b:Te.from<b);(te||(te=[])).push(new $i(et,Ft?null:Te.from-b,Te.to==null?null:Te.to-b))}}return te}function So(a,b){if(b.full)return null;var ne=tt(a,b.from.line)&&ar(a,b.from.line).markedSpans,te=tt(a,b.to.line)&&ar(a,b.to.line).markedSpans;if(!ne&&!te)return null;var ue=b.from.ch,Te=b.to.ch,et=vn(b.from,b.to)==0,yt=ao(ne,ue,et),Ft=ki(te,Te,et),Nt=b.text.length==1,Nn=kt(b.text).length+(Nt?ue:0);if(yt)for(var Hn=0;Hn<yt.length;++Hn){var Pr=yt[Hn];if(Pr.to==null){var wr=no(Ft,Pr.marker);wr?Nt&&(Pr.to=wr.to==null?null:wr.to+Nn):Pr.to=ue}}if(Ft)for(var vi=0;vi<Ft.length;++vi){var Ki=Ft[vi];if(Ki.to!=null&&(Ki.to+=Nn),Ki.from==null){var fo=no(yt,Ki.marker);fo||(Ki.from=Nn,Nt&&(yt||(yt=[])).push(Ki))}else Ki.from+=Nn,Nt&&(yt||(yt=[])).push(Ki)}yt&&(yt=uo(yt)),Ft&&Ft!=yt&&(Ft=uo(Ft));var Oo=[yt];if(!Nt){var Wo=b.text.length-2,Po;if(Wo>0&&yt)for(var la=0;la<yt.length;++la)yt[la].to==null&&(Po||(Po=[])).push(new $i(yt[la].marker,null,null));for(var Ua=0;Ua<Wo;++Ua)Oo.push(Po);Oo.push(Ft)}return Oo}function uo(a){for(var b=0;b<a.length;++b){var ne=a[b];ne.from!=null&&ne.from==ne.to&&ne.marker.clearWhenEmpty!==!1&&a.splice(b--,1)}return a.length?a:null}function Do(a,b,ne){var te=null;if(a.iter(b.line,ne.line+1,function(wr){if(wr.markedSpans)for(var vi=0;vi<wr.markedSpans.length;++vi){var Ki=wr.markedSpans[vi].marker;Ki.readOnly&&(!te||At(te,Ki)==-1)&&(te||(te=[])).push(Ki)}}),!te)return null;for(var ue=[{from:b,to:ne}],Te=0;Te<te.length;++Te)for(var et=te[Te],yt=et.find(0),Ft=0;Ft<ue.length;++Ft){var Nt=ue[Ft];if(!(vn(Nt.to,yt.from)<0||vn(Nt.from,yt.to)>0)){var Nn=[Ft,1],Hn=vn(Nt.from,yt.from),Pr=vn(Nt.to,yt.to);(Hn<0||!et.inclusiveLeft&&!Hn)&&Nn.push({from:Nt.from,to:yt.from}),(Pr>0||!et.inclusiveRight&&!Pr)&&Nn.push({from:yt.to,to:Nt.to}),ue.splice.apply(ue,Nn),Ft+=Nn.length-3}}return ue}function Co(a){var b=a.markedSpans;if(b){for(var ne=0;ne<b.length;++ne)b[ne].marker.detachLine(a);a.markedSpans=null}}function to(a,b){if(b){for(var ne=0;ne<b.length;++ne)b[ne].marker.attachLine(a);a.markedSpans=b}}function Mo(a){return a.inclusiveLeft?-1:0}function Go(a){return a.inclusiveRight?1:0}function zo(a,b){var ne=a.lines.length-b.lines.length;if(ne!=0)return ne;var te=a.find(),ue=b.find(),Te=vn(te.from,ue.from)||Mo(a)-Mo(b);if(Te)return-Te;var et=vn(te.to,ue.to)||Go(a)-Go(b);return et||b.id-a.id}function No(a,b){var ne=hi&&a.markedSpans,te;if(ne)for(var ue=void 0,Te=0;Te<ne.length;++Te)ue=ne[Te],ue.marker.collapsed&&(b?ue.from:ue.to)==null&&(!te||zo(te,ue.marker)<0)&&(te=ue.marker);return te}function zi(a){return No(a,!0)}function Vt(a){return No(a,!1)}function $r(a,b){var ne=hi&&a.markedSpans,te;if(ne)for(var ue=0;ue<ne.length;++ue){var Te=ne[ue];Te.marker.collapsed&&(Te.from==null||Te.from<b)&&(Te.to==null||Te.to>b)&&(!te||zo(te,Te.marker)<0)&&(te=Te.marker)}return te}function ui(a,b,ne,te,ue){var Te=ar(a,b),et=hi&&Te.markedSpans;if(et)for(var yt=0;yt<et.length;++yt){var Ft=et[yt];if(Ft.marker.collapsed){var Nt=Ft.marker.find(0),Nn=vn(Nt.from,ne)||Mo(Ft.marker)-Mo(ue),Hn=vn(Nt.to,te)||Go(Ft.marker)-Go(ue);if(!(Nn>=0&&Hn<=0||Nn<=0&&Hn>=0)&&(Nn<=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?vn(Nt.to,ne)>=0:vn(Nt.to,ne)>0)||Nn>=0&&(Ft.marker.inclusiveRight&&ue.inclusiveLeft?vn(Nt.from,te)<=0:vn(Nt.from,te)<0)))return!0}}}function Zr(a){for(var b;b=zi(a);)a=b.find(-1,!0).line;return a}function Ri(a){for(var b;b=Vt(a);)a=b.find(1,!0).line;return a}function ro(a){for(var b,ne;b=Vt(a);)a=b.find(1,!0).line,(ne||(ne=[])).push(a);return ne}function jr(a,b){var ne=ar(a,b),te=Zr(ne);return ne==te?b:An(te)}function Yr(a,b){if(b>a.lastLine())return b;var ne=ar(a,b),te;if(!Bi(a,ne))return b;for(;te=Vt(ne);)ne=te.find(1,!0).line;return An(ne)+1}function Bi(a,b){var ne=hi&&b.markedSpans;if(ne){for(var te=void 0,ue=0;ue<ne.length;++ue)if(te=ne[ue],!!te.marker.collapsed){if(te.from==null)return!0;if(!te.marker.widgetNode&&te.from==0&&te.marker.inclusiveLeft&&_i(a,b,te))return!0}}}function _i(a,b,ne){if(ne.to==null){var te=ne.marker.find(1,!0);return _i(a,te.line,no(te.line.markedSpans,ne.marker))}if(ne.marker.inclusiveRight&&ne.to==b.text.length)return!0;for(var ue=void 0,Te=0;Te<b.markedSpans.length;++Te)if(ue=b.markedSpans[Te],ue.marker.collapsed&&!ue.marker.widgetNode&&ue.from==ne.to&&(ue.to==null||ue.to!=ne.from)&&(ue.marker.inclusiveLeft||ne.marker.inclusiveRight)&&_i(a,b,ue))return!0}function Ro(a){a=Zr(a);for(var b=0,ne=a.parent,te=0;te<ne.lines.length;++te){var ue=ne.lines[te];if(ue==a)break;b+=ue.height}for(var Te=ne.parent;Te;ne=Te,Te=ne.parent)for(var et=0;et<Te.children.length;++et){var yt=Te.children[et];if(yt==ne)break;b+=yt.height}return b}function ya(a){if(a.height==0)return 0;for(var b=a.text.length,ne,te=a;ne=zi(te);){var ue=ne.find(0,!0);te=ue.from.line,b+=ue.from.ch-ue.to.ch}for(te=a;ne=Vt(te);){var Te=ne.find(0,!0);b-=te.text.length-Te.from.ch,te=Te.to.line,b+=te.text.length-Te.to.ch}return b}function $o(a){var b=a.display,ne=a.doc;b.maxLine=ar(ne,ne.first),b.maxLineLength=ya(b.maxLine),b.maxLineChanged=!0,ne.iter(function(te){var ue=ya(te);ue>b.maxLineLength&&(b.maxLineLength=ue,b.maxLine=te)})}var Ea=function(a,b,ne){this.text=a,to(this,b),this.height=ne?ne(this):1};Ea.prototype.lineNo=function(){return An(this)},_t(Ea);function da(a,b,ne,te){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Co(a),to(a,ne);var ue=te?te(a):1;ue!=a.height&&ni(a,ue)}function wa(a){a.parent=null,Co(a)}var Wr={},Ji={};function xo(a,b){if(!a||/^\s*$/.test(a))return null;var ne=b.addModeClass?Ji:Wr;return ne[a]||(ne[a]=a.replace(/\S+/g,"cm-$&"))}function ba(a,b){var ne=Ct("span",null,null,Me?"padding-right: .1px":null),te={pre:Ct("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 Te=ue?b.rest[ue-1]:b.line,et=void 0;te.pos=0,te.addToken=ns,si(a.display.measure)&&(et=xt(Te,a.doc.direction))&&(te.addToken=Za(te.addToken,et)),te.map=[];var yt=b!=a.display.externalMeasured&&An(Te);vo(Te,te,Er(a,Te,yt)),Te.styleClasses&&(Te.styleClasses.bgClass&&(te.bgClass=Ot(Te.styleClasses.bgClass,te.bgClass||"")),Te.styleClasses.textClass&&(te.textClass=Ot(Te.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(pr(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(Me){var Ft=te.content.lastChild;(/\bcm-tab\b/.test(Ft.className)||Ft.querySelector&&Ft.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return ln(a,"renderLine",a,b.line,te.pre),te.pre.className&&(te.textClass=Ot(te.pre.className,te.textClass||"")),te}function Xa(a){var b=ht("span","\u2022","cm-invalidchar");return b.title="\\u"+a.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function ns(a,b,ne,te,ue,Te,et){if(b){var yt=a.splitSpaces?Ta(b,a.trailingSpace):b,Ft=a.cm.state.specialChars,Nt=!1,Nn;if(!Ft.test(b))a.col+=b.length,Nn=document.createTextNode(yt),a.map.push(a.pos,a.pos+b.length,Nn),He&&Fe<9&&(Nt=!0),a.pos+=b.length;else{Nn=document.createDocumentFragment();for(var Hn=0;;){Ft.lastIndex=Hn;var Pr=Ft.exec(b),wr=Pr?Pr.index-Hn:b.length-Hn;if(wr){var vi=document.createTextNode(yt.slice(Hn,Hn+wr));He&&Fe<9?Nn.appendChild(ht("span",[vi])):Nn.appendChild(vi),a.map.push(a.pos,a.pos+wr,vi),a.col+=wr,a.pos+=wr}if(!Pr)break;Hn+=wr+1;var Ki=void 0;if(Pr[0]==" "){var fo=a.cm.options.tabSize,Oo=fo-a.col%fo;Ki=Nn.appendChild(ht("span",mn(Oo),"cm-tab")),Ki.setAttribute("role","presentation"),Ki.setAttribute("cm-text"," "),a.col+=Oo}else Pr[0]=="\r"||Pr[0]==`
`?(Ki=Nn.appendChild(ht("span",Pr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ki.setAttribute("cm-text",Pr[0]),a.col+=1):(Ki=a.cm.options.specialCharPlaceholder(Pr[0]),Ki.setAttribute("cm-text",Pr[0]),He&&Fe<9?Nn.appendChild(ht("span",[Ki])):Nn.appendChild(Ki),a.col+=1);a.map.push(a.pos,a.pos+1,Ki),a.pos++}}if(a.trailingSpace=yt.charCodeAt(b.length-1)==32,ne||te||ue||Nt||Te||et){var Wo=ne||"";te&&(Wo+=te),ue&&(Wo+=ue);var Po=ht("span",[Nn],Wo,Te);if(et)for(var la in et)et.hasOwnProperty(la)&&la!="style"&&la!="class"&&Po.setAttribute(la,et[la]);return a.content.appendChild(Po)}a.content.appendChild(Nn)}}function Ta(a,b){if(a.length>1&&!/ /.test(a))return a;for(var ne=b,te="",ue=0;ue<a.length;ue++){var Te=a.charAt(ue);Te==" "&&ne&&(ue==a.length-1||a.charCodeAt(ue+1)==32)&&(Te="\xA0"),te+=Te,ne=Te==" "}return te}function Za(a,b){return function(ne,te,ue,Te,et,yt,Ft){ue=ue?ue+" cm-force-border":"cm-force-border";for(var Nt=ne.pos,Nn=Nt+te.length;;){for(var Hn=void 0,Pr=0;Pr<b.length&&(Hn=b[Pr],!(Hn.to>Nt&&Hn.from<=Nt));Pr++);if(Hn.to>=Nn)return a(ne,te,ue,Te,et,yt,Ft);a(ne,te.slice(0,Hn.to-Nt),ue,Te,null,yt,Ft),Te=null,te=te.slice(Hn.to-Nt),Nt=Hn.to}}}function Fo(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 vo(a,b,ne){var te=a.markedSpans,ue=a.text,Te=0;if(!te){for(var et=1;et<ne.length;et+=2)b.addToken(b,ue.slice(Te,Te=ne[et]),xo(ne[et+1],b.cm.options));return}for(var yt=ue.length,Ft=0,Nt=1,Nn="",Hn,Pr,wr=0,vi,Ki,fo,Oo,Wo;;){if(wr==Ft){vi=Ki=fo=Pr="",Wo=null,Oo=null,wr=1/0;for(var Po=[],la=void 0,Ua=0;Ua<te.length;++Ua){var xa=te[Ua],Ha=xa.marker;if(Ha.type=="bookmark"&&xa.from==Ft&&Ha.widgetNode)Po.push(Ha);else if(xa.from<=Ft&&(xa.to==null||xa.to>Ft||Ha.collapsed&&xa.to==Ft&&xa.from==Ft)){if(xa.to!=null&&xa.to!=Ft&&wr>xa.to&&(wr=xa.to,Ki=""),Ha.className&&(vi+=" "+Ha.className),Ha.css&&(Pr=(Pr?Pr+";":"")+Ha.css),Ha.startStyle&&xa.from==Ft&&(fo+=" "+Ha.startStyle),Ha.endStyle&&xa.to==wr&&(la||(la=[])).push(Ha.endStyle,xa.to),Ha.title&&((Wo||(Wo={})).title=Ha.title),Ha.attributes)for(var Sl in Ha.attributes)(Wo||(Wo={}))[Sl]=Ha.attributes[Sl];Ha.collapsed&&(!Oo||zo(Oo.marker,Ha)<0)&&(Oo=xa)}else xa.from>Ft&&wr>xa.from&&(wr=xa.from)}if(la)for(var Ku=0;Ku<la.length;Ku+=2)la[Ku+1]==wr&&(Ki+=" "+la[Ku]);if(!Oo||Oo.from==Ft)for(var Xl=0;Xl<Po.length;++Xl)Fo(b,0,Po[Xl]);if(Oo&&(Oo.from||0)==Ft){if(Fo(b,(Oo.to==null?yt+1:Oo.to)-Ft,Oo.marker,Oo.from==null),Oo.to==null)return;Oo.to==Ft&&(Oo=!1)}}if(Ft>=yt)break;for(var xc=Math.min(yt,wr);;){if(Nn){var nc=Ft+Nn.length;if(!Oo){var Uu=nc>xc?Nn.slice(0,xc-Ft):Nn;b.addToken(b,Uu,Hn?Hn+vi:vi,fo,Ft+Uu.length==wr?Ki:"",Pr,Wo)}if(nc>=xc){Nn=Nn.slice(xc-Ft),Ft=xc;break}Ft=nc,fo=""}Nn=ue.slice(Te,Te=ne[Nt++]),Hn=xo(ne[Nt++],b.cm.options)}}}function qo(a,b,ne){this.line=b,this.rest=ro(b),this.size=this.rest?An(kt(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Bi(a,b)}function ja(a,b,ne){for(var te=[],ue,Te=b;Te<ne;Te=ue){var et=new qo(a.doc,ar(a.doc,Te),Te);ue=Te+et.size,te.push(et)}return te}var ls=null;function Fs(a){ls?ls.ops.push(a):a.ownsGroup=ls={ops:[a],delayedCallbacks:[]}}function il(a){var b=a.delayedCallbacks,ne=0;do{for(;ne<b.length;ne++)b[ne].call(null);for(var te=0;te<a.ops.length;te++){var ue=a.ops[te];if(ue.cursorActivityHandlers)for(;ue.cursorActivityCalled<ue.cursorActivityHandlers.length;)ue.cursorActivityHandlers[ue.cursorActivityCalled++].call(null,ue.cm)}}while(ne<b.length)}function tu(a,b){var ne=a.ownsGroup;if(ne)try{il(ne)}finally{ls=null,b(ne)}}var Au=null;function tl(a,b){var ne=Wt(a,b);if(ne.length){var te=Array.prototype.slice.call(arguments,2),ue;ls?ue=ls.delayedCallbacks:Au?ue=Au:(ue=Au=[],setTimeout(fl,0));for(var Te=function(yt){ue.push(function(){return ne[yt].apply(null,te)})},et=0;et<ne.length;++et)Te(et)}}function fl(){var a=Au;Au=null;for(var b=0;b<a.length;++b)a[b]()}function wu(a,b,ne,te){for(var ue=0;ue<b.changes.length;ue++){var Te=b.changes[ue];Te=="text"?Du(a,b):Te=="gutter"?La(a,b,ne,te):Te=="class"?fa(a,b):Te=="widget"&&ha(a,b,te)}b.changes=null}function Lu(a){return a.node==a.text&&(a.node=ht("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),He&&Fe<8&&(a.node.style.zIndex=2)),a.node}function hl(a,b){var ne=b.bgClass?b.bgClass+" "+(b.line.bgClass||""):b.line.bgClass;if(ne&&(ne+=" CodeMirror-linebackground"),b.background)ne?b.background.className=ne:(b.background.parentNode.removeChild(b.background),b.background=null);else if(ne){var te=Lu(b);b.background=te.insertBefore(ht("div",null,ne),te.firstChild),a.display.input.setUneditable(b.background)}}function vc(a,b){var ne=a.display.externalMeasured;return ne&&ne.line==b.line?(a.display.externalMeasured=null,b.measure=ne.measure,ne.built):ba(a,b)}function Du(a,b){var ne=b.text.className,te=vc(a,b);b.text==b.node&&(b.node=te.pre),b.text.parentNode.replaceChild(te.pre,b.text),b.text=te.pre,te.bgClass!=b.bgClass||te.textClass!=b.textClass?(b.bgClass=te.bgClass,b.textClass=te.textClass,fa(a,b)):ne&&(b.text.className=ne)}function fa(a,b){hl(a,b),b.line.wrapClass?Lu(b).className=b.line.wrapClass:b.node!=b.text&&(b.node.className="");var ne=b.textClass?b.textClass+" "+(b.line.textClass||""):b.line.textClass;b.text.className=ne||""}function La(a,b,ne,te){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var ue=Lu(b);b.gutterBackground=ht("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(a.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px; width: "+te.gutterTotalWidth+"px"),a.display.input.setUneditable(b.gutterBackground),ue.insertBefore(b.gutterBackground,b.text)}var Te=b.line.gutterMarkers;if(a.options.lineNumbers||Te){var et=Lu(b),yt=b.gutter=ht("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(a.display.input.setUneditable(yt),et.insertBefore(yt,b.text),b.line.gutterClass&&(yt.className+=" "+b.line.gutterClass),a.options.lineNumbers&&(!Te||!Te["CodeMirror-linenumbers"])&&(b.lineNumber=yt.appendChild(ht("div",pn(a.options,ne),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),Te)for(var Ft=0;Ft<a.display.gutterSpecs.length;++Ft){var Nt=a.display.gutterSpecs[Ft].className,Nn=Te.hasOwnProperty(Nt)&&Te[Nt];Nn&&yt.appendChild(ht("div",[Nn],"CodeMirror-gutter-elt","left: "+te.gutterLeft[Nt]+"px; width: "+te.gutterWidth[Nt]+"px"))}}}function ha(a,b,ne){b.alignable&&(b.alignable=null);for(var te=Je("CodeMirror-linewidget"),ue=b.node.firstChild,Te=void 0;ue;ue=Te)Te=ue.nextSibling,te.test(ue.className)&&b.node.removeChild(ue);es(a,b,ne)}function ga(a,b,ne,te){var ue=vc(a,b);return b.text=b.node=ue.pre,ue.bgClass&&(b.bgClass=ue.bgClass),ue.textClass&&(b.textClass=ue.textClass),fa(a,b),La(a,b,ne,te),es(a,b,te),b.node}function es(a,b,ne){if(Ya(a,b.line,b,ne,!0),b.rest)for(var te=0;te<b.rest.length;te++)Ya(a,b.rest[te],b,ne,!1)}function Ya(a,b,ne,te,ue){if(b.widgets)for(var Te=Lu(ne),et=0,yt=b.widgets;et<yt.length;++et){var Ft=yt[et],Nt=ht("div",[Ft.node],"CodeMirror-linewidget"+(Ft.className?" "+Ft.className:""));Ft.handleMouseEvents||Nt.setAttribute("cm-ignore-events","true"),$a(Ft,Nt,ne,te),a.display.input.setUneditable(Nt),ue&&Ft.above?Te.insertBefore(Nt,ne.gutter||ne.text):Te.appendChild(Nt),tl(Ft,"redraw")}}function $a(a,b,ne,te){if(a.noHScroll){(ne.alignable||(ne.alignable=[])).push(b);var ue=te.wrapperWidth;b.style.left=te.fixedPos+"px",a.coverGutter||(ue-=te.gutterTotalWidth,b.style.paddingLeft=te.gutterTotalWidth+"px"),b.style.width=ue+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-te.gutterTotalWidth+"px"))}function Kl(a){if(a.height!=null)return a.height;var b=a.doc.cm;if(!b)return 0;if(!pt(document.body,a.node)){var ne="position: relative;";a.coverGutter&&(ne+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),a.noHScroll&&(ne+="width: "+b.display.wrapper.clientWidth+"px;"),at(b.display.measure,ht("div",[a.node],null,ne))}return a.height=a.node.parentNode.offsetHeight}function su(a,b){for(var ne=Gt(b);ne!=a.wrapper;ne=ne.parentNode)if(!ne||ne.nodeType==1&&ne.getAttribute("cm-ignore-events")=="true"||ne.parentNode==a.sizer&&ne!=a.mover)return!0}function Ol(a){return a.lineSpace.offsetTop}function bu(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function du(a){if(a.cachedPaddingH)return a.cachedPaddingH;var b=at(a.measure,ht("pre","x","CodeMirror-line-like")),ne=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,te={left:parseInt(ne.paddingLeft),right:parseInt(ne.paddingRight)};return!isNaN(te.left)&&!isNaN(te.right)&&(a.cachedPaddingH=te),te}function Gu(a){return Kt-a.display.nativeBarWidth}function Qi(a){return a.display.scroller.clientWidth-Gu(a)-a.display.barWidth}function Bo(a){return a.display.scroller.clientHeight-Gu(a)-a.display.barHeight}function Wa(a,b,ne){var te=a.options.lineWrapping,ue=te&&Qi(a);if(!b.measure.heights||te&&b.measure.width!=ue){var Te=b.measure.heights=[];if(te){b.measure.width=ue;for(var et=b.text.firstChild.getClientRects(),yt=0;yt<et.length-1;yt++){var Ft=et[yt],Nt=et[yt+1];Math.abs(Ft.bottom-Nt.bottom)>2&&Te.push((Ft.bottom+Nt.top)/2-ne.top)}}Te.push(ne.bottom-ne.top)}}function ol(a,b,ne){if(a.line==b)return{map:a.measure.map,cache:a.measure.cache};for(var te=0;te<a.rest.length;te++)if(a.rest[te]==b)return{map:a.measure.maps[te],cache:a.measure.caches[te]};for(var ue=0;ue<a.rest.length;ue++)if(An(a.rest[ue])>ne)return{map:a.measure.maps[ue],cache:a.measure.caches[ue],before:!0}}function kc(a,b){b=Zr(b);var ne=An(b),te=a.display.externalMeasured=new qo(a.doc,b,ne);te.lineN=ne;var ue=te.built=ba(a,te);return te.text=ue.pre,at(a.display.lineMeasure,ue.pre),te}function nu(a,b,ne,te){return oc(a,ps(a,b),ne,te)}function Cu(a,b){if(b>=a.display.viewFrom&&b<a.display.viewTo)return a.display.view[gA(a,b)];var ne=a.display.externalMeasured;if(ne&&b>=ne.lineN&&b<ne.lineN+ne.size)return ne}function ps(a,b){var ne=An(b),te=Cu(a,ne);te&&!te.text?te=null:te&&te.changes&&(wu(a,te,ne,oA(a)),a.curOp.forceUpdate=!0),te||(te=kc(a,b));var ue=ol(te,b,ne);return{line:b,view:te,rect:null,map:ue.map,cache:ue.cache,before:ue.before,hasHeights:!1}}function oc(a,b,ne,te,ue){b.before&&(ne=-1);var Te=ne+(te||""),et;return b.cache.hasOwnProperty(Te)?et=b.cache[Te]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(Wa(a,b.view,b.rect),b.hasHeights=!0),et=Xu(a,b,ne,te),et.bogus||(b.cache[Te]=et)),{left:et.left,right:et.right,top:ue?et.rtop:et.top,bottom:ue?et.rbottom:et.bottom}}var td={left:0,right:0,top:0,bottom:0};function Vc(a,b,ne){for(var te,ue,Te,et,yt,Ft,Nt=0;Nt<a.length;Nt+=3)if(yt=a[Nt],Ft=a[Nt+1],b<yt?(ue=0,Te=1,et="left"):b<Ft?(ue=b-yt,Te=ue+1):(Nt==a.length-3||b==Ft&&a[Nt+3]>b)&&(Te=Ft-yt,ue=Te-1,b>=Ft&&(et="right")),ue!=null){if(te=a[Nt+2],yt==Ft&&ne==(te.insertLeft?"left":"right")&&(et=ne),ne=="left"&&ue==0)for(;Nt&&a[Nt-2]==a[Nt-3]&&a[Nt-1].insertLeft;)te=a[(Nt-=3)+2],et="left";if(ne=="right"&&ue==Ft-yt)for(;Nt<a.length-3&&a[Nt+3]==a[Nt+4]&&!a[Nt+5].insertLeft;)te=a[(Nt+=3)+2],et="right";break}return{node:te,start:ue,end:Te,collapse:et,coverStart:yt,coverEnd:Ft}}function ka(a,b){var ne=td;if(b=="left")for(var te=0;te<a.length&&(ne=a[te]).left==ne.right;te++);else for(var ue=a.length-1;ue>=0&&(ne=a[ue]).left==ne.right;ue--);return ne}function Xu(a,b,ne,te){var ue=Vc(b.map,ne,te),Te=ue.node,et=ue.start,yt=ue.end,Ft=ue.collapse,Nt;if(Te.nodeType==3){for(var Nn=0;Nn<4;Nn++){for(;et&&Ge(b.line.text.charAt(ue.coverStart+et));)--et;for(;ue.coverStart+yt<ue.coverEnd&&Ge(b.line.text.charAt(ue.coverStart+yt));)++yt;if(He&&Fe<9&&et==0&&yt==ue.coverEnd-ue.coverStart?Nt=Te.parentNode.getBoundingClientRect():Nt=ka(ze(Te,et,yt).getClientRects(),te),Nt.left||Nt.right||et==0)break;yt=et,et=et-1,Ft="right"}He&&Fe<11&&(Nt=yc(a.display.measure,Nt))}else{et>0&&(Ft=te="right");var Hn;a.options.lineWrapping&&(Hn=Te.getClientRects()).length>1?Nt=Hn[te=="right"?Hn.length-1:0]:Nt=Te.getBoundingClientRect()}if(He&&Fe<9&&!et&&(!Nt||!Nt.left&&!Nt.right)){var Pr=Te.parentNode.getClientRects()[0];Pr?Nt={left:Pr.left,right:Pr.left+iA(a.display),top:Pr.top,bottom:Pr.bottom}:Nt=td}for(var wr=Nt.top-b.rect.top,vi=Nt.bottom-b.rect.top,Ki=(wr+vi)/2,fo=b.view.measure.heights,Oo=0;Oo<fo.length-1&&!(Ki<fo[Oo]);Oo++);var Wo=Oo?fo[Oo-1]:0,Po=fo[Oo],la={left:(Ft=="right"?Nt.right:Nt.left)-b.rect.left,right:(Ft=="left"?Nt.left:Nt.right)-b.rect.left,top:Wo,bottom:Po};return!Nt.left&&!Nt.right&&(la.bogus=!0),a.options.singleCursorHeightPerLine||(la.rtop=wr,la.rbottom=vi),la}function yc(a,b){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!$n(a))return b;var ne=screen.logicalXDPI/screen.deviceXDPI,te=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*ne,right:b.right*ne,top:b.top*te,bottom:b.bottom*te}}function Nu(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var b=0;b<a.rest.length;b++)a.measure.caches[b]={}}function Ns(a){a.display.externalMeasure=null,st(a.display.lineMeasure);for(var b=0;b<a.display.view.length;b++)Nu(a.display.view[b])}function Yu(a){Ns(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Pl(){return xe&&Ie?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function ml(){return xe&&Ie?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Tl(a){var b=0;if(a.widgets)for(var ne=0;ne<a.widgets.length;++ne)a.widgets[ne].above&&(b+=Kl(a.widgets[ne]));return b}function xu(a,b,ne,te,ue){if(!ue){var Te=Tl(b);ne.top+=Te,ne.bottom+=Te}if(te=="line")return ne;te||(te="local");var et=Ro(b);if(te=="local"?et+=Ol(a.display):et-=a.display.viewOffset,te=="page"||te=="window"){var yt=a.display.lineSpace.getBoundingClientRect();et+=yt.top+(te=="window"?0:ml());var Ft=yt.left+(te=="window"?0:Pl());ne.left+=Ft,ne.right+=Ft}return ne.top+=et,ne.bottom+=et,ne}function $u(a,b,ne){if(ne=="div")return b;var te=b.left,ue=b.top;if(ne=="page")te-=Pl(),ue-=ml();else if(ne=="local"||!ne){var Te=a.display.sizer.getBoundingClientRect();te+=Te.left,ue+=Te.top}var et=a.display.lineSpace.getBoundingClientRect();return{left:te-et.left,top:ue-et.top}}function ru(a,b,ne,te,ue){return te||(te=ar(a.doc,b.line)),xu(a,te,nu(a,te,b.ch,ue),ne)}function fu(a,b,ne,te,ue,Te){te=te||ar(a.doc,b.line),ue||(ue=ps(a,te));function et(vi,Ki){var fo=oc(a,ue,vi,Ki?"right":"left",Te);return Ki?fo.left=fo.right:fo.right=fo.left,xu(a,te,fo,ne)}var yt=xt(te,a.doc.direction),Ft=b.ch,Nt=b.sticky;if(Ft>=te.text.length?(Ft=te.text.length,Nt="before"):Ft<=0&&(Ft=0,Nt="after"),!yt)return et(Nt=="before"?Ft-1:Ft,Nt=="before");function Nn(vi,Ki,fo){var Oo=yt[Ki],Wo=Oo.level==1;return et(fo?vi-1:vi,Wo!=fo)}var Hn=Dt(yt,Ft,Nt),Pr=St,wr=Nn(Ft,Hn,Nt=="before");return Pr!=null&&(wr.other=Nn(Ft,Pr,Nt!="before")),wr}function Fa(a,b){var ne=0;b=or(a.doc,b),a.options.lineWrapping||(ne=iA(a.display)*b.ch);var te=ar(a.doc,b.line),ue=Ro(te)+Ol(a.display);return{left:ne,right:ne,top:ue,bottom:ue+te.height}}function Ma(a,b,ne,te,ue){var Te=Zt(a,b,ne);return Te.xRel=ue,te&&(Te.outside=te),Te}function bs(a,b,ne){var te=a.doc;if(ne+=a.display.viewOffset,ne<0)return Ma(te.first,0,null,-1,-1);var ue=Cn(te,ne),Te=te.first+te.size-1;if(ue>Te)return Ma(te.first+te.size-1,ar(te,Te).text.length,null,1,1);b<0&&(b=0);for(var et=ar(te,ue);;){var yt=Gc(a,et,ue,b,ne),Ft=$r(et,yt.ch+(yt.xRel>0||yt.outside>0?1:0));if(!Ft)return yt;var Nt=Ft.find(1);if(Nt.line==ue)return Nt;et=ar(te,ue=Nt.line)}}function ac(a,b,ne,te){te-=Tl(b);var ue=b.text.length,Te=mt(function(et){return oc(a,ne,et-1).bottom<=te},ue,0);return ue=mt(function(et){return oc(a,ne,et).top>te},Te,ue),{begin:Te,end:ue}}function Zl(a,b,ne,te){ne||(ne=ps(a,b));var ue=xu(a,b,oc(a,ne,te),"line").top;return ac(a,b,ne,ue)}function lu(a,b,ne,te){return a.bottom<=ne?!1:a.top>ne?!0:(te?a.left:a.right)>b}function Gc(a,b,ne,te,ue){ue-=Ro(b);var Te=ps(a,b),et=Tl(b),yt=0,Ft=b.text.length,Nt=!0,Nn=xt(b,a.doc.direction);if(Nn){var Hn=(a.options.lineWrapping?pA:wc)(a,b,ne,Te,Nn,te,ue);Nt=Hn.level!=1,yt=Nt?Hn.from:Hn.to-1,Ft=Nt?Hn.to:Hn.from-1}var Pr=null,wr=null,vi=mt(function(Ua){var xa=oc(a,Te,Ua);return xa.top+=et,xa.bottom+=et,lu(xa,te,ue,!1)?(xa.top<=ue&&xa.left<=te&&(Pr=Ua,wr=xa),!0):!1},yt,Ft),Ki,fo,Oo=!1;if(wr){var Wo=te-wr.left<wr.right-te,Po=Wo==Nt;vi=Pr+(Po?0:1),fo=Po?"after":"before",Ki=Wo?wr.left:wr.right}else{!Nt&&(vi==Ft||vi==yt)&&vi++,fo=vi==0?"after":vi==b.text.length?"before":oc(a,Te,vi-(Nt?1:0)).bottom+et<=ue==Nt?"after":"before";var la=fu(a,Zt(ne,vi,fo),"line",b,Te);Ki=la.left,Oo=ue<la.top?-1:ue>=la.bottom?1:0}return vi=ut(b.text,vi,1),Ma(ne,vi,fo,Oo,te-Ki)}function wc(a,b,ne,te,ue,Te,et){var yt=mt(function(Hn){var Pr=ue[Hn],wr=Pr.level!=1;return lu(fu(a,Zt(ne,wr?Pr.to:Pr.from,wr?"before":"after"),"line",b,te),Te,et,!0)},0,ue.length-1),Ft=ue[yt];if(yt>0){var Nt=Ft.level!=1,Nn=fu(a,Zt(ne,Nt?Ft.from:Ft.to,Nt?"after":"before"),"line",b,te);lu(Nn,Te,et,!0)&&Nn.top>et&&(Ft=ue[yt-1])}return Ft}function pA(a,b,ne,te,ue,Te,et){var yt=ac(a,b,te,et),Ft=yt.begin,Nt=yt.end;/\s/.test(b.text.charAt(Nt-1))&&Nt--;for(var Nn=null,Hn=null,Pr=0;Pr<ue.length;Pr++){var wr=ue[Pr];if(!(wr.from>=Nt||wr.to<=Ft)){var vi=wr.level!=1,Ki=oc(a,te,vi?Math.min(Nt,wr.to)-1:Math.max(Ft,wr.from)).right,fo=Ki<Te?Te-Ki+1e9:Ki-Te;(!Nn||Hn>fo)&&(Nn=wr,Hn=fo)}}return Nn||(Nn=ue[ue.length-1]),Nn.from<Ft&&(Nn={from:Ft,to:Nn.to,level:Nn.level}),Nn.to>Nt&&(Nn={from:Nn.from,to:Nt,level:Nn.level}),Nn}var Wl;function bc(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Wl==null){Wl=ht("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)Wl.appendChild(document.createTextNode("x")),Wl.appendChild(ht("br"));Wl.appendChild(document.createTextNode("x"))}at(a.measure,Wl);var ne=Wl.offsetHeight/50;return ne>3&&(a.cachedTextHeight=ne),st(a.measure),ne||1}function iA(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var b=ht("span","xxxxxxxxxx"),ne=ht("pre",[b],"CodeMirror-line-like");at(a.measure,ne);var te=b.getBoundingClientRect(),ue=(te.right-te.left)/10;return ue>2&&(a.cachedCharWidth=ue),ue||10}function oA(a){for(var b=a.display,ne={},te={},ue=b.gutters.clientLeft,Te=b.gutters.firstChild,et=0;Te;Te=Te.nextSibling,++et){var yt=a.display.gutterSpecs[et].className;ne[yt]=Te.offsetLeft+Te.clientLeft+ue,te[yt]=Te.clientWidth}return{fixedPos:Ed(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:b.wrapper.clientWidth}}function Ed(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Jf(a){var b=bc(a.display),ne=a.options.lineWrapping,te=ne&&Math.max(5,a.display.scroller.clientWidth/iA(a.display)-3);return function(ue){if(Bi(a.doc,ue))return 0;var Te=0;if(ue.widgets)for(var et=0;et<ue.widgets.length;et++)ue.widgets[et].height&&(Te+=ue.widgets[et].height);return ne?Te+(Math.ceil(ue.text.length/te)||1)*b:Te+b}}function nd(a){var b=a.doc,ne=Jf(a);b.iter(function(te){var ue=ne(te);ue!=te.height&&ni(te,ue)})}function PA(a,b,ne,te){var ue=a.display;if(!ne&&Gt(b).getAttribute("cm-not-content")=="true")return null;var Te,et,yt=ue.lineSpace.getBoundingClientRect();try{Te=b.clientX-yt.left,et=b.clientY-yt.top}catch(Hn){return null}var Ft=bs(a,Te,et),Nt;if(te&&Ft.xRel>0&&(Nt=ar(a.doc,Ft.line).text).length==Ft.ch){var Nn=We(Nt,Nt.length,a.options.tabSize)-Nt.length;Ft=Zt(Ft.line,Math.max(0,Math.round((Te-du(a.display).left)/iA(a.display))-Nn))}return Ft}function gA(a,b){if(b>=a.display.viewTo||(b-=a.display.viewFrom,b<0))return null;for(var ne=a.display.view,te=0;te<ne.length;te++)if(b-=ne[te].size,b<0)return te}function Ou(a,b,ne,te){b==null&&(b=a.doc.first),ne==null&&(ne=a.doc.first+a.doc.size),te||(te=0);var ue=a.display;if(te&&ne<ue.viewTo&&(ue.updateLineNumbers==null||ue.updateLineNumbers>b)&&(ue.updateLineNumbers=b),a.curOp.viewChanged=!0,b>=ue.viewTo)hi&&jr(a.doc,b)<ue.viewTo&&aA(a);else if(ne<=ue.viewFrom)hi&&Yr(a.doc,ne+te)>ue.viewFrom?aA(a):(ue.viewFrom+=te,ue.viewTo+=te);else if(b<=ue.viewFrom&&ne>=ue.viewTo)aA(a);else if(b<=ue.viewFrom){var Te=Sd(a,ne,ne+te,1);Te?(ue.view=ue.view.slice(Te.index),ue.viewFrom=Te.lineN,ue.viewTo+=te):aA(a)}else if(ne>=ue.viewTo){var et=Sd(a,b,b,-1);et?(ue.view=ue.view.slice(0,et.index),ue.viewTo=et.lineN):aA(a)}else{var yt=Sd(a,b,b,-1),Ft=Sd(a,ne,ne+te,1);yt&&Ft?(ue.view=ue.view.slice(0,yt.index).concat(ja(a,yt.lineN,Ft.lineN)).concat(ue.view.slice(Ft.index)),ue.viewTo+=te):aA(a)}var Nt=ue.externalMeasured;Nt&&(ne<Nt.lineN?Nt.lineN+=te:b<Nt.lineN+Nt.size&&(ue.externalMeasured=null))}function TA(a,b,ne){a.curOp.viewChanged=!0;var te=a.display,ue=a.display.externalMeasured;if(ue&&b>=ue.lineN&&b<ue.lineN+ue.size&&(te.externalMeasured=null),!(b<te.viewFrom||b>=te.viewTo)){var Te=te.view[gA(a,b)];if(Te.node!=null){var et=Te.changes||(Te.changes=[]);At(et,ne)==-1&&et.push(ne)}}}function aA(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Sd(a,b,ne,te){var ue=gA(a,b),Te,et=a.display.view;if(!hi||ne==a.doc.first+a.doc.size)return{index:ue,lineN:ne};for(var yt=a.display.viewFrom,Ft=0;Ft<ue;Ft++)yt+=et[Ft].size;if(yt!=b){if(te>0){if(ue==et.length-1)return null;Te=yt+et[ue].size-b,ue++}else Te=yt-b;b+=Te,ne+=Te}for(;jr(a.doc,ne)!=ne;){if(ue==(te<0?0:et.length-1))return null;ne+=te*et[ue-(te<0?1:0)].size,ue+=te}return{index:ue,lineN:ne}}function qf(a,b,ne){var te=a.display,ue=te.view;ue.length==0||b>=te.viewTo||ne<=te.viewFrom?(te.view=ja(a,b,ne),te.viewFrom=b):(te.viewFrom>b?te.view=ja(a,b,te.viewFrom).concat(te.view):te.viewFrom<b&&(te.view=te.view.slice(gA(a,b))),te.viewFrom=b,te.viewTo<ne?te.view=te.view.concat(ja(a,te.viewTo,ne)):te.viewTo>ne&&(te.view=te.view.slice(0,gA(a,ne)))),te.viewTo=ne}function Ms(a){for(var b=a.display.view,ne=0,te=0;te<b.length;te++){var ue=b[te];!ue.hidden&&(!ue.node||ue.changes)&&++ne}return ne}function Ju(a){a.display.input.showSelection(a.display.input.prepareSelection())}function mA(a,b){b===void 0&&(b=!0);for(var ne=a.doc,te={},ue=te.cursors=document.createDocumentFragment(),Te=te.selection=document.createDocumentFragment(),et=0;et<ne.sel.ranges.length;et++)if(!(!b&&et==ne.sel.primIndex)){var yt=ne.sel.ranges[et];if(!(yt.from().line>=a.display.viewTo||yt.to().line<a.display.viewFrom)){var Ft=yt.empty();(Ft||a.options.showCursorWhenSelecting)&&Th(a,yt.head,ue),Ft||kh(a,yt,Te)}}return te}function Th(a,b,ne){var te=fu(a,b,"div",null,null,!a.options.singleCursorHeightPerLine),ue=ne.appendChild(ht("div","\xA0","CodeMirror-cursor"));if(ue.style.left=te.left+"px",ue.style.top=te.top+"px",ue.style.height=Math.max(0,te.bottom-te.top)*a.options.cursorHeight+"px",te.other){var Te=ne.appendChild(ht("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Te.style.display="",Te.style.left=te.other.left+"px",Te.style.top=te.other.top+"px",Te.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function Xc(a,b){return a.top-b.top||a.left-b.left}function kh(a,b,ne){var te=a.display,ue=a.doc,Te=document.createDocumentFragment(),et=du(a.display),yt=et.left,Ft=Math.max(te.sizerWidth,Qi(a)-te.sizer.offsetLeft)-et.right,Nt=ue.direction=="ltr";function Nn(Po,la,Ua,xa){la<0&&(la=0),la=Math.round(la),xa=Math.round(xa),Te.appendChild(ht("div",null,"CodeMirror-selected","position: absolute; left: "+Po+`px;
top: `+la+"px; width: "+(Ua==null?Ft-Po:Ua)+`px;
height: `+(xa-la)+"px"))}function Hn(Po,la,Ua){var xa=ar(ue,Po),Ha=xa.text.length,Sl,Ku;function Xl(Uu,Bc){return ru(a,Zt(Po,Uu),"div",xa,Bc)}function xc(Uu,Bc,dc){var Lo=Zl(a,xa,null,Uu),Hl=Bc=="ltr"==(dc=="after")?"left":"right",Yl=dc=="after"?Lo.begin:Lo.end-(/\s/.test(xa.text.charAt(Lo.end-1))?2:1);return Xl(Yl,Hl)[Hl]}var nc=xt(xa,ue.direction);return vt(nc,la||0,Ua==null?Ha:Ua,function(Uu,Bc,dc,Lo){var Hl=dc=="ltr",Yl=Xl(Uu,Hl?"left":"right"),$l=Xl(Bc-1,Hl?"right":"left"),Of=la==null&&Uu==0,Zs=Ua==null&&Bc==Ha,Ls=Lo==0,sA=!nc||Lo==nc.length-1;if($l.top-Yl.top<=3){var fc=(Nt?Of:Zs)&&Ls,dh=(Nt?Zs:Of)&&sA,Ra=fc?yt:(Hl?Yl:$l).left,IA=dh?Ft:(Hl?$l:Yl).right;Nn(Ra,Yl.top,IA-Ra,Yl.bottom)}else{var dl,hc,Md,Pf;Hl?(dl=Nt&&Of&&Ls?yt:Yl.left,hc=Nt?Ft:xc(Uu,dc,"before"),Md=Nt?yt:xc(Bc,dc,"after"),Pf=Nt&&Zs&&sA?Ft:$l.right):(dl=Nt?xc(Uu,dc,"before"):yt,hc=!Nt&&Of&&Ls?Ft:Yl.right,Md=!Nt&&Zs&&sA?yt:$l.left,Pf=Nt?xc(Bc,dc,"after"):Ft),Nn(dl,Yl.top,hc-dl,Yl.bottom),Yl.bottom<$l.top&&Nn(yt,Yl.bottom,null,$l.top),Nn(Md,$l.top,Pf-Md,$l.bottom)}(!Sl||Xc(Yl,Sl)<0)&&(Sl=Yl),Xc($l,Sl)<0&&(Sl=$l),(!Ku||Xc(Yl,Ku)<0)&&(Ku=Yl),Xc($l,Ku)<0&&(Ku=$l)}),{start:Sl,end:Ku}}var Pr=b.from(),wr=b.to();if(Pr.line==wr.line)Hn(Pr.line,Pr.ch,wr.ch);else{var vi=ar(ue,Pr.line),Ki=ar(ue,wr.line),fo=Zr(vi)==Zr(Ki),Oo=Hn(Pr.line,Pr.ch,fo?vi.text.length+1:null).end,Wo=Hn(wr.line,fo?0:null,wr.ch).start;fo&&(Oo.top<Wo.top-2?(Nn(Oo.right,Oo.top,null,Oo.bottom),Nn(yt,Wo.top,Wo.left,Wo.bottom)):Nn(Oo.right,Oo.top,Wo.left-Oo.right,Oo.bottom)),Oo.bottom<Wo.top&&Nn(yt,Oo.bottom,null,Wo.top)}ne.appendChild(Te)}function Fd(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var ne=!0;b.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?b.blinker=setInterval(function(){a.hasFocus()||Yc(a),b.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function eh(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,Yc(a))},100)}function Cf(a,b){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(ln(a,"focus",a,b),a.state.focused=!0,Qe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Me&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Fd(a))}function Yc(a,b){a.state.delayingBlurEvent||(a.state.focused&&(ln(a,"blur",a,b),a.state.focused=!1,Ve(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ma(a){for(var b=a.display,ne=b.lineDiv.offsetTop,te=0;te<b.view.length;te++){var ue=b.view[te],Te=a.options.lineWrapping,et=void 0,yt=0;if(!ue.hidden){if(He&&Fe<8){var Ft=ue.node.offsetTop+ue.node.offsetHeight;et=Ft-ne,ne=Ft}else{var Nt=ue.node.getBoundingClientRect();et=Nt.bottom-Nt.top,!Te&&ue.text.firstChild&&(yt=ue.text.firstChild.getBoundingClientRect().right-Nt.left-1)}var Nn=ue.line.height-et;if((Nn>.005||Nn<-.005)&&(ni(ue.line,et),Rl(ue.line),ue.rest))for(var Hn=0;Hn<ue.rest.length;Hn++)Rl(ue.rest[Hn]);if(yt>a.display.sizerWidth){var Pr=Math.ceil(yt/iA(a.display));Pr>a.display.maxLineLength&&(a.display.maxLineLength=Pr,a.display.maxLine=ue.line,a.display.maxLineChanged=!0)}}}}function Rl(a){if(a.widgets)for(var b=0;b<a.widgets.length;++b){var ne=a.widgets[b],te=ne.node.parentNode;te&&(ne.height=te.offsetHeight)}}function Mc(a,b,ne){var te=ne&&ne.top!=null?Math.max(0,ne.top):a.scroller.scrollTop;te=Math.floor(te-Ol(a));var ue=ne&&ne.bottom!=null?ne.bottom:te+a.wrapper.clientHeight,Te=Cn(b,te),et=Cn(b,ue);if(ne&&ne.ensure){var yt=ne.ensure.from.line,Ft=ne.ensure.to.line;yt<Te?(Te=yt,et=Cn(b,Ro(ar(b,yt))+a.wrapper.clientHeight)):Math.min(Ft,b.lastLine())>=et&&(Te=Cn(b,Ro(ar(b,Ft))-a.wrapper.clientHeight),et=Ft)}return{from:Te,to:Math.max(et,Te+1)}}function rd(a,b){if(!nn(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&&!Re){var Te=ht("div","\u200B",null,`position: absolute;
top: `+(b.top-ne.viewOffset-Ol(a.display))+`px;
height: `+(b.bottom-b.top+Gu(a)+ne.barHeight)+`px;
left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");a.display.lineSpace.appendChild(Te),Te.scrollIntoView(ue),a.display.lineSpace.removeChild(Te)}}}function kA(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 Te=0;Te<5;Te++){var et=!1,yt=fu(a,b),Ft=!ne||ne==b?yt:fu(a,ne);ue={left:Math.min(yt.left,Ft.left),top:Math.min(yt.top,Ft.top)-te,right:Math.max(yt.left,Ft.left),bottom:Math.max(yt.bottom,Ft.bottom)+te};var Nt=MA(a,ue),Nn=a.doc.scrollTop,Hn=a.doc.scrollLeft;if(Nt.scrollTop!=null&&(sc(a,Nt.scrollTop),Math.abs(a.doc.scrollTop-Nn)>1&&(et=!0)),Nt.scrollLeft!=null&&(yA(a,Nt.scrollLeft),Math.abs(a.doc.scrollLeft-Hn)>1&&(et=!0)),!et)break}return ue}function Kp(a,b){var ne=MA(a,b);ne.scrollTop!=null&&sc(a,ne.scrollTop),ne.scrollLeft!=null&&yA(a,ne.scrollLeft)}function MA(a,b){var ne=a.display,te=bc(a.display);b.top<0&&(b.top=0);var ue=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ne.scroller.scrollTop,Te=Bo(a),et={};b.bottom-b.top>Te&&(b.bottom=b.top+Te);var yt=a.doc.height+bu(ne),Ft=b.top<te,Nt=b.bottom>yt-te;if(b.top<ue)et.scrollTop=Ft?0:b.top;else if(b.bottom>ue+Te){var Nn=Math.min(b.top,(Nt?yt:b.bottom)-Te);Nn!=ue&&(et.scrollTop=Nn)}var Hn=a.options.fixedGutter?0:ne.gutters.offsetWidth,Pr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ne.scroller.scrollLeft-Hn,wr=Qi(a)-ne.gutters.offsetWidth,vi=b.right-b.left>wr;return vi&&(b.right=b.left+wr),b.left<10?et.scrollLeft=0:b.left<Pr?et.scrollLeft=Math.max(0,b.left+Hn-(vi?0:10)):b.right>wr+Pr-3&&(et.scrollLeft=b.right+(vi?0:10)-wr),et}function th(a,b){b!=null&&(vA(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+b)}function Uc(a){vA(a);var b=a.getCursor();a.curOp.scrollToPos={from:b,to:b,margin:a.options.cursorScrollMargin}}function id(a,b,ne){(b!=null||ne!=null)&&vA(a),b!=null&&(a.curOp.scrollLeft=b),ne!=null&&(a.curOp.scrollTop=ne)}function Zp(a,b){vA(a),a.curOp.scrollToPos=b}function vA(a){var b=a.curOp.scrollToPos;if(b){a.curOp.scrollToPos=null;var ne=Fa(a,b.from),te=Fa(a,b.to);Dc(a,ne,te,b.margin)}}function Dc(a,b,ne,te){var ue=MA(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});id(a,ue.scrollLeft,ue.scrollTop)}function sc(a,b){Math.abs(a.doc.scrollTop-b)<2||(x||Ld(a,{top:b}),zs(a,b,!0),x&&Ld(a),sd(a,100))}function zs(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 yA(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,Yt(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbars.setScrollLeft(b))}function od(a){var b=a.display,ne=b.gutters.offsetWidth,te=Math.round(a.doc.height+bu(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+Gu(a)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:ne}}var ad=function(a,b,ne){this.cm=ne;var te=this.vert=ht("div",[ht("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ue=this.horiz=ht("div",[ht("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ue.tabIndex=-1,a(te),a(ue),Xt(te,"scroll",function(){te.clientHeight&&b(te.scrollTop,"vertical")}),Xt(ue,"scroll",function(){ue.clientWidth&&b(ue.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,He&&Fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ad.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 Te=a.viewWidth-a.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+Te)+"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}},ad.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ad.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ad.prototype.zeroWidthHack=function(){var a=we&&!ye?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ke,this.disableVert=new ke},ad.prototype.enableZeroWidthBar=function(a,b,ne){a.style.pointerEvents="auto";function te(){var ue=a.getBoundingClientRect(),Te=ne=="vert"?document.elementFromPoint(ue.right-1,(ue.top+ue.bottom)/2):document.elementFromPoint((ue.right+ue.left)/2,ue.bottom-1);Te!=a?a.style.pointerEvents="none":b.set(1e3,te)}b.set(1e3,te)},ad.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var wA=function(){};wA.prototype.update=function(){return{bottom:0,right:0}},wA.prototype.setScrollLeft=function(){},wA.prototype.setScrollTop=function(){},wA.prototype.clear=function(){};function UA(a,b){b||(b=od(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&&ma(a),xf(a,od(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 Id={native:ad,null:wA};function Mh(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ve(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Id[a.options.scrollbarStyle](function(b){a.display.wrapper.insertBefore(b,a.display.scrollbarFiller),Xt(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"?yA(a,b):sc(a,b)},a),a.display.scrollbars.addClass&&Qe(a.display.wrapper,a.display.scrollbars.addClass)}var Wp=0;function lc(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:++Wp},Fs(a.curOp)}function bA(a){var b=a.curOp;b&&tu(b,function(ne){for(var te=0;te<ne.ops.length;te++)ne.ops[te].cm.curOp=null;up(ne)})}function up(a){for(var b=a.ops,ne=0;ne<b.length;ne++)Vp(b[ne]);for(var te=0;te<b.length;te++)Xd(b[te]);for(var ue=0;ue<b.length;ue++)cp(b[ue]);for(var Te=0;Te<b.length;Te++)Yd(b[Te]);for(var et=0;et<b.length;et++)Gp(b[et])}function Vp(a){var b=a.cm,ne=b.display;Ap(b),a.updateMaxLine&&$o(b),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<ne.viewFrom||a.scrollToPos.to.line>=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&&nh(a.cm,a.update)}function cp(a){var b=a.cm,ne=b.display;a.updatedDisplay&&ma(b),a.barMeasure=od(b),ne.maxLineChanged&&!b.options.lineWrapping&&(a.adjustWidthTo=nu(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+Gu(b)+b.display.barWidth),a.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+a.adjustWidthTo-Qi(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<b.doc.scrollLeft&&yA(b,Math.min(b.display.scroller.scrollLeft,a.maxScrollLeft),!0),b.display.maxLineChanged=!1);var ne=a.focus&&a.focus==Ne();a.preparedSelection&&b.display.input.showSelection(a.preparedSelection,ne),(a.updatedDisplay||a.startHeight!=b.doc.height)&&UA(b,a.barMeasure),a.updatedDisplay&&wt(b,a.barMeasure),a.selectionChanged&&Fd(b),b.state.focused&&a.updateInput&&b.display.input.reset(a.typing),ne&&eh(a.cm)}function Gp(a){var b=a.cm,ne=b.display,te=b.doc;if(a.updatedDisplay&&CA(b,a.update),ne.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(ne.wheelStartX=ne.wheelStartY=null),a.scrollTop!=null&&zs(b,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&yA(b,a.scrollLeft,!0,!0),a.scrollToPos){var ue=kA(b,or(te,a.scrollToPos.from),or(te,a.scrollToPos.to),a.scrollToPos.margin);rd(b,ue)}var Te=a.maybeHiddenMarkers,et=a.maybeUnhiddenMarkers;if(Te)for(var yt=0;yt<Te.length;++yt)Te[yt].lines.length||ln(Te[yt],"hide");if(et)for(var Ft=0;Ft<et.length;++Ft)et[Ft].lines.length&&ln(et[Ft],"unhide");ne.wrapper.offsetHeight&&(te.scrollTop=b.display.scroller.scrollTop),a.changeObjs&&ln(b,"changes",b,a.changeObjs),a.update&&a.update.finish()}function uc(a,b){if(a.curOp)return b();lc(a);try{return b()}finally{bA(a)}}function Pu(a,b){return function(){if(a.curOp)return b.apply(a,arguments);lc(a);try{return b.apply(a,arguments)}finally{bA(a)}}}function cc(a){return function(){if(this.curOp)return a.apply(this,arguments);lc(this);try{return a.apply(this,arguments)}finally{bA(this)}}}function Tu(a){return function(){var b=this.cm;if(!b||b.curOp)return a.apply(this,arguments);lc(b);try{return a.apply(this,arguments)}finally{bA(b)}}}function sd(a,b){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(b,lt($d,a))}function $d(a){var b=a.doc;if(!(b.highlightFrontier>=a.display.viewTo)){var ne=+new Date+a.options.workTime,te=tn(a,b.highlightFrontier),ue=[];b.iter(te.line,Math.min(b.first+b.size,a.display.viewTo+500),function(Te){if(te.line>=a.display.viewFrom){var et=Te.styles,yt=Te.text.length>a.options.maxHighlightLength?Pi(b.mode,te.state):null,Ft=Xi(a,Te,te,!0);yt&&(te.state=yt),Te.styles=Ft.styles;var Nt=Te.styleClasses,Nn=Ft.classes;Nn?Te.styleClasses=Nn:Nt&&(Te.styleClasses=null);for(var Hn=!et||et.length!=Te.styles.length||Nt!=Nn&&(!Nt||!Nn||Nt.bgClass!=Nn.bgClass||Nt.textClass!=Nn.textClass),Pr=0;!Hn&&Pr<et.length;++Pr)Hn=et[Pr]!=Te.styles[Pr];Hn&&ue.push(te.line),Te.stateAfter=te.save(),te.nextLine()}else Te.text.length<=a.options.maxHighlightLength&&$t(a,Te.text,te),Te.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>ne)return sd(a,a.options.workDelay),!0}),b.highlightFrontier=te.line,b.modeFrontier=Math.max(b.modeFrontier,te.line),ue.length&&uc(a,function(){for(var Te=0;Te<ue.length;Te++)TA(a,ue[Te],"text")})}}var Bf=function(a,b,ne){var te=a.display;this.viewport=b,this.visible=Mc(te,a.doc,b),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=Qi(a),this.force=ne,this.dims=oA(a),this.events=[]};Bf.prototype.signal=function(a,b){Ln(a,b)&&this.events.push(arguments)},Bf.prototype.finish=function(){for(var a=0;a<this.events.length;a++)ln.apply(null,this.events[a])};function Ap(a){var b=a.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Gu(a)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Gu(a)+"px",b.scrollbarsClipped=!0)}function dp(a){if(a.hasFocus())return null;var b=Ne();if(!b||!pt(a.display.lineDiv,b))return null;var ne={activeElt:b};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&pt(a.display.lineDiv,te.anchorNode)&&(ne.anchorNode=te.anchorNode,ne.anchorOffset=te.anchorOffset,ne.focusNode=te.focusNode,ne.focusOffset=te.focusOffset)}return ne}function fp(a){if(!(!a||!a.activeElt||a.activeElt==Ne())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&pt(document.body,a.anchorNode)&&pt(document.body,a.focusNode))){var b=window.getSelection(),ne=document.createRange();ne.setEnd(a.anchorNode,a.anchorOffset),ne.collapse(!1),b.removeAllRanges(),b.addRange(ne),b.extend(a.focusNode,a.focusOffset)}}function nh(a,b){var ne=a.display,te=a.doc;if(b.editorIsHidden)return aA(a),!1;if(!b.force&&b.visible.from>=ne.viewFrom&&b.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&Ms(a)==0)return!1;dn(a)&&(aA(a),b.dims=oA(a));var ue=te.first+te.size,Te=Math.max(b.visible.from-a.options.viewportMargin,te.first),et=Math.min(ue,b.visible.to+a.options.viewportMargin);ne.viewFrom<Te&&Te-ne.viewFrom<20&&(Te=Math.max(te.first,ne.viewFrom)),ne.viewTo>et&&ne.viewTo-et<20&&(et=Math.min(ue,ne.viewTo)),hi&&(Te=jr(a.doc,Te),et=Yr(a.doc,et));var yt=Te!=ne.viewFrom||et!=ne.viewTo||ne.lastWrapHeight!=b.wrapperHeight||ne.lastWrapWidth!=b.wrapperWidth;qf(a,Te,et),ne.viewOffset=Ro(ar(a.doc,ne.viewFrom)),a.display.mover.style.top=ne.viewOffset+"px";var Ft=Ms(a);if(!yt&&Ft==0&&!b.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Nt=dp(a);return Ft>4&&(ne.lineDiv.style.display="none"),hp(a,ne.updateLineNumbers,b.dims),Ft>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,fp(Nt),st(ne.cursorDiv),st(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,yt&&(ne.lastWrapHeight=b.wrapperHeight,ne.lastWrapWidth=b.wrapperWidth,sd(a,400)),ne.updateLineNumbers=null,!0}function CA(a,b){for(var ne=b.viewport,te=!0;;te=!1){if(!te||!a.options.lineWrapping||b.oldDisplayWidth==Qi(a)){if(ne&&ne.top!=null&&(ne={top:Math.min(a.doc.height+bu(a.display)-Bo(a),ne.top)}),b.visible=Mc(a.display,a.doc,ne),b.visible.from>=a.display.viewFrom&&b.visible.to<=a.display.viewTo)break}else te&&(b.visible=Mc(a.display,a.doc,ne));if(!nh(a,b))break;ma(a);var ue=od(a);Ju(a),UA(a,ue),wt(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 Ld(a,b){var ne=new Bf(a,b);if(nh(a,ne)){ma(a),CA(a,ne);var te=od(a);Ju(a),UA(a,te),wt(a,te),ne.finish()}}function hp(a,b,ne){var te=a.display,ue=a.options.lineNumbers,Te=te.lineDiv,et=Te.firstChild;function yt(vi){var Ki=vi.nextSibling;return Me&&we&&a.display.currentWheelTarget==vi?vi.style.display="none":vi.parentNode.removeChild(vi),Ki}for(var Ft=te.view,Nt=te.viewFrom,Nn=0;Nn<Ft.length;Nn++){var Hn=Ft[Nn];if(!Hn.hidden)if(!Hn.node||Hn.node.parentNode!=Te){var Pr=ga(a,Hn,Nt,ne);Te.insertBefore(Pr,et)}else{for(;et!=Hn.node;)et=yt(et);var wr=ue&&b!=null&&b<=Nt&&Hn.lineNumber;Hn.changes&&(At(Hn.changes,"gutter")>-1&&(wr=!1),wu(a,Hn,Nt,ne)),wr&&(st(Hn.lineNumber),Hn.lineNumber.appendChild(document.createTextNode(pn(a.options,Nt)))),et=Hn.node.nextSibling}Nt+=Hn.size}for(;et;)et=yt(et)}function bt(a){var b=a.gutters.offsetWidth;a.sizer.style.marginLeft=b+"px"}function wt(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+Gu(a)+"px"}function Yt(a){var b=a.display,ne=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!a.options.fixedGutter))){for(var te=Ed(b)-b.scroller.scrollLeft+a.doc.scrollLeft,ue=b.gutters.offsetWidth,Te=te+"px",et=0;et<ne.length;et++)if(!ne[et].hidden){a.options.fixedGutter&&(ne[et].gutter&&(ne[et].gutter.style.left=Te),ne[et].gutterBackground&&(ne[et].gutterBackground.style.left=Te));var yt=ne[et].alignable;if(yt)for(var Ft=0;Ft<yt.length;Ft++)yt[Ft].style.left=Te}a.options.fixedGutter&&(b.gutters.style.left=te+ue+"px")}}function dn(a){if(!a.options.lineNumbers)return!1;var b=a.doc,ne=pn(a.options,b.first+b.size-1),te=a.display;if(ne.length!=te.lineNumChars){var ue=te.measure.appendChild(ht("div",[ht("div",ne)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Te=ue.firstChild.offsetWidth,et=ue.offsetWidth-Te;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(Te,te.lineGutter.offsetWidth-et)+1,te.lineNumWidth=te.lineNumInnerWidth+et,te.lineNumChars=te.lineNumInnerWidth?ne.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",bt(a.display),!0}return!1}function In(a,b){for(var ne=[],te=!1,ue=0;ue<a.length;ue++){var Te=a[ue],et=null;if(typeof Te!="string"&&(et=Te.style,Te=Te.className),Te=="CodeMirror-linenumbers")if(b)te=!0;else continue;ne.push({className:Te,style:et})}return b&&!te&&ne.push({className:"CodeMirror-linenumbers",style:null}),ne}function Un(a){var b=a.gutters,ne=a.gutterSpecs;st(b),a.lineGutter=null;for(var te=0;te<ne.length;++te){var ue=ne[te],Te=ue.className,et=ue.style,yt=b.appendChild(ht("div",null,"CodeMirror-gutter "+Te));et&&(yt.style.cssText=et),Te=="CodeMirror-linenumbers"&&(a.lineGutter=yt,yt.style.width=(a.lineNumWidth||1)+"px")}b.style.display=ne.length?"":"none",bt(a)}function tr(a){Un(a.display),Ou(a),Yt(a)}function Jn(a,b,ne,te){var ue=this;this.input=ne,ue.scrollbarFiller=ht("div",null,"CodeMirror-scrollbar-filler"),ue.scrollbarFiller.setAttribute("cm-not-content","true"),ue.gutterFiller=ht("div",null,"CodeMirror-gutter-filler"),ue.gutterFiller.setAttribute("cm-not-content","true"),ue.lineDiv=Ct("div",null,"CodeMirror-code"),ue.selectionDiv=ht("div",null,null,"position: relative; z-index: 1"),ue.cursorDiv=ht("div",null,"CodeMirror-cursors"),ue.measure=ht("div",null,"CodeMirror-measure"),ue.lineMeasure=ht("div",null,"CodeMirror-measure"),ue.lineSpace=Ct("div",[ue.measure,ue.lineMeasure,ue.selectionDiv,ue.cursorDiv,ue.lineDiv],null,"position: relative; outline: none");var Te=Ct("div",[ue.lineSpace],"CodeMirror-lines");ue.mover=ht("div",[Te],null,"position: relative"),ue.sizer=ht("div",[ue.mover],"CodeMirror-sizer"),ue.sizerWidth=null,ue.heightForcer=ht("div",null,null,"position: absolute; height: "+Kt+"px; width: 1px;"),ue.gutters=ht("div",null,"CodeMirror-gutters"),ue.lineGutter=null,ue.scroller=ht("div",[ue.sizer,ue.heightForcer,ue.gutters],"CodeMirror-scroll"),ue.scroller.setAttribute("tabIndex","-1"),ue.wrapper=ht("div",[ue.scrollbarFiller,ue.gutterFiller,ue.scroller],"CodeMirror"),He&&Fe<8&&(ue.gutters.style.zIndex=-1,ue.scroller.style.paddingRight=0),!Me&&!(x&&ve)&&(ue.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ue.wrapper):a(ue.wrapper)),ue.viewFrom=ue.viewTo=b.first,ue.reportedViewFrom=ue.reportedViewTo=b.first,ue.view=[],ue.renderedView=null,ue.externalMeasured=null,ue.viewOffset=0,ue.lastWrapHeight=ue.lastWrapWidth=0,ue.updateLineNumbers=null,ue.nativeBarWidth=ue.barHeight=ue.barWidth=0,ue.scrollbarsClipped=!1,ue.lineNumWidth=ue.lineNumInnerWidth=ue.lineNumChars=null,ue.alignWidgets=!1,ue.cachedCharWidth=ue.cachedTextHeight=ue.cachedPaddingH=null,ue.maxLine=null,ue.maxLineLength=0,ue.maxLineChanged=!1,ue.wheelDX=ue.wheelDY=ue.wheelStartX=ue.wheelStartY=null,ue.shift=!1,ue.selForContextMenu=null,ue.activeTouch=null,ue.gutterSpecs=In(te.gutters,te.lineNumbers),Un(ue),ne.init(ue)}var mr=0,cr=null;He?cr=-.53:x?cr=15:xe?cr=-.7:Pe&&(cr=-1/3);function ii(a){var b=a.wheelDeltaX,ne=a.wheelDeltaY;return b==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(b=a.detail),ne==null&&a.detail&&a.axis==a.VERTICAL_AXIS?ne=a.detail:ne==null&&(ne=a.wheelDelta),{x:b,y:ne}}function Mr(a){var b=ii(a);return b.x*=cr,b.y*=cr,b}function Ur(a,b){var ne=ii(b),te=ne.x,ue=ne.y,Te=a.display,et=Te.scroller,yt=et.scrollWidth>et.clientWidth,Ft=et.scrollHeight>et.clientHeight;if(te&&yt||ue&&Ft){if(ue&&we&&Me){e:for(var Nt=b.target,Nn=Te.view;Nt!=et;Nt=Nt.parentNode)for(var Hn=0;Hn<Nn.length;Hn++)if(Nn[Hn].node==Nt){a.display.currentWheelTarget=Nt;break e}}if(te&&!x&&!oe&&cr!=null){ue&&Ft&&sc(a,Math.max(0,et.scrollTop+ue*cr)),yA(a,Math.max(0,et.scrollLeft+te*cr)),(!ue||ue&&Ft)&&un(b),Te.wheelStartX=null;return}if(ue&&cr!=null){var Pr=ue*cr,wr=a.doc.scrollTop,vi=wr+Te.wrapper.clientHeight;Pr<0?wr=Math.max(0,wr+Pr-50):vi=Math.min(a.doc.height,vi+Pr+50),Ld(a,{top:wr,bottom:vi})}mr<20&&(Te.wheelStartX==null?(Te.wheelStartX=et.scrollLeft,Te.wheelStartY=et.scrollTop,Te.wheelDX=te,Te.wheelDY=ue,setTimeout(function(){if(Te.wheelStartX!=null){var Ki=et.scrollLeft-Te.wheelStartX,fo=et.scrollTop-Te.wheelStartY,Oo=fo&&Te.wheelDY&&fo/Te.wheelDY||Ki&&Te.wheelDX&&Ki/Te.wheelDX;Te.wheelStartX=Te.wheelStartY=null,Oo&&(cr=(cr*mr+Oo)/(mr+1),++mr)}},200)):(Te.wheelDX+=te,Te.wheelDY+=ue))}}var Lr=function(a,b){this.ranges=a,this.primIndex=b};Lr.prototype.primary=function(){return this.ranges[this.primIndex]},Lr.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var b=0;b<this.ranges.length;b++){var ne=this.ranges[b],te=a.ranges[b];if(!On(ne.anchor,te.anchor)||!On(ne.head,te.head))return!1}return!0},Lr.prototype.deepCopy=function(){for(var a=[],b=0;b<this.ranges.length;b++)a[b]=new Sr(Rr(this.ranges[b].anchor),Rr(this.ranges[b].head));return new Lr(a,this.primIndex)},Lr.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Lr.prototype.contains=function(a,b){b||(b=a);for(var ne=0;ne<this.ranges.length;ne++){var te=this.ranges[ne];if(vn(b,te.from())>=0&&vn(a,te.to())<=0)return ne}return-1};var Sr=function(a,b){this.anchor=a,this.head=b};Sr.prototype.from=function(){return li(this.anchor,this.head)},Sr.prototype.to=function(){return Xr(this.anchor,this.head)},Sr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Wi(a,b,ne){var te=a&&a.options.selectionsMayTouch,ue=b[ne];b.sort(function(Pr,wr){return vn(Pr.from(),wr.from())}),ne=At(b,ue);for(var Te=1;Te<b.length;Te++){var et=b[Te],yt=b[Te-1],Ft=vn(yt.to(),et.from());if(te&&!et.empty()?Ft>0:Ft>=0){var Nt=li(yt.from(),et.from()),Nn=Xr(yt.to(),et.to()),Hn=yt.empty()?et.from()==et.head:yt.from()==yt.head;Te<=ne&&--ne,b.splice(--Te,2,new Sr(Hn?Nn:Nt,Hn?Nt:Nn))}}return new Lr(b,ne)}function mi(a,b){return new Lr([new Sr(a,b||a)],0)}function eo(a){return a.text?Zt(a.from.line+a.text.length-1,kt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function co(a,b){if(vn(a,b.from)<0)return a;if(vn(a,b.to)<=0)return eo(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+=eo(b).ch-b.to.ch),Zt(ne,te)}function qi(a,b){for(var ne=[],te=0;te<a.sel.ranges.length;te++){var ue=a.sel.ranges[te];ne.push(new Sr(co(ue.anchor,b),co(ue.head,b)))}return Wi(a.cm,ne,a.sel.primIndex)}function po(a,b,ne){return a.line==b.line?Zt(ne.line,a.ch-b.ch+ne.ch):Zt(ne.line+(a.line-b.line),a.ch)}function Io(a,b,ne){for(var te=[],ue=Zt(a.first,0),Te=ue,et=0;et<b.length;et++){var yt=b[et],Ft=po(yt.from,ue,Te),Nt=po(eo(yt),ue,Te);if(ue=yt.to,Te=Nt,ne=="around"){var Nn=a.sel.ranges[et],Hn=vn(Nn.head,Nn.anchor)<0;te[et]=new Sr(Hn?Nt:Ft,Hn?Ft:Nt)}else te[et]=new Sr(Ft,Ft)}return new Lr(te,a.sel.primIndex)}function jo(a){a.doc.mode=ci(a.options,a.doc.modeOption),Uo(a)}function Uo(a){a.doc.iter(function(b){b.stateAfter&&(b.stateAfter=null),b.styles&&(b.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,sd(a,100),a.state.modeGen++,a.curOp&&Ou(a)}function Da(a,b){return b.from.ch==0&&b.to.ch==0&&kt(b.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function oa(a,b,ne,te){function ue(Wo){return ne?ne[Wo]:null}function Te(Wo,Po,la){da(Wo,Po,la,te),tl(Wo,"change",Wo,b)}function et(Wo,Po){for(var la=[],Ua=Wo;Ua<Po;++Ua)la.push(new Ea(Nt[Ua],ue(Ua),te));return la}var yt=b.from,Ft=b.to,Nt=b.text,Nn=ar(a,yt.line),Hn=ar(a,Ft.line),Pr=kt(Nt),wr=ue(Nt.length-1),vi=Ft.line-yt.line;if(b.full)a.insert(0,et(0,Nt.length)),a.remove(Nt.length,a.size-Nt.length);else if(Da(a,b)){var Ki=et(0,Nt.length-1);Te(Hn,Hn.text,wr),vi&&a.remove(yt.line,vi),Ki.length&&a.insert(yt.line,Ki)}else if(Nn==Hn)if(Nt.length==1)Te(Nn,Nn.text.slice(0,yt.ch)+Pr+Nn.text.slice(Ft.ch),wr);else{var fo=et(1,Nt.length-1);fo.push(new Ea(Pr+Nn.text.slice(Ft.ch),wr,te)),Te(Nn,Nn.text.slice(0,yt.ch)+Nt[0],ue(0)),a.insert(yt.line+1,fo)}else if(Nt.length==1)Te(Nn,Nn.text.slice(0,yt.ch)+Nt[0]+Hn.text.slice(Ft.ch),ue(0)),a.remove(yt.line+1,vi);else{Te(Nn,Nn.text.slice(0,yt.ch)+Nt[0],ue(0)),Te(Hn,Pr+Hn.text.slice(Ft.ch),wr);var Oo=et(1,Nt.length-1);vi>1&&a.remove(yt.line+1,vi-1),a.insert(yt.line+1,Oo)}tl(a,"change",a,b)}function ta(a,b,ne){function te(ue,Te,et){if(ue.linked)for(var yt=0;yt<ue.linked.length;++yt){var Ft=ue.linked[yt];if(Ft.doc!=Te){var Nt=et&&Ft.sharedHist;ne&&!Nt||(b(Ft.doc,Nt),te(Ft.doc,ue,Nt))}}}te(a,null,!0)}function Zo(a,b){if(b.cm)throw new Error("This document is already in use.");a.doc=b,b.cm=a,nd(a),jo(a),Ho(a),a.options.lineWrapping||$o(a),a.options.mode=b.modeOption,Ou(a)}function Ho(a){(a.doc.direction=="rtl"?Qe:Ve)(a.display.lineDiv,"CodeMirror-rtl")}function Ko(a){uc(a,function(){Ho(a),Ou(a)})}function yo(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function ho(a,b){var ne={from:Rr(b.from),to:eo(b),text:Dr(a,b.from,b.to)};return kl(a,ne,b.from.line,b.to.line+1),ta(a,function(te){return kl(te,ne,b.from.line,b.to.line+1)},!0),ne}function _o(a){for(;a.length;){var b=kt(a);if(b.ranges)a.pop();else break}}function Xo(a,b){if(b)return _o(a.done),kt(a.done);if(a.done.length&&!kt(a.done).ranges)return kt(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),kt(a.done)}function na(a,b,ne,te){var ue=a.history;ue.undone.length=0;var Te=+new Date,et,yt;if((ue.lastOp==te||ue.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&ue.lastModTime>Te-(a.cm?a.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(et=Xo(ue,ue.lastOp==te)))yt=kt(et.changes),vn(b.from,b.to)==0&&vn(b.from,yt.to)==0?yt.to=eo(b):et.changes.push(ho(a,b));else{var Ft=kt(ue.done);for((!Ft||!Ft.ranges)&&Va(a.sel,ue.done),et={changes:[ho(a,b)],generation:ue.generation},ue.done.push(et);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=Te,ue.lastOp=ue.lastSelOp=te,ue.lastOrigin=ue.lastSelOrigin=b.origin,yt||ln(a,"historyAdded")}function bo(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 rs(a,b,ne,te){var ue=a.history,Te=te&&te.origin;ne==ue.lastSelOp||Te&&ue.lastSelOrigin==Te&&(ue.lastModTime==ue.lastSelTime&&ue.lastOrigin==Te||bo(a,Te,kt(ue.done),b))?ue.done[ue.done.length-1]=b:Va(b,ue.done),ue.lastSelTime=+new Date,ue.lastSelOrigin=Te,ue.lastSelOp=ne,te&&te.clearRedo!==!1&&_o(ue.undone)}function Va(a,b){var ne=kt(b);ne&&ne.ranges&&ne.equals(a)||b.push(a)}function kl(a,b,ne,te){var ue=b["spans_"+a.id],Te=0;a.iter(Math.max(a.first,ne),Math.min(a.first+a.size,te),function(et){et.markedSpans&&((ue||(ue=b["spans_"+a.id]={}))[Te]=et.markedSpans),++Te})}function xl(a){if(!a)return null;for(var b,ne=0;ne<a.length;++ne)a[ne].marker.explicitlyCleared?b||(b=a.slice(0,ne)):b&&b.push(a[ne]);return b?b.length?b:null:a}function al(a,b){var ne=b["spans_"+a.id];if(!ne)return null;for(var te=[],ue=0;ue<b.text.length;++ue)te.push(xl(ne[ue]));return te}function Ao(a,b){var ne=al(a,b),te=So(a,b);if(!ne)return te;if(!te)return ne;for(var ue=0;ue<ne.length;++ue){var Te=ne[ue],et=te[ue];if(Te&&et)e:for(var yt=0;yt<et.length;++yt){for(var Ft=et[yt],Nt=0;Nt<Te.length;++Nt)if(Te[Nt].marker==Ft.marker)continue e;Te.push(Ft)}else et&&(ne[ue]=et)}return ne}function Vl(a,b,ne){for(var te=[],ue=0;ue<a.length;++ue){var Te=a[ue];if(Te.ranges){te.push(ne?Lr.prototype.deepCopy.call(Te):Te);continue}var et=Te.changes,yt=[];te.push({changes:yt});for(var Ft=0;Ft<et.length;++Ft){var Nt=et[Ft],Nn=void 0;if(yt.push({from:Nt.from,to:Nt.to,text:Nt.text}),b)for(var Hn in Nt)(Nn=Hn.match(/^spans_(\d+)$/))&&At(b,Number(Nn[1]))>-1&&(kt(yt)[Hn]=Nt[Hn],delete Nt[Hn])}}return te}function ds(a,b,ne,te){if(te){var ue=a.anchor;if(ne){var Te=vn(b,ue)<0;Te!=vn(ne,ue)<0?(ue=b,b=ne):Te!=vn(b,ne)<0&&(b=ne)}return new Sr(ue,b)}else return new Sr(ne||b,b)}function us(a,b,ne,te,ue){ue==null&&(ue=a.cm&&(a.cm.display.shift||a.extend)),To(a,new Lr([ds(a.sel.primary(),b,ne,ue)],0),te)}function nl(a,b,ne){for(var te=[],ue=a.cm&&(a.cm.display.shift||a.extend),Te=0;Te<a.sel.ranges.length;Te++)te[Te]=ds(a.sel.ranges[Te],b[Te],null,ue);var et=Wi(a.cm,te,a.sel.primIndex);To(a,et,ne)}function uu(a,b,ne,te){var ue=a.sel.ranges.slice(0);ue[b]=ne,To(a,Wi(a.cm,ue,a.sel.primIndex),te)}function ra(a,b,ne,te){To(a,mi(b,ne),te)}function Ca(a,b,ne){var te={ranges:b.ranges,update:function(ue){this.ranges=[];for(var Te=0;Te<ue.length;Te++)this.ranges[Te]=new Sr(or(a,ue[Te].anchor),or(a,ue[Te].head))},origin:ne&&ne.origin};return ln(a,"beforeSelectionChange",a,te),a.cm&&ln(a.cm,"beforeSelectionChange",a.cm,te),te.ranges!=b.ranges?Wi(a.cm,te.ranges,te.ranges.length-1):b}function Yo(a,b,ne){var te=a.history.done,ue=kt(te);ue&&ue.ranges?(te[te.length-1]=b,vs(a,b,ne)):To(a,b,ne)}function To(a,b,ne){vs(a,b,ne),rs(a,a.sel,a.cm?a.cm.curOp.id:NaN,ne)}function vs(a,b,ne){(Ln(a,"beforeSelectionChange")||a.cm&&Ln(a.cm,"beforeSelectionChange"))&&(b=Ca(a,b,ne));var te=ne&&ne.bias||(vn(b.primary().head,a.sel.primary().head)<0?-1:1);Os(a,Ks(a,b,te,!0)),!(ne&&ne.scroll===!1)&&a.cm&&Uc(a.cm)}function Os(a,b){b.equals(a.sel)||(a.sel=b,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,zn(a.cm)),tl(a,"cursorActivity",a))}function Gs(a){Os(a,Ks(a,a.sel,null,!1))}function Ks(a,b,ne,te){for(var ue,Te=0;Te<b.ranges.length;Te++){var et=b.ranges[Te],yt=b.ranges.length==a.sel.ranges.length&&a.sel.ranges[Te],Ft=hu(a,et.anchor,yt&&yt.anchor,ne,te),Nt=hu(a,et.head,yt&&yt.head,ne,te);(ue||Ft!=et.anchor||Nt!=et.head)&&(ue||(ue=b.ranges.slice(0,Te)),ue[Te]=new Sr(Ft,Nt))}return ue?Wi(a.cm,ue,b.primIndex):b}function sl(a,b,ne,te,ue){var Te=ar(a,b.line);if(Te.markedSpans)for(var et=0;et<Te.markedSpans.length;++et){var yt=Te.markedSpans[et],Ft=yt.marker,Nt="selectLeft"in Ft?!Ft.selectLeft:Ft.inclusiveLeft,Nn="selectRight"in Ft?!Ft.selectRight:Ft.inclusiveRight;if((yt.from==null||(Nt?yt.from<=b.ch:yt.from<b.ch))&&(yt.to==null||(Nn?yt.to>=b.ch:yt.to>b.ch))){if(ue&&(ln(Ft,"beforeCursorEnter"),Ft.explicitlyCleared))if(Te.markedSpans){--et;continue}else break;if(!Ft.atomic)continue;if(ne){var Hn=Ft.find(te<0?1:-1),Pr=void 0;if((te<0?Nn:Nt)&&(Hn=aa(a,Hn,-te,Hn&&Hn.line==b.line?Te:null)),Hn&&Hn.line==b.line&&(Pr=vn(Hn,ne))&&(te<0?Pr<0:Pr>0))return sl(a,Hn,b,te,ue)}var wr=Ft.find(te<0?-1:1);return(te<0?Nt:Nn)&&(wr=aa(a,wr,te,wr.line==b.line?Te:null)),wr?sl(a,wr,b,te,ue):null}}return b}function hu(a,b,ne,te,ue){var Te=te||1,et=sl(a,b,ne,Te,ue)||!ue&&sl(a,b,ne,Te,!0)||sl(a,b,ne,-Te,ue)||!ue&&sl(a,b,ne,-Te,!0);return et||(a.cantEdit=!0,Zt(a.first,0))}function aa(a,b,ne,te){return ne<0&&b.ch==0?b.line>a.first?or(a,Zt(b.line-1)):null:ne>0&&b.ch==(te||ar(a,b.line)).text.length?b.line<a.first+a.size-1?Zt(b.line+1,0):null:new Zt(b.line,b.ch+ne)}function ea(a){a.setSelection(Zt(a.firstLine(),0),Zt(a.lastLine()),nt)}function Is(a,b,ne){var te={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){return te.canceled=!0}};return ne&&(te.update=function(ue,Te,et,yt){ue&&(te.from=or(a,ue)),Te&&(te.to=or(a,Te)),et&&(te.text=et),yt!==void 0&&(te.origin=yt)}),ln(a,"beforeChange",a,te),a.cm&&ln(a.cm,"beforeChange",a.cm,te),te.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:te.from,to:te.to,text:te.text,origin:te.origin}}function Js(a,b,ne){if(a.cm){if(!a.cm.curOp)return Pu(a.cm,Js)(a,b,ne);if(a.cm.state.suppressEdits)return}if(!((Ln(a,"beforeChange")||a.cm&&Ln(a.cm,"beforeChange"))&&(b=Is(a,b,!0),!b))){var te=xi&&!ne&&Do(a,b.from,b.to);if(te)for(var ue=te.length-1;ue>=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]==""&&vn(b.from,b.to)==0)){var ne=qi(a,b);na(a,b,ne,a.cm?a.cm.curOp.id:NaN),Ac(a,b,ne,So(a,b));var te=[];ta(a,function(ue,Te){!Te&&At(te,ue.history)==-1&&(cu(ue.history,b),te.push(ue.history)),Ac(ue,b,null,So(ue,b))})}}function pu(a,b,ne){var te=a.cm&&a.cm.state.suppressEdits;if(!(te&&!ne)){for(var ue=a.history,Te,et=a.sel,yt=b=="undo"?ue.done:ue.undone,Ft=b=="undo"?ue.undone:ue.done,Nt=0;Nt<yt.length&&(Te=yt[Nt],!(ne?Te.ranges&&!Te.equals(a.sel):!Te.ranges));Nt++);if(Nt!=yt.length){for(ue.lastOrigin=ue.lastSelOrigin=null;;)if(Te=yt.pop(),Te.ranges){if(Va(Te,Ft),ne&&!Te.equals(a.sel)){To(a,Te,{clearRedo:!1});return}et=Te}else if(te){yt.push(Te);return}else break;var Nn=[];Va(et,Ft),Ft.push({changes:Nn,generation:ue.generation}),ue.generation=Te.generation||++ue.maxGeneration;for(var Hn=Ln(a,"beforeChange")||a.cm&&Ln(a.cm,"beforeChange"),Pr=function(Ki){var fo=Te.changes[Ki];if(fo.origin=b,Hn&&!Is(a,fo,!1))return yt.length=0,{};Nn.push(ho(a,fo));var Oo=Ki?qi(a,fo):kt(yt);Ac(a,fo,Oo,Ao(a,fo)),!Ki&&a.cm&&a.cm.scrollIntoView({from:fo.from,to:eo(fo)});var Wo=[];ta(a,function(Po,la){!la&&At(Wo,Po.history)==-1&&(cu(Po.history,fo),Wo.push(Po.history)),Ac(Po,fo,null,Ao(Po,fo))})},wr=Te.changes.length-1;wr>=0;--wr){var vi=Pr(wr);if(vi)return vi.v}}}}function Ml(a,b){if(b!=0&&(a.first+=b,a.sel=new Lr(Fn(a.sel.ranges,function(ue){return new Sr(Zt(ue.anchor.line+b,ue.anchor.ch),Zt(ue.head.line+b,ue.head.ch))}),a.sel.primIndex),a.cm)){Ou(a.cm,a.first,a.first-b,b);for(var ne=a.cm.display,te=ne.viewFrom;te<ne.viewTo;te++)TA(a.cm,te,"gutter")}}function Ac(a,b,ne,te){if(a.cm&&!a.cm.curOp)return Pu(a.cm,Ac)(a,b,ne,te);if(b.to.line<a.first){Ml(a,b.text.length-1-(b.to.line-b.from.line));return}if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var ue=b.text.length-1-(a.first-b.from.line);Ml(a,ue),b={from:Zt(a.first,0),to:Zt(b.to.line+ue,b.to.ch),text:[kt(b.text)],origin:b.origin}}var Te=a.lastLine();b.to.line>Te&&(b={from:b.from,to:Zt(Te,ar(a,Te).text.length),text:[b.text[0]],origin:b.origin}),b.removed=Dr(a,b.from,b.to),ne||(ne=qi(a,b)),a.cm?Bl(a.cm,b,te):oa(a,b,te),vs(a,ne,nt),a.cantEdit&&hu(a,Zt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Bl(a,b,ne){var te=a.doc,ue=a.display,Te=b.from,et=b.to,yt=!1,Ft=Te.line;a.options.lineWrapping||(Ft=An(Zr(ar(te,Te.line))),te.iter(Ft,et.line+1,function(wr){if(wr==ue.maxLine)return yt=!0,!0})),te.sel.contains(b.from,b.to)>-1&&zn(a),oa(te,b,ne,Jf(a)),a.options.lineWrapping||(te.iter(Ft,Te.line+b.text.length,function(wr){var vi=ya(wr);vi>ue.maxLineLength&&(ue.maxLine=wr,ue.maxLineLength=vi,ue.maxLineChanged=!0,yt=!1)}),yt&&(a.curOp.updateMaxLine=!0)),Ci(te,Te.line),sd(a,400);var Nt=b.text.length-(et.line-Te.line)-1;b.full?Ou(a):Te.line==et.line&&b.text.length==1&&!Da(a.doc,b)?TA(a,Te.line,"text"):Ou(a,Te.line,et.line+1,Nt);var Nn=Ln(a,"changes"),Hn=Ln(a,"change");if(Hn||Nn){var Pr={from:Te,to:et,text:b.text,removed:b.removed,origin:b.origin};Hn&&tl(a,"change",a,Pr),Nn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Pr)}a.display.selForContextMenu=null}function Cs(a,b,ne,te,ue){var Te;te||(te=ne),vn(te,ne)<0&&(Te=[te,ne],ne=Te[0],te=Te[1]),typeof b=="string"&&(b=a.splitLines(b)),Js(a,{from:ne,to:te,text:b,origin:ue})}function ll(a,b,ne,te){ne<a.line?a.line+=te:b<a.line&&(a.line=b,a.ch=0)}function ul(a,b,ne,te){for(var ue=0;ue<a.length;++ue){var Te=a[ue],et=!0;if(Te.ranges){Te.copied||(Te=a[ue]=Te.deepCopy(),Te.copied=!0);for(var yt=0;yt<Te.ranges.length;yt++)ll(Te.ranges[yt].anchor,b,ne,te),ll(Te.ranges[yt].head,b,ne,te);continue}for(var Ft=0;Ft<Te.changes.length;++Ft){var Nt=Te.changes[Ft];if(ne<Nt.from.line)Nt.from=Zt(Nt.from.line+te,Nt.from.ch),Nt.to=Zt(Nt.to.line+te,Nt.to.ch);else if(b<=Nt.to.line){et=!1;break}}et||(a.splice(0,ue+1),ue=0)}}function cu(a,b){var ne=b.from.line,te=b.to.line,ue=b.text.length-(te-ne)-1;ul(a.done,ne,te,ue),ul(a.undone,ne,te,ue)}function Ul(a,b,ne,te){var ue=b,Te=b;return typeof b=="number"?Te=ar(a,nr(a,b)):ue=An(b),ue==null?null:(te(Te,ue)&&a.cm&&TA(a.cm,ue,ne),Te)}function xs(a){this.lines=a,this.parent=null;for(var b=0,ne=0;ne<a.length;++ne)a[ne].parent=this,b+=a[ne].height;this.height=b}xs.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var ne=a,te=a+b;ne<te;++ne){var ue=this.lines[ne];this.height-=ue.height,wa(ue),tl(ue,"delete")}this.lines.splice(a,b)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,b,ne){this.height+=ne,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var te=0;te<b.length;++te)b[te].parent=this},iterN:function(a,b,ne){for(var te=a+b;a<te;++a)if(ne(this.lines[a]))return!0}};function vl(a){this.children=a;for(var b=0,ne=0,te=0;te<a.length;++te){var ue=a[te];b+=ue.chunkSize(),ne+=ue.height,ue.parent=this}this.size=b,this.height=ne,this.parent=null}vl.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){this.size-=b;for(var ne=0;ne<this.children.length;++ne){var te=this.children[ne],ue=te.chunkSize();if(a<ue){var Te=Math.min(b,ue-a),et=te.height;if(te.removeInner(a,Te),this.height-=et-te.height,ue==Te&&(this.children.splice(ne--,1),te.parent=null),(b-=Te)==0)break;a=0}else a-=ue}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof xs))){var yt=[];this.collapse(yt),this.children=[new xs(yt)],this.children[0].parent=this}},collapse:function(a){for(var b=0;b<this.children.length;++b)this.children[b].collapse(a)},insertInner:function(a,b,ne){this.size+=b.length,this.height+=ne;for(var te=0;te<this.children.length;++te){var ue=this.children[te],Te=ue.chunkSize();if(a<=Te){if(ue.insertInner(a,b,ne),ue.lines&&ue.lines.length>50){for(var et=ue.lines.length%25+25,yt=et;yt<ue.lines.length;){var Ft=new xs(ue.lines.slice(yt,yt+=25));ue.height-=Ft.height,this.children.splice(++te,0,Ft),Ft.parent=this}ue.lines=ue.lines.slice(0,et),this.maybeSpill()}break}a-=Te}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),ne=new vl(b);if(a.parent){a.size-=ne.size,a.height-=ne.height;var ue=At(a.parent.children,a);a.parent.children.splice(ue+1,0,ne)}else{var te=new vl(a.children);te.parent=a,a.children=[te,ne],a=te}ne.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,ne){for(var te=0;te<this.children.length;++te){var ue=this.children[te],Te=ue.chunkSize();if(a<Te){var et=Math.min(b,Te-a);if(ue.iterN(a,et,ne))return!0;if((b-=et)==0)break;a=0}else a-=Te}}};var Ps=function(a,b,ne){if(ne)for(var te in ne)ne.hasOwnProperty(te)&&(this[te]=ne[te]);this.doc=a,this.node=b};Ps.prototype.clear=function(){var a=this.doc.cm,b=this.line.widgets,ne=this.line,te=An(ne);if(!(te==null||!b)){for(var ue=0;ue<b.length;++ue)b[ue]==this&&b.splice(ue--,1);b.length||(ne.widgets=null);var Te=Kl(this);ni(ne,Math.max(0,ne.height-Te)),a&&(uc(a,function(){yl(a,ne,-Te),TA(a,te,"widget")}),tl(a,"lineWidgetCleared",a,this,te))}},Ps.prototype.changed=function(){var a=this,b=this.height,ne=this.doc.cm,te=this.line;this.height=null;var ue=Kl(this)-b;ue&&(Bi(this.doc,te)||ni(te,te.height+ue),ne&&uc(ne,function(){ne.curOp.forceUpdate=!0,yl(ne,te,ue),tl(ne,"lineWidgetChanged",ne,a,An(te))}))},_t(Ps);function yl(a,b,ne){Ro(b)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&th(a,ne)}function Gl(a,b,ne,te){var ue=new Ps(a,ne,te),Te=a.cm;return Te&&ue.noHScroll&&(Te.display.alignWidgets=!0),Ul(a,b,"widget",function(et){var yt=et.widgets||(et.widgets=[]);if(ue.insertAt==null?yt.push(ue):yt.splice(Math.min(yt.length-1,Math.max(0,ue.insertAt)),0,ue),ue.line=et,Te&&!Bi(a,et)){var Ft=Ro(et)<a.scrollTop;ni(et,et.height+Kl(ue)),Ft&&th(Te,ue.height),Te.curOp.forceUpdate=!0}return!0}),Te&&tl(Te,"lineWidgetAdded",Te,ue,typeof b=="number"?b:An(b)),ue}var ku=0,Mu=function(a,b){this.lines=[],this.type=b,this.doc=a,this.id=++ku};Mu.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;if(b&&lc(a),Ln(this,"clear")){var ne=this.find();ne&&tl(this,"clear",ne.from,ne.to)}for(var te=null,ue=null,Te=0;Te<this.lines.length;++Te){var et=this.lines[Te],yt=no(et.markedSpans,this);a&&!this.collapsed?TA(a,An(et),"text"):a&&(yt.to!=null&&(ue=An(et)),yt.from!=null&&(te=An(et))),et.markedSpans=Hi(et.markedSpans,yt),yt.from==null&&this.collapsed&&!Bi(this.doc,et)&&a&&ni(et,bc(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var Ft=0;Ft<this.lines.length;++Ft){var Nt=Zr(this.lines[Ft]),Nn=ya(Nt);Nn>a.display.maxLineLength&&(a.display.maxLine=Nt,a.display.maxLineLength=Nn,a.display.maxLineChanged=!0)}te!=null&&a&&this.collapsed&&Ou(a,te,ue+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Gs(a.doc)),a&&tl(a,"markerCleared",a,this,te,ue),b&&bA(a),this.parent&&this.parent.clear()}},Mu.prototype.find=function(a,b){a==null&&this.type=="bookmark"&&(a=1);for(var ne,te,ue=0;ue<this.lines.length;++ue){var Te=this.lines[ue],et=no(Te.markedSpans,this);if(et.from!=null&&(ne=Zt(b?Te:An(Te),et.from),a==-1))return ne;if(et.to!=null&&(te=Zt(b?Te:An(Te),et.to),a==1))return te}return ne&&{from:ne,to:te}},Mu.prototype.changed=function(){var a=this,b=this.find(-1,!0),ne=this,te=this.doc.cm;!b||!te||uc(te,function(){var ue=b.line,Te=An(b.line),et=Cu(te,Te);if(et&&(Nu(et),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!Bi(ne.doc,ue)&&ne.height!=null){var yt=ne.height;ne.height=null;var Ft=Kl(ne)-yt;Ft&&ni(ue,ue.height+Ft)}tl(te,"markerChanged",te,a)})},Mu.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(!b.maybeHiddenMarkers||At(b.maybeHiddenMarkers,this)==-1)&&(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},Mu.prototype.detachLine=function(a){if(this.lines.splice(At(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},_t(Mu);function $c(a,b,ne,te,ue){if(te&&te.shared)return Dd(a,b,ne,te,ue);if(a.cm&&!a.cm.curOp)return Pu(a.cm,$c)(a,b,ne,te,ue);var Te=new Mu(a,ue),et=vn(b,ne);if(te&&Bt(te,Te,!1),et>0||et==0&&Te.clearWhenEmpty!==!1)return Te;if(Te.replacedWith&&(Te.collapsed=!0,Te.widgetNode=Ct("span",[Te.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||Te.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(Te.widgetNode.insertLeft=!0)),Te.collapsed){if(ui(a,b.line,b,ne,Te)||b.line!=ne.line&&ui(a,ne.line,b,ne,Te))throw new Error("Inserting collapsed marker partially overlapping an existing one");Di()}Te.addToHistory&&na(a,{from:b,to:ne,origin:"markText"},a.sel,NaN);var yt=b.line,Ft=a.cm,Nt;if(a.iter(yt,ne.line+1,function(Hn){Ft&&Te.collapsed&&!Ft.options.lineWrapping&&Zr(Hn)==Ft.display.maxLine&&(Nt=!0),Te.collapsed&&yt!=b.line&&ni(Hn,0),ai(Hn,new $i(Te,yt==b.line?b.ch:null,yt==ne.line?ne.ch:null)),++yt}),Te.collapsed&&a.iter(b.line,ne.line+1,function(Hn){Bi(a,Hn)&&ni(Hn,0)}),Te.clearOnEnter&&Xt(Te,"beforeCursorEnter",function(){return Te.clear()}),Te.readOnly&&(Ii(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),Te.collapsed&&(Te.id=++ku,Te.atomic=!0),Ft){if(Nt&&(Ft.curOp.updateMaxLine=!0),Te.collapsed)Ou(Ft,b.line,ne.line+1);else if(Te.className||Te.startStyle||Te.endStyle||Te.css||Te.attributes||Te.title)for(var Nn=b.line;Nn<=ne.line;Nn++)TA(Ft,Nn,"text");Te.atomic&&Gs(Ft.doc),tl(Ft,"markerAdded",Ft,Te)}return Te}var cl=function(a,b){this.markers=a,this.primary=b;for(var ne=0;ne<a.length;++ne)a[ne].parent=this};cl.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();tl(this,"clear")}},cl.prototype.find=function(a,b){return this.primary.find(a,b)},_t(cl);function Dd(a,b,ne,te,ue){te=Bt(te),te.shared=!1;var Te=[$c(a,b,ne,te,ue)],et=Te[0],yt=te.widgetNode;return ta(a,function(Ft){yt&&(te.widgetNode=yt.cloneNode(!0)),Te.push($c(Ft,or(Ft,b),or(Ft,ne),te,ue));for(var Nt=0;Nt<Ft.linked.length;++Nt)if(Ft.linked[Nt].isParent)return;et=kt(Te)}),new cl(Te,et)}function _u(a){return a.findMarks(Zt(a.first,0),a.clipPos(Zt(a.lastLine())),function(b){return b.parent})}function qu(a,b){for(var ne=0;ne<b.length;ne++){var te=b[ne],ue=te.find(),Te=a.clipPos(ue.from),et=a.clipPos(ue.to);if(vn(Te,et)){var yt=$c(a,Te,et,te.primary,te.primary.type);te.markers.push(yt),yt.parent=te}}}function Qu(a){for(var b=function(te){var ue=a[te],Te=[ue.primary.doc];ta(ue.primary.doc,function(Ft){return Te.push(Ft)});for(var et=0;et<ue.markers.length;et++){var yt=ue.markers[et];At(Te,yt.doc)==-1&&(yt.parent=null,ue.markers.splice(et--,1))}},ne=0;ne<a.length;ne++)b(ne)}var ec=0,Al=function(a,b,ne,te,ue){if(!(this instanceof Al))return new Al(a,b,ne,te,ue);ne==null&&(ne=0),vl.call(this,[new xs([new Ea("",null)])]),this.first=ne,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ne;var Te=Zt(ne,0);this.sel=mi(Te),this.history=new yo(null),this.id=++ec,this.modeOption=b,this.lineSep=te,this.direction=ue=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),oa(this,{from:Te,to:Te,text:a}),To(this,mi(Te),nt)};Al.prototype=ge(vl.prototype,{constructor:Al,iter:function(a,b,ne){ne?this.iterN(a-this.first,b-a,ne):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var ne=0,te=0;te<b.length;++te)ne+=b[te].height;this.insertInner(a-this.first,b,ne)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=gi(this,this.first,this.first+this.size);return a===!1?b:b.join(a||this.lineSeparator())},setValue:Tu(function(a){var b=Zt(this.first,0),ne=this.first+this.size-1;Js(this,{from:b,to:Zt(ne,ar(this,ne).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&id(this.cm,0,0),To(this,mi(b),nt)}),replaceRange:function(a,b,ne,te){b=or(this,b),ne=ne?or(this,ne):b,Cs(this,a,b,ne,te)},getRange:function(a,b,ne){var te=Dr(this,or(this,a),or(this,b));return ne===!1?te:te.join(ne||this.lineSeparator())},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},getLineHandle:function(a){if(tt(this,a))return ar(this,a)},getLineNumber:function(a){return An(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=ar(this,a)),Zr(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return or(this,a)},getCursor:function(a){var b=this.sel.primary(),ne;return a==null||a=="head"?ne=b.head:a=="anchor"?ne=b.anchor:a=="end"||a=="to"||a===!1?ne=b.to():ne=b.from(),ne},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Tu(function(a,b,ne){ra(this,or(this,typeof a=="number"?Zt(a,b||0):a),null,ne)}),setSelection:Tu(function(a,b,ne){ra(this,or(this,a),or(this,b||a),ne)}),extendSelection:Tu(function(a,b,ne){us(this,or(this,a),b&&or(this,b),ne)}),extendSelections:Tu(function(a,b){nl(this,_r(this,a),b)}),extendSelectionsBy:Tu(function(a,b){var ne=Fn(this.sel.ranges,a);nl(this,_r(this,ne),b)}),setSelections:Tu(function(a,b,ne){if(a.length){for(var te=[],ue=0;ue<a.length;ue++)te[ue]=new Sr(or(this,a[ue].anchor),or(this,a[ue].head));b==null&&(b=Math.min(a.length-1,this.sel.primIndex)),To(this,Wi(this.cm,te,b),ne)}}),addSelection:Tu(function(a,b,ne){var te=this.sel.ranges.slice(0);te.push(new Sr(or(this,a),or(this,b||a))),To(this,Wi(this.cm,te,te.length-1),ne)}),getSelection:function(a){for(var b=this.sel.ranges,ne,te=0;te<b.length;te++){var ue=Dr(this,b[te].from(),b[te].to());ne=ne?ne.concat(ue):ue}return a===!1?ne:ne.join(a||this.lineSeparator())},getSelections:function(a){for(var b=[],ne=this.sel.ranges,te=0;te<ne.length;te++){var ue=Dr(this,ne[te].from(),ne[te].to());a!==!1&&(ue=ue.join(a||this.lineSeparator())),b[te]=ue}return b},replaceSelection:function(a,b,ne){for(var te=[],ue=0;ue<this.sel.ranges.length;ue++)te[ue]=a;this.replaceSelections(te,b,ne||"+input")},replaceSelections:Tu(function(a,b,ne){for(var te=[],ue=this.sel,Te=0;Te<ue.ranges.length;Te++){var et=ue.ranges[Te];te[Te]={from:et.from(),to:et.to(),text:this.splitLines(a[Te]),origin:ne}}for(var yt=b&&b!="end"&&Io(this,te,b),Ft=te.length-1;Ft>=0;Ft--)Js(this,te[Ft]);yt?Yo(this,yt):this.cm&&Uc(this.cm)}),undo:Tu(function(){pu(this,"undo")}),redo:Tu(function(){pu(this,"redo")}),undoSelection:Tu(function(){pu(this,"undo",!0)}),redoSelection:Tu(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.done.length;te++)a.done[te].ranges||++b;for(var ue=0;ue<a.undone.length;ue++)a.undone[ue].ranges||++ne;return{undo:b,redo:ne}},clearHistory:function(){var a=this;this.history=new yo(this.history.maxGeneration),ta(this,function(b){return b.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:Vl(this.history.done),undone:Vl(this.history.undone)}},setHistory:function(a){var b=this.history=new yo(this.history.maxGeneration);b.done=Vl(a.done.slice(0),null,!0),b.undone=Vl(a.undone.slice(0),null,!0)},setGutterMarker:Tu(function(a,b,ne){return Ul(this,a,"gutter",function(te){var ue=te.gutterMarkers||(te.gutterMarkers={});return ue[b]=ne,!ne&&le(ue)&&(te.gutterMarkers=null),!0})}),clearGutter:Tu(function(a){var b=this;this.iter(function(ne){ne.gutterMarkers&&ne.gutterMarkers[a]&&Ul(b,ne,"gutter",function(){return ne.gutterMarkers[a]=null,le(ne.gutterMarkers)&&(ne.gutterMarkers=null),!0})})}),lineInfo:function(a){var b;if(typeof a=="number"){if(!tt(this,a)||(b=a,a=ar(this,a),!a))return null}else if(b=An(a),b==null)return null;return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:Tu(function(a,b,ne){return Ul(this,a,b=="gutter"?"gutter":"class",function(te){var ue=b=="text"?"textClass":b=="background"?"bgClass":b=="gutter"?"gutterClass":"wrapClass";if(!te[ue])te[ue]=ne;else{if(Je(ne).test(te[ue]))return!1;te[ue]+=" "+ne}return!0})}),removeLineClass:Tu(function(a,b,ne){return Ul(this,a,b=="gutter"?"gutter":"class",function(te){var ue=b=="text"?"textClass":b=="background"?"bgClass":b=="gutter"?"gutterClass":"wrapClass",Te=te[ue];if(Te)if(ne==null)te[ue]=null;else{var et=Te.match(Je(ne));if(!et)return!1;var yt=et.index+et[0].length;te[ue]=Te.slice(0,et.index)+(!et.index||yt==Te.length?"":" ")+Te.slice(yt)||null}else return!1;return!0})}),addLineWidget:Tu(function(a,b,ne){return Gl(this,a,b,ne)}),removeLineWidget:function(a){a.clear()},markText:function(a,b,ne){return $c(this,or(this,a),or(this,b),ne,ne&&ne.type||"range")},setBookmark:function(a,b){var ne={replacedWith:b&&(b.nodeType==null?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return a=or(this,a),$c(this,a,a,ne,"bookmark")},findMarksAt:function(a){a=or(this,a);var b=[],ne=ar(this,a.line).markedSpans;if(ne)for(var te=0;te<ne.length;++te){var ue=ne[te];(ue.from==null||ue.from<=a.ch)&&(ue.to==null||ue.to>=a.ch)&&b.push(ue.marker.parent||ue.marker)}return b},findMarks:function(a,b,ne){a=or(this,a),b=or(this,b);var te=[],ue=a.line;return this.iter(a.line,b.line+1,function(Te){var et=Te.markedSpans;if(et)for(var yt=0;yt<et.length;yt++){var Ft=et[yt];!(Ft.to!=null&&ue==a.line&&a.ch>=Ft.to||Ft.from==null&&ue!=a.line||Ft.from!=null&&ue==b.line&&Ft.from>=b.ch)&&(!ne||ne(Ft.marker))&&te.push(Ft.marker.parent||Ft.marker)}++ue}),te},getAllMarks:function(){var a=[];return this.iter(function(b){var ne=b.markedSpans;if(ne)for(var te=0;te<ne.length;++te)ne[te].from!=null&&a.push(ne[te].marker)}),a},posFromIndex:function(a){var b,ne=this.first,te=this.lineSeparator().length;return this.iter(function(ue){var Te=ue.text.length+te;if(Te>a)return b=a,!0;a-=Te,++ne}),or(this,Zt(ne,b))},indexFromPos:function(a){a=or(this,a);var b=a.ch;if(a.line<this.first||a.ch<0)return 0;var ne=this.lineSeparator().length;return this.iter(this.first,a.line,function(te){b+=te.text.length+ne}),b},copy:function(a){var b=new Al(gi(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),b},linkedDoc:function(a){a||(a={});var b=this.first,ne=this.first+this.size;a.from!=null&&a.from>b&&(b=a.from),a.to!=null&&a.to<ne&&(ne=a.to);var te=new Al(gi(this,b,ne),a.mode||this.modeOption,b,this.lineSep,this.direction);return a.sharedHist&&(te.history=this.history),(this.linked||(this.linked=[])).push({doc:te,sharedHist:a.sharedHist}),te.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],qu(te,_u(this)),te},unlinkDoc:function(a){if(a instanceof Ql&&(a=a.doc),this.linked)for(var b=0;b<this.linked.length;++b){var ne=this.linked[b];if(ne.doc==a){this.linked.splice(b,1),a.unlinkDoc(this),Qu(_u(this));break}}if(a.history==this.history){var te=[a.id];ta(a,function(ue){return te.push(ue.id)},!0),a.history=new yo(null),a.history.done=Vl(this.history.done,te),a.history.undone=Vl(this.history.undone,te)}},iterLinkedDocs:function(a){ta(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Cr(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Tu(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(b){return b.order=null}),this.cm&&Ko(this.cm))})}),Al.prototype.eachLine=Al.prototype.iter;var Cc=0;function xA(a){var b=this;if(Jd(b),!(nn(b,a)||su(b.display,a))){un(a),He&&(Cc=+new Date);var ne=PA(b,a,!0),te=a.dataTransfer.files;if(!(!ne||b.isReadOnly()))if(te&&te.length&&window.FileReader&&window.File)for(var ue=te.length,Te=Array(ue),et=0,yt=function(){++et==ue&&Pu(b,function(){ne=or(b.doc,ne);var wr={from:ne,to:ne,text:b.doc.splitLines(Te.filter(function(vi){return vi!=null}).join(b.doc.lineSeparator())),origin:"paste"};Js(b.doc,wr),Yo(b.doc,mi(or(b.doc,ne),or(b.doc,eo(wr))))})()},Ft=function(wr,vi){if(b.options.allowDropFileTypes&&At(b.options.allowDropFileTypes,wr.type)==-1){yt();return}var Ki=new FileReader;Ki.onerror=function(){return yt()},Ki.onload=function(){var fo=Ki.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(fo)){yt();return}Te[vi]=fo,yt()},Ki.readAsText(wr)},Nt=0;Nt<te.length;Nt++)Ft(te[Nt],Nt);else{if(b.state.draggingText&&b.doc.sel.contains(ne)>-1){b.state.draggingText(a),setTimeout(function(){return b.display.input.focus()},20);return}try{var Nn=a.dataTransfer.getData("Text");if(Nn){var Hn;if(b.state.draggingText&&!b.state.draggingText.copy&&(Hn=b.listSelections()),vs(b.doc,mi(ne,ne)),Hn)for(var Pr=0;Pr<Hn.length;++Pr)Cs(b.doc,"",Hn[Pr].anchor,Hn[Pr].head,"drag");b.replaceSelection(Nn,"around","paste"),b.display.input.focus()}}catch(wr){}}}}function Rc(a,b){if(He&&(!a.state.draggingText||+new Date-Cc<100)){Lt(b);return}if(!(nn(a,b)||su(a.display,b))&&(b.dataTransfer.setData("Text",a.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!Pe)){var ne=ht("img",null,null,"position: fixed; left: 0; top: 0;");ne.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",oe&&(ne.width=ne.height=1,a.display.wrapper.appendChild(ne),ne._top=ne.offsetTop),b.dataTransfer.setDragImage(ne,0,0),oe&&ne.parentNode.removeChild(ne)}}function Jc(a,b){var ne=PA(a,b);if(ne){var te=document.createDocumentFragment();Th(a,ne,te),a.display.dragCursor||(a.display.dragCursor=ht("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),at(a.display.dragCursor,te)}}function Jd(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function qd(a){if(document.getElementsByClassName){for(var b=document.getElementsByClassName("CodeMirror"),ne=[],te=0;te<b.length;te++){var ue=b[te].CodeMirror;ue&&ne.push(ue)}ne.length&&ne[0].operation(function(){for(var Te=0;Te<ne.length;Te++)a(ne[Te])})}}var Ts=!1;function ld(){Ts||(Ef(),Ts=!0)}function Ef(){var a;Xt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,qd(Ga)},100))}),Xt(window,"blur",function(){return qd(Yc)})}function Ga(a){var b=a.display;b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,a.setSize()}for(var ys={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},_l=0;_l<10;_l++)ys[_l+48]=ys[_l+96]=String(_l);for(var iu=65;iu<=90;iu++)ys[iu]=String.fromCharCode(iu);for(var Bu=1;Bu<=12;Bu++)ys[Bu+111]=ys[Bu+63235]="F"+Bu;var Eu={};Eu.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Eu.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Eu.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Eu.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Eu.default=we?Eu.macDefault:Eu.pcDefault;function tc(a){var b=a.split(/-(?!$)/);a=b[b.length-1];for(var ne,te,ue,Te,et=0;et<b.length-1;et++){var yt=b[et];if(/^(cmd|meta|m)$/i.test(yt))Te=!0;else if(/^a(lt)?$/i.test(yt))ne=!0;else if(/^(c|ctrl|control)$/i.test(yt))te=!0;else if(/^s(hift)?$/i.test(yt))ue=!0;else throw new Error("Unrecognized modifier name: "+yt)}return ne&&(a="Alt-"+a),te&&(a="Ctrl-"+a),Te&&(a="Cmd-"+a),ue&&(a="Shift-"+a),a}function ju(a){var b={};for(var ne in a)if(a.hasOwnProperty(ne)){var te=a[ne];if(/^(name|fallthrough|(de|at)tach)$/.test(ne))continue;if(te=="..."){delete a[ne];continue}for(var ue=Fn(ne.split(" "),tc),Te=0;Te<ue.length;Te++){var et=void 0,yt=void 0;Te==ue.length-1?(yt=ue.join(" "),et=te):(yt=ue.slice(0,Te+1).join(" "),et="...");var Ft=b[yt];if(!Ft)b[yt]=et;else if(Ft!=et)throw new Error("Inconsistent bindings for "+yt)}delete a[ne]}for(var Nt in b)a[Nt]=b[Nt];return a}function ZA(a,b,ne,te){b=gu(b);var ue=b.call?b.call(a,te):b[a];if(ue===!1)return"nothing";if(ue==="...")return"multi";if(ue!=null&&ne(ue))return"handled";if(b.fallthrough){if(Object.prototype.toString.call(b.fallthrough)!="[object Array]")return ZA(a,b.fallthrough,ne,te);for(var Te=0;Te<b.fallthrough.length;Te++){var et=ZA(a,b.fallthrough[Te],ne,te);if(et)return et}}}function Sf(a){var b=typeof a=="string"?a:ys[a.keyCode];return b=="Ctrl"||b=="Alt"||b=="Shift"||b=="Mod"}function WA(a,b,ne){var te=a;return b.altKey&&te!="Alt"&&(a="Alt-"+a),(je?b.metaKey:b.ctrlKey)&&te!="Ctrl"&&(a="Ctrl-"+a),(je?b.ctrlKey:b.metaKey)&&te!="Mod"&&(a="Cmd-"+a),!ne&&b.shiftKey&&te!="Shift"&&(a="Shift-"+a),a}function VA(a,b){if(oe&&a.keyCode==34&&a.char)return!1;var ne=ys[a.keyCode];return ne==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(ne=a.code),WA(ne,a,b))}function gu(a){return typeof a=="string"?Eu[a]:a}function _c(a,b){for(var ne=a.doc.sel.ranges,te=[],ue=0;ue<ne.length;ue++){for(var Te=b(ne[ue]);te.length&&vn(Te.from,kt(te).to)<=0;){var et=te.pop();if(vn(et.from,Te.from)<0){Te.from=et.from;break}}te.push(Te)}uc(a,function(){for(var yt=te.length-1;yt>=0;yt--)Cs(a.doc,"",te[yt].from,te[yt].to,"+delete");Uc(a)})}function ef(a,b,ne){var te=ut(a.text,b+ne,ne);return te<0||te>a.text.length?null:te}function Ff(a,b,ne){var te=ef(a,b.ch,ne);return te==null?null:new Zt(b.line,te,ne<0?"after":"before")}function tf(a,b,ne,te,ue){if(a){b.doc.direction=="rtl"&&(ue=-ue);var Te=xt(ne,b.doc.direction);if(Te){var et=ue<0?kt(Te):Te[0],yt=ue<0==(et.level==1),Ft=yt?"after":"before",Nt;if(et.level>0||b.doc.direction=="rtl"){var Nn=ps(b,ne);Nt=ue<0?ne.text.length-1:0;var Hn=oc(b,Nn,Nt).top;Nt=mt(function(Pr){return oc(b,Nn,Pr).top==Hn},ue<0==(et.level==1)?et.from:et.to-1,Nt),Ft=="before"&&(Nt=ef(ne,Nt,1))}else Nt=ue<0?et.to:et.from;return new Zt(te,Nt,Ft)}}return new Zt(te,ue<0?ne.text.length:0,ue<0?"before":"after")}function If(a,b,ne,te){var ue=xt(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 Te=Dt(ue,ne.ch,ne.sticky),et=ue[Te];if(a.doc.direction=="ltr"&&et.level%2==0&&(te>0?et.to>ne.ch:et.from<ne.ch))return Ff(b,ne,te);var yt=function(Oo,Wo){return ef(b,Oo instanceof Zt?Oo.ch:Oo,Wo)},Ft,Nt=function(Oo){return a.options.lineWrapping?(Ft=Ft||ps(a,b),Zl(a,b,Ft,Oo)):{begin:0,end:b.text.length}},Nn=Nt(ne.sticky=="before"?yt(ne,-1):ne.ch);if(a.doc.direction=="rtl"||et.level==1){var Hn=et.level==1==te<0,Pr=yt(ne,Hn?1:-1);if(Pr!=null&&(Hn?Pr<=et.to&&Pr<=Nn.end:Pr>=et.from&&Pr>=Nn.begin)){var wr=Hn?"before":"after";return new Zt(ne.line,Pr,wr)}}var vi=function(Oo,Wo,Po){for(var la=function(Sl,Ku){return Ku?new Zt(ne.line,yt(Sl,1),"before"):new Zt(ne.line,Sl,"after")};Oo>=0&&Oo<ue.length;Oo+=Wo){var Ua=ue[Oo],xa=Wo>0==(Ua.level!=1),Ha=xa?Po.begin:yt(Po.end,-1);if(Ua.from<=Ha&&Ha<Ua.to||(Ha=xa?Ua.from:yt(Ua.to,-1),Po.begin<=Ha&&Ha<Po.end))return la(Ha,xa)}},Ki=vi(Te+te,te,Nn);if(Ki)return Ki;var fo=te>0?Nn.end:yt(Nn.begin,-1);return fo!=null&&!(te>0&&fo==b.text.length)&&(Ki=vi(te>0?0:ue.length-1,te,Nt(fo)),Ki)?Ki:null}var GA={selectAll:ea,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),nt)},killLine:function(a){return _c(a,function(b){if(b.empty()){var ne=ar(a.doc,b.head.line).text.length;return b.head.ch==ne&&b.head.line<a.lastLine()?{from:b.head,to:Zt(b.head.line+1,0)}:{from:b.head,to:Zt(b.head.line,ne)}}else return{from:b.from(),to:b.to()}})},deleteLine:function(a){return _c(a,function(b){return{from:Zt(b.from().line,0),to:or(a.doc,Zt(b.to().line+1,0))}})},delLineLeft:function(a){return _c(a,function(b){return{from:Zt(b.from().line,0),to:b.from()}})},delWrappedLineLeft:function(a){return _c(a,function(b){var ne=a.charCoords(b.head,"div").top+5,te=a.coordsChar({left:0,top:ne},"div");return{from:te,to:b.from()}})},delWrappedLineRight:function(a){return _c(a,function(b){var ne=a.charCoords(b.head,"div").top+5,te=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ne},"div");return{from:b.from(),to:te}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(Zt(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Zt(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(b){return rh(a,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(b){return ih(a,b.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(b){return pp(a,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(b){var ne=a.cursorCoords(b.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ne},"div")},Rt)},goLineLeft:function(a){return a.extendSelectionsBy(function(b){var ne=a.cursorCoords(b.head,"div").top+5;return a.coordsChar({left:0,top:ne},"div")},Rt)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(b){var ne=a.cursorCoords(b.head,"div").top+5,te=a.coordsChar({left:0,top:ne},"div");return te.ch<a.getLine(te.line).search(/\S/)?ih(a,b.head):te},Rt)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var b=[],ne=a.listSelections(),te=a.options.tabSize,ue=0;ue<ne.length;ue++){var Te=ne[ue].from(),et=We(a.getLine(Te.line),Te.ch,te);b.push(mn(te-et%te))}a.replaceSelections(b)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return uc(a,function(){for(var b=a.listSelections(),ne=[],te=0;te<b.length;te++)if(b[te].empty()){var ue=b[te].head,Te=ar(a.doc,ue.line).text;if(Te){if(ue.ch==Te.length&&(ue=new Zt(ue.line,ue.ch-1)),ue.ch>0)ue=new Zt(ue.line,ue.ch+1),a.replaceRange(Te.charAt(ue.ch-1)+Te.charAt(ue.ch-2),Zt(ue.line,ue.ch-2),ue,"+transpose");else if(ue.line>a.doc.first){var et=ar(a.doc,ue.line-1).text;et&&(ue=new Zt(ue.line,1),a.replaceRange(Te.charAt(0)+a.doc.lineSeparator()+et.charAt(et.length-1),Zt(ue.line-1,et.length-1),ue,"+transpose"))}}ne.push(new Sr(ue,ue))}a.setSelections(ne)})},newlineAndIndent:function(a){return uc(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;te<b.length;te++)a.indentLine(b[te].from().line,null,!0);Uc(a)})},openLine:function(a){return a.replaceSelection(`
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function rh(a,b){var ne=ar(a.doc,b),te=Zr(ne);return te!=ne&&(b=An(te)),tf(!0,a,te,b,1)}function pp(a,b){var ne=ar(a.doc,b),te=Ri(ne);return te!=ne&&(b=An(te)),tf(!0,a,ne,b,-1)}function ih(a,b){var ne=rh(a,b.line),te=ar(a.doc,ne.line),ue=xt(te,a.doc.direction);if(!ue||ue[0].level==0){var Te=Math.max(ne.ch,te.text.search(/\S/)),et=b.line==ne.line&&b.ch<=Te&&b.ch;return Zt(ne.line,et?0:Te,ne.sticky)}return ne}function nf(a,b,ne){if(typeof b=="string"&&(b=GA[b],!b))return!1;a.display.input.ensurePolled();var te=a.display.shift,ue=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ne&&(a.display.shift=!1),ue=b(a)!=Ht}finally{a.display.shift=te,a.state.suppressEdits=!1}return ue}function gp(a,b,ne){for(var te=0;te<a.state.keyMaps.length;te++){var ue=ZA(b,a.state.keyMaps[te],ne,a);if(ue)return ue}return a.options.extraKeys&&ZA(b,a.options.extraKeys,ne,a)||ZA(b,a.options.keyMap,ne,a)}var mp=new ke;function rf(a,b,ne,te){var ue=a.state.keySeq;if(ue){if(Sf(b))return"handled";if(/\'$/.test(b)?a.state.keySeq=null:mp.set(50,function(){a.state.keySeq==ue&&(a.state.keySeq=null,a.display.input.reset())}),Lf(a,ue+" "+b,ne,te))return!0}return Lf(a,b,ne,te)}function Lf(a,b,ne,te){var ue=gp(a,b,te);return ue=="multi"&&(a.state.keySeq=b),ue=="handled"&&tl(a,"keyHandled",a,b,ne),(ue=="handled"||ue=="multi")&&(un(ne),Fd(a)),!!ue}function Nd(a,b){var ne=VA(b,!0);return ne?b.shiftKey&&!a.state.keySeq?rf(a,"Shift-"+ne,b,function(te){return nf(a,te,!0)})||rf(a,ne,b,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return nf(a,te)}):rf(a,ne,b,function(te){return nf(a,te)}):!1}function Df(a,b,ne){return rf(a,"'"+ne+"'",b,function(te){return nf(a,te,!0)})}var Od=null;function of(a){var b=this;if(!(a.target&&a.target!=b.display.input.getField())&&(b.curOp.focus=Ne(),!nn(b,a))){He&&Fe<11&&a.keyCode==27&&(a.returnValue=!1);var ne=a.keyCode;b.display.shift=ne==16||a.shiftKey;var te=Nd(b,a);oe&&(Od=te?ne:null,!te&&ne==88&&!dr&&(we?a.metaKey:a.ctrlKey)&&b.replaceSelection("",null,"cut")),x&&!we&&!te&&ne==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),ne==18&&!/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)&&BA(b)}}function BA(a){var b=a.display.lineDiv;Qe(b,"CodeMirror-crosshair");function ne(te){(te.keyCode==18||!te.altKey)&&(Ve(b,"CodeMirror-crosshair"),wn(document,"keyup",ne),wn(document,"mouseover",ne))}Xt(document,"keyup",ne),Xt(document,"mouseover",ne)}function oh(a){a.keyCode==16&&(this.doc.sel.shift=!1),nn(this,a)}function ah(a){var b=this;if(!(a.target&&a.target!=b.display.input.getField())&&!(su(b.display,a)||nn(b,a)||a.ctrlKey&&!a.altKey||we&&a.metaKey)){var ne=a.keyCode,te=a.charCode;if(oe&&ne==Od){Od=null,un(a);return}if(!(oe&&(!a.which||a.which<10)&&Nd(b,a))){var ue=String.fromCharCode(te==null?ne:te);ue!="\b"&&(Df(b,a,ue)||b.display.input.onKeyPress(a))}}}var Uh=400,ud=function(a,b,ne){this.time=a,this.pos=b,this.button=ne};ud.prototype.compare=function(a,b,ne){return this.time+Uh>a&&vn(b,this.pos)==0&&ne==this.button};var EA,SA;function Pd(a,b){var ne=+new Date;return SA&&SA.compare(ne,a,b)?(EA=SA=null,"triple"):EA&&EA.compare(ne,a,b)?(SA=new ud(ne,a,b),EA=null,"double"):(EA=new ud(ne,a,b),SA=null,"single")}function cd(a){var b=this,ne=b.display;if(!(nn(b,a)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=a.shiftKey,su(ne,a)){Me||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!RA(b,a)){var te=PA(b,a),ue=sn(a),Te=te?Pd(te,ue):"single";window.focus(),ue==1&&b.state.selectingText&&b.state.selectingText(a),!(te&&Rh(b,ue,te,Te,a))&&(ue==1?te?ks(b,te,Te,a):Gt(a)==ne.scroller&&un(a):ue==2?(te&&us(b.doc,te),setTimeout(function(){return ne.input.focus()},20)):ue==3&&(_e?b.display.input.onContextMenu(a):bf(b)))}}}function Rh(a,b,ne,te,ue){var Te="Click";return te=="double"?Te="Double"+Te:te=="triple"&&(Te="Triple"+Te),Te=(b==1?"Left":b==2?"Middle":"Right")+Te,rf(a,WA(Te,ue),ue,function(et){if(typeof et=="string"&&(et=GA[et]),!et)return!1;var yt=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),yt=et(a,ne)!=Ht}finally{a.state.suppressEdits=!1}return yt})}function ws(a,b,ne){var te=a.getOption("configureMouse"),ue=te?te(a,b,ne):{};if(ue.unit==null){var Te=Ee?ne.shiftKey&&ne.metaKey:ne.altKey;ue.unit=Te?"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=we?ne.metaKey:ne.ctrlKey),ue.moveOnDrag==null&&(ue.moveOnDrag=!(we?ne.altKey:ne.ctrlKey)),ue}function ks(a,b,ne,te){He?setTimeout(lt(eh,a),0):a.curOp.focus=Ne();var ue=ws(a,ne,te),Te=a.doc.sel,et;a.options.dragDrop&&bn&&!a.isReadOnly()&&ne=="single"&&(et=Te.contains(b))>-1&&(vn((et=Te.ranges[et]).from(),b)<0||b.xRel>0)&&(vn(et.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,Te=!1,et=Pu(a,function(Nt){Me&&(ue.scroller.draggable=!1),a.state.draggingText=!1,wn(ue.wrapper.ownerDocument,"mouseup",et),wn(ue.wrapper.ownerDocument,"mousemove",yt),wn(ue.scroller,"dragstart",Ft),wn(ue.scroller,"drop",et),Te||(un(Nt),te.addNew||us(a.doc,ne,null,null,te.extend),Me&&!Pe||He&&Fe==9?setTimeout(function(){ue.wrapper.ownerDocument.body.focus({preventScroll:!0}),ue.input.focus()},20):ue.input.focus())}),yt=function(Nt){Te=Te||Math.abs(b.clientX-Nt.clientX)+Math.abs(b.clientY-Nt.clientY)>=10},Ft=function(){return Te=!0};Me&&(ue.scroller.draggable=!0),a.state.draggingText=et,et.copy=!te.moveOnDrag,ue.scroller.dragDrop&&ue.scroller.dragDrop(),Xt(ue.wrapper.ownerDocument,"mouseup",et),Xt(ue.wrapper.ownerDocument,"mousemove",yt),Xt(ue.scroller,"dragstart",Ft),Xt(ue.scroller,"drop",et),bf(a),setTimeout(function(){return ue.input.focus()},20)}function Hu(a,b,ne){if(ne=="char")return new Sr(b,b);if(ne=="word")return a.findWordAt(b);if(ne=="line")return new Sr(Zt(b.line,0),or(a.doc,Zt(b.line+1,0)));var te=ne(a,b);return new Sr(te.from,te.to)}function zu(a,b,ne,te){var ue=a.display,Te=a.doc;un(b);var et,yt,Ft=Te.sel,Nt=Ft.ranges;if(te.addNew&&!te.extend?(yt=Te.sel.contains(ne),yt>-1?et=Nt[yt]:et=new Sr(ne,ne)):(et=Te.sel.primary(),yt=Te.sel.primIndex),te.unit=="rectangle")te.addNew||(et=new Sr(ne,ne)),ne=PA(a,b,!0,!0),yt=-1;else{var Nn=Hu(a,ne,te.unit);te.extend?et=ds(et,Nn.anchor,Nn.head,te.extend):et=Nn}te.addNew?yt==-1?(yt=Nt.length,To(Te,Wi(a,Nt.concat([et]),yt),{scroll:!1,origin:"*mouse"})):Nt.length>1&&Nt[yt].empty()&&te.unit=="char"&&!te.extend?(To(Te,Wi(a,Nt.slice(0,yt).concat(Nt.slice(yt+1)),0),{scroll:!1,origin:"*mouse"}),Ft=Te.sel):uu(Te,yt,et,Pt):(yt=0,To(Te,new Lr([et],0),Pt),Ft=Te.sel);var Hn=ne;function Pr(Po){if(vn(Hn,Po)!=0)if(Hn=Po,te.unit=="rectangle"){for(var la=[],Ua=a.options.tabSize,xa=We(ar(Te,ne.line).text,ne.ch,Ua),Ha=We(ar(Te,Po.line).text,Po.ch,Ua),Sl=Math.min(xa,Ha),Ku=Math.max(xa,Ha),Xl=Math.min(ne.line,Po.line),xc=Math.min(a.lastLine(),Math.max(ne.line,Po.line));Xl<=xc;Xl++){var nc=ar(Te,Xl).text,Uu=hn(nc,Sl,Ua);Sl==Ku?la.push(new Sr(Zt(Xl,Uu),Zt(Xl,Uu))):nc.length>Uu&&la.push(new Sr(Zt(Xl,Uu),Zt(Xl,hn(nc,Ku,Ua))))}la.length||la.push(new Sr(ne,ne)),To(Te,Wi(a,Ft.ranges.slice(0,yt).concat(la),yt),{origin:"*mouse",scroll:!1}),a.scrollIntoView(Po)}else{var Bc=et,dc=Hu(a,Po,te.unit),Lo=Bc.anchor,Hl;vn(dc.anchor,Lo)>0?(Hl=dc.head,Lo=li(Bc.from(),dc.anchor)):(Hl=dc.anchor,Lo=Xr(Bc.to(),dc.head));var Yl=Ft.ranges.slice(0);Yl[yt]=Ad(a,new Sr(or(Te,Lo),Hl)),To(Te,Wi(a,Yl,yt),Pt)}}var wr=ue.wrapper.getBoundingClientRect(),vi=0;function Ki(Po){var la=++vi,Ua=PA(a,Po,!0,te.unit=="rectangle");if(Ua)if(vn(Ua,Hn)!=0){a.curOp.focus=Ne(),Pr(Ua);var xa=Mc(ue,Te);(Ua.line>=xa.to||Ua.line<xa.from)&&setTimeout(Pu(a,function(){vi==la&&Ki(Po)}),150)}else{var Ha=Po.clientY<wr.top?-20:Po.clientY>wr.bottom?20:0;Ha&&setTimeout(Pu(a,function(){vi==la&&(ue.scroller.scrollTop+=Ha,Ki(Po))}),50)}}function fo(Po){a.state.selectingText=!1,vi=1/0,Po&&(un(Po),ue.input.focus()),wn(ue.wrapper.ownerDocument,"mousemove",Oo),wn(ue.wrapper.ownerDocument,"mouseup",Wo),Te.history.lastSelOrigin=null}var Oo=Pu(a,function(Po){Po.buttons===0||!sn(Po)?fo(Po):Ki(Po)}),Wo=Pu(a,fo);a.state.selectingText=Wo,Xt(ue.wrapper.ownerDocument,"mousemove",Oo),Xt(ue.wrapper.ownerDocument,"mouseup",Wo)}function Ad(a,b){var ne=b.anchor,te=b.head,ue=ar(a.doc,ne.line);if(vn(ne,te)==0&&ne.sticky==te.sticky)return b;var Te=xt(ue);if(!Te)return b;var et=Dt(Te,ne.ch,ne.sticky),yt=Te[et];if(yt.from!=ne.ch&&yt.to!=ne.ch)return b;var Ft=et+(yt.from==ne.ch==(yt.level!=1)?0:1);if(Ft==0||Ft==Te.length)return b;var Nt;if(te.line!=ne.line)Nt=(te.line-ne.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var Nn=Dt(Te,te.ch,te.sticky),Hn=Nn-et||(te.ch-ne.ch)*(yt.level==1?-1:1);Nn==Ft-1||Nn==Ft?Nt=Hn<0:Nt=Hn>0}var Pr=Te[Ft+(Nt?-1:0)],wr=Nt==(Pr.level==1),vi=wr?Pr.from:Pr.to,Ki=wr?"after":"before";return ne.ch==vi&&ne.sticky==Ki?b:new Sr(new Zt(ne.line,vi,Ki),te)}function XA(a,b,ne,te){var ue,Te;if(b.touches)ue=b.touches[0].clientX,Te=b.touches[0].clientY;else try{ue=b.clientX,Te=b.clientY}catch(Pr){return!1}if(ue>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;te&&un(b);var et=a.display,yt=et.lineDiv.getBoundingClientRect();if(Te>yt.bottom||!Ln(a,ne))return Vn(b);Te-=yt.top-et.viewOffset;for(var Ft=0;Ft<a.display.gutterSpecs.length;++Ft){var Nt=et.gutters.childNodes[Ft];if(Nt&&Nt.getBoundingClientRect().right>=ue){var Nn=Cn(a.doc,Te),Hn=a.display.gutterSpecs[Ft];return ln(a,ne,a,Nn,Hn.className,b),Vn(b)}}}function RA(a,b){return XA(a,b,"gutterClick",!0)}function dd(a,b){su(a.display,b)||YA(a,b)||nn(a,b,"contextmenu")||_e||a.display.input.onContextMenu(b)}function YA(a,b){return Ln(a,"gutterContextMenu")?XA(a,b,"gutterContextMenu",!1):!1}function _h(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Yu(a)}var fd={toString:function(){return"CodeMirror.Init"}},Xp={},Qh={};function gg(a){var b=a.optionHandlers;function ne(te,ue,Te,et){a.defaults[te]=ue,Te&&(b[te]=et?function(yt,Ft,Nt){Nt!=fd&&Te(yt,Ft,Nt)}:Te)}a.defineOption=ne,a.Init=fd,ne("value","",function(te,ue){return te.setValue(ue)},!0),ne("mode",null,function(te,ue){te.doc.modeOption=ue,jo(te)},!0),ne("indentUnit",2,jo,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){Uo(te),Yu(te),Ou(te)},!0),ne("lineSeparator",null,function(te,ue){if(te.doc.lineSep=ue,!!ue){var Te=[],et=te.doc.first;te.doc.iter(function(Ft){for(var Nt=0;;){var Nn=Ft.text.indexOf(ue,Nt);if(Nn==-1)break;Nt=Nn+ue.length,Te.push(Zt(et,Nn))}et++});for(var yt=Te.length-1;yt>=0;yt--)Cs(te.doc,ue,Te[yt],Zt(Te[yt].line,Te[yt].ch+ue.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ue,Te){te.state.specialChars=new RegExp(ue.source+(ue.test(" ")?"":"| "),"g"),Te!=fd&&te.refresh()}),ne("specialCharPlaceholder",Xa,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",ve?"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",!Oe),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){_h(te),tr(te)},!0),ne("keyMap","default",function(te,ue,Te){var et=gu(ue),yt=Te!=fd&&gu(Te);yt&&yt.detach&&yt.detach(te,et),et.attach&&et.attach(te,yt||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,Yp,!0),ne("gutters",[],function(te,ue){te.display.gutterSpecs=In(ue,te.options.lineNumbers),tr(te)},!0),ne("fixedGutter",!0,function(te,ue){te.display.gutters.style.left=ue?Ed(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return UA(te)},!0),ne("scrollbarStyle","native",function(te){Mh(te),UA(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=In(te.options.gutters,ue),tr(te)},!0),ne("firstLineNumber",1,tr,!0),ne("lineNumberFormatter",function(te){return te},tr,!0),ne("showCursorWhenSelecting",!1,Ju,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ue){ue=="nocursor"&&(Yc(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,mg),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,Ju,!0),ne("singleCursorHeightPerLine",!0,Ju,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,Uo,!0),ne("addModeClass",!1,Uo,!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,Uo,!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 mg(a,b,ne){var te=ne&&ne!=fd;if(!b!=!te){var ue=a.display.dragFunctions,Te=b?Xt:wn;Te(a.display.scroller,"dragstart",ue.start),Te(a.display.scroller,"dragenter",ue.enter),Te(a.display.scroller,"dragover",ue.over),Te(a.display.scroller,"dragleave",ue.leave),Te(a.display.scroller,"drop",ue.drop)}}function Yp(a){a.options.lineWrapping?(Qe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ve(a.display.wrapper,"CodeMirror-wrap"),$o(a)),nd(a),Ou(a),Yu(a),setTimeout(function(){return UA(a)},100)}function Ql(a,b){var ne=this;if(!(this instanceof Ql))return new Ql(a,b);this.options=b=b?Bt(b):{},Bt(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 Ql.inputStyles[b.inputStyle](this),Te=this.display=new Jn(a,te,ue,b);Te.wrapper.CodeMirror=this,_h(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Mh(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 ke,keySeq:null,specialChars:null},b.autofocus&&!ve&&Te.input.focus(),He&&Fe<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),$p(this),ld(),lc(this),this.curOp.forceUpdate=!0,Zo(this,te),b.autofocus&&!ve||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&Cf(ne)},20):Yc(this);for(var et in Qh)Qh.hasOwnProperty(et)&&Qh[et](this,b[et],fd);dn(this),b.finishInit&&b.finishInit(this);for(var yt=0;yt<jh.length;++yt)jh[yt](this);bA(this),Me&&b.lineWrapping&&getComputedStyle(Te.lineDiv).textRendering=="optimizelegibility"&&(Te.lineDiv.style.textRendering="auto")}Ql.defaults=Xp,Ql.optionHandlers=Qh;function $p(a){var b=a.display;Xt(b.scroller,"mousedown",Pu(a,cd)),He&&Fe<11?Xt(b.scroller,"dblclick",Pu(a,function(Ft){if(!nn(a,Ft)){var Nt=PA(a,Ft);if(!(!Nt||RA(a,Ft)||su(a.display,Ft))){un(Ft);var Nn=a.findWordAt(Nt);us(a.doc,Nn.anchor,Nn.head)}}})):Xt(b.scroller,"dblclick",function(Ft){return nn(a,Ft)||un(Ft)}),Xt(b.scroller,"contextmenu",function(Ft){return dd(a,Ft)}),Xt(b.input.getField(),"contextmenu",function(Ft){b.scroller.contains(Ft.target)||dd(a,Ft)});var ne,te={end:0};function ue(){b.activeTouch&&(ne=setTimeout(function(){return b.activeTouch=null},1e3),te=b.activeTouch,te.end=+new Date)}function Te(Ft){if(Ft.touches.length!=1)return!1;var Nt=Ft.touches[0];return Nt.radiusX<=1&&Nt.radiusY<=1}function et(Ft,Nt){if(Nt.left==null)return!0;var Nn=Nt.left-Ft.left,Hn=Nt.top-Ft.top;return Nn*Nn+Hn*Hn>20*20}Xt(b.scroller,"touchstart",function(Ft){if(!nn(a,Ft)&&!Te(Ft)&&!RA(a,Ft)){b.input.ensurePolled(),clearTimeout(ne);var Nt=+new Date;b.activeTouch={start:Nt,moved:!1,prev:Nt-te.end<=300?te:null},Ft.touches.length==1&&(b.activeTouch.left=Ft.touches[0].pageX,b.activeTouch.top=Ft.touches[0].pageY)}}),Xt(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),Xt(b.scroller,"touchend",function(Ft){var Nt=b.activeTouch;if(Nt&&!su(b,Ft)&&Nt.left!=null&&!Nt.moved&&new Date-Nt.start<300){var Nn=a.coordsChar(b.activeTouch,"page"),Hn;!Nt.prev||et(Nt,Nt.prev)?Hn=new Sr(Nn,Nn):!Nt.prev.prev||et(Nt,Nt.prev.prev)?Hn=a.findWordAt(Nn):Hn=new Sr(Zt(Nn.line,0),or(a.doc,Zt(Nn.line+1,0))),a.setSelection(Hn.anchor,Hn.head),a.focus(),un(Ft)}ue()}),Xt(b.scroller,"touchcancel",ue),Xt(b.scroller,"scroll",function(){b.scroller.clientHeight&&(sc(a,b.scroller.scrollTop),yA(a,b.scroller.scrollLeft,!0),ln(a,"scroll",a))}),Xt(b.scroller,"mousewheel",function(Ft){return Ur(a,Ft)}),Xt(b.scroller,"DOMMouseScroll",function(Ft){return Ur(a,Ft)}),Xt(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(Ft){nn(a,Ft)||Lt(Ft)},over:function(Ft){nn(a,Ft)||(Jc(a,Ft),Lt(Ft))},start:function(Ft){return Rc(a,Ft)},drop:Pu(a,xA),leave:function(Ft){nn(a,Ft)||Jd(a)}};var yt=b.input.getField();Xt(yt,"keyup",function(Ft){return oh.call(a,Ft)}),Xt(yt,"keydown",Pu(a,of)),Xt(yt,"keypress",Pu(a,ah)),Xt(yt,"focus",function(Ft){return Cf(a,Ft)}),Xt(yt,"blur",function(Ft){return Yc(a,Ft)})}var jh=[];Ql.defineInitHook=function(a){return jh.push(a)};function af(a,b,ne,te){var ue=a.doc,Te;ne==null&&(ne="add"),ne=="smart"&&(ue.mode.indent?Te=tn(a,b).state:ne="prev");var et=a.options.tabSize,yt=ar(ue,b),Ft=We(yt.text,null,et);yt.stateAfter&&(yt.stateAfter=null);var Nt=yt.text.match(/^\s*/)[0],Nn;if(!te&&!/\S/.test(yt.text))Nn=0,ne="not";else if(ne=="smart"&&(Nn=ue.mode.indent(Te,yt.text.slice(Nt.length),yt.text),Nn==Ht||Nn>150)){if(!te)return;ne="prev"}ne=="prev"?b>ue.first?Nn=We(ar(ue,b-1).text,null,et):Nn=0:ne=="add"?Nn=Ft+a.options.indentUnit:ne=="subtract"?Nn=Ft-a.options.indentUnit:typeof ne=="number"&&(Nn=Ft+ne),Nn=Math.max(0,Nn);var Hn="",Pr=0;if(a.options.indentWithTabs)for(var wr=Math.floor(Nn/et);wr;--wr)Pr+=et,Hn+=" ";if(Pr<Nn&&(Hn+=mn(Nn-Pr)),Hn!=Nt)return Cs(ue,Hn,Zt(b,0),Zt(b,Nt.length),"+input"),yt.stateAfter=null,!0;for(var vi=0;vi<ue.sel.ranges.length;vi++){var Ki=ue.sel.ranges[vi];if(Ki.head.line==b&&Ki.head.ch<Nt.length){var fo=Zt(b,Nt.length);uu(ue,vi,new Sr(fo,fo));break}}}var FA=null;function sh(a){FA=a}function lh(a,b,ne,te,ue){var Te=a.doc;a.display.shift=!1,te||(te=Te.sel);var et=+new Date-200,yt=ue=="paste"||a.state.pasteIncoming>et,Ft=Cr(b),Nt=null;if(yt&&te.ranges.length>1)if(FA&&FA.text.join(`
`)==b){if(te.ranges.length%FA.text.length==0){Nt=[];for(var Nn=0;Nn<FA.text.length;Nn++)Nt.push(Te.splitLines(FA.text[Nn]))}}else Ft.length==te.ranges.length&&a.options.pasteLinesPerSelection&&(Nt=Fn(Ft,function(Oo){return[Oo]}));for(var Hn=a.curOp.updateInput,Pr=te.ranges.length-1;Pr>=0;Pr--){var wr=te.ranges[Pr],vi=wr.from(),Ki=wr.to();wr.empty()&&(ne&&ne>0?vi=Zt(vi.line,vi.ch-ne):a.state.overwrite&&!yt?Ki=Zt(Ki.line,Math.min(ar(Te,Ki.line).text.length,Ki.ch+kt(Ft).length)):yt&&FA&&FA.lineWise&&FA.text.join(`
`)==Ft.join(`
`)&&(vi=Ki=Zt(vi.line,0)));var fo={from:vi,to:Ki,text:Nt?Nt[Pr%Nt.length]:Ft,origin:ue||(yt?"paste":a.state.cutIncoming>et?"cut":"+input")};Js(a.doc,fo),tl(a,"inputRead",a,fo)}b&&!yt&&uh(a,b),Uc(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Hn),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&&uc(b,function(){return lh(b,ne,0,null,"paste")}),!0}function uh(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 Te=a.getModeAt(ue.head),et=!1;if(Te.electricChars){for(var yt=0;yt<Te.electricChars.length;yt++)if(b.indexOf(Te.electricChars.charAt(yt))>-1){et=af(a,ue.head.line,"smart");break}}else Te.electricInput&&Te.electricInput.test(ar(a.doc,ue.head.line).text.slice(0,ue.head.ch))&&(et=af(a,ue.head.line,"smart"));et&&tl(a,"electricInput",a,ue.head.line)}}}function vp(a){for(var b=[],ne=[],te=0;te<a.doc.sel.ranges.length;te++){var ue=a.doc.sel.ranges[te].head.line,Te={anchor:Zt(ue,0),head:Zt(ue+1,0)};ne.push(Te),b.push(a.getRange(Te.anchor,Te.head))}return{text:b,ranges:ne}}function yp(a,b,ne,te){a.setAttribute("autocorrect",ne?"":"off"),a.setAttribute("autocapitalize",te?"":"off"),a.setAttribute("spellcheck",!!b)}function vg(){var a=ht("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),b=ht("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Me?a.style.width="1000px":a.setAttribute("wrap","off"),Se&&(a.style.border="1px solid black"),yp(a),b}function wp(a){var b=a.optionHandlers,ne=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(te,ue){var Te=this.options,et=Te[te];Te[te]==ue&&te!="mode"||(Te[te]=ue,b.hasOwnProperty(te)&&Pu(this,b[te])(this,ue,et),ln(this,"optionChange",this,te))},getOption:function(te){return this.options[te]},getDoc:function(){return this.doc},addKeyMap:function(te,ue){this.state.keyMaps[ue?"push":"unshift"](gu(te))},removeKeyMap:function(te){for(var ue=this.state.keyMaps,Te=0;Te<ue.length;++Te)if(ue[Te]==te||ue[Te].name==te)return ue.splice(Te,1),!0},addOverlay:cc(function(te,ue){var Te=te.token?te:a.getMode(this.options,te);if(Te.startState)throw new Error("Overlays may not be stateful.");an(this.state.overlays,{mode:Te,modeSpec:te,opaque:ue&&ue.opaque,priority:ue&&ue.priority||0},function(et){return et.priority}),this.state.modeGen++,Ou(this)}),removeOverlay:cc(function(te){for(var ue=this.state.overlays,Te=0;Te<ue.length;++Te){var et=ue[Te].modeSpec;if(et==te||typeof te=="string"&&et.name==te){ue.splice(Te,1),this.state.modeGen++,Ou(this);return}}}),indentLine:cc(function(te,ue,Te){typeof ue!="string"&&typeof ue!="number"&&(ue==null?ue=this.options.smartIndent?"smart":"prev":ue=ue?"add":"subtract"),tt(this.doc,te)&&af(this,te,ue,Te)}),indentSelection:cc(function(te){for(var ue=this.doc.sel.ranges,Te=-1,et=0;et<ue.length;et++){var yt=ue[et];if(yt.empty())yt.head.line>Te&&(af(this,yt.head.line,te,!0),Te=yt.head.line,et==this.doc.sel.primIndex&&Uc(this));else{var Ft=yt.from(),Nt=yt.to(),Nn=Math.max(Te,Ft.line);Te=Math.min(this.lastLine(),Nt.line-(Nt.ch?0:1))+1;for(var Hn=Nn;Hn<Te;++Hn)af(this,Hn,te);var Pr=this.doc.sel.ranges;Ft.ch==0&&ue.length==Pr.length&&Pr[et].from().ch>0&&uu(this.doc,et,new Sr(Ft,Pr[et].to()),nt)}}}),getTokenAt:function(te,ue){return Ir(this,te,ue)},getLineTokens:function(te,ue){return Ir(this,Zt(te),ue,!0)},getTokenTypeAt:function(te){te=or(this.doc,te);var ue=Er(this,ar(this.doc,te.line)),Te=0,et=(ue.length-1)/2,yt=te.ch,Ft;if(yt==0)Ft=ue[2];else for(;;){var Nt=Te+et>>1;if((Nt?ue[Nt*2-1]:0)>=yt)et=Nt;else if(ue[Nt*2+1]<yt)Te=Nt+1;else{Ft=ue[Nt*2+2];break}}var Nn=Ft?Ft.indexOf("overlay "):-1;return Nn<0?Ft:Nn==0?null:Ft.slice(0,Nn-1)},getModeAt:function(te){var ue=this.doc.mode;return ue.innerMode?a.innerMode(ue,this.getTokenAt(te).state).mode:ue},getHelper:function(te,ue){return this.getHelpers(te,ue)[0]},getHelpers:function(te,ue){var Te=[];if(!ne.hasOwnProperty(ue))return Te;var et=ne[ue],yt=this.getModeAt(te);if(typeof yt[ue]=="string")et[yt[ue]]&&Te.push(et[yt[ue]]);else if(yt[ue])for(var Ft=0;Ft<yt[ue].length;Ft++){var Nt=et[yt[ue][Ft]];Nt&&Te.push(Nt)}else yt.helperType&&et[yt.helperType]?Te.push(et[yt.helperType]):et[yt.name]&&Te.push(et[yt.name]);for(var Nn=0;Nn<et._global.length;Nn++){var Hn=et._global[Nn];Hn.pred(yt,this)&&At(Te,Hn.val)==-1&&Te.push(Hn.val)}return Te},getStateAfter:function(te,ue){var Te=this.doc;return te=nr(Te,te==null?Te.first+Te.size-1:te),tn(this,te+1,ue).state},cursorCoords:function(te,ue){var Te,et=this.doc.sel.primary();return te==null?Te=et.head:typeof te=="object"?Te=or(this.doc,te):Te=te?et.from():et.to(),fu(this,Te,ue||"page")},charCoords:function(te,ue){return ru(this,or(this.doc,te),ue||"page")},coordsChar:function(te,ue){return te=$u(this,te,ue||"page"),bs(this,te.left,te.top)},lineAtHeight:function(te,ue){return te=$u(this,{top:te,left:0},ue||"page").top,Cn(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,ue,Te){var et=!1,yt;if(typeof te=="number"){var Ft=this.doc.first+this.doc.size-1;te<this.doc.first?te=this.doc.first:te>Ft&&(te=Ft,et=!0),yt=ar(this.doc,te)}else yt=te;return xu(this,yt,{top:0,left:0},ue||"page",Te||et).top+(et?this.doc.height-Ro(yt):0)},defaultTextHeight:function(){return bc(this.display)},defaultCharWidth:function(){return iA(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ue,Te,et,yt){var Ft=this.display;te=fu(this,or(this.doc,te));var Nt=te.bottom,Nn=te.left;if(ue.style.position="absolute",ue.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ue),Ft.sizer.appendChild(ue),et=="over")Nt=te.top;else if(et=="above"||et=="near"){var Hn=Math.max(Ft.wrapper.clientHeight,this.doc.height),Pr=Math.max(Ft.sizer.clientWidth,Ft.lineSpace.clientWidth);(et=="above"||te.bottom+ue.offsetHeight>Hn)&&te.top>ue.offsetHeight?Nt=te.top-ue.offsetHeight:te.bottom+ue.offsetHeight<=Hn&&(Nt=te.bottom),Nn+ue.offsetWidth>Pr&&(Nn=Pr-ue.offsetWidth)}ue.style.top=Nt+"px",ue.style.left=ue.style.right="",yt=="right"?(Nn=Ft.sizer.clientWidth-ue.offsetWidth,ue.style.right="0px"):(yt=="left"?Nn=0:yt=="middle"&&(Nn=(Ft.sizer.clientWidth-ue.offsetWidth)/2),ue.style.left=Nn+"px"),Te&&Kp(this,{left:Nn,top:Nt,right:Nn+ue.offsetWidth,bottom:Nt+ue.offsetHeight})},triggerOnKeyDown:cc(of),triggerOnKeyPress:cc(ah),triggerOnKeyUp:oh,triggerOnMouseDown:cc(cd),execCommand:function(te){if(GA.hasOwnProperty(te))return GA[te].call(null,this)},triggerElectric:cc(function(te){uh(this,te)}),findPosH:function(te,ue,Te,et){var yt=1;ue<0&&(yt=-1,ue=-ue);for(var Ft=or(this.doc,te),Nt=0;Nt<ue&&(Ft=ch(this.doc,Ft,yt,Te,et),!Ft.hitSide);++Nt);return Ft},moveH:cc(function(te,ue){var Te=this;this.extendSelectionsBy(function(et){return Te.display.shift||Te.doc.extend||et.empty()?ch(Te.doc,et.head,te,ue,Te.options.rtlMoveVisually):te<0?et.from():et.to()},Rt)}),deleteH:cc(function(te,ue){var Te=this.doc.sel,et=this.doc;Te.somethingSelected()?et.replaceSelection("",null,"+delete"):_c(this,function(yt){var Ft=ch(et,yt.head,te,ue,!1);return te<0?{from:Ft,to:yt.head}:{from:yt.head,to:Ft}})}),findPosV:function(te,ue,Te,et){var yt=1,Ft=et;ue<0&&(yt=-1,ue=-ue);for(var Nt=or(this.doc,te),Nn=0;Nn<ue;++Nn){var Hn=fu(this,Nt,"div");if(Ft==null?Ft=Hn.left:Hn.left=Ft,Nt=Jp(this,Hn,yt,Te),Nt.hitSide)break}return Nt},moveV:cc(function(te,ue){var Te=this,et=this.doc,yt=[],Ft=!this.display.shift&&!et.extend&&et.sel.somethingSelected();if(et.extendSelectionsBy(function(Nn){if(Ft)return te<0?Nn.from():Nn.to();var Hn=fu(Te,Nn.head,"div");Nn.goalColumn!=null&&(Hn.left=Nn.goalColumn),yt.push(Hn.left);var Pr=Jp(Te,Hn,te,ue);return ue=="page"&&Nn==et.sel.primary()&&th(Te,ru(Te,Pr,"div").top-Hn.top),Pr},Rt),yt.length)for(var Nt=0;Nt<et.sel.ranges.length;Nt++)et.sel.ranges[Nt].goalColumn=yt[Nt]}),findWordAt:function(te){var ue=this.doc,Te=ar(ue,te.line).text,et=te.ch,yt=te.ch;if(Te){var Ft=this.getHelper(te,"wordChars");(te.sticky=="before"||yt==Te.length)&&et?--et:++yt;for(var Nt=Te.charAt(et),Nn=se(Nt,Ft)?function(Hn){return se(Hn,Ft)}:/\s/.test(Nt)?function(Hn){return/\s/.test(Hn)}:function(Hn){return!/\s/.test(Hn)&&!se(Hn)};et>0&&Nn(Te.charAt(et-1));)--et;for(;yt<Te.length&&Nn(Te.charAt(yt));)++yt}return new Sr(Zt(te.line,et),Zt(te.line,yt))},toggleOverwrite:function(te){te!=null&&te==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Qe(this.display.cursorDiv,"CodeMirror-overwrite"):Ve(this.display.cursorDiv,"CodeMirror-overwrite"),ln(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Ne()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:cc(function(te,ue){id(this,te,ue)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-Gu(this)-this.display.barHeight,width:te.scrollWidth-Gu(this)-this.display.barWidth,clientHeight:Bo(this),clientWidth:Qi(this)}},scrollIntoView:cc(function(te,ue){te==null?(te={from:this.doc.sel.primary().head,to:null},ue==null&&(ue=this.options.cursorScrollMargin)):typeof te=="number"?te={from:Zt(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=ue||0,te.from.line!=null?Zp(this,te):Dc(this,te.from,te.to,te.margin)}),setSize:cc(function(te,ue){var Te=this,et=function(Ft){return typeof Ft=="number"||/^\d+$/.test(String(Ft))?Ft+"px":Ft};te!=null&&(this.display.wrapper.style.width=et(te)),ue!=null&&(this.display.wrapper.style.height=et(ue)),this.options.lineWrapping&&Ns(this);var yt=this.display.viewFrom;this.doc.iter(yt,this.display.viewTo,function(Ft){if(Ft.widgets){for(var Nt=0;Nt<Ft.widgets.length;Nt++)if(Ft.widgets[Nt].noHScroll){TA(Te,yt,"widget");break}}++yt}),this.curOp.forceUpdate=!0,ln(this,"refresh",this)}),operation:function(te){return uc(this,te)},startOperation:function(){return lc(this)},endOperation:function(){return bA(this)},refresh:cc(function(){var te=this.display.cachedTextHeight;Ou(this),this.curOp.forceUpdate=!0,Yu(this),id(this,this.doc.scrollLeft,this.doc.scrollTop),bt(this.display),(te==null||Math.abs(te-bc(this.display))>.5||this.options.lineWrapping)&&nd(this),ln(this,"refresh",this)}),swapDoc:cc(function(te){var ue=this.doc;return ue.cm=null,this.state.selectingText&&this.state.selectingText(),Zo(this,te),Yu(this),this.display.input.reset(),id(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,tl(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}},_t(a),a.registerHelper=function(te,ue,Te){ne.hasOwnProperty(te)||(ne[te]=a[te]={_global:[]}),ne[te][ue]=Te},a.registerGlobalHelper=function(te,ue,Te,et){a.registerHelper(te,ue,et),ne[te]._global.push({pred:Te,val:et})}}function ch(a,b,ne,te,ue){var Te=b,et=ne,yt=ar(a,b.line),Ft=ue&&a.direction=="rtl"?-ne:ne;function Nt(){var Wo=b.line+Ft;return Wo<a.first||Wo>=a.first+a.size?!1:(b=new Zt(Wo,b.ch,b.sticky),yt=ar(a,Wo))}function Nn(Wo){var Po;if(te=="codepoint"){var la=yt.text.charCodeAt(b.ch+(te>0?0:-1));isNaN(la)?Po=null:Po=new Zt(b.line,Math.max(0,Math.min(yt.text.length,b.ch+ne*(la>=55296&&la<56320?2:1))),-ne)}else ue?Po=If(a.cm,yt,b,ne):Po=Ff(yt,b,ne);if(Po==null)if(!Wo&&Nt())b=tf(ue,a.cm,yt,b.line,Ft);else return!1;else b=Po;return!0}if(te=="char"||te=="codepoint")Nn();else if(te=="column")Nn(!0);else if(te=="word"||te=="group")for(var Hn=null,Pr=te=="group",wr=a.cm&&a.cm.getHelper(b,"wordChars"),vi=!0;!(ne<0&&!Nn(!vi));vi=!1){var Ki=yt.text.charAt(b.ch)||`
`,fo=se(Ki,wr)?"w":Pr&&Ki==`
`?"n":!Pr||/\s/.test(Ki)?null:"p";if(Pr&&!vi&&!fo&&(fo="s"),Hn&&Hn!=fo){ne<0&&(ne=1,Nn(),b.sticky="after");break}if(fo&&(Hn=fo),ne>0&&!Nn(!vi))break}var Oo=hu(a,b,Te,et,!0);return On(Te,Oo)&&(Oo.hitSide=!0),Oo}function Jp(a,b,ne,te){var ue=a.doc,Te=b.left,et;if(te=="page"){var yt=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ft=Math.max(yt-.5*bc(a.display),3);et=(ne>0?b.bottom:b.top)+ne*Ft}else te=="line"&&(et=ne>0?b.bottom+3:b.top-3);for(var Nt;Nt=bs(a,Te,et),!!Nt.outside;){if(ne<0?et<=0:et>=ue.height){Nt.hitSide=!0;break}et+=ne*5}return Nt}var wl=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ke,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};wl.prototype.init=function(a){var b=this,ne=this,te=ne.cm,ue=ne.div=a.lineDiv;yp(ue,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function Te(yt){for(var Ft=yt.target;Ft;Ft=Ft.parentNode){if(Ft==ue)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ft.className))break}return!1}Xt(ue,"paste",function(yt){!Te(yt)||nn(te,yt)||Nf(yt,te)||Fe<=11&&setTimeout(Pu(te,function(){return b.updateFromDOM()}),20)}),Xt(ue,"compositionstart",function(yt){b.composing={data:yt.data,done:!1}}),Xt(ue,"compositionupdate",function(yt){b.composing||(b.composing={data:yt.data,done:!1})}),Xt(ue,"compositionend",function(yt){b.composing&&(yt.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),Xt(ue,"touchstart",function(){return ne.forceCompositionEnd()}),Xt(ue,"input",function(){b.composing||b.readFromDOMSoon()});function et(yt){if(!(!Te(yt)||nn(te,yt))){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()}),yt.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Ft=vp(te);sh({lineWise:!0,text:Ft.text}),yt.type=="cut"&&te.operation(function(){te.setSelections(Ft.ranges,0,nt),te.replaceSelection("",null,"cut")})}else return;if(yt.clipboardData){yt.clipboardData.clearData();var Nt=FA.text.join(`
`);if(yt.clipboardData.setData("Text",Nt),yt.clipboardData.getData("Text")==Nt){yt.preventDefault();return}}var Nn=vg(),Hn=Nn.firstChild;te.display.lineSpace.insertBefore(Nn,te.display.lineSpace.firstChild),Hn.value=FA.text.join(`
`);var Pr=document.activeElement;ot(Hn),setTimeout(function(){te.display.lineSpace.removeChild(Nn),Pr.focus(),Pr==ue&&ne.showPrimarySelection()},50)}}Xt(ue,"copy",et),Xt(ue,"cut",et)},wl.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},wl.prototype.prepareSelection=function(){var a=mA(this.cm,!1);return a.focus=document.activeElement==this.div,a},wl.prototype.showSelection=function(a,b){!a||!this.cm.display.view.length||((a.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(a))},wl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},wl.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){a.removeAllRanges();return}var Te=$A(b,a.anchorNode,a.anchorOffset),et=$A(b,a.focusNode,a.focusOffset);if(!(Te&&!Te.bad&&et&&!et.bad&&vn(li(Te,et),te)==0&&vn(Xr(Te,et),ue)==0)){var yt=b.display.view,Ft=te.line>=b.display.viewFrom&&Td(b,te)||{node:yt[0].measure.map[2],offset:0},Nt=ue.line<b.display.viewTo&&Td(b,ue);if(!Nt){var Nn=yt[yt.length-1].measure,Hn=Nn.maps?Nn.maps[Nn.maps.length-1]:Nn.map;Nt={node:Hn[Hn.length-1],offset:Hn[Hn.length-2]-Hn[Hn.length-3]}}if(!Ft||!Nt){a.removeAllRanges();return}var Pr=a.rangeCount&&a.getRangeAt(0),wr;try{wr=ze(Ft.node,Ft.offset,Nt.offset,Nt.node)}catch(vi){}wr&&(!x&&b.state.focused?(a.collapse(Ft.node,Ft.offset),wr.collapsed||(a.removeAllRanges(),a.addRange(wr))):(a.removeAllRanges(),a.addRange(wr)),Pr&&a.anchorNode==null?a.addRange(Pr):x&&this.startGracePeriod()),this.rememberSelection()}},wl.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},wl.prototype.showMultipleSelections=function(a){at(this.cm.display.cursorDiv,a.cursors),at(this.cm.display.selectionDiv,a.selection)},wl.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},wl.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var b=a.getRangeAt(0).commonAncestorContainer;return pt(this.div,b)},wl.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},wl.prototype.blur=function(){this.div.blur()},wl.prototype.getField=function(){return this.div},wl.prototype.supportsTouch=function(){return!0},wl.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():uc(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function b(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,b))}this.polling.set(this.cm.options.pollInterval,b)},wl.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},wl.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),b=this.cm;if(Ie&&xe&&this.cm.display.gutterSpecs.length&&yg(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ne=$A(b,a.anchorNode,a.anchorOffset),te=$A(b,a.focusNode,a.focusOffset);ne&&te&&uc(b,function(){To(b.doc,mi(ne,te),nt),(ne.bad||te.bad)&&(b.curOp.selectionChanged=!0)})}}},wl.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,b=a.display,ne=a.doc.sel.primary(),te=ne.from(),ue=ne.to();if(te.ch==0&&te.line>a.firstLine()&&(te=Zt(te.line-1,ar(a.doc,te.line-1).length)),ue.ch==ar(a.doc,ue.line).text.length&&ue.line<a.lastLine()&&(ue=Zt(ue.line+1,0)),te.line<b.viewFrom||ue.line>b.viewTo-1)return!1;var Te,et,yt;te.line==b.viewFrom||(Te=gA(a,te.line))==0?(et=An(b.view[0].line),yt=b.view[0].node):(et=An(b.view[Te].line),yt=b.view[Te-1].node.nextSibling);var Ft=gA(a,ue.line),Nt,Nn;if(Ft==b.view.length-1?(Nt=b.viewTo-1,Nn=b.lineDiv.lastChild):(Nt=An(b.view[Ft+1].line)-1,Nn=b.view[Ft+1].node.previousSibling),!yt)return!1;for(var Hn=a.doc.splitLines(kd(a,yt,Nn,et,Nt)),Pr=Dr(a.doc,Zt(et,0),Zt(Nt,ar(a.doc,Nt).text.length));Hn.length>1&&Pr.length>1;)if(kt(Hn)==kt(Pr))Hn.pop(),Pr.pop(),Nt--;else if(Hn[0]==Pr[0])Hn.shift(),Pr.shift(),et++;else break;for(var wr=0,vi=0,Ki=Hn[0],fo=Pr[0],Oo=Math.min(Ki.length,fo.length);wr<Oo&&Ki.charCodeAt(wr)==fo.charCodeAt(wr);)++wr;for(var Wo=kt(Hn),Po=kt(Pr),la=Math.min(Wo.length-(Hn.length==1?wr:0),Po.length-(Pr.length==1?wr:0));vi<la&&Wo.charCodeAt(Wo.length-vi-1)==Po.charCodeAt(Po.length-vi-1);)++vi;if(Hn.length==1&&Pr.length==1&&et==te.line)for(;wr&&wr>te.ch&&Wo.charCodeAt(Wo.length-vi-1)==Po.charCodeAt(Po.length-vi-1);)wr--,vi++;Hn[Hn.length-1]=Wo.slice(0,Wo.length-vi).replace(/^\u200b+/,""),Hn[0]=Hn[0].slice(wr).replace(/\u200b+$/,"");var Ua=Zt(et,wr),xa=Zt(Nt,Pr.length?kt(Pr).length-vi:0);if(Hn.length>1||Hn[0]||vn(Ua,xa))return Cs(a.doc,Hn,Ua,xa,"+input"),!0},wl.prototype.ensurePolled=function(){this.forceCompositionEnd()},wl.prototype.reset=function(){this.forceCompositionEnd()},wl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},wl.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))},wl.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&uc(this.cm,function(){return Ou(a.cm)})},wl.prototype.setUneditable=function(a){a.contentEditable="false"},wl.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Pu(this.cm,lh)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},wl.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},wl.prototype.onContextMenu=function(){},wl.prototype.resetPosition=function(){},wl.prototype.needsContentAttribute=!0;function Td(a,b){var ne=Cu(a,b.line);if(!ne||ne.hidden)return null;var te=ar(a.doc,b.line),ue=ol(ne,te,b.line),Te=xt(te,a.doc.direction),et="left";if(Te){var yt=Dt(Te,b.ch);et=yt%2?"right":"left"}var Ft=Vc(ue.map,b.ch,et);return Ft.offset=Ft.collapse=="right"?Ft.end:Ft.start,Ft}function yg(a){for(var b=a;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function jl(a,b){return b&&(a.bad=!0),a}function kd(a,b,ne,te,ue){var Te="",et=!1,yt=a.doc.lineSeparator(),Ft=!1;function Nt(wr){return function(vi){return vi.id==wr}}function Nn(){et&&(Te+=yt,Ft&&(Te+=yt),et=Ft=!1)}function Hn(wr){wr&&(Nn(),Te+=wr)}function Pr(wr){if(wr.nodeType==1){var vi=wr.getAttribute("cm-text");if(vi){Hn(vi);return}var Ki=wr.getAttribute("cm-marker"),fo;if(Ki){var Oo=a.findMarks(Zt(te,0),Zt(ue+1,0),Nt(+Ki));Oo.length&&(fo=Oo[0].find(0))&&Hn(Dr(a.doc,fo.from,fo.to).join(yt));return}if(wr.getAttribute("contenteditable")=="false")return;var Wo=/^(pre|div|p|li|table|br)$/i.test(wr.nodeName);if(!/^br$/i.test(wr.nodeName)&&wr.textContent.length==0)return;Wo&&Nn();for(var Po=0;Po<wr.childNodes.length;Po++)Pr(wr.childNodes[Po]);/^(pre|p)$/i.test(wr.nodeName)&&(Ft=!0),Wo&&(et=!0)}else wr.nodeType==3&&Hn(wr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Pr(b),b!=ne;)b=b.nextSibling,Ft=!1;return Te}function $A(a,b,ne){var te;if(b==a.display.lineDiv){if(te=a.display.lineDiv.childNodes[ne],!te)return jl(a.clipPos(Zt(a.display.viewTo-1)),!0);b=null,ne=0}else for(te=b;;te=te.parentNode){if(!te||te==a.display.lineDiv)return null;if(te.parentNode&&te.parentNode==a.display.lineDiv)break}for(var ue=0;ue<a.display.view.length;ue++){var Te=a.display.view[ue];if(Te.node==te)return hd(Te,b,ne)}}function hd(a,b,ne){var te=a.text.firstChild,ue=!1;if(!b||!pt(te,b))return jl(Zt(An(a.line),0),!0);if(b==te&&(ue=!0,b=te.childNodes[ne],ne=0,!b)){var Te=a.rest?kt(a.rest):a.line;return jl(Zt(An(Te),Te.text.length),ue)}var et=b.nodeType==3?b:null,yt=b;for(!et&&b.childNodes.length==1&&b.firstChild.nodeType==3&&(et=b.firstChild,ne&&(ne=et.nodeValue.length));yt.parentNode!=te;)yt=yt.parentNode;var Ft=a.measure,Nt=Ft.maps;function Nn(fo,Oo,Wo){for(var Po=-1;Po<(Nt?Nt.length:0);Po++)for(var la=Po<0?Ft.map:Nt[Po],Ua=0;Ua<la.length;Ua+=3){var xa=la[Ua+2];if(xa==fo||xa==Oo){var Ha=An(Po<0?a.line:a.rest[Po]),Sl=la[Ua]+Wo;return(Wo<0||xa!=fo)&&(Sl=la[Ua+(Wo?1:0)]),Zt(Ha,Sl)}}}var Hn=Nn(et,yt,ne);if(Hn)return jl(Hn,ue);for(var Pr=yt.nextSibling,wr=et?et.nodeValue.length-ne:0;Pr;Pr=Pr.nextSibling){if(Hn=Nn(Pr,Pr.firstChild,0),Hn)return jl(Zt(Hn.line,Hn.ch-wr),ue);wr+=Pr.textContent.length}for(var vi=yt.previousSibling,Ki=ne;vi;vi=vi.previousSibling){if(Hn=Nn(vi,vi.firstChild,-1),Hn)return jl(Zt(Hn.line,Hn.ch+Ki),ue);Ki+=vi.textContent.length}}var El=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new ke,this.hasSelection=!1,this.composing=null};El.prototype.init=function(a){var b=this,ne=this,te=this.cm;this.createField(a);var ue=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Se&&(ue.style.width="0px"),Xt(ue,"input",function(){He&&Fe>=9&&b.hasSelection&&(b.hasSelection=null),ne.poll()}),Xt(ue,"paste",function(et){nn(te,et)||Nf(et,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function Te(et){if(!nn(te,et)){if(te.somethingSelected())sh({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var yt=vp(te);sh({lineWise:!0,text:yt.text}),et.type=="cut"?te.setSelections(yt.ranges,null,nt):(ne.prevInput="",ue.value=yt.text.join(`
`),ot(ue))}else return;et.type=="cut"&&(te.state.cutIncoming=+new Date)}}Xt(ue,"cut",Te),Xt(ue,"copy",Te),Xt(a.scroller,"paste",function(et){if(!(su(a,et)||nn(te,et))){if(!ue.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var yt=new Event("paste");yt.clipboardData=et.clipboardData,ue.dispatchEvent(yt)}}),Xt(a.lineSpace,"selectstart",function(et){su(a,et)||un(et)}),Xt(ue,"compositionstart",function(){var et=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:et,range:te.markText(et,te.getCursor("to"),{className:"CodeMirror-composing"})}}),Xt(ue,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},El.prototype.createField=function(a){this.wrapper=vg(),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=mA(a);if(a.options.moveInputWithCursor){var ue=fu(a,ne.sel.primary().head,"div"),Te=b.wrapper.getBoundingClientRect(),et=b.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,ue.top+et.top-Te.top)),te.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,ue.left+et.left-Te.left))}return te},El.prototype.showSelection=function(a){var b=this.cm,ne=b.display;at(ne.cursorDiv,a.cursors),at(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&&Fe>=9&&(this.hasSelection=ne)}else a||(this.prevInput=this.textarea.value="",He&&Fe>=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"&&(!ve||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||ur(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&&Fe>=9&&this.hasSelection===ue||we&&/[\uf700-\uf7ff]/.test(ue))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var Te=ue.charCodeAt(0);if(Te==8203&&!te&&(te="\u200B"),Te==8666)return this.reset(),this.cm.execCommand("undo")}for(var et=0,yt=Math.min(te.length,ue.length);et<yt&&te.charCodeAt(et)==ue.charCodeAt(et);)++et;return uc(b,function(){lh(b,ue.slice(et),te.length-et,null,a.composing?"*compose":null),ue.length>1e3||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&&Fe>=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 Te=PA(ne,a),et=te.scroller.scrollTop;if(!Te||oe)return;var yt=ne.options.resetSelectionOnContextMenu;yt&&ne.doc.sel.contains(Te)==-1&&Pu(ne,To)(ne.doc,mi(Te),nt);var Ft=ue.style.cssText,Nt=b.wrapper.style.cssText,Nn=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",ue.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-Nn.top-5)+"px; left: "+(a.clientX-Nn.left-5)+`px;
z-index: 1000; background: `+(He?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Hn;Me&&(Hn=window.scrollY),te.input.focus(),Me&&window.scrollTo(null,Hn),te.input.reset(),ne.somethingSelected()||(ue.value=b.prevInput=" "),b.contextMenuPending=wr,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Pr(){if(ue.selectionStart!=null){var Ki=ne.somethingSelected(),fo="\u200B"+(Ki?ue.value:"");ue.value="\u21DA",ue.value=fo,b.prevInput=Ki?"":"\u200B",ue.selectionStart=1,ue.selectionEnd=fo.length,te.selForContextMenu=ne.doc.sel}}function wr(){if(b.contextMenuPending==wr&&(b.contextMenuPending=!1,b.wrapper.style.cssText=Nt,ue.style.cssText=Ft,He&&Fe<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=et),ue.selectionStart!=null)){(!He||He&&Fe<9)&&Pr();var Ki=0,fo=function(){te.selForContextMenu==ne.doc.sel&&ue.selectionStart==0&&ue.selectionEnd>0&&b.prevInput=="\u200B"?Pu(ne,ea)(ne):Ki++<10?te.detectingSelectAll=setTimeout(fo,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(fo,200)}}if(He&&Fe>=9&&Pr(),_e){Lt(a);var vi=function(){wn(window,"mouseup",vi),setTimeout(wr,20)};Xt(window,"mouseup",vi)}else setTimeout(wr,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 Ah(a,b){if(b=b?Bt(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=yt.getValue()}var ue;if(a.form&&(Xt(a.form,"submit",te),!b.leaveSubmitMethodAlone)){var Te=a.form;ue=Te.submit;try{var et=Te.submit=function(){te(),Te.submit=ue,Te.submit(),Te.submit=et}}catch(Ft){}}b.finishInit=function(Ft){Ft.save=te,Ft.getTextArea=function(){return a},Ft.toTextArea=function(){Ft.toTextArea=isNaN,te(),a.parentNode.removeChild(Ft.getWrapperElement()),a.style.display="",a.form&&(wn(a.form,"submit",te),!b.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ue))}},a.style.display="none";var yt=Ql(function(Ft){return a.parentNode.insertBefore(Ft,a.nextSibling)},b);return yt}function pd(a){a.off=wn,a.on=Xt,a.wheelEventPixels=Mr,a.Doc=Al,a.splitLines=Cr,a.countColumn=We,a.findColumn=hn,a.isWordChar=ee,a.Pass=Ht,a.signal=ln,a.Line=Ea,a.changeEnd=eo,a.scrollbarModel=Id,a.Pos=Zt,a.cmpPos=vn,a.modes=rr,a.mimeModes=Zn,a.resolveMode=Or,a.getMode=ci,a.modeExtensions=Ai,a.extendMode=di,a.copyState=Pi,a.startState=oo,a.innerMode=yi,a.commands=GA,a.keyMap=Eu,a.keyName=VA,a.isModifierKey=Sf,a.lookupKey=ZA,a.normalizeKeyMap=ju,a.StringStream=Gi,a.SharedTextMarker=cl,a.TextMarker=Mu,a.LineWidget=Ps,a.e_preventDefault=un,a.e_stopPropagation=Pn,a.e_stop=Lt,a.addClass=Qe,a.contains=pt,a.rmClass=Ve,a.keyNames=ys}gg(Ql),wp(Ql);var qp="iter insert remove copy getEditor constructor".split(" ");for(var Hh in Al.prototype)Al.prototype.hasOwnProperty(Hh)&&At(qp,Hh)<0&&(Ql.prototype[Hh]=function(a){return function(){return a.apply(this.doc,arguments)}}(Al.prototype[Hh]));return _t(Al),Ql.inputStyles={textarea:El,contenteditable:wl},Ql.defineMode=function(a){!Ql.defaults.mode&&a!="null"&&(Ql.defaults.mode=a),br.apply(this,arguments)},Ql.defineMIME=Br,Ql.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ql.defineMIME("text/plain","null"),Ql.defineExtension=function(a,b){Ql.prototype[a]=b},Ql.defineDocExtension=function(a,b){Al.prototype[a]=b},Ql.fromTextArea=Ah,pd(Ql),Ql.version="5.58.2",Ql})},25419:function(Xn,Mt,ae){(function(x){x(ae(89780),ae(15525),ae(98101))})(function(x){"use strict";x.defineMode("markdown",function(dt,Le){var qe=x.getMode(dt,"text/html"),He=qe.name=="null";function Fe(We){if(x.findModeByName){var ke=x.findModeByName(We);ke&&(We=ke.mime||ke.mimes[0])}var At=x.getMode(dt,We);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 Me={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 Me)Me.hasOwnProperty(fe)&&Le.tokenTypeOverrides[fe]&&(Me[fe]=Le.tokenTypeOverrides[fe]);var xe=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Pe=/^\[(x| )\](?=\s)/i,ye=Le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Re=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Se=/^[^#!\[\]*_\\<>` "'(~:]+/,Ie=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ve=/^\s*\[[^\]]+?\]:.*$/,we=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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 Oe(We,ke,At){return ke.f=ke.inline=At,At(We,ke)}function Ke(We,ke,At){return ke.f=ke.block=At,At(We,ke)}function je(We){return!We||!/\S/.test(We.string)}function _e(We){if(We.linkTitle=!1,We.linkHref=!1,We.linkText=!1,We.em=!1,We.strong=!1,We.strikethrough=!1,We.quote=0,We.indentedCode=!1,We.f==Ve){var ke=He;if(!ke){var At=x.innerMode(qe,We.htmlState);ke=At.mode.name=="xml"&&At.state.tagStart===null&&!At.state.context&&At.state.tokenize.isInText}ke&&(We.f=Ct,We.block=Je,We.htmlState=null)}return We.trailingSpace=0,We.trailingSpaceNewLine=!1,We.prevLine=We.thisLine,We.thisLine={stream:null},null}function Je(We,ke){var At=We.column()===ke.indentation,Kt=je(ke.prevLine.stream),Ht=ke.indentedCode,nt=ke.prevLine.hr,Pt=ke.list!==!1,Rt=(ke.listStack[ke.listStack.length-1]||0)+3;ke.indentedCode=!1;var hn=ke.indentation;if(ke.indentationDiff===null&&(ke.indentationDiff=ke.indentation,Pt)){for(ke.list=null;hn<ke.listStack[ke.listStack.length-1];)ke.listStack.pop(),ke.listStack.length?ke.indentation=ke.listStack[ke.listStack.length-1]:ke.list=!1;ke.list!==!1&&(ke.indentationDiff=hn-ke.listStack[ke.listStack.length-1])}var Tt=!Kt&&!nt&&!ke.prevLine.header&&(!Pt||!Ht)&&!ke.prevLine.fencedCodeEnd,mn=(ke.list===!1||nt||Kt)&&ke.indentation<=Rt&&We.match(xe),kt=null;if(ke.indentationDiff>=4&&(Ht||ke.prevLine.fencedCodeEnd||ke.prevLine.header||Kt))return We.skipToEnd(),ke.indentedCode=!0,Me.code;if(We.eatSpace())return null;if(At&&ke.indentation<=Rt&&(kt=We.match(ye))&&kt[1].length<=6)return ke.quote=0,ke.header=kt[1].length,ke.thisLine.header=!0,Le.highlightFormatting&&(ke.formatting="header"),ke.f=ke.inline,at(ke);if(ke.indentation<=Rt&&We.eat(">"))return ke.quote=At?1:ke.quote+1,Le.highlightFormatting&&(ke.formatting="quote"),We.eatSpace(),at(ke);if(!mn&&!ke.setext&&At&&ke.indentation<=Rt&&(kt=We.match(oe))){var Fn=kt[1]?"ol":"ul";return ke.indentation=hn+We.current().length,ke.list=!0,ke.quote=0,ke.listStack.push(ke.indentation),ke.em=!1,ke.strong=!1,ke.code=!1,ke.strikethrough=!1,Le.taskLists&&We.match(Pe,!1)&&(ke.taskList=!0),ke.f=ke.inline,Le.highlightFormatting&&(ke.formatting=["list","list-"+Fn]),at(ke)}else{if(At&&ke.indentation<=Rt&&(kt=We.match(Ie,!0)))return ke.quote=0,ke.fencedEndRE=new RegExp(kt[1]+"+ *$"),ke.localMode=Le.fencedCodeBlockHighlighting&&Fe(kt[2]||Le.fencedCodeBlockDefaultMode),ke.localMode&&(ke.localState=x.startState(ke.localMode)),ke.f=ke.block=st,Le.highlightFormatting&&(ke.formatting="code-block"),ke.code=-1,at(ke);if(ke.setext||(!Tt||!Pt)&&!ke.quote&&ke.list===!1&&!ke.code&&!mn&&!ve.test(We.string)&&(kt=We.lookAhead(1))&&(kt=kt.match(Re)))return ke.setext?(ke.header=ke.setext,ke.setext=0,We.skipToEnd(),Le.highlightFormatting&&(ke.formatting="header")):(ke.header=kt[0].charAt(0)=="="?1:2,ke.setext=ke.header),ke.thisLine.header=!0,ke.f=ke.inline,at(ke);if(mn)return We.skipToEnd(),ke.hr=!0,ke.thisLine.hr=!0,Me.hr;if(We.peek()==="[")return Oe(We,ke,Ot)}return Oe(We,ke,ke.inline)}function Ve(We,ke){var At=qe.token(We,ke.htmlState);if(!He){var Kt=x.innerMode(qe,ke.htmlState);(Kt.mode.name=="xml"&&Kt.state.tagStart===null&&!Kt.state.context&&Kt.state.tokenize.isInText||ke.md_inside&&We.current().indexOf(">")>-1)&&(ke.f=Ct,ke.block=Je,ke.htmlState=null)}return At}function st(We,ke){var At=ke.listStack[ke.listStack.length-1]||0,Kt=ke.indentation<At,Ht=At+3;if(ke.fencedEndRE&&ke.indentation<=Ht&&(Kt||We.match(ke.fencedEndRE))){Le.highlightFormatting&&(ke.formatting="code-block");var nt;return Kt||(nt=at(ke)),ke.localMode=ke.localState=null,ke.block=Je,ke.f=Ct,ke.fencedEndRE=null,ke.code=0,ke.thisLine.fencedCodeEnd=!0,Kt?Ke(We,ke,ke.block):nt}else return ke.localMode?ke.localMode.token(We,ke.localState):(We.skipToEnd(),Me.code)}function at(We){var ke=[];if(We.formatting){ke.push(Me.formatting),typeof We.formatting=="string"&&(We.formatting=[We.formatting]);for(var At=0;At<We.formatting.length;At++)ke.push(Me.formatting+"-"+We.formatting[At]),We.formatting[At]==="header"&&ke.push(Me.formatting+"-"+We.formatting[At]+"-"+We.header),We.formatting[At]==="quote"&&(!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=We.quote?ke.push(Me.formatting+"-"+We.formatting[At]+"-"+We.quote):ke.push("error"))}if(We.taskOpen)return ke.push("meta"),ke.length?ke.join(" "):null;if(We.taskClosed)return ke.push("property"),ke.length?ke.join(" "):null;if(We.linkHref?ke.push(Me.linkHref,"url"):(We.strong&&ke.push(Me.strong),We.em&&ke.push(Me.em),We.strikethrough&&ke.push(Me.strikethrough),We.emoji&&ke.push(Me.emoji),We.linkText&&ke.push(Me.linkText),We.code&&ke.push(Me.code),We.image&&ke.push(Me.image),We.imageAltText&&ke.push(Me.imageAltText,"link"),We.imageMarker&&ke.push(Me.imageMarker)),We.header&&ke.push(Me.header,Me.header+"-"+We.header),We.quote&&(ke.push(Me.quote),!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=We.quote?ke.push(Me.quote+"-"+We.quote):ke.push(Me.quote+"-"+Le.maxBlockquoteDepth)),We.list!==!1){var Kt=(We.listStack.length-1)%3;Kt?Kt===1?ke.push(Me.list2):ke.push(Me.list3):ke.push(Me.list1)}return We.trailingSpaceNewLine?ke.push("trailing-space-new-line"):We.trailingSpace&&ke.push("trailing-space-"+(We.trailingSpace%2?"a":"b")),ke.length?ke.join(" "):null}function ht(We,ke){if(We.match(Se,!0))return at(ke)}function Ct(We,ke){var At=ke.text(We,ke);if(typeof At!="undefined")return At;if(ke.list)return ke.list=null,at(ke);if(ke.taskList){var Kt=We.match(Pe,!0)[1]===" ";return Kt?ke.taskOpen=!0:ke.taskClosed=!0,Le.highlightFormatting&&(ke.formatting="task"),ke.taskList=!1,at(ke)}if(ke.taskOpen=!1,ke.taskClosed=!1,ke.header&&We.match(/^#+$/,!0))return Le.highlightFormatting&&(ke.formatting="header"),at(ke);var Ht=We.next();if(ke.linkTitle){ke.linkTitle=!1;var nt=Ht;Ht==="("&&(nt=")"),nt=(nt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Pt="^\\s*(?:[^"+nt+"\\\\]+|\\\\\\\\|\\\\.)"+nt;if(We.match(new RegExp(Pt),!0))return Me.linkHref}if(Ht==="`"){var Rt=ke.formatting;Le.highlightFormatting&&(ke.formatting="code"),We.eatWhile("`");var hn=We.current().length;if(ke.code==0&&(!ke.quote||hn==1))return ke.code=hn,at(ke);if(hn==ke.code){var Tt=at(ke);return ke.code=0,Tt}else return ke.formatting=Rt,at(ke)}else if(ke.code)return at(ke);if(Ht==="\\"&&(We.next(),Le.highlightFormatting)){var mn=at(ke),kt=Me.formatting+"-escape";return mn?mn+" "+kt:kt}if(Ht==="!"&&We.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ke.imageMarker=!0,ke.image=!0,Le.highlightFormatting&&(ke.formatting="image"),at(ke);if(Ht==="["&&ke.imageMarker&&We.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ke.imageMarker=!1,ke.imageAltText=!0,Le.highlightFormatting&&(ke.formatting="image"),at(ke);if(Ht==="]"&&ke.imageAltText){Le.highlightFormatting&&(ke.formatting="image");var mn=at(ke);return ke.imageAltText=!1,ke.image=!1,ke.inline=ke.f=pt,mn}if(Ht==="["&&!ke.image)return ke.linkText&&We.match(/^.*?\]/)||(ke.linkText=!0,Le.highlightFormatting&&(ke.formatting="link")),at(ke);if(Ht==="]"&&ke.linkText){Le.highlightFormatting&&(ke.formatting="link");var mn=at(ke);return ke.linkText=!1,ke.inline=ke.f=We.match(/\(.*?\)| ?\[.*?\]/,!1)?pt:Ct,mn}if(Ht==="<"&&We.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ke.f=ke.inline=ze,Le.highlightFormatting&&(ke.formatting="link");var mn=at(ke);return mn?mn+=" ":mn="",mn+Me.linkInline}if(Ht==="<"&&We.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ke.f=ke.inline=ze,Le.highlightFormatting&&(ke.formatting="link");var mn=at(ke);return mn?mn+=" ":mn="",mn+Me.linkEmail}if(Le.xml&&Ht==="<"&&We.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Fn=We.string.indexOf(">",We.pos);if(Fn!=-1){var an=We.string.substring(We.start,Fn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(an)&&(ke.md_inside=!0)}return We.backUp(1),ke.htmlState=x.startState(qe),Ke(We,ke,Ve)}if(Le.xml&&Ht==="<"&&We.match(/^\/\w*?>/))return ke.md_inside=!1,"tag";if(Ht==="*"||Ht==="_"){for(var de=1,ge=We.pos==1?" ":We.string.charAt(We.pos-2);de<3&&We.eat(Ht);)de++;var ie=We.peek()||" ",ee=!/\s/.test(ie)&&(!we.test(ie)||/\s/.test(ge)||we.test(ge)),se=!/\s/.test(ge)&&(!we.test(ge)||/\s/.test(ie)||we.test(ie)),le=null,Be=null;if(de%2&&(!ke.em&&ee&&(Ht==="*"||!se||we.test(ge))?le=!0:ke.em==Ht&&se&&(Ht==="*"||!ee||we.test(ie))&&(le=!1)),de>1&&(!ke.strong&&ee&&(Ht==="*"||!se||we.test(ge))?Be=!0:ke.strong==Ht&&se&&(Ht==="*"||!ee||we.test(ie))&&(Be=!1)),Be!=null||le!=null){Le.highlightFormatting&&(ke.formatting=le==null?"strong":Be==null?"em":"strong em"),le===!0&&(ke.em=Ht),Be===!0&&(ke.strong=Ht);var Tt=at(ke);return le===!1&&(ke.em=!1),Be===!1&&(ke.strong=!1),Tt}}else if(Ht===" "&&(We.eat("*")||We.eat("_"))){if(We.peek()===" ")return at(ke);We.backUp(1)}if(Le.strikethrough){if(Ht==="~"&&We.eatWhile(Ht)){if(ke.strikethrough){Le.highlightFormatting&&(ke.formatting="strikethrough");var Tt=at(ke);return ke.strikethrough=!1,Tt}else if(We.match(/^[^\s]/,!1))return ke.strikethrough=!0,Le.highlightFormatting&&(ke.formatting="strikethrough"),at(ke)}else if(Ht===" "&&We.match(/^~~/,!0)){if(We.peek()===" ")return at(ke);We.backUp(2)}}if(Le.emoji&&Ht===":"&&We.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ke.emoji=!0,Le.highlightFormatting&&(ke.formatting="emoji");var Ge=at(ke);return ke.emoji=!1,Ge}return Ht===" "&&(We.match(/^ +$/,!1)?ke.trailingSpace++:ke.trailingSpace&&(ke.trailingSpaceNewLine=!0)),at(ke)}function ze(We,ke){var At=We.next();if(At===">"){ke.f=ke.inline=Ct,Le.highlightFormatting&&(ke.formatting="link");var Kt=at(ke);return Kt?Kt+=" ":Kt="",Kt+Me.linkInline}return We.match(/^[^>]+/,!0),Me.linkInline}function pt(We,ke){if(We.eatSpace())return null;var At=We.next();return At==="("||At==="["?(ke.f=ke.inline=Qe(At==="("?")":"]"),Le.highlightFormatting&&(ke.formatting="link-string"),ke.linkHref=!0,at(ke)):"error"}var Ne={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Qe(We){return function(ke,At){var Kt=ke.next();if(Kt===We){At.f=At.inline=Ct,Le.highlightFormatting&&(At.formatting="link-string");var Ht=at(At);return At.linkHref=!1,Ht}return ke.match(Ne[We]),At.linkHref=!0,at(At)}}function Ot(We,ke){return We.match(/^([^\]\\]|\\.)*\]:/,!1)?(ke.f=ot,We.next(),Le.highlightFormatting&&(ke.formatting="link"),ke.linkText=!0,at(ke)):Oe(We,ke,Ct)}function ot(We,ke){if(We.match(/^\]:/,!0)){ke.f=ke.inline=lt,Le.highlightFormatting&&(ke.formatting="link");var At=at(ke);return ke.linkText=!1,At}return We.match(/^([^\]\\]|\\.)+/,!0),Me.linkText}function lt(We,ke){return We.eatSpace()?null:(We.match(/^[^\s]+/,!0),We.peek()===void 0?ke.linkTitle=!0:We.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ke.f=ke.inline=Ct,Me.linkHref+" url")}var Bt={startState:function(){return{f:Je,prevLine:{stream:null},thisLine:{stream:null},block:Je,htmlState:null,indentation:0,inline:Ct,text:ht,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(We){return{f:We.f,prevLine:We.prevLine,thisLine:We.thisLine,block:We.block,htmlState:We.htmlState&&x.copyState(qe,We.htmlState),indentation:We.indentation,localMode:We.localMode,localState:We.localMode?x.copyState(We.localMode,We.localState):null,inline:We.inline,text:We.text,formatting:!1,linkText:We.linkText,linkTitle:We.linkTitle,linkHref:We.linkHref,code:We.code,em:We.em,strong:We.strong,strikethrough:We.strikethrough,emoji:We.emoji,header:We.header,setext:We.setext,hr:We.hr,taskList:We.taskList,list:We.list,listStack:We.listStack.slice(0),quote:We.quote,indentedCode:We.indentedCode,trailingSpace:We.trailingSpace,trailingSpaceNewLine:We.trailingSpaceNewLine,md_inside:We.md_inside,fencedEndRE:We.fencedEndRE}},token:function(We,ke){if(ke.formatting=!1,We!=ke.thisLine.stream){if(ke.header=0,ke.hr=!1,We.match(/^\s*$/,!0))return _e(ke),null;if(ke.prevLine=ke.thisLine,ke.thisLine={stream:We},ke.taskList=!1,ke.trailingSpace=0,ke.trailingSpaceNewLine=!1,!ke.localState&&(ke.f=ke.block,ke.f!=Ve)){var At=We.match(/^\s*/,!0)[0].replace(/\t/g,Ee).length;if(ke.indentation=At,ke.indentationDiff=null,At>0)return null}}return ke.f(We,ke)},innerMode:function(We){return We.block==Ve?{state:We.htmlState,mode:qe}:We.localState?{state:We.localState,mode:We.localMode}:{state:We,mode:Bt}},indent:function(We,ke,At){return We.block==Ve&&qe.indent?qe.indent(We.htmlState,ke,At):We.localState&&We.localMode.indent?We.localMode.indent(We.localState,ke,At):x.Pass},blankLine:_e,getType:at,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Bt},"xml"),x.defineMIME("text/markdown","markdown"),x.defineMIME("text/x-markdown","markdown")})},98101:function(Xn,Mt,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 dt=0;dt<x.modeInfo.length;dt++){var Le=x.modeInfo[dt];Le.mimes&&(Le.mime=Le.mimes[0])}x.findModeByMIME=function(qe){qe=qe.toLowerCase();for(var He=0;He<x.modeInfo.length;He++){var Fe=x.modeInfo[He];if(Fe.mime==qe)return Fe;if(Fe.mimes){for(var Me=0;Me<Fe.mimes.length;Me++)if(Fe.mimes[Me]==qe)return Fe}}if(/\+xml$/.test(qe))return x.findModeByMIME("application/xml");if(/\+json$/.test(qe))return x.findModeByMIME("application/json")},x.findModeByExtension=function(qe){qe=qe.toLowerCase();for(var He=0;He<x.modeInfo.length;He++){var Fe=x.modeInfo[He];if(Fe.ext){for(var Me=0;Me<Fe.ext.length;Me++)if(Fe.ext[Me]==qe)return Fe}}},x.findModeByFileName=function(qe){for(var He=0;He<x.modeInfo.length;He++){var Fe=x.modeInfo[He];if(Fe.file&&Fe.file.test(qe))return Fe}var Me=qe.lastIndexOf("."),fe=Me>-1&&qe.substring(Me+1,qe.length);if(fe)return x.findModeByExtension(fe)},x.findModeByName=function(qe){qe=qe.toLowerCase();for(var He=0;He<x.modeInfo.length;He++){var Fe=x.modeInfo[He];if(Fe.name.toLowerCase()==qe)return Fe;if(Fe.alias){for(var Me=0;Me<Fe.alias.length;Me++)if(Fe.alias[Me].toLowerCase()==qe)return Fe}}}})},67549:function(Xn,Mt,ae){(function(x){x(ae(89780))})(function(x){"use strict";x.defineMode("stex",function(dt,Le){"use strict";function qe(Se,Ie){Se.cmdState.push(Ie)}function He(Se){return Se.cmdState.length>0?Se.cmdState[Se.cmdState.length-1]:null}function Fe(Se){var Ie=Se.cmdState.pop();Ie&&Ie.closeBracket()}function Me(Se){for(var Ie=Se.cmdState,ve=Ie.length-1;ve>=0;ve--){var we=Ie[ve];if(we.name!="DEFAULT")return we}return{styleIdentifier:function(){return null}}}function fe(Se,Ie,ve){return function(){this.name=Se,this.bracketNo=0,this.style=Ie,this.styles=ve,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var xe={};xe.importmodule=fe("importmodule","tag",["string","builtin"]),xe.documentclass=fe("documentclass","tag",["","atom"]),xe.usepackage=fe("usepackage","tag",["atom"]),xe.begin=fe("begin","tag",["atom"]),xe.end=fe("end","tag",["atom"]),xe.label=fe("label","tag",["atom"]),xe.ref=fe("ref","tag",["atom"]),xe.eqref=fe("eqref","tag",["atom"]),xe.cite=fe("cite","tag",["atom"]),xe.bibitem=fe("bibitem","tag",["atom"]),xe.Bibitem=fe("Bibitem","tag",["atom"]),xe.RBibitem=fe("RBibitem","tag",["atom"]),xe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(Se,Ie){Se.f=Ie}function Pe(Se,Ie){var ve;if(Se.match(/^\\[a-zA-Z@]+/)){var we=Se.current().slice(1);return ve=xe.hasOwnProperty(we)?xe[we]:xe.DEFAULT,ve=new ve,qe(Ie,ve),oe(Ie,Re),ve.style}if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/\\]/))return"tag";if(Se.match("\\["))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"\\]")}),"keyword";if(Se.match("\\("))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"\\)")}),"keyword";if(Se.match("$$"))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"$$")}),"keyword";if(Se.match("$"))return oe(Ie,function(Oe,Ke){return ye(Oe,Ke,"$")}),"keyword";var Ee=Se.next();if(Ee=="%")return Se.skipToEnd(),"comment";if(Ee=="}"||Ee=="]"){if(ve=He(Ie),ve)ve.closeBracket(Ee),oe(Ie,Re);else return"error";return"bracket"}else return Ee=="{"||Ee=="["?(ve=xe.DEFAULT,ve=new ve,qe(Ie,ve),"bracket"):/\d/.test(Ee)?(Se.eatWhile(/[\w.%]/),"atom"):(Se.eatWhile(/[\w\-_]/),ve=Me(Ie),ve.name=="begin"&&(ve.argument=Se.current()),ve.styleIdentifier())}function ye(Se,Ie,ve){if(Se.eatSpace())return null;if(ve&&Se.match(ve))return oe(Ie,Pe),"keyword";if(Se.match(/^\\[a-zA-Z@]+/))return"tag";if(Se.match(/^[a-zA-Z]+/))return"variable-2";if(Se.match(/^\\[$&%#{}_]/)||Se.match(/^\\[,;!\/]/)||Se.match(/^[\^_&]/))return"tag";if(Se.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Se.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var we=Se.next();return we=="{"||we=="}"||we=="["||we=="]"||we=="("||we==")"?"bracket":we=="%"?(Se.skipToEnd(),"comment"):"error"}function Re(Se,Ie){var ve=Se.peek(),we;return ve=="{"||ve=="["?(we=He(Ie),we.openBracket(ve),Se.eat(ve),oe(Ie,Pe),"bracket"):/[ \t\r]/.test(ve)?(Se.eat(ve),null):(oe(Ie,Pe),Fe(Ie),Pe(Se,Ie))}return{startState:function(){var Se=Le.inMathMode?function(Ie,ve){return ye(Ie,ve)}:Pe;return{cmdState:[],f:Se}},copyState:function(Se){return{cmdState:Se.cmdState.slice(),f:Se.f}},token:function(Se,Ie){return Ie.f(Se,Ie)},blankLine:function(Se){Se.f=Pe,Se.cmdState.length=0},lineComment:"%"}}),x.defineMIME("text/x-stex","stex"),x.defineMIME("text/x-latex","stex")})},15525:function(Xn,Mt,ae){(function(x){x(ae(89780))})(function(x){"use strict";var dt={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(qe,He){var Fe=qe.indentUnit,Me={},fe=He.htmlMode?dt:Le;for(var xe in fe)Me[xe]=fe[xe];for(var xe in He)Me[xe]=He[xe];var oe,Pe;function ye(ze,pt){function Ne(ot){return pt.tokenize=ot,ot(ze,pt)}var Qe=ze.next();if(Qe=="<")return ze.eat("!")?ze.eat("[")?ze.match("CDATA[")?Ne(Ie("atom","]]>")):null:ze.match("--")?Ne(Ie("comment","-->")):ze.match("DOCTYPE",!0,!0)?(ze.eatWhile(/[\w\._\-]/),Ne(ve(1))):null:ze.eat("?")?(ze.eatWhile(/[\w\._\-]/),pt.tokenize=Ie("meta","?>"),"meta"):(oe=ze.eat("/")?"closeTag":"openTag",pt.tokenize=Re,"tag bracket");if(Qe=="&"){var Ot;return ze.eat("#")?ze.eat("x")?Ot=ze.eatWhile(/[a-fA-F\d]/)&&ze.eat(";"):Ot=ze.eatWhile(/[\d]/)&&ze.eat(";"):Ot=ze.eatWhile(/[\w\.\-:]/)&&ze.eat(";"),Ot?"atom":"error"}else return ze.eatWhile(/[^&<]/),null}ye.isInText=!0;function Re(ze,pt){var Ne=ze.next();if(Ne==">"||Ne=="/"&&ze.eat(">"))return pt.tokenize=ye,oe=Ne==">"?"endTag":"selfcloseTag","tag bracket";if(Ne=="=")return oe="equals",null;if(Ne=="<"){pt.tokenize=ye,pt.state=Ke,pt.tagName=pt.tagStart=null;var Qe=pt.tokenize(ze,pt);return Qe?Qe+" tag error":"tag error"}else return/[\'\"]/.test(Ne)?(pt.tokenize=Se(Ne),pt.stringStartCol=ze.column(),pt.tokenize(ze,pt)):(ze.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Se(ze){var pt=function(Ne,Qe){for(;!Ne.eol();)if(Ne.next()==ze){Qe.tokenize=Re;break}return"string"};return pt.isInAttribute=!0,pt}function Ie(ze,pt){return function(Ne,Qe){for(;!Ne.eol();){if(Ne.match(pt)){Qe.tokenize=ye;break}Ne.next()}return ze}}function ve(ze){return function(pt,Ne){for(var Qe;(Qe=pt.next())!=null;){if(Qe=="<")return Ne.tokenize=ve(ze+1),Ne.tokenize(pt,Ne);if(Qe==">")if(ze==1){Ne.tokenize=ye;break}else return Ne.tokenize=ve(ze-1),Ne.tokenize(pt,Ne)}return"meta"}}function we(ze,pt,Ne){this.prev=ze.context,this.tagName=pt,this.indent=ze.indented,this.startOfLine=Ne,(Me.doNotIndent.hasOwnProperty(pt)||ze.context&&ze.context.noIndent)&&(this.noIndent=!0)}function Ee(ze){ze.context&&(ze.context=ze.context.prev)}function Oe(ze,pt){for(var Ne;;){if(!ze.context||(Ne=ze.context.tagName,!Me.contextGrabbers.hasOwnProperty(Ne)||!Me.contextGrabbers[Ne].hasOwnProperty(pt)))return;Ee(ze)}}function Ke(ze,pt,Ne){return ze=="openTag"?(Ne.tagStart=pt.column(),je):ze=="closeTag"?_e:Ke}function je(ze,pt,Ne){return ze=="word"?(Ne.tagName=pt.current(),Pe="tag",st):Me.allowMissingTagName&&ze=="endTag"?(Pe="tag bracket",st(ze,pt,Ne)):(Pe="error",je)}function _e(ze,pt,Ne){if(ze=="word"){var Qe=pt.current();return Ne.context&&Ne.context.tagName!=Qe&&Me.implicitlyClosed.hasOwnProperty(Ne.context.tagName)&&Ee(Ne),Ne.context&&Ne.context.tagName==Qe||Me.matchClosing===!1?(Pe="tag",Je):(Pe="tag error",Ve)}else return Me.allowMissingTagName&&ze=="endTag"?(Pe="tag bracket",Je(ze,pt,Ne)):(Pe="error",Ve)}function Je(ze,pt,Ne){return ze!="endTag"?(Pe="error",Je):(Ee(Ne),Ke)}function Ve(ze,pt,Ne){return Pe="error",Je(ze,pt,Ne)}function st(ze,pt,Ne){if(ze=="word")return Pe="attribute",at;if(ze=="endTag"||ze=="selfcloseTag"){var Qe=Ne.tagName,Ot=Ne.tagStart;return Ne.tagName=Ne.tagStart=null,ze=="selfcloseTag"||Me.autoSelfClosers.hasOwnProperty(Qe)?Oe(Ne,Qe):(Oe(Ne,Qe),Ne.context=new we(Ne,Qe,Ot==Ne.indented)),Ke}return Pe="error",st}function at(ze,pt,Ne){return ze=="equals"?ht:(Me.allowMissing||(Pe="error"),st(ze,pt,Ne))}function ht(ze,pt,Ne){return ze=="string"?Ct:ze=="word"&&Me.allowUnquoted?(Pe="string",st):(Pe="error",st(ze,pt,Ne))}function Ct(ze,pt,Ne){return ze=="string"?Ct:st(ze,pt,Ne)}return{startState:function(ze){var pt={tokenize:ye,state:Ke,indented:ze||0,tagName:null,tagStart:null,context:null};return ze!=null&&(pt.baseIndent=ze),pt},token:function(ze,pt){if(!pt.tagName&&ze.sol()&&(pt.indented=ze.indentation()),ze.eatSpace())return null;oe=null;var Ne=pt.tokenize(ze,pt);return(Ne||oe)&&Ne!="comment"&&(Pe=null,pt.state=pt.state(oe||Ne,ze,pt),Pe&&(Ne=Pe=="error"?Ne+" error":Pe)),Ne},indent:function(ze,pt,Ne){var Qe=ze.context;if(ze.tokenize.isInAttribute)return ze.tagStart==ze.indented?ze.stringStartCol+1:ze.indented+Fe;if(Qe&&Qe.noIndent)return x.Pass;if(ze.tokenize!=Re&&ze.tokenize!=ye)return Ne?Ne.match(/^(\s*)/)[0].length:0;if(ze.tagName)return Me.multilineTagIndentPastTag!==!1?ze.tagStart+ze.tagName.length+2:ze.tagStart+Fe*(Me.multilineTagIndentFactor||1);if(Me.alignCDATA&&/<!\[CDATA\[/.test(pt))return 0;var Ot=pt&&/^<(\/)?([\w_:\.-]*)/.exec(pt);if(Ot&&Ot[1])for(;Qe;)if(Qe.tagName==Ot[2]){Qe=Qe.prev;break}else if(Me.implicitlyClosed.hasOwnProperty(Qe.tagName))Qe=Qe.prev;else break;else if(Ot)for(;Qe;){var ot=Me.contextGrabbers[Qe.tagName];if(ot&&ot.hasOwnProperty(Ot[2]))Qe=Qe.prev;else break}for(;Qe&&Qe.prev&&!Qe.startOfLine;)Qe=Qe.prev;return Qe?Qe.indent+Fe:ze.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Me.htmlMode?"html":"xml",helperType:Me.htmlMode?"html":"xml",skipAttribute:function(ze){ze.state==ht&&(ze.state=st)},xmlCurrentTag:function(ze){return ze.tagName?{name:ze.tagName,close:ze.type=="closeTag"}:null},xmlCurrentContext:function(ze){for(var pt=[],Ne=ze.context;Ne;Ne=Ne.prev)Ne.tagName&&pt.push(Ne.tagName);return pt.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(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=void 0;var x=Object.assign||function(ve){for(var we=1;we<arguments.length;we++){var Ee=arguments[we];for(var Oe in Ee)Object.prototype.hasOwnProperty.call(Ee,Oe)&&(ve[Oe]=Ee[Oe])}return ve},dt=function(){function ve(we,Ee){for(var Oe=0;Oe<Ee.length;Oe++){var Ke=Ee[Oe];Ke.enumerable=Ke.enumerable||!1,Ke.configurable=!0,"value"in Ke&&(Ke.writable=!0),Object.defineProperty(we,Ke.key,Ke)}}return function(we,Ee,Oe){return Ee&&ve(we.prototype,Ee),Oe&&ve(we,Oe),we}}(),Le=ae(59301),qe=Pe(Le),He=ae(12708),Fe=Pe(He),Me=ae(53291),fe=Pe(Me),xe=ae(10413),oe=ae(65429);function Pe(ve){return ve&&ve.__esModule?ve:{default:ve}}function ye(ve,we){if(!(ve instanceof we))throw new TypeError("Cannot call a class as a function")}function Re(ve,we){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:ve}function Se(ve,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);ve.prototype=Object.create(we&&we.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,we):ve.__proto__=we)}var Ie=function(ve){Se(we,ve);function we(Ee){ye(this,we);var Oe=Re(this,(we.__proto__||Object.getPrototypeOf(we)).call(this,Ee));return Oe.getEchartsInstance=function(){return Oe.echartsLib.getInstanceByDom(Oe.echartsElement)||Oe.echartsLib.init(Oe.echartsElement,Oe.props.theme,Oe.props.opts)},Oe.dispose=function(){if(Oe.echartsElement){try{(0,xe.clear)(Oe.echartsElement)}catch(Ke){console.warn(Ke)}Oe.echartsLib.dispose(Oe.echartsElement)}},Oe.rerender=function(){var Ke=Oe.props,je=Ke.onEvents,_e=Ke.onChartReady,Je=Oe.renderEchartDom();Oe.bindEvents(Je,je||{}),typeof _e=="function"&&Oe.props.onChartReady(Je),Oe.echartsElement&&(0,xe.bind)(Oe.echartsElement,function(){try{Je.resize()}catch(Ve){console.warn(Ve)}})},Oe.bindEvents=function(Ke,je){var _e=function(st,at){typeof st=="string"&&typeof at=="function"&&Ke.on(st,function(ht){at(ht,Ke)})};for(var Je in je)Object.prototype.hasOwnProperty.call(je,Je)&&_e(Je,je[Je])},Oe.renderEchartDom=function(){var Ke=Oe.getEchartsInstance();return Ke.setOption(Oe.props.option,Oe.props.notMerge||!1,Oe.props.lazyUpdate||!1),Oe.props.showLoading?Ke.showLoading(Oe.props.loadingOption||null):Ke.hideLoading(),Ke},Oe.echartsLib=Ee.echarts,Oe.echartsElement=null,Oe}return dt(we,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(Oe){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(Oe,this.props))){if(!(0,fe.default)(Oe.theme,this.props.theme)||!(0,fe.default)(Oe.opts,this.props.opts)||!(0,fe.default)(Oe.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var Ke=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,fe.default)((0,oe.pick)(this.props,Ke),(0,oe.pick)(Oe,Ke))){var je=this.renderEchartDom();if(!(0,fe.default)(Oe.style,this.props.style)||!(0,fe.default)(Oe.className,this.props.className))try{je.resize()}catch(_e){console.warn(_e)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var Oe=this,Ke=this.props,je=Ke.style,_e=Ke.className,Je=x({height:300},je);return qe.default.createElement("div",{ref:function(st){Oe.echartsElement=st},style:Je,className:"echarts-for-react "+_e})}}]),we}(Le.Component);Mt.default=Ie,Ie.propTypes={option:Fe.default.object.isRequired,echarts:Fe.default.object,notMerge:Fe.default.bool,lazyUpdate:Fe.default.bool,style:Fe.default.object,className:Fe.default.string,theme:Fe.default.oneOfType([Fe.default.string,Fe.default.object]),onChartReady:Fe.default.func,showLoading:Fe.default.bool,loadingOption:Fe.default.object,onEvents:Fe.default.object,opts:Fe.default.shape({devicePixelRatio:Fe.default.number,renderer:Fe.default.oneOf(["canvas","svg"]),width:Fe.default.oneOfType([Fe.default.number,Fe.default.oneOf([null,void 0,"auto"])]),height:Fe.default.oneOfType([Fe.default.number,Fe.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:Fe.default.func},Ie.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(Xn,Mt,ae){"use strict";var x;x={value:!0},Mt.Z=void 0;var dt=ae(76411),Le=Fe(dt),qe=ae(97774),He=Fe(qe);function Fe(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function Me(Pe,ye){if(!(Pe instanceof ye))throw new TypeError("Cannot call a class as a function")}function fe(Pe,ye){if(!Pe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye&&(typeof ye=="object"||typeof ye=="function")?ye:Pe}function xe(Pe,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ye);Pe.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Pe,enumerable:!1,writable:!0,configurable:!0}}),ye&&(Object.setPrototypeOf?Object.setPrototypeOf(Pe,ye):Pe.__proto__=ye)}var oe=function(Pe){xe(ye,Pe);function ye(Re){Me(this,ye);var Se=fe(this,(ye.__proto__||Object.getPrototypeOf(ye)).call(this,Re));return Se.echartsLib=Le.default,Se}return ye}(He.default);Mt.Z=oe},65429:function(Xn,Mt){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});var ae=Mt.pick=function(dt,Le){var qe={};return Le.forEach(function(He){qe[He]=dt[He]}),qe}},86204:function(Xn){"use strict";var Mt=typeof Reflect=="object"?Reflect:null,ae=Mt&&typeof Mt.apply=="function"?Mt.apply:function(Ke,je,_e){return Function.prototype.apply.call(Ke,je,_e)},x;Mt&&typeof Mt.ownKeys=="function"?x=Mt.ownKeys:Object.getOwnPropertySymbols?x=function(Ke){return Object.getOwnPropertyNames(Ke).concat(Object.getOwnPropertySymbols(Ke))}:x=function(Ke){return Object.getOwnPropertyNames(Ke)};function dt(Oe){console&&console.warn&&console.warn(Oe)}var Le=Number.isNaN||function(Ke){return Ke!==Ke};function qe(){qe.init.call(this)}Xn.exports=qe,Xn.exports.once=ve,qe.EventEmitter=qe,qe.prototype._events=void 0,qe.prototype._eventsCount=0,qe.prototype._maxListeners=void 0;var He=10;function Fe(Oe){if(typeof Oe!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Oe)}Object.defineProperty(qe,"defaultMaxListeners",{enumerable:!0,get:function(){return He},set:function(Oe){if(typeof Oe!="number"||Oe<0||Le(Oe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Oe+".");He=Oe}}),qe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},qe.prototype.setMaxListeners=function(Ke){if(typeof Ke!="number"||Ke<0||Le(Ke))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Ke+".");return this._maxListeners=Ke,this};function Me(Oe){return Oe._maxListeners===void 0?qe.defaultMaxListeners:Oe._maxListeners}qe.prototype.getMaxListeners=function(){return Me(this)},qe.prototype.emit=function(Ke){for(var je=[],_e=1;_e<arguments.length;_e++)je.push(arguments[_e]);var Je=Ke==="error",Ve=this._events;if(Ve!==void 0)Je=Je&&Ve.error===void 0;else if(!Je)return!1;if(Je){var st;if(je.length>0&&(st=je[0]),st instanceof Error)throw st;var at=new Error("Unhandled error."+(st?" ("+st.message+")":""));throw at.context=st,at}var ht=Ve[Ke];if(ht===void 0)return!1;if(typeof ht=="function")ae(ht,this,je);else for(var Ct=ht.length,ze=Re(ht,Ct),_e=0;_e<Ct;++_e)ae(ze[_e],this,je);return!0};function fe(Oe,Ke,je,_e){var Je,Ve,st;if(Fe(je),Ve=Oe._events,Ve===void 0?(Ve=Oe._events=Object.create(null),Oe._eventsCount=0):(Ve.newListener!==void 0&&(Oe.emit("newListener",Ke,je.listener?je.listener:je),Ve=Oe._events),st=Ve[Ke]),st===void 0)st=Ve[Ke]=je,++Oe._eventsCount;else if(typeof st=="function"?st=Ve[Ke]=_e?[je,st]:[st,je]:_e?st.unshift(je):st.push(je),Je=Me(Oe),Je>0&&st.length>Je&&!st.warned){st.warned=!0;var at=new Error("Possible EventEmitter memory leak detected. "+st.length+" "+String(Ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");at.name="MaxListenersExceededWarning",at.emitter=Oe,at.type=Ke,at.count=st.length,dt(at)}return Oe}qe.prototype.addListener=function(Ke,je){return fe(this,Ke,je,!1)},qe.prototype.on=qe.prototype.addListener,qe.prototype.prependListener=function(Ke,je){return fe(this,Ke,je,!0)};function xe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(Oe,Ke,je){var _e={fired:!1,wrapFn:void 0,target:Oe,type:Ke,listener:je},Je=xe.bind(_e);return Je.listener=je,_e.wrapFn=Je,Je}qe.prototype.once=function(Ke,je){return Fe(je),this.on(Ke,oe(this,Ke,je)),this},qe.prototype.prependOnceListener=function(Ke,je){return Fe(je),this.prependListener(Ke,oe(this,Ke,je)),this},qe.prototype.removeListener=function(Ke,je){var _e,Je,Ve,st,at;if(Fe(je),Je=this._events,Je===void 0)return this;if(_e=Je[Ke],_e===void 0)return this;if(_e===je||_e.listener===je)--this._eventsCount===0?this._events=Object.create(null):(delete Je[Ke],Je.removeListener&&this.emit("removeListener",Ke,_e.listener||je));else if(typeof _e!="function"){for(Ve=-1,st=_e.length-1;st>=0;st--)if(_e[st]===je||_e[st].listener===je){at=_e[st].listener,Ve=st;break}if(Ve<0)return this;Ve===0?_e.shift():Se(_e,Ve),_e.length===1&&(Je[Ke]=_e[0]),Je.removeListener!==void 0&&this.emit("removeListener",Ke,at||je)}return this},qe.prototype.off=qe.prototype.removeListener,qe.prototype.removeAllListeners=function(Ke){var je,_e,Je;if(_e=this._events,_e===void 0)return this;if(_e.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_e[Ke]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete _e[Ke]),this;if(arguments.length===0){var Ve=Object.keys(_e),st;for(Je=0;Je<Ve.length;++Je)st=Ve[Je],st!=="removeListener"&&this.removeAllListeners(st);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(je=_e[Ke],typeof je=="function")this.removeListener(Ke,je);else if(je!==void 0)for(Je=je.length-1;Je>=0;Je--)this.removeListener(Ke,je[Je]);return this};function Pe(Oe,Ke,je){var _e=Oe._events;if(_e===void 0)return[];var Je=_e[Ke];return Je===void 0?[]:typeof Je=="function"?je?[Je.listener||Je]:[Je]:je?Ie(Je):Re(Je,Je.length)}qe.prototype.listeners=function(Ke){return Pe(this,Ke,!0)},qe.prototype.rawListeners=function(Ke){return Pe(this,Ke,!1)},qe.listenerCount=function(Oe,Ke){return typeof Oe.listenerCount=="function"?Oe.listenerCount(Ke):ye.call(Oe,Ke)},qe.prototype.listenerCount=ye;function ye(Oe){var Ke=this._events;if(Ke!==void 0){var je=Ke[Oe];if(typeof je=="function")return 1;if(je!==void 0)return je.length}return 0}qe.prototype.eventNames=function(){return this._eventsCount>0?x(this._events):[]};function Re(Oe,Ke){for(var je=new Array(Ke),_e=0;_e<Ke;++_e)je[_e]=Oe[_e];return je}function Se(Oe,Ke){for(;Ke+1<Oe.length;Ke++)Oe[Ke]=Oe[Ke+1];Oe.pop()}function Ie(Oe){for(var Ke=new Array(Oe.length),je=0;je<Ke.length;++je)Ke[je]=Oe[je].listener||Oe[je];return Ke}function ve(Oe,Ke){return new Promise(function(je,_e){function Je(st){Oe.removeListener(Ke,Ve),_e(st)}function Ve(){typeof Oe.removeListener=="function"&&Oe.removeListener("error",Je),je([].slice.call(arguments))}Ee(Oe,Ke,Ve,{once:!0}),Ke!=="error"&&we(Oe,Je,{once:!0})})}function we(Oe,Ke,je){typeof Oe.on=="function"&&Ee(Oe,"error",Ke,je)}function Ee(Oe,Ke,je,_e){if(typeof Oe.on=="function")_e.once?Oe.once(Ke,je):Oe.on(Ke,je);else if(typeof Oe.addEventListener=="function")Oe.addEventListener(Ke,function Je(Ve){_e.once&&Oe.removeEventListener(Ke,Je),je(Ve)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Oe)}},53291:function(Xn){"use strict";var Mt=Array.isArray,ae=Object.keys,x=Object.prototype.hasOwnProperty;Xn.exports=function dt(Le,qe){if(Le===qe)return!0;if(Le&&qe&&typeof Le=="object"&&typeof qe=="object"){var He=Mt(Le),Fe=Mt(qe),Me,fe,xe;if(He&&Fe){if(fe=Le.length,fe!=qe.length)return!1;for(Me=fe;Me--!==0;)if(!dt(Le[Me],qe[Me]))return!1;return!0}if(He!=Fe)return!1;var oe=Le instanceof Date,Pe=qe instanceof Date;if(oe!=Pe)return!1;if(oe&&Pe)return Le.getTime()==qe.getTime();var ye=Le instanceof RegExp,Re=qe instanceof RegExp;if(ye!=Re)return!1;if(ye&&Re)return Le.toString()==qe.toString();var Se=ae(Le);if(fe=Se.length,fe!==ae(qe).length)return!1;for(Me=fe;Me--!==0;)if(!x.call(qe,Se[Me]))return!1;for(Me=fe;Me--!==0;)if(xe=Se[Me],!dt(Le[xe],qe[xe]))return!1;return!0}return Le!==Le&&qe!==qe}},64270:function(Xn){(function(Mt,ae){Xn.exports=ae()})(this,function(){"use strict";var Mt=function(me,Ae){return Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ce,be){Ce.__proto__=be}||function(Ce,be){for(var rt in be)Object.prototype.hasOwnProperty.call(be,rt)&&(Ce[rt]=be[rt])},Mt(me,Ae)};function ae(me,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Class extends value "+String(Ae)+" is not a constructor or null");Mt(me,Ae);function Ce(){this.constructor=me}me.prototype=Ae===null?Object.create(Ae):(Ce.prototype=Ae.prototype,new Ce)}var x=function(){return x=Object.assign||function(Ae){for(var Ce,be=1,rt=arguments.length;be<rt;be++){Ce=arguments[be];for(var It in Ce)Object.prototype.hasOwnProperty.call(Ce,It)&&(Ae[It]=Ce[It])}return Ae},x.apply(this,arguments)};function dt(me,Ae,Ce,be){function rt(It){return It instanceof Ce?It:new Ce(function(Jt){Jt(It)})}return new(Ce||(Ce=Promise))(function(It,Jt){function Sn(Nr){try{yr(be.next(Nr))}catch(Qr){Jt(Qr)}}function En(Nr){try{yr(be.throw(Nr))}catch(Qr){Jt(Qr)}}function yr(Nr){Nr.done?It(Nr.value):rt(Nr.value).then(Sn,En)}yr((be=be.apply(me,Ae||[])).next())})}function Le(me,Ae){var Ce={label:0,sent:function(){if(It[0]&1)throw It[1];return It[1]},trys:[],ops:[]},be,rt,It,Jt;return Jt={next:Sn(0),throw:Sn(1),return:Sn(2)},typeof Symbol=="function"&&(Jt[Symbol.iterator]=function(){return this}),Jt;function Sn(yr){return function(Nr){return En([yr,Nr])}}function En(yr){if(be)throw new TypeError("Generator is already executing.");for(;Ce;)try{if(be=1,rt&&(It=yr[0]&2?rt.return:yr[0]?rt.throw||((It=rt.return)&&It.call(rt),0):rt.next)&&!(It=It.call(rt,yr[1])).done)return It;switch(rt=0,It&&(yr=[yr[0]&2,It.value]),yr[0]){case 0:case 1:It=yr;break;case 4:return Ce.label++,{value:yr[1],done:!1};case 5:Ce.label++,rt=yr[1],yr=[0];continue;case 7:yr=Ce.ops.pop(),Ce.trys.pop();continue;default:if(It=Ce.trys,!(It=It.length>0&&It[It.length-1])&&(yr[0]===6||yr[0]===2)){Ce=0;continue}if(yr[0]===3&&(!It||yr[1]>It[0]&&yr[1]<It[3])){Ce.label=yr[1];break}if(yr[0]===6&&Ce.label<It[1]){Ce.label=It[1],It=yr;break}if(It&&Ce.label<It[2]){Ce.label=It[2],Ce.ops.push(yr);break}It[2]&&Ce.ops.pop(),Ce.trys.pop();continue}yr=Ae.call(me,Ce)}catch(Nr){yr=[6,Nr],rt=0}finally{be=It=0}if(yr[0]&5)throw yr[1];return{value:yr[0]?yr[1]:void 0,done:!0}}}function qe(me,Ae,Ce){if(Ce||arguments.length===2)for(var be=0,rt=Ae.length,It;be<rt;be++)(It||!(be in Ae))&&(It||(It=Array.prototype.slice.call(Ae,0,be)),It[be]=Ae[be]);return me.concat(It||Ae)}for(var He=function(){function me(Ae,Ce,be,rt){this.left=Ae,this.top=Ce,this.width=be,this.height=rt}return me.prototype.add=function(Ae,Ce,be,rt){return new me(this.left+Ae,this.top+Ce,this.width+be,this.height+rt)},me.fromClientRect=function(Ae,Ce){return new me(Ce.left+Ae.windowBounds.left,Ce.top+Ae.windowBounds.top,Ce.width,Ce.height)},me.fromDOMRectList=function(Ae,Ce){var be=Array.from(Ce).find(function(rt){return rt.width!==0});return be?new me(be.left+Ae.windowBounds.left,be.top+Ae.windowBounds.top,be.width,be.height):me.EMPTY},me.EMPTY=new me(0,0,0,0),me}(),Fe=function(me,Ae){return He.fromClientRect(me,Ae.getBoundingClientRect())},Me=function(me){var Ae=me.body,Ce=me.documentElement;if(!Ae||!Ce)throw new Error("Unable to get document size");var be=Math.max(Math.max(Ae.scrollWidth,Ce.scrollWidth),Math.max(Ae.offsetWidth,Ce.offsetWidth),Math.max(Ae.clientWidth,Ce.clientWidth)),rt=Math.max(Math.max(Ae.scrollHeight,Ce.scrollHeight),Math.max(Ae.offsetHeight,Ce.offsetHeight),Math.max(Ae.clientHeight,Ce.clientHeight));return new He(0,0,be,rt)},fe=function(me){for(var Ae=[],Ce=0,be=me.length;Ce<be;){var rt=me.charCodeAt(Ce++);if(rt>=55296&&rt<=56319&&Ce<be){var It=me.charCodeAt(Ce++);(It&64512)===56320?Ae.push(((rt&1023)<<10)+(It&1023)+65536):(Ae.push(rt),Ce--)}else Ae.push(rt)}return Ae},xe=function(){for(var me=[],Ae=0;Ae<arguments.length;Ae++)me[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,me);var Ce=me.length;if(!Ce)return"";for(var be=[],rt=-1,It="";++rt<Ce;){var Jt=me[rt];Jt<=65535?be.push(Jt):(Jt-=65536,be.push((Jt>>10)+55296,Jt%1024+56320)),(rt+1===Ce||be.length>16384)&&(It+=String.fromCharCode.apply(String,be),be.length=0)}return It},oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ye=0;ye<oe.length;ye++)Pe[oe.charCodeAt(ye)]=ye;for(var Re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Se=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ie=0;Ie<Re.length;Ie++)Se[Re.charCodeAt(Ie)]=Ie;for(var ve=function(me){var Ae=me.length*.75,Ce=me.length,be,rt=0,It,Jt,Sn,En;me[me.length-1]==="="&&(Ae--,me[me.length-2]==="="&&Ae--);var yr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Nr=Array.isArray(yr)?yr:new Uint8Array(yr);for(be=0;be<Ce;be+=4)It=Se[me.charCodeAt(be)],Jt=Se[me.charCodeAt(be+1)],Sn=Se[me.charCodeAt(be+2)],En=Se[me.charCodeAt(be+3)],Nr[rt++]=It<<2|Jt>>4,Nr[rt++]=(Jt&15)<<4|Sn>>2,Nr[rt++]=(Sn&3)<<6|En&63;return yr},we=function(me){for(var Ae=me.length,Ce=[],be=0;be<Ae;be+=2)Ce.push(me[be+1]<<8|me[be]);return Ce},Ee=function(me){for(var Ae=me.length,Ce=[],be=0;be<Ae;be+=4)Ce.push(me[be+3]<<24|me[be+2]<<16|me[be+1]<<8|me[be]);return Ce},Oe=5,Ke=11,je=2,_e=Ke-Oe,Je=65536>>Oe,Ve=1<<Oe,st=Ve-1,at=1024>>Oe,ht=Je+at,Ct=ht,ze=32,pt=Ct+ze,Ne=65536>>Ke,Qe=1<<_e,Ot=Qe-1,ot=function(me,Ae,Ce){return me.slice?me.slice(Ae,Ce):new Uint16Array(Array.prototype.slice.call(me,Ae,Ce))},lt=function(me,Ae,Ce){return me.slice?me.slice(Ae,Ce):new Uint32Array(Array.prototype.slice.call(me,Ae,Ce))},Bt=function(me,Ae){var Ce=ve(me),be=Array.isArray(Ce)?Ee(Ce):new Uint32Array(Ce),rt=Array.isArray(Ce)?we(Ce):new Uint16Array(Ce),It=24,Jt=ot(rt,It/2,be[4]/2),Sn=be[5]===2?ot(rt,(It+be[4])/2):lt(be,Math.ceil((It+be[4])/4));return new We(be[0],be[1],be[2],be[3],Jt,Sn)},We=function(){function me(Ae,Ce,be,rt,It,Jt){this.initialValue=Ae,this.errorValue=Ce,this.highStart=be,this.highValueIndex=rt,this.index=It,this.data=Jt}return me.prototype.get=function(Ae){var Ce;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return Ce=this.index[Ae>>Oe],Ce=(Ce<<je)+(Ae&st),this.data[Ce];if(Ae<=65535)return Ce=this.index[Je+(Ae-55296>>Oe)],Ce=(Ce<<je)+(Ae&st),this.data[Ce];if(Ae<this.highStart)return Ce=pt-Ne+(Ae>>Ke),Ce=this.index[Ce],Ce+=Ae>>Oe&Ot,Ce=this.index[Ce],Ce=(Ce<<je)+(Ae&st),this.data[Ce];if(Ae<=1114111)return this.data[this.highValueIndex]}return this.errorValue},me}(),ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",At=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Kt=0;Kt<ke.length;Kt++)At[ke.charCodeAt(Kt)]=Kt;var Ht="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4B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BywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzM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AMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4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csBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAM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gBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB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gAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAC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4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgA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QAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUA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ACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",nt=50,Pt=1,Rt=2,hn=3,Tt=4,mn=5,kt=7,Fn=8,an=9,de=10,ge=11,ie=12,ee=13,se=14,le=15,Be=16,Ge=17,ut=18,mt=19,vt=20,St=21,Dt=22,Qt=23,xt=24,ct=25,Xt=26,Wt=27,wn=28,ln=29,nn=30,zn=31,Ln=32,_t=33,un=34,Pn=35,Vn=36,Lt=37,Gt=38,sn=39,bn=40,Yn=41,pr=42,ti=43,si=[9001,65288],Cr="!",ur="\xD7",dr="\xF7",yn=Bt(Ht),$n=[nn,Vn],rr=[Pt,Rt,hn,mn],Zn=[de,Fn],br=[Wt,Xt],Br=rr.concat(Zn),Or=[Gt,sn,bn,un,Pn],ci=[le,ee],Ai=function(me,Ae){Ae===void 0&&(Ae="strict");var Ce=[],be=[],rt=[];return me.forEach(function(It,Jt){var Sn=yn.get(It);if(Sn>nt?(rt.push(!0),Sn-=nt):rt.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(It)!==-1)return be.push(Jt),Ce.push(Be);if(Sn===Tt||Sn===ge){if(Jt===0)return be.push(Jt),Ce.push(nn);var En=Ce[Jt-1];return Br.indexOf(En)===-1?(be.push(be[Jt-1]),Ce.push(En)):(be.push(Jt),Ce.push(nn))}if(be.push(Jt),Sn===zn)return Ce.push(Ae==="strict"?St:Lt);if(Sn===pr||Sn===ln)return Ce.push(nn);if(Sn===ti)return It>=131072&&It<=196605||It>=196608&&It<=262141?Ce.push(Lt):Ce.push(nn);Ce.push(Sn)}),[be,Ce,rt]},di=function(me,Ae,Ce,be){var rt=be[Ce];if(Array.isArray(me)?me.indexOf(rt)!==-1:me===rt)for(var It=Ce;It<=be.length;){It++;var Jt=be[It];if(Jt===Ae)return!0;if(Jt!==de)break}if(rt===de)for(var It=Ce;It>0;){It--;var Sn=be[It];if(Array.isArray(me)?me.indexOf(Sn)!==-1:me===Sn)for(var En=Ce;En<=be.length;){En++;var Jt=be[En];if(Jt===Ae)return!0;if(Jt!==de)break}if(Sn!==de)break}return!1},Pi=function(me,Ae){for(var Ce=me;Ce>=0;){var be=Ae[Ce];if(be===de)Ce--;else return be}return 0},yi=function(me,Ae,Ce,be,rt){if(Ce[be]===0)return ur;var It=be-1;if(Array.isArray(rt)&&rt[It]===!0)return ur;var Jt=It-1,Sn=It+1,En=Ae[It],yr=Jt>=0?Ae[Jt]:0,Nr=Ae[Sn];if(En===Rt&&Nr===hn)return ur;if(rr.indexOf(En)!==-1)return Cr;if(rr.indexOf(Nr)!==-1||Zn.indexOf(Nr)!==-1)return ur;if(Pi(It,Ae)===Fn)return dr;if(yn.get(me[It])===ge||(En===Ln||En===_t)&&yn.get(me[Sn])===ge||En===kt||Nr===kt||En===an||[de,ee,le].indexOf(En)===-1&&Nr===an||[Ge,ut,mt,xt,wn].indexOf(Nr)!==-1||Pi(It,Ae)===Dt||di(Qt,Dt,It,Ae)||di([Ge,ut],St,It,Ae)||di(ie,ie,It,Ae))return ur;if(En===de)return dr;if(En===Qt||Nr===Qt)return ur;if(Nr===Be||En===Be)return dr;if([ee,le,St].indexOf(Nr)!==-1||En===se||yr===Vn&&ci.indexOf(En)!==-1||En===wn&&Nr===Vn||Nr===vt||$n.indexOf(Nr)!==-1&&En===ct||$n.indexOf(En)!==-1&&Nr===ct||En===Wt&&[Lt,Ln,_t].indexOf(Nr)!==-1||[Lt,Ln,_t].indexOf(En)!==-1&&Nr===Xt||$n.indexOf(En)!==-1&&br.indexOf(Nr)!==-1||br.indexOf(En)!==-1&&$n.indexOf(Nr)!==-1||[Wt,Xt].indexOf(En)!==-1&&(Nr===ct||[Dt,le].indexOf(Nr)!==-1&&Ae[Sn+1]===ct)||[Dt,le].indexOf(En)!==-1&&Nr===ct||En===ct&&[ct,wn,xt].indexOf(Nr)!==-1)return ur;if([ct,wn,xt,Ge,ut].indexOf(Nr)!==-1)for(var Qr=It;Qr>=0;){var Oi=Ae[Qr];if(Oi===ct)return ur;if([wn,xt].indexOf(Oi)!==-1)Qr--;else break}if([Wt,Xt].indexOf(Nr)!==-1)for(var Qr=[Ge,ut].indexOf(En)!==-1?Jt:It;Qr>=0;){var Oi=Ae[Qr];if(Oi===ct)return ur;if([wn,xt].indexOf(Oi)!==-1)Qr--;else break}if(Gt===En&&[Gt,sn,un,Pn].indexOf(Nr)!==-1||[sn,un].indexOf(En)!==-1&&[sn,bn].indexOf(Nr)!==-1||[bn,Pn].indexOf(En)!==-1&&Nr===bn||Or.indexOf(En)!==-1&&[vt,Xt].indexOf(Nr)!==-1||Or.indexOf(Nr)!==-1&&En===Wt||$n.indexOf(En)!==-1&&$n.indexOf(Nr)!==-1||En===xt&&$n.indexOf(Nr)!==-1||$n.concat(ct).indexOf(En)!==-1&&Nr===Dt&&si.indexOf(me[Sn])===-1||$n.concat(ct).indexOf(Nr)!==-1&&En===ut)return ur;if(En===Yn&&Nr===Yn){for(var Aa=Ce[It],go=1;Aa>0&&(Aa--,Ae[Aa]===Yn);)go++;if(go%2!==0)return ur}return En===Ln&&Nr===_t?ur:dr},oo=function(me,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var Ce=Ai(me,Ae.lineBreak),be=Ce[0],rt=Ce[1],It=Ce[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(rt=rt.map(function(Sn){return[ct,nn,pr].indexOf(Sn)!==-1?Lt:Sn}));var Jt=Ae.wordBreak==="keep-all"?It.map(function(Sn,En){return Sn&&me[En]>=19968&&me[En]<=40959}):void 0;return[be,rt,Jt]},Gi=function(){function me(Ae,Ce,be,rt){this.codePoints=Ae,this.required=Ce===Cr,this.start=be,this.end=rt}return me.prototype.slice=function(){return xe.apply(void 0,this.codePoints.slice(this.start,this.end))},me}(),ar=function(me,Ae){var Ce=fe(me),be=oo(Ce,Ae),rt=be[0],It=be[1],Jt=be[2],Sn=Ce.length,En=0,yr=0;return{next:function(){if(yr>=Sn)return{done:!0,value:null};for(var Nr=ur;yr<Sn&&(Nr=yi(Ce,It,rt,++yr,Jt))===ur;);if(Nr!==ur||yr===Sn){var Qr=new Gi(Ce,Nr,En,yr);return En=yr,{value:Qr,done:!1}}return{done:!0,value:null}}}},Dr=1,gi=2,ni=4,An=8,Cn=10,tt=47,pn=92,Zt=9,vn=32,On=34,Rr=61,Xr=35,li=36,nr=37,or=39,er=40,_r=41,Ti=95,bi=45,Xi=33,Er=60,tn=62,$t=64,jn=91,lr=93,gr=61,Ir=123,Kr=63,zr=125,pi=124,Ci=126,xi=128,hi=65533,Ii=42,Di=43,$i=44,no=58,Hi=59,ai=46,ao=0,ki=8,So=11,uo=14,Do=31,Co=127,to=-1,Mo=48,Go=97,zo=101,No=102,zi=117,Vt=122,$r=65,ui=69,Zr=70,Ri=85,ro=90,jr=function(me){return me>=Mo&&me<=57},Yr=function(me){return me>=55296&&me<=57343},Bi=function(me){return jr(me)||me>=$r&&me<=Zr||me>=Go&&me<=No},_i=function(me){return me>=Go&&me<=Vt},Ro=function(me){return me>=$r&&me<=ro},ya=function(me){return _i(me)||Ro(me)},$o=function(me){return me>=xi},Ea=function(me){return me===Cn||me===Zt||me===vn},da=function(me){return ya(me)||$o(me)||me===Ti},wa=function(me){return da(me)||jr(me)||me===bi},Wr=function(me){return me>=ao&&me<=ki||me===So||me>=uo&&me<=Do||me===Co},Ji=function(me,Ae){return me!==pn?!1:Ae!==Cn},xo=function(me,Ae,Ce){return me===bi?da(Ae)||Ji(Ae,Ce):da(me)?!0:!!(me===pn&&Ji(me,Ae))},ba=function(me,Ae,Ce){return me===Di||me===bi?jr(Ae)?!0:Ae===ai&&jr(Ce):jr(me===ai?Ae:me)},Xa=function(me){var Ae=0,Ce=1;(me[Ae]===Di||me[Ae]===bi)&&(me[Ae]===bi&&(Ce=-1),Ae++);for(var be=[];jr(me[Ae]);)be.push(me[Ae++]);var rt=be.length?parseInt(xe.apply(void 0,be),10):0;me[Ae]===ai&&Ae++;for(var It=[];jr(me[Ae]);)It.push(me[Ae++]);var Jt=It.length,Sn=Jt?parseInt(xe.apply(void 0,It),10):0;(me[Ae]===ui||me[Ae]===zo)&&Ae++;var En=1;(me[Ae]===Di||me[Ae]===bi)&&(me[Ae]===bi&&(En=-1),Ae++);for(var yr=[];jr(me[Ae]);)yr.push(me[Ae++]);var Nr=yr.length?parseInt(xe.apply(void 0,yr),10):0;return Ce*(rt+Sn*Math.pow(10,-Jt))*Math.pow(10,En*Nr)},ns={type:2},Ta={type:3},Za={type:4},Fo={type:13},vo={type:8},qo={type:21},ja={type:9},ls={type:10},Fs={type:11},il={type:12},tu={type:14},Au={type:23},tl={type:1},fl={type:25},wu={type:24},Lu={type:26},hl={type:27},vc={type:28},Du={type:29},fa={type:31},La={type:32},ha=function(){function me(){this._value=[]}return me.prototype.write=function(Ae){this._value=this._value.concat(fe(Ae))},me.prototype.read=function(){for(var Ae=[],Ce=this.consumeToken();Ce!==La;)Ae.push(Ce),Ce=this.consumeToken();return Ae},me.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case On:return this.consumeStringToken(On);case Xr:var Ce=this.peekCodePoint(0),be=this.peekCodePoint(1),rt=this.peekCodePoint(2);if(wa(Ce)||Ji(be,rt)){var It=xo(Ce,be,rt)?gi:Dr,Jt=this.consumeName();return{type:5,value:Jt,flags:It}}break;case li:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),Fo;break;case or:return this.consumeStringToken(or);case er:return ns;case _r:return Ta;case Ii:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),tu;break;case Di:if(ba(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case $i:return Za;case bi:var Sn=Ae,En=this.peekCodePoint(0),yr=this.peekCodePoint(1);if(ba(Sn,En,yr))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if(xo(Sn,En,yr))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(En===bi&&yr===tn)return this.consumeCodePoint(),this.consumeCodePoint(),wu;break;case ai:if(ba(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case tt:if(this.peekCodePoint(0)===Ii)for(this.consumeCodePoint();;){var Nr=this.consumeCodePoint();if(Nr===Ii&&(Nr=this.consumeCodePoint(),Nr===tt))return this.consumeToken();if(Nr===to)return this.consumeToken()}break;case no:return Lu;case Hi:return hl;case Er:if(this.peekCodePoint(0)===Xi&&this.peekCodePoint(1)===bi&&this.peekCodePoint(2)===bi)return this.consumeCodePoint(),this.consumeCodePoint(),fl;break;case $t:var Qr=this.peekCodePoint(0),Oi=this.peekCodePoint(1),Aa=this.peekCodePoint(2);if(xo(Qr,Oi,Aa)){var Jt=this.consumeName();return{type:7,value:Jt}}break;case jn:return vc;case pn:if(Ji(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case lr:return Du;case gr:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),vo;break;case Ir:return Fs;case zr:return il;case zi:case Ri:var go=this.peekCodePoint(0),Vo=this.peekCodePoint(1);return go===Di&&(Bi(Vo)||Vo===Kr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case pi:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),ja;if(this.peekCodePoint(0)===pi)return this.consumeCodePoint(),qo;break;case Ci:if(this.peekCodePoint(0)===Rr)return this.consumeCodePoint(),ls;break;case to:return La}return Ea(Ae)?(this.consumeWhiteSpace(),fa):jr(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):da(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:xe(Ae)}},me.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},me.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},me.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},me.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],Ce=this.consumeCodePoint();Bi(Ce)&&Ae.length<6;)Ae.push(Ce),Ce=this.consumeCodePoint();for(var be=!1;Ce===Kr&&Ae.length<6;)Ae.push(Ce),Ce=this.consumeCodePoint(),be=!0;if(be){var rt=parseInt(xe.apply(void 0,Ae.map(function(En){return En===Kr?Mo:En})),16),It=parseInt(xe.apply(void 0,Ae.map(function(En){return En===Kr?Zr:En})),16);return{type:30,start:rt,end:It}}var Jt=parseInt(xe.apply(void 0,Ae),16);if(this.peekCodePoint(0)===bi&&Bi(this.peekCodePoint(1))){this.consumeCodePoint(),Ce=this.consumeCodePoint();for(var Sn=[];Bi(Ce)&&Sn.length<6;)Sn.push(Ce),Ce=this.consumeCodePoint();var It=parseInt(xe.apply(void 0,Sn),16);return{type:30,start:Jt,end:It}}else return{type:30,start:Jt,end:Jt}},me.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===er?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===er?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},me.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===to)return{type:22,value:""};var Ce=this.peekCodePoint(0);if(Ce===or||Ce===On){var be=this.consumeStringToken(this.consumeCodePoint());return be.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===_r)?(this.consumeCodePoint(),{type:22,value:be.value}):(this.consumeBadUrlRemnants(),Au)}for(;;){var rt=this.consumeCodePoint();if(rt===to||rt===_r)return{type:22,value:xe.apply(void 0,Ae)};if(Ea(rt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===to||this.peekCodePoint(0)===_r?(this.consumeCodePoint(),{type:22,value:xe.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),Au);if(rt===On||rt===or||rt===er||Wr(rt))return this.consumeBadUrlRemnants(),Au;if(rt===pn)if(Ji(rt,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Au;else Ae.push(rt)}},me.prototype.consumeWhiteSpace=function(){for(;Ea(this.peekCodePoint(0));)this.consumeCodePoint()},me.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===_r||Ae===to)return;Ji(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},me.prototype.consumeStringSlice=function(Ae){for(var Ce=5e4,be="";Ae>0;){var rt=Math.min(Ce,Ae);be+=xe.apply(void 0,this._value.splice(0,rt)),Ae-=rt}return this._value.shift(),be},me.prototype.consumeStringToken=function(Ae){var Ce="",be=0;do{var rt=this._value[be];if(rt===to||rt===void 0||rt===Ae)return Ce+=this.consumeStringSlice(be),{type:0,value:Ce};if(rt===Cn)return this._value.splice(0,be),tl;if(rt===pn){var It=this._value[be+1];It!==to&&It!==void 0&&(It===Cn?(Ce+=this.consumeStringSlice(be),be=-1,this._value.shift()):Ji(rt,It)&&(Ce+=this.consumeStringSlice(be),Ce+=xe(this.consumeEscapedCodePoint()),be=-1))}be++}while(!0)},me.prototype.consumeNumber=function(){var Ae=[],Ce=ni,be=this.peekCodePoint(0);for((be===Di||be===bi)&&Ae.push(this.consumeCodePoint());jr(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());be=this.peekCodePoint(0);var rt=this.peekCodePoint(1);if(be===ai&&jr(rt))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),Ce=An;jr(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());be=this.peekCodePoint(0),rt=this.peekCodePoint(1);var It=this.peekCodePoint(2);if((be===ui||be===zo)&&((rt===Di||rt===bi)&&jr(It)||jr(rt)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),Ce=An;jr(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Xa(Ae),Ce]},me.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),Ce=Ae[0],be=Ae[1],rt=this.peekCodePoint(0),It=this.peekCodePoint(1),Jt=this.peekCodePoint(2);if(xo(rt,It,Jt)){var Sn=this.consumeName();return{type:15,number:Ce,flags:be,unit:Sn}}return rt===nr?(this.consumeCodePoint(),{type:16,number:Ce,flags:be}):{type:17,number:Ce,flags:be}},me.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(Bi(Ae)){for(var Ce=xe(Ae);Bi(this.peekCodePoint(0))&&Ce.length<6;)Ce+=xe(this.consumeCodePoint());Ea(this.peekCodePoint(0))&&this.consumeCodePoint();var be=parseInt(Ce,16);return be===0||Yr(be)||be>1114111?hi:be}return Ae===to?hi:Ae},me.prototype.consumeName=function(){for(var Ae="";;){var Ce=this.consumeCodePoint();if(wa(Ce))Ae+=xe(Ce);else if(Ji(Ce,this.peekCodePoint(0)))Ae+=xe(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ce),Ae}},me}(),ga=function(){function me(Ae){this._tokens=Ae}return me.create=function(Ae){var Ce=new ha;return Ce.write(Ae),new me(Ce.read())},me.parseValue=function(Ae){return me.create(Ae).parseComponentValue()},me.parseValues=function(Ae){return me.create(Ae).parseComponentValues()},me.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var Ce=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return Ce;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},me.prototype.parseComponentValues=function(){for(var Ae=[];;){var Ce=this.consumeComponentValue();if(Ce.type===32)return Ae;Ae.push(Ce),Ae.push()}},me.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},me.prototype.consumeSimpleBlock=function(Ae){for(var Ce={type:Ae,values:[]},be=this.consumeToken();;){if(be.type===32||Gu(be,Ae))return Ce;this.reconsumeToken(be),Ce.values.push(this.consumeComponentValue()),be=this.consumeToken()}},me.prototype.consumeFunction=function(Ae){for(var Ce={name:Ae.value,values:[],type:18};;){var be=this.consumeToken();if(be.type===32||be.type===3)return Ce;this.reconsumeToken(be),Ce.values.push(this.consumeComponentValue())}},me.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?La:Ae},me.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},me}(),es=function(me){return me.type===15},Ya=function(me){return me.type===17},$a=function(me){return me.type===20},Kl=function(me){return me.type===0},su=function(me,Ae){return $a(me)&&me.value===Ae},Ol=function(me){return me.type!==31},bu=function(me){return me.type!==31&&me.type!==4},du=function(me){var Ae=[],Ce=[];return me.forEach(function(be){if(be.type===4){if(Ce.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(Ce),Ce=[];return}be.type!==31&&Ce.push(be)}),Ce.length&&Ae.push(Ce),Ae},Gu=function(me,Ae){return Ae===11&&me.type===12||Ae===28&&me.type===29?!0:Ae===2&&me.type===3},Qi=function(me){return me.type===17||me.type===15},Bo=function(me){return me.type===16||Qi(me)},Wa=function(me){return me.length>1?[me[0],me[1]]:[me[0]]},ol={type:17,number:0,flags:ni},kc={type:16,number:50,flags:ni},nu={type:16,number:100,flags:ni},Cu=function(me,Ae,Ce){var be=me[0],rt=me[1];return[ps(be,Ae),ps(typeof rt!="undefined"?rt:be,Ce)]},ps=function(me,Ae){if(me.type===16)return me.number/100*Ae;if(es(me))switch(me.unit){case"rem":case"em":return 16*me.number;case"px":default:return me.number}return me.number},oc="deg",td="grad",Vc="rad",ka="turn",Xu={name:"angle",parse:function(me,Ae){if(Ae.type===15)switch(Ae.unit){case oc:return Math.PI*Ae.number/180;case td:return Math.PI/200*Ae.number;case Vc:return Ae.number;case ka:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},yc=function(me){return me.type===15&&(me.unit===oc||me.unit===td||me.unit===Vc||me.unit===ka)},Nu=function(me){var Ae=me.filter($a).map(function(Ce){return Ce.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ol,ol];case"to top":case"bottom":return Ns(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ol,nu];case"to right":case"left":return Ns(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[nu,nu];case"to bottom":case"top":return Ns(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[nu,ol];case"to left":case"right":return Ns(270)}return 0},Ns=function(me){return Math.PI*me/180},Yu={name:"color",parse:function(me,Ae){if(Ae.type===18){var Ce=Fa[Ae.name];if(typeof Ce=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return Ce(me,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var be=Ae.value.substring(0,1),rt=Ae.value.substring(1,2),It=Ae.value.substring(2,3);return Tl(parseInt(be+be,16),parseInt(rt+rt,16),parseInt(It+It,16),1)}if(Ae.value.length===4){var be=Ae.value.substring(0,1),rt=Ae.value.substring(1,2),It=Ae.value.substring(2,3),Jt=Ae.value.substring(3,4);return Tl(parseInt(be+be,16),parseInt(rt+rt,16),parseInt(It+It,16),parseInt(Jt+Jt,16)/255)}if(Ae.value.length===6){var be=Ae.value.substring(0,2),rt=Ae.value.substring(2,4),It=Ae.value.substring(4,6);return Tl(parseInt(be,16),parseInt(rt,16),parseInt(It,16),1)}if(Ae.value.length===8){var be=Ae.value.substring(0,2),rt=Ae.value.substring(2,4),It=Ae.value.substring(4,6),Jt=Ae.value.substring(6,8);return Tl(parseInt(be,16),parseInt(rt,16),parseInt(It,16),parseInt(Jt,16)/255)}}if(Ae.type===20){var Sn=bs[Ae.value.toUpperCase()];if(typeof Sn!="undefined")return Sn}return bs.TRANSPARENT}},Pl=function(me){return(255&me)===0},ml=function(me){var Ae=255&me,Ce=255&me>>8,be=255&me>>16,rt=255&me>>24;return Ae<255?"rgba("+rt+","+be+","+Ce+","+Ae/255+")":"rgb("+rt+","+be+","+Ce+")"},Tl=function(me,Ae,Ce,be){return(me<<24|Ae<<16|Ce<<8|Math.round(be*255)<<0)>>>0},xu=function(me,Ae){if(me.type===17)return me.number;if(me.type===16){var Ce=Ae===3?1:255;return Ae===3?me.number/100*Ce:Math.round(me.number/100*Ce)}return 0},$u=function(me,Ae){var Ce=Ae.filter(bu);if(Ce.length===3){var be=Ce.map(xu),rt=be[0],It=be[1],Jt=be[2];return Tl(rt,It,Jt,1)}if(Ce.length===4){var Sn=Ce.map(xu),rt=Sn[0],It=Sn[1],Jt=Sn[2],En=Sn[3];return Tl(rt,It,Jt,En)}return 0};function ru(me,Ae,Ce){return Ce<0&&(Ce+=1),Ce>=1&&(Ce-=1),Ce<1/6?(Ae-me)*Ce*6+me:Ce<1/2?Ae:Ce<2/3?(Ae-me)*6*(2/3-Ce)+me:me}var fu=function(me,Ae){var Ce=Ae.filter(bu),be=Ce[0],rt=Ce[1],It=Ce[2],Jt=Ce[3],Sn=(be.type===17?Ns(be.number):Xu.parse(me,be))/(Math.PI*2),En=Bo(rt)?rt.number/100:0,yr=Bo(It)?It.number/100:0,Nr=typeof Jt!="undefined"&&Bo(Jt)?ps(Jt,1):1;if(En===0)return Tl(yr*255,yr*255,yr*255,1);var Qr=yr<=.5?yr*(En+1):yr+En-yr*En,Oi=yr*2-Qr,Aa=ru(Oi,Qr,Sn+1/3),go=ru(Oi,Qr,Sn),Vo=ru(Oi,Qr,Sn-1/3);return Tl(Aa*255,go*255,Vo*255,Nr)},Fa={hsl:fu,hsla:fu,rgb:$u,rgba:$u},Ma=function(me,Ae){return Yu.parse(me,ga.create(Ae).parseComponentValue())},bs={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},ac={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(Ce){if($a(Ce))switch(Ce.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Zl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},lu=function(me,Ae){var Ce=Yu.parse(me,Ae[0]),be=Ae[1];return be&&Bo(be)?{color:Ce,stop:be}:{color:Ce,stop:null}},Gc=function(me,Ae){var Ce=me[0],be=me[me.length-1];Ce.stop===null&&(Ce.stop=ol),be.stop===null&&(be.stop=nu);for(var rt=[],It=0,Jt=0;Jt<me.length;Jt++){var Sn=me[Jt].stop;if(Sn!==null){var En=ps(Sn,Ae);En>It?rt.push(En):rt.push(It),It=En}else rt.push(null)}for(var yr=null,Jt=0;Jt<rt.length;Jt++){var Nr=rt[Jt];if(Nr===null)yr===null&&(yr=Jt);else if(yr!==null){for(var Qr=Jt-yr,Oi=rt[yr-1],Aa=(Nr-Oi)/(Qr+1),go=1;go<=Qr;go++)rt[yr+go-1]=Aa*go;yr=null}}return me.map(function(Vo,gs){var va=Vo.color;return{color:va,stop:Math.max(Math.min(1,rt[gs]/Ae),0)}})},wc=function(me,Ae,Ce){var be=Ae/2,rt=Ce/2,It=ps(me[0],Ae)-be,Jt=rt-ps(me[1],Ce);return(Math.atan2(Jt,It)+Math.PI*2)%(Math.PI*2)},pA=function(me,Ae,Ce){var be=typeof me=="number"?me:wc(me,Ae,Ce),rt=Math.abs(Ae*Math.sin(be))+Math.abs(Ce*Math.cos(be)),It=Ae/2,Jt=Ce/2,Sn=rt/2,En=Math.sin(be-Math.PI/2)*Sn,yr=Math.cos(be-Math.PI/2)*Sn;return[rt,It-yr,It+yr,Jt-En,Jt+En]},Wl=function(me,Ae){return Math.sqrt(me*me+Ae*Ae)},bc=function(me,Ae,Ce,be,rt){var It=[[0,0],[0,Ae],[me,0],[me,Ae]];return It.reduce(function(Jt,Sn){var En=Sn[0],yr=Sn[1],Nr=Wl(Ce-En,be-yr);return(rt?Nr<Jt.optimumDistance:Nr>Jt.optimumDistance)?{optimumCorner:Sn,optimumDistance:Nr}:Jt},{optimumDistance:rt?1/0:-1/0,optimumCorner:null}).optimumCorner},iA=function(me,Ae,Ce,be,rt){var It=0,Jt=0;switch(me.size){case 0:me.shape===0?It=Jt=Math.min(Math.abs(Ae),Math.abs(Ae-be),Math.abs(Ce),Math.abs(Ce-rt)):me.shape===1&&(It=Math.min(Math.abs(Ae),Math.abs(Ae-be)),Jt=Math.min(Math.abs(Ce),Math.abs(Ce-rt)));break;case 2:if(me.shape===0)It=Jt=Math.min(Wl(Ae,Ce),Wl(Ae,Ce-rt),Wl(Ae-be,Ce),Wl(Ae-be,Ce-rt));else if(me.shape===1){var Sn=Math.min(Math.abs(Ce),Math.abs(Ce-rt))/Math.min(Math.abs(Ae),Math.abs(Ae-be)),En=bc(be,rt,Ae,Ce,!0),yr=En[0],Nr=En[1];It=Wl(yr-Ae,(Nr-Ce)/Sn),Jt=Sn*It}break;case 1:me.shape===0?It=Jt=Math.max(Math.abs(Ae),Math.abs(Ae-be),Math.abs(Ce),Math.abs(Ce-rt)):me.shape===1&&(It=Math.max(Math.abs(Ae),Math.abs(Ae-be)),Jt=Math.max(Math.abs(Ce),Math.abs(Ce-rt)));break;case 3:if(me.shape===0)It=Jt=Math.max(Wl(Ae,Ce),Wl(Ae,Ce-rt),Wl(Ae-be,Ce),Wl(Ae-be,Ce-rt));else if(me.shape===1){var Sn=Math.max(Math.abs(Ce),Math.abs(Ce-rt))/Math.max(Math.abs(Ae),Math.abs(Ae-be)),Qr=bc(be,rt,Ae,Ce,!1),yr=Qr[0],Nr=Qr[1];It=Wl(yr-Ae,(Nr-Ce)/Sn),Jt=Sn*It}break}return Array.isArray(me.size)&&(It=ps(me.size[0],be),Jt=me.size.length===2?ps(me.size[1],rt):It),[It,Jt]},oA=function(me,Ae){var Ce=Ns(180),be=[];return du(Ae).forEach(function(rt,It){if(It===0){var Jt=rt[0];if(Jt.type===20&&Jt.value==="to"){Ce=Nu(rt);return}else if(yc(Jt)){Ce=Xu.parse(me,Jt);return}}var Sn=lu(me,rt);be.push(Sn)}),{angle:Ce,stops:be,type:1}},Ed=function(me,Ae){var Ce=Ns(180),be=[];return du(Ae).forEach(function(rt,It){if(It===0){var Jt=rt[0];if(Jt.type===20&&["top","left","right","bottom"].indexOf(Jt.value)!==-1){Ce=Nu(rt);return}else if(yc(Jt)){Ce=(Xu.parse(me,Jt)+Ns(270))%Ns(360);return}}var Sn=lu(me,rt);be.push(Sn)}),{angle:Ce,stops:be,type:1}},Jf=function(me,Ae){var Ce=Ns(180),be=[],rt=1,It=0,Jt=3,Sn=[];return du(Ae).forEach(function(En,yr){var Nr=En[0];if(yr===0){if($a(Nr)&&Nr.value==="linear"){rt=1;return}else if($a(Nr)&&Nr.value==="radial"){rt=2;return}}if(Nr.type===18){if(Nr.name==="from"){var Qr=Yu.parse(me,Nr.values[0]);be.push({stop:ol,color:Qr})}else if(Nr.name==="to"){var Qr=Yu.parse(me,Nr.values[0]);be.push({stop:nu,color:Qr})}else if(Nr.name==="color-stop"){var Oi=Nr.values.filter(bu);if(Oi.length===2){var Qr=Yu.parse(me,Oi[1]),Aa=Oi[0];Ya(Aa)&&be.push({stop:{type:16,number:Aa.number*100,flags:Aa.flags},color:Qr})}}}}),rt===1?{angle:(Ce+Ns(180))%Ns(360),stops:be,type:rt}:{size:Jt,shape:It,stops:be,position:Sn,type:rt}},nd="closest-side",PA="farthest-side",gA="closest-corner",Ou="farthest-corner",TA="circle",aA="ellipse",Sd="cover",qf="contain",Ms=function(me,Ae){var Ce=0,be=3,rt=[],It=[];return du(Ae).forEach(function(Jt,Sn){var En=!0;if(Sn===0){var yr=!1;En=Jt.reduce(function(Qr,Oi){if(yr)if($a(Oi))switch(Oi.value){case"center":return It.push(kc),Qr;case"top":case"left":return It.push(ol),Qr;case"right":case"bottom":return It.push(nu),Qr}else(Bo(Oi)||Qi(Oi))&&It.push(Oi);else if($a(Oi))switch(Oi.value){case TA:return Ce=0,!1;case aA:return Ce=1,!1;case"at":return yr=!0,!1;case nd:return be=0,!1;case Sd:case PA:return be=1,!1;case qf:case gA:return be=2,!1;case Ou:return be=3,!1}else if(Qi(Oi)||Bo(Oi))return Array.isArray(be)||(be=[]),be.push(Oi),!1;return Qr},En)}if(En){var Nr=lu(me,Jt);rt.push(Nr)}}),{size:be,shape:Ce,stops:rt,position:It,type:2}},Ju=function(me,Ae){var Ce=0,be=3,rt=[],It=[];return du(Ae).forEach(function(Jt,Sn){var En=!0;if(Sn===0?En=Jt.reduce(function(Nr,Qr){if($a(Qr))switch(Qr.value){case"center":return It.push(kc),!1;case"top":case"left":return It.push(ol),!1;case"right":case"bottom":return It.push(nu),!1}else if(Bo(Qr)||Qi(Qr))return It.push(Qr),!1;return Nr},En):Sn===1&&(En=Jt.reduce(function(Nr,Qr){if($a(Qr))switch(Qr.value){case TA:return Ce=0,!1;case aA:return Ce=1,!1;case qf:case nd:return be=0,!1;case PA:return be=1,!1;case gA:return be=2,!1;case Sd:case Ou:return be=3,!1}else if(Qi(Qr)||Bo(Qr))return Array.isArray(be)||(be=[]),be.push(Qr),!1;return Nr},En)),En){var yr=lu(me,Jt);rt.push(yr)}}),{size:be,shape:Ce,stops:rt,position:It,type:2}},mA=function(me){return me.type===1},Th=function(me){return me.type===2},Xc={name:"image",parse:function(me,Ae){if(Ae.type===22){var Ce={url:Ae.value,type:0};return me.cache.addImage(Ae.value),Ce}if(Ae.type===18){var be=Fd[Ae.name];if(typeof be=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return be(me,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function kh(me){return!(me.type===20&&me.value==="none")&&(me.type!==18||!!Fd[me.name])}var Fd={"linear-gradient":oA,"-moz-linear-gradient":Ed,"-ms-linear-gradient":Ed,"-o-linear-gradient":Ed,"-webkit-linear-gradient":Ed,"radial-gradient":Ms,"-moz-radial-gradient":Ju,"-ms-radial-gradient":Ju,"-o-radial-gradient":Ju,"-webkit-radial-gradient":Ju,"-webkit-gradient":Jf},eh={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){if(Ae.length===0)return[];var Ce=Ae[0];return Ce.type===20&&Ce.value==="none"?[]:Ae.filter(function(be){return bu(be)&&kh(be)}).map(function(be){return Xc.parse(me,be)})}},bf={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(me,Ae){return Ae.map(function(Ce){if($a(Ce))switch(Ce.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,Ae){return du(Ae).map(function(Ce){return Ce.filter(Bo)}).map(Wa)}},Yc={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(me,Ae){return du(Ae).map(function(Ce){return Ce.filter($a).map(function(be){return be.value}).join(" ")}).map(ma)}},ma=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}},Rl;(function(me){me.AUTO="auto",me.CONTAIN="contain",me.COVER="cover"})(Rl||(Rl={}));var Mc={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(me,Ae){return du(Ae).map(function(Ce){return Ce.filter(rd)})}},rd=function(me){return $a(me)||Bo(me)},kA=function(me){return{name:"border-"+me+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Kp=kA("top"),MA=kA("right"),th=kA("bottom"),Uc=kA("left"),id=function(me){return{name:"border-radius-"+me,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,Ce){return Wa(Ce.filter(Bo))}}},Zp=id("top-left"),vA=id("top-right"),Dc=id("bottom-right"),sc=id("bottom-left"),zs=function(me){return{name:"border-"+me+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,Ce){switch(Ce){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},yA=zs("top"),od=zs("right"),ad=zs("bottom"),wA=zs("left"),UA=function(me){return{name:"border-"+me+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,Ce){return es(Ce)?Ce.number:0}}},xf=UA("top"),Id=UA("right"),Mh=UA("bottom"),Wp=UA("left"),lc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},bA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},up={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter($a).reduce(function(Ce,be){return Ce|Vp(be.value)},0)}},Vp=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,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},cp={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(me,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},Yd;(function(me){me.NORMAL="normal",me.STRICT="strict"})(Yd||(Yd={}));var Gp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"strict":return Yd.STRICT;case"normal":default:return Yd.NORMAL}}},uc={name:"line-height",initialValue:"normal",prefix:!1,type:4},Pu=function(me,Ae){return $a(me)&&me.value==="normal"?1.2*Ae:me.type===17?Ae*me.number:Bo(me)?ps(me,Ae):Ae},cc={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(me,Ae){return Ae.type===20&&Ae.value==="none"?null:Xc.parse(me,Ae)}},Tu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},sd={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){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}}},$d=function(me){return{name:"margin-"+me,initialValue:"0",prefix:!1,type:4}},Bf=$d("top"),Ap=$d("right"),dp=$d("bottom"),fp=$d("left"),nh={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter($a).map(function(Ce){switch(Ce.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},CA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ld=function(me){return{name:"padding-"+me,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},hp=Ld("top"),bt=Ld("right"),wt=Ld("bottom"),Yt=Ld("left"),dn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},In={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Un={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){return Ae.length===1&&su(Ae[0],"none")?[]:du(Ae).map(function(Ce){for(var be={color:bs.TRANSPARENT,offsetX:ol,offsetY:ol,blur:ol},rt=0,It=0;It<Ce.length;It++){var Jt=Ce[It];Qi(Jt)?(rt===0?be.offsetX=Jt:rt===1?be.offsetY=Jt:be.blur=Jt,rt++):be.color=Yu.parse(me,Jt)}return be})}},tr={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Jn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(me,Ae){if(Ae.type===20&&Ae.value==="none")return null;if(Ae.type===18){var Ce=ii[Ae.name];if(typeof Ce=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+Ae.name+'"');return Ce(Ae.values)}return null}},mr=function(me){var Ae=me.filter(function(Ce){return Ce.type===17}).map(function(Ce){return Ce.number});return Ae.length===6?Ae:null},cr=function(me){var Ae=me.filter(function(En){return En.type===17}).map(function(En){return En.number}),Ce=Ae[0],be=Ae[1];Ae[2],Ae[3];var rt=Ae[4],It=Ae[5];Ae[6],Ae[7],Ae[8],Ae[9],Ae[10],Ae[11];var Jt=Ae[12],Sn=Ae[13];return Ae[14],Ae[15],Ae.length===16?[Ce,be,rt,It,Jt,Sn]:null},ii={matrix:mr,matrix3d:cr},Mr={type:16,number:50,flags:ni},Ur=[Mr,Mr],Lr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(me,Ae){var Ce=Ae.filter(Bo);return Ce.length!==2?Ur:[Ce[0],Ce[1]]}},Sr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Wi;(function(me){me.NORMAL="normal",me.BREAK_ALL="break-all",me.KEEP_ALL="keep-all"})(Wi||(Wi={}));for(var mi={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"break-all":return Wi.BREAK_ALL;case"keep-all":return Wi.KEEP_ALL;case"normal":default:return Wi.NORMAL}}},eo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(me,Ae){if(Ae.type===20)return{auto:!0,order:0};if(Ya(Ae))return{auto:!1,order:Ae.number};throw new Error("Invalid z-index number parsed")}},co={name:"time",parse:function(me,Ae){if(Ae.type===15)switch(Ae.unit.toLowerCase()){case"s":return 1e3*Ae.number;case"ms":return Ae.number}throw new Error("Unsupported time type")}},qi={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(me,Ae){return Ya(Ae)?Ae.number:1}},po={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Io={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter($a).map(function(Ce){switch(Ce.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Ce){return Ce!==0})}},jo={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(me,Ae){var Ce=[],be=[];return Ae.forEach(function(rt){switch(rt.type){case 20:case 0:Ce.push(rt.value);break;case 17:Ce.push(rt.number.toString());break;case 4:be.push(Ce.join(" ")),Ce.length=0;break}}),Ce.length&&be.push(Ce.join(" ")),be.map(function(rt){return rt.indexOf(" ")===-1?rt:"'"+rt+"'"})}},Uo={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Da={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(me,Ae){if(Ya(Ae))return Ae.number;if($a(Ae))switch(Ae.value){case"bold":return 700;case"normal":default:return 400}return 400}},oa={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){return Ae.filter($a).map(function(Ce){return Ce.value})}},ta={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(me,Ae){switch(Ae){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Zo=function(me,Ae){return(me&Ae)!==0},Ho={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){if(Ae.length===0)return[];var Ce=Ae[0];return Ce.type===20&&Ce.value==="none"?[]:Ae}},Ko={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(me,Ae){if(Ae.length===0)return null;var Ce=Ae[0];if(Ce.type===20&&Ce.value==="none")return null;for(var be=[],rt=Ae.filter(Ol),It=0;It<rt.length;It++){var Jt=rt[It],Sn=rt[It+1];if(Jt.type===20){var En=Sn&&Ya(Sn)?Sn.number:1;be.push({counter:Jt.value,increment:En})}}return be}},yo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(me,Ae){if(Ae.length===0)return[];for(var Ce=[],be=Ae.filter(Ol),rt=0;rt<be.length;rt++){var It=be[rt],Jt=be[rt+1];if($a(It)&&It.value!=="none"){var Sn=Jt&&Ya(Jt)?Jt.number:0;Ce.push({counter:It.value,reset:Sn})}}return Ce}},ho={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(me,Ae){return Ae.filter(es).map(function(Ce){return co.parse(me,Ce)})}},_o={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(me,Ae){if(Ae.length===0)return null;var Ce=Ae[0];if(Ce.type===20&&Ce.value==="none")return null;var be=[],rt=Ae.filter(Kl);if(rt.length%2!==0)return null;for(var It=0;It<rt.length;It+=2){var Jt=rt[It].value,Sn=rt[It+1].value;be.push({open:Jt,close:Sn})}return be}},Xo=function(me,Ae,Ce){if(!me)return"";var be=me[Math.min(Ae,me.length-1)];return be?Ce?be.open:be.close:""},na={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(me,Ae){return Ae.length===1&&su(Ae[0],"none")?[]:du(Ae).map(function(Ce){for(var be={color:255,offsetX:ol,offsetY:ol,blur:ol,spread:ol,inset:!1},rt=0,It=0;It<Ce.length;It++){var Jt=Ce[It];su(Jt,"inset")?be.inset=!0:Qi(Jt)?(rt===0?be.offsetX=Jt:rt===1?be.offsetY=Jt:rt===2?be.blur=Jt:be.spread=Jt,rt++):be.color=Yu.parse(me,Jt)}return be})}},bo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(me,Ae){var Ce=[0,1,2],be=[];return Ae.filter($a).forEach(function(rt){switch(rt.value){case"stroke":be.push(1);break;case"fill":be.push(0);break;case"markers":be.push(2);break}}),Ce.forEach(function(rt){be.indexOf(rt)===-1&&be.push(rt)}),be}},rs={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Va={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(me,Ae){return es(Ae)?Ae.number:0}},kl=function(){function me(Ae,Ce){var be,rt;this.animationDuration=Ao(Ae,ho,Ce.animationDuration),this.backgroundClip=Ao(Ae,ac,Ce.backgroundClip),this.backgroundColor=Ao(Ae,Zl,Ce.backgroundColor),this.backgroundImage=Ao(Ae,eh,Ce.backgroundImage),this.backgroundOrigin=Ao(Ae,bf,Ce.backgroundOrigin),this.backgroundPosition=Ao(Ae,Cf,Ce.backgroundPosition),this.backgroundRepeat=Ao(Ae,Yc,Ce.backgroundRepeat),this.backgroundSize=Ao(Ae,Mc,Ce.backgroundSize),this.borderTopColor=Ao(Ae,Kp,Ce.borderTopColor),this.borderRightColor=Ao(Ae,MA,Ce.borderRightColor),this.borderBottomColor=Ao(Ae,th,Ce.borderBottomColor),this.borderLeftColor=Ao(Ae,Uc,Ce.borderLeftColor),this.borderTopLeftRadius=Ao(Ae,Zp,Ce.borderTopLeftRadius),this.borderTopRightRadius=Ao(Ae,vA,Ce.borderTopRightRadius),this.borderBottomRightRadius=Ao(Ae,Dc,Ce.borderBottomRightRadius),this.borderBottomLeftRadius=Ao(Ae,sc,Ce.borderBottomLeftRadius),this.borderTopStyle=Ao(Ae,yA,Ce.borderTopStyle),this.borderRightStyle=Ao(Ae,od,Ce.borderRightStyle),this.borderBottomStyle=Ao(Ae,ad,Ce.borderBottomStyle),this.borderLeftStyle=Ao(Ae,wA,Ce.borderLeftStyle),this.borderTopWidth=Ao(Ae,xf,Ce.borderTopWidth),this.borderRightWidth=Ao(Ae,Id,Ce.borderRightWidth),this.borderBottomWidth=Ao(Ae,Mh,Ce.borderBottomWidth),this.borderLeftWidth=Ao(Ae,Wp,Ce.borderLeftWidth),this.boxShadow=Ao(Ae,na,Ce.boxShadow),this.color=Ao(Ae,lc,Ce.color),this.direction=Ao(Ae,bA,Ce.direction),this.display=Ao(Ae,up,Ce.display),this.float=Ao(Ae,Xd,Ce.cssFloat),this.fontFamily=Ao(Ae,jo,Ce.fontFamily),this.fontSize=Ao(Ae,Uo,Ce.fontSize),this.fontStyle=Ao(Ae,ta,Ce.fontStyle),this.fontVariant=Ao(Ae,oa,Ce.fontVariant),this.fontWeight=Ao(Ae,Da,Ce.fontWeight),this.letterSpacing=Ao(Ae,cp,Ce.letterSpacing),this.lineBreak=Ao(Ae,Gp,Ce.lineBreak),this.lineHeight=Ao(Ae,uc,Ce.lineHeight),this.listStyleImage=Ao(Ae,cc,Ce.listStyleImage),this.listStylePosition=Ao(Ae,Tu,Ce.listStylePosition),this.listStyleType=Ao(Ae,sd,Ce.listStyleType),this.marginTop=Ao(Ae,Bf,Ce.marginTop),this.marginRight=Ao(Ae,Ap,Ce.marginRight),this.marginBottom=Ao(Ae,dp,Ce.marginBottom),this.marginLeft=Ao(Ae,fp,Ce.marginLeft),this.opacity=Ao(Ae,qi,Ce.opacity);var It=Ao(Ae,nh,Ce.overflow);this.overflowX=It[0],this.overflowY=It[It.length>1?1:0],this.overflowWrap=Ao(Ae,CA,Ce.overflowWrap),this.paddingTop=Ao(Ae,hp,Ce.paddingTop),this.paddingRight=Ao(Ae,bt,Ce.paddingRight),this.paddingBottom=Ao(Ae,wt,Ce.paddingBottom),this.paddingLeft=Ao(Ae,Yt,Ce.paddingLeft),this.paintOrder=Ao(Ae,bo,Ce.paintOrder),this.position=Ao(Ae,In,Ce.position),this.textAlign=Ao(Ae,dn,Ce.textAlign),this.textDecorationColor=Ao(Ae,po,(be=Ce.textDecorationColor)!==null&&be!==void 0?be:Ce.color),this.textDecorationLine=Ao(Ae,Io,(rt=Ce.textDecorationLine)!==null&&rt!==void 0?rt:Ce.textDecoration),this.textShadow=Ao(Ae,Un,Ce.textShadow),this.textTransform=Ao(Ae,tr,Ce.textTransform),this.transform=Ao(Ae,Jn,Ce.transform),this.transformOrigin=Ao(Ae,Lr,Ce.transformOrigin),this.visibility=Ao(Ae,Sr,Ce.visibility),this.webkitTextStrokeColor=Ao(Ae,rs,Ce.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ao(Ae,Va,Ce.webkitTextStrokeWidth),this.wordBreak=Ao(Ae,mi,Ce.wordBreak),this.zIndex=Ao(Ae,eo,Ce.zIndex)}return me.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},me.prototype.isTransparent=function(){return Pl(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 Zo(this.display,4)||Zo(this.display,33554432)||Zo(this.display,268435456)||Zo(this.display,536870912)||Zo(this.display,67108864)||Zo(this.display,134217728)},me}(),xl=function(){function me(Ae,Ce){this.content=Ao(Ae,Ho,Ce.content),this.quotes=Ao(Ae,_o,Ce.quotes)}return me}(),al=function(){function me(Ae,Ce){this.counterIncrement=Ao(Ae,Ko,Ce.counterIncrement),this.counterReset=Ao(Ae,yo,Ce.counterReset)}return me}(),Ao=function(me,Ae,Ce){var be=new ha,rt=Ce!==null&&typeof Ce!="undefined"?Ce.toString():Ae.initialValue;be.write(rt);var It=new ga(be.read());switch(Ae.type){case 2:var Jt=It.parseComponentValue();return Ae.parse(me,$a(Jt)?Jt.value:Ae.initialValue);case 0:return Ae.parse(me,It.parseComponentValue());case 1:return Ae.parse(me,It.parseComponentValues());case 4:return It.parseComponentValue();case 3:switch(Ae.format){case"angle":return Xu.parse(me,It.parseComponentValue());case"color":return Yu.parse(me,It.parseComponentValue());case"image":return Xc.parse(me,It.parseComponentValue());case"length":var Sn=It.parseComponentValue();return Qi(Sn)?Sn:ol;case"length-percentage":var En=It.parseComponentValue();return Bo(En)?En:ol;case"time":return co.parse(me,It.parseComponentValue())}break}},Vl="data-html2canvas-debug",ds=function(me){var Ae=me.getAttribute(Vl);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},us=function(me,Ae){var Ce=ds(me);return Ce===1||Ae===Ce},nl=function(){function me(Ae,Ce){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,us(Ce,3))debugger;this.styles=new kl(Ae,window.getComputedStyle(Ce,null)),_h(Ce)&&(this.styles.animationDuration.some(function(be){return be>0})&&(Ce.style.animationDuration="0s"),this.styles.transform!==null&&(Ce.style.transform="none")),this.bounds=Fe(this.context,Ce),us(Ce,4)&&(this.flags|=16)}return me}(),uu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTg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AAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIEC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AAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ca=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Yo=0;Yo<ra.length;Yo++)Ca[ra.charCodeAt(Yo)]=Yo;for(var To=function(me){var Ae=me.length*.75,Ce=me.length,be,rt=0,It,Jt,Sn,En;me[me.length-1]==="="&&(Ae--,me[me.length-2]==="="&&Ae--);var yr=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(Ae):new Array(Ae),Nr=Array.isArray(yr)?yr:new Uint8Array(yr);for(be=0;be<Ce;be+=4)It=Ca[me.charCodeAt(be)],Jt=Ca[me.charCodeAt(be+1)],Sn=Ca[me.charCodeAt(be+2)],En=Ca[me.charCodeAt(be+3)],Nr[rt++]=It<<2|Jt>>4,Nr[rt++]=(Jt&15)<<4|Sn>>2,Nr[rt++]=(Sn&3)<<6|En&63;return yr},vs=function(me){for(var Ae=me.length,Ce=[],be=0;be<Ae;be+=2)Ce.push(me[be+1]<<8|me[be]);return Ce},Os=function(me){for(var Ae=me.length,Ce=[],be=0;be<Ae;be+=4)Ce.push(me[be+3]<<24|me[be+2]<<16|me[be+1]<<8|me[be]);return Ce},Gs=5,Ks=11,sl=2,hu=Ks-Gs,aa=65536>>Gs,ea=1<<Gs,Is=ea-1,Js=1024>>Gs,Xs=aa+Js,pu=Xs,Ml=32,Ac=pu+Ml,Bl=65536>>Ks,Cs=1<<hu,ll=Cs-1,ul=function(me,Ae,Ce){return me.slice?me.slice(Ae,Ce):new Uint16Array(Array.prototype.slice.call(me,Ae,Ce))},cu=function(me,Ae,Ce){return me.slice?me.slice(Ae,Ce):new Uint32Array(Array.prototype.slice.call(me,Ae,Ce))},Ul=function(me,Ae){var Ce=To(me),be=Array.isArray(Ce)?Os(Ce):new Uint32Array(Ce),rt=Array.isArray(Ce)?vs(Ce):new Uint16Array(Ce),It=24,Jt=ul(rt,It/2,be[4]/2),Sn=be[5]===2?ul(rt,(It+be[4])/2):cu(be,Math.ceil((It+be[4])/4));return new xs(be[0],be[1],be[2],be[3],Jt,Sn)},xs=function(){function me(Ae,Ce,be,rt,It,Jt){this.initialValue=Ae,this.errorValue=Ce,this.highStart=be,this.highValueIndex=rt,this.index=It,this.data=Jt}return me.prototype.get=function(Ae){var Ce;if(Ae>=0){if(Ae<55296||Ae>56319&&Ae<=65535)return Ce=this.index[Ae>>Gs],Ce=(Ce<<sl)+(Ae&Is),this.data[Ce];if(Ae<=65535)return Ce=this.index[aa+(Ae-55296>>Gs)],Ce=(Ce<<sl)+(Ae&Is),this.data[Ce];if(Ae<this.highStart)return Ce=Ac-Bl+(Ae>>Ks),Ce=this.index[Ce],Ce+=Ae>>Gs&ll,Ce=this.index[Ce],Ce=(Ce<<sl)+(Ae&Is),this.data[Ce];if(Ae<=1114111)return this.data[this.highValueIndex]}return this.errorValue},me}(),vl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ps=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),yl=0;yl<vl.length;yl++)Ps[vl.charCodeAt(yl)]=yl;var Gl=1,ku=2,Mu=3,$c=4,cl=5,Dd=7,_u=8,qu=9,Qu=10,ec=11,Al=12,Cc=13,xA=14,Rc=15,Jc=function(me){for(var Ae=[],Ce=0,be=me.length;Ce<be;){var rt=me.charCodeAt(Ce++);if(rt>=55296&&rt<=56319&&Ce<be){var It=me.charCodeAt(Ce++);(It&64512)===56320?Ae.push(((rt&1023)<<10)+(It&1023)+65536):(Ae.push(rt),Ce--)}else Ae.push(rt)}return Ae},Jd=function(){for(var me=[],Ae=0;Ae<arguments.length;Ae++)me[Ae]=arguments[Ae];if(String.fromCodePoint)return String.fromCodePoint.apply(String,me);var Ce=me.length;if(!Ce)return"";for(var be=[],rt=-1,It="";++rt<Ce;){var Jt=me[rt];Jt<=65535?be.push(Jt):(Jt-=65536,be.push((Jt>>10)+55296,Jt%1024+56320)),(rt+1===Ce||be.length>16384)&&(It+=String.fromCharCode.apply(String,be),be.length=0)}return It},qd=Ul(uu),Ts="\xD7",ld="\xF7",Ef=function(me){return qd.get(me)},Ga=function(me,Ae,Ce){var be=Ce-2,rt=Ae[be],It=Ae[Ce-1],Jt=Ae[Ce];if(It===ku&&Jt===Mu)return Ts;if(It===ku||It===Mu||It===$c||Jt===ku||Jt===Mu||Jt===$c)return ld;if(It===_u&&[_u,qu,ec,Al].indexOf(Jt)!==-1||(It===ec||It===qu)&&(Jt===qu||Jt===Qu)||(It===Al||It===Qu)&&Jt===Qu||Jt===Cc||Jt===cl||Jt===Dd||It===Gl)return Ts;if(It===Cc&&Jt===xA){for(;rt===cl;)rt=Ae[--be];if(rt===xA)return Ts}if(It===Rc&&Jt===Rc){for(var Sn=0;rt===Rc;)Sn++,rt=Ae[--be];if(Sn%2===0)return Ts}return ld},ys=function(me){var Ae=Jc(me),Ce=Ae.length,be=0,rt=0,It=Ae.map(Ef);return{next:function(){if(be>=Ce)return{done:!0,value:null};for(var Jt=Ts;be<Ce&&(Jt=Ga(Ae,It,++be))===Ts;);if(Jt!==Ts||be===Ce){var Sn=Jd.apply(null,Ae.slice(rt,be));return rt=be,{value:Sn,done:!1}}return{done:!0,value:null}}}},_l=function(me){for(var Ae=ys(me),Ce=[],be;!(be=Ae.next()).done;)be.value&&Ce.push(be.value.slice());return Ce},iu=function(me){var Ae=123;if(me.createRange){var Ce=me.createRange();if(Ce.getBoundingClientRect){var be=me.createElement("boundtest");be.style.height=Ae+"px",be.style.display="block",me.body.appendChild(be),Ce.selectNode(be);var rt=Ce.getBoundingClientRect(),It=Math.round(rt.height);if(me.body.removeChild(be),It===Ae)return!0}}return!1},Bu=function(me){var Ae=me.createElement("boundtest");Ae.style.width="50px",Ae.style.display="block",Ae.style.fontSize="12px",Ae.style.letterSpacing="0px",Ae.style.wordSpacing="0px",me.body.appendChild(Ae);var Ce=me.createRange();Ae.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var be=Ae.firstChild,rt=fe(be.data).map(function(En){return xe(En)}),It=0,Jt={},Sn=rt.every(function(En,yr){Ce.setStart(be,It),Ce.setEnd(be,It+En.length);var Nr=Ce.getBoundingClientRect();It+=En.length;var Qr=Nr.x>Jt.x||Nr.y>Jt.y;return Jt=Nr,yr===0?!0:Qr});return me.body.removeChild(Ae),Sn},Eu=function(){return typeof new Image().crossOrigin!="undefined"},tc=function(){return typeof new XMLHttpRequest().responseType=="string"},ju=function(me){var Ae=new Image,Ce=me.createElement("canvas"),be=Ce.getContext("2d");if(!be)return!1;Ae.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{be.drawImage(Ae,0,0),Ce.toDataURL()}catch(rt){return!1}return!0},ZA=function(me){return me[0]===0&&me[1]===255&&me[2]===0&&me[3]===255},Sf=function(me){var Ae=me.createElement("canvas"),Ce=100;Ae.width=Ce,Ae.height=Ce;var be=Ae.getContext("2d");if(!be)return Promise.reject(!1);be.fillStyle="rgb(0, 255, 0)",be.fillRect(0,0,Ce,Ce);var rt=new Image,It=Ae.toDataURL();rt.src=It;var Jt=WA(Ce,Ce,0,0,rt);return be.fillStyle="red",be.fillRect(0,0,Ce,Ce),VA(Jt).then(function(Sn){be.drawImage(Sn,0,0);var En=be.getImageData(0,0,Ce,Ce).data;be.fillStyle="red",be.fillRect(0,0,Ce,Ce);var yr=me.createElement("div");return yr.style.backgroundImage="url("+It+")",yr.style.height=Ce+"px",ZA(En)?VA(WA(Ce,Ce,0,0,yr)):Promise.reject(!1)}).then(function(Sn){return be.drawImage(Sn,0,0),ZA(be.getImageData(0,0,Ce,Ce).data)}).catch(function(){return!1})},WA=function(me,Ae,Ce,be,rt){var It="http://www.w3.org/2000/svg",Jt=document.createElementNS(It,"svg"),Sn=document.createElementNS(It,"foreignObject");return Jt.setAttributeNS(null,"width",me.toString()),Jt.setAttributeNS(null,"height",Ae.toString()),Sn.setAttributeNS(null,"width","100%"),Sn.setAttributeNS(null,"height","100%"),Sn.setAttributeNS(null,"x",Ce.toString()),Sn.setAttributeNS(null,"y",be.toString()),Sn.setAttributeNS(null,"externalResourcesRequired","true"),Jt.appendChild(Sn),Sn.appendChild(rt),Jt},VA=function(me){return new Promise(function(Ae,Ce){var be=new Image;be.onload=function(){return Ae(be)},be.onerror=Ce,be.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},gu={get SUPPORT_RANGE_BOUNDS(){var me=iu(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=ju(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=tc();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}},_c=function(){function me(Ae,Ce){this.text=Ae,this.bounds=Ce}return me}(),ef=function(me,Ae,Ce,be){var rt=rh(Ae,Ce),It=[],Jt=0;return rt.forEach(function(Sn){if(Ce.textDecorationLine.length||Sn.trim().length>0)if(gu.SUPPORT_RANGE_BOUNDS){var En=tf(be,Jt,Sn.length).getClientRects();if(En.length>1){var yr=If(Sn),Nr=0;yr.forEach(function(Oi){It.push(new _c(Oi,He.fromDOMRectList(me,tf(be,Nr+Jt,Oi.length).getClientRects()))),Nr+=Oi.length})}else It.push(new _c(Sn,He.fromDOMRectList(me,En)))}else{var Qr=be.splitText(Sn.length);It.push(new _c(Sn,Ff(me,be))),be=Qr}else gu.SUPPORT_RANGE_BOUNDS||(be=be.splitText(Sn.length));Jt+=Sn.length}),It},Ff=function(me,Ae){var Ce=Ae.ownerDocument;if(Ce){var be=Ce.createElement("html2canvaswrapper");be.appendChild(Ae.cloneNode(!0));var rt=Ae.parentNode;if(rt){rt.replaceChild(be,Ae);var It=Fe(me,be);return be.firstChild&&rt.replaceChild(be.firstChild,be),It}}return He.EMPTY},tf=function(me,Ae,Ce){var be=me.ownerDocument;if(!be)throw new Error("Node has no owner document");var rt=be.createRange();return rt.setStart(me,Ae),rt.setEnd(me,Ae+Ce),rt},If=function(me){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(me)).map(function(Ce){return Ce.segment})}return _l(me)},GA=function(me,Ae){if(gu.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ce=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Ce.segment(me)).map(function(be){return be.segment})}return ih(me,Ae)},rh=function(me,Ae){return Ae.letterSpacing!==0?If(me):GA(me,Ae)},pp=[32,160,4961,65792,65793,4153,4241],ih=function(me,Ae){for(var Ce=ar(me,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),be=[],rt,It=function(){if(rt.value){var Jt=rt.value.slice(),Sn=fe(Jt),En="";Sn.forEach(function(yr){pp.indexOf(yr)===-1?En+=xe(yr):(En.length&&be.push(En),be.push(xe(yr)),En="")}),En.length&&be.push(En)}};!(rt=Ce.next()).done;)It();return be},nf=function(){function me(Ae,Ce,be){this.text=gp(Ce.data,be.textTransform),this.textBounds=ef(Ae,this.text,be,Ce)}return me}(),gp=function(me,Ae){switch(Ae){case 1:return me.toLowerCase();case 3:return me.replace(mp,rf);case 2:return me.toUpperCase();default:return me}},mp=/(^|\s|:|-|\(|\))([a-z])/g,rf=function(me,Ae,Ce){return me.length>0?Ae+Ce.toUpperCase():me},Lf=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.src=be.currentSrc||be.src,rt.intrinsicWidth=be.naturalWidth,rt.intrinsicHeight=be.naturalHeight,rt.context.cache.addImage(rt.src),rt}return Ae}(nl),Nd=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.canvas=be,rt.intrinsicWidth=be.width,rt.intrinsicHeight=be.height,rt}return Ae}(nl),Df=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this,It=new XMLSerializer,Jt=Fe(Ce,be);return be.setAttribute("width",Jt.width+"px"),be.setAttribute("height",Jt.height+"px"),rt.svg="data:image/svg+xml,"+encodeURIComponent(It.serializeToString(be)),rt.intrinsicWidth=be.width.baseVal.value,rt.intrinsicHeight=be.height.baseVal.value,rt.context.cache.addImage(rt.svg),rt}return Ae}(nl),Od=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.value=be.value,rt}return Ae}(nl),of=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.start=be.start,rt.reversed=typeof be.reversed=="boolean"&&be.reversed===!0,rt}return Ae}(nl),BA=[{type:15,flags:0,unit:"px",number:3}],oh=[{type:16,flags:0,number:50}],ah=function(me){return me.width>me.height?new He(me.left+(me.width-me.height)/2,me.top,me.height,me.height):me.width<me.height?new He(me.left,me.top+(me.height-me.width)/2,me.width,me.width):me},Uh=function(me){var Ae=me.type===SA?new Array(me.value.length+1).join("\u2022"):me.value;return Ae.length===0?me.placeholder||"":Ae},ud="checkbox",EA="radio",SA="password",Pd=707406591,cd=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;switch(rt.type=be.type.toLowerCase(),rt.checked=be.checked,rt.value=Uh(be),(rt.type===ud||rt.type===EA)&&(rt.styles.backgroundColor=3739148031,rt.styles.borderTopColor=rt.styles.borderRightColor=rt.styles.borderBottomColor=rt.styles.borderLeftColor=2779096575,rt.styles.borderTopWidth=rt.styles.borderRightWidth=rt.styles.borderBottomWidth=rt.styles.borderLeftWidth=1,rt.styles.borderTopStyle=rt.styles.borderRightStyle=rt.styles.borderBottomStyle=rt.styles.borderLeftStyle=1,rt.styles.backgroundClip=[0],rt.styles.backgroundOrigin=[0],rt.bounds=ah(rt.bounds)),rt.type){case ud:rt.styles.borderTopRightRadius=rt.styles.borderTopLeftRadius=rt.styles.borderBottomRightRadius=rt.styles.borderBottomLeftRadius=BA;break;case EA:rt.styles.borderTopRightRadius=rt.styles.borderTopLeftRadius=rt.styles.borderBottomRightRadius=rt.styles.borderBottomLeftRadius=oh;break}return rt}return Ae}(nl),Rh=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this,It=be.options[be.selectedIndex||0];return rt.value=It&&It.text||"",rt}return Ae}(nl),ws=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.value=be.value,rt}return Ae}(nl),ks=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;rt.src=be.src,rt.width=parseInt(be.width,10)||0,rt.height=parseInt(be.height,10)||0,rt.backgroundColor=rt.styles.backgroundColor;try{if(be.contentWindow&&be.contentWindow.document&&be.contentWindow.document.documentElement){rt.tree=Ad(Ce,be.contentWindow.document.documentElement);var It=be.contentWindow.document.documentElement?Ma(Ce,getComputedStyle(be.contentWindow.document.documentElement).backgroundColor):bs.TRANSPARENT,Jt=be.contentWindow.document.body?Ma(Ce,getComputedStyle(be.contentWindow.document.body).backgroundColor):bs.TRANSPARENT;rt.backgroundColor=Pl(It)?Pl(Jt)?rt.styles.backgroundColor:Jt:It}}catch(Sn){}return rt}return Ae}(nl),mu=["OL","UL","MENU"],Hu=function(me,Ae,Ce,be){for(var rt=Ae.firstChild,It=void 0;rt;rt=It)if(It=rt.nextSibling,dd(rt)&&rt.data.trim().length>0)Ce.textNodes.push(new nf(me,rt,Ce.styles));else if(YA(rt))if(vp(rt)&&rt.assignedNodes)rt.assignedNodes().forEach(function(Sn){return Hu(me,Sn,Ce,be)});else{var Jt=zu(me,rt);Jt.styles.isVisible()&&(XA(rt,Jt,be)?Jt.flags|=4:RA(Jt.styles)&&(Jt.flags|=2),mu.indexOf(rt.tagName)!==-1&&(Jt.flags|=8),Ce.elements.push(Jt),rt.slot,rt.shadowRoot?Hu(me,rt.shadowRoot,Jt,be):!Nf(rt)&&!Yp(rt)&&!uh(rt)&&Hu(me,rt,Jt,be))}},zu=function(me,Ae){return af(Ae)?new Lf(me,Ae):$p(Ae)?new Nd(me,Ae):Yp(Ae)?new Df(me,Ae):Xp(Ae)?new Od(me,Ae):Qh(Ae)?new of(me,Ae):gg(Ae)?new cd(me,Ae):uh(Ae)?new Rh(me,Ae):Nf(Ae)?new ws(me,Ae):FA(Ae)?new ks(me,Ae):new nl(me,Ae)},Ad=function(me,Ae){var Ce=zu(me,Ae);return Ce.flags|=4,Hu(me,Ae,Ce,Ce),Ce},XA=function(me,Ae,Ce){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||Ql(me)&&Ce.styles.isTransparent()},RA=function(me){return me.isPositioned()||me.isFloating()},dd=function(me){return me.nodeType===Node.TEXT_NODE},YA=function(me){return me.nodeType===Node.ELEMENT_NODE},_h=function(me){return YA(me)&&typeof me.style!="undefined"&&!fd(me)},fd=function(me){return typeof me.className=="object"},Xp=function(me){return me.tagName==="LI"},Qh=function(me){return me.tagName==="OL"},gg=function(me){return me.tagName==="INPUT"},mg=function(me){return me.tagName==="HTML"},Yp=function(me){return me.tagName==="svg"},Ql=function(me){return me.tagName==="BODY"},$p=function(me){return me.tagName==="CANVAS"},jh=function(me){return me.tagName==="VIDEO"},af=function(me){return me.tagName==="IMG"},FA=function(me){return me.tagName==="IFRAME"},sh=function(me){return me.tagName==="STYLE"},lh=function(me){return me.tagName==="SCRIPT"},Nf=function(me){return me.tagName==="TEXTAREA"},uh=function(me){return me.tagName==="SELECT"},vp=function(me){return me.tagName==="SLOT"},yp=function(me){return me.tagName.indexOf("-")>0},vg=function(){function me(){this.counters={}}return me.prototype.getCounterValue=function(Ae){var Ce=this.counters[Ae];return Ce&&Ce.length?Ce[Ce.length-1]:1},me.prototype.getCounterValues=function(Ae){var Ce=this.counters[Ae];return Ce||[]},me.prototype.pop=function(Ae){var Ce=this;Ae.forEach(function(be){return Ce.counters[be].pop()})},me.prototype.parse=function(Ae){var Ce=this,be=Ae.counterIncrement,rt=Ae.counterReset,It=!0;be!==null&&be.forEach(function(Sn){var En=Ce.counters[Sn.counter];En&&Sn.increment!==0&&(It=!1,En.length||En.push(1),En[Math.max(0,En.length-1)]+=Sn.increment)});var Jt=[];return It&&rt.forEach(function(Sn){var En=Ce.counters[Sn.counter];Jt.push(Sn.counter),En||(En=Ce.counters[Sn.counter]=[]),En.push(Sn.reset)}),Jt},me}(),wp={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"]},ch={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"]},Jp={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"]},wl={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,Ae,Ce,be,rt,It){return me<Ae||me>Ce?ne(me,rt,It.length>0):be.integers.reduce(function(Jt,Sn,En){for(;me>=Sn;)me-=Sn,Jt+=be.values[En];return Jt},"")+It},yg=function(me,Ae,Ce,be){var rt="";do Ce||me--,rt=be(me)+rt,me/=Ae;while(me*Ae>=Ae);return rt},jl=function(me,Ae,Ce,be,rt){var It=Ce-Ae+1;return(me<0?"-":"")+(yg(Math.abs(me),It,be,function(Jt){return xe(Math.floor(Jt%It)+Ae)})+rt)},kd=function(me,Ae,Ce){Ce===void 0&&(Ce=". ");var be=Ae.length;return yg(Math.abs(me),be,!1,function(rt){return Ae[Math.floor(rt%be)]})+Ce},$A=1,hd=2,El=4,Ah=8,pd=function(me,Ae,Ce,be,rt,It){if(me<-9999||me>9999)return ne(me,4,rt.length>0);var Jt=Math.abs(me),Sn=rt;if(Jt===0)return Ae[0]+Sn;for(var En=0;Jt>0&&En<=4;En++){var yr=Jt%10;yr===0&&Zo(It,$A)&&Sn!==""?Sn=Ae[yr]+Sn:yr>1||yr===1&&En===0||yr===1&&En===1&&Zo(It,hd)||yr===1&&En===1&&Zo(It,El)&&me>100||yr===1&&En>1&&Zo(It,Ah)?Sn=Ae[yr]+(En>0?Ce[En-1]:"")+Sn:yr===1&&En>0&&(Sn=Ce[En-1]+Sn),Jt=Math.floor(Jt/10)}return(me<0?be:"")+Sn},qp="\u5341\u767E\u5343\u842C",Hh="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",b="\uB9C8\uC774\uB108\uC2A4",ne=function(me,Ae,Ce){var be=Ce?". ":"",rt=Ce?"\u3001":"",It=Ce?", ":"",Jt=Ce?" ":"";switch(Ae){case 0:return"\u2022"+Jt;case 1:return"\u25E6"+Jt;case 2:return"\u25FE"+Jt;case 5:var Sn=jl(me,48,57,!0,be);return Sn.length<4?"0"+Sn:Sn;case 4:return kd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",rt);case 6:return Td(me,1,3999,wp,3,be).toLowerCase();case 7:return Td(me,1,3999,wp,3,be);case 8:return jl(me,945,969,!1,be);case 9:return jl(me,97,122,!1,be);case 10:return jl(me,65,90,!1,be);case 11:return jl(me,1632,1641,!0,be);case 12:case 49:return Td(me,1,9999,ch,3,be);case 35:return Td(me,1,9999,ch,3,be).toLowerCase();case 13:return jl(me,2534,2543,!0,be);case 14:case 30:return jl(me,6112,6121,!0,be);case 15:return kd(me,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",rt);case 16:return kd(me,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",rt);case 17:case 48:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8CA0",rt,hd|El|Ah);case 47:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Hh,"\u8CA0",rt,$A|hd|El|Ah);case 42:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",qp,"\u8D1F",rt,hd|El|Ah);case 41:return pd(me,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Hh,"\u8D1F",rt,$A|hd|El|Ah);case 26:return pd(me,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,rt,0);case 25:return pd(me,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,rt,$A|hd|El);case 31:return pd(me,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",b,It,$A|hd|El);case 33:return pd(me,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",b,It,0);case 32:return pd(me,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",b,It,$A|hd|El);case 18:return jl(me,2406,2415,!0,be);case 20:return Td(me,1,19999,wl,3,be);case 21:return jl(me,2790,2799,!0,be);case 22:return jl(me,2662,2671,!0,be);case 22:return Td(me,1,10999,Jp,3,be);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 jl(me,3302,3311,!0,be);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",rt);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",rt);case 34:return jl(me,3792,3801,!0,be);case 37:return jl(me,6160,6169,!0,be);case 38:return jl(me,4160,4169,!0,be);case 39:return jl(me,2918,2927,!0,be);case 40:return jl(me,1776,1785,!0,be);case 43:return jl(me,3046,3055,!0,be);case 44:return jl(me,3174,3183,!0,be);case 45:return jl(me,3664,3673,!0,be);case 46:return jl(me,3872,3881,!0,be);case 3:default:return jl(me,48,57,!0,be)}},te="data-html2canvas-ignore",ue=function(){function me(Ae,Ce,be){if(this.context=Ae,this.options=be,this.scrolledElements=[],this.referenceElement=Ce,this.counters=new vg,this.quoteDepth=0,!Ce.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ce.ownerDocument.documentElement,!1)}return me.prototype.toIFrame=function(Ae,Ce){var be=this,rt=et(Ae,Ce);if(!rt.contentWindow)return Promise.reject("Unable to find iframe window");var It=Ae.defaultView.pageXOffset,Jt=Ae.defaultView.pageYOffset,Sn=rt.contentWindow,En=Sn.document,yr=Nt(rt).then(function(){return dt(be,void 0,void 0,function(){var Nr,Qr;return Le(this,function(Oi){switch(Oi.label){case 0:return this.scrolledElements.forEach(vi),Sn&&(Sn.scrollTo(Ce.left,Ce.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Sn.scrollY!==Ce.top||Sn.scrollX!==Ce.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Sn.scrollX-Ce.left,Sn.scrollY-Ce.top,0,0))),Nr=this.options.onclone,Qr=this.clonedReferenceElement,typeof Qr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:En.fonts&&En.fonts.ready?[4,En.fonts.ready]:[3,2];case 1:Oi.sent(),Oi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ft(En)]:[3,4];case 3:Oi.sent(),Oi.label=4;case 4:return typeof Nr=="function"?[2,Promise.resolve().then(function(){return Nr(En,Qr)}).then(function(){return rt})]:[2,rt]}})})});return En.open(),En.write(Pr(document.doctype)+"<html></html>"),wr(this.referenceElement.ownerDocument,It,Jt),En.replaceChild(En.adoptNode(this.documentElement),En.documentElement),En.close(),yr},me.prototype.createElementClone=function(Ae){if(us(Ae,2))debugger;if($p(Ae))return this.createCanvasClone(Ae);if(jh(Ae))return this.createVideoClone(Ae);if(sh(Ae))return this.createStyleClone(Ae);var Ce=Ae.cloneNode(!1);return af(Ce)&&(af(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(Ce.src=Ae.currentSrc,Ce.srcset=""),Ce.loading==="lazy"&&(Ce.loading="eager")),yp(Ce)?this.createCustomElementClone(Ce):Ce},me.prototype.createCustomElementClone=function(Ae){var Ce=document.createElement("html2canvascustomelement");return Hn(Ae.style,Ce),Ce},me.prototype.createStyleClone=function(Ae){try{var Ce=Ae.sheet;if(Ce&&Ce.cssRules){var be=[].slice.call(Ce.cssRules,0).reduce(function(It,Jt){return Jt&&typeof Jt.cssText=="string"?It+Jt.cssText:It},""),rt=Ae.cloneNode(!1);return rt.textContent=be,rt}}catch(It){if(this.context.logger.error("Unable to access cssRules property",It),It.name!=="SecurityError")throw It}return Ae.cloneNode(!1)},me.prototype.createCanvasClone=function(Ae){var Ce;if(this.options.inlineImages&&Ae.ownerDocument){var be=Ae.ownerDocument.createElement("img");try{return be.src=Ae.toDataURL(),be}catch(yr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var rt=Ae.cloneNode(!1);try{rt.width=Ae.width,rt.height=Ae.height;var It=Ae.getContext("2d"),Jt=rt.getContext("2d");if(Jt)if(!this.options.allowTaint&&It)Jt.putImageData(It.getImageData(0,0,Ae.width,Ae.height),0,0);else{var Sn=(Ce=Ae.getContext("webgl2"))!==null&&Ce!==void 0?Ce:Ae.getContext("webgl");if(Sn){var En=Sn.getContextAttributes();(En==null?void 0:En.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}Jt.drawImage(Ae,0,0)}return rt}catch(yr){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return rt},me.prototype.createVideoClone=function(Ae){var Ce=Ae.ownerDocument.createElement("canvas");Ce.width=Ae.offsetWidth,Ce.height=Ae.offsetHeight;var be=Ce.getContext("2d");try{return be&&(be.drawImage(Ae,0,0,Ce.width,Ce.height),this.options.allowTaint||be.getImageData(0,0,Ce.width,Ce.height)),Ce}catch(It){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var rt=Ae.ownerDocument.createElement("canvas");return rt.width=Ae.offsetWidth,rt.height=Ae.offsetHeight,rt},me.prototype.appendChildNode=function(Ae,Ce,be){(!YA(Ce)||!lh(Ce)&&!Ce.hasAttribute(te)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Ce)))&&(!this.options.copyStyles||!YA(Ce)||!sh(Ce))&&Ae.appendChild(this.cloneNode(Ce,be))},me.prototype.cloneChildNodes=function(Ae,Ce,be){for(var rt=this,It=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;It;It=It.nextSibling)if(YA(It)&&vp(It)&&typeof It.assignedNodes=="function"){var Jt=It.assignedNodes();Jt.length&&Jt.forEach(function(Sn){return rt.appendChildNode(Ce,Sn,be)})}else this.appendChildNode(Ce,It,be)},me.prototype.cloneNode=function(Ae,Ce){if(dd(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var be=Ae.ownerDocument.defaultView;if(be&&YA(Ae)&&(_h(Ae)||fd(Ae))){var rt=this.createElementClone(Ae);rt.style.transitionProperty="none";var It=be.getComputedStyle(Ae),Jt=be.getComputedStyle(Ae,":before"),Sn=be.getComputedStyle(Ae,":after");this.referenceElement===Ae&&_h(rt)&&(this.clonedReferenceElement=rt),Ql(rt)&&la(rt);var En=this.counters.parse(new al(this.context,It)),yr=this.resolvePseudoContent(Ae,rt,Jt,Te.BEFORE);yp(Ae)&&(Ce=!0),jh(Ae)||this.cloneChildNodes(Ae,rt,Ce),yr&&rt.insertBefore(yr,rt.firstChild);var Nr=this.resolvePseudoContent(Ae,rt,Sn,Te.AFTER);return Nr&&rt.appendChild(Nr),this.counters.pop(En),(It&&(this.options.copyStyles||fd(Ae))&&!FA(Ae)||Ce)&&Hn(It,rt),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([rt,Ae.scrollLeft,Ae.scrollTop]),(Nf(Ae)||uh(Ae))&&(Nf(rt)||uh(rt))&&(rt.value=Ae.value),rt}return Ae.cloneNode(!1)},me.prototype.resolvePseudoContent=function(Ae,Ce,be,rt){var It=this;if(be){var Jt=be.content,Sn=Ce.ownerDocument;if(!(!Sn||!Jt||Jt==="none"||Jt==="-moz-alt-content"||be.display==="none")){this.counters.parse(new al(this.context,be));var En=new xl(this.context,be),yr=Sn.createElement("html2canvaspseudoelement");Hn(be,yr),En.content.forEach(function(Qr){if(Qr.type===0)yr.appendChild(Sn.createTextNode(Qr.value));else if(Qr.type===22){var Oi=Sn.createElement("img");Oi.src=Qr.value,Oi.style.opacity="1",yr.appendChild(Oi)}else if(Qr.type===18){if(Qr.name==="attr"){var Aa=Qr.values.filter($a);Aa.length&&yr.appendChild(Sn.createTextNode(Ae.getAttribute(Aa[0].value)||""))}else if(Qr.name==="counter"){var go=Qr.values.filter(bu),Vo=go[0],gs=go[1];if(Vo&&$a(Vo)){var va=It.counters.getCounterValue(Vo.value),pa=gs&&$a(gs)?sd.parse(It.context,gs.value):3;yr.appendChild(Sn.createTextNode(ne(va,pa,!1)))}}else if(Qr.name==="counters"){var os=Qr.values.filter(bu),Vo=os[0],Es=os[1],gs=os[2];if(Vo&&$a(Vo)){var Ja=It.counters.getCounterValues(Vo.value),ia=gs&&$a(gs)?sd.parse(It.context,gs.value):3,Ys=Es&&Es.type===0?Es.value:"",Us=Ja.map(function(DA){return ne(DA,ia,!1)}).join(Ys);yr.appendChild(Sn.createTextNode(Us))}}}else if(Qr.type===20)switch(Qr.value){case"open-quote":yr.appendChild(Sn.createTextNode(Xo(En.quotes,It.quoteDepth++,!0)));break;case"close-quote":yr.appendChild(Sn.createTextNode(Xo(En.quotes,--It.quoteDepth,!1)));break;default:yr.appendChild(Sn.createTextNode(Qr.value))}}),yr.className=Oo+" "+Wo;var Nr=rt===Te.BEFORE?" "+Oo:" "+Wo;return fd(Ce)?Ce.className.baseValue+=Nr:Ce.className+=Nr,yr}}},me.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},me}(),Te;(function(me){me[me.BEFORE=0]="BEFORE",me[me.AFTER=1]="AFTER"})(Te||(Te={}));var et=function(me,Ae){var Ce=me.createElement("iframe");return Ce.className="html2canvas-container",Ce.style.visibility="hidden",Ce.style.position="fixed",Ce.style.left="-10000px",Ce.style.top="0px",Ce.style.border="0",Ce.width=Ae.width.toString(),Ce.height=Ae.height.toString(),Ce.scrolling="no",Ce.setAttribute(te,"true"),me.body.appendChild(Ce),Ce},yt=function(me){return new Promise(function(Ae){if(me.complete){Ae();return}if(!me.src){Ae();return}me.onload=Ae,me.onerror=Ae})},Ft=function(me){return Promise.all([].slice.call(me.images,0).map(yt))},Nt=function(me){return new Promise(function(Ae,Ce){var be=me.contentWindow;if(!be)return Ce("No window assigned for iframe");var rt=be.document;be.onload=me.onload=function(){be.onload=me.onload=null;var It=setInterval(function(){rt.body.childNodes.length>0&&rt.readyState==="complete"&&(clearInterval(It),Ae(me))},50)}})},Nn=["all","d","content"],Hn=function(me,Ae){for(var Ce=me.length-1;Ce>=0;Ce--){var be=me.item(Ce);Nn.indexOf(be)===-1&&Ae.style.setProperty(be,me.getPropertyValue(be))}return Ae},Pr=function(me){var Ae="";return me&&(Ae+="<!DOCTYPE ",me.name&&(Ae+=me.name),me.internalSubset&&(Ae+=me.internalSubset),me.publicId&&(Ae+='"'+me.publicId+'"'),me.systemId&&(Ae+='"'+me.systemId+'"'),Ae+=">"),Ae},wr=function(me,Ae,Ce){me&&me.defaultView&&(Ae!==me.defaultView.pageXOffset||Ce!==me.defaultView.pageYOffset)&&me.defaultView.scrollTo(Ae,Ce)},vi=function(me){var Ae=me[0],Ce=me[1],be=me[2];Ae.scrollLeft=Ce,Ae.scrollTop=be},Ki=":before",fo=":after",Oo="___html2canvas___pseudoelement_before",Wo="___html2canvas___pseudoelement_after",Po=`{
content: "" !important;
display: none !important;
}`,la=function(me){Ua(me,"."+Oo+Ki+Po+`
.`+Wo+fo+Po)},Ua=function(me,Ae){var Ce=me.ownerDocument;if(Ce){var be=Ce.createElement("style");be.textContent=Ae,me.appendChild(be)}},xa=function(){function me(){}return me.getOrigin=function(Ae){var Ce=me._link;return Ce?(Ce.href=Ae,Ce.href=Ce.href,Ce.protocol+Ce.hostname+Ce.port):"about:blank"},me.isSameOrigin=function(Ae){return me.getOrigin(Ae)===me._origin},me.setContext=function(Ae){me._link=Ae.document.createElement("a"),me._origin=me.getOrigin(Ae.location.href)},me._origin="about:blank",me}(),Ha=function(){function me(Ae,Ce){this.context=Ae,this._options=Ce,this._cache={}}return me.prototype.addImage=function(Ae){var Ce=Promise.resolve();return this.has(Ae)||(Bc(Ae)||xc(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),Ce},me.prototype.match=function(Ae){return this._cache[Ae]},me.prototype.loadImage=function(Ae){return dt(this,void 0,void 0,function(){var Ce,be,rt,It,Jt=this;return Le(this,function(Sn){switch(Sn.label){case 0:return Ce=xa.isSameOrigin(Ae),be=!nc(Ae)&&this._options.useCORS===!0&&gu.SUPPORT_CORS_IMAGES&&!Ce,rt=!nc(Ae)&&!Ce&&!Bc(Ae)&&typeof this._options.proxy=="string"&&gu.SUPPORT_CORS_XHR&&!be,!Ce&&this._options.allowTaint===!1&&!nc(Ae)&&!Bc(Ae)&&!rt&&!be?[2]:(It=Ae,rt?[4,this.proxy(It)]:[3,2]);case 1:It=Sn.sent(),Sn.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(En,yr){var Nr=new Image;Nr.onload=function(){return En(Nr)},Nr.onerror=yr,(Uu(It)||be)&&(Nr.crossOrigin="anonymous"),Nr.src=It,Nr.complete===!0&&setTimeout(function(){return En(Nr)},500),Jt._options.imageTimeout>0&&setTimeout(function(){return yr("Timed out ("+Jt._options.imageTimeout+"ms) loading image")},Jt._options.imageTimeout)})];case 3:return[2,Sn.sent()]}})})},me.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},me.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},me.prototype.proxy=function(Ae){var Ce=this,be=this._options.proxy;if(!be)throw new Error("No proxy defined");var rt=Ae.substring(0,256);return new Promise(function(It,Jt){var Sn=gu.SUPPORT_RESPONSE_TYPE?"blob":"text",En=new XMLHttpRequest;En.onload=function(){if(En.status===200)if(Sn==="text")It(En.response);else{var Qr=new FileReader;Qr.addEventListener("load",function(){return It(Qr.result)},!1),Qr.addEventListener("error",function(Oi){return Jt(Oi)},!1),Qr.readAsDataURL(En.response)}else Jt("Failed to proxy resource "+rt+" with status code "+En.status)},En.onerror=Jt;var yr=be.indexOf("?")>-1?"&":"?";if(En.open("GET",""+be+yr+"url="+encodeURIComponent(Ae)+"&responseType="+Sn),Sn!=="text"&&En instanceof XMLHttpRequest&&(En.responseType=Sn),Ce._options.imageTimeout){var Nr=Ce._options.imageTimeout;En.timeout=Nr,En.ontimeout=function(){return Jt("Timed out ("+Nr+"ms) proxying "+rt)}}En.send()})},me}(),Sl=/^data:image\/svg\+xml/i,Ku=/^data:image\/.*;base64,/i,Xl=/^data:image\/.*/i,xc=function(me){return gu.SUPPORT_SVG_DRAWING||!dc(me)},nc=function(me){return Xl.test(me)},Uu=function(me){return Ku.test(me)},Bc=function(me){return me.substr(0,4)==="blob"},dc=function(me){return me.substr(-3).toLowerCase()==="svg"||Sl.test(me)},Lo=function(){function me(Ae,Ce){this.type=0,this.x=Ae,this.y=Ce}return me.prototype.add=function(Ae,Ce){return new me(this.x+Ae,this.y+Ce)},me}(),Hl=function(me,Ae,Ce){return new Lo(me.x+(Ae.x-me.x)*Ce,me.y+(Ae.y-me.y)*Ce)},Yl=function(){function me(Ae,Ce,be,rt){this.type=1,this.start=Ae,this.startControl=Ce,this.endControl=be,this.end=rt}return me.prototype.subdivide=function(Ae,Ce){var be=Hl(this.start,this.startControl,Ae),rt=Hl(this.startControl,this.endControl,Ae),It=Hl(this.endControl,this.end,Ae),Jt=Hl(be,rt,Ae),Sn=Hl(rt,It,Ae),En=Hl(Jt,Sn,Ae);return Ce?new me(this.start,be,Jt,En):new me(En,Sn,It,this.end)},me.prototype.add=function(Ae,Ce){return new me(this.start.add(Ae,Ce),this.startControl.add(Ae,Ce),this.endControl.add(Ae,Ce),this.end.add(Ae,Ce))},me.prototype.reverse=function(){return new me(this.end,this.endControl,this.startControl,this.start)},me}(),$l=function(me){return me.type===1},Of=function(){function me(Ae){var Ce=Ae.styles,be=Ae.bounds,rt=Cu(Ce.borderTopLeftRadius,be.width,be.height),It=rt[0],Jt=rt[1],Sn=Cu(Ce.borderTopRightRadius,be.width,be.height),En=Sn[0],yr=Sn[1],Nr=Cu(Ce.borderBottomRightRadius,be.width,be.height),Qr=Nr[0],Oi=Nr[1],Aa=Cu(Ce.borderBottomLeftRadius,be.width,be.height),go=Aa[0],Vo=Aa[1],gs=[];gs.push((It+En)/be.width),gs.push((go+Qr)/be.width),gs.push((Jt+Vo)/be.height),gs.push((yr+Oi)/be.height);var va=Math.max.apply(Math,gs);va>1&&(It/=va,Jt/=va,En/=va,yr/=va,Qr/=va,Oi/=va,go/=va,Vo/=va);var pa=be.width-En,os=be.height-Oi,Es=be.width-Qr,Ja=be.height-Vo,ia=Ce.borderTopWidth,Ys=Ce.borderRightWidth,Us=Ce.borderBottomWidth,as=Ce.borderLeftWidth,Qo=ps(Ce.paddingTop,Ae.bounds.width),DA=ps(Ce.paddingRight,Ae.bounds.width),QA=ps(Ce.paddingBottom,Ae.bounds.width),zl=ps(Ce.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=It>0||Jt>0?Ls(be.left+as/3,be.top+ia/3,It-as/3,Jt-ia/3,Zs.TOP_LEFT):new Lo(be.left+as/3,be.top+ia/3),this.topRightBorderDoubleOuterBox=It>0||Jt>0?Ls(be.left+pa,be.top+ia/3,En-Ys/3,yr-ia/3,Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys/3,be.top+ia/3),this.bottomRightBorderDoubleOuterBox=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr-Ys/3,Oi-Us/3,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys/3,be.top+be.height-Us/3),this.bottomLeftBorderDoubleOuterBox=go>0||Vo>0?Ls(be.left+as/3,be.top+Ja,go-as/3,Vo-Us/3,Zs.BOTTOM_LEFT):new Lo(be.left+as/3,be.top+be.height-Us/3),this.topLeftBorderDoubleInnerBox=It>0||Jt>0?Ls(be.left+as*2/3,be.top+ia*2/3,It-as*2/3,Jt-ia*2/3,Zs.TOP_LEFT):new Lo(be.left+as*2/3,be.top+ia*2/3),this.topRightBorderDoubleInnerBox=It>0||Jt>0?Ls(be.left+pa,be.top+ia*2/3,En-Ys*2/3,yr-ia*2/3,Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys*2/3,be.top+ia*2/3),this.bottomRightBorderDoubleInnerBox=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr-Ys*2/3,Oi-Us*2/3,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys*2/3,be.top+be.height-Us*2/3),this.bottomLeftBorderDoubleInnerBox=go>0||Vo>0?Ls(be.left+as*2/3,be.top+Ja,go-as*2/3,Vo-Us*2/3,Zs.BOTTOM_LEFT):new Lo(be.left+as*2/3,be.top+be.height-Us*2/3),this.topLeftBorderStroke=It>0||Jt>0?Ls(be.left+as/2,be.top+ia/2,It-as/2,Jt-ia/2,Zs.TOP_LEFT):new Lo(be.left+as/2,be.top+ia/2),this.topRightBorderStroke=It>0||Jt>0?Ls(be.left+pa,be.top+ia/2,En-Ys/2,yr-ia/2,Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys/2,be.top+ia/2),this.bottomRightBorderStroke=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr-Ys/2,Oi-Us/2,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys/2,be.top+be.height-Us/2),this.bottomLeftBorderStroke=go>0||Vo>0?Ls(be.left+as/2,be.top+Ja,go-as/2,Vo-Us/2,Zs.BOTTOM_LEFT):new Lo(be.left+as/2,be.top+be.height-Us/2),this.topLeftBorderBox=It>0||Jt>0?Ls(be.left,be.top,It,Jt,Zs.TOP_LEFT):new Lo(be.left,be.top),this.topRightBorderBox=En>0||yr>0?Ls(be.left+pa,be.top,En,yr,Zs.TOP_RIGHT):new Lo(be.left+be.width,be.top),this.bottomRightBorderBox=Qr>0||Oi>0?Ls(be.left+Es,be.top+os,Qr,Oi,Zs.BOTTOM_RIGHT):new Lo(be.left+be.width,be.top+be.height),this.bottomLeftBorderBox=go>0||Vo>0?Ls(be.left,be.top+Ja,go,Vo,Zs.BOTTOM_LEFT):new Lo(be.left,be.top+be.height),this.topLeftPaddingBox=It>0||Jt>0?Ls(be.left+as,be.top+ia,Math.max(0,It-as),Math.max(0,Jt-ia),Zs.TOP_LEFT):new Lo(be.left+as,be.top+ia),this.topRightPaddingBox=En>0||yr>0?Ls(be.left+Math.min(pa,be.width-Ys),be.top+ia,pa>be.width+Ys?0:Math.max(0,En-Ys),Math.max(0,yr-ia),Zs.TOP_RIGHT):new Lo(be.left+be.width-Ys,be.top+ia),this.bottomRightPaddingBox=Qr>0||Oi>0?Ls(be.left+Math.min(Es,be.width-as),be.top+Math.min(os,be.height-Us),Math.max(0,Qr-Ys),Math.max(0,Oi-Us),Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-Ys,be.top+be.height-Us),this.bottomLeftPaddingBox=go>0||Vo>0?Ls(be.left+as,be.top+Math.min(Ja,be.height-Us),Math.max(0,go-as),Math.max(0,Vo-Us),Zs.BOTTOM_LEFT):new Lo(be.left+as,be.top+be.height-Us),this.topLeftContentBox=It>0||Jt>0?Ls(be.left+as+zl,be.top+ia+Qo,Math.max(0,It-(as+zl)),Math.max(0,Jt-(ia+Qo)),Zs.TOP_LEFT):new Lo(be.left+as+zl,be.top+ia+Qo),this.topRightContentBox=En>0||yr>0?Ls(be.left+Math.min(pa,be.width+as+zl),be.top+ia+Qo,pa>be.width+as+zl?0:En-as+zl,yr-(ia+Qo),Zs.TOP_RIGHT):new Lo(be.left+be.width-(Ys+DA),be.top+ia+Qo),this.bottomRightContentBox=Qr>0||Oi>0?Ls(be.left+Math.min(Es,be.width-(as+zl)),be.top+Math.min(os,be.height+ia+Qo),Math.max(0,Qr-(Ys+DA)),Oi-(Us+QA),Zs.BOTTOM_RIGHT):new Lo(be.left+be.width-(Ys+DA),be.top+be.height-(Us+QA)),this.bottomLeftContentBox=go>0||Vo>0?Ls(be.left+as+zl,be.top+Ja,Math.max(0,go-(as+zl)),Vo-(Us+QA),Zs.BOTTOM_LEFT):new Lo(be.left+as+zl,be.top+be.height-(Us+QA))}return me}(),Zs;(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"})(Zs||(Zs={}));var Ls=function(me,Ae,Ce,be,rt){var It=4*((Math.sqrt(2)-1)/3),Jt=Ce*It,Sn=be*It,En=me+Ce,yr=Ae+be;switch(rt){case Zs.TOP_LEFT:return new Yl(new Lo(me,yr),new Lo(me,yr-Sn),new Lo(En-Jt,Ae),new Lo(En,Ae));case Zs.TOP_RIGHT:return new Yl(new Lo(me,Ae),new Lo(me+Jt,Ae),new Lo(En,yr-Sn),new Lo(En,yr));case Zs.BOTTOM_RIGHT:return new Yl(new Lo(En,Ae),new Lo(En,Ae+Sn),new Lo(me+Jt,yr),new Lo(me,yr));case Zs.BOTTOM_LEFT:default:return new Yl(new Lo(En,yr),new Lo(En-Jt,yr),new Lo(me,Ae+Sn),new Lo(me,Ae))}},sA=function(me){return[me.topLeftBorderBox,me.topRightBorderBox,me.bottomRightBorderBox,me.bottomLeftBorderBox]},fc=function(me){return[me.topLeftContentBox,me.topRightContentBox,me.bottomRightContentBox,me.bottomLeftContentBox]},dh=function(me){return[me.topLeftPaddingBox,me.topRightPaddingBox,me.bottomRightPaddingBox,me.bottomLeftPaddingBox]},Ra=function(){function me(Ae,Ce,be){this.offsetX=Ae,this.offsetY=Ce,this.matrix=be,this.type=0,this.target=6}return me}(),IA=function(){function me(Ae,Ce){this.path=Ae,this.target=Ce,this.type=1}return me}(),dl=function(){function me(Ae){this.opacity=Ae,this.type=2,this.target=6}return me}(),hc=function(me){return me.type===0},Md=function(me){return me.type===1},Pf=function(me){return me.type===2},Tf=function(me,Ae){return me.length===Ae.length?me.some(function(Ce,be){return Ce===Ae[be]}):!1},Jg=function(me,Ae,Ce,be,rt){return me.map(function(It,Jt){switch(Jt){case 0:return It.add(Ae,Ce);case 1:return It.add(Ae+be,Ce);case 2:return It.add(Ae+be,Ce+rt);case 3:return It.add(Ae,Ce+rt)}return It})},bp=function(){function me(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return me}(),wg=function(){function me(Ae,Ce){if(this.container=Ae,this.parent=Ce,this.effects=[],this.curves=new Of(this.container),this.container.styles.opacity<1&&this.effects.push(new dl(this.container.styles.opacity)),this.container.styles.transform!==null){var be=this.container.bounds.left+this.container.styles.transformOrigin[0].number,rt=this.container.bounds.top+this.container.styles.transformOrigin[1].number,It=this.container.styles.transform;this.effects.push(new Ra(be,rt,It))}if(this.container.styles.overflowX!==0){var Jt=sA(this.curves),Sn=dh(this.curves);Tf(Jt,Sn)?this.effects.push(new IA(Jt,6)):(this.effects.push(new IA(Jt,2)),this.effects.push(new IA(Sn,4)))}}return me.prototype.getEffects=function(Ae){for(var Ce=[2,3].indexOf(this.container.styles.position)===-1,be=this.parent,rt=this.effects.slice(0);be;){var It=be.effects.filter(function(En){return!Md(En)});if(Ce||be.container.styles.position!==0||!be.parent){if(rt.unshift.apply(rt,It),Ce=[2,3].indexOf(be.container.styles.position)===-1,be.container.styles.overflowX!==0){var Jt=sA(be.curves),Sn=dh(be.curves);Tf(Jt,Sn)||rt.unshift(new IA(Sn,6))}}else rt.unshift.apply(rt,It);be=be.parent}return rt.filter(function(En){return Zo(En.target,Ae)})},me}(),Cp=function(me,Ae,Ce,be){me.container.elements.forEach(function(rt){var It=Zo(rt.flags,4),Jt=Zo(rt.flags,2),Sn=new wg(rt,me);Zo(rt.styles.display,2048)&&be.push(Sn);var En=Zo(rt.flags,8)?[]:be;if(It||Jt){var yr=It||rt.styles.isPositioned()?Ce:Ae,Nr=new bp(Sn);if(rt.styles.isPositioned()||rt.styles.opacity<1||rt.styles.isTransformed()){var Qr=rt.styles.zIndex.order;if(Qr<0){var Oi=0;yr.negativeZIndex.some(function(go,Vo){return Qr>go.element.container.styles.zIndex.order?(Oi=Vo,!1):Oi>0}),yr.negativeZIndex.splice(Oi,0,Nr)}else if(Qr>0){var Aa=0;yr.positiveZIndex.some(function(go,Vo){return Qr>=go.element.container.styles.zIndex.order?(Aa=Vo+1,!1):Aa>0}),yr.positiveZIndex.splice(Aa,0,Nr)}else yr.zeroOrAutoZIndexOrTransformedOrOpacity.push(Nr)}else rt.styles.isFloating()?yr.nonPositionedFloats.push(Nr):yr.nonPositionedInlineLevel.push(Nr);Cp(Sn,Nr,It?Nr:Ce,En)}else rt.styles.isInlineLevel()?Ae.inlineLevel.push(Sn):Ae.nonInlineLevel.push(Sn),Cp(Sn,Ae,Ce,En);Zo(rt.flags,8)&&xp(rt,En)})},xp=function(me,Ae){for(var Ce=me instanceof of?me.start:1,be=me instanceof of?me.reversed:!1,rt=0;rt<Ae.length;rt++){var It=Ae[rt];It.container instanceof Od&&typeof It.container.value=="number"&&It.container.value!==0&&(Ce=It.container.value),It.listValue=ne(Ce,It.container.styles.listStyleType,!0),Ce+=be?-1:1}},qc=function(me){var Ae=new wg(me,null),Ce=new bp(Ae),be=[];return Cp(Ae,Ce,Ce,be),xp(Ae.container,be),Ce},Qc=function(me,Ae){switch(Ae){case 0:return _A(me.topLeftBorderBox,me.topLeftPaddingBox,me.topRightBorderBox,me.topRightPaddingBox);case 1:return _A(me.topRightBorderBox,me.topRightPaddingBox,me.bottomRightBorderBox,me.bottomRightPaddingBox);case 2:return _A(me.bottomRightBorderBox,me.bottomRightPaddingBox,me.bottomLeftBorderBox,me.bottomLeftPaddingBox);case 3:default:return _A(me.bottomLeftBorderBox,me.bottomLeftPaddingBox,me.topLeftBorderBox,me.topLeftPaddingBox)}},eA=function(me,Ae){switch(Ae){case 0:return _A(me.topLeftBorderBox,me.topLeftBorderDoubleOuterBox,me.topRightBorderBox,me.topRightBorderDoubleOuterBox);case 1:return _A(me.topRightBorderBox,me.topRightBorderDoubleOuterBox,me.bottomRightBorderBox,me.bottomRightBorderDoubleOuterBox);case 2:return _A(me.bottomRightBorderBox,me.bottomRightBorderDoubleOuterBox,me.bottomLeftBorderBox,me.bottomLeftBorderDoubleOuterBox);case 3:default:return _A(me.bottomLeftBorderBox,me.bottomLeftBorderDoubleOuterBox,me.topLeftBorderBox,me.topLeftBorderDoubleOuterBox)}},tA=function(me,Ae){switch(Ae){case 0:return _A(me.topLeftBorderDoubleInnerBox,me.topLeftPaddingBox,me.topRightBorderDoubleInnerBox,me.topRightPaddingBox);case 1:return _A(me.topRightBorderDoubleInnerBox,me.topRightPaddingBox,me.bottomRightBorderDoubleInnerBox,me.bottomRightPaddingBox);case 2:return _A(me.bottomRightBorderDoubleInnerBox,me.bottomRightPaddingBox,me.bottomLeftBorderDoubleInnerBox,me.bottomLeftPaddingBox);case 3:default:return _A(me.bottomLeftBorderDoubleInnerBox,me.bottomLeftPaddingBox,me.topLeftBorderDoubleInnerBox,me.topLeftPaddingBox)}},qg=function(me,Ae){switch(Ae){case 0:return eg(me.topLeftBorderStroke,me.topRightBorderStroke);case 1:return eg(me.topRightBorderStroke,me.bottomRightBorderStroke);case 2:return eg(me.bottomRightBorderStroke,me.bottomLeftBorderStroke);case 3:default:return eg(me.bottomLeftBorderStroke,me.topLeftBorderStroke)}},eg=function(me,Ae){var Ce=[];return $l(me)?Ce.push(me.subdivide(.5,!1)):Ce.push(me),$l(Ae)?Ce.push(Ae.subdivide(.5,!0)):Ce.push(Ae),Ce},_A=function(me,Ae,Ce,be){var rt=[];return $l(me)?rt.push(me.subdivide(.5,!1)):rt.push(me),$l(Ce)?rt.push(Ce.subdivide(.5,!0)):rt.push(Ce),$l(be)?rt.push(be.subdivide(.5,!0).reverse()):rt.push(be),$l(Ae)?rt.push(Ae.subdivide(.5,!1).reverse()):rt.push(Ae),rt},em=function(me){var Ae=me.bounds,Ce=me.styles;return Ae.add(Ce.borderLeftWidth,Ce.borderTopWidth,-(Ce.borderRightWidth+Ce.borderLeftWidth),-(Ce.borderTopWidth+Ce.borderBottomWidth))},tg=function(me){var Ae=me.styles,Ce=me.bounds,be=ps(Ae.paddingLeft,Ce.width),rt=ps(Ae.paddingRight,Ce.width),It=ps(Ae.paddingTop,Ce.width),Jt=ps(Ae.paddingBottom,Ce.width);return Ce.add(be+Ae.borderLeftWidth,It+Ae.borderTopWidth,-(Ae.borderRightWidth+Ae.borderLeftWidth+be+rt),-(Ae.borderTopWidth+Ae.borderBottomWidth+It+Jt))},bg=function(me,Ae){return me===0?Ae.bounds:me===2?tg(Ae):em(Ae)},jm=function(me,Ae){return me===0?Ae.bounds:me===2?tg(Ae):em(Ae)},Ud=function(me,Ae,Ce){var be=bg(gd(me.styles.backgroundOrigin,Ae),me),rt=jm(gd(me.styles.backgroundClip,Ae),me),It=zh(gd(me.styles.backgroundSize,Ae),Ce,be),Jt=It[0],Sn=It[1],En=Cu(gd(me.styles.backgroundPosition,Ae),be.width-Jt,be.height-Sn),yr=tm(gd(me.styles.backgroundRepeat,Ae),En,It,be,rt),Nr=Math.round(be.left+En[0]),Qr=Math.round(be.top+En[1]);return[yr,Nr,Qr,Jt,Sn]},kf=function(me){return $a(me)&&me.value===Rl.AUTO},Bp=function(me){return typeof me=="number"},zh=function(me,Ae,Ce){var be=Ae[0],rt=Ae[1],It=Ae[2],Jt=me[0],Sn=me[1];if(!Jt)return[0,0];if(Bo(Jt)&&Sn&&Bo(Sn))return[ps(Jt,Ce.width),ps(Sn,Ce.height)];var En=Bp(It);if($a(Jt)&&(Jt.value===Rl.CONTAIN||Jt.value===Rl.COVER)){if(Bp(It)){var yr=Ce.width/Ce.height;return yr<It!=(Jt.value===Rl.COVER)?[Ce.width,Ce.width/It]:[Ce.height*It,Ce.height]}return[Ce.width,Ce.height]}var Nr=Bp(be),Qr=Bp(rt),Oi=Nr||Qr;if(kf(Jt)&&(!Sn||kf(Sn))){if(Nr&&Qr)return[be,rt];if(!En&&!Oi)return[Ce.width,Ce.height];if(Oi&&En){var Aa=Nr?be:rt*It,go=Qr?rt:be/It;return[Aa,go]}var Vo=Nr?be:Ce.width,gs=Qr?rt:Ce.height;return[Vo,gs]}if(En){var va=0,pa=0;return Bo(Jt)?va=ps(Jt,Ce.width):Bo(Sn)&&(pa=ps(Sn,Ce.height)),kf(Jt)?va=pa*It:(!Sn||kf(Sn))&&(pa=va/It),[va,pa]}var os=null,Es=null;if(Bo(Jt)?os=ps(Jt,Ce.width):Sn&&Bo(Sn)&&(Es=ps(Sn,Ce.height)),os!==null&&(!Sn||kf(Sn))&&(Es=Nr&&Qr?os/be*rt:Ce.height),Es!==null&&kf(Jt)&&(os=Nr&&Qr?Es/rt*be:Ce.width),os!==null&&Es!==null)return[os,Es];throw new Error("Unable to calculate background-size for element")},gd=function(me,Ae){var Ce=me[Ae];return typeof Ce=="undefined"?me[0]:Ce},tm=function(me,Ae,Ce,be,rt){var It=Ae[0],Jt=Ae[1],Sn=Ce[0],En=Ce[1];switch(me){case 2:return[new Lo(Math.round(be.left),Math.round(be.top+Jt)),new Lo(Math.round(be.left+be.width),Math.round(be.top+Jt)),new Lo(Math.round(be.left+be.width),Math.round(En+be.top+Jt)),new Lo(Math.round(be.left),Math.round(En+be.top+Jt))];case 3:return[new Lo(Math.round(be.left+It),Math.round(be.top)),new Lo(Math.round(be.left+It+Sn),Math.round(be.top)),new Lo(Math.round(be.left+It+Sn),Math.round(be.height+be.top)),new Lo(Math.round(be.left+It),Math.round(be.height+be.top))];case 1:return[new Lo(Math.round(be.left+It),Math.round(be.top+Jt)),new Lo(Math.round(be.left+It+Sn),Math.round(be.top+Jt)),new Lo(Math.round(be.left+It+Sn),Math.round(be.top+Jt+En)),new Lo(Math.round(be.left+It),Math.round(be.top+Jt+En))];default:return[new Lo(Math.round(rt.left),Math.round(rt.top)),new Lo(Math.round(rt.left+rt.width),Math.round(rt.top)),new Lo(Math.round(rt.left+rt.width),Math.round(rt.height+rt.top)),new Lo(Math.round(rt.left),Math.round(rt.height+rt.top))]}},Ep="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Cg="Hidden Text",Mf=function(){function me(Ae){this._data={},this._document=Ae}return me.prototype.parseMetrics=function(Ae,Ce){var be=this._document.createElement("div"),rt=this._document.createElement("img"),It=this._document.createElement("span"),Jt=this._document.body;be.style.visibility="hidden",be.style.fontFamily=Ae,be.style.fontSize=Ce,be.style.margin="0",be.style.padding="0",be.style.whiteSpace="nowrap",Jt.appendChild(be),rt.src=Ep,rt.width=1,rt.height=1,rt.style.margin="0",rt.style.padding="0",rt.style.verticalAlign="baseline",It.style.fontFamily=Ae,It.style.fontSize=Ce,It.style.margin="0",It.style.padding="0",It.appendChild(this._document.createTextNode(Cg)),be.appendChild(It),be.appendChild(rt);var Sn=rt.offsetTop-It.offsetTop+2;be.removeChild(It),be.appendChild(this._document.createTextNode(Cg)),be.style.lineHeight="normal",rt.style.verticalAlign="super";var En=rt.offsetTop-be.offsetTop+2;return Jt.removeChild(be),{baseline:Sn,middle:En}},me.prototype.getMetrics=function(Ae,Ce){var be=Ae+" "+Ce;return typeof this._data[be]=="undefined"&&(this._data[be]=this.parseMetrics(Ae,Ce)),this._data[be]},me}(),Uf=function(){function me(Ae,Ce){this.context=Ae,this.options=Ce}return me}(),Na=1e4,Zu=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt._activeEffects=[],rt.canvas=be.canvas?be.canvas:document.createElement("canvas"),rt.ctx=rt.canvas.getContext("2d"),be.canvas||(rt.canvas.width=Math.floor(be.width*be.scale),rt.canvas.height=Math.floor(be.height*be.scale),rt.canvas.style.width=be.width+"px",rt.canvas.style.height=be.height+"px"),rt.fontMetrics=new Mf(document),rt.ctx.scale(rt.options.scale,rt.options.scale),rt.ctx.translate(-be.x,-be.y),rt.ctx.textBaseline="bottom",rt._activeEffects=[],rt.context.logger.debug("Canvas renderer initialized ("+be.width+"x"+be.height+") with scale "+be.scale),rt}return Ae.prototype.applyEffects=function(Ce){for(var be=this;this._activeEffects.length;)this.popEffect();Ce.forEach(function(rt){return be.applyEffect(rt)})},Ae.prototype.applyEffect=function(Ce){this.ctx.save(),Pf(Ce)&&(this.ctx.globalAlpha=Ce.opacity),hc(Ce)&&(this.ctx.translate(Ce.offsetX,Ce.offsetY),this.ctx.transform(Ce.matrix[0],Ce.matrix[1],Ce.matrix[2],Ce.matrix[3],Ce.matrix[4],Ce.matrix[5]),this.ctx.translate(-Ce.offsetX,-Ce.offsetY)),Md(Ce)&&(this.path(Ce.path),this.ctx.clip()),this._activeEffects.push(Ce)},Ae.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},Ae.prototype.renderStack=function(Ce){return dt(this,void 0,void 0,function(){var be;return Le(this,function(rt){switch(rt.label){case 0:return be=Ce.element.container.styles,be.isVisible()?[4,this.renderStackContent(Ce)]:[3,2];case 1:rt.sent(),rt.label=2;case 2:return[2]}})})},Ae.prototype.renderNode=function(Ce){return dt(this,void 0,void 0,function(){return Le(this,function(be){switch(be.label){case 0:if(Zo(Ce.container.flags,16))debugger;return Ce.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Ce)]:[3,3];case 1:return be.sent(),[4,this.renderNodeContent(Ce)];case 2:be.sent(),be.label=3;case 3:return[2]}})})},Ae.prototype.renderTextWithLetterSpacing=function(Ce,be,rt){var It=this;if(be===0)this.ctx.fillText(Ce.text,Ce.bounds.left,Ce.bounds.top+rt);else{var Jt=If(Ce.text);Jt.reduce(function(Sn,En){return It.ctx.fillText(En,Sn,Ce.bounds.top+rt),Sn+It.ctx.measureText(En).width},Ce.bounds.left)}},Ae.prototype.createFontStyle=function(Ce){var be=Ce.fontVariant.filter(function(Jt){return Jt==="normal"||Jt==="small-caps"}).join(""),rt=Rf(Ce.fontFamily).join(", "),It=es(Ce.fontSize)?""+Ce.fontSize.number+Ce.fontSize.unit:Ce.fontSize.number+"px";return[[Ce.fontStyle,be,Ce.fontWeight,It,rt].join(" "),rt,It]},Ae.prototype.renderTextNode=function(Ce,be){return dt(this,void 0,void 0,function(){var rt,It,Jt,Sn,En,yr,Nr,Qr,Oi=this;return Le(this,function(Aa){return rt=this.createFontStyle(be),It=rt[0],Jt=rt[1],Sn=rt[2],this.ctx.font=It,this.ctx.direction=be.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",En=this.fontMetrics.getMetrics(Jt,Sn),yr=En.baseline,Nr=En.middle,Qr=be.paintOrder,Ce.textBounds.forEach(function(go){Qr.forEach(function(Vo){switch(Vo){case 0:Oi.ctx.fillStyle=ml(be.color),Oi.renderTextWithLetterSpacing(go,be.letterSpacing,yr);var gs=be.textShadow;gs.length&&go.text.trim().length&&(gs.slice(0).reverse().forEach(function(va){Oi.ctx.shadowColor=ml(va.color),Oi.ctx.shadowOffsetX=va.offsetX.number*Oi.options.scale,Oi.ctx.shadowOffsetY=va.offsetY.number*Oi.options.scale,Oi.ctx.shadowBlur=va.blur.number,Oi.renderTextWithLetterSpacing(go,be.letterSpacing,yr)}),Oi.ctx.shadowColor="",Oi.ctx.shadowOffsetX=0,Oi.ctx.shadowOffsetY=0,Oi.ctx.shadowBlur=0),be.textDecorationLine.length&&(Oi.ctx.fillStyle=ml(be.textDecorationColor||be.color),be.textDecorationLine.forEach(function(va){switch(va){case 1:Oi.ctx.fillRect(go.bounds.left,Math.round(go.bounds.top+yr),go.bounds.width,1);break;case 2:Oi.ctx.fillRect(go.bounds.left,Math.round(go.bounds.top),go.bounds.width,1);break;case 3:Oi.ctx.fillRect(go.bounds.left,Math.ceil(go.bounds.top+Nr),go.bounds.width,1);break}}));break;case 1:be.webkitTextStrokeWidth&&go.text.trim().length&&(Oi.ctx.strokeStyle=ml(be.webkitTextStrokeColor),Oi.ctx.lineWidth=be.webkitTextStrokeWidth,Oi.ctx.lineJoin=window.chrome?"miter":"round",Oi.ctx.strokeText(go.text,go.bounds.left,go.bounds.top+yr)),Oi.ctx.strokeStyle="",Oi.ctx.lineWidth=0,Oi.ctx.lineJoin="miter";break}})}),[2]})})},Ae.prototype.renderReplacedElement=function(Ce,be,rt){if(rt&&Ce.intrinsicWidth>0&&Ce.intrinsicHeight>0){var It=tg(Ce),Jt=dh(be);this.path(Jt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(rt,0,0,Ce.intrinsicWidth,Ce.intrinsicHeight,It.left,It.top,It.width,It.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(Ce){return dt(this,void 0,void 0,function(){var be,rt,It,Jt,Sn,En,pa,pa,yr,Nr,Qr,Oi,Es,Aa,go,Ja,Vo,gs,va,pa,os,Es,Ja;return Le(this,function(ia){switch(ia.label){case 0:this.applyEffects(Ce.getEffects(4)),be=Ce.container,rt=Ce.curves,It=be.styles,Jt=0,Sn=be.textNodes,ia.label=1;case 1:return Jt<Sn.length?(En=Sn[Jt],[4,this.renderTextNode(En,It)]):[3,4];case 2:ia.sent(),ia.label=3;case 3:return Jt++,[3,1];case 4:if(!(be instanceof Lf))return[3,8];ia.label=5;case 5:return ia.trys.push([5,7,,8]),[4,this.context.cache.match(be.src)];case 6:return pa=ia.sent(),this.renderReplacedElement(be,rt,pa),[3,8];case 7:return ia.sent(),this.context.logger.error("Error loading image "+be.src),[3,8];case 8:if(be instanceof Nd&&this.renderReplacedElement(be,rt,be.canvas),!(be instanceof Df))return[3,12];ia.label=9;case 9:return ia.trys.push([9,11,,12]),[4,this.context.cache.match(be.svg)];case 10:return pa=ia.sent(),this.renderReplacedElement(be,rt,pa),[3,12];case 11:return ia.sent(),this.context.logger.error("Error loading svg "+be.svg.substring(0,255)),[3,12];case 12:return be instanceof ks&&be.tree?(yr=new Ae(this.context,{scale:this.options.scale,backgroundColor:be.backgroundColor,x:0,y:0,width:be.width,height:be.height}),[4,yr.render(be.tree)]):[3,14];case 13:Nr=ia.sent(),be.width&&be.height&&this.ctx.drawImage(Nr,0,0,be.width,be.height,be.bounds.left,be.bounds.top,be.bounds.width,be.bounds.height),ia.label=14;case 14:if(be instanceof cd&&(Qr=Math.min(be.bounds.width,be.bounds.height),be.type===ud?be.checked&&(this.ctx.save(),this.path([new Lo(be.bounds.left+Qr*.39363,be.bounds.top+Qr*.79),new Lo(be.bounds.left+Qr*.16,be.bounds.top+Qr*.5549),new Lo(be.bounds.left+Qr*.27347,be.bounds.top+Qr*.44071),new Lo(be.bounds.left+Qr*.39694,be.bounds.top+Qr*.5649),new Lo(be.bounds.left+Qr*.72983,be.bounds.top+Qr*.23),new Lo(be.bounds.left+Qr*.84,be.bounds.top+Qr*.34085),new Lo(be.bounds.left+Qr*.39363,be.bounds.top+Qr*.79)]),this.ctx.fillStyle=ml(Pd),this.ctx.fill(),this.ctx.restore()):be.type===EA&&be.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(be.bounds.left+Qr/2,be.bounds.top+Qr/2,Qr/4,0,Math.PI*2,!0),this.ctx.fillStyle=ml(Pd),this.ctx.fill(),this.ctx.restore())),xg(be)&&be.value.length){switch(Oi=this.createFontStyle(It),Es=Oi[0],Aa=Oi[1],go=this.fontMetrics.getMetrics(Es,Aa).baseline,this.ctx.font=Es,this.ctx.fillStyle=ml(It.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Kh(be.styles.textAlign),Ja=tg(be),Vo=0,be.styles.textAlign){case 1:Vo+=Ja.width/2;break;case 2:Vo+=Ja.width;break}gs=Ja.add(Vo,0,0,-Ja.height/2+1),this.ctx.save(),this.path([new Lo(Ja.left,Ja.top),new Lo(Ja.left+Ja.width,Ja.top),new Lo(Ja.left+Ja.width,Ja.top+Ja.height),new Lo(Ja.left,Ja.top+Ja.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new _c(be.value,gs),It.letterSpacing,go),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Zo(be.styles.display,2048))return[3,20];if(be.styles.listStyleImage===null)return[3,19];if(va=be.styles.listStyleImage,va.type!==0)return[3,18];pa=void 0,os=va.url,ia.label=15;case 15:return ia.trys.push([15,17,,18]),[4,this.context.cache.match(os)];case 16:return pa=ia.sent(),this.ctx.drawImage(pa,be.bounds.left-(pa.width+10),be.bounds.top),[3,18];case 17:return ia.sent(),this.context.logger.error("Error loading list-style-image "+os),[3,18];case 18:return[3,20];case 19:Ce.listValue&&be.styles.listStyleType!==-1&&(Es=this.createFontStyle(It)[0],this.ctx.font=Es,this.ctx.fillStyle=ml(It.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ja=new He(be.bounds.left,be.bounds.top+ps(be.styles.paddingTop,be.bounds.width),be.bounds.width,Pu(It.lineHeight,It.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new _c(Ce.listValue,Ja),It.letterSpacing,Pu(It.lineHeight,It.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ia.label=20;case 20:return[2]}})})},Ae.prototype.renderStackContent=function(Ce){return dt(this,void 0,void 0,function(){var be,rt,va,It,Jt,va,Sn,En,va,yr,Nr,va,Qr,Oi,va,Aa,go,va,Vo,gs,va;return Le(this,function(pa){switch(pa.label){case 0:if(Zo(Ce.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Ce.element)];case 1:pa.sent(),be=0,rt=Ce.negativeZIndex,pa.label=2;case 2:return be<rt.length?(va=rt[be],[4,this.renderStack(va)]):[3,5];case 3:pa.sent(),pa.label=4;case 4:return be++,[3,2];case 5:return[4,this.renderNodeContent(Ce.element)];case 6:pa.sent(),It=0,Jt=Ce.nonInlineLevel,pa.label=7;case 7:return It<Jt.length?(va=Jt[It],[4,this.renderNode(va)]):[3,10];case 8:pa.sent(),pa.label=9;case 9:return It++,[3,7];case 10:Sn=0,En=Ce.nonPositionedFloats,pa.label=11;case 11:return Sn<En.length?(va=En[Sn],[4,this.renderStack(va)]):[3,14];case 12:pa.sent(),pa.label=13;case 13:return Sn++,[3,11];case 14:yr=0,Nr=Ce.nonPositionedInlineLevel,pa.label=15;case 15:return yr<Nr.length?(va=Nr[yr],[4,this.renderStack(va)]):[3,18];case 16:pa.sent(),pa.label=17;case 17:return yr++,[3,15];case 18:Qr=0,Oi=Ce.inlineLevel,pa.label=19;case 19:return Qr<Oi.length?(va=Oi[Qr],[4,this.renderNode(va)]):[3,22];case 20:pa.sent(),pa.label=21;case 21:return Qr++,[3,19];case 22:Aa=0,go=Ce.zeroOrAutoZIndexOrTransformedOrOpacity,pa.label=23;case 23:return Aa<go.length?(va=go[Aa],[4,this.renderStack(va)]):[3,26];case 24:pa.sent(),pa.label=25;case 25:return Aa++,[3,23];case 26:Vo=0,gs=Ce.positiveZIndex,pa.label=27;case 27:return Vo<gs.length?(va=gs[Vo],[4,this.renderStack(va)]):[3,30];case 28:pa.sent(),pa.label=29;case 29:return Vo++,[3,27];case 30:return[2]}})})},Ae.prototype.mask=function(Ce){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(Ce.slice(0).reverse()),this.ctx.closePath()},Ae.prototype.path=function(Ce){this.ctx.beginPath(),this.formatPath(Ce),this.ctx.closePath()},Ae.prototype.formatPath=function(Ce){var be=this;Ce.forEach(function(rt,It){var Jt=$l(rt)?rt.start:rt;It===0?be.ctx.moveTo(Jt.x,Jt.y):be.ctx.lineTo(Jt.x,Jt.y),$l(rt)&&be.ctx.bezierCurveTo(rt.startControl.x,rt.startControl.y,rt.endControl.x,rt.endControl.y,rt.end.x,rt.end.y)})},Ae.prototype.renderRepeat=function(Ce,be,rt,It){this.path(Ce),this.ctx.fillStyle=be,this.ctx.translate(rt,It),this.ctx.fill(),this.ctx.translate(-rt,-It)},Ae.prototype.resizeImage=function(Ce,be,rt){var It;if(Ce.width===be&&Ce.height===rt)return Ce;var Jt=(It=this.canvas.ownerDocument)!==null&&It!==void 0?It:document,Sn=Jt.createElement("canvas");Sn.width=Math.max(1,be),Sn.height=Math.max(1,rt);var En=Sn.getContext("2d");return En.drawImage(Ce,0,0,Ce.width,Ce.height,0,0,be,rt),Sn},Ae.prototype.renderBackgroundImage=function(Ce){return dt(this,void 0,void 0,function(){var be,rt,It,Jt,Sn,En;return Le(this,function(yr){switch(yr.label){case 0:be=Ce.styles.backgroundImage.length-1,rt=function(Nr){var Qr,Oi,Aa,Qo,nA,lA,zl,Nc,Us,go,Qo,nA,lA,zl,Nc,Vo,gs,va,pa,os,Es,Ja,ia,Ys,Us,as,Qo,DA,QA,zl,Nc,sf,nA,lA,hh,JA,lf,ph,_f,_d,Qf,uf;return Le(this,function(Zh){switch(Zh.label){case 0:if(Nr.type!==0)return[3,5];Qr=void 0,Oi=Nr.url,Zh.label=1;case 1:return Zh.trys.push([1,3,,4]),[4,It.context.cache.match(Oi)];case 2:return Qr=Zh.sent(),[3,4];case 3:return Zh.sent(),It.context.logger.error("Error loading background-image "+Oi),[3,4];case 4:return Qr&&(Aa=Ud(Ce,be,[Qr.width,Qr.height,Qr.width/Qr.height]),Qo=Aa[0],nA=Aa[1],lA=Aa[2],zl=Aa[3],Nc=Aa[4],Us=It.ctx.createPattern(It.resizeImage(Qr,zl,Nc),"repeat"),It.renderRepeat(Qo,Us,nA,lA)),[3,6];case 5:mA(Nr)?(go=Ud(Ce,be,[null,null,null]),Qo=go[0],nA=go[1],lA=go[2],zl=go[3],Nc=go[4],Vo=pA(Nr.angle,zl,Nc),gs=Vo[0],va=Vo[1],pa=Vo[2],os=Vo[3],Es=Vo[4],Ja=document.createElement("canvas"),Ja.width=zl,Ja.height=Nc,ia=Ja.getContext("2d"),Ys=ia.createLinearGradient(va,os,pa,Es),Gc(Nr.stops,gs).forEach(function(jf){return Ys.addColorStop(jf.stop,ml(jf.color))}),ia.fillStyle=Ys,ia.fillRect(0,0,zl,Nc),zl>0&&Nc>0&&(Us=It.ctx.createPattern(Ja,"repeat"),It.renderRepeat(Qo,Us,nA,lA))):Th(Nr)&&(as=Ud(Ce,be,[null,null,null]),Qo=as[0],DA=as[1],QA=as[2],zl=as[3],Nc=as[4],sf=Nr.position.length===0?[kc]:Nr.position,nA=ps(sf[0],zl),lA=ps(sf[sf.length-1],Nc),hh=iA(Nr,nA,lA,zl,Nc),JA=hh[0],lf=hh[1],JA>0&&lf>0&&(ph=It.ctx.createRadialGradient(DA+nA,QA+lA,0,DA+nA,QA+lA,JA),Gc(Nr.stops,JA*2).forEach(function(jf){return ph.addColorStop(jf.stop,ml(jf.color))}),It.path(Qo),It.ctx.fillStyle=ph,JA!==lf?(_f=Ce.bounds.left+.5*Ce.bounds.width,_d=Ce.bounds.top+.5*Ce.bounds.height,Qf=lf/JA,uf=1/Qf,It.ctx.save(),It.ctx.translate(_f,_d),It.ctx.transform(1,0,0,Qf,0,0),It.ctx.translate(-_f,-_d),It.ctx.fillRect(DA,uf*(QA-_d)+_d,zl,Nc*uf),It.ctx.restore()):It.ctx.fill())),Zh.label=6;case 6:return be--,[2]}})},It=this,Jt=0,Sn=Ce.styles.backgroundImage.slice(0).reverse(),yr.label=1;case 1:return Jt<Sn.length?(En=Sn[Jt],[5,rt(En)]):[3,4];case 2:yr.sent(),yr.label=3;case 3:return Jt++,[3,1];case 4:return[2]}})})},Ae.prototype.renderSolidBorder=function(Ce,be,rt){return dt(this,void 0,void 0,function(){return Le(this,function(It){return this.path(Qc(rt,be)),this.ctx.fillStyle=ml(Ce),this.ctx.fill(),[2]})})},Ae.prototype.renderDoubleBorder=function(Ce,be,rt,It){return dt(this,void 0,void 0,function(){var Jt,Sn;return Le(this,function(En){switch(En.label){case 0:return be<3?[4,this.renderSolidBorder(Ce,rt,It)]:[3,2];case 1:return En.sent(),[2];case 2:return Jt=eA(It,rt),this.path(Jt),this.ctx.fillStyle=ml(Ce),this.ctx.fill(),Sn=tA(It,rt),this.path(Sn),this.ctx.fill(),[2]}})})},Ae.prototype.renderNodeBackgroundAndBorders=function(Ce){return dt(this,void 0,void 0,function(){var be,rt,It,Jt,Sn,En,yr,Nr,Qr=this;return Le(this,function(Oi){switch(Oi.label){case 0:return this.applyEffects(Ce.getEffects(2)),be=Ce.container.styles,rt=!Pl(be.backgroundColor)||be.backgroundImage.length,It=[{style:be.borderTopStyle,color:be.borderTopColor,width:be.borderTopWidth},{style:be.borderRightStyle,color:be.borderRightColor,width:be.borderRightWidth},{style:be.borderBottomStyle,color:be.borderBottomColor,width:be.borderBottomWidth},{style:be.borderLeftStyle,color:be.borderLeftColor,width:be.borderLeftWidth}],Jt=fh(gd(be.backgroundClip,0),Ce.curves),rt||be.boxShadow.length?(this.ctx.save(),this.path(Jt),this.ctx.clip(),Pl(be.backgroundColor)||(this.ctx.fillStyle=ml(be.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Ce.container)]):[3,2];case 1:Oi.sent(),this.ctx.restore(),be.boxShadow.slice(0).reverse().forEach(function(Aa){Qr.ctx.save();var go=sA(Ce.curves),Vo=Aa.inset?0:Na,gs=Jg(go,-Vo+(Aa.inset?1:-1)*Aa.spread.number,(Aa.inset?1:-1)*Aa.spread.number,Aa.spread.number*(Aa.inset?-2:2),Aa.spread.number*(Aa.inset?-2:2));Aa.inset?(Qr.path(go),Qr.ctx.clip(),Qr.mask(gs)):(Qr.mask(go),Qr.ctx.clip(),Qr.path(gs)),Qr.ctx.shadowOffsetX=Aa.offsetX.number+Vo,Qr.ctx.shadowOffsetY=Aa.offsetY.number,Qr.ctx.shadowColor=ml(Aa.color),Qr.ctx.shadowBlur=Aa.blur.number,Qr.ctx.fillStyle=Aa.inset?ml(Aa.color):"rgba(0,0,0,1)",Qr.ctx.fill(),Qr.ctx.restore()}),Oi.label=2;case 2:Sn=0,En=0,yr=It,Oi.label=3;case 3:return En<yr.length?(Nr=yr[En],Nr.style!==0&&!Pl(Nr.color)&&Nr.width>0?Nr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Nr.color,Nr.width,Sn,Ce.curves,2)]:[3,11]):[3,13];case 4:return Oi.sent(),[3,11];case 5:return Nr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Nr.color,Nr.width,Sn,Ce.curves,3)];case 6:return Oi.sent(),[3,11];case 7:return Nr.style!==4?[3,9]:[4,this.renderDoubleBorder(Nr.color,Nr.width,Sn,Ce.curves)];case 8:return Oi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Nr.color,Sn,Ce.curves)];case 10:Oi.sent(),Oi.label=11;case 11:Sn++,Oi.label=12;case 12:return En++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(Ce,be,rt,It,Jt){return dt(this,void 0,void 0,function(){var Sn,En,yr,Nr,Qr,Oi,Aa,go,Vo,gs,va,pa,os,Es,Ja,ia,Ja,ia;return Le(this,function(Ys){return this.ctx.save(),Sn=qg(It,rt),En=Qc(It,rt),Jt===2&&(this.path(En),this.ctx.clip()),$l(En[0])?(yr=En[0].start.x,Nr=En[0].start.y):(yr=En[0].x,Nr=En[0].y),$l(En[1])?(Qr=En[1].end.x,Oi=En[1].end.y):(Qr=En[1].x,Oi=En[1].y),rt===0||rt===2?Aa=Math.abs(yr-Qr):Aa=Math.abs(Nr-Oi),this.ctx.beginPath(),Jt===3?this.formatPath(Sn):this.formatPath(En.slice(0,2)),go=be<3?be*3:be*2,Vo=be<3?be*2:be,Jt===3&&(go=be,Vo=be),gs=!0,Aa<=go*2?gs=!1:Aa<=go*2+Vo?(va=Aa/(2*go+Vo),go*=va,Vo*=va):(pa=Math.floor((Aa+Vo)/(go+Vo)),os=(Aa-pa*go)/(pa-1),Es=(Aa-(pa+1)*go)/pa,Vo=Es<=0||Math.abs(Vo-os)<Math.abs(Vo-Es)?os:Es),gs&&(Jt===3?this.ctx.setLineDash([0,go+Vo]):this.ctx.setLineDash([go,Vo])),Jt===3?(this.ctx.lineCap="round",this.ctx.lineWidth=be):this.ctx.lineWidth=be*2+1.1,this.ctx.strokeStyle=ml(Ce),this.ctx.stroke(),this.ctx.setLineDash([]),Jt===2&&($l(En[0])&&(Ja=En[3],ia=En[0],this.ctx.beginPath(),this.formatPath([new Lo(Ja.end.x,Ja.end.y),new Lo(ia.start.x,ia.start.y)]),this.ctx.stroke()),$l(En[1])&&(Ja=En[1],ia=En[2],this.ctx.beginPath(),this.formatPath([new Lo(Ja.end.x,Ja.end.y),new Lo(ia.start.x,ia.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},Ae.prototype.render=function(Ce){return dt(this,void 0,void 0,function(){var be;return Le(this,function(rt){switch(rt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ml(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),be=qc(Ce),[4,this.renderStack(be)];case 1:return rt.sent(),this.applyEffects([]),[2,this.canvas]}})})},Ae}(Uf),xg=function(me){return me instanceof ws||me instanceof Rh?!0:me instanceof cd&&me.type!==EA&&me.type!==ud},fh=function(me,Ae){switch(me){case 0:return sA(Ae);case 2:return fc(Ae);case 1:default:return dh(Ae)}},Kh=function(me){switch(me){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Bs=["-apple-system","system-ui"],Rf=function(me){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?me.filter(function(Ae){return Bs.indexOf(Ae)===-1}):me},LA=function(me){ae(Ae,me);function Ae(Ce,be){var rt=me.call(this,Ce,be)||this;return rt.canvas=be.canvas?be.canvas:document.createElement("canvas"),rt.ctx=rt.canvas.getContext("2d"),rt.options=be,rt.canvas.width=Math.floor(be.width*be.scale),rt.canvas.height=Math.floor(be.height*be.scale),rt.canvas.style.width=be.width+"px",rt.canvas.style.height=be.height+"px",rt.ctx.scale(rt.options.scale,rt.options.scale),rt.ctx.translate(-be.x,-be.y),rt.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+be.width+"x"+be.height+" at "+be.x+","+be.y+") with scale "+be.scale),rt}return Ae.prototype.render=function(Ce){return dt(this,void 0,void 0,function(){var be,rt;return Le(this,function(It){switch(It.label){case 0:return be=WA(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Ce),[4,nm(be)];case 1:return rt=It.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ml(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(rt,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},Ae}(Uf),nm=function(me){return new Promise(function(Ae,Ce){var be=new Image;be.onload=function(){Ae(be)},be.onerror=Ce,be.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(me))})},Rd=function(){function me(Ae){var Ce=Ae.id,be=Ae.enabled;this.id=Ce,this.enabled=be,this.start=Date.now()}return me.prototype.debug=function(){for(var Ae=[],Ce=0;Ce<arguments.length;Ce++)Ae[Ce]=arguments[Ce];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,qe([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},me.prototype.getTime=function(){return Date.now()-this.start},me.prototype.info=function(){for(var Ae=[],Ce=0;Ce<arguments.length;Ce++)Ae[Ce]=arguments[Ce];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,qe([this.id,this.getTime()+"ms"],Ae))},me.prototype.warn=function(){for(var Ae=[],Ce=0;Ce<arguments.length;Ce++)Ae[Ce]=arguments[Ce];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,qe([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},me.prototype.error=function(){for(var Ae=[],Ce=0;Ce<arguments.length;Ce++)Ae[Ce]=arguments[Ce];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,qe([this.id,this.getTime()+"ms"],Ae)):this.info.apply(this,Ae))},me.instances={},me}(),Hm=function(){function me(Ae,Ce){var be;this.windowBounds=Ce,this.instanceName="#"+me.instanceCount++,this.logger=new Rd({id:this.instanceName,enabled:Ae.logging}),this.cache=(be=Ae.cache)!==null&&be!==void 0?be:new Ha(this,Ae)}return me.instanceCount=1,me}(),zm=function(me,Ae){return Ae===void 0&&(Ae={}),Km(me,Ae)};typeof window!="undefined"&&xa.setContext(window);var Km=function(me,Ae){return dt(void 0,void 0,void 0,function(){var Ce,be,rt,It,Jt,Sn,En,yr,Nr,Qr,Oi,Aa,go,Vo,gs,va,pa,os,Es,Ja,Ys,ia,Ys,Us,as,Qo,DA,QA,zl,Nc,sf,nA,lA,hh,JA,lf,ph,_f,_d,Qf;return Le(this,function(uf){switch(uf.label){case 0:if(!me||typeof me!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Ce=me.ownerDocument,!Ce)throw new Error("Element is not attached to a Document");if(be=Ce.defaultView,!be)throw new Error("Document is not attached to a Window");return rt={allowTaint:(Us=Ae.allowTaint)!==null&&Us!==void 0?Us:!1,imageTimeout:(as=Ae.imageTimeout)!==null&&as!==void 0?as:15e3,proxy:Ae.proxy,useCORS:(Qo=Ae.useCORS)!==null&&Qo!==void 0?Qo:!1},It=x({logging:(DA=Ae.logging)!==null&&DA!==void 0?DA:!0,cache:Ae.cache},rt),Jt={windowWidth:(QA=Ae.windowWidth)!==null&&QA!==void 0?QA:be.innerWidth,windowHeight:(zl=Ae.windowHeight)!==null&&zl!==void 0?zl:be.innerHeight,scrollX:(Nc=Ae.scrollX)!==null&&Nc!==void 0?Nc:be.pageXOffset,scrollY:(sf=Ae.scrollY)!==null&&sf!==void 0?sf:be.pageYOffset},Sn=new He(Jt.scrollX,Jt.scrollY,Jt.windowWidth,Jt.windowHeight),En=new Hm(It,Sn),yr=(nA=Ae.foreignObjectRendering)!==null&&nA!==void 0?nA:!1,Nr={allowTaint:(lA=Ae.allowTaint)!==null&&lA!==void 0?lA:!1,onclone:Ae.onclone,ignoreElements:Ae.ignoreElements,inlineImages:yr,copyStyles:yr},En.logger.debug("Starting document clone with size "+Sn.width+"x"+Sn.height+" scrolled to "+-Sn.left+","+-Sn.top),Qr=new ue(En,me,Nr),Oi=Qr.clonedReferenceElement,Oi?[4,Qr.toIFrame(Ce,Sn)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return Aa=uf.sent(),go=Ql(Oi)||mg(Oi)?Me(Oi.ownerDocument):Fe(En,Oi),Vo=go.width,gs=go.height,va=go.left,pa=go.top,os=rc(En,Oi,Ae.backgroundColor),Es={canvas:Ae.canvas,backgroundColor:os,scale:(JA=(hh=Ae.scale)!==null&&hh!==void 0?hh:be.devicePixelRatio)!==null&&JA!==void 0?JA:1,x:((lf=Ae.x)!==null&&lf!==void 0?lf:0)+va,y:((ph=Ae.y)!==null&&ph!==void 0?ph:0)+pa,width:(_f=Ae.width)!==null&&_f!==void 0?_f:Math.ceil(Vo),height:(_d=Ae.height)!==null&&_d!==void 0?_d:Math.ceil(gs)},yr?(En.logger.debug("Document cloned, using foreign object rendering"),Ys=new LA(En,Es),[4,Ys.render(Oi)]):[3,3];case 2:return Ja=uf.sent(),[3,5];case 3:return En.logger.debug("Document cloned, element located at "+va+","+pa+" with size "+Vo+"x"+gs+" using computed rendering"),En.logger.debug("Starting DOM parsing"),ia=Ad(En,Oi),os===ia.styles.backgroundColor&&(ia.styles.backgroundColor=bs.TRANSPARENT),En.logger.debug("Starting renderer for element at "+Es.x+","+Es.y+" with size "+Es.width+"x"+Es.height),Ys=new Zu(En,Es),[4,Ys.render(ia)];case 4:Ja=uf.sent(),uf.label=5;case 5:return(!((Qf=Ae.removeContainer)!==null&&Qf!==void 0)||Qf)&&(ue.destroy(Aa)||En.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),En.logger.debug("Finished rendering"),[2,Ja]}})})},rc=function(me,Ae,Ce){var be=Ae.ownerDocument,rt=be.documentElement?Ma(me,getComputedStyle(be.documentElement).backgroundColor):bs.TRANSPARENT,It=be.body?Ma(me,getComputedStyle(be.body).backgroundColor):bs.TRANSPARENT,Jt=typeof Ce=="string"?Ma(me,Ce):Ce===null?bs.TRANSPARENT:4294967295;return Ae===be.documentElement?Pl(rt)?Pl(It)?Jt:It:rt:Jt};return zm})},44164:function(Xn,Mt,ae){var x=ae(97671);(function(Le,qe){Xn.exports=qe(ae(53307),ae(64270))})(self,function(dt,Le){return function(){var qe={"./src/plugin/hyperlinks.js":function(fe,xe,oe){"use strict";oe.r(xe);var Pe=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.string.link.js"),Se=oe.n(Re),Ie=oe("./src/worker.js"),ve=oe("./src/utils.js"),we=[],Ee={toContainer:Ie.default.prototype.toContainer,toPdf:Ie.default.prototype.toPdf};Ie.default.prototype.toContainer=function(){return Ee.toContainer.call(this).then(function(){if(this.opt.enableLinks){var je=this.prop.container,_e=je.querySelectorAll("a"),Je=(0,ve.unitConvert)(je.getBoundingClientRect(),this.prop.pageSize.k);we=[],Array.prototype.forEach.call(_e,function(Ve){for(var st=Ve.getClientRects(),at=0;at<st.length;at++){var ht=(0,ve.unitConvert)(st[at],this.prop.pageSize.k);ht.left-=Je.left,ht.top-=Je.top;var Ct=Math.floor(ht.top/this.prop.pageSize.inner.height)+1,ze=this.opt.margin[0]+ht.top%this.prop.pageSize.inner.height,pt=this.opt.margin[1]+ht.left;we.push({page:Ct,top:ze,left:pt,clientRect:ht,link:Ve})}},this)}})},Ie.default.prototype.toPdf=function(){return Ee.toPdf.call(this).then(function(){if(this.opt.enableLinks){we.forEach(function(_e){this.prop.pdf.setPage(_e.page),this.prop.pdf.link(_e.left,_e.top,_e.clientRect.width,_e.clientRect.height,{url:_e.link.href})},this);var je=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(je)}})}},"./src/plugin/jspdf-plugin.js":function(fe,xe,oe){"use strict";oe.r(xe);var Pe=oe("./node_modules/core-js/modules/es.symbol.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.symbol.description.js"),Se=oe.n(Re),Ie=oe("./node_modules/core-js/modules/es.object.to-string.js"),ve=oe.n(Ie),we=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ee=oe.n(we),Oe=oe("./node_modules/core-js/modules/es.array.iterator.js"),Ke=oe.n(Oe),je=oe("./node_modules/core-js/modules/es.string.iterator.js"),_e=oe.n(je),Je=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ve=oe.n(Je),st=oe("jspdf"),at=oe.n(st);function ht(Ct){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(pt){return typeof pt}:ht=function(pt){return pt&&typeof Symbol=="function"&&pt.constructor===Symbol&&pt!==Symbol.prototype?"symbol":typeof pt},ht(Ct)}st.jsPDF.getPageSize=function(Ct,ze,pt){if(ht(Ct)==="object"){var Ne=Ct;Ct=Ne.orientation,ze=Ne.unit||ze,pt=Ne.format||pt}ze=ze||"mm",pt=pt||"a4",Ct=(""+(Ct||"P")).toLowerCase();var Qe=(""+pt).toLowerCase(),Ot={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]};switch(ze){case"pt":var ot=1;break;case"mm":var ot=72/25.4;break;case"cm":var ot=72/2.54;break;case"in":var ot=72;break;case"px":var ot=72/96;break;case"pc":var ot=12;break;case"em":var ot=12;break;case"ex":var ot=6;break;default:throw"Invalid unit: "+ze}if(Ot.hasOwnProperty(Qe))var lt=Ot[Qe][1]/ot,Bt=Ot[Qe][0]/ot;else try{var lt=pt[1],Bt=pt[0]}catch(At){throw new Error("Invalid format: "+pt)}if(Ct==="p"||Ct==="portrait"){if(Ct="p",Bt>lt){var We=Bt;Bt=lt,lt=We}}else if(Ct==="l"||Ct==="landscape"){if(Ct="l",lt>Bt){var We=Bt;Bt=lt,lt=We}}else throw"Invalid orientation: "+Ct;var ke={width:Bt,height:lt,unit:ze,k:ot};return ke},xe.default=st.jsPDF},"./src/plugin/pagebreaks.js":function(fe,xe,oe){"use strict";oe.r(xe);var Pe=oe("./node_modules/core-js/modules/es.array.concat.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.array.slice.js"),Se=oe.n(Re),Ie=oe("./node_modules/core-js/modules/es.array.join.js"),ve=oe.n(Ie),we=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ee=oe.n(we),Oe=oe("./node_modules/core-js/modules/es.object.keys.js"),Ke=oe.n(Oe),je=oe("./src/worker.js"),_e=oe("./src/utils.js"),Je={toContainer:je.default.prototype.toContainer};je.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},je.default.prototype.toContainer=function(){return Je.toContainer.call(this).then(function(){var at=this.prop.container,ht=this.prop.pageSize.inner.px.height,Ct=[].concat(this.opt.pagebreak.mode),ze={avoidAll:Ct.indexOf("avoid-all")!==-1,css:Ct.indexOf("css")!==-1,legacy:Ct.indexOf("legacy")!==-1},pt={},Ne=this;["before","after","avoid"].forEach(function(ot){var lt=ze.avoidAll&&ot==="avoid";pt[ot]=lt?[]:[].concat(Ne.opt.pagebreak[ot]||[]),pt[ot].length>0&&(pt[ot]=Array.prototype.slice.call(at.querySelectorAll(pt[ot].join(", "))))});var Qe=at.querySelectorAll(".html2pdf__page-break");Qe=Array.prototype.slice.call(Qe);var Ot=at.querySelectorAll("*");Array.prototype.forEach.call(Ot,function(lt){var Bt={before:!1,after:ze.legacy&&Qe.indexOf(lt)!==-1,avoid:ze.avoidAll};if(ze.css){var We=window.getComputedStyle(lt),ke=["always","page","left","right"],At=["avoid","avoid-page"];Bt={before:Bt.before||ke.indexOf(We.breakBefore||We.pageBreakBefore)!==-1,after:Bt.after||ke.indexOf(We.breakAfter||We.pageBreakAfter)!==-1,avoid:Bt.avoid||At.indexOf(We.breakInside||We.pageBreakInside)!==-1}}Object.keys(Bt).forEach(function(hn){Bt[hn]=Bt[hn]||pt[hn].indexOf(lt)!==-1});var Kt=lt.getBoundingClientRect();if(Bt.avoid&&!Bt.before){var Ht=Math.floor(Kt.top/ht),nt=Math.floor(Kt.bottom/ht),Pt=Math.abs(Kt.bottom-Kt.top)/ht;nt!==Ht&&Pt<=1&&(Bt.before=!0)}if(Bt.before){var Rt=(0,_e.createElement)("div",{style:{display:"block",height:ht-Kt.top%ht+"px"}});lt.parentNode.insertBefore(Rt,lt)}if(Bt.after){var Rt=(0,_e.createElement)("div",{style:{display:"block",height:ht-Kt.bottom%ht+"px"}});lt.parentNode.insertBefore(Rt,lt.nextSibling)}})})}},"./src/utils.js":function(fe,xe,oe){"use strict";oe.r(xe),oe.d(xe,{objType:function(){return Ct},createElement:function(){return ze},cloneNode:function(){return pt},unitConvert:function(){return Ne},toPx:function(){return Qe}});var Pe=oe("./node_modules/core-js/modules/es.number.constructor.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.symbol.js"),Se=oe.n(Re),Ie=oe("./node_modules/core-js/modules/es.symbol.description.js"),ve=oe.n(Ie),we=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ee=oe.n(we),Oe=oe("./node_modules/core-js/modules/es.symbol.iterator.js"),Ke=oe.n(Oe),je=oe("./node_modules/core-js/modules/es.array.iterator.js"),_e=oe.n(je),Je=oe("./node_modules/core-js/modules/es.string.iterator.js"),Ve=oe.n(Je),st=oe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),at=oe.n(st);function ht(Ot){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(lt){return typeof lt}:ht=function(lt){return lt&&typeof Symbol=="function"&&lt.constructor===Symbol&&lt!==Symbol.prototype?"symbol":typeof lt},ht(Ot)}var Ct=function(ot){var lt=ht(ot);return lt==="undefined"?"undefined":lt==="string"||ot instanceof String?"string":lt==="number"||ot instanceof Number?"number":lt==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":lt==="object"?"object":"unknown"},ze=function(ot,lt){var Bt=document.createElement(ot);if(lt.className&&(Bt.className=lt.className),lt.innerHTML){Bt.innerHTML=lt.innerHTML;for(var We=Bt.getElementsByTagName("script"),ke=We.length;ke-- >0;null)We[ke].parentNode.removeChild(We[ke])}for(var At in lt.style)Bt.style[At]=lt.style[At];return Bt},pt=function Ot(ot,lt){for(var Bt=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),We=ot.firstChild;We;We=We.nextSibling)(lt===!0||We.nodeType!==1||We.nodeName!=="SCRIPT")&&Bt.appendChild(Ot(We,lt));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(Bt.width=ot.width,Bt.height=ot.height,Bt.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(Bt.value=ot.value),Bt.addEventListener("load",function(){Bt.scrollTop=ot.scrollTop,Bt.scrollLeft=ot.scrollLeft},!0)),Bt},Ne=function(ot,lt){if(Ct(ot)==="number")return ot*72/96/lt;var Bt={};for(var We in ot)Bt[We]=ot[We]*72/96/lt;return Bt},Qe=function(ot,lt){return Math.floor(ot*lt/72*96)}},"./src/worker.js":function(fe,xe,oe){"use strict";oe.r(xe);var Pe=oe("./node_modules/core-js/modules/es.object.assign.js"),ye=oe.n(Pe),Re=oe("./node_modules/core-js/modules/es.array.map.js"),Se=oe.n(Re),Ie=oe("./node_modules/core-js/modules/es.object.keys.js"),ve=oe.n(Ie),we=oe("./node_modules/core-js/modules/es.array.concat.js"),Ee=oe.n(we),Oe=oe("./node_modules/core-js/modules/es.object.to-string.js"),Ke=oe.n(Oe),je=oe("./node_modules/core-js/modules/es.regexp.to-string.js"),_e=oe.n(je),Je=oe("./node_modules/core-js/modules/es.function.name.js"),Ve=oe.n(Je),st=oe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),at=oe.n(st),ht=oe("jspdf"),Ct=oe.n(ht),ze=oe("html2canvas"),pt=oe.n(ze),Ne=oe("./src/utils.js"),Qe=oe("./node_modules/es6-promise/dist/es6-promise.js"),Ot=oe.n(Qe),ot=Ot().Promise,lt=function Bt(We){var ke=Object.assign(Bt.convert(ot.resolve()),JSON.parse(JSON.stringify(Bt.template))),At=Bt.convert(ot.resolve(),ke);return At=At.setProgress(1,Bt,1,[Bt]),At=At.set(We),At};lt.prototype=Object.create(ot.prototype),lt.prototype.constructor=lt,lt.convert=function(We,ke){return We.__proto__=ke||lt.prototype,We},lt.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:{}}},lt.prototype.from=function(We,ke){function At(Kt){switch((0,Ne.objType)(Kt)){case"string":return"string";case"element":return Kt.nodeName.toLowerCase&&Kt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ke=ke||At(We),ke){case"string":return this.set({src:(0,Ne.createElement)("div",{innerHTML:We})});case"element":return this.set({src:We});case"canvas":return this.set({canvas:We});case"img":return this.set({img:We});default:return this.error("Unknown source type.")}})},lt.prototype.to=function(We){switch(We){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.")}},lt.prototype.toContainer=function(){var We=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).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)"},Kt={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 Ht=(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:Kt}),this.prop.container.appendChild(Ht),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},lt.prototype.toCanvas=function(){var We=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(We).then(function(){var At=Object.assign({},this.opt.html2canvas);return delete At.onrendered,ze(this.prop.container,At)}).then(function(At){var Kt=this.opt.html2canvas.onrendered||function(){};Kt(At),this.prop.canvas=At,document.body.removeChild(this.prop.overlay)})},lt.prototype.toImg=function(){var We=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(We).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})},lt.prototype.toPdf=function(){var We=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(We).then(function(){var At=this.prop.canvas,Kt=this.opt,Ht=At.height,nt=Math.floor(At.width*this.prop.pageSize.inner.ratio),Pt=Math.ceil(Ht/nt),Rt=this.prop.pageSize.inner.height,hn=document.createElement("canvas"),Tt=hn.getContext("2d");hn.width=At.width,hn.height=nt,this.prop.pdf=this.prop.pdf||new ht.jsPDF(Kt.jsPDF);for(var mn=0;mn<Pt;mn++){mn===Pt-1&&Ht%nt!==0&&(hn.height=Ht%nt,Rt=hn.height*this.prop.pageSize.inner.width/hn.width);var kt=hn.width,Fn=hn.height;Tt.fillStyle="white",Tt.fillRect(0,0,kt,Fn),Tt.drawImage(At,0,mn*nt,kt,Fn,0,0,kt,Fn),mn&&this.prop.pdf.addPage();var an=hn.toDataURL("image/"+Kt.image.type,Kt.image.quality);this.prop.pdf.addImage(an,Kt.image.type,Kt.margin[1],Kt.margin[0],this.prop.pageSize.inner.width,Rt)}})},lt.prototype.output=function(We,ke,At){return At=At||"pdf",At.toLowerCase()==="img"||At.toLowerCase()==="image"?this.outputImg(We,ke):this.outputPdf(We,ke)},lt.prototype.outputPdf=function(We,ke){var At=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(At).then(function(){return this.prop.pdf.output(We,ke)})},lt.prototype.outputImg=function(We,ke){var At=[function(){return this.prop.img||this.toImg()}];return this.thenList(At).then(function(){switch(We){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+We+'" is not supported.'}})},lt.prototype.save=function(We){var ke=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(ke).set(We?{filename:We}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},lt.prototype.set=function(We){if((0,Ne.objType)(We)!=="object")return this;var ke=Object.keys(We||{}).map(function(At){switch(At){case"margin":return this.setMargin.bind(this,We.margin);case"jsPDF":return function(){return this.opt.jsPDF=We.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,We.pageSize);default:return At in lt.template.prop?function(){this.prop[At]=We[At]}:function(){this.opt[At]=We[At]}}},this);return this.then(function(){return this.thenList(ke)})},lt.prototype.get=function(We,ke){return this.then(function(){var Kt=We in lt.template.prop?this.prop[We]:this.opt[We];return ke?ke(Kt):Kt})},lt.prototype.setMargin=function(We){return this.then(function(){switch((0,Ne.objType)(We)){case"number":We=[We,We,We,We];case"array":if(We.length===2&&(We=[We[0],We[1],We[0],We[1]]),We.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=We}).then(this.setPageSize)},lt.prototype.setPageSize=function(We){return this.then(function(){We=We||ht.jsPDF.getPageSize(this.opt.jsPDF),We.hasOwnProperty("inner")||(We.inner={width:We.width-this.opt.margin[1]-this.opt.margin[3],height:We.height-this.opt.margin[0]-this.opt.margin[2]},We.inner.px={width:(0,Ne.toPx)(We.inner.width,We.k),height:(0,Ne.toPx)(We.inner.height,We.k)},We.inner.ratio=We.inner.height/We.inner.width),this.prop.pageSize=We})},lt.prototype.setProgress=function(We,ke,At,Kt){return We!=null&&(this.progress.val=We),ke!=null&&(this.progress.state=ke),At!=null&&(this.progress.n=At),Kt!=null&&(this.progress.stack=Kt),this.progress.ratio=this.progress.val/this.progress.state,this},lt.prototype.updateProgress=function(We,ke,At,Kt){return this.setProgress(We?this.progress.val+We:null,ke||null,At?this.progress.n+At:null,Kt?this.progress.stack.concat(Kt):null)},lt.prototype.then=function(We,ke){var At=this;return this.thenCore(We,ke,function(Ht,nt){return At.updateProgress(null,null,1,[Ht]),ot.prototype.then.call(this,function(Rt){return At.updateProgress(null,Ht),Rt}).then(Ht,nt).then(function(Rt){return At.updateProgress(1),Rt})})},lt.prototype.thenCore=function(We,ke,At){At=At||ot.prototype.then;var Kt=this;We&&(We=We.bind(Kt)),ke&&(ke=ke.bind(Kt));var Ht=ot.toString().indexOf("[native code]")!==-1&&ot.name==="Promise",nt=Ht?Kt:lt.convert(Object.assign({},Kt),ot.prototype),Pt=At.call(nt,We,ke);return lt.convert(Pt,Kt.__proto__)},lt.prototype.thenExternal=function(We,ke){return ot.prototype.then.call(this,We,ke)},lt.prototype.thenList=function(We){var ke=this;return We.forEach(function(Kt){ke=ke.thenCore(Kt)}),ke},lt.prototype.catch=function(Bt){Bt&&(Bt=Bt.bind(this));var We=ot.prototype.catch.call(this,Bt);return lt.convert(We,this)},lt.prototype.catchExternal=function(We){return ot.prototype.catch.call(this,We)},lt.prototype.error=function(We){return this.then(function(){throw new Error(We)})},lt.prototype.using=lt.prototype.set,lt.prototype.saveAs=lt.prototype.save,lt.prototype.export=lt.prototype.output,lt.prototype.run=lt.prototype.then,xe.default=lt},"./node_modules/core-js/internals/a-function.js":function(fe){fe.exports=function(xe){if(typeof xe!="function")throw TypeError(String(xe)+" is not a function");return xe}},"./node_modules/core-js/internals/a-possible-prototype.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ye){if(!Pe(ye)&&ye!==null)throw TypeError("Can't set "+String(ye)+" as a prototype");return ye}},"./node_modules/core-js/internals/add-to-unscopables.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ye=oe("./node_modules/core-js/internals/object-create.js"),Re=oe("./node_modules/core-js/internals/object-define-property.js"),Se=Pe("unscopables"),Ie=Array.prototype;Ie[Se]==null&&Re.f(Ie,Se,{configurable:!0,value:ye(null)}),fe.exports=function(ve){Ie[Se][ve]=!0}},"./node_modules/core-js/internals/an-object.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ye){if(!Pe(ye))throw TypeError(String(ye)+" is not an object");return ye}},"./node_modules/core-js/internals/array-for-each.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/array-iteration.js").forEach,ye=oe("./node_modules/core-js/internals/array-method-is-strict.js"),Re=ye("forEach");fe.exports=Re?[].forEach:function(Ie){return Pe(this,Ie,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ye=oe("./node_modules/core-js/internals/to-length.js"),Re=oe("./node_modules/core-js/internals/to-absolute-index.js"),Se=function(Ie){return function(ve,we,Ee){var Oe=Pe(ve),Ke=ye(Oe.length),je=Re(Ee,Ke),_e;if(Ie&&we!=we){for(;Ke>je;)if(_e=Oe[je++],_e!=_e)return!0}else for(;Ke>je;je++)if((Ie||je in Oe)&&Oe[je]===we)return Ie||je||0;return!Ie&&-1}};fe.exports={includes:Se(!0),indexOf:Se(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/function-bind-context.js"),ye=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-object.js"),Se=oe("./node_modules/core-js/internals/to-length.js"),Ie=oe("./node_modules/core-js/internals/array-species-create.js"),ve=[].push,we=function(Ee){var Oe=Ee==1,Ke=Ee==2,je=Ee==3,_e=Ee==4,Je=Ee==6,Ve=Ee==7,st=Ee==5||Je;return function(at,ht,Ct,ze){for(var pt=Re(at),Ne=ye(pt),Qe=Pe(ht,Ct,3),Ot=Se(Ne.length),ot=0,lt=ze||Ie,Bt=Oe?lt(at,Ot):Ke||Ve?lt(at,0):void 0,We,ke;Ot>ot;ot++)if((st||ot in Ne)&&(We=Ne[ot],ke=Qe(We,ot,pt),Ee))if(Oe)Bt[ot]=ke;else if(ke)switch(Ee){case 3:return!0;case 5:return We;case 6:return ot;case 2:ve.call(Bt,We)}else switch(Ee){case 4:return!1;case 7:ve.call(Bt,We)}return Je?-1:je||_e?_e:Bt}};fe.exports={forEach:we(0),map:we(1),filter:we(2),some:we(3),every:we(4),find:we(5),findIndex:we(6),filterReject:we(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=oe("./node_modules/core-js/internals/well-known-symbol.js"),Re=oe("./node_modules/core-js/internals/engine-v8-version.js"),Se=ye("species");fe.exports=function(Ie){return Re>=51||!Pe(function(){var ve=[],we=ve.constructor={};return we[Se]=function(){return{foo:1}},ve[Ie](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ye,Re){var Se=[][ye];return!!Se&&Pe(function(){Se.call(null,Re||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/is-array.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("species");fe.exports=function(Ie){var ve;return ye(Ie)&&(ve=Ie.constructor,typeof ve=="function"&&(ve===Array||ye(ve.prototype))?ve=void 0:Pe(ve)&&(ve=ve[Se],ve===null&&(ve=void 0))),ve===void 0?Array:ve}},"./node_modules/core-js/internals/array-species-create.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/array-species-constructor.js");fe.exports=function(ye,Re){return new(Pe(ye))(Re===0?0:Re)}},"./node_modules/core-js/internals/classof-raw.js":function(fe){var xe={}.toString;fe.exports=function(oe){return xe.call(oe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ye=oe("./node_modules/core-js/internals/classof-raw.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag"),Ie=ye(function(){return arguments}())=="Arguments",ve=function(we,Ee){try{return we[Ee]}catch(Oe){}};fe.exports=Pe?ye:function(we){var Ee,Oe,Ke;return we===void 0?"Undefined":we===null?"Null":typeof(Oe=ve(Ee=Object(we),Se))=="string"?Oe:Ie?ye(Ee):(Ke=ye(Ee))=="Object"&&typeof Ee.callee=="function"?"Arguments":Ke}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/own-keys.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js");fe.exports=function(Ie,ve){for(var we=ye(ve),Ee=Se.f,Oe=Re.f,Ke=0;Ke<we.length;Ke++){var je=we[Ke];Pe(Ie,je)||Ee(Ie,je,Oe(ve,je))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js");fe.exports=!Pe(function(){function ye(){}return ye.prototype.constructor=null,Object.getPrototypeOf(new ye)!==ye.prototype})},"./node_modules/core-js/internals/create-html.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/require-object-coercible.js"),ye=oe("./node_modules/core-js/internals/to-string.js"),Re=/"/g;fe.exports=function(Se,Ie,ve,we){var Ee=ye(Pe(Se)),Oe="<"+Ie;return ve!==""&&(Oe+=" "+ve+'="'+ye(we).replace(Re,"&quot;")+'"'),Oe+">"+Ee+"</"+Ie+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,ye=oe("./node_modules/core-js/internals/object-create.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Ie=oe("./node_modules/core-js/internals/iterators.js"),ve=function(){return this};fe.exports=function(we,Ee,Oe){var Ke=Ee+" Iterator";return we.prototype=ye(Pe,{next:Re(1,Oe)}),Se(we,Ke,!1,!0),Ie[Ke]=ve,we}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=Pe?function(Se,Ie,ve){return ye.f(Se,Ie,Re(1,ve))}:function(Se,Ie,ve){return Se[Ie]=ve,Se}},"./node_modules/core-js/internals/create-property-descriptor.js":function(fe){fe.exports=function(xe,oe){return{enumerable:!(xe&1),configurable:!(xe&2),writable:!(xe&4),value:oe}}},"./node_modules/core-js/internals/create-property.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/to-property-key.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js");fe.exports=function(Se,Ie,ve){var we=Pe(Ie);we in Se?ye.f(Se,we,Re(0,ve)):Se[we]=ve}},"./node_modules/core-js/internals/define-iterator.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/create-iterator-constructor.js"),Re=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Se=oe("./node_modules/core-js/internals/object-set-prototype-of.js"),Ie=oe("./node_modules/core-js/internals/set-to-string-tag.js"),ve=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),we=oe("./node_modules/core-js/internals/redefine.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=oe("./node_modules/core-js/internals/is-pure.js"),Ke=oe("./node_modules/core-js/internals/iterators.js"),je=oe("./node_modules/core-js/internals/iterators-core.js"),_e=je.IteratorPrototype,Je=je.BUGGY_SAFARI_ITERATORS,Ve=Ee("iterator"),st="keys",at="values",ht="entries",Ct=function(){return this};fe.exports=function(ze,pt,Ne,Qe,Ot,ot,lt){ye(Ne,pt,Qe);var Bt=function(Tt){if(Tt===Ot&&Ht)return Ht;if(!Je&&Tt in At)return At[Tt];switch(Tt){case st:return function(){return new Ne(this,Tt)};case at:return function(){return new Ne(this,Tt)};case ht:return function(){return new Ne(this,Tt)}}return function(){return new Ne(this)}},We=pt+" Iterator",ke=!1,At=ze.prototype,Kt=At[Ve]||At["@@iterator"]||Ot&&At[Ot],Ht=!Je&&Kt||Bt(Ot),nt=pt=="Array"&&At.entries||Kt,Pt,Rt,hn;if(nt&&(Pt=Re(nt.call(new ze)),_e!==Object.prototype&&Pt.next&&(!Oe&&Re(Pt)!==_e&&(Se?Se(Pt,_e):typeof Pt[Ve]!="function"&&ve(Pt,Ve,Ct)),Ie(Pt,We,!0,!0),Oe&&(Ke[We]=Ct))),Ot==at&&Kt&&Kt.name!==at&&(ke=!0,Ht=function(){return Kt.call(this)}),(!Oe||lt)&&At[Ve]!==Ht&&ve(At,Ve,Ht),Ke[pt]=Ht,Ot)if(Rt={values:Bt(at),keys:ot?Ht:Bt(st),entries:Bt(ht)},lt)for(hn in Rt)(Je||ke||!(hn in At))&&we(At,hn,Rt[hn]);else Pe({target:pt,proto:!0,forced:Je||ke},Rt);return Rt}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/path.js"),ye=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Se=oe("./node_modules/core-js/internals/object-define-property.js").f;fe.exports=function(Ie){var ve=Pe.Symbol||(Pe.Symbol={});ye(ve,Ie)||Se(ve,Ie,{value:Re.f(Ie)})}},"./node_modules/core-js/internals/descriptors.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js");fe.exports=!Pe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/is-object.js"),Re=Pe.document,Se=ye(Re)&&ye(Re.createElement);fe.exports=function(Ie){return Se?Re.createElement(Ie):{}}},"./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,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Pe("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/engine-user-agent.js"),Re=Pe.process,Se=Pe.Deno,Ie=Re&&Re.versions||Se&&Se.version,ve=Ie&&Ie.v8,we,Ee;ve?(we=ve.split("."),Ee=we[0]<4?1:we[0]+we[1]):ye&&(we=ye.match(/Edge\/(\d+)/),(!we||we[1]>=74)&&(we=ye.match(/Chrome\/(\d+)/),we&&(Ee=we[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,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/redefine.js"),Ie=oe("./node_modules/core-js/internals/set-global.js"),ve=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),we=oe("./node_modules/core-js/internals/is-forced.js");fe.exports=function(Ee,Oe){var Ke=Ee.target,je=Ee.global,_e=Ee.stat,Je,Ve,st,at,ht,Ct;if(je?Ve=Pe:_e?Ve=Pe[Ke]||Ie(Ke,{}):Ve=(Pe[Ke]||{}).prototype,Ve)for(st in Oe){if(ht=Oe[st],Ee.noTargetGet?(Ct=ye(Ve,st),at=Ct&&Ct.value):at=Ve[st],Je=we(je?st:Ke+(_e?".":"#")+st,Ee.forced),!Je&&at!==void 0){if(typeof ht==typeof at)continue;ve(ht,at)}(Ee.sham||at&&at.sham)&&Re(ht,"sham",!0),Se(Ve,st,ht,Ee)}}},"./node_modules/core-js/internals/fails.js":function(fe){fe.exports=function(xe){try{return!!xe()}catch(oe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/a-function.js");fe.exports=function(ye,Re,Se){if(Pe(ye),Re===void 0)return ye;switch(Se){case 0:return function(){return ye.call(Re)};case 1:return function(Ie){return ye.call(Re,Ie)};case 2:return function(Ie,ve){return ye.call(Re,Ie,ve)};case 3:return function(Ie,ve,we){return ye.call(Re,Ie,ve,we)}}return function(){return ye.apply(Re,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=function(Re){return typeof Re=="function"?Re:void 0};fe.exports=function(Re,Se){return arguments.length<2?ye(Pe[Re]):Pe[Re]&&Pe[Re][Se]}},"./node_modules/core-js/internals/global.js":function(fe){var xe=function(oe){return oe&&oe.Math==Math&&oe};fe.exports=xe(typeof globalThis=="object"&&globalThis)||xe(typeof window=="object"&&window)||xe(typeof self=="object"&&self)||xe(typeof ae.g=="object"&&ae.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-object.js"),ye={}.hasOwnProperty;fe.exports=Object.hasOwn||function(Se,Ie){return ye.call(Pe(Se),Ie)}},"./node_modules/core-js/internals/hidden-keys.js":function(fe){fe.exports={}},"./node_modules/core-js/internals/html.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js");fe.exports=Pe("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/document-create-element.js");fe.exports=!Pe&&!ye(function(){return Object.defineProperty(Re("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=oe("./node_modules/core-js/internals/classof-raw.js"),Re="".split;fe.exports=Pe(function(){return!Object("z").propertyIsEnumerable(0)})?function(Se){return ye(Se)=="String"?Re.call(Se,""):Object(Se)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/object-set-prototype-of.js");fe.exports=function(Re,Se,Ie){var ve,we;return ye&&typeof(ve=Se.constructor)=="function"&&ve!==Ie&&Pe(we=ve.prototype)&&we!==Ie.prototype&&ye(Re,we),Re}},"./node_modules/core-js/internals/inspect-source.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/shared-store.js"),ye=Function.toString;typeof Pe.inspectSource!="function"&&(Pe.inspectSource=function(Re){return ye.call(Re)}),fe.exports=Pe.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/native-weak-map.js"),ye=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/is-object.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/shared-store.js"),we=oe("./node_modules/core-js/internals/shared-key.js"),Ee=oe("./node_modules/core-js/internals/hidden-keys.js"),Oe="Object already initialized",Ke=ye.WeakMap,je,_e,Je,Ve=function(Ne){return Je(Ne)?_e(Ne):je(Ne,{})},st=function(Ne){return function(Qe){var Ot;if(!Re(Qe)||(Ot=_e(Qe)).type!==Ne)throw TypeError("Incompatible receiver, "+Ne+" required");return Ot}};if(Pe||ve.state){var at=ve.state||(ve.state=new Ke),ht=at.get,Ct=at.has,ze=at.set;je=function(Ne,Qe){if(Ct.call(at,Ne))throw new TypeError(Oe);return Qe.facade=Ne,ze.call(at,Ne,Qe),Qe},_e=function(Ne){return ht.call(at,Ne)||{}},Je=function(Ne){return Ct.call(at,Ne)}}else{var pt=we("state");Ee[pt]=!0,je=function(Ne,Qe){if(Ie(Ne,pt))throw new TypeError(Oe);return Qe.facade=Ne,Se(Ne,pt,Qe),Qe},_e=function(Ne){return Ie(Ne,pt)?Ne[pt]:{}},Je=function(Ne){return Ie(Ne,pt)}}fe.exports={set:je,get:_e,has:Je,enforce:Ve,getterFor:st}},"./node_modules/core-js/internals/is-array.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/classof-raw.js");fe.exports=Array.isArray||function(Re){return Pe(Re)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=/#|\.prototype\./,Re=function(Ee,Oe){var Ke=Ie[Se(Ee)];return Ke==we?!0:Ke==ve?!1:typeof Oe=="function"?Pe(Oe):!!Oe},Se=Re.normalize=function(Ee){return String(Ee).replace(ye,".").toLowerCase()},Ie=Re.data={},ve=Re.NATIVE="N",we=Re.POLYFILL="P";fe.exports=Re},"./node_modules/core-js/internals/is-object.js":function(fe){fe.exports=function(xe){return typeof xe=="object"?xe!==null:typeof xe=="function"}},"./node_modules/core-js/internals/is-pure.js":function(fe){fe.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js"),ye=oe("./node_modules/core-js/internals/use-symbol-as-uid.js");fe.exports=ye?function(Re){return typeof Re=="symbol"}:function(Re){var Se=Pe("Symbol");return typeof Se=="function"&&Object(Re)instanceof Se}},"./node_modules/core-js/internals/iterators-core.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/fails.js"),ye=oe("./node_modules/core-js/internals/object-get-prototype-of.js"),Re=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Se=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=oe("./node_modules/core-js/internals/is-pure.js"),we=Ie("iterator"),Ee=!1,Oe=function(){return this},Ke,je,_e;[].keys&&(_e=[].keys(),"next"in _e?(je=ye(ye(_e)),je!==Object.prototype&&(Ke=je)):Ee=!0);var Je=Ke==null||Pe(function(){var Ve={};return Ke[we].call(Ve)!==Ve});Je&&(Ke={}),(!ve||Je)&&!Se(Ke,we)&&Re(Ke,we,Oe),fe.exports={IteratorPrototype:Ke,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,xe,oe){var Pe=oe("./node_modules/core-js/internals/engine-v8-version.js"),ye=oe("./node_modules/core-js/internals/fails.js");fe.exports=!!Object.getOwnPropertySymbols&&!ye(function(){var Re=Symbol();return!String(Re)||!(Object(Re)instanceof Symbol)||!Symbol.sham&&Pe&&Pe<41})},"./node_modules/core-js/internals/native-weak-map.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/inspect-source.js"),Re=Pe.WeakMap;fe.exports=typeof Re=="function"&&/native code/.test(ye(Re))},"./node_modules/core-js/internals/object-assign.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ie=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ve=oe("./node_modules/core-js/internals/to-object.js"),we=oe("./node_modules/core-js/internals/indexed-object.js"),Ee=Object.assign,Oe=Object.defineProperty;fe.exports=!Ee||ye(function(){if(Pe&&Ee({b:1},Ee(Oe({},"a",{enumerable:!0,get:function(){Oe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Ke={},je={},_e=Symbol(),Je="abcdefghijklmnopqrst";return Ke[_e]=7,Je.split("").forEach(function(Ve){je[Ve]=Ve}),Ee({},Ke)[_e]!=7||Re(Ee({},je)).join("")!=Je})?function(je,_e){for(var Je=ve(je),Ve=arguments.length,st=1,at=Se.f,ht=Ie.f;Ve>st;)for(var Ct=we(arguments[st++]),ze=at?Re(Ct).concat(at(Ct)):Re(Ct),pt=ze.length,Ne=0,Qe;pt>Ne;)Qe=ze[Ne++],(!Pe||ht.call(Ct,Qe))&&(Je[Qe]=Ct[Qe]);return Je}:Ee},"./node_modules/core-js/internals/object-create.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/an-object.js"),ye=oe("./node_modules/core-js/internals/object-define-properties.js"),Re=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Se=oe("./node_modules/core-js/internals/hidden-keys.js"),Ie=oe("./node_modules/core-js/internals/html.js"),ve=oe("./node_modules/core-js/internals/document-create-element.js"),we=oe("./node_modules/core-js/internals/shared-key.js"),Ee=">",Oe="<",Ke="prototype",je="script",_e=we("IE_PROTO"),Je=function(){},Ve=function(ze){return Oe+je+Ee+ze+Oe+"/"+je+Ee},st=function(ze){ze.write(Ve("")),ze.close();var pt=ze.parentWindow.Object;return ze=null,pt},at=function(){var ze=ve("iframe"),pt="java"+je+":",Ne;if(ze.style)return ze.style.display="none",Ie.appendChild(ze),ze.src=String(pt),Ne=ze.contentWindow.document,Ne.open(),Ne.write(Ve("document.F=Object")),Ne.close(),Ne.F},ht,Ct=function(){try{ht=new ActiveXObject("htmlfile")}catch(pt){}Ct=document.domain&&ht?st(ht):at()||st(ht);for(var ze=Re.length;ze--;)delete Ct[Ke][Re[ze]];return Ct()};Se[_e]=!0,fe.exports=Object.create||function(pt,Ne){var Qe;return pt!==null?(Je[Ke]=Pe(pt),Qe=new Je,Je[Ke]=null,Qe[_e]=pt):Qe=Ct(),Ne===void 0?Qe:ye(Qe,Ne)}},"./node_modules/core-js/internals/object-define-properties.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/object-keys.js");fe.exports=Pe?Object.defineProperties:function(ve,we){Re(ve);for(var Ee=Se(we),Oe=Ee.length,Ke=0,je;Oe>Ke;)ye.f(ve,je=Ee[Ke++],we[je]);return ve}},"./node_modules/core-js/internals/object-define-property.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Re=oe("./node_modules/core-js/internals/an-object.js"),Se=oe("./node_modules/core-js/internals/to-property-key.js"),Ie=Object.defineProperty;xe.f=Pe?Ie:function(we,Ee,Oe){if(Re(we),Ee=Se(Ee),Re(Oe),ye)try{return Ie(we,Ee,Oe)}catch(Ke){}if("get"in Oe||"set"in Oe)throw TypeError("Accessors not supported");return"value"in Oe&&(we[Ee]=Oe.value),we}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Re=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Se=oe("./node_modules/core-js/internals/to-indexed-object.js"),Ie=oe("./node_modules/core-js/internals/to-property-key.js"),ve=oe("./node_modules/core-js/internals/has.js"),we=oe("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=Object.getOwnPropertyDescriptor;xe.f=Pe?Ee:function(Ke,je){if(Ke=Se(Ke),je=Ie(je),we)try{return Ee(Ke,je)}catch(_e){}if(ve(Ke,je))return Re(!ye.f.call(Ke,je),Ke[je])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ye=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Re={}.toString,Se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ie=function(ve){try{return ye(ve)}catch(we){return Se.slice()}};fe.exports.f=function(we){return Se&&Re.call(we)=="[object Window]"?Ie(we):ye(Pe(we))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ye=oe("./node_modules/core-js/internals/enum-bug-keys.js"),Re=ye.concat("length","prototype");xe.f=Object.getOwnPropertyNames||function(Ie){return Pe(Ie,Re)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(fe,xe){xe.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/shared-key.js"),Se=oe("./node_modules/core-js/internals/correct-prototype-getter.js"),Ie=Re("IE_PROTO"),ve=Object.prototype;fe.exports=Se?Object.getPrototypeOf:function(we){return we=ye(we),Pe(we,Ie)?we[Ie]:typeof we.constructor=="function"&&we instanceof we.constructor?we.constructor.prototype:we instanceof Object?ve:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/has.js"),ye=oe("./node_modules/core-js/internals/to-indexed-object.js"),Re=oe("./node_modules/core-js/internals/array-includes.js").indexOf,Se=oe("./node_modules/core-js/internals/hidden-keys.js");fe.exports=function(Ie,ve){var we=ye(Ie),Ee=0,Oe=[],Ke;for(Ke in we)!Pe(Se,Ke)&&Pe(we,Ke)&&Oe.push(Ke);for(;ve.length>Ee;)Pe(we,Ke=ve[Ee++])&&(~Re(Oe,Ke)||Oe.push(Ke));return Oe}},"./node_modules/core-js/internals/object-keys.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/object-keys-internal.js"),ye=oe("./node_modules/core-js/internals/enum-bug-keys.js");fe.exports=Object.keys||function(Se){return Pe(Se,ye)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(fe,xe){"use strict";var oe={}.propertyIsEnumerable,Pe=Object.getOwnPropertyDescriptor,ye=Pe&&!oe.call({1:2},1);xe.f=ye?function(Se){var Ie=Pe(this,Se);return!!Ie&&Ie.enumerable}:oe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/an-object.js"),ye=oe("./node_modules/core-js/internals/a-possible-prototype.js");fe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Re=!1,Se={},Ie;try{Ie=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,Ie.call(Se,[]),Re=Se instanceof Array}catch(ve){}return function(we,Ee){return Pe(we),ye(Ee),Re?Ie.call(we,Ee):we.__proto__=Ee,we}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ye=oe("./node_modules/core-js/internals/classof.js");fe.exports=Pe?{}.toString:function(){return"[object "+ye(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js");fe.exports=function(ye,Re){var Se,Ie;if(Re==="string"&&typeof(Se=ye.toString)=="function"&&!Pe(Ie=Se.call(ye))||typeof(Se=ye.valueOf)=="function"&&!Pe(Ie=Se.call(ye))||Re!=="string"&&typeof(Se=ye.toString)=="function"&&!Pe(Ie=Se.call(ye)))return Ie;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/get-built-in.js"),ye=oe("./node_modules/core-js/internals/object-get-own-property-names.js"),Re=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Se=oe("./node_modules/core-js/internals/an-object.js");fe.exports=Pe("Reflect","ownKeys")||function(ve){var we=ye.f(Se(ve)),Ee=Re.f;return Ee?we.concat(Ee(ve)):we}},"./node_modules/core-js/internals/path.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js");fe.exports=Pe},"./node_modules/core-js/internals/redefine.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/set-global.js"),Ie=oe("./node_modules/core-js/internals/inspect-source.js"),ve=oe("./node_modules/core-js/internals/internal-state.js"),we=ve.get,Ee=ve.enforce,Oe=String(String).split("String");(fe.exports=function(Ke,je,_e,Je){var Ve=Je?!!Je.unsafe:!1,st=Je?!!Je.enumerable:!1,at=Je?!!Je.noTargetGet:!1,ht;if(typeof _e=="function"&&(typeof je=="string"&&!Re(_e,"name")&&ye(_e,"name",je),ht=Ee(_e),ht.source||(ht.source=Oe.join(typeof je=="string"?je:""))),Ke===Pe){st?Ke[je]=_e:Se(je,_e);return}else Ve?!at&&Ke[je]&&(st=!0):delete Ke[je];st?Ke[je]=_e:ye(Ke,je,_e)})(Function.prototype,"toString",function(){return typeof this=="function"&&we(this).source||Ie(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/an-object.js");fe.exports=function(){var ye=Pe(this),Re="";return ye.global&&(Re+="g"),ye.ignoreCase&&(Re+="i"),ye.multiline&&(Re+="m"),ye.dotAll&&(Re+="s"),ye.unicode&&(Re+="u"),ye.sticky&&(Re+="y"),Re}},"./node_modules/core-js/internals/require-object-coercible.js":function(fe){fe.exports=function(xe){if(xe==null)throw TypeError("Can't call method on "+xe);return xe}},"./node_modules/core-js/internals/set-global.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js");fe.exports=function(ye,Re){try{Object.defineProperty(Pe,ye,{value:Re,configurable:!0,writable:!0})}catch(Se){Pe[ye]=Re}return Re}},"./node_modules/core-js/internals/set-to-string-tag.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/object-define-property.js").f,ye=oe("./node_modules/core-js/internals/has.js"),Re=oe("./node_modules/core-js/internals/well-known-symbol.js"),Se=Re("toStringTag");fe.exports=function(Ie,ve,we){Ie&&!ye(Ie=we?Ie:Ie.prototype,Se)&&Pe(Ie,Se,{configurable:!0,value:ve})}},"./node_modules/core-js/internals/shared-key.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/shared.js"),ye=oe("./node_modules/core-js/internals/uid.js"),Re=Pe("keys");fe.exports=function(Se){return Re[Se]||(Re[Se]=ye(Se))}},"./node_modules/core-js/internals/shared-store.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/set-global.js"),Re="__core-js_shared__",Se=Pe[Re]||ye(Re,{});fe.exports=Se},"./node_modules/core-js/internals/shared.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-pure.js"),ye=oe("./node_modules/core-js/internals/shared-store.js");(fe.exports=function(Re,Se){return ye[Re]||(ye[Re]=Se!==void 0?Se:{})})("versions",[]).push({version:"3.16.0",mode:Pe?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/fails.js");fe.exports=function(ye){return Pe(function(){var Re=""[ye]('"');return Re!==Re.toLowerCase()||Re.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-integer.js"),ye=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/require-object-coercible.js"),Se=function(Ie){return function(ve,we){var Ee=ye(Re(ve)),Oe=Pe(we),Ke=Ee.length,je,_e;return Oe<0||Oe>=Ke?Ie?"":void 0:(je=Ee.charCodeAt(Oe),je<55296||je>56319||Oe+1===Ke||(_e=Ee.charCodeAt(Oe+1))<56320||_e>57343?Ie?Ee.charAt(Oe):je:Ie?Ee.slice(Oe,Oe+2):(je-55296<<10)+(_e-56320)+65536)}};fe.exports={codeAt:Se(!1),charAt:Se(!0)}},"./node_modules/core-js/internals/string-trim.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/require-object-coercible.js"),ye=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/whitespaces.js"),Se="["+Re+"]",Ie=RegExp("^"+Se+Se+"*"),ve=RegExp(Se+Se+"*$"),we=function(Ee){return function(Oe){var Ke=ye(Pe(Oe));return Ee&1&&(Ke=Ke.replace(Ie,"")),Ee&2&&(Ke=Ke.replace(ve,"")),Ke}};fe.exports={start:we(1),end:we(2),trim:we(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-integer.js"),ye=Math.max,Re=Math.min;fe.exports=function(Se,Ie){var ve=Pe(Se);return ve<0?ye(ve+Ie,0):Re(ve,Ie)}},"./node_modules/core-js/internals/to-indexed-object.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/indexed-object.js"),ye=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(Re){return Pe(ye(Re))}},"./node_modules/core-js/internals/to-integer.js":function(fe){var xe=Math.ceil,oe=Math.floor;fe.exports=function(Pe){return isNaN(Pe=+Pe)?0:(Pe>0?oe:xe)(Pe)}},"./node_modules/core-js/internals/to-length.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-integer.js"),ye=Math.min;fe.exports=function(Re){return Re>0?ye(Pe(Re),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/require-object-coercible.js");fe.exports=function(ye){return Object(Pe(ye))}},"./node_modules/core-js/internals/to-primitive.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-object.js"),ye=oe("./node_modules/core-js/internals/is-symbol.js"),Re=oe("./node_modules/core-js/internals/ordinary-to-primitive.js"),Se=oe("./node_modules/core-js/internals/well-known-symbol.js"),Ie=Se("toPrimitive");fe.exports=function(ve,we){if(!Pe(ve)||ye(ve))return ve;var Ee=ve[Ie],Oe;if(Ee!==void 0){if(we===void 0&&(we="default"),Oe=Ee.call(ve,we),!Pe(Oe)||ye(Oe))return Oe;throw TypeError("Can't convert object to primitive value")}return we===void 0&&(we="number"),Re(ve,we)}},"./node_modules/core-js/internals/to-property-key.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-primitive.js"),ye=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(Re){var Se=Pe(Re,"string");return ye(Se)?Se:String(Se)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/well-known-symbol.js"),ye=Pe("toStringTag"),Re={};Re[ye]="z",fe.exports=String(Re)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/is-symbol.js");fe.exports=function(ye){if(Pe(ye))throw TypeError("Cannot convert a Symbol value to a string");return String(ye)}},"./node_modules/core-js/internals/uid.js":function(fe){var xe=0,oe=Math.random();fe.exports=function(Pe){return"Symbol("+String(Pe===void 0?"":Pe)+")_"+(++xe+oe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/native-symbol.js");fe.exports=Pe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/well-known-symbol.js");xe.f=Pe},"./node_modules/core-js/internals/well-known-symbol.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/shared.js"),Re=oe("./node_modules/core-js/internals/has.js"),Se=oe("./node_modules/core-js/internals/uid.js"),Ie=oe("./node_modules/core-js/internals/native-symbol.js"),ve=oe("./node_modules/core-js/internals/use-symbol-as-uid.js"),we=ye("wks"),Ee=Pe.Symbol,Oe=ve?Ee:Ee&&Ee.withoutSetter||Se;fe.exports=function(Ke){return(!Re(we,Ke)||!(Ie||typeof we[Ke]=="string"))&&(Ie&&Re(Ee,Ke)?we[Ke]=Ee[Ke]:we[Ke]=Oe("Symbol."+Ke)),we[Ke]}},"./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,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/fails.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/is-object.js"),Ie=oe("./node_modules/core-js/internals/to-object.js"),ve=oe("./node_modules/core-js/internals/to-length.js"),we=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/array-species-create.js"),Oe=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=oe("./node_modules/core-js/internals/well-known-symbol.js"),je=oe("./node_modules/core-js/internals/engine-v8-version.js"),_e=Ke("isConcatSpreadable"),Je=9007199254740991,Ve="Maximum allowed index exceeded",st=je>=51||!ye(function(){var ze=[];return ze[_e]=!1,ze.concat()[0]!==ze}),at=Oe("concat"),ht=function(ze){if(!Se(ze))return!1;var pt=ze[_e];return pt!==void 0?!!pt:Re(ze)},Ct=!st||!at;Pe({target:"Array",proto:!0,forced:Ct},{concat:function(pt){var Ne=Ie(this),Qe=Ee(Ne,0),Ot=0,ot,lt,Bt,We,ke;for(ot=-1,Bt=arguments.length;ot<Bt;ot++)if(ke=ot===-1?Ne:arguments[ot],ht(ke)){if(We=ve(ke.length),Ot+We>Je)throw TypeError(Ve);for(lt=0;lt<We;lt++,Ot++)lt in ke&&we(Qe,Ot,ke[lt])}else{if(Ot>=Je)throw TypeError(Ve);we(Qe,Ot++,ke)}return Qe.length=Ot,Qe}})},"./node_modules/core-js/modules/es.array.iterator.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/to-indexed-object.js"),ye=oe("./node_modules/core-js/internals/add-to-unscopables.js"),Re=oe("./node_modules/core-js/internals/iterators.js"),Se=oe("./node_modules/core-js/internals/internal-state.js"),Ie=oe("./node_modules/core-js/internals/define-iterator.js"),ve="Array Iterator",we=Se.set,Ee=Se.getterFor(ve);fe.exports=Ie(Array,"Array",function(Oe,Ke){we(this,{type:ve,target:Pe(Oe),index:0,kind:Ke})},function(){var Oe=Ee(this),Ke=Oe.target,je=Oe.kind,_e=Oe.index++;return!Ke||_e>=Ke.length?(Oe.target=void 0,{value:void 0,done:!0}):je=="keys"?{value:_e,done:!1}:je=="values"?{value:Ke[_e],done:!1}:{value:[_e,Ke[_e]],done:!1}},"values"),Re.Arguments=Re.Array,ye("keys"),ye("values"),ye("entries")},"./node_modules/core-js/modules/es.array.join.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/indexed-object.js"),Re=oe("./node_modules/core-js/internals/to-indexed-object.js"),Se=oe("./node_modules/core-js/internals/array-method-is-strict.js"),Ie=[].join,ve=ye!=Object,we=Se("join",",");Pe({target:"Array",proto:!0,forced:ve||!we},{join:function(Oe){return Ie.call(Re(this),Oe===void 0?",":Oe)}})},"./node_modules/core-js/modules/es.array.map.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/array-iteration.js").map,Re=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Se=Re("map");Pe({target:"Array",proto:!0,forced:!Se},{map:function(ve){return ye(this,ve,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/is-object.js"),Re=oe("./node_modules/core-js/internals/is-array.js"),Se=oe("./node_modules/core-js/internals/to-absolute-index.js"),Ie=oe("./node_modules/core-js/internals/to-length.js"),ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),we=oe("./node_modules/core-js/internals/create-property.js"),Ee=oe("./node_modules/core-js/internals/well-known-symbol.js"),Oe=oe("./node_modules/core-js/internals/array-method-has-species-support.js"),Ke=Oe("slice"),je=Ee("species"),_e=[].slice,Je=Math.max;Pe({target:"Array",proto:!0,forced:!Ke},{slice:function(st,at){var ht=ve(this),Ct=Ie(ht.length),ze=Se(st,Ct),pt=Se(at===void 0?Ct:at,Ct),Ne,Qe,Ot;if(Re(ht)&&(Ne=ht.constructor,typeof Ne=="function"&&(Ne===Array||Re(Ne.prototype))?Ne=void 0:ye(Ne)&&(Ne=Ne[je],Ne===null&&(Ne=void 0)),Ne===Array||Ne===void 0))return _e.call(ht,ze,pt);for(Qe=new(Ne===void 0?Array:Ne)(Je(pt-ze,0)),Ot=0;ze<pt;ze++,Ot++)ze in ht&&we(Qe,Ot,ht[ze]);return Qe.length=Ot,Qe}})},"./node_modules/core-js/modules/es.function.name.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/object-define-property.js").f,Re=Function.prototype,Se=Re.toString,Ie=/^\s*function ([^ (]*)/,ve="name";Pe&&!(ve in Re)&&ye(Re,ve,{configurable:!0,get:function(){try{return Se.call(this).match(Ie)[1]}catch(we){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/descriptors.js"),ye=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/is-forced.js"),Se=oe("./node_modules/core-js/internals/redefine.js"),Ie=oe("./node_modules/core-js/internals/has.js"),ve=oe("./node_modules/core-js/internals/classof-raw.js"),we=oe("./node_modules/core-js/internals/inherit-if-required.js"),Ee=oe("./node_modules/core-js/internals/is-symbol.js"),Oe=oe("./node_modules/core-js/internals/to-primitive.js"),Ke=oe("./node_modules/core-js/internals/fails.js"),je=oe("./node_modules/core-js/internals/object-create.js"),_e=oe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Je=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ve=oe("./node_modules/core-js/internals/object-define-property.js").f,st=oe("./node_modules/core-js/internals/string-trim.js").trim,at="Number",ht=ye[at],Ct=ht.prototype,ze=ve(je(Ct))==at,pt=function(lt){if(Ee(lt))throw TypeError("Cannot convert a Symbol value to a number");var Bt=Oe(lt,"number"),We,ke,At,Kt,Ht,nt,Pt,Rt;if(typeof Bt=="string"&&Bt.length>2){if(Bt=st(Bt),We=Bt.charCodeAt(0),We===43||We===45){if(ke=Bt.charCodeAt(2),ke===88||ke===120)return NaN}else if(We===48){switch(Bt.charCodeAt(1)){case 66:case 98:At=2,Kt=49;break;case 79:case 111:At=8,Kt=55;break;default:return+Bt}for(Ht=Bt.slice(2),nt=Ht.length,Pt=0;Pt<nt;Pt++)if(Rt=Ht.charCodeAt(Pt),Rt<48||Rt>Kt)return NaN;return parseInt(Ht,At)}}return+Bt};if(Re(at,!ht(" 0o1")||!ht("0b1")||ht("+0x1"))){for(var Ne=function(Bt){var We=arguments.length<1?0:Bt,ke=this;return ke instanceof Ne&&(ze?Ke(function(){Ct.valueOf.call(ke)}):ve(ke)!=at)?we(new ht(pt(We)),ke,Ne):pt(We)},Qe=Pe?_e(ht):"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(","),Ot=0,ot;Qe.length>Ot;Ot++)Ie(ht,ot=Qe[Ot])&&!Ie(Ne,ot)&&Ve(Ne,ot,Je(ht,ot));Ne.prototype=Ct,Ct.constructor=Ne,Se(ye,at,Ne)}},"./node_modules/core-js/modules/es.object.assign.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/object-assign.js");Pe({target:"Object",stat:!0,forced:Object.assign!==ye},{assign:ye})},"./node_modules/core-js/modules/es.object.keys.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/to-object.js"),Re=oe("./node_modules/core-js/internals/object-keys.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Ie=Se(function(){Re(1)});Pe({target:"Object",stat:!0,forced:Ie},{keys:function(we){return Re(ye(we))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/to-string-tag-support.js"),ye=oe("./node_modules/core-js/internals/redefine.js"),Re=oe("./node_modules/core-js/internals/object-to-string.js");Pe||ye(Object.prototype,"toString",Re,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/redefine.js"),ye=oe("./node_modules/core-js/internals/an-object.js"),Re=oe("./node_modules/core-js/internals/to-string.js"),Se=oe("./node_modules/core-js/internals/fails.js"),Ie=oe("./node_modules/core-js/internals/regexp-flags.js"),ve="toString",we=RegExp.prototype,Ee=we[ve],Oe=Se(function(){return Ee.call({source:"a",flags:"b"})!="/a/b"}),Ke=Ee.name!=ve;(Oe||Ke)&&Pe(RegExp.prototype,ve,function(){var _e=ye(this),Je=Re(_e.source),Ve=_e.flags,st=Re(Ve===void 0&&_e instanceof RegExp&&!("flags"in we)?Ie.call(_e):Ve);return"/"+Je+"/"+st},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/string-multibyte.js").charAt,ye=oe("./node_modules/core-js/internals/to-string.js"),Re=oe("./node_modules/core-js/internals/internal-state.js"),Se=oe("./node_modules/core-js/internals/define-iterator.js"),Ie="String Iterator",ve=Re.set,we=Re.getterFor(Ie);Se(String,"String",function(Ee){ve(this,{type:Ie,string:ye(Ee),index:0})},function(){var Oe=we(this),Ke=Oe.string,je=Oe.index,_e;return je>=Ke.length?{value:void 0,done:!0}:(_e=Pe(Ke,je),Oe.index+=_e.length,{value:_e,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/create-html.js"),Re=oe("./node_modules/core-js/internals/string-html-forced.js");Pe({target:"String",proto:!0,forced:Re("link")},{link:function(Ie){return ye(this,"a","href",Ie)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/descriptors.js"),Re=oe("./node_modules/core-js/internals/global.js"),Se=oe("./node_modules/core-js/internals/has.js"),Ie=oe("./node_modules/core-js/internals/is-object.js"),ve=oe("./node_modules/core-js/internals/object-define-property.js").f,we=oe("./node_modules/core-js/internals/copy-constructor-properties.js"),Ee=Re.Symbol;if(ye&&typeof Ee=="function"&&(!("description"in Ee.prototype)||Ee().description!==void 0)){var Oe={},Ke=function(){var at=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ht=this instanceof Ke?new Ee(at):at===void 0?Ee():Ee(at);return at===""&&(Oe[ht]=!0),ht};we(Ke,Ee);var je=Ke.prototype=Ee.prototype;je.constructor=Ke;var _e=je.toString,Je=String(Ee("test"))=="Symbol(test)",Ve=/^Symbol\((.*)\)[^)]+$/;ve(je,"description",{configurable:!0,get:function(){var at=Ie(this)?this.valueOf():this,ht=_e.call(at);if(Se(Oe,at))return"";var Ct=Je?ht.slice(7,-1):ht.replace(Ve,"$1");return Ct===""?void 0:Ct}}),Pe({global:!0,forced:!0},{Symbol:Ke})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/define-well-known-symbol.js");Pe("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(fe,xe,oe){"use strict";var Pe=oe("./node_modules/core-js/internals/export.js"),ye=oe("./node_modules/core-js/internals/global.js"),Re=oe("./node_modules/core-js/internals/get-built-in.js"),Se=oe("./node_modules/core-js/internals/is-pure.js"),Ie=oe("./node_modules/core-js/internals/descriptors.js"),ve=oe("./node_modules/core-js/internals/native-symbol.js"),we=oe("./node_modules/core-js/internals/fails.js"),Ee=oe("./node_modules/core-js/internals/has.js"),Oe=oe("./node_modules/core-js/internals/is-array.js"),Ke=oe("./node_modules/core-js/internals/is-object.js"),je=oe("./node_modules/core-js/internals/is-symbol.js"),_e=oe("./node_modules/core-js/internals/an-object.js"),Je=oe("./node_modules/core-js/internals/to-object.js"),Ve=oe("./node_modules/core-js/internals/to-indexed-object.js"),st=oe("./node_modules/core-js/internals/to-property-key.js"),at=oe("./node_modules/core-js/internals/to-string.js"),ht=oe("./node_modules/core-js/internals/create-property-descriptor.js"),Ct=oe("./node_modules/core-js/internals/object-create.js"),ze=oe("./node_modules/core-js/internals/object-keys.js"),pt=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"),Qe=oe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ot=oe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=oe("./node_modules/core-js/internals/object-define-property.js"),lt=oe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Bt=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),We=oe("./node_modules/core-js/internals/redefine.js"),ke=oe("./node_modules/core-js/internals/shared.js"),At=oe("./node_modules/core-js/internals/shared-key.js"),Kt=oe("./node_modules/core-js/internals/hidden-keys.js"),Ht=oe("./node_modules/core-js/internals/uid.js"),nt=oe("./node_modules/core-js/internals/well-known-symbol.js"),Pt=oe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Rt=oe("./node_modules/core-js/internals/define-well-known-symbol.js"),hn=oe("./node_modules/core-js/internals/set-to-string-tag.js"),Tt=oe("./node_modules/core-js/internals/internal-state.js"),mn=oe("./node_modules/core-js/internals/array-iteration.js").forEach,kt=At("hidden"),Fn="Symbol",an="prototype",de=nt("toPrimitive"),ge=Tt.set,ie=Tt.getterFor(Fn),ee=Object[an],se=ye.Symbol,le=Re("JSON","stringify"),Be=Ot.f,Ge=ot.f,ut=Ne.f,mt=lt.f,vt=ke("symbols"),St=ke("op-symbols"),Dt=ke("string-to-symbol-registry"),Qt=ke("symbol-to-string-registry"),xt=ke("wks"),ct=ye.QObject,Xt=!ct||!ct[an]||!ct[an].findChild,Wt=Ie&&we(function(){return Ct(Ge({},"a",{get:function(){return Ge(this,"a",{value:7}).a}})).a!=7})?function(Lt,Gt,sn){var bn=Be(ee,Gt);bn&&delete ee[Gt],Ge(Lt,Gt,sn),bn&&Lt!==ee&&Ge(ee,Gt,bn)}:Ge,wn=function(Lt,Gt){var sn=vt[Lt]=Ct(se[an]);return ge(sn,{type:Fn,tag:Lt,description:Gt}),Ie||(sn.description=Gt),sn},ln=function(Gt,sn,bn){Gt===ee&&ln(St,sn,bn),_e(Gt);var Yn=st(sn);return _e(bn),Ee(vt,Yn)?(bn.enumerable?(Ee(Gt,kt)&&Gt[kt][Yn]&&(Gt[kt][Yn]=!1),bn=Ct(bn,{enumerable:ht(0,!1)})):(Ee(Gt,kt)||Ge(Gt,kt,ht(1,{})),Gt[kt][Yn]=!0),Wt(Gt,Yn,bn)):Ge(Gt,Yn,bn)},nn=function(Gt,sn){_e(Gt);var bn=Ve(sn),Yn=ze(bn).concat(Pn(bn));return mn(Yn,function(pr){(!Ie||Ln.call(bn,pr))&&ln(Gt,pr,bn[pr])}),Gt},zn=function(Gt,sn){return sn===void 0?Ct(Gt):nn(Ct(Gt),sn)},Ln=function(Gt){var sn=st(Gt),bn=mt.call(this,sn);return this===ee&&Ee(vt,sn)&&!Ee(St,sn)?!1:bn||!Ee(this,sn)||!Ee(vt,sn)||Ee(this,kt)&&this[kt][sn]?bn:!0},_t=function(Gt,sn){var bn=Ve(Gt),Yn=st(sn);if(!(bn===ee&&Ee(vt,Yn)&&!Ee(St,Yn))){var pr=Be(bn,Yn);return pr&&Ee(vt,Yn)&&!(Ee(bn,kt)&&bn[kt][Yn])&&(pr.enumerable=!0),pr}},un=function(Gt){var sn=ut(Ve(Gt)),bn=[];return mn(sn,function(Yn){!Ee(vt,Yn)&&!Ee(Kt,Yn)&&bn.push(Yn)}),bn},Pn=function(Gt){var sn=Gt===ee,bn=ut(sn?St:Ve(Gt)),Yn=[];return mn(bn,function(pr){Ee(vt,pr)&&(!sn||Ee(ee,pr))&&Yn.push(vt[pr])}),Yn};if(ve||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:at(arguments[0]),sn=Ht(Gt),bn=function(Yn){this===ee&&bn.call(St,Yn),Ee(this,kt)&&Ee(this[kt],sn)&&(this[kt][sn]=!1),Wt(this,sn,ht(1,Yn))};return Ie&&Xt&&Wt(ee,sn,{configurable:!0,set:bn}),wn(sn,Gt)},We(se[an],"toString",function(){return ie(this).tag}),We(se,"withoutSetter",function(Lt){return wn(Ht(Lt),Lt)}),lt.f=Ln,ot.f=ln,Ot.f=_t,pt.f=Ne.f=un,Qe.f=Pn,Pt.f=function(Lt){return wn(nt(Lt),Lt)},Ie&&(Ge(se[an],"description",{configurable:!0,get:function(){return ie(this).description}}),Se||We(ee,"propertyIsEnumerable",Ln,{unsafe:!0}))),Pe({global:!0,wrap:!0,forced:!ve,sham:!ve},{Symbol:se}),mn(ze(xt),function(Lt){Rt(Lt)}),Pe({target:Fn,stat:!0,forced:!ve},{for:function(Lt){var Gt=at(Lt);if(Ee(Dt,Gt))return Dt[Gt];var sn=se(Gt);return Dt[Gt]=sn,Qt[sn]=Gt,sn},keyFor:function(Gt){if(!je(Gt))throw TypeError(Gt+" is not a symbol");if(Ee(Qt,Gt))return Qt[Gt]},useSetter:function(){Xt=!0},useSimple:function(){Xt=!1}}),Pe({target:"Object",stat:!0,forced:!ve,sham:!Ie},{create:zn,defineProperty:ln,defineProperties:nn,getOwnPropertyDescriptor:_t}),Pe({target:"Object",stat:!0,forced:!ve},{getOwnPropertyNames:un,getOwnPropertySymbols:Pn}),Pe({target:"Object",stat:!0,forced:we(function(){Qe.f(1)})},{getOwnPropertySymbols:function(Gt){return Qe.f(Je(Gt))}}),le){var Vn=!ve||we(function(){var Lt=se();return le([Lt])!="[null]"||le({a:Lt})!="{}"||le(Object(Lt))!="{}"});Pe({target:"JSON",stat:!0,forced:Vn},{stringify:function(Gt,sn,bn){for(var Yn=[Gt],pr=1,ti;arguments.length>pr;)Yn.push(arguments[pr++]);if(ti=sn,!(!Ke(sn)&&Gt===void 0||je(Gt)))return Oe(sn)||(sn=function(si,Cr){if(typeof ti=="function"&&(Cr=ti.call(this,si,Cr)),!je(Cr))return Cr}),Yn[1]=sn,le.apply(null,Yn)}})}se[an][de]||Bt(se[an],de,se[an].valueOf),hn(se,Fn),Kt[kt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/internals/array-for-each.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var Ie in ye){var ve=Pe[Ie],we=ve&&ve.prototype;if(we&&we.forEach!==Re)try{Se(we,"forEach",Re)}catch(Ee){we.forEach=Re}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(fe,xe,oe){var Pe=oe("./node_modules/core-js/internals/global.js"),ye=oe("./node_modules/core-js/internals/dom-iterables.js"),Re=oe("./node_modules/core-js/modules/es.array.iterator.js"),Se=oe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ie=oe("./node_modules/core-js/internals/well-known-symbol.js"),ve=Ie("iterator"),we=Ie("toStringTag"),Ee=Re.values;for(var Oe in ye){var Ke=Pe[Oe],je=Ke&&Ke.prototype;if(je){if(je[ve]!==Ee)try{Se(je,ve,Ee)}catch(Je){je[ve]=Ee}if(je[we]||Se(je,we,Oe),ye[Oe]){for(var _e in Re)if(je[_e]!==Re[_e])try{Se(je,_e,Re[_e])}catch(Je){je[_e]=Re[_e]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(fe){(function(xe,oe){fe.exports=oe()})(this,function(){"use strict";function xe(ct){var Xt=typeof ct;return ct!==null&&(Xt==="object"||Xt==="function")}function oe(ct){return typeof ct=="function"}var Pe=void 0;Array.isArray?Pe=Array.isArray:Pe=function(ct){return Object.prototype.toString.call(ct)==="[object Array]"};var ye=Pe,Re=0,Se=void 0,Ie=void 0,ve=function(Xt,Wt){ze[Re]=Xt,ze[Re+1]=Wt,Re+=2,Re===2&&(Ie?Ie(pt):Qe())};function we(ct){Ie=ct}function Ee(ct){ve=ct}var Oe=typeof window!="undefined"?window:void 0,Ke=Oe||{},je=Ke.MutationObserver||Ke.WebKitMutationObserver,_e=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",Je=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ve(){return function(){return x.nextTick(pt)}}function st(){return typeof Se!="undefined"?function(){Se(pt)}:Ct()}function at(){var ct=0,Xt=new je(pt),Wt=document.createTextNode("");return Xt.observe(Wt,{characterData:!0}),function(){Wt.data=ct=++ct%2}}function ht(){var ct=new MessageChannel;return ct.port1.onmessage=pt,function(){return ct.port2.postMessage(0)}}function Ct(){var ct=setTimeout;return function(){return ct(pt,1)}}var ze=new Array(1e3);function pt(){for(var ct=0;ct<Re;ct+=2){var Xt=ze[ct],Wt=ze[ct+1];Xt(Wt),ze[ct]=void 0,ze[ct+1]=void 0}Re=0}function Ne(){try{var ct=Function("return this")().require("vertx");return Se=ct.runOnLoop||ct.runOnContext,st()}catch(Xt){return Ct()}}var Qe=void 0;_e?Qe=Ve():je?Qe=at():Je?Qe=ht():Oe===void 0?Qe=Ne():Qe=Ct();function Ot(ct,Xt){var Wt=this,wn=new this.constructor(Bt);wn[lt]===void 0&&le(wn);var ln=Wt._state;if(ln){var nn=arguments[ln-1];ve(function(){return ge(ln,wn,nn,Wt._result)})}else an(Wt,wn,ct,Xt);return wn}function ot(ct){var Xt=this;if(ct&&typeof ct=="object"&&ct.constructor===Xt)return ct;var Wt=new Xt(Bt);return Tt(Wt,ct),Wt}var lt=Math.random().toString(36).substring(2);function Bt(){}var We=void 0,ke=1,At=2;function Kt(){return new TypeError("You cannot resolve a promise with itself")}function Ht(){return new TypeError("A promises callback cannot return that same promise.")}function nt(ct,Xt,Wt,wn){try{ct.call(Xt,Wt,wn)}catch(ln){return ln}}function Pt(ct,Xt,Wt){ve(function(wn){var ln=!1,nn=nt(Wt,Xt,function(zn){ln||(ln=!0,Xt!==zn?Tt(wn,zn):kt(wn,zn))},function(zn){ln||(ln=!0,Fn(wn,zn))},"Settle: "+(wn._label||" unknown promise"));!ln&&nn&&(ln=!0,Fn(wn,nn))},ct)}function Rt(ct,Xt){Xt._state===ke?kt(ct,Xt._result):Xt._state===At?Fn(ct,Xt._result):an(Xt,void 0,function(Wt){return Tt(ct,Wt)},function(Wt){return Fn(ct,Wt)})}function hn(ct,Xt,Wt){Xt.constructor===ct.constructor&&Wt===Ot&&Xt.constructor.resolve===ot?Rt(ct,Xt):Wt===void 0?kt(ct,Xt):oe(Wt)?Pt(ct,Xt,Wt):kt(ct,Xt)}function Tt(ct,Xt){if(ct===Xt)Fn(ct,Kt());else if(xe(Xt)){var Wt=void 0;try{Wt=Xt.then}catch(wn){Fn(ct,wn);return}hn(ct,Xt,Wt)}else kt(ct,Xt)}function mn(ct){ct._onerror&&ct._onerror(ct._result),de(ct)}function kt(ct,Xt){ct._state===We&&(ct._result=Xt,ct._state=ke,ct._subscribers.length!==0&&ve(de,ct))}function Fn(ct,Xt){ct._state===We&&(ct._state=At,ct._result=Xt,ve(mn,ct))}function an(ct,Xt,Wt,wn){var ln=ct._subscribers,nn=ln.length;ct._onerror=null,ln[nn]=Xt,ln[nn+ke]=Wt,ln[nn+At]=wn,nn===0&&ct._state&&ve(de,ct)}function de(ct){var Xt=ct._subscribers,Wt=ct._state;if(Xt.length!==0){for(var wn=void 0,ln=void 0,nn=ct._result,zn=0;zn<Xt.length;zn+=3)wn=Xt[zn],ln=Xt[zn+Wt],wn?ge(Wt,wn,ln,nn):ln(nn);ct._subscribers.length=0}}function ge(ct,Xt,Wt,wn){var ln=oe(Wt),nn=void 0,zn=void 0,Ln=!0;if(ln){try{nn=Wt(wn)}catch(_t){Ln=!1,zn=_t}if(Xt===nn){Fn(Xt,Ht());return}}else nn=wn;Xt._state!==We||(ln&&Ln?Tt(Xt,nn):Ln===!1?Fn(Xt,zn):ct===ke?kt(Xt,nn):ct===At&&Fn(Xt,nn))}function ie(ct,Xt){try{Xt(function(wn){Tt(ct,wn)},function(wn){Fn(ct,wn)})}catch(Wt){Fn(ct,Wt)}}var ee=0;function se(){return ee++}function le(ct){ct[lt]=ee++,ct._state=void 0,ct._result=void 0,ct._subscribers=[]}function Be(){return new Error("Array Methods must be provided an Array")}var Ge=function(){function ct(Xt,Wt){this._instanceConstructor=Xt,this.promise=new Xt(Bt),this.promise[lt]||le(this.promise),ye(Wt)?(this.length=Wt.length,this._remaining=Wt.length,this._result=new Array(this.length),this.length===0?kt(this.promise,this._result):(this.length=this.length||0,this._enumerate(Wt),this._remaining===0&&kt(this.promise,this._result))):Fn(this.promise,Be())}return ct.prototype._enumerate=function(Wt){for(var wn=0;this._state===We&&wn<Wt.length;wn++)this._eachEntry(Wt[wn],wn)},ct.prototype._eachEntry=function(Wt,wn){var ln=this._instanceConstructor,nn=ln.resolve;if(nn===ot){var zn=void 0,Ln=void 0,_t=!1;try{zn=Wt.then}catch(Pn){_t=!0,Ln=Pn}if(zn===Ot&&Wt._state!==We)this._settledAt(Wt._state,wn,Wt._result);else if(typeof zn!="function")this._remaining--,this._result[wn]=Wt;else if(ln===Qt){var un=new ln(Bt);_t?Fn(un,Ln):hn(un,Wt,zn),this._willSettleAt(un,wn)}else this._willSettleAt(new ln(function(Pn){return Pn(Wt)}),wn)}else this._willSettleAt(nn(Wt),wn)},ct.prototype._settledAt=function(Wt,wn,ln){var nn=this.promise;nn._state===We&&(this._remaining--,Wt===At?Fn(nn,ln):this._result[wn]=ln),this._remaining===0&&kt(nn,this._result)},ct.prototype._willSettleAt=function(Wt,wn){var ln=this;an(Wt,void 0,function(nn){return ln._settledAt(ke,wn,nn)},function(nn){return ln._settledAt(At,wn,nn)})},ct}();function ut(ct){return new Ge(this,ct).promise}function mt(ct){var Xt=this;return ye(ct)?new Xt(function(Wt,wn){for(var ln=ct.length,nn=0;nn<ln;nn++)Xt.resolve(ct[nn]).then(Wt,wn)}):new Xt(function(Wt,wn){return wn(new TypeError("You must pass an array to race."))})}function vt(ct){var Xt=this,Wt=new Xt(Bt);return Fn(Wt,ct),Wt}function St(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Dt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Qt=function(){function ct(Xt){this[lt]=se(),this._result=this._state=void 0,this._subscribers=[],Bt!==Xt&&(typeof Xt!="function"&&St(),this instanceof ct?ie(this,Xt):Dt())}return ct.prototype.catch=function(Wt){return this.then(null,Wt)},ct.prototype.finally=function(Wt){var wn=this,ln=wn.constructor;return oe(Wt)?wn.then(function(nn){return ln.resolve(Wt()).then(function(){return nn})},function(nn){return ln.resolve(Wt()).then(function(){throw nn})}):wn.then(Wt,Wt)},ct}();Qt.prototype.then=Ot,Qt.all=ut,Qt.race=mt,Qt.resolve=ot,Qt.reject=vt,Qt._setScheduler=we,Qt._setAsap=Ee,Qt._asap=ve;function xt(){var ct=void 0;if(typeof ae.g!="undefined")ct=ae.g;else if(typeof self!="undefined")ct=self;else try{ct=Function("return this")()}catch(wn){throw new Error("polyfill failed because global object is unavailable in this environment")}var Xt=ct.Promise;if(Xt){var Wt=null;try{Wt=Object.prototype.toString.call(Xt.resolve())}catch(wn){}if(Wt==="[object Promise]"&&!Xt.cast)return}ct.Promise=Qt}return Qt.polyfill=xt,Qt.Promise=Qt,Qt})},html2canvas:function(fe){"use strict";fe.exports=Le},jspdf:function(fe){"use strict";fe.exports=dt}},He={};function Fe(fe){var xe=He[fe];if(xe!==void 0)return xe.exports;var oe=He[fe]={exports:{}};return qe[fe].call(oe.exports,oe,oe.exports,Fe),oe.exports}(function(){Fe.n=function(fe){var xe=fe&&fe.__esModule?function(){return fe.default}:function(){return fe};return Fe.d(xe,{a:xe}),xe}})(),function(){Fe.d=function(fe,xe){for(var oe in xe)Fe.o(xe,oe)&&!Fe.o(fe,oe)&&Object.defineProperty(fe,oe,{enumerable:!0,get:xe[oe]})}}(),function(){Fe.o=function(fe,xe){return Object.prototype.hasOwnProperty.call(fe,xe)}}(),function(){Fe.r=function(fe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(fe,"__esModule",{value:!0})}}();var Me={};return function(){"use strict";Fe.r(Me);var fe=Fe("./src/worker.js"),xe=Fe("./src/plugin/jspdf-plugin.js"),oe=Fe("./src/plugin/pagebreaks.js"),Pe=Fe("./src/plugin/hyperlinks.js"),ye=function Re(Se,Ie){var ve=new Re.Worker(Ie);return Se?ve.from(Se).save():ve};ye.Worker=fe.default,Me.default=ye}(),Me=Me.default,Me}()})},67467:function(Xn,Mt){Mt.read=function(ae,x,dt,Le,qe){var He,Fe,Me=qe*8-Le-1,fe=(1<<Me)-1,xe=fe>>1,oe=-7,Pe=dt?qe-1:0,ye=dt?-1:1,Re=ae[x+Pe];for(Pe+=ye,He=Re&(1<<-oe)-1,Re>>=-oe,oe+=Me;oe>0;He=He*256+ae[x+Pe],Pe+=ye,oe-=8);for(Fe=He&(1<<-oe)-1,He>>=-oe,oe+=Le;oe>0;Fe=Fe*256+ae[x+Pe],Pe+=ye,oe-=8);if(He===0)He=1-xe;else{if(He===fe)return Fe?NaN:(Re?-1:1)*(1/0);Fe=Fe+Math.pow(2,Le),He=He-xe}return(Re?-1:1)*Fe*Math.pow(2,He-Le)},Mt.write=function(ae,x,dt,Le,qe,He){var Fe,Me,fe,xe=He*8-qe-1,oe=(1<<xe)-1,Pe=oe>>1,ye=qe===23?Math.pow(2,-24)-Math.pow(2,-77):0,Re=Le?0:He-1,Se=Le?1:-1,Ie=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(Me=isNaN(x)?1:0,Fe=oe):(Fe=Math.floor(Math.log(x)/Math.LN2),x*(fe=Math.pow(2,-Fe))<1&&(Fe--,fe*=2),Fe+Pe>=1?x+=ye/fe:x+=ye*Math.pow(2,1-Pe),x*fe>=2&&(Fe++,fe/=2),Fe+Pe>=oe?(Me=0,Fe=oe):Fe+Pe>=1?(Me=(x*fe-1)*Math.pow(2,qe),Fe=Fe+Pe):(Me=x*Math.pow(2,Pe-1)*Math.pow(2,qe),Fe=0));qe>=8;ae[dt+Re]=Me&255,Re+=Se,Me/=256,qe-=8);for(Fe=Fe<<qe|Me,xe+=qe;xe>0;ae[dt+Re]=Fe&255,Re+=Se,Fe/=256,xe-=8);ae[dt+Re-Se]|=Ie*128}},53307:function(Xn,Mt,ae){"use strict";ae.r(Mt),ae.d(Mt,{AcroForm:function(){return QA},AcroFormAppearance:function(){return Qo},AcroFormButton:function(){return os},AcroFormCheckBox:function(){return Ys},AcroFormChoiceField:function(){return Vo},AcroFormComboBox:function(){return va},AcroFormEditBox:function(){return pa},AcroFormListBox:function(){return gs},AcroFormPasswordField:function(){return as},AcroFormPushButton:function(){return Es},AcroFormRadioButton:function(){return Ja},AcroFormTextField:function(){return Us},GState:function(){return Ep},ShadingPattern:function(){return Mf},TilingPattern:function(){return Uf},default:function(){return Na},jsPDF:function(){return Na}});var x=ae(43749),dt={},Le=function(y,z,E,re,ce){var he=new Worker(dt[z]||(dt[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(Ze){var Ue=Ze.data,Xe=Ue.$e$;if(Xe){var $e=new Error(Xe[0]);$e.code=Xe[1],$e.stack=Xe[2],ce($e,null)}else ce(null,Ue)},he.postMessage(E,re),he},qe=Uint8Array,He=Uint16Array,Fe=Int32Array,Me=new qe([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 qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),xe=new qe([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<<y[re-1];for(var ce=new Fe(E[30]),re=1;re<30;++re)for(var he=E[re];he<E[re+1];++he)ce[he]=he-E[re]<<5|re;return{b:E,r:ce}},Pe=oe(Me,2),ye=Pe.b,Re=Pe.r;ye[28]=258,Re[258]=28;for(var Se=oe(fe,0),Ie=Se.b,ve=Se.r,we=new He(32768),Ee=0;Ee<32768;++Ee){var Oe=(Ee&43690)>>1|(Ee&21845)<<1;Oe=(Oe&52428)>>2|(Oe&13107)<<2,Oe=(Oe&61680)>>4|(Oe&3855)<<4,we[Ee]=((Oe&65280)>>8|(Oe&255)<<8)>>1}for(var Ke=function(y,z,E){for(var re=y.length,ce=0,he=new He(z);ce<re;++ce)y[ce]&&++he[y[ce]-1];var Ze=new He(z);for(ce=1;ce<z;++ce)Ze[ce]=Ze[ce-1]+he[ce-1]<<1;var Ue;if(E){Ue=new He(1<<z);var Xe=15-z;for(ce=0;ce<re;++ce)if(y[ce])for(var $e=ce<<4|y[ce],gt=z-y[ce],Ut=Ze[y[ce]-1]++<<gt,qt=Ut|(1<<gt)-1;Ut<=qt;++Ut)Ue[we[Ut]>>Xe]=$e}else for(Ue=new He(re),ce=0;ce<re;++ce)y[ce]&&(Ue[ce]=we[Ze[y[ce]-1]++]>>15-y[ce]);return Ue},je=new qe(288),Ee=0;Ee<144;++Ee)je[Ee]=8;for(var Ee=144;Ee<256;++Ee)je[Ee]=9;for(var Ee=256;Ee<280;++Ee)je[Ee]=7;for(var Ee=280;Ee<288;++Ee)je[Ee]=8;for(var _e=new qe(32),Ee=0;Ee<32;++Ee)_e[Ee]=5;var Je=Ke(je,9,0),Ve=null,st=Ke(_e,5,0),at=null,ht=function(y){for(var z=y[0],E=1;E<y.length;++E)y[E]>z&&(z=y[E]);return z},Ct=function(y,z,E){var re=z/8|0;return(y[re]|y[re+1]<<8)>>(z&7)&E},ze=function(y,z){var E=z/8|0;return(y[E]|y[E+1]<<8|y[E+2]<<16)>>(z&7)},pt=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 qe(y.subarray(z,E))},Qe={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},Ot=["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||Ot[y]);if(re.code=y,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!E)throw re;return re},lt=function(y,z,E,re){var ce=y.length,he=re?re.length:0;if(!ce||z.f&&!z.l)return E||new qe(0);var Ze=!E,Ue=Ze||z.i!=2,Xe=z.i;Ze&&(E=new qe(ce*3));var $e=function(Eo){var ua=E.length;if(Eo>ua){var sa=new qe(Math.max(ua*2,Eo));sa.set(E),E=sa}},gt=z.f||0,Ut=z.p||0,qt=z.b||0,ft=z.l,Dn=z.d,Bn=z.m,Tn=z.n,fn=ce*8;do{if(!ft){gt=Ct(y,Ut,1);var hr=Ct(y,Ut+1,3);if(Ut+=3,hr)if(hr==1)ft=Ve,Dn=at,Bn=9,Tn=5;else if(hr==2){var Ui=Ct(y,Ut,31)+257,Ei=Ct(y,Ut+10,15)+4,Fr=Ui+Ct(y,Ut+5,31)+1;Ut+=14;for(var Gn=new qe(Fr),Vr=new qe(19),cn=0;cn<Ei;++cn)Vr[xe[cn]]=Ct(y,Ut+cn*3,7);Ut+=Ei*3;for(var kn=ht(Vr),fr=(1<<kn)-1,sr=Ke(Vr,kn,1),cn=0;cn<Fr;){var fi=sr[Ct(y,Ut,fr)];Ut+=fi&15;var ir=fi>>4;if(ir<16)Gn[cn++]=ir;else{var wi=0,Fi=0;for(ir==16?(Fi=3+Ct(y,Ut,3),Ut+=2,wi=Gn[cn-1]):ir==17?(Fi=3+Ct(y,Ut,7),Ut+=3):ir==18&&(Fi=11+Ct(y,Ut,127),Ut+=7);Fi--;)Gn[cn++]=wi}}var ei=Gn.subarray(0,Ui),Ni=Gn.subarray(Ui);Bn=ht(ei),Tn=ht(Ni),ft=Ke(ei,Bn,1),Dn=Ke(Ni,Tn,1)}else ot(1);else{var ir=pt(Ut)+4,Wn=y[ir-4]|y[ir-3]<<8,oi=ir+Wn;if(oi>ce){Xe&&ot(0);break}Ue&&$e(qt+Wn),E.set(y.subarray(ir,oi),qt),z.b=qt+=Wn,z.p=Ut=oi*8,z.f=gt;continue}if(Ut>fn){Xe&&ot(0);break}}Ue&&$e(qt+131072);for(var ko=(1<<Bn)-1,io=(1<<Tn)-1,on=Ut;;on=Ut){var wi=ft[ze(y,Ut)&ko],Kn=wi>>4;if(Ut+=wi&15,Ut>fn){Xe&&ot(0);break}if(wi||ot(2),Kn<256)E[qt++]=Kn;else if(Kn==256){on=Ut,ft=null;break}else{var qn=Kn-254;if(Kn>264){var cn=Kn-257,vr=Me[cn];qn=Ct(y,Ut,(1<<vr)-1)+ye[cn],Ut+=vr}var kr=Dn[ze(y,Ut)&io],Jr=kr>>4;kr||ot(3),Ut+=kr&15;var Ni=Ie[Jr];if(Jr>3){var vr=fe[Jr];Ni+=ze(y,Ut)&(1<<vr)-1,Ut+=vr}if(Ut>fn){Xe&&ot(0);break}Ue&&$e(qt+131072);var Si=qt+qn;if(qt<Ni){var Li=he-Ni,Yi=Math.min(Ni,Si);for(Li+qt<0&&ot(3);qt<Yi;++qt)E[qt]=re[Li+qt]}for(;qt<Si;++qt)E[qt]=E[qt-Ni]}}z.l=ft,z.p=on,z.b=qt,z.f=gt,ft&&(gt=1,z.m=Bn,z.d=Dn,z.n=Tn)}while(!gt);return qt!=E.length&&Ze?Ne(E,0,qt):E.subarray(0,qt)},Bt=function(y,z,E){E<<=z&7;var re=z/8|0;y[re]|=E,y[re+1]|=E>>8},We=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},ke=function(y,z){for(var E=[],re=0;re<y.length;++re)y[re]&&E.push({s:re,f:y[re]});var ce=E.length,he=E.slice();if(!ce)return{t:hn,l:0};if(ce==1){var Ze=new qe(E[0].s+1);return Ze[E[0].s]=1,{t:Ze,l:1}}E.sort(function(oi,Ui){return oi.f-Ui.f}),E.push({s:-1,f:25001});var Ue=E[0],Xe=E[1],$e=0,gt=1,Ut=2;for(E[0]={s:-1,f:Ue.f+Xe.f,l:Ue,r:Xe};gt!=ce-1;)Ue=E[E[$e].f<E[Ut].f?$e++:Ut++],Xe=E[$e!=gt&&E[$e].f<E[Ut].f?$e++:Ut++],E[gt++]={s:-1,f:Ue.f+Xe.f,l:Ue,r:Xe};for(var qt=he[0].s,re=1;re<ce;++re)he[re].s>qt&&(qt=he[re].s);var ft=new He(qt+1),Dn=At(E[gt-1],ft,0);if(Dn>z){var re=0,Bn=0,Tn=Dn-z,fn=1<<Tn;for(he.sort(function(Ui,Ei){return ft[Ei.s]-ft[Ui.s]||Ui.f-Ei.f});re<ce;++re){var hr=he[re].s;if(ft[hr]>z)Bn+=fn-(1<<Dn-ft[hr]),ft[hr]=z;else break}for(Bn>>=Tn;Bn>0;){var ir=he[re].s;ft[ir]<z?Bn-=1<<z-ft[ir]++-1:++re}for(;re>=0&&Bn;--re){var Wn=he[re].s;ft[Wn]==z&&(--ft[Wn],++Bn)}Dn=z}return{t:new qe(ft),l:Dn}},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},Kt=function(y){for(var z=y.length;z&&!y[--z];);for(var E=new He(++z),re=0,ce=y[0],he=1,Ze=function(Xe){E[re++]=Xe},Ue=1;Ue<=z;++Ue)if(y[Ue]==ce&&Ue!=z)++he;else{if(!ce&&he>2){for(;he>138;he-=138)Ze(32754);he>2&&(Ze(he>10?he-11<<5|28690:he-3<<5|12305),he=0)}else if(he>3){for(Ze(ce),--he;he>6;he-=6)Ze(8304);he>2&&(Ze(he-3<<5|8208),he=0)}for(;he--;)Ze(ce);he=1,ce=y[Ue]}return{c:E.subarray(0,re),n:z}},Ht=function(y,z){for(var E=0,re=0;re<z.length;++re)E+=y[re]*z[re];return E},nt=function(y,z,E){var re=E.length,ce=pt(z+2);y[ce]=re&255,y[ce+1]=re>>8,y[ce+2]=y[ce]^255,y[ce+3]=y[ce+1]^255;for(var he=0;he<re;++he)y[ce+he+4]=E[he];return(ce+4+re)*8},Pt=function(y,z,E,re,ce,he,Ze,Ue,Xe,$e,gt){Bt(z,gt++,E),++ce[256];for(var Ut=ke(ce,15),qt=Ut.t,ft=Ut.l,Dn=ke(he,15),Bn=Dn.t,Tn=Dn.l,fn=Kt(qt),hr=fn.c,ir=fn.n,Wn=Kt(Bn),oi=Wn.c,Ui=Wn.n,Ei=new He(19),Fr=0;Fr<hr.length;++Fr)++Ei[hr[Fr]&31];for(var Fr=0;Fr<oi.length;++Fr)++Ei[oi[Fr]&31];for(var Gn=ke(Ei,7),Vr=Gn.t,cn=Gn.l,kn=19;kn>4&&!Vr[xe[kn-1]];--kn);var fr=$e+5<<3,sr=Ht(ce,je)+Ht(he,_e)+Ze,fi=Ht(ce,qt)+Ht(he,Bn)+Ze+14+3*kn+Ht(Ei,Vr)+2*Ei[16]+3*Ei[17]+7*Ei[18];if(Xe>=0&&fr<=sr&&fr<=fi)return nt(z,gt,y.subarray(Xe,Xe+$e));var wi,Fi,ei,Ni;if(Bt(z,gt,1+(fi<sr)),gt+=2,fi<sr){wi=Ke(qt,ft,0),Fi=qt,ei=Ke(Bn,Tn,0),Ni=Bn;var ko=Ke(Vr,cn,0);Bt(z,gt,ir-257),Bt(z,gt+5,Ui-1),Bt(z,gt+10,kn-4),gt+=14;for(var Fr=0;Fr<kn;++Fr)Bt(z,gt+3*Fr,Vr[xe[Fr]]);gt+=3*kn;for(var io=[hr,oi],on=0;on<2;++on)for(var Kn=io[on],Fr=0;Fr<Kn.length;++Fr){var qn=Kn[Fr]&31;Bt(z,gt,ko[qn]),gt+=Vr[qn],qn>15&&(Bt(z,gt,Kn[Fr]>>5&127),gt+=Kn[Fr]>>12)}}else wi=Je,Fi=je,ei=st,Ni=_e;for(var Fr=0;Fr<Ue;++Fr){var vr=re[Fr];if(vr>255){var qn=vr>>18&31;We(z,gt,wi[qn+257]),gt+=Fi[qn+257],qn>7&&(Bt(z,gt,vr>>23&31),gt+=Me[qn]);var kr=vr&31;We(z,gt,ei[kr]),gt+=Ni[kr],kr>3&&(We(z,gt,vr>>5&8191),gt+=fe[kr])}else We(z,gt,wi[vr]),gt+=Fi[vr]}return We(z,gt,wi[256]),gt+Fi[256]},Rt=new Fe([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),hn=new qe(0),Tt=function(y,z,E,re,ce,he){var Ze=he.z||y.length,Ue=new qe(re+Ze+5*(1+Math.ceil(Ze/7e3))+ce),Xe=Ue.subarray(re,Ue.length-ce),$e=he.l,gt=(he.r||0)&7;if(z){gt&&(Xe[0]=he.r>>3);for(var Ut=Rt[z-1],qt=Ut>>13,ft=Ut&8191,Dn=(1<<E)-1,Bn=he.p||new He(32768),Tn=he.h||new He(Dn+1),fn=Math.ceil(E/3),hr=2*fn,ir=function(qa){return(y[qa]^y[qa+1]<<fn^y[qa+2]<<hr)&Dn},Wn=new Fe(25e3),oi=new He(288),Ui=new He(32),Ei=0,Fr=0,Gn=he.i||0,Vr=0,cn=he.w||0,kn=0;Gn+2<Ze;++Gn){var fr=ir(Gn),sr=Gn&32767,fi=Tn[fr];if(Bn[sr]=fi,Tn[fr]=sr,cn<=Gn){var wi=Ze-Gn;if((Ei>7e3||Vr>24576)&&(wi>423||!$e)){gt=Pt(y,Xe,0,Wn,oi,Ui,Fr,Vr,kn,Gn-kn,gt),Vr=Ei=Fr=0,kn=Gn;for(var Fi=0;Fi<286;++Fi)oi[Fi]=0;for(var Fi=0;Fi<30;++Fi)Ui[Fi]=0}var ei=2,Ni=0,ko=ft,io=sr-fi&32767;if(wi>2&&fr==ir(Gn-io))for(var on=Math.min(qt,wi)-1,Kn=Math.min(32767,Gn),qn=Math.min(258,wi);io<=Kn&&--ko&&sr!=fi;){if(y[Gn+ei]==y[Gn+ei-io]){for(var vr=0;vr<qn&&y[Gn+vr]==y[Gn+vr-io];++vr);if(vr>ei){if(ei=vr,Ni=io,vr>on)break;for(var kr=Math.min(io,vr-2),Jr=0,Fi=0;Fi<kr;++Fi){var Si=Gn-io+Fi&32767,Li=Bn[Si],Yi=Si-Li&32767;Yi>Jr&&(Jr=Yi,fi=Si)}}}sr=fi,fi=Bn[sr],io+=sr-fi&32767}if(Ni){Wn[Vr++]=268435456|Re[ei]<<18|ve[Ni];var Eo=Re[ei]&31,ua=ve[Ni]&31;Fr+=Me[Eo]+fe[ua],++oi[257+Eo],++Ui[ua],cn=Gn+ei,++Ei}else Wn[Vr++]=y[Gn],++oi[y[Gn]]}}for(Gn=Math.max(Gn,cn);Gn<Ze;++Gn)Wn[Vr++]=y[Gn],++oi[y[Gn]];gt=Pt(y,Xe,$e,Wn,oi,Ui,Fr,Vr,kn,Gn-kn,gt),$e||(he.r=gt&7|Xe[gt/8|0]<<3,gt-=7,he.h=Tn,he.p=Bn,he.i=Gn,he.w=cn)}else{for(var Gn=he.w||0;Gn<Ze+$e;Gn+=65535){var sa=Gn+65535;sa>=Ze&&(Xe[gt/8|0]=$e,sa=Ze),gt=nt(Xe,gt+1,y.subarray(Gn,sa))}he.i=Ze}return Ne(Ue,0,re+pt(gt)+ce)},mn=null,kt=function(){var y=-1;return{p:function(z){for(var E=y,re=0;re<z.length;++re)E=mn[E&255^z[re]]^E>>>8;y=E},d:function(){return~y}}},Fn=function(){var y=1,z=0;return{p:function(E){for(var re=y,ce=z,he=E.length|0,Ze=0;Ze!=he;){for(var Ue=Math.min(Ze+2655,he);Ze<Ue;++Ze)ce+=re+=E[Ze];re=(re&65535)+15*(re>>16),ce=(ce&65535)+15*(ce>>16)}y=re,z=ce},d:function(){return y%=65521,z%=65521,(y&255)<<24|(y&65280)<<8|(z&255)<<8|z>>8}}},an=function(y,z,E,re,ce){if(!ce&&(ce={l:1},z.dictionary)){var he=z.dictionary.subarray(-32768),Ze=new qe(he.length+y.length);Ze.set(he),Ze.set(y,he.length),y=Ze,ce.w=he.length}return Tt(y,z.level==null?6:z.level,z.mem==null?ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(y.length)))*1.5):20:12+z.mem,E,re,ce)},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(),ce=y.toString(),he=ce.slice(ce.indexOf("[")+1,ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ze=0;Ze<re.length;++Ze){var Ue=re[Ze],Xe=he[Ze];if(typeof Ue=="function"){z+=";"+Xe+"=";var $e=Ue.toString();if(Ue.prototype)if($e.indexOf("[native code]")!=-1){var gt=$e.indexOf(" ",8)+1;z+=$e.slice(gt,$e.indexOf("(",gt))}else{z+=$e;for(var Ut in Ue.prototype)z+=";"+Xe+".prototype."+Ut+"="+Ue.prototype[Ut].toString()}else z+=$e}else E[Xe]=Ue}return z},ie=null,ee=function(y){var z=[];for(var E in y)y[E].buffer&&z.push((y[E]=new y[E].constructor(y[E])).buffer);return z},se=function(y,z,E,re){if(!ie[E]){for(var ce="",he={},Ze=y.length-1,Ue=0;Ue<Ze;++Ue)ce=ge(y[Ue],ce,he);ie[E]={c:ge(y[Ze],ce,he),e:he}}var Xe=de({},ie[E].e);return Le(ie[E].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+z.toString()+"}",E,Xe,ee(Xe),re)},le=function(){return[qe,He,Fe,Me,fe,xe,ye,Ie,Ve,at,we,Ot,Ke,ht,Ct,ze,pt,Ne,ot,lt,si,St,Dt]},Be=function(){return[qe,He,Fe,Me,fe,xe,Re,ve,Je,je,st,_e,we,Rt,hn,Ke,Bt,We,ke,At,Kt,Ht,nt,Pt,pt,Ne,Tt,an,bn,St]},Ge=function(){return[nn,_t,ln,kt,mn]},ut=function(){return[zn,Ln]},mt=function(){return[un,ln,Fn]},vt=function(){return[Pn]},St=function(y){return postMessage(y,[y.buffer])},Dt=function(y){return y&&{out:y.size&&new qe(y.size),dictionary:y.dictionary}},Qt=function(y,z,E,re,ce,he){var Ze=se(E,re,ce,function(Ue,Xe){Ze.terminate(),he(Ue,Xe)});return Ze.postMessage([y,z],z.consume?[y.buffer]:[]),function(){Ze.terminate()}},xt=function(y){return y.ondata=function(z,E){return postMessage([z,E],[z.buffer])},function(z){z.data.length?(y.push(z.data[0],z.data[1]),postMessage([z.data[0].length])):y.flush()}},ct=function(y,z,E,re,ce,he,Ze){var Ue,Xe=se(y,re,ce,function($e,gt){$e?(Xe.terminate(),z.ondata.call(z,$e)):Array.isArray(gt)?gt.length==1?(z.queuedSize-=gt[0],z.ondrain&&z.ondrain(gt[0])):(gt[1]&&Xe.terminate(),z.ondata.call(z,$e,gt[0],gt[1])):Ze(gt)});Xe.postMessage(E),z.queuedSize=0,z.push=function($e,gt){z.ondata||ot(5),Ue&&z.ondata(ot(4,0,1),null,!!gt),z.queuedSize+=$e.length,Xe.postMessage([$e,Ue=gt],[$e.buffer])},z.terminate=function(){Xe.terminate()},he&&(z.flush=function(){Xe.postMessage([])})},Xt=function(y,z){return y[z]|y[z+1]<<8},Wt=function(y,z){return(y[z]|y[z+1]<<8|y[z+2]<<16|y[z+3]<<24)>>>0},wn=function(y,z){return Wt(y,z)+Wt(y,z+4)*4294967296},ln=function(y,z,E){for(;E;++z)y[z]=E,E>>>=8},nn=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&&ln(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)}},zn=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)},Ln=function(y){var z=y.length;return(y[z-4]|y[z-3]<<8|y[z-2]<<16|y[z-1]<<24)>>>0},_t=function(y){return 10+(y.filename?y.filename.length+1:0)},un=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 ce=Fn();ce.p(z.dictionary),ln(y,2,ce.d())}},Pn=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 Vn(y,z){return typeof y=="function"&&(z=y,y={}),this.ondata=z,y}var Lt=null,Gt=null;function sn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[Be],function(re){return St(bn(re.data[0],re.data[1]))},0,E)}function bn(y,z){return an(y,z||{},0,0)}var Yn=null,pr=null;function ti(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[le],function(re){return St(si(re.data[0],Dt(re.data[1])))},1,E)}function si(y,z){return lt(y,{i:2},z&&z.out,z&&z.dictionary)}var Cr=null,ur=null;function dr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[Be,Ge,function(){return[yn]}],function(re){return St(yn(re.data[0],re.data[1]))},2,E)}function yn(y,z){z||(z={});var E=kt(),re=y.length;E.p(y);var ce=an(y,z,_t(z),8),he=ce.length;return nn(ce,z),ln(ce,he-8,E.d()),ln(ce,he-4,re),ce}var $n=null,rr=null;function Zn(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[le,ut,function(){return[br]}],function(re){return St(br(re.data[0],re.data[1]))},3,E)}function br(y,z){var E=zn(y);return E+8>y.length&&ot(6,"invalid gzip data"),lt(y.subarray(E,-8),{i:2},z&&z.out||new qe(Ln(y)),z&&z.dictionary)}var Br=null,Or=null;function ci(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[Be,mt,function(){return[Ai]}],function(re){return St(Ai(re.data[0],re.data[1]))},4,E)}function Ai(y,z){z||(z={});var E=Fn();E.p(y);var re=an(y,z,z.dictionary?6:2,4);return un(re,z),ln(re,re.length-4,E.d()),re}var di=null,Pi=null;function yi(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),Qt(y,z,[le,vt,function(){return[oo]}],function(re){return St(oo(re.data[0],Dt(re.data[1])))},5,E)}function oo(y,z){return lt(y.subarray(Pn(y,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Gi=null,ar=null;function Dr(y,z,E){return E||(E=z,z={}),typeof E!="function"&&ot(7),y[0]==31&&y[1]==139&&y[2]==8?Zn(y,z,E):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?ti(y,z,E):yi(y,z,E)}function gi(y,z){return y[0]==31&&y[1]==139&&y[2]==8?br(y,z):(y[0]&15)!=8||y[0]>>4>7||(y[0]<<8|y[1])%31?si(y,z):oo(y,z)}var ni=function(y,z,E,re){for(var ce in y){var he=y[ce],Ze=z+ce,Ue=re;Array.isArray(he)&&(Ue=de(re,he[1]),he=he[0]),he instanceof qe?E[Ze]=[he,Ue]:(E[Ze+="/"]=[new qe(0),Ue],ni(he,Ze,E,re))}},An=typeof TextEncoder!="undefined"&&new TextEncoder,Cn=typeof TextDecoder!="undefined"&&new TextDecoder,tt=0;try{Cn.decode(hn,{stream:!0}),tt=1}catch(y){}var pn=function(y){for(var z="",E=0;;){var re=y[E++],ce=(re>127)+(re>223)+(re>239);if(E+ce>y.length)return{s:z,r:Ne(y,E-1)};ce?ce==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)):ce&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,vn=null;function On(y,z){if(z){for(var E=new qe(y.length),re=0;re<y.length;++re)E[re]=y.charCodeAt(re);return E}if(An)return An.encode(y);for(var ce=y.length,he=new qe(y.length+(y.length>>1)),Ze=0,Ue=function(gt){he[Ze++]=gt},re=0;re<ce;++re){if(Ze+5>he.length){var Xe=new qe(Ze+8+(ce-re<<1));Xe.set(he),he=Xe}var $e=y.charCodeAt(re);$e<128||z?Ue($e):$e<2048?(Ue(192|$e>>6),Ue(128|$e&63)):$e>55295&&$e<57344?($e=65536+($e&1047552)|y.charCodeAt(++re)&1023,Ue(240|$e>>18),Ue(128|$e>>12&63),Ue(128|$e>>6&63),Ue(128|$e&63)):(Ue(224|$e>>12),Ue(128|$e>>6&63),Ue(128|$e&63))}return Ne(he,0,Ze)}function Rr(y,z){if(z){for(var E="",re=0;re<y.length;re+=16384)E+=String.fromCharCode.apply(null,y.subarray(re,re+16384));return E}else{if(Cn)return Cn.decode(y);var ce=pn(y),he=ce.s,E=ce.r;return E.length&&ot(8),he}}var Xr=function(y){return y==1?3:y<6?2:y==9?1:0},li=function(y,z){return z+30+Xt(y,z+26)+Xt(y,z+28)},nr=function(y,z,E){var re=Xt(y,z+28),ce=Rr(y.subarray(z+46,z+46+re),!(Xt(y,z+8)&2048)),he=z+46+re,Ze=Wt(y,z+20),Ue=E&&Ze==4294967295?or(y,he):[Ze,Wt(y,z+24),Wt(y,z+42)],Xe=Ue[0],$e=Ue[1],gt=Ue[2];return[Xt(y,z+10),Xe,$e,ce,he+Xt(y,z+30)+Xt(y,z+32),gt]},or=function(y,z){for(;Xt(y,z)!=1;z+=4+Xt(y,z+2));return[wn(y,z+12),wn(y,z+4),wn(y,z+20)]},er=function(y){var z=0;if(y)for(var E in y){var re=y[E].length;re>65535&&ot(9),z+=re+4}return z},_r=function(y,z,E,re,ce,he,Ze,Ue){var Xe=re.length,$e=E.extra,gt=Ue&&Ue.length,Ut=er($e);ln(y,z,Ze!=null?33639248:67324752),z+=4,Ze!=null&&(y[z++]=20,y[z++]=E.os),y[z]=20,z+=2,y[z++]=E.flag<<1|(he<0&&8),y[z++]=ce&&8,y[z++]=E.compression&255,y[z++]=E.compression>>8;var qt=new Date(E.mtime==null?Date.now():E.mtime),ft=qt.getFullYear()-1980;if((ft<0||ft>119)&&ot(10),ln(y,z,ft<<25|qt.getMonth()+1<<21|qt.getDate()<<16|qt.getHours()<<11|qt.getMinutes()<<5|qt.getSeconds()>>1),z+=4,he!=-1&&(ln(y,z,E.crc),ln(y,z+4,he<0?-he-2:he),ln(y,z+8,E.size)),ln(y,z+12,Xe),ln(y,z+14,Ut),z+=16,Ze!=null&&(ln(y,z,gt),ln(y,z+6,E.attrs),ln(y,z+10,Ze),z+=14),y.set(re,z),z+=Xe,Ut)for(var Dn in $e){var Bn=$e[Dn],Tn=Bn.length;ln(y,z,+Dn),ln(y,z+2,Tn),y.set(Bn,z+4),z+=4+Tn}return gt&&(y.set(Ue,z),z+=gt),z},Ti=function(y,z,E,re,ce){ln(y,z,101010256),ln(y,z+8,E),ln(y,z+10,E),ln(y,z+12,re),ln(y,z+16,ce)},bi=null,Xi=null,Er=null,tn=null;function $t(y,z,E){E||(E=z,z={}),typeof E!="function"&&ot(7);var re={};ni(y,"",re,z);var ce=Object.keys(re),he=ce.length,Ze=0,Ue=0,Xe=he,$e=new Array(he),gt=[],Ut=function(){for(var Tn=0;Tn<gt.length;++Tn)gt[Tn]()},qt=function(Tn,fn){zr(function(){E(Tn,fn)})};zr(function(){qt=E});var ft=function(){var Tn=new qe(Ue+22),fn=Ze,hr=Ue-Ze;Ue=0;for(var ir=0;ir<Xe;++ir){var Wn=$e[ir];try{var oi=Wn.c.length;_r(Tn,Ue,Wn,Wn.f,Wn.u,oi);var Ui=30+Wn.f.length+er(Wn.extra),Ei=Ue+Ui;Tn.set(Wn.c,Ei),_r(Tn,Ze,Wn,Wn.f,Wn.u,oi,Ue,Wn.m),Ze+=16+Ui+(Wn.m?Wn.m.length:0),Ue=Ei+oi}catch(Fr){return qt(Fr,null)}}Ti(Tn,Ze,$e.length,hr,fn),qt(null,Tn)};he||ft();for(var Dn=function(Tn){var fn=ce[Tn],hr=re[fn],ir=hr[0],Wn=hr[1],oi=kt(),Ui=ir.length;oi.p(ir);var Ei=On(fn),Fr=Ei.length,Gn=Wn.comment,Vr=Gn&&On(Gn),cn=Vr&&Vr.length,kn=er(Wn.extra),fr=Wn.level==0?0:8,sr=function(fi,wi){if(fi)Ut(),qt(fi,null);else{var Fi=wi.length;$e[Tn]=de(Wn,{size:Ui,crc:oi.d(),c:wi,f:Ei,m:Vr,u:Fr!=fn.length||Vr&&Gn.length!=cn,compression:fr}),Ze+=30+Fr+kn+Fi,Ue+=76+2*(Fr+kn)+(cn||0)+Fi,--he||ft()}};if(Fr>65535&&sr(ot(11,0,1),null),!fr)sr(null,ir);else if(Ui<16e4)try{sr(null,bn(ir,Wn))}catch(fi){sr(fi,null)}else gt.push(sn(ir,Wn,sr))},Bn=0;Bn<Xe;++Bn)Dn(Bn);return Ut}function jn(y,z){z||(z={});var E={},re=[];ni(y,"",E,z);var ce=0,he=0;for(var Ze in E){var Ue=E[Ze],Xe=Ue[0],$e=Ue[1],gt=$e.level==0?0:8,Ut=On(Ze),qt=Ut.length,ft=$e.comment,Dn=ft&&On(ft),Bn=Dn&&Dn.length,Tn=er($e.extra);qt>65535&&ot(11);var fn=gt?bn(Xe,$e):Xe,hr=fn.length,ir=kt();ir.p(Xe),re.push(de($e,{size:Xe.length,crc:ir.d(),c:fn,f:Ut,m:Dn,u:qt!=Ze.length||Dn&&ft.length!=Bn,o:ce,compression:gt})),ce+=30+qt+Tn+hr,he+=76+2*(qt+Tn)+(Bn||0)+hr}for(var Wn=new qe(he+22),oi=ce,Ui=he-ce,Ei=0;Ei<re.length;++Ei){var Ut=re[Ei];_r(Wn,Ut.o,Ut,Ut.f,Ut.u,Ut.c.length);var Fr=30+Ut.f.length+er(Ut.extra);Wn.set(Ut.c,Ut.o+Fr),_r(Wn,ce,Ut,Ut.f,Ut.u,Ut.c.length,Ut.o,Ut.m),ce+=16+Fr+(Ut.m?Ut.m.length:0)}return Ti(Wn,ce,re.length,Ui,oi),Wn}var lr=null,gr=null,Ir=null,Kr=null,zr=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(y){y()};function pi(y,z,E){E||(E=z,z={}),typeof E!="function"&&ot(7);var re=[],ce=function(){for(var Tn=0;Tn<re.length;++Tn)re[Tn]()},he={},Ze=function(Tn,fn){zr(function(){E(Tn,fn)})};zr(function(){Ze=E});for(var Ue=y.length-22;Wt(y,Ue)!=101010256;--Ue)if(!Ue||y.length-Ue>65558)return Ze(ot(13,0,1),null),ce;var Xe=Xt(y,Ue+8);if(Xe){var $e=Xe,gt=Wt(y,Ue+16),Ut=gt==4294967295||$e==65535;if(Ut){var qt=Wt(y,Ue-12);Ut=Wt(y,qt)==101075792,Ut&&($e=Xe=Wt(y,qt+32),gt=Wt(y,qt+48))}for(var ft=z&&z.filter,Dn=function(Tn){var fn=nr(y,gt,Ut),hr=fn[0],ir=fn[1],Wn=fn[2],oi=fn[3],Ui=fn[4],Ei=fn[5],Fr=li(y,Ei);gt=Ui;var Gn=function(cn,kn){cn?(ce(),Ze(cn,null)):(kn&&(he[oi]=kn),--Xe||Ze(null,he))};if(!ft||ft({name:oi,size:ir,originalSize:Wn,compression:hr}))if(!hr)Gn(null,Ne(y,Fr,Fr+ir));else if(hr==8){var Vr=y.subarray(Fr,Fr+ir);if(Wn<524288||ir>.8*Wn)try{Gn(null,si(Vr,{out:new qe(Wn)}))}catch(cn){Gn(cn,null)}else re.push(ti(Vr,{size:Wn},Gn))}else Gn(ot(14,"unknown compression type "+hr,1),null);else Gn(null,null)},Bn=0;Bn<$e;++Bn)Dn(Bn)}else Ze(null,{});return ce}function Ci(y,z){for(var E={},re=y.length-22;Wt(y,re)!=101010256;--re)(!re||y.length-re>65558)&&ot(13);var ce=Xt(y,re+8);if(!ce)return{};var he=Wt(y,re+16),Ze=he==4294967295||ce==65535;if(Ze){var Ue=Wt(y,re-12);Ze=Wt(y,Ue)==101075792,Ze&&(ce=Wt(y,Ue+32),he=Wt(y,Ue+48))}for(var Xe=z&&z.filter,$e=0;$e<ce;++$e){var gt=nr(y,he,Ze),Ut=gt[0],qt=gt[1],ft=gt[2],Dn=gt[3],Bn=gt[4],Tn=gt[5],fn=li(y,Tn);he=Bn,(!Xe||Xe({name:Dn,size:qt,originalSize:ft,compression:Ut}))&&(Ut?Ut==8?E[Dn]=si(y.subarray(fn,fn+qt),{out:new qe(ft)}):ot(14,"unknown compression type "+Ut):E[Dn]=Ne(y,fn,fn+qt))}return E}var xi=ae(72190);function hi(y,z="utf8"){return new TextDecoder(z).decode(y)}const Ii=new TextEncoder;function Di(y){return Ii.encode(y)}const $i=1024*8,no=(()=>{const y=new Uint8Array(4),z=new Uint32Array(y.buffer);return!((z[0]=1)&y[0])})(),Hi={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 ai{constructor(z=$i,E={}){Nl(this,"buffer");Nl(this,"byteLength");Nl(this,"byteOffset");Nl(this,"length");Nl(this,"offset");Nl(this,"lastWrittenByte");Nl(this,"littleEndian");Nl(this,"_data");Nl(this,"_mark");Nl(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const ce=E.offset?E.offset>>>0:0,he=z.byteLength-ce;let Ze=ce;(ArrayBuffer.isView(z)||z instanceof ai)&&(z.byteLength!==z.buffer.byteLength&&(Ze=z.byteOffset+ce),z=z.buffer),re?this.lastWrittenByte=he:this.lastWrittenByte=0,this.buffer=z,this.length=he,this.byteLength=he,this.byteOffset=Ze,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ze,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,ce=new Uint8Array(re);ce.set(new Uint8Array(this.buffer)),this.buffer=ce.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=Hi[E].BYTES_PER_ELEMENT*z,ce=this.byteOffset+this.offset,he=this.buffer.slice(ce,ce+re);if(this.littleEndian===no&&E!=="uint8"&&E!=="int8"){const Ue=new Uint8Array(this.buffer.slice(ce,ce+re));Ue.reverse();const Xe=new Hi[E](Ue.buffer);return this.offset+=re,Xe.reverse(),Xe}const Ze=new Hi[E](he);return this.offset+=re,Ze}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;re<z;re++)E+=this.readChar();return E}readUtf8(z=1){return hi(this.readBytes(z))}decodeText(z=1,E="utf8"){return hi(this.readBytes(z),E)}writeBoolean(z){return this.writeUint8(z?255:0),this}writeInt8(z){return this.ensureAvailable(1),this._data.setInt8(this.offset++,z),this._updateLastWrittenByte(),this}writeUint8(z){return this.ensureAvailable(1),this._data.setUint8(this.offset++,z),this._updateLastWrittenByte(),this}writeByte(z){return this.writeUint8(z)}writeBytes(z){this.ensureAvailable(z.length);for(let E=0;E<z.length;E++)this._data.setUint8(this.offset++,z[E]);return this._updateLastWrittenByte(),this}writeInt16(z){return this.ensureAvailable(2),this._data.setInt16(this.offset,z,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(z){return this.ensureAvailable(2),this._data.setUint16(this.offset,z,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(z){return this.ensureAvailable(4),this._data.setInt32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(z){return this.ensureAvailable(4),this._data.setUint32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(z){return this.ensureAvailable(4),this._data.setFloat32(this.offset,z,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(z){return this.ensureAvailable(8),this._data.setFloat64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(z){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(z){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,z,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(z){return this.writeUint8(z.charCodeAt(0))}writeChars(z){for(let E=0;E<z.length;E++)this.writeUint8(z.charCodeAt(E));return this}writeUtf8(z){return this.writeBytes(Di(z))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const ao=4,ki=0,So=1,uo=2;function Do(y){let z=y.length;for(;--z>=0;)y[z]=0}const Co=0,to=1,Mo=2,Go=3,zo=258,No=29,zi=256,Vt=zi+1+No,$r=30,ui=19,Zr=2*Vt+1,Ri=15,ro=16,jr=7,Yr=256,Bi=16,_i=17,Ro=18,ya=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]),$o=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]),Ea=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),da=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),wa=512,Wr=new Array((Vt+2)*2);Do(Wr);const Ji=new Array($r*2);Do(Ji);const xo=new Array(wa);Do(xo);const ba=new Array(zo-Go+1);Do(ba);const Xa=new Array(No);Do(Xa);const ns=new Array($r);Do(ns);function Ta(y,z,E,re,ce){this.static_tree=y,this.extra_bits=z,this.extra_base=E,this.elems=re,this.max_length=ce,this.has_stree=y&&y.length}let Za,Fo,vo;function qo(y,z){this.dyn_tree=y,this.max_code=0,this.stat_desc=z}const ja=y=>y<256?xo[y]:xo[256+(y>>>7)],ls=(y,z)=>{y.pending_buf[y.pending++]=z&255,y.pending_buf[y.pending++]=z>>>8&255},Fs=(y,z,E)=>{y.bi_valid>ro-E?(y.bi_buf|=z<<y.bi_valid&65535,ls(y,y.bi_buf),y.bi_buf=z>>ro-y.bi_valid,y.bi_valid+=E-ro):(y.bi_buf|=z<<y.bi_valid&65535,y.bi_valid+=E)},il=(y,z,E)=>{Fs(y,E[z*2],E[z*2+1])},tu=(y,z)=>{let E=0;do E|=y&1,y>>>=1,E<<=1;while(--z>0);return E>>>1},Au=y=>{y.bi_valid===16?(ls(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)},tl=(y,z)=>{const E=z.dyn_tree,re=z.max_code,ce=z.stat_desc.static_tree,he=z.stat_desc.has_stree,Ze=z.stat_desc.extra_bits,Ue=z.stat_desc.extra_base,Xe=z.stat_desc.max_length;let $e,gt,Ut,qt,ft,Dn,Bn=0;for(qt=0;qt<=Ri;qt++)y.bl_count[qt]=0;for(E[y.heap[y.heap_max]*2+1]=0,$e=y.heap_max+1;$e<Zr;$e++)gt=y.heap[$e],qt=E[E[gt*2+1]*2+1]+1,qt>Xe&&(qt=Xe,Bn++),E[gt*2+1]=qt,!(gt>re)&&(y.bl_count[qt]++,ft=0,gt>=Ue&&(ft=Ze[gt-Ue]),Dn=E[gt*2],y.opt_len+=Dn*(qt+ft),he&&(y.static_len+=Dn*(ce[gt*2+1]+ft)));if(Bn!==0){do{for(qt=Xe-1;y.bl_count[qt]===0;)qt--;y.bl_count[qt]--,y.bl_count[qt+1]+=2,y.bl_count[Xe]--,Bn-=2}while(Bn>0);for(qt=Xe;qt!==0;qt--)for(gt=y.bl_count[qt];gt!==0;)Ut=y.heap[--$e],!(Ut>re)&&(E[Ut*2+1]!==qt&&(y.opt_len+=(qt-E[Ut*2+1])*E[Ut*2],E[Ut*2+1]=qt),gt--)}},fl=(y,z,E)=>{const re=new Array(Ri+1);let ce=0,he,Ze;for(he=1;he<=Ri;he++)ce=ce+E[he-1]<<1,re[he]=ce;for(Ze=0;Ze<=z;Ze++){let Ue=y[Ze*2+1];Ue!==0&&(y[Ze*2]=tu(re[Ue]++,Ue))}},wu=()=>{let y,z,E,re,ce;const he=new Array(Ri+1);for(E=0,re=0;re<No-1;re++)for(Xa[re]=E,y=0;y<1<<ya[re];y++)ba[E++]=re;for(ba[E-1]=re,ce=0,re=0;re<16;re++)for(ns[re]=ce,y=0;y<1<<$o[re];y++)xo[ce++]=re;for(ce>>=7;re<$r;re++)for(ns[re]=ce<<7,y=0;y<1<<$o[re]-7;y++)xo[256+ce++]=re;for(z=0;z<=Ri;z++)he[z]=0;for(y=0;y<=143;)Wr[y*2+1]=8,y++,he[8]++;for(;y<=255;)Wr[y*2+1]=9,y++,he[9]++;for(;y<=279;)Wr[y*2+1]=7,y++,he[7]++;for(;y<=287;)Wr[y*2+1]=8,y++,he[8]++;for(fl(Wr,Vt+1,he),y=0;y<$r;y++)Ji[y*2+1]=5,Ji[y*2]=tu(y,5);Za=new Ta(Wr,ya,zi+1,Vt,Ri),Fo=new Ta(Ji,$o,0,$r,Ri),vo=new Ta(new Array(0),Ea,0,ui,jr)},Lu=y=>{let z;for(z=0;z<Vt;z++)y.dyn_ltree[z*2]=0;for(z=0;z<$r;z++)y.dyn_dtree[z*2]=0;for(z=0;z<ui;z++)y.bl_tree[z*2]=0;y.dyn_ltree[Yr*2]=1,y.opt_len=y.static_len=0,y.sym_next=y.matches=0},hl=y=>{y.bi_valid>8?ls(y,y.bi_buf):y.bi_valid>0&&(y.pending_buf[y.pending++]=y.bi_buf),y.bi_buf=0,y.bi_valid=0},vc=(y,z,E,re)=>{const ce=z*2,he=E*2;return y[ce]<y[he]||y[ce]===y[he]&&re[z]<=re[E]},Du=(y,z,E)=>{const re=y.heap[E];let ce=E<<1;for(;ce<=y.heap_len&&(ce<y.heap_len&&vc(z,y.heap[ce+1],y.heap[ce],y.depth)&&ce++,!vc(z,re,y.heap[ce],y.depth));)y.heap[E]=y.heap[ce],E=ce,ce<<=1;y.heap[E]=re},fa=(y,z,E)=>{let re,ce,he=0,Ze,Ue;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,ce=y.pending_buf[y.sym_buf+he++],re===0?il(y,ce,z):(Ze=ba[ce],il(y,Ze+zi+1,z),Ue=ya[Ze],Ue!==0&&(ce-=Xa[Ze],Fs(y,ce,Ue)),re--,Ze=ja(re),il(y,Ze,E),Ue=$o[Ze],Ue!==0&&(re-=ns[Ze],Fs(y,re,Ue)));while(he<y.sym_next);il(y,Yr,z)},La=(y,z)=>{const E=z.dyn_tree,re=z.stat_desc.static_tree,ce=z.stat_desc.has_stree,he=z.stat_desc.elems;let Ze,Ue,Xe=-1,$e;for(y.heap_len=0,y.heap_max=Zr,Ze=0;Ze<he;Ze++)E[Ze*2]!==0?(y.heap[++y.heap_len]=Xe=Ze,y.depth[Ze]=0):E[Ze*2+1]=0;for(;y.heap_len<2;)$e=y.heap[++y.heap_len]=Xe<2?++Xe:0,E[$e*2]=1,y.depth[$e]=0,y.opt_len--,ce&&(y.static_len-=re[$e*2+1]);for(z.max_code=Xe,Ze=y.heap_len>>1;Ze>=1;Ze--)Du(y,E,Ze);$e=he;do Ze=y.heap[1],y.heap[1]=y.heap[y.heap_len--],Du(y,E,1),Ue=y.heap[1],y.heap[--y.heap_max]=Ze,y.heap[--y.heap_max]=Ue,E[$e*2]=E[Ze*2]+E[Ue*2],y.depth[$e]=(y.depth[Ze]>=y.depth[Ue]?y.depth[Ze]:y.depth[Ue])+1,E[Ze*2+1]=E[Ue*2+1]=$e,y.heap[1]=$e++,Du(y,E,1);while(y.heap_len>=2);y.heap[--y.heap_max]=y.heap[1],tl(y,z),fl(E,Xe,y.bl_count)},ha=(y,z,E)=>{let re,ce=-1,he,Ze=z[0*2+1],Ue=0,Xe=7,$e=4;for(Ze===0&&(Xe=138,$e=3),z[(E+1)*2+1]=65535,re=0;re<=E;re++)he=Ze,Ze=z[(re+1)*2+1],!(++Ue<Xe&&he===Ze)&&(Ue<$e?y.bl_tree[he*2]+=Ue:he!==0?(he!==ce&&y.bl_tree[he*2]++,y.bl_tree[Bi*2]++):Ue<=10?y.bl_tree[_i*2]++:y.bl_tree[Ro*2]++,Ue=0,ce=he,Ze===0?(Xe=138,$e=3):he===Ze?(Xe=6,$e=3):(Xe=7,$e=4))},ga=(y,z,E)=>{let re,ce=-1,he,Ze=z[0*2+1],Ue=0,Xe=7,$e=4;for(Ze===0&&(Xe=138,$e=3),re=0;re<=E;re++)if(he=Ze,Ze=z[(re+1)*2+1],!(++Ue<Xe&&he===Ze)){if(Ue<$e)do il(y,he,y.bl_tree);while(--Ue!==0);else he!==0?(he!==ce&&(il(y,he,y.bl_tree),Ue--),il(y,Bi,y.bl_tree),Fs(y,Ue-3,2)):Ue<=10?(il(y,_i,y.bl_tree),Fs(y,Ue-3,3)):(il(y,Ro,y.bl_tree),Fs(y,Ue-11,7));Ue=0,ce=he,Ze===0?(Xe=138,$e=3):he===Ze?(Xe=6,$e=3):(Xe=7,$e=4)}},es=y=>{let z;for(ha(y,y.dyn_ltree,y.l_desc.max_code),ha(y,y.dyn_dtree,y.d_desc.max_code),La(y,y.bl_desc),z=ui-1;z>=3&&y.bl_tree[da[z]*2+1]===0;z--);return y.opt_len+=3*(z+1)+5+5+4,z},Ya=(y,z,E,re)=>{let ce;for(Fs(y,z-257,5),Fs(y,E-1,5),Fs(y,re-4,4),ce=0;ce<re;ce++)Fs(y,y.bl_tree[da[ce]*2+1],3);ga(y,y.dyn_ltree,z-1),ga(y,y.dyn_dtree,E-1)},$a=y=>{let z=4093624447,E;for(E=0;E<=31;E++,z>>>=1)if(z&1&&y.dyn_ltree[E*2]!==0)return ki;if(y.dyn_ltree[9*2]!==0||y.dyn_ltree[10*2]!==0||y.dyn_ltree[13*2]!==0)return So;for(E=32;E<zi;E++)if(y.dyn_ltree[E*2]!==0)return So;return ki};let Kl=!1;const su=y=>{Kl||(wu(),Kl=!0),y.l_desc=new qo(y.dyn_ltree,Za),y.d_desc=new qo(y.dyn_dtree,Fo),y.bl_desc=new qo(y.bl_tree,vo),y.bi_buf=0,y.bi_valid=0,Lu(y)},Ol=(y,z,E,re)=>{Fs(y,(Co<<1)+(re?1:0),3),hl(y),ls(y,E),ls(y,~E),E&&y.pending_buf.set(y.window.subarray(z,z+E),y.pending),y.pending+=E},bu=y=>{Fs(y,to<<1,3),il(y,Yr,Wr),Au(y)},du=(y,z,E,re)=>{let ce,he,Ze=0;y.level>0?(y.strm.data_type===uo&&(y.strm.data_type=$a(y)),La(y,y.l_desc),La(y,y.d_desc),Ze=es(y),ce=y.opt_len+3+7>>>3,he=y.static_len+3+7>>>3,he<=ce&&(ce=he)):ce=he=E+5,E+4<=ce&&z!==-1?Ol(y,z,E,re):y.strategy===ao||he===ce?(Fs(y,(to<<1)+(re?1:0),3),fa(y,Wr,Ji)):(Fs(y,(Mo<<1)+(re?1:0),3),Ya(y,y.l_desc.max_code+1,y.d_desc.max_code+1,Ze+1),fa(y,y.dyn_ltree,y.dyn_dtree)),Lu(y),re&&hl(y)},Gu=(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[(ba[E]+zi+1)*2]++,y.dyn_dtree[ja(z)*2]++),y.sym_next===y.sym_end);var Qi=su,Bo=Ol,Wa=du,ol=Gu,kc=bu,nu={_tr_init:Qi,_tr_stored_block:Bo,_tr_flush_block:Wa,_tr_tally:ol,_tr_align:kc},ps=(y,z,E,re)=>{let ce=y&65535|0,he=y>>>16&65535|0,Ze=0;for(;E!==0;){Ze=E>2e3?2e3:E,E-=Ze;do ce=ce+z[re++]|0,he=he+ce|0;while(--Ze);ce%=65521,he%=65521}return ce|he<<16|0};const oc=()=>{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},td=new Uint32Array(oc());var ka=(y,z,E,re)=>{const ce=td,he=re+E;y^=-1;for(let Ze=re;Ze<he;Ze++)y=y>>>8^ce[(y^z[Ze])&255];return y^-1},Xu={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"},yc={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:Nu,_tr_stored_block:Ns,_tr_flush_block:Yu,_tr_tally:Pl,_tr_align:ml}=nu,{Z_NO_FLUSH:Tl,Z_PARTIAL_FLUSH:xu,Z_FULL_FLUSH:$u,Z_FINISH:ru,Z_BLOCK:fu,Z_OK:Fa,Z_STREAM_END:Ma,Z_STREAM_ERROR:bs,Z_DATA_ERROR:ac,Z_BUF_ERROR:Zl,Z_DEFAULT_COMPRESSION:lu,Z_FILTERED:Gc,Z_HUFFMAN_ONLY:wc,Z_RLE:pA,Z_FIXED:Wl,Z_DEFAULT_STRATEGY:bc,Z_UNKNOWN:iA,Z_DEFLATED:oA}=yc,Ed=9,Jf=15,nd=8,Ou=256+1+29,TA=30,aA=19,Sd=2*Ou+1,qf=15,Ms=3,Ju=258,mA=Ju+Ms+1,Th=32,Xc=42,kh=57,Fd=69,eh=73,bf=91,Cf=103,Yc=113,ma=666,Rl=1,Mc=2,rd=3,kA=4,Kp=3,MA=(y,z)=>(y.msg=Xu[z],z),th=y=>y*2-(y>4?9:0),Uc=y=>{let z=y.length;for(;--z>=0;)y[z]=0},id=y=>{let z,E,re,ce=y.w_size;z=y.hash_size,re=z;do E=y.head[--re],y.head[re]=E>=ce?E-ce:0;while(--z);z=ce,re=z;do E=y.prev[--re],y.prev[re]=E>=ce?E-ce:0;while(--z)};let vA=(y,z,E)=>(z<<y.hash_shift^E)&y.hash_mask;const Dc=y=>{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))},sc=(y,z)=>{Yu(y,y.block_start>=0?y.block_start:-1,y.strstart-y.block_start,z),y.block_start=y.strstart,Dc(y.strm)},zs=(y,z)=>{y.pending_buf[y.pending++]=z},yA=(y,z)=>{y.pending_buf[y.pending++]=z>>>8&255,y.pending_buf[y.pending++]=z&255},od=(y,z,E,re)=>{let ce=y.avail_in;return ce>re&&(ce=re),ce===0?0:(y.avail_in-=ce,z.set(y.input.subarray(y.next_in,y.next_in+ce),E),y.state.wrap===1?y.adler=ps(y.adler,z,ce,E):y.state.wrap===2&&(y.adler=ka(y.adler,z,ce,E)),y.next_in+=ce,y.total_in+=ce,ce)},ad=(y,z)=>{let E=y.max_chain_length,re=y.strstart,ce,he,Ze=y.prev_length,Ue=y.nice_match;const Xe=y.strstart>y.w_size-mA?y.strstart-(y.w_size-mA):0,$e=y.window,gt=y.w_mask,Ut=y.prev,qt=y.strstart+Ju;let ft=$e[re+Ze-1],Dn=$e[re+Ze];y.prev_length>=y.good_match&&(E>>=2),Ue>y.lookahead&&(Ue=y.lookahead);do if(ce=z,!($e[ce+Ze]!==Dn||$e[ce+Ze-1]!==ft||$e[ce]!==$e[re]||$e[++ce]!==$e[re+1])){re+=2,ce++;do;while($e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&$e[++re]===$e[++ce]&&re<qt);if(he=Ju-(qt-re),re=qt-Ju,he>Ze){if(y.match_start=z,Ze=he,he>=Ue)break;ft=$e[re+Ze-1],Dn=$e[re+Ze]}}while((z=Ut[z&gt])>Xe&&--E!==0);return Ze<=y.lookahead?Ze:y.lookahead},wA=y=>{const z=y.w_size;let E,re,ce;do{if(re=y.window_size-y.lookahead-y.strstart,y.strstart>=z+(z-mA)&&(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),id(y),re+=z),y.strm.avail_in===0)break;if(E=od(y.strm,y.window,y.strstart+y.lookahead,re),y.lookahead+=E,y.lookahead+y.insert>=Ms)for(ce=y.strstart-y.insert,y.ins_h=y.window[ce],y.ins_h=vA(y,y.ins_h,y.window[ce+1]);y.insert&&(y.ins_h=vA(y,y.ins_h,y.window[ce+Ms-1]),y.prev[ce&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=ce,ce++,y.insert--,!(y.lookahead+y.insert<Ms)););}while(y.lookahead<mA&&y.strm.avail_in!==0)},UA=(y,z)=>{let E=y.pending_buf_size-5>y.w_size?y.w_size:y.pending_buf_size-5,re,ce,he,Ze=0,Ue=y.strm.avail_in;do{if(re=65535,he=y.bi_valid+42>>3,y.strm.avail_out<he||(he=y.strm.avail_out-he,ce=y.strstart-y.block_start,re>ce+y.strm.avail_in&&(re=ce+y.strm.avail_in),re>he&&(re=he),re<E&&(re===0&&z!==ru||z===Tl||re!==ce+y.strm.avail_in)))break;Ze=z===ru&&re===ce+y.strm.avail_in?1:0,Ns(y,0,0,Ze),y.pending_buf[y.pending-4]=re,y.pending_buf[y.pending-3]=re>>8,y.pending_buf[y.pending-2]=~re,y.pending_buf[y.pending-1]=~re>>8,Dc(y.strm),ce&&(ce>re&&(ce=re),y.strm.output.set(y.window.subarray(y.block_start,y.block_start+ce),y.strm.next_out),y.strm.next_out+=ce,y.strm.avail_out-=ce,y.strm.total_out+=ce,y.block_start+=ce,re-=ce),re&&(od(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(Ze===0);return Ue-=y.strm.avail_in,Ue&&(Ue>=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<=Ue&&(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-Ue,y.strm.next_in),y.strstart),y.strstart+=Ue,y.insert+=Ue>y.w_size-y.insert?y.w_size-y.insert:Ue),y.block_start=y.strstart),y.high_water<y.strstart&&(y.high_water=y.strstart),Ze?kA:z!==Tl&&z!==ru&&y.strm.avail_in===0&&y.strstart===y.block_start?Mc:(he=y.window_size-y.strstart,y.strm.avail_in>he&&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&&(od(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<y.strstart&&(y.high_water=y.strstart),he=y.bi_valid+42>>3,he=y.pending_buf_size-he>65535?65535:y.pending_buf_size-he,E=he>y.w_size?y.w_size:he,ce=y.strstart-y.block_start,(ce>=E||(ce||z===ru)&&z!==Tl&&y.strm.avail_in===0&&ce<=he)&&(re=ce>he?he:ce,Ze=z===ru&&y.strm.avail_in===0&&re===ce?1:0,Ns(y,y.block_start,re,Ze),y.block_start+=re,Dc(y.strm)),Ze?rd:Rl)},xf=(y,z)=>{let E,re;for(;;){if(y.lookahead<mA){if(wA(y),y.lookahead<mA&&z===Tl)return Rl;if(y.lookahead===0)break}if(E=0,y.lookahead>=Ms&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-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-mA&&(y.match_length=ad(y,E)),y.match_length>=Ms)if(re=Pl(y,y.strstart-y.match_start,y.match_length-Ms),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=Ms){y.match_length--;do y.strstart++,y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-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=vA(y,y.ins_h,y.window[y.strstart+1]);else re=Pl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(re&&(sc(y,!1),y.strm.avail_out===0))return Rl}return y.insert=y.strstart<Ms-1?y.strstart:Ms-1,z===ru?(sc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(sc(y,!1),y.strm.avail_out===0)?Rl:Mc},Id=(y,z)=>{let E,re,ce;for(;;){if(y.lookahead<mA){if(wA(y),y.lookahead<mA&&z===Tl)return Rl;if(y.lookahead===0)break}if(E=0,y.lookahead>=Ms&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-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=Ms-1,E!==0&&y.prev_length<y.max_lazy_match&&y.strstart-E<=y.w_size-mA&&(y.match_length=ad(y,E),y.match_length<=5&&(y.strategy===Gc||y.match_length===Ms&&y.strstart-y.match_start>4096)&&(y.match_length=Ms-1)),y.prev_length>=Ms&&y.match_length<=y.prev_length){ce=y.strstart+y.lookahead-Ms,re=Pl(y,y.strstart-1-y.prev_match,y.prev_length-Ms),y.lookahead-=y.prev_length-1,y.prev_length-=2;do++y.strstart<=ce&&(y.ins_h=vA(y,y.ins_h,y.window[y.strstart+Ms-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=Ms-1,y.strstart++,re&&(sc(y,!1),y.strm.avail_out===0))return Rl}else if(y.match_available){if(re=Pl(y,0,y.window[y.strstart-1]),re&&sc(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return Rl}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(re=Pl(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart<Ms-1?y.strstart:Ms-1,z===ru?(sc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(sc(y,!1),y.strm.avail_out===0)?Rl:Mc},Mh=(y,z)=>{let E,re,ce,he;const Ze=y.window;for(;;){if(y.lookahead<=Ju){if(wA(y),y.lookahead<=Ju&&z===Tl)return Rl;if(y.lookahead===0)break}if(y.match_length=0,y.lookahead>=Ms&&y.strstart>0&&(ce=y.strstart-1,re=Ze[ce],re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce])){he=y.strstart+Ju;do;while(re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&re===Ze[++ce]&&ce<he);y.match_length=Ju-(he-ce),y.match_length>y.lookahead&&(y.match_length=y.lookahead)}if(y.match_length>=Ms?(E=Pl(y,1,y.match_length-Ms),y.lookahead-=y.match_length,y.strstart+=y.match_length,y.match_length=0):(E=Pl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++),E&&(sc(y,!1),y.strm.avail_out===0))return Rl}return y.insert=0,z===ru?(sc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(sc(y,!1),y.strm.avail_out===0)?Rl:Mc},Wp=(y,z)=>{let E;for(;;){if(y.lookahead===0&&(wA(y),y.lookahead===0)){if(z===Tl)return Rl;break}if(y.match_length=0,E=Pl(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++,E&&(sc(y,!1),y.strm.avail_out===0))return Rl}return y.insert=0,z===ru?(sc(y,!0),y.strm.avail_out===0?rd:kA):y.sym_next&&(sc(y,!1),y.strm.avail_out===0)?Rl:Mc};function lc(y,z,E,re,ce){this.good_length=y,this.max_lazy=z,this.nice_length=E,this.max_chain=re,this.func=ce}const bA=[new lc(0,0,0,0,UA),new lc(4,4,8,4,xf),new lc(4,5,16,8,xf),new lc(4,6,32,32,xf),new lc(4,4,16,16,Id),new lc(8,16,32,32,Id),new lc(8,16,128,128,Id),new lc(8,32,128,256,Id),new lc(32,128,258,1024,Id),new lc(32,258,258,4096,Id)],up=y=>{y.window_size=2*y.w_size,Uc(y.head),y.max_lazy_match=bA[y.level].max_lazy,y.good_match=bA[y.level].good_length,y.nice_match=bA[y.level].nice_length,y.max_chain_length=bA[y.level].max_chain,y.strstart=0,y.block_start=0,y.lookahead=0,y.insert=0,y.match_length=y.prev_length=Ms-1,y.match_available=0,y.ins_h=0};function Vp(){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=oA,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(Sd*2),this.dyn_dtree=new Uint16Array((2*TA+1)*2),this.bl_tree=new Uint16Array((2*aA+1)*2),Uc(this.dyn_ltree),Uc(this.dyn_dtree),Uc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(qf+1),this.heap=new Uint16Array(2*Ou+1),Uc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ou+1),Uc(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!==Xc&&z.status!==kh&&z.status!==Fd&&z.status!==eh&&z.status!==bf&&z.status!==Cf&&z.status!==Yc&&z.status!==ma?1:0},cp=y=>{if(Xd(y))return MA(y,bs);y.total_in=y.total_out=0,y.data_type=iA;const z=y.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?kh:z.wrap?Xc:Yc,y.adler=z.wrap===2?0:1,z.last_flush=-2,Nu(z),Fa},Yd=y=>{const z=cp(y);return z===Fa&&up(y.state),z},Gp=(y,z)=>Xd(y)||y.state.wrap!==2?bs:(y.state.gzhead=z,Fa),uc=(y,z,E,re,ce,he)=>{if(!y)return bs;let Ze=1;if(z===lu&&(z=6),re<0?(Ze=0,re=-re):re>15&&(Ze=2,re-=16),ce<1||ce>Ed||E!==oA||re<8||re>15||z<0||z>9||he<0||he>Wl||re===8&&Ze!==1)return MA(y,bs);re===8&&(re=9);const Ue=new Vp;return y.state=Ue,Ue.strm=y,Ue.status=Xc,Ue.wrap=Ze,Ue.gzhead=null,Ue.w_bits=re,Ue.w_size=1<<Ue.w_bits,Ue.w_mask=Ue.w_size-1,Ue.hash_bits=ce+7,Ue.hash_size=1<<Ue.hash_bits,Ue.hash_mask=Ue.hash_size-1,Ue.hash_shift=~~((Ue.hash_bits+Ms-1)/Ms),Ue.window=new Uint8Array(Ue.w_size*2),Ue.head=new Uint16Array(Ue.hash_size),Ue.prev=new Uint16Array(Ue.w_size),Ue.lit_bufsize=1<<ce+6,Ue.pending_buf_size=Ue.lit_bufsize*4,Ue.pending_buf=new Uint8Array(Ue.pending_buf_size),Ue.sym_buf=Ue.lit_bufsize,Ue.sym_end=(Ue.lit_bufsize-1)*3,Ue.level=z,Ue.strategy=he,Ue.method=E,Yd(y)},Pu=(y,z)=>uc(y,z,oA,Jf,nd,bc),cc=(y,z)=>{if(Xd(y)||z>fu||z<0)return y?MA(y,bs):bs;const E=y.state;if(!y.output||y.avail_in!==0&&!y.input||E.status===ma&&z!==ru)return MA(y,y.avail_out===0?Zl:bs);const re=E.last_flush;if(E.last_flush=z,E.pending!==0){if(Dc(y),y.avail_out===0)return E.last_flush=-1,Fa}else if(y.avail_in===0&&th(z)<=th(re)&&z!==ru)return MA(y,Zl);if(E.status===ma&&y.avail_in!==0)return MA(y,Zl);if(E.status===Xc&&E.wrap===0&&(E.status=Yc),E.status===Xc){let ce=oA+(E.w_bits-8<<4)<<8,he=-1;if(E.strategy>=wc||E.level<2?he=0:E.level<6?he=1:E.level===6?he=2:he=3,ce|=he<<6,E.strstart!==0&&(ce|=Th),ce+=31-ce%31,yA(E,ce),E.strstart!==0&&(yA(E,y.adler>>>16),yA(E,y.adler&65535)),y.adler=1,E.status=Yc,Dc(y),E.pending!==0)return E.last_flush=-1,Fa}if(E.status===kh){if(y.adler=0,zs(E,31),zs(E,139),zs(E,8),E.gzhead)zs(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)),zs(E,E.gzhead.time&255),zs(E,E.gzhead.time>>8&255),zs(E,E.gzhead.time>>16&255),zs(E,E.gzhead.time>>24&255),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,E.gzhead.os&255),E.gzhead.extra&&E.gzhead.extra.length&&(zs(E,E.gzhead.extra.length&255),zs(E,E.gzhead.extra.length>>8&255)),E.gzhead.hcrc&&(y.adler=ka(y.adler,E.pending_buf,E.pending,0)),E.gzindex=0,E.status=Fd;else if(zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,0),zs(E,E.level===9?2:E.strategy>=wc||E.level<2?4:0),zs(E,Kp),E.status=Yc,Dc(y),E.pending!==0)return E.last_flush=-1,Fa}if(E.status===Fd){if(E.gzhead.extra){let ce=E.pending,he=(E.gzhead.extra.length&65535)-E.gzindex;for(;E.pending+he>E.pending_buf_size;){let Ue=E.pending_buf_size-E.pending;if(E.pending_buf.set(E.gzhead.extra.subarray(E.gzindex,E.gzindex+Ue),E.pending),E.pending=E.pending_buf_size,E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex+=Ue,Dc(y),E.pending!==0)return E.last_flush=-1,Fa;ce=0,he-=Ue}let Ze=new Uint8Array(E.gzhead.extra);E.pending_buf.set(Ze.subarray(E.gzindex,E.gzindex+he),E.pending),E.pending+=he,E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=eh}if(E.status===eh){if(E.gzhead.name){let ce=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),Dc(y),E.pending!==0)return E.last_flush=-1,Fa;ce=0}E.gzindex<E.gzhead.name.length?he=E.gzhead.name.charCodeAt(E.gzindex++)&255:he=0,zs(E,he)}while(he!==0);E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),E.gzindex=0}E.status=bf}if(E.status===bf){if(E.gzhead.comment){let ce=E.pending,he;do{if(E.pending===E.pending_buf_size){if(E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce)),Dc(y),E.pending!==0)return E.last_flush=-1,Fa;ce=0}E.gzindex<E.gzhead.comment.length?he=E.gzhead.comment.charCodeAt(E.gzindex++)&255:he=0,zs(E,he)}while(he!==0);E.gzhead.hcrc&&E.pending>ce&&(y.adler=ka(y.adler,E.pending_buf,E.pending-ce,ce))}E.status=Cf}if(E.status===Cf){if(E.gzhead.hcrc){if(E.pending+2>E.pending_buf_size&&(Dc(y),E.pending!==0))return E.last_flush=-1,Fa;zs(E,y.adler&255),zs(E,y.adler>>8&255),y.adler=0}if(E.status=Yc,Dc(y),E.pending!==0)return E.last_flush=-1,Fa}if(y.avail_in!==0||E.lookahead!==0||z!==Tl&&E.status!==ma){let ce=E.level===0?UA(E,z):E.strategy===wc?Wp(E,z):E.strategy===pA?Mh(E,z):bA[E.level].func(E,z);if((ce===rd||ce===kA)&&(E.status=ma),ce===Rl||ce===rd)return y.avail_out===0&&(E.last_flush=-1),Fa;if(ce===Mc&&(z===xu?ml(E):z!==fu&&(Ns(E,0,0,!1),z===$u&&(Uc(E.head),E.lookahead===0&&(E.strstart=0,E.block_start=0,E.insert=0))),Dc(y),y.avail_out===0))return E.last_flush=-1,Fa}return z!==ru?Fa:E.wrap<=0?Ma:(E.wrap===2?(zs(E,y.adler&255),zs(E,y.adler>>8&255),zs(E,y.adler>>16&255),zs(E,y.adler>>24&255),zs(E,y.total_in&255),zs(E,y.total_in>>8&255),zs(E,y.total_in>>16&255),zs(E,y.total_in>>24&255)):(yA(E,y.adler>>>16),yA(E,y.adler&65535)),Dc(y),E.wrap>0&&(E.wrap=-E.wrap),E.pending!==0?Fa:Ma)},Tu=y=>{if(Xd(y))return bs;const z=y.state.status;return y.state=null,z===Yc?MA(y,ac):Fa},sd=(y,z)=>{let E=z.length;if(Xd(y))return bs;const re=y.state,ce=re.wrap;if(ce===2||ce===1&&re.status!==Xc||re.lookahead)return bs;if(ce===1&&(y.adler=ps(y.adler,z,E,0)),re.wrap=0,E>=re.w_size){ce===0&&(Uc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Xe=new Uint8Array(re.w_size);Xe.set(z.subarray(E-re.w_size,E),0),z=Xe,E=re.w_size}const he=y.avail_in,Ze=y.next_in,Ue=y.input;for(y.avail_in=E,y.next_in=0,y.input=z,wA(re);re.lookahead>=Ms;){let Xe=re.strstart,$e=re.lookahead-(Ms-1);do re.ins_h=vA(re,re.ins_h,re.window[Xe+Ms-1]),re.prev[Xe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Xe,Xe++;while(--$e);re.strstart=Xe,re.lookahead=Ms-1,wA(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Ms-1,re.match_available=0,y.next_in=Ze,y.input=Ue,y.avail_in=he,re.wrap=ce,Fa};var $d=Pu,Bf=uc,Ap=Yd,dp=cp,fp=Gp,nh=cc,CA=Tu,Ld=sd,hp="pako deflate (from Nodeca project)",bt={deflateInit:$d,deflateInit2:Bf,deflateReset:Ap,deflateResetKeep:dp,deflateSetHeader:fp,deflate:nh,deflateEnd:CA,deflateSetDictionary:Ld,deflateInfo:hp};const wt=(y,z)=>Object.prototype.hasOwnProperty.call(y,z);var Yt=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)wt(E,re)&&(y[re]=E[re])}}return y},dn=y=>{let z=0;for(let re=0,ce=y.length;re<ce;re++)z+=y[re].length;const E=new Uint8Array(z);for(let re=0,ce=0,he=y.length;re<he;re++){let Ze=y[re];E.set(Ze,ce),ce+=Ze.length}return E},In={assign:Yt,flattenChunks:dn};let Un=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(y){Un=!1}const tr=new Uint8Array(256);for(let y=0;y<256;y++)tr[y]=y>=252?6:y>=248?5:y>=240?4:y>=224?3:y>=192?2:1;tr[254]=tr[254]=1;var Jn=y=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(y);let z,E,re,ce,he,Ze=y.length,Ue=0;for(ce=0;ce<Ze;ce++)E=y.charCodeAt(ce),(E&64512)===55296&&ce+1<Ze&&(re=y.charCodeAt(ce+1),(re&64512)===56320&&(E=65536+(E-55296<<10)+(re-56320),ce++)),Ue+=E<128?1:E<2048?2:E<65536?3:4;for(z=new Uint8Array(Ue),he=0,ce=0;he<Ue;ce++)E=y.charCodeAt(ce),(E&64512)===55296&&ce+1<Ze&&(re=y.charCodeAt(ce+1),(re&64512)===56320&&(E=65536+(E-55296<<10)+(re-56320),ce++)),E<128?z[he++]=E:E<2048?(z[he++]=192|E>>>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 mr=(y,z)=>{if(z<65534&&y.subarray&&Un)return String.fromCharCode.apply(null,y.length===z?y:y.subarray(0,z));let E="";for(let re=0;re<z;re++)E+=String.fromCharCode(y[re]);return E};var cr=(y,z)=>{const E=z||y.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(y.subarray(0,z));let re,ce;const he=new Array(E*2);for(ce=0,re=0;re<E;){let Ze=y[re++];if(Ze<128){he[ce++]=Ze;continue}let Ue=tr[Ze];if(Ue>4){he[ce++]=65533,re+=Ue-1;continue}for(Ze&=Ue===2?31:Ue===3?15:7;Ue>1&&re<E;)Ze=Ze<<6|y[re++]&63,Ue--;if(Ue>1){he[ce++]=65533;continue}Ze<65536?he[ce++]=Ze:(Ze-=65536,he[ce++]=55296|Ze>>10&1023,he[ce++]=56320|Ze&1023)}return mr(he,ce)},ii=(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+tr[y[E]]>z?E:z},Mr={string2buf:Jn,buf2string:cr,utf8border:ii};function Ur(){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 Lr=Ur;const Sr=Object.prototype.toString,{Z_NO_FLUSH:Wi,Z_SYNC_FLUSH:mi,Z_FULL_FLUSH:eo,Z_FINISH:co,Z_OK:qi,Z_STREAM_END:po,Z_DEFAULT_COMPRESSION:Io,Z_DEFAULT_STRATEGY:jo,Z_DEFLATED:Uo}=yc;function Da(y){this.options=In.assign({level:Io,method:Uo,chunkSize:16384,windowBits:15,memLevel:8,strategy:jo},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 Lr,this.strm.avail_out=0;let E=bt.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(E!==qi)throw new Error(Xu[E]);if(z.header&&bt.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Mr.string2buf(z.dictionary):Sr.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,E=bt.deflateSetDictionary(this.strm,re),E!==qi)throw new Error(Xu[E]);this._dict_set=!0}}Da.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize;let ce,he;if(this.ended)return!1;for(z===~~z?he=z:he=z===!0?co:Wi,typeof y=="string"?E.input=Mr.string2buf(y):Sr.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===mi||he===eo)&&E.avail_out<=6){this.onData(E.output.subarray(0,E.next_out)),E.avail_out=0;continue}if(ce=bt.deflate(E,he),ce===po)return E.next_out>0&&this.onData(E.output.subarray(0,E.next_out)),ce=bt.deflateEnd(this.strm),this.onEnd(ce),this.ended=!0,ce===qi;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},Da.prototype.onData=function(y){this.chunks.push(y)},Da.prototype.onEnd=function(y){y===qi&&(this.result=In.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg};function oa(y,z){const E=new Da(z);if(E.push(y,!0),E.err)throw E.msg||Xu[E.err];return E.result}function ta(y,z){return z=z||{},z.raw=!0,oa(y,z)}function Zo(y,z){return z=z||{},z.gzip=!0,oa(y,z)}var Ho=Da,Ko=oa,yo=ta,ho=Zo,_o=yc,Xo={Deflate:Ho,deflate:Ko,deflateRaw:yo,gzip:ho,constants:_o};const na=16209,bo=16191;var rs=function(z,E){let re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn,fn,hr,ir,Wn,oi,Ui,Ei,Fr,Gn,Vr;const cn=z.state;re=z.next_in,Gn=z.input,ce=re+(z.avail_in-5),he=z.next_out,Vr=z.output,Ze=he-(E-z.avail_out),Ue=he+(z.avail_out-257),Xe=cn.dmax,$e=cn.wsize,gt=cn.whave,Ut=cn.wnext,qt=cn.window,ft=cn.hold,Dn=cn.bits,Bn=cn.lencode,Tn=cn.distcode,fn=(1<<cn.lenbits)-1,hr=(1<<cn.distbits)-1;e:do{Dn<15&&(ft+=Gn[re++]<<Dn,Dn+=8,ft+=Gn[re++]<<Dn,Dn+=8),ir=Bn[ft&fn];t:for(;;){if(Wn=ir>>>24,ft>>>=Wn,Dn-=Wn,Wn=ir>>>16&255,Wn===0)Vr[he++]=ir&65535;else if(Wn&16){oi=ir&65535,Wn&=15,Wn&&(Dn<Wn&&(ft+=Gn[re++]<<Dn,Dn+=8),oi+=ft&(1<<Wn)-1,ft>>>=Wn,Dn-=Wn),Dn<15&&(ft+=Gn[re++]<<Dn,Dn+=8,ft+=Gn[re++]<<Dn,Dn+=8),ir=Tn[ft&hr];n:for(;;){if(Wn=ir>>>24,ft>>>=Wn,Dn-=Wn,Wn=ir>>>16&255,Wn&16){if(Ui=ir&65535,Wn&=15,Dn<Wn&&(ft+=Gn[re++]<<Dn,Dn+=8,Dn<Wn&&(ft+=Gn[re++]<<Dn,Dn+=8)),Ui+=ft&(1<<Wn)-1,Ui>Xe){z.msg="invalid distance too far back",cn.mode=na;break e}if(ft>>>=Wn,Dn-=Wn,Wn=he-Ze,Ui>Wn){if(Wn=Ui-Wn,Wn>gt&&cn.sane){z.msg="invalid distance too far back",cn.mode=na;break e}if(Ei=0,Fr=qt,Ut===0){if(Ei+=$e-Wn,Wn<oi){oi-=Wn;do Vr[he++]=qt[Ei++];while(--Wn);Ei=he-Ui,Fr=Vr}}else if(Ut<Wn){if(Ei+=$e+Ut-Wn,Wn-=Ut,Wn<oi){oi-=Wn;do Vr[he++]=qt[Ei++];while(--Wn);if(Ei=0,Ut<oi){Wn=Ut,oi-=Wn;do Vr[he++]=qt[Ei++];while(--Wn);Ei=he-Ui,Fr=Vr}}}else if(Ei+=Ut-Wn,Wn<oi){oi-=Wn;do Vr[he++]=qt[Ei++];while(--Wn);Ei=he-Ui,Fr=Vr}for(;oi>2;)Vr[he++]=Fr[Ei++],Vr[he++]=Fr[Ei++],Vr[he++]=Fr[Ei++],oi-=3;oi&&(Vr[he++]=Fr[Ei++],oi>1&&(Vr[he++]=Fr[Ei++]))}else{Ei=he-Ui;do Vr[he++]=Vr[Ei++],Vr[he++]=Vr[Ei++],Vr[he++]=Vr[Ei++],oi-=3;while(oi>2);oi&&(Vr[he++]=Vr[Ei++],oi>1&&(Vr[he++]=Vr[Ei++]))}}else if(Wn&64){z.msg="invalid distance code",cn.mode=na;break e}else{ir=Tn[(ir&65535)+(ft&(1<<Wn)-1)];continue n}break}}else if(Wn&64)if(Wn&32){cn.mode=bo;break e}else{z.msg="invalid literal/length code",cn.mode=na;break e}else{ir=Bn[(ir&65535)+(ft&(1<<Wn)-1)];continue t}break}}while(re<ce&&he<Ue);oi=Dn>>3,re-=oi,Dn-=oi<<3,ft&=(1<<Dn)-1,z.next_in=re,z.next_out=he,z.avail_in=re<ce?5+(ce-re):5-(re-ce),z.avail_out=he<Ue?257+(Ue-he):257-(he-Ue),cn.hold=ft,cn.bits=Dn};const Va=15,kl=852,xl=592,al=0,Ao=1,Vl=2,ds=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),us=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),nl=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),uu=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var Ca=(y,z,E,re,ce,he,Ze,Ue)=>{const Xe=Ue.bits;let $e=0,gt=0,Ut=0,qt=0,ft=0,Dn=0,Bn=0,Tn=0,fn=0,hr=0,ir,Wn,oi,Ui,Ei,Fr=null,Gn;const Vr=new Uint16Array(Va+1),cn=new Uint16Array(Va+1);let kn=null,fr,sr,fi;for($e=0;$e<=Va;$e++)Vr[$e]=0;for(gt=0;gt<re;gt++)Vr[z[E+gt]]++;for(ft=Xe,qt=Va;qt>=1&&Vr[qt]===0;qt--);if(ft>qt&&(ft=qt),qt===0)return ce[he++]=1<<24|64<<16|0,ce[he++]=1<<24|64<<16|0,Ue.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:aa,Z_STREAM_ERROR:ea,Z_DATA_ERROR:Is,Z_MEM_ERROR:Js,Z_BUF_ERROR:Xs,Z_DEFLATED:pu}=yc,Ml=16180,Ac=16181,Bl=16182,Cs=16183,ll=16184,ul=16185,cu=16186,Ul=16187,xs=16188,vl=16189,Ps=16190,yl=16191,Gl=16192,ku=16193,Mu=16194,$c=16195,cl=16196,Dd=16197,_u=16198,qu=16199,Qu=16200,ec=16201,Al=16202,Cc=16203,xA=16204,Rc=16205,Jc=16206,Jd=16207,qd=16208,Ts=16209,ld=16210,Ef=16211,Ga=852,ys=592,iu=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 tc=y=>{if(!y)return 1;const z=y.state;return!z||z.strm!==y||z.mode<Ml||z.mode>Ef?1:0},ju=y=>{if(tc(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=Ml,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(Ga),z.distcode=z.distdyn=new Int32Array(ys),z.sane=1,z.back=-1,sl},ZA=y=>{if(tc(y))return ea;const z=y.state;return z.wsize=0,z.whave=0,z.wnext=0,ju(y)},Sf=(y,z)=>{let E;if(tc(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,ZA(y))},WA=(y,z)=>{if(!y)return ea;const E=new Eu;y.state=E,E.strm=y,E.window=null,E.mode=Ml;const re=Sf(y,z);return re!==sl&&(y.state=null),re},VA=y=>WA(y,iu);let gu=!0,_c,ef;const Ff=y=>{if(gu){_c=new Int32Array(512),ef=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(Ca(To,y.lens,0,288,_c,0,y.work,{bits:9}),z=0;z<32;)y.lens[z++]=5;Ca(vs,y.lens,0,32,ef,0,y.work,{bits:5}),gu=!1}y.lencode=_c,y.lenbits=9,y.distcode=ef,y.distbits=5},tf=(y,z,E,re)=>{let ce;const he=y.state;return he.window===null&&(he.wsize=1<<he.wbits,he.wnext=0,he.whave=0,he.window=new Uint8Array(he.wsize)),re>=he.wsize?(he.window.set(z.subarray(E-he.wsize,E),0),he.wnext=0,he.whave=he.wsize):(ce=he.wsize-he.wnext,ce>re&&(ce=re),he.window.set(z.subarray(E-re,E-re+ce),he.wnext),re-=ce,re?(he.window.set(z.subarray(E-re,E),0),he.wnext=re,he.whave=he.wsize):(he.wnext+=ce,he.wnext===he.wsize&&(he.wnext=0),he.whave<he.wsize&&(he.whave+=ce))),0},If=(y,z)=>{let E,re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn=0,fn,hr,ir,Wn,oi,Ui,Ei,Fr;const Gn=new Uint8Array(4);let Vr,cn;const kn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(tc(y)||!y.output||!y.input&&y.avail_in!==0)return ea;E=y.state,E.mode===yl&&(E.mode=Gl),Ze=y.next_out,ce=y.output,Xe=y.avail_out,he=y.next_in,re=y.input,Ue=y.avail_in,$e=E.hold,gt=E.bits,Ut=Ue,qt=Xe,Fr=sl;e:for(;;)switch(E.mode){case Ml:if(E.wrap===0){E.mode=Gl;break}for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(E.wrap&2&&$e===35615){E.wbits===0&&(E.wbits=15),E.check=0,Gn[0]=$e&255,Gn[1]=$e>>>8&255,E.check=ka(E.check,Gn,2,0),$e=0,gt=0,E.mode=Ac;break}if(E.head&&(E.head.done=!1),!(E.wrap&1)||((($e&255)<<8)+($e>>8))%31){y.msg="incorrect header check",E.mode=Ts;break}if(($e&15)!==pu){y.msg="unknown compression method",E.mode=Ts;break}if($e>>>=4,gt-=4,Ei=($e&15)+8,E.wbits===0&&(E.wbits=Ei),Ei>15||Ei>E.wbits){y.msg="invalid window size",E.mode=Ts;break}E.dmax=1<<E.wbits,E.flags=0,y.adler=E.check=1,E.mode=$e&512?vl:yl,$e=0,gt=0;break;case Ac:for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(E.flags=$e,(E.flags&255)!==pu){y.msg="unknown compression method",E.mode=Ts;break}if(E.flags&57344){y.msg="unknown header flags set",E.mode=Ts;break}E.head&&(E.head.text=$e>>8&1),E.flags&512&&E.wrap&4&&(Gn[0]=$e&255,Gn[1]=$e>>>8&255,E.check=ka(E.check,Gn,2,0)),$e=0,gt=0,E.mode=Bl;case Bl:for(;gt<32;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}E.head&&(E.head.time=$e),E.flags&512&&E.wrap&4&&(Gn[0]=$e&255,Gn[1]=$e>>>8&255,Gn[2]=$e>>>16&255,Gn[3]=$e>>>24&255,E.check=ka(E.check,Gn,4,0)),$e=0,gt=0,E.mode=Cs;case Cs:for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}E.head&&(E.head.xflags=$e&255,E.head.os=$e>>8),E.flags&512&&E.wrap&4&&(Gn[0]=$e&255,Gn[1]=$e>>>8&255,E.check=ka(E.check,Gn,2,0)),$e=0,gt=0,E.mode=ll;case ll:if(E.flags&1024){for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}E.length=$e,E.head&&(E.head.extra_len=$e),E.flags&512&&E.wrap&4&&(Gn[0]=$e&255,Gn[1]=$e>>>8&255,E.check=ka(E.check,Gn,2,0)),$e=0,gt=0}else E.head&&(E.head.extra=null);E.mode=ul;case ul:if(E.flags&1024&&(ft=E.length,ft>Ue&&(ft=Ue),ft&&(E.head&&(Ei=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+ft),Ei)),E.flags&512&&E.wrap&4&&(E.check=ka(E.check,re,ft,he)),Ue-=ft,he+=ft,E.length-=ft),E.length))break e;E.length=0,E.mode=cu;case cu:if(E.flags&2048){if(Ue===0)break e;ft=0;do Ei=re[he+ft++],E.head&&Ei&&E.length<65536&&(E.head.name+=String.fromCharCode(Ei));while(Ei&&ft<Ue);if(E.flags&512&&E.wrap&4&&(E.check=ka(E.check,re,ft,he)),Ue-=ft,he+=ft,Ei)break e}else E.head&&(E.head.name=null);E.length=0,E.mode=Ul;case Ul:if(E.flags&4096){if(Ue===0)break e;ft=0;do Ei=re[he+ft++],E.head&&Ei&&E.length<65536&&(E.head.comment+=String.fromCharCode(Ei));while(Ei&&ft<Ue);if(E.flags&512&&E.wrap&4&&(E.check=ka(E.check,re,ft,he)),Ue-=ft,he+=ft,Ei)break e}else E.head&&(E.head.comment=null);E.mode=xs;case xs:if(E.flags&512){for(;gt<16;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(E.wrap&4&&$e!==(E.check&65535)){y.msg="header crc mismatch",E.mode=Ts;break}$e=0,gt=0}E.head&&(E.head.hcrc=E.flags>>9&1,E.head.done=!0),y.adler=E.check=0,E.mode=yl;break;case vl:for(;gt<32;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}y.adler=E.check=Bu($e),$e=0,gt=0,E.mode=Ps;case Ps:if(E.havedict===0)return y.next_out=Ze,y.avail_out=Xe,y.next_in=he,y.avail_in=Ue,E.hold=$e,E.bits=gt,aa;y.adler=E.check=1,E.mode=yl;case yl:if(z===Gs||z===Ks)break e;case Gl:if(E.last){$e>>>=gt&7,gt-=gt&7,E.mode=Jc;break}for(;gt<3;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}switch(E.last=$e&1,$e>>>=1,gt-=1,$e&3){case 0:E.mode=ku;break;case 1:if(Ff(E),E.mode=qu,z===Ks){$e>>>=2,gt-=2;break e}break;case 2:E.mode=cl;break;case 3:y.msg="invalid block type",E.mode=Ts}$e>>>=2,gt-=2;break;case ku:for($e>>>=gt&7,gt-=gt&7;gt<32;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(($e&65535)!==($e>>>16^65535)){y.msg="invalid stored block lengths",E.mode=Ts;break}if(E.length=$e&65535,$e=0,gt=0,E.mode=Mu,z===Ks)break e;case Mu:E.mode=$c;case $c:if(ft=E.length,ft){if(ft>Ue&&(ft=Ue),ft>Xe&&(ft=Xe),ft===0)break e;ce.set(re.subarray(he,he+ft),Ze),Ue-=ft,he+=ft,Xe-=ft,Ze+=ft,E.length-=ft;break}E.mode=yl;break;case cl:for(;gt<14;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(E.nlen=($e&31)+257,$e>>>=5,gt-=5,E.ndist=($e&31)+1,$e>>>=5,gt-=5,E.ncode=($e&15)+4,$e>>>=4,gt-=4,E.nlen>286||E.ndist>30){y.msg="too many length or distance symbols",E.mode=Ts;break}E.have=0,E.mode=Dd;case Dd:for(;E.have<E.ncode;){for(;gt<3;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}E.lens[kn[E.have++]]=$e&7,$e>>>=3,gt-=3}for(;E.have<19;)E.lens[kn[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,Vr={bits:E.lenbits},Fr=Ca(Yo,E.lens,0,19,E.lencode,0,E.work,Vr),E.lenbits=Vr.bits,Fr){y.msg="invalid code lengths set",E.mode=Ts;break}E.have=0,E.mode=_u;case _u:for(;E.have<E.nlen+E.ndist;){for(;Tn=E.lencode[$e&(1<<E.lenbits)-1],fn=Tn>>>24,hr=Tn>>>16&255,ir=Tn&65535,!(fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(ir<16)$e>>>=fn,gt-=fn,E.lens[E.have++]=ir;else{if(ir===16){for(cn=fn+2;gt<cn;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if($e>>>=fn,gt-=fn,E.have===0){y.msg="invalid bit length repeat",E.mode=Ts;break}Ei=E.lens[E.have-1],ft=3+($e&3),$e>>>=2,gt-=2}else if(ir===17){for(cn=fn+3;gt<cn;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}$e>>>=fn,gt-=fn,Ei=0,ft=3+($e&7),$e>>>=3,gt-=3}else{for(cn=fn+7;gt<cn;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}$e>>>=fn,gt-=fn,Ei=0,ft=11+($e&127),$e>>>=7,gt-=7}if(E.have+ft>E.nlen+E.ndist){y.msg="invalid bit length repeat",E.mode=Ts;break}for(;ft--;)E.lens[E.have++]=Ei}}if(E.mode===Ts)break;if(E.lens[256]===0){y.msg="invalid code -- missing end-of-block",E.mode=Ts;break}if(E.lenbits=9,Vr={bits:E.lenbits},Fr=Ca(To,E.lens,0,E.nlen,E.lencode,0,E.work,Vr),E.lenbits=Vr.bits,Fr){y.msg="invalid literal/lengths set",E.mode=Ts;break}if(E.distbits=6,E.distcode=E.distdyn,Vr={bits:E.distbits},Fr=Ca(vs,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,Vr),E.distbits=Vr.bits,Fr){y.msg="invalid distances set",E.mode=Ts;break}if(E.mode=qu,z===Ks)break e;case qu:E.mode=Qu;case Qu:if(Ue>=6&&Xe>=258){y.next_out=Ze,y.avail_out=Xe,y.next_in=he,y.avail_in=Ue,E.hold=$e,E.bits=gt,rs(y,qt),Ze=y.next_out,ce=y.output,Xe=y.avail_out,he=y.next_in,re=y.input,Ue=y.avail_in,$e=E.hold,gt=E.bits,E.mode===yl&&(E.back=-1);break}for(E.back=0;Tn=E.lencode[$e&(1<<E.lenbits)-1],fn=Tn>>>24,hr=Tn>>>16&255,ir=Tn&65535,!(fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(hr&&!(hr&240)){for(Wn=fn,oi=hr,Ui=ir;Tn=E.lencode[Ui+(($e&(1<<Wn+oi)-1)>>Wn)],fn=Tn>>>24,hr=Tn>>>16&255,ir=Tn&65535,!(Wn+fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}$e>>>=Wn,gt-=Wn,E.back+=Wn}if($e>>>=fn,gt-=fn,E.back+=fn,E.length=ir,hr===0){E.mode=Rc;break}if(hr&32){E.back=-1,E.mode=yl;break}if(hr&64){y.msg="invalid literal/length code",E.mode=Ts;break}E.extra=hr&15,E.mode=ec;case ec:if(E.extra){for(cn=E.extra;gt<cn;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}E.length+=$e&(1<<E.extra)-1,$e>>>=E.extra,gt-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=Al;case Al:for(;Tn=E.distcode[$e&(1<<E.distbits)-1],fn=Tn>>>24,hr=Tn>>>16&255,ir=Tn&65535,!(fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(!(hr&240)){for(Wn=fn,oi=hr,Ui=ir;Tn=E.distcode[Ui+(($e&(1<<Wn+oi)-1)>>Wn)],fn=Tn>>>24,hr=Tn>>>16&255,ir=Tn&65535,!(Wn+fn<=gt);){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}$e>>>=Wn,gt-=Wn,E.back+=Wn}if($e>>>=fn,gt-=fn,E.back+=fn,hr&64){y.msg="invalid distance code",E.mode=Ts;break}E.offset=ir,E.extra=hr&15,E.mode=Cc;case Cc:if(E.extra){for(cn=E.extra;gt<cn;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}E.offset+=$e&(1<<E.extra)-1,$e>>>=E.extra,gt-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){y.msg="invalid distance too far back",E.mode=Ts;break}E.mode=xA;case xA:if(Xe===0)break e;if(ft=qt-Xe,E.offset>ft){if(ft=E.offset-ft,ft>E.whave&&E.sane){y.msg="invalid distance too far back",E.mode=Ts;break}ft>E.wnext?(ft-=E.wnext,Dn=E.wsize-ft):Dn=E.wnext-ft,ft>E.length&&(ft=E.length),Bn=E.window}else Bn=ce,Dn=Ze-E.offset,ft=E.length;ft>Xe&&(ft=Xe),Xe-=ft,E.length-=ft;do ce[Ze++]=Bn[Dn++];while(--ft);E.length===0&&(E.mode=Qu);break;case Rc:if(Xe===0)break e;ce[Ze++]=E.length,Xe--,E.mode=Qu;break;case Jc:if(E.wrap){for(;gt<32;){if(Ue===0)break e;Ue--,$e|=re[he++]<<gt,gt+=8}if(qt-=Xe,y.total_out+=qt,E.total+=qt,E.wrap&4&&qt&&(y.adler=E.check=E.flags?ka(E.check,ce,qt,Ze-qt):ps(E.check,ce,qt,Ze-qt)),qt=Xe,E.wrap&4&&(E.flags?$e:Bu($e))!==E.check){y.msg="incorrect data check",E.mode=Ts;break}$e=0,gt=0}E.mode=Jd;case Jd:if(E.wrap&&E.flags){for(;gt<32;){if(Ue===0)break e;Ue--,$e+=re[he++]<<gt,gt+=8}if(E.wrap&4&&$e!==(E.total&4294967295)){y.msg="incorrect length check",E.mode=Ts;break}$e=0,gt=0}E.mode=qd;case qd:Fr=hu;break e;case Ts:Fr=Is;break e;case ld:return Js;case Ef:default:return ea}return y.next_out=Ze,y.avail_out=Xe,y.next_in=he,y.avail_in=Ue,E.hold=$e,E.bits=gt,(E.wsize||qt!==y.avail_out&&E.mode<Ts&&(E.mode<Jc||z!==Os))&&tf(y,y.output,y.next_out,qt-y.avail_out),Ut-=y.avail_in,qt-=y.avail_out,y.total_in+=Ut,y.total_out+=qt,E.total+=qt,E.wrap&4&&qt&&(y.adler=E.check=E.flags?ka(E.check,ce,qt,y.next_out-qt):ps(E.check,ce,qt,y.next_out-qt)),y.data_type=E.bits+(E.last?64:0)+(E.mode===yl?128:0)+(E.mode===qu||E.mode===Mu?256:0),(Ut===0&&qt===0||z===Os)&&Fr===sl&&(Fr=Xs),Fr},GA=y=>{if(tc(y))return ea;let z=y.state;return z.window&&(z.window=null),y.state=null,sl},rh=(y,z)=>{if(tc(y))return ea;const E=y.state;return E.wrap&2?(E.head=z,z.done=!1,sl):ea},pp=(y,z)=>{const E=z.length;let re,ce,he;return tc(y)||(re=y.state,re.wrap!==0&&re.mode!==Ps)?ea:re.mode===Ps&&(ce=1,ce=ps(ce,z,E,0),ce!==re.check)?Is:(he=tf(y,z,E,E),he?(re.mode=ld,Js):(re.havedict=1,sl))};var ih=ZA,nf=Sf,gp=ju,mp=VA,rf=WA,Lf=If,Nd=GA,Df=rh,Od=pp,of="pako inflate (from Nodeca project)",BA={inflateReset:ih,inflateReset2:nf,inflateResetKeep:gp,inflateInit:mp,inflateInit2:rf,inflate:Lf,inflateEnd:Nd,inflateGetHeader:Df,inflateSetDictionary:Od,inflateInfo:of};function oh(){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 ah=oh;const Uh=Object.prototype.toString,{Z_NO_FLUSH:ud,Z_FINISH:EA,Z_OK:SA,Z_STREAM_END:Pd,Z_NEED_DICT:cd,Z_STREAM_ERROR:Rh,Z_DATA_ERROR:ws,Z_MEM_ERROR:ks}=yc;function mu(y){this.options=In.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 Lr,this.strm.avail_out=0;let E=BA.inflateInit2(this.strm,z.windowBits);if(E!==SA)throw new Error(Xu[E]);if(this.header=new ah,BA.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Mr.string2buf(z.dictionary):Uh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(E=BA.inflateSetDictionary(this.strm,z.dictionary),E!==SA)))throw new Error(Xu[E])}mu.prototype.push=function(y,z){const E=this.strm,re=this.options.chunkSize,ce=this.options.dictionary;let he,Ze,Ue;if(this.ended)return!1;for(z===~~z?Ze=z:Ze=z===!0?EA:ud,Uh.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=BA.inflate(E,Ze),he===cd&&ce&&(he=BA.inflateSetDictionary(E,ce),he===SA?he=BA.inflate(E,Ze):he===ws&&(he=cd));E.avail_in>0&&he===Pd&&E.state.wrap>0&&y[E.next_in]!==0;)BA.inflateReset(E),he=BA.inflate(E,Ze);switch(he){case Rh:case ws:case cd:case ks:return this.onEnd(he),this.ended=!0,!1}if(Ue=E.avail_out,E.next_out&&(E.avail_out===0||he===Pd))if(this.options.to==="string"){let Xe=Mr.utf8border(E.output,E.next_out),$e=E.next_out-Xe,gt=Mr.buf2string(E.output,Xe);E.next_out=$e,E.avail_out=re-$e,$e&&E.output.set(E.output.subarray(Xe,Xe+$e),0),this.onData(gt)}else this.onData(E.output.length===E.next_out?E.output:E.output.subarray(0,E.next_out));if(!(he===SA&&Ue===0)){if(he===Pd)return he=BA.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===SA&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=In.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||Xu[E.err];return E.result}function zu(y,z){return z=z||{},z.raw=!0,Hu(y,z)}var Ad=mu,XA=Hu,RA=zu,dd=Hu,YA=yc,_h={Inflate:Ad,inflate:XA,inflateRaw:RA,ungzip:dd,constants:YA};const{Deflate:fd,deflate:Xp,deflateRaw:Qh,gzip:gg}=Xo,{Inflate:mg,inflate:Yp,inflateRaw:Ql,ungzip:$p}=_h;var jh=fd,af=Xp,FA=Qh,sh=gg,lh=mg,Nf=Yp,uh=Ql,vp=$p,yp=yc,vg={Deflate:jh,deflate:af,deflateRaw:FA,gzip:sh,Inflate:lh,inflate:Nf,inflateRaw:uh,ungzip:vp,constants:yp};const wp=[];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;wp[y]=z}const ch=4294967295;function Jp(y,z,E){let re=y;for(let ce=0;ce<E;ce++)re=wp[(re^z[ce])&255]^re>>>8;return re}function wl(y,z){return(Jp(ch,y,z)^ch)>>>0}function Td(y,z,E){const re=y.readUint32(),ce=wl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z-4,z),z);if(ce!==re)throw new Error(`CRC mismatch for chunk ${E}. Expected ${re}, found ${ce}`)}function yg(y,z){y.writeUint32(wl(new Uint8Array(y.buffer,y.byteOffset+y.offset-z,z),z))}function jl(y,z,E){for(let re=0;re<E;re++)z[re]=y[re]}function kd(y,z,E,re){let ce=0;for(;ce<re;ce++)z[ce]=y[ce];for(;ce<E;ce++)z[ce]=y[ce]+z[ce-re]&255}function $A(y,z,E,re){let ce=0;if(E.length===0)for(;ce<re;ce++)z[ce]=y[ce];else for(;ce<re;ce++)z[ce]=y[ce]+E[ce]&255}function hd(y,z,E,re,ce){let he=0;if(E.length===0){for(;he<ce;he++)z[he]=y[he];for(;he<re;he++)z[he]=y[he]+(z[he-ce]>>1)&255}else{for(;he<ce;he++)z[he]=y[he]+(E[he]>>1)&255;for(;he<re;he++)z[he]=y[he]+(z[he-ce]+E[he]>>1)&255}}function El(y,z,E,re,ce){let he=0;if(E.length===0){for(;he<ce;he++)z[he]=y[he];for(;he<re;he++)z[he]=y[he]+z[he-ce]&255}else{for(;he<ce;he++)z[he]=y[he]+E[he]&255;for(;he<re;he++)z[he]=y[he]+Ah(z[he-ce],E[he],E[he-ce])&255}}function Ah(y,z,E){const re=y+z-E,ce=Math.abs(re-y),he=Math.abs(re-z),Ze=Math.abs(re-E);return ce<=he&&ce<=Ze?y:he<=Ze?z:E}function pd(y,z,E,re,ce,he){switch(y){case 0:jl(z,E,ce);break;case 1:kd(z,E,ce,he);break;case 2:$A(z,E,re,ce);break;case 3:hd(z,E,re,ce,he);break;case 4:El(z,E,re,ce,he);break;default:throw new Error(`Unsupported filter: ${y}`)}}const qp=new Uint16Array([255]),a=new Uint8Array(qp.buffer)[0]===255;function b(y){const{data:z,width:E,height:re,channels:ce,depth:he}=y,Ze=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],Ue=Math.ceil(he/8)*ce,Xe=new Uint8Array(re*E*Ue);let $e=0;for(let gt=0;gt<7;gt++){const Ut=Ze[gt],qt=Math.ceil((E-Ut.x)/Ut.xStep),ft=Math.ceil((re-Ut.y)/Ut.yStep);if(qt<=0||ft<=0)continue;const Dn=qt*Ue,Bn=new Uint8Array(Dn);for(let Tn=0;Tn<ft;Tn++){const fn=z[$e++],hr=z.subarray($e,$e+Dn);$e+=Dn;const ir=new Uint8Array(Dn);pd(fn,hr,ir,Bn,Dn,Ue),Bn.set(ir);for(let Wn=0;Wn<qt;Wn++){const oi=Ut.x+Wn*Ut.xStep,Ui=Ut.y+Tn*Ut.yStep;if(!(oi>=E||Ui>=re))for(let Ei=0;Ei<Ue;Ei++)Xe[(Ui*E+oi)*Ue+Ei]=ir[Wn*Ue+Ei]}}}if(he===16){const gt=new Uint16Array(Xe.buffer);if(a)for(let Ut=0;Ut<gt.length;Ut++)gt[Ut]=ne(gt[Ut]);return gt}else return Xe}function ne(y){return(y&255)<<8|y>>8&255}const te=new Uint16Array([255]),Te=new Uint8Array(te.buffer)[0]===255,et=new Uint8Array(0);function yt(y){const{data:z,width:E,height:re,channels:ce,depth:he}=y,Ze=Math.ceil(he/8)*ce,Ue=Math.ceil(he/8*ce*E),Xe=new Uint8Array(re*Ue);let $e=et,gt=0,Ut,qt;for(let ft=0;ft<re;ft++){switch(Ut=z.subarray(gt+1,gt+1+Ue),qt=Xe.subarray(ft*Ue,(ft+1)*Ue),z[gt]){case 0:jl(Ut,qt,Ue);break;case 1:kd(Ut,qt,Ue,Ze);break;case 2:$A(Ut,qt,$e,Ue);break;case 3:hd(Ut,qt,$e,Ue,Ze);break;case 4:El(Ut,qt,$e,Ue,Ze);break;default:throw new Error(`Unsupported filter: ${z[gt]}`)}$e=qt,gt+=Ue+1}if(he===16){const ft=new Uint16Array(Xe.buffer);if(Te)for(let Dn=0;Dn<ft.length;Dn++)ft[Dn]=Ft(ft[Dn]);return ft}else return Xe}function Ft(y){return(y&255)<<8|y>>8&255}const Nt=Uint8Array.of(137,80,78,71,13,10,26,10);function Nn(y){y.writeBytes(Nt)}function Hn(y){if(!Pr(y.readBytes(Nt.length)))throw new Error("wrong PNG signature")}function Pr(y){if(y.length<Nt.length)return!1;for(let z=0;z<Nt.length;z++)if(y[z]!==Nt[z])return!1;return!0}const wr="tEXt",vi=0,Ki=new TextDecoder("latin1");function fo(y){if(Wo(y),y.length===0||y.length>79)throw new Error("keyword length must be between 1 and 79")}const Oo=/^[\u0000-\u00FF]*$/;function Wo(y){if(!Oo.test(y))throw new Error("invalid latin1 text")}function Po(y,z,E){const re=Ua(z);y[re]=xa(z,E-re.length-1)}function la(y,z,E){fo(z),Wo(E);const re=z.length+1+E.length;y.writeUint32(re),y.writeChars(wr),y.writeChars(z),y.writeByte(vi),y.writeChars(E),writeCrc(y,re+4)}function Ua(y){for(y.mark();y.readByte()!==vi;);const z=y.offset;y.reset();const E=Ki.decode(y.readBytes(z-y.offset-1));return y.skip(1),fo(E),E}function xa(y,z){return Ki.decode(y.readBytes(z))}const Ha={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},Xl={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},xc={NONE:0,BACKGROUND:1,PREVIOUS:2},nc={SOURCE:0,OVER:1};class Uu extends ai{constructor(E,re={}){super(E);Nl(this,"_checkCrc");Nl(this,"_inflator");Nl(this,"_png");Nl(this,"_apng");Nl(this,"_end");Nl(this,"_hasPalette");Nl(this,"_palette");Nl(this,"_hasTransparency");Nl(this,"_transparency");Nl(this,"_compressionMethod");Nl(this,"_filterMethod");Nl(this,"_interlaceMethod");Nl(this,"_colorType");Nl(this,"_isAnimated");Nl(this,"_numberOfFrames");Nl(this,"_numberOfPlays");Nl(this,"_frames");Nl(this,"_writingDataChunks");const{checkCrc:ce=!1}=re;this._checkCrc=ce,this._inflator=new lh,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=Xl.UNKNOWN,this._colorType=Ha.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Hn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeChunk(E,re)}return this.decodeImage(),this._png}decodeApng(){for(Hn(this);!this._end;){const E=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(E,re)}return this.decodeApngImage(),this._apng}decodeChunk(E,re){const ce=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 wr:Po(this._png.text,this,E);break;case"pHYs":this.decodepHYs();break;default:this.skip(E);break}if(this.offset-ce!==E)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Td(this,E+4,re):this.skip(4)}decodeApngChunk(E,re){const ce=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=ce+E;break}if(this.offset-ce!==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=Bc(this.readUint8());const re=this.readUint8();this._colorType=re;let ce;switch(re){case Ha.GREYSCALE:ce=1;break;case Ha.TRUECOLOUR:ce=3;break;case Ha.INDEXED_COLOUR:ce=1;break;case Ha.GREYSCALE_ALPHA:ce=2;break;case Ha.TRUECOLOUR_ALPHA:ce=4;break;case Ha.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=ce,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 ce=[];this._palette=ce;for(let he=0;he<re;he++)ce.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(E){this._writingDataChunks=!0;const re=E,ce=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,ce,re)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(E)}decodeFDAT(E){this._writingDataChunks=!0;let re=E,ce=this.offset+this.byteOffset;if(ce+=4,re-=4,this._inflator.push(new Uint8Array(this.buffer,ce,re)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(E)}decodetRNS(E){switch(this._colorType){case Ha.GREYSCALE:case Ha.TRUECOLOUR:{if(E%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${E}`);if(E/2>this._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;re<E/2;re++)this._transparency[re]=this.readUint16();break}case Ha.INDEXED_COLOUR:{if(E>this._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<E;re++){const ce=this.readByte();this._palette[re].push(ce)}for(;re<this._palette.length;re++)this._palette[re].push(255);break}case Ha.UNKNOWN:case Ha.GREYSCALE_ALPHA:case Ha.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(E){const re=Ua(this),ce=this.readUint8();if(ce!==Sl.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${ce}`);const he=this.readBytes(E-re.length-2);this._png.iccEmbeddedProfile={name:re,profile:Nf(he)}}decodepHYs(){const E=this.readUint32(),re=this.readUint32(),ce=this.readByte();this._png.resolution={x:E,y:re,unit:ce}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let E=0;E<this._numberOfFrames;E++){const re={sequenceNumber:this._frames[E].sequenceNumber,delayNumber:this._frames[E].delayNumber,delayDenominator:this._frames[E].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},ce=this._frames.at(E);if(ce){if(ce.data=yt({data:ce.data,width:ce.width,height:ce.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),E===0||ce.xOffset===0&&ce.yOffset===0&&ce.width===this._png.width&&ce.height===this._png.height)re.data=ce.data;else{const he=this._apng.frames.at(E-1);this.disposeFrame(ce,he,re),this.addFrameDataToCanvas(re,ce)}this._apng.frames.push(re)}}return this._apng}disposeFrame(E,re,ce){switch(E.disposeOp){case xc.NONE:break;case xc.BACKGROUND:for(let he=0;he<this._png.height;he++)for(let Ze=0;Ze<this._png.width;Ze++){const Ue=(he*E.width+Ze)*this._png.channels;for(let Xe=0;Xe<this._png.channels;Xe++)ce.data[Ue+Xe]=0}break;case xc.PREVIOUS:ce.data.set(re.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(E,re){const ce=1<<this._png.depth,he=(Ze,Ue)=>{const Xe=((Ze+re.yOffset)*this._png.width+re.xOffset+Ue)*this._png.channels,$e=(Ze*re.width+Ue)*this._png.channels;return{index:Xe,frameIndex:$e}};switch(re.blendOp){case nc.SOURCE:for(let Ze=0;Ze<re.height;Ze++)for(let Ue=0;Ue<re.width;Ue++){const{index:Xe,frameIndex:$e}=he(Ze,Ue);for(let gt=0;gt<this._png.channels;gt++)E.data[Xe+gt]=re.data[$e+gt]}break;case nc.OVER:for(let Ze=0;Ze<re.height;Ze++)for(let Ue=0;Ue<re.width;Ue++){const{index:Xe,frameIndex:$e}=he(Ze,Ue);for(let gt=0;gt<this._png.channels;gt++){const Ut=re.data[$e+this._png.channels-1]/ce,qt=gt%(this._png.channels-1)===0?1:re.data[$e+gt],ft=Math.floor(Ut*qt+(1-Ut)*E.data[Xe+gt]);E.data[Xe+gt]+=ft}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var re;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const E=this._isAnimated?((re=this._frames)==null?void 0:re.at(0)).data:this._inflator.result;if(this._filterMethod!==Ku.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Xl.NO_INTERLACE)this._png.data=yt({data:E,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Xl.ADAM7)this._png.data=b({data:E,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const E=this._inflator.result,re=this._frames.at(-1);re?re.data=E:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:xc.NONE,blendOp:nc.SOURCE,data:E}),this._inflator=new lh,this._writingDataChunks=!1}}function Bc(y){if(y!==1&&y!==2&&y!==4&&y!==8&&y!==16)throw new Error(`invalid bit depth: ${y}`);return y}const dc={level:3};class Lo extends null{constructor(E,re={}){var ce;super();Nl(this,"_png");Nl(this,"_zlibOptions");Nl(this,"_colorType");Nl(this,"_interlaceMethod");this._colorType=ColorType.UNKNOWN,this._zlibOptions=wf(wf({},dc),re.zlib),this._png=this._checkData(E),this._interlaceMethod=(ce=re.interlace==="Adam7"?InterlaceMethod.ADAM7:InterlaceMethod.NO_INTERLACE)!=null?ce:InterlaceMethod.NO_INTERLACE,this.setBigEndian()}encode(){if(writeSignature(this),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),this._png.palette[0].length===4&&this.encodeTRNS()),this.encodeData(),this._png.text)for(const[E,re]of Object.entries(this._png.text))encodetEXt(this,E,re);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(CompressionMethod.DEFLATE),this.writeByte(FilterMethod.ADAPTIVE),this.writeByte(this._interlaceMethod),writeCrc(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),writeCrc(this,4)}encodePLTE(){var re;const E=((re=this._png.palette)==null?void 0:re.length)*3;this.writeUint32(E),this.writeChars("PLTE");for(const ce of this._png.palette)this.writeByte(ce[0]),this.writeByte(ce[1]),this.writeByte(ce[2]);writeCrc(this,4+E)}encodeTRNS(){const E=this._png.palette.filter(re=>re.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:ce,depth:he,data:Ze}=this._png,Ue=he<=8?Math.ceil(E*he/8)*ce:Math.ceil(E*he/8*ce/2),Xe=new IOBuffer().setBigEndian();let $e=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let qt=0;qt<re;qt++)Xe.writeByte(0),he===16?$e=Zs(Ze,Xe,Ue,$e):$e=$l(Ze,Xe,Ue,$e);else this._interlaceMethod===InterlaceMethod.ADAM7&&($e=Of(this._png,Ze,Xe,$e));const gt=Xe.toArray(),Ut=deflate(gt,this._zlibOptions);this.encodeIDAT(Ut)}_checkData(E){const{colorType:re,channels:ce,depth:he}=Yl(E,E.palette),Ze={width:Hl(E.width,"width"),height:Hl(E.height,"height"),channels:ce,data:E.data,depth:he,text:E.text,palette:E.palette};this._colorType=re;const Ue=he<8?Math.ceil(Ze.width*he/8)*Ze.height*ce:Ze.width*Ze.height*ce;if(Ze.data.length!==Ue)throw new RangeError(`wrong data size. Found ${Ze.data.length}, expected ${Ue}`);return Ze}}function Hl(y,z){if(Number.isInteger(y)&&y>0)return y;throw new TypeError(`${z} must be a positive integer`)}function Yl(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 ce={channels:E,depth:re,colorType:ColorType.UNKNOWN};switch(E){case 4:ce.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ce.colorType=ColorType.TRUECOLOUR;break;case 1:z?ce.colorType=ColorType.INDEXED_COLOUR:ce.colorType=ColorType.GREYSCALE;break;case 2:ce.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ce}function $l(y,z,E,re){for(let ce=0;ce<E;ce++)z.writeByte(y[re++]);return re}function Of(y,z,E,re){const ce=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],{width:he,height:Ze,channels:Ue,depth:Xe}=y;let $e=0;Xe===16?$e=Ue*Xe/8/2:$e=Ue*Xe/8;for(let gt=0;gt<7;gt++){const Ut=ce[gt],qt=Math.floor((he-Ut.x+Ut.xStep-1)/Ut.xStep),ft=Math.floor((Ze-Ut.y+Ut.yStep-1)/Ut.yStep);if(qt<=0||ft<=0)continue;const Dn=qt*$e;for(let Bn=0;Bn<ft;Bn++){const Tn=Ut.y+Bn*Ut.yStep,fn=Xe<=8?new Uint8Array(Dn):new Uint16Array(Dn);let hr=0;for(let ir=0;ir<qt;ir++){const Wn=Ut.x+ir*Ut.xStep;if(Wn<he&&Tn<Ze){const oi=(Tn*he+Wn)*$e;for(let Ui=0;Ui<$e;Ui++)fn[hr++]=z[oi+Ui]}}if(E.writeByte(0),Xe===8)E.writeBytes(fn);else if(Xe===16)for(const ir of fn)E.writeByte(ir>>8&255),E.writeByte(ir&255)}}return re}function Zs(y,z,E,re){for(let ce=0;ce<E;ce++)z.writeUint16(y[re++]);return re}var Ls;(function(y){y[y.UNKNOWN=0]="UNKNOWN",y[y.METRE=1]="METRE"})(Ls||(Ls={}));function sA(y,z){return new Uu(y,z).decode()}function fc(y,z){return new PngEncoder(y,z).encode()}function dh(y,z){return new PngDecoder(y,z).decodeApng()}var Ra=function(){return typeof window!="undefined"?window:typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:this}();function IA(){Ra.console&&typeof Ra.console.log=="function"&&Ra.console.log.apply(Ra.console,arguments)}var dl={log:IA,warn:function(y){Ra.console&&(typeof Ra.console.warn=="function"?Ra.console.warn.apply(Ra.console,arguments):IA.call(null,arguments))},error:function(y){Ra.console&&(typeof Ra.console.error=="function"?Ra.console.error.apply(Ra.console,arguments):IA(y))}};function hc(y,z,E){var re=new XMLHttpRequest;re.open("GET",y),re.responseType="blob",re.onload=function(){Tf(re.response,z,E)},re.onerror=function(){dl.error("could not download file")},re.send()}function Md(y){var z=new XMLHttpRequest;z.open("HEAD",y,!1);try{z.send()}catch(E){}return z.status>=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 Tf=Ra.saveAs||((typeof window=="undefined"?"undefined":(0,x.Z)(window))!=="object"||window!==Ra?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(y,z,E){var re=Ra.URL||Ra.webkitURL,ce=document.createElement("a");z=z||y.name||"download",ce.download=z,ce.rel="noopener",typeof y=="string"?(ce.href=y,ce.origin!==location.origin?Md(ce.href)?hc(y,z,E):Pf(ce,ce.target="_blank"):Pf(ce)):(ce.href=re.createObjectURL(y),setTimeout(function(){re.revokeObjectURL(ce.href)},4e4),setTimeout(function(){Pf(ce)},0))}:"msSaveOrOpenBlob"in navigator?function(y,z,E){if(z=z||y.name||"download",typeof y=="string")if(Md(y))hc(y,z,E);else{var re=document.createElement("a");re.href=y,re.target="_blank",setTimeout(function(){Pf(re)})}else navigator.msSaveOrOpenBlob(function(ce,he){return he===void 0?he={autoBom:!1}:(0,x.Z)(he)!=="object"&&(dl.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(ce.type)?new Blob(["\uFEFF",ce],{type:ce.type}):ce}(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 hc(y,z,E);var ce=y.type==="application/octet-stream",he=/constructor/i.test(Ra.HTMLElement)||Ra.safari,Ze=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ze||ce&&he)&&(typeof FileReader=="undefined"?"undefined":(0,x.Z)(FileReader))==="object"){var Ue=new FileReader;Ue.onloadend=function(){var gt=Ue.result;gt=Ze?gt:gt.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=gt:location=gt,re=null},Ue.readAsDataURL(y)}else{var Xe=Ra.URL||Ra.webkitURL,$e=Xe.createObjectURL(y);re?re.location=$e:location.href=$e,re=null,setTimeout(function(){Xe.revokeObjectURL($e)},4e4)}});function Jg(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(Ue){return[parseInt(Ue[1]),parseInt(Ue[2]),parseInt(Ue[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ue){return[parseInt(Ue[1],16),parseInt(Ue[2],16),parseInt(Ue[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ue){return[parseInt(Ue[1]+Ue[1],16),parseInt(Ue[2]+Ue[2],16),parseInt(Ue[3]+Ue[3],16)]}}],re=0;re<E.length;re++){var ce=E[re].re,he=E[re].process,Ze=ce.exec(y);Ze&&(z=he(Ze),this.r=z[0],this.g=z[1],this.b=z[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?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 Ue=this.r.toString(16),Xe=this.g.toString(16),$e=this.b.toString(16);return Ue.length==1&&(Ue="0"+Ue),Xe.length==1&&(Xe="0"+Xe),$e.length==1&&($e="0"+$e),"#"+Ue+Xe+$e}}var bp=Ra.atob.bind(Ra),wg=Ra.btoa.bind(Ra);function Cp(y,z){var E=y[0],re=y[1],ce=y[2],he=y[3];E=qc(E,re,ce,he,z[0],7,-680876936),he=qc(he,E,re,ce,z[1],12,-389564586),ce=qc(ce,he,E,re,z[2],17,606105819),re=qc(re,ce,he,E,z[3],22,-1044525330),E=qc(E,re,ce,he,z[4],7,-176418897),he=qc(he,E,re,ce,z[5],12,1200080426),ce=qc(ce,he,E,re,z[6],17,-1473231341),re=qc(re,ce,he,E,z[7],22,-45705983),E=qc(E,re,ce,he,z[8],7,1770035416),he=qc(he,E,re,ce,z[9],12,-1958414417),ce=qc(ce,he,E,re,z[10],17,-42063),re=qc(re,ce,he,E,z[11],22,-1990404162),E=qc(E,re,ce,he,z[12],7,1804603682),he=qc(he,E,re,ce,z[13],12,-40341101),ce=qc(ce,he,E,re,z[14],17,-1502002290),E=Qc(E,re=qc(re,ce,he,E,z[15],22,1236535329),ce,he,z[1],5,-165796510),he=Qc(he,E,re,ce,z[6],9,-1069501632),ce=Qc(ce,he,E,re,z[11],14,643717713),re=Qc(re,ce,he,E,z[0],20,-373897302),E=Qc(E,re,ce,he,z[5],5,-701558691),he=Qc(he,E,re,ce,z[10],9,38016083),ce=Qc(ce,he,E,re,z[15],14,-660478335),re=Qc(re,ce,he,E,z[4],20,-405537848),E=Qc(E,re,ce,he,z[9],5,568446438),he=Qc(he,E,re,ce,z[14],9,-1019803690),ce=Qc(ce,he,E,re,z[3],14,-187363961),re=Qc(re,ce,he,E,z[8],20,1163531501),E=Qc(E,re,ce,he,z[13],5,-1444681467),he=Qc(he,E,re,ce,z[2],9,-51403784),ce=Qc(ce,he,E,re,z[7],14,1735328473),E=eA(E,re=Qc(re,ce,he,E,z[12],20,-1926607734),ce,he,z[5],4,-378558),he=eA(he,E,re,ce,z[8],11,-2022574463),ce=eA(ce,he,E,re,z[11],16,1839030562),re=eA(re,ce,he,E,z[14],23,-35309556),E=eA(E,re,ce,he,z[1],4,-1530992060),he=eA(he,E,re,ce,z[4],11,1272893353),ce=eA(ce,he,E,re,z[7],16,-155497632),re=eA(re,ce,he,E,z[10],23,-1094730640),E=eA(E,re,ce,he,z[13],4,681279174),he=eA(he,E,re,ce,z[0],11,-358537222),ce=eA(ce,he,E,re,z[3],16,-722521979),re=eA(re,ce,he,E,z[6],23,76029189),E=eA(E,re,ce,he,z[9],4,-640364487),he=eA(he,E,re,ce,z[12],11,-421815835),ce=eA(ce,he,E,re,z[15],16,530742520),E=tA(E,re=eA(re,ce,he,E,z[2],23,-995338651),ce,he,z[0],6,-198630844),he=tA(he,E,re,ce,z[7],10,1126891415),ce=tA(ce,he,E,re,z[14],15,-1416354905),re=tA(re,ce,he,E,z[5],21,-57434055),E=tA(E,re,ce,he,z[12],6,1700485571),he=tA(he,E,re,ce,z[3],10,-1894986606),ce=tA(ce,he,E,re,z[10],15,-1051523),re=tA(re,ce,he,E,z[1],21,-2054922799),E=tA(E,re,ce,he,z[8],6,1873313359),he=tA(he,E,re,ce,z[15],10,-30611744),ce=tA(ce,he,E,re,z[6],15,-1560198380),re=tA(re,ce,he,E,z[13],21,1309151649),E=tA(E,re,ce,he,z[4],6,-145523070),he=tA(he,E,re,ce,z[11],10,-1120210379),ce=tA(ce,he,E,re,z[2],15,718787259),re=tA(re,ce,he,E,z[9],21,-343485551),y[0]=Ud(E,y[0]),y[1]=Ud(re,y[1]),y[2]=Ud(ce,y[2]),y[3]=Ud(he,y[3])}function xp(y,z,E,re,ce,he){return z=Ud(Ud(z,y),Ud(re,he)),Ud(z<<ce|z>>>32-ce,E)}function qc(y,z,E,re,ce,he,Ze){return xp(z&E|~z&re,y,z,ce,he,Ze)}function Qc(y,z,E,re,ce,he,Ze){return xp(z&re|E&~re,y,z,ce,he,Ze)}function eA(y,z,E,re,ce,he,Ze){return xp(z^E^re,y,z,ce,he,Ze)}function tA(y,z,E,re,ce,he,Ze){return xp(E^(z|~re),y,z,ce,he,Ze)}function qg(y){var z,E=y.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=y.length;z+=64)Cp(re,eg(y.substring(z-64,z)));y=y.substring(z-64);var ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z<y.length;z++)ce[z>>2]|=y.charCodeAt(z)<<(z%4<<3);if(ce[z>>2]|=128<<(z%4<<3),z>55)for(Cp(re,ce),z=0;z<16;z++)ce[z]=0;return ce[14]=8*E,Cp(re,ce),re}function eg(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 _A="0123456789abcdef".split("");function em(y){for(var z="",E=0;E<4;E++)z+=_A[y>>8*E+4&15]+_A[y>>8*E&15];return z}function tg(y){return String.fromCharCode(255&y,(65280&y)>>8,(16711680&y)>>16,(4278190080&y)>>24)}function bg(y){return qg(y).map(tg).join("")}var jm=function(y){for(var z=0;z<y.length;z++)y[z]=em(y[z]);return y.join("")}(qg("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ud(y,z){if(jm){var E=(65535&y)+(65535&z);return(y>>16)+(z>>16)+(E>>16)<<16|65535&E}return y+z&4294967295}function kf(y,z){var E,re,ce,he;if(y!==E){for(var Ze=(ce=y,he=1+(256/y.length|0),new Array(he+1).join(ce)),Ue=[],Xe=0;Xe<256;Xe++)Ue[Xe]=Xe;var $e=0;for(Xe=0;Xe<256;Xe++){var gt=Ue[Xe];$e=($e+gt+Ze.charCodeAt(Xe))%256,Ue[Xe]=Ue[$e],Ue[$e]=gt}E=y,re=Ue}else Ue=re;var Ut=z.length,qt=0,ft=0,Dn="";for(Xe=0;Xe<Ut;Xe++)ft=(ft+(gt=Ue[qt=(qt+1)%256]))%256,Ue[qt]=Ue[ft],Ue[ft]=gt,Ze=Ue[(Ue[qt]+Ue[ft])%256],Dn+=String.fromCharCode(z.charCodeAt(Xe)^Ze);return Dn}var Bp={print:4,modify:8,copy:16,"annot-forms":32};function zh(y,z,E,re){this.v=1,this.r=2;var ce=192;y.forEach(function(Ue){if(Bp.perm!==void 0)throw new Error("Invalid permission: "+Ue);ce+=Bp[Ue]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var he=(z+this.padding).substr(0,32),Ze=(E+this.padding).substr(0,32);this.O=this.processOwnerPassword(he,Ze),this.P=-(1+(255^ce)),this.encryptionKey=bg(he+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=kf(this.encryptionKey,this.padding)}function gd(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;re<E;re++){var ce=y.charCodeAt(re);z+=ce<33||ce===35||ce===37||ce===40||ce===41||ce===47||ce===60||ce===62||ce===91||ce===93||ce===123||ce===125||ce>126?"#"+("0"+ce.toString(16)).slice(-2):y[re]}return z}function tm(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,ce){if(ce=ce||!1,typeof E!="string"||typeof re!="function"||typeof ce!="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,!!ce],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),ce=[];for(var he in z[E]){var Ze=z[E][he];try{Ze[0].apply(y,re)}catch(Ue){Ra.console&&dl.error("jsPDF PubSub Error",Ue.message,Ue)}Ze[1]&&ce.push(he)}ce.length&&ce.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Ep(y){if(!(this instanceof Ep))return new Ep(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 Cg(y,z){this.gState=y,this.matrix=z,this.id="",this.objectNumber=-1}function Mf(y,z,E,re,ce){if(!(this instanceof Mf))return new Mf(y,z,E,re,ce);this.type=y==="axial"?2:3,this.coords=z,this.colors=E,Cg.call(this,re,ce)}function Uf(y,z,E,re,ce){if(!(this instanceof Uf))return new Uf(y,z,E,re,ce);this.boundingBox=y,this.xStep=z,this.yStep=E,this.stream="",this.cloneIndex=0,Cg.call(this,re,ce)}function Na(y){var z,E=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],ce=arguments[2],he=arguments[3],Ze=[],Ue=1,Xe=16,$e="S",gt=null;(0,x.Z)(y=y||{})==="object"&&(E=y.orientation,re=y.unit||re,ce=y.format||ce,he=y.compress||y.compressPdf||he,(gt=y.encryption||null)!==null&&(gt.userPassword=gt.userPassword||"",gt.ownerPassword=gt.ownerPassword||"",gt.userPermissions=gt.userPermissions||[]),Ue=typeof y.userUnit=="number"?Math.abs(y.userUnit):1,y.precision!==void 0&&(z=y.precision),y.floatPrecision!==void 0&&(Xe=y.floatPrecision),$e=y.defaultPathOperation||"S"),Ze=y.filters||(he===!0?["FlateEncode"]:Ze),re=re||"mm",E=(""+(E||"P")).toLowerCase();var Ut=y.putOnlyUsedFonts||!1,qt={},ft={internal:{},__private__:{}};ft.__private__.PubSub=tm;var Dn="1.3",Bn=ft.__private__.getPdfVersion=function(){return Dn};ft.__private__.setPdfVersion=function(Ye){Dn=Ye};var Tn={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]};ft.__private__.getPageFormats=function(){return Tn};var fn=ft.__private__.getPageFormat=function(Ye){return Tn[Ye]};ce=ce||"a4";var hr="compat",ir="advanced",Wn=hr;function oi(){this.saveGraphicsState(),Mn(new hs(js,0,0,-js,0,Tp()*js).toString()+" cm"),this.setFontSize(this.getFontSize()/js),$e="n",Wn=ir}function Ui(){this.restoreGraphicsState(),$e="S",Wn=hr}var Ei=ft.__private__.combineFontStyleAndFontWeight=function(Ye,jt){if(Ye=="bold"&&jt=="normal"||Ye=="bold"&&jt==400||Ye=="normal"&&jt=="italic"||Ye=="bold"&&jt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return jt&&(Ye=jt==400||jt==="normal"?Ye==="italic"?"italic":"normal":jt!=700&&jt!=="bold"||Ye!=="normal"?(jt==700?"bold":jt)+""+Ye:"bold"),Ye};ft.advancedAPI=function(Ye){var jt=Wn===hr;return jt&&oi.call(this),typeof Ye!="function"||(Ye(this),jt&&Ui.call(this)),this},ft.compatAPI=function(Ye){var jt=Wn===ir;return jt&&Ui.call(this),typeof Ye!="function"||(Ye(this),jt&&oi.call(this)),this},ft.isAdvancedAPI=function(){return Wn===ir};var Fr,Gn=function(Ye){if(Wn!==ir)throw new Error(Ye+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Vr=ft.roundToPrecision=ft.__private__.roundToPrecision=function(Ye,jt){var Qn=z||jt;if(isNaN(Ye)||isNaN(Qn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ye.toFixed(Qn).replace(/0+$/,"")};Fr=ft.hpf=ft.__private__.hpf=typeof Xe=="number"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Vr(Ye,Xe)}:Xe==="smart"?function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Vr(Ye,Ye>-1&&Ye<1?16:5)}:function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.hpf");return Vr(Ye,16)};var cn=ft.f2=ft.__private__.f2=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f2");return Vr(Ye,2)},kn=ft.__private__.f3=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.f3");return Vr(Ye,3)},fr=ft.scale=ft.__private__.scale=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.scale");return Wn===hr?Ye*js:Wn===ir?Ye:void 0},sr=function(Ye){return fr(function(jt){return Wn===hr?Tp()-jt:Wn===ir?jt:void 0}(Ye))};ft.__private__.setPrecision=ft.setPrecision=function(Ye){typeof parseInt(Ye,10)=="number"&&(z=parseInt(Ye,10))};var fi,wi="00000000000000000000000000000000",Fi=ft.__private__.getFileId=function(){return wi},ei=ft.__private__.setFileId=function(Ye){return wi=Ye!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ye)?Ye.toUpperCase():wi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),gt!==null&&(jc=new zh(gt.userPermissions,gt.userPassword,gt.ownerPassword,wi)),wi};ft.setFileId=function(Ye){return ei(Ye),this},ft.getFileId=function(){return Fi()};var Ni=ft.__private__.convertDateToPDFDate=function(Ye){var jt=Ye.getTimezoneOffset(),Qn=jt<0?"+":"-",Ar=Math.floor(Math.abs(jt/60)),Hr=Math.abs(jt%60),Zi=[Qn,qn(Ar),"'",qn(Hr),"'"].join("");return["D:",Ye.getFullYear(),qn(Ye.getMonth()+1),qn(Ye.getDate()),qn(Ye.getHours()),qn(Ye.getMinutes()),qn(Ye.getSeconds()),Zi].join("")},ko=ft.__private__.convertPDFDateToDate=function(Ye){var jt=parseInt(Ye.substr(2,4),10),Qn=parseInt(Ye.substr(6,2),10)-1,Ar=parseInt(Ye.substr(8,2),10),Hr=parseInt(Ye.substr(10,2),10),Zi=parseInt(Ye.substr(12,2),10),so=parseInt(Ye.substr(14,2),10);return new Date(jt,Qn,Ar,Hr,Zi,so,0)},io=ft.__private__.setCreationDate=function(Ye){var jt;if(Ye===void 0&&(Ye=new Date),Ye instanceof Date)jt=Ni(Ye);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(Ye))throw new Error("Invalid argument passed to jsPDF.setCreationDate");jt=Ye}return fi=jt},on=ft.__private__.getCreationDate=function(Ye){var jt=fi;return Ye==="jsDate"&&(jt=ko(fi)),jt};ft.setCreationDate=function(Ye){return io(Ye),this},ft.getCreationDate=function(Ye){return on(Ye)};var Kn,qn=ft.__private__.padd2=function(Ye){return("0"+parseInt(Ye)).slice(-2)},vr=ft.__private__.padd2Hex=function(Ye){return("00"+(Ye=Ye.toString())).substr(Ye.length)},kr=0,Jr=[],Si=[],Li=0,Yi=[],Eo=[],ua=!1,sa=Si;ft.__private__.setCustomOutputDestination=function(Ye){ua=!0,sa=Ye};var qa=function(Ye){ua||(sa=Ye)};ft.__private__.resetCustomOutputDestination=function(){ua=!1,sa=Si};var Mn=ft.__private__.out=function(Ye){return Ye=Ye.toString(),Li+=Ye.length+1,sa.push(Ye),sa},ca=ft.__private__.write=function(Ye){return Mn(arguments.length===1?Ye.toString():Array.prototype.join.call(arguments," "))},$s=ft.__private__.getArrayBuffer=function(Ye){for(var jt=Ye.length,Qn=new ArrayBuffer(jt),Ar=new Uint8Array(Qn);jt--;)Ar[jt]=Ye.charCodeAt(jt);return Qn},cs=[["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]];ft.__private__.getStandardFonts=function(){return cs};var mo=y.fontSize||16;ft.__private__.setFontSize=ft.setFontSize=function(Ye){return mo=Wn===ir?Ye/js:Ye,this};var As,Sa=ft.__private__.getFontSize=ft.getFontSize=function(){return Wn===hr?mo:mo*js},ss=y.R2L||!1;ft.__private__.setR2L=ft.setR2L=function(Ye){return ss=Ye,this},ft.__private__.getR2L=ft.getR2L=function(){return ss};var ts,Jl=ft.__private__.setZoomMode=function(Ye){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ye))As=Ye;else if(isNaN(Ye)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ye)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ye+'" is not recognized.');As=Ye}else As=parseInt(Ye,10)};ft.__private__.getZoomMode=function(){return As};var pl,Rs=ft.__private__.setPageMode=function(Ye){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ye)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ye+'" is not recognized.');ts=Ye};ft.__private__.getPageMode=function(){return ts};var bl=ft.__private__.setLayoutMode=function(Ye){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ye)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ye+'" is not recognized.');pl=Ye};ft.__private__.getLayoutMode=function(){return pl},ft.__private__.setDisplayMode=ft.setDisplayMode=function(Ye,jt,Qn){return Jl(Ye),bl(jt),Rs(Qn),this};var gl={title:"",subject:"",author:"",keywords:"",creator:""};ft.__private__.getDocumentProperty=function(Ye){if(Object.keys(gl).indexOf(Ye)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return gl[Ye]},ft.__private__.getDocumentProperties=function(){return gl},ft.__private__.setDocumentProperties=ft.setProperties=ft.setDocumentProperties=function(Ye){for(var jt in gl)gl.hasOwnProperty(jt)&&Ye[jt]&&(gl[jt]=Ye[jt]);return this},ft.__private__.setDocumentProperty=function(Ye,jt){if(Object.keys(gl).indexOf(Ye)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return gl[Ye]=jt};var _a,js,Ka,Ec,Il,qs={},el={},Wu=[],is={},Su={},ms={},_s={},Vu=null,rl=0,fs=[],ql=new tm(ft),Sp=y.hotfixes||[],NA={},gh={},zf=[],hs=function Ye(jt,Qn,Ar,Hr,Zi,so){if(!(this instanceof Ye))return new Ye(jt,Qn,Ar,Hr,Zi,so);isNaN(jt)&&(jt=1),isNaN(Qn)&&(Qn=0),isNaN(Ar)&&(Ar=0),isNaN(Hr)&&(Hr=1),isNaN(Zi)&&(Zi=0),isNaN(so)&&(so=0),this._matrix=[jt,Qn,Ar,Hr,Zi,so]};Object.defineProperty(hs.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(hs.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(hs.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(hs.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(hs.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(hs.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(hs.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ye){this._matrix[0]=Ye}}),Object.defineProperty(hs.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ye){this._matrix[1]=Ye}}),Object.defineProperty(hs.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ye){this._matrix[2]=Ye}}),Object.defineProperty(hs.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ye){this._matrix[3]=Ye}}),Object.defineProperty(hs.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ye){this._matrix[4]=Ye}}),Object.defineProperty(hs.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ye){this._matrix[5]=Ye}}),Object.defineProperty(hs.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(hs.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(hs.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(hs.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),hs.prototype.join=function(Ye){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Fr).join(Ye)},hs.prototype.multiply=function(Ye){var jt=Ye.sx*this.sx+Ye.shy*this.shx,Qn=Ye.sx*this.shy+Ye.shy*this.sy,Ar=Ye.shx*this.sx+Ye.sy*this.shx,Hr=Ye.shx*this.shy+Ye.sy*this.sy,Zi=Ye.tx*this.sx+Ye.ty*this.shx+this.tx,so=Ye.tx*this.shy+Ye.ty*this.sy+this.ty;return new hs(jt,Qn,Ar,Hr,Zi,so)},hs.prototype.decompose=function(){var Ye=this.sx,jt=this.shy,Qn=this.shx,Ar=this.sy,Hr=this.tx,Zi=this.ty,so=Math.sqrt(Ye*Ye+jt*jt),Ia=(Ye/=so)*Qn+(jt/=so)*Ar;Qn-=Ye*Ia,Ar-=jt*Ia;var Qa=Math.sqrt(Qn*Qn+Ar*Ar);return Ia/=Qa,Ye*(Ar/=Qa)<jt*(Qn/=Qa)&&(Ye=-Ye,jt=-jt,Ia=-Ia,so=-so),{scale:new hs(so,0,0,Qa,0,0),translate:new hs(1,0,0,1,Hr,Zi),rotate:new hs(Ye,jt,-jt,Ye,0,0),skew:new hs(1,0,Ia,1,0,0)}},hs.prototype.toString=function(Ye){return this.join(" ")},hs.prototype.inversed=function(){var Ye=this.sx,jt=this.shy,Qn=this.shx,Ar=this.sy,Hr=this.tx,Zi=this.ty,so=1/(Ye*Ar-jt*Qn),Ia=Ar*so,Qa=-jt*so,Ss=-Qn*so,Hs=Ye*so;return new hs(Ia,Qa,Ss,Hs,-Ia*Hr-Ss*Zi,-Qa*Hr-Hs*Zi)},hs.prototype.applyToPoint=function(Ye){var jt=Ye.x*this.sx+Ye.y*this.shx+this.tx,Qn=Ye.x*this.shy+Ye.y*this.sy+this.ty;return new xh(jt,Qn)},hs.prototype.applyToRectangle=function(Ye){var jt=this.applyToPoint(Ye),Qn=this.applyToPoint(new xh(Ye.x+Ye.w,Ye.y+Ye.h));return new Og(jt.x,jt.y,Qn.x-jt.x,Qn.y-jt.y)},hs.prototype.clone=function(){var Ye=this.sx,jt=this.shy,Qn=this.shx,Ar=this.sy,Hr=this.tx,Zi=this.ty;return new hs(Ye,jt,Qn,Ar,Hr,Zi)},ft.Matrix=hs;var mh=ft.matrixMult=function(Ye,jt){return jt.multiply(Ye)},vh=new hs(1,0,0,1,0,0);ft.unitMatrix=ft.identityMatrix=vh;var Qd=function(Ye,jt){if(!Su[Ye]){var Qn=(jt instanceof Mf?"Sh":"P")+(Object.keys(is).length+1).toString(10);jt.id=Qn,Su[Ye]=Qn,is[Qn]=jt,ql.publish("addPattern",jt)}};ft.ShadingPattern=Mf,ft.TilingPattern=Uf,ft.addShadingPattern=function(Ye,jt){return Gn("addShadingPattern()"),Qd(Ye,jt),this},ft.beginTilingPattern=function(Ye){Gn("beginTilingPattern()"),Pg(Ye.boundingBox[0],Ye.boundingBox[1],Ye.boundingBox[2]-Ye.boundingBox[0],Ye.boundingBox[3]-Ye.boundingBox[1],Ye.matrix)},ft.endTilingPattern=function(Ye,jt){Gn("endTilingPattern()"),jt.stream=Eo[Kn].join(`
`),Qd(Ye,jt),ql.publish("endTilingPattern",jt),zf.pop().restore()};var jd,pc=ft.__private__.newObject=function(){var Ye=rA();return uA(Ye,!0),Ye},rA=ft.__private__.newObjectDeferred=function(){return kr++,Jr[kr]=function(){return Li},kr},uA=function(Ye,jt){return jt=typeof jt=="boolean"&&jt,Jr[Ye]=Li,jt&&Mn(Ye+" 0 obj"),Ye},Fp=ft.__private__.newAdditionalObject=function(){var Ye={objId:rA(),content:""};return Yi.push(Ye),Ye},Vh=rA(),df=rA(),Kf=ft.__private__.decodeColorString=function(Ye){var jt=Ye.split(" ");if(jt.length!==2||jt[1]!=="g"&&jt[1]!=="G")jt.length!==5||jt[4]!=="k"&&jt[4]!=="K"||(jt=[(1-jt[0])*(1-jt[3]),(1-jt[1])*(1-jt[3]),(1-jt[2])*(1-jt[3]),"r"]);else{var Qn=parseFloat(jt[0]);jt=[Qn,Qn,Qn,"r"]}for(var Ar="#",Hr=0;Hr<3;Hr++)Ar+=("0"+Math.floor(255*parseFloat(jt[Hr])).toString(16)).slice(-2);return Ar},ff=ft.__private__.encodeColorString=function(Ye){var jt;typeof Ye=="string"&&(Ye={ch1:Ye});var Qn=Ye.ch1,Ar=Ye.ch2,Hr=Ye.ch3,Zi=Ye.ch4,so=Ye.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Qn=="string"&&Qn.charAt(0)!=="#"){var Ia=new Jg(Qn);if(Ia.ok)Qn=Ia.toHex();else if(!/^\d*\.?\d*$/.test(Qn))throw new Error('Invalid color "'+Qn+'" passed to jsPDF.encodeColorString.')}if(typeof Qn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Qn)&&(Qn="#"+Qn[1]+Qn[1]+Qn[2]+Qn[2]+Qn[3]+Qn[3]),typeof Qn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Qn)){var Qa=parseInt(Qn.substr(1),16);Qn=Qa>>16&255,Ar=Qa>>8&255,Hr=255&Qa}if(Ar===void 0||Zi===void 0&&Qn===Ar&&Ar===Hr)jt=typeof Qn=="string"?Qn+" "+so[0]:Ye.precision===2?cn(Qn/255)+" "+so[0]:kn(Qn/255)+" "+so[0];else if(Zi===void 0||(0,x.Z)(Zi)==="object"){if(Zi&&!isNaN(Zi.a)&&Zi.a===0)return["1.","1.","1.",so[1]].join(" ");jt=typeof Qn=="string"?[Qn,Ar,Hr,so[1]].join(" "):Ye.precision===2?[cn(Qn/255),cn(Ar/255),cn(Hr/255),so[1]].join(" "):[kn(Qn/255),kn(Ar/255),kn(Hr/255),so[1]].join(" ")}else jt=typeof Qn=="string"?[Qn,Ar,Hr,Zi,so[2]].join(" "):Ye.precision===2?[cn(Qn),cn(Ar),cn(Hr),cn(Zi),so[2]].join(" "):[kn(Qn),kn(Ar),kn(Hr),kn(Zi),so[2]].join(" ");return jt},hf=ft.__private__.getFilters=function(){return Ze},Hd=ft.__private__.putStream=function(Ye){var jt=(Ye=Ye||{}).data||"",Qn=Ye.filters||hf(),Ar=Ye.alreadyAppliedFilters||[],Hr=Ye.addLength1||!1,Zi=jt.length,so=Ye.objectId,Ia=function(Hc){return Hc};if(gt!==null&&so===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");gt!==null&&(Ia=jc.encryptor(so,0));var Qa={};Qn===!0&&(Qn=["FlateEncode"]);var Ss=Ye.additionalKeyValues||[],Hs=(Qa=Na.API.processDataByFilters!==void 0?Na.API.processDataByFilters(jt,Qn):{data:jt,reverseChain:[]}).reverseChain+(Array.isArray(Ar)?Ar.join(" "):Ar.toString());if(Qa.data.length!==0&&(Ss.push({key:"Length",value:Qa.data.length}),Hr===!0&&Ss.push({key:"Length1",value:Zi})),Hs.length!=0)if(Hs.split("/").length-1==1)Ss.push({key:"Filter",value:Hs});else{Ss.push({key:"Filter",value:"["+Hs+"]"});for(var Ll=0;Ll<Ss.length;Ll+=1)if(Ss[Ll].key==="DecodeParms"){for(var ic=[],Pc=0;Pc<Qa.reverseChain.split("/").length-1;Pc+=1)ic.push("null");ic.push(Ss[Ll].value),Ss[Ll].value="["+ic.join(" ")+"]"}}Mn("<<");for(var Fu=0;Fu<Ss.length;Fu++)Mn("/"+Ss[Fu].key+" "+Ss[Fu].value);Mn(">>"),Qa.data.length!==0&&(Mn("stream"),Mn(Ia(Qa.data)),Mn("endstream"))},Ip=ft.__private__.putPage=function(Ye){var jt=Ye.number,Qn=Ye.data,Ar=Ye.objId,Hr=Ye.contentsObjId;uA(Ar,!0),Mn("<</Type /Page"),Mn("/Parent "+Ye.rootDictionaryObjId+" 0 R"),Mn("/Resources "+Ye.resourceDictionaryObjId+" 0 R"),Mn("/MediaBox ["+parseFloat(Fr(Ye.mediaBox.bottomLeftX))+" "+parseFloat(Fr(Ye.mediaBox.bottomLeftY))+" "+Fr(Ye.mediaBox.topRightX)+" "+Fr(Ye.mediaBox.topRightY)+"]"),Ye.cropBox!==null&&Mn("/CropBox ["+Fr(Ye.cropBox.bottomLeftX)+" "+Fr(Ye.cropBox.bottomLeftY)+" "+Fr(Ye.cropBox.topRightX)+" "+Fr(Ye.cropBox.topRightY)+"]"),Ye.bleedBox!==null&&Mn("/BleedBox ["+Fr(Ye.bleedBox.bottomLeftX)+" "+Fr(Ye.bleedBox.bottomLeftY)+" "+Fr(Ye.bleedBox.topRightX)+" "+Fr(Ye.bleedBox.topRightY)+"]"),Ye.trimBox!==null&&Mn("/TrimBox ["+Fr(Ye.trimBox.bottomLeftX)+" "+Fr(Ye.trimBox.bottomLeftY)+" "+Fr(Ye.trimBox.topRightX)+" "+Fr(Ye.trimBox.topRightY)+"]"),Ye.artBox!==null&&Mn("/ArtBox ["+Fr(Ye.artBox.bottomLeftX)+" "+Fr(Ye.artBox.bottomLeftY)+" "+Fr(Ye.artBox.topRightX)+" "+Fr(Ye.artBox.topRightY)+"]"),typeof Ye.userUnit=="number"&&Ye.userUnit!==1&&Mn("/UserUnit "+Ye.userUnit),ql.publish("putPage",{objId:Ar,pageContext:fs[jt],pageNumber:jt,page:Qn}),Mn("/Contents "+Hr+" 0 R"),Mn(">>"),Mn("endobj");var Zi=Qn.join(`
`);return Wn===ir&&(Zi+=`
Q`),uA(Hr,!0),Hd({data:Zi,filters:hf(),objectId:Hr}),Mn("endobj"),Ar},Zf=ft.__private__.putPages=function(){var Ye,jt,Qn=[];for(Ye=1;Ye<=rl;Ye++)fs[Ye].objId=rA(),fs[Ye].contentsObjId=rA();for(Ye=1;Ye<=rl;Ye++)Qn.push(Ip({number:Ye,data:Eo[Ye],objId:fs[Ye].objId,contentsObjId:fs[Ye].contentsObjId,mediaBox:fs[Ye].mediaBox,cropBox:fs[Ye].cropBox,bleedBox:fs[Ye].bleedBox,trimBox:fs[Ye].trimBox,artBox:fs[Ye].artBox,userUnit:fs[Ye].userUnit,rootDictionaryObjId:Vh,resourceDictionaryObjId:df}));uA(Vh,!0),Mn("<</Type /Pages");var Ar="/Kids [";for(jt=0;jt<rl;jt++)Ar+=Qn[jt]+" 0 R ";Mn(Ar+"]"),Mn("/Count "+rl),Mn(">>"),Mn("endobj"),ql.publish("postPutPages")},Lp=function(Ye){ql.publish("putFont",{font:Ye,out:Mn,newObject:pc,putStream:Hd}),Ye.isAlreadyPutted!==!0&&(Ye.objectNumber=pc(),Mn("<<"),Mn("/Type /Font"),Mn("/BaseFont /"+gd(Ye.postScriptName)),Mn("/Subtype /Type1"),typeof Ye.encoding=="string"&&Mn("/Encoding /"+Ye.encoding),Mn("/FirstChar 32"),Mn("/LastChar 255"),Mn(">>"),Mn("endobj"))},rg=function(Ye){Ye.objectNumber=pc();var jt=[];jt.push({key:"Type",value:"/XObject"}),jt.push({key:"Subtype",value:"/Form"}),jt.push({key:"BBox",value:"["+[Fr(Ye.x),Fr(Ye.y),Fr(Ye.x+Ye.width),Fr(Ye.y+Ye.height)].join(" ")+"]"}),jt.push({key:"Matrix",value:"["+Ye.matrix.toString()+"]"});var Qn=Ye.pages[1].join(`
`);Hd({data:Qn,additionalKeyValues:jt,objectId:Ye.objectNumber}),Mn("endobj")},ig=function(Ye,jt){jt||(jt=21);var Qn=pc(),Ar=function(so,Ia){var Qa,Ss=[],Hs=1/(Ia-1);for(Qa=0;Qa<1;Qa+=Hs)Ss.push(Qa);if(Ss.push(1),so[0].offset!=0){var Ll={offset:0,color:so[0].color};so.unshift(Ll)}if(so[so.length-1].offset!=1){var ic={offset:1,color:so[so.length-1].color};so.push(ic)}for(var Pc="",Fu=0,Hc=0;Hc<Ss.length;Hc++){for(Qa=Ss[Hc];Qa>so[Fu+1].offset;)Fu++;var Tc=so[Fu].offset,cA=(Qa-Tc)/(so[Fu+1].offset-Tc),Sh=so[Fu].color,gf=so[Fu+1].color;Pc+=vr(Math.round((1-cA)*Sh[0]+cA*gf[0]).toString(16))+vr(Math.round((1-cA)*Sh[1]+cA*gf[1]).toString(16))+vr(Math.round((1-cA)*Sh[2]+cA*gf[2]).toString(16))}return Pc.trim()}(Ye.colors,jt),Hr=[];Hr.push({key:"FunctionType",value:"0"}),Hr.push({key:"Domain",value:"[0.0 1.0]"}),Hr.push({key:"Size",value:"["+jt+"]"}),Hr.push({key:"BitsPerSample",value:"8"}),Hr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Hr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Hd({data:Ar,additionalKeyValues:Hr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Qn}),Mn("endobj"),Ye.objectNumber=pc(),Mn("<< /ShadingType "+Ye.type),Mn("/ColorSpace /DeviceRGB");var Zi="/Coords ["+Fr(parseFloat(Ye.coords[0]))+" "+Fr(parseFloat(Ye.coords[1]))+" ";Ye.type===2?Zi+=Fr(parseFloat(Ye.coords[2]))+" "+Fr(parseFloat(Ye.coords[3])):Zi+=Fr(parseFloat(Ye.coords[2]))+" "+Fr(parseFloat(Ye.coords[3]))+" "+Fr(parseFloat(Ye.coords[4]))+" "+Fr(parseFloat(Ye.coords[5])),Mn(Zi+="]"),Ye.matrix&&Mn("/Matrix ["+Ye.matrix.toString()+"]"),Mn("/Function "+Qn+" 0 R"),Mn("/Extend [true true]"),Mn(">>"),Mn("endobj")},og=function(Ye,jt){var Qn=rA(),Ar=pc();jt.push({resourcesOid:Qn,objectOid:Ar}),Ye.objectNumber=Ar;var Hr=[];Hr.push({key:"Type",value:"/Pattern"}),Hr.push({key:"PatternType",value:"1"}),Hr.push({key:"PaintType",value:"1"}),Hr.push({key:"TilingType",value:"1"}),Hr.push({key:"BBox",value:"["+Ye.boundingBox.map(Fr).join(" ")+"]"}),Hr.push({key:"XStep",value:Fr(Ye.xStep)}),Hr.push({key:"YStep",value:Fr(Ye.yStep)}),Hr.push({key:"Resources",value:Qn+" 0 R"}),Ye.matrix&&Hr.push({key:"Matrix",value:"["+Ye.matrix.toString()+"]"}),Hd({data:Ye.stream,additionalKeyValues:Hr,objectId:Ye.objectNumber}),Mn("endobj")},Gm=function(Ye){for(var jt in Ye.objectNumber=pc(),Mn("<<"),Ye)switch(jt){case"opacity":Mn("/ca "+cn(Ye[jt]));break;case"stroke-opacity":Mn("/CA "+cn(Ye[jt]))}Mn(">>"),Mn("endobj")},Bg=function(Ye){uA(Ye.resourcesOid,!0),Mn("<<"),Mn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var jt in Mn("/Font <<"),qs)qs.hasOwnProperty(jt)&&(Ut===!1||Ut===!0&&qt.hasOwnProperty(jt))&&Mn("/"+jt+" "+qs[jt].objectNumber+" 0 R");Mn(">>")}(),function(){if(Object.keys(is).length>0){for(var jt in Mn("/Shading <<"),is)is.hasOwnProperty(jt)&&is[jt]instanceof Mf&&is[jt].objectNumber>=0&&Mn("/"+jt+" "+is[jt].objectNumber+" 0 R");ql.publish("putShadingPatternDict"),Mn(">>")}}(),function(jt){if(Object.keys(is).length>0){for(var Qn in Mn("/Pattern <<"),is)is.hasOwnProperty(Qn)&&is[Qn]instanceof ft.TilingPattern&&is[Qn].objectNumber>=0&&is[Qn].objectNumber<jt&&Mn("/"+Qn+" "+is[Qn].objectNumber+" 0 R");ql.publish("putTilingPatternDict"),Mn(">>")}}(Ye.objectOid),function(){if(Object.keys(ms).length>0){var jt;for(jt in Mn("/ExtGState <<"),ms)ms.hasOwnProperty(jt)&&ms[jt].objectNumber>=0&&Mn("/"+jt+" "+ms[jt].objectNumber+" 0 R");ql.publish("putGStateDict"),Mn(">>")}}(),function(){for(var jt in Mn("/XObject <<"),NA)NA.hasOwnProperty(jt)&&NA[jt].objectNumber>=0&&Mn("/"+jt+" "+NA[jt].objectNumber+" 0 R");ql.publish("putXobjectDict"),Mn(">>")}(),Mn(">>"),Mn("endobj")},im=function(Ye){el[Ye.fontName]=el[Ye.fontName]||{},el[Ye.fontName][Ye.fontStyle]=Ye.id},om=function(Ye,jt,Qn,Ar,Hr){var Zi={id:"F"+(Object.keys(qs).length+1).toString(10),postScriptName:Ye,fontName:jt,fontStyle:Qn,encoding:Ar,isStandardFont:Hr||!1,metadata:{}};return ql.publish("addFont",{font:Zi,instance:this}),qs[Zi.id]=Zi,im(Zi),Zi.id},zd=ft.__private__.pdfEscape=ft.pdfEscape=function(Ye,jt){return function(Qn,Ar){var Hr,Zi,so,Ia,Qa,Ss,Hs,Ll,ic;if(so=(Ar=Ar||{}).sourceEncoding||"Unicode",Qa=Ar.outputEncoding,(Ar.autoencode||Qa)&&qs[_a].metadata&&qs[_a].metadata[so]&&qs[_a].metadata[so].encoding&&(Ia=qs[_a].metadata[so].encoding,!Qa&&qs[_a].encoding&&(Qa=qs[_a].encoding),!Qa&&Ia.codePages&&(Qa=Ia.codePages[0]),typeof Qa=="string"&&(Qa=Ia[Qa]),Qa)){for(Hs=!1,Ss=[],Hr=0,Zi=Qn.length;Hr<Zi;Hr++)(Ll=Qa[Qn.charCodeAt(Hr)])?Ss.push(String.fromCharCode(Ll)):Ss.push(Qn[Hr]),Ss[Hr].charCodeAt(0)>>8&&(Hs=!0);Qn=Ss.join("")}for(Hr=Qn.length;Hs===void 0&&Hr!==0;)Qn.charCodeAt(Hr-1)>>8&&(Hs=!0),Hr--;if(!Hs)return Qn;for(Ss=Ar.noBOM?[]:[254,255],Hr=0,Zi=Qn.length;Hr<Zi;Hr++){if((ic=(Ll=Qn.charCodeAt(Hr))>>8)>>8)throw new Error("Character at position "+Hr+" of string '"+Qn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ss.push(ic),Ss.push(Ll-(ic<<8))}return String.fromCharCode.apply(void 0,Ss)}(Ye,jt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Eg=ft.__private__.beginPage=function(Ye){Eo[++rl]=[],fs[rl]={objId:0,contentsObjId:0,userUnit:Number(Ue),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ye[0]),topRightY:Number(Ye[1])}},sm(rl),qa(Eo[Kn])},am=function(Ye,jt){var Qn,Ar,Hr;switch(E=jt||E,typeof Ye=="string"&&(Qn=fn(Ye.toLowerCase()),Array.isArray(Qn)&&(Ar=Qn[0],Hr=Qn[1])),Array.isArray(Ye)&&(Ar=Ye[0]*js,Hr=Ye[1]*js),isNaN(Ar)&&(Ar=ce[0],Hr=ce[1]),(Ar>14400||Hr>14400)&&(dl.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Ar=Math.min(14400,Ar),Hr=Math.min(14400,Hr)),ce=[Ar,Hr],E.substr(0,1)){case"l":Hr>Ar&&(ce=[Hr,Ar]);break;case"p":Ar>Hr&&(ce=[Hr,Ar])}Eg(ce),Ds(Ig),Mn(ug),Dg!==0&&Mn(Dg+" J"),Ng!==0&&Mn(Ng+" j"),ql.publish("addPage",{pageNumber:rl})},Sg=function(Ye){Ye>0&&Ye<=rl&&(Eo.splice(Ye,1),fs.splice(Ye,1),rl--,Kn>rl&&(Kn=rl),this.setPage(Kn))},sm=function(Ye){Ye>0&&Ye<=rl&&(Kn=Ye)},lm=ft.__private__.getNumberOfPages=ft.getNumberOfPages=function(){return Eo.length-1},um=function(Ye,jt,Qn){var Ar,Hr=void 0;return Qn=Qn||{},Ye=Ye!==void 0?Ye:qs[_a].fontName,jt=jt!==void 0?jt:qs[_a].fontStyle,Ar=Ye.toLowerCase(),el[Ar]!==void 0&&el[Ar][jt]!==void 0?Hr=el[Ar][jt]:el[Ye]!==void 0&&el[Ye][jt]!==void 0?Hr=el[Ye][jt]:Qn.disableWarning===!1&&dl.warn("Unable to look up font label for font '"+Ye+"', '"+jt+"'. Refer to getFontList() for available fonts."),Hr||Qn.noFallback||(Hr=el.times[jt])==null&&(Hr=el.times.normal),Hr},Wf=ft.__private__.putInfo=function(){var Ye=pc(),jt=function(Ar){return Ar};for(var Qn in gt!==null&&(jt=jc.encryptor(Ye,0)),Mn("<<"),Mn("/Producer ("+zd(jt("jsPDF "+Na.version))+")"),gl)gl.hasOwnProperty(Qn)&&gl[Qn]&&Mn("/"+Qn.substr(0,1).toUpperCase()+Qn.substr(1)+" ("+zd(jt(gl[Qn]))+")");Mn("/CreationDate ("+zd(jt(fi))+")"),Mn(">>"),Mn("endobj")},ag=ft.__private__.putCatalog=function(Ye){var jt=(Ye=Ye||{}).rootDictionaryObjId||Vh;switch(pc(),Mn("<<"),Mn("/Type /Catalog"),Mn("/Pages "+jt+" 0 R"),As||(As="fullwidth"),As){case"fullwidth":Mn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Mn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Mn("/OpenAction [3 0 R /Fit]");break;case"original":Mn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Qn=""+As;Qn.substr(Qn.length-1)==="%"&&(As=parseInt(As)/100),typeof As=="number"&&Mn("/OpenAction [3 0 R /XYZ null null "+cn(As)+"]")}switch(pl||(pl="continuous"),pl){case"continuous":Mn("/PageLayout /OneColumn");break;case"single":Mn("/PageLayout /SinglePage");break;case"two":case"twoleft":Mn("/PageLayout /TwoColumnLeft");break;case"tworight":Mn("/PageLayout /TwoColumnRight")}ts&&Mn("/PageMode /"+ts),ql.publish("putCatalog"),Mn(">>"),Mn("endobj")},Xm=ft.__private__.putTrailer=function(){Mn("trailer"),Mn("<<"),Mn("/Size "+(kr+1)),Mn("/Root "+kr+" 0 R"),Mn("/Info "+(kr-1)+" 0 R"),gt!==null&&Mn("/Encrypt "+jc.oid+" 0 R"),Mn("/ID [ <"+wi+"> <"+wi+"> ]"),Mn(">>")},Oc=ft.__private__.putHeader=function(){Mn("%PDF-"+Dn),Mn("%\xBA\xDF\xAC\xE0")},cm=ft.__private__.putXRef=function(){var Ye="0000000000";Mn("xref"),Mn("0 "+(kr+1)),Mn("0000000000 65535 f ");for(var jt=1;jt<=kr;jt++)typeof Jr[jt]=="function"?Mn((Ye+Jr[jt]()).slice(-10)+" 00000 n "):Jr[jt]!==void 0?Mn((Ye+Jr[jt]).slice(-10)+" 00000 n "):Mn("0000000000 00000 n ")},Vf=ft.__private__.buildDocument=function(){var Ye;kr=0,Li=0,Si=[],Jr=[],Yi=[],Vh=rA(),df=rA(),qa(Si),ql.publish("buildDocument"),Oc(),Zf(),function(){ql.publish("putAdditionalObjects");for(var Qn=0;Qn<Yi.length;Qn++){var Ar=Yi[Qn];uA(Ar.objId,!0),Mn(Ar.content),Mn("endobj")}ql.publish("postPutAdditionalObjects")}(),Ye=[],function(){for(var Qn in qs)qs.hasOwnProperty(Qn)&&(Ut===!1||Ut===!0&&qt.hasOwnProperty(Qn))&&Lp(qs[Qn])}(),function(){var Qn;for(Qn in ms)ms.hasOwnProperty(Qn)&&Gm(ms[Qn])}(),function(){for(var Qn in NA)NA.hasOwnProperty(Qn)&&rg(NA[Qn])}(),function(Qn){var Ar;for(Ar in is)is.hasOwnProperty(Ar)&&(is[Ar]instanceof Mf?ig(is[Ar]):is[Ar]instanceof Uf&&og(is[Ar],Qn))}(Ye),ql.publish("putResources"),Ye.forEach(Bg),Bg({resourcesOid:df,objectOid:Number.MAX_SAFE_INTEGER}),ql.publish("postPutResources"),gt!==null&&(jc.oid=pc(),Mn("<<"),Mn("/Filter /Standard"),Mn("/V "+jc.v),Mn("/R "+jc.r),Mn("/U <"+jc.toHexString(jc.U)+">"),Mn("/O <"+jc.toHexString(jc.O)+">"),Mn("/P "+jc.P),Mn(">>"),Mn("endobj")),Wf(),ag();var jt=Li;return cm(),Xm(),Mn("startxref"),Mn(""+jt),Mn("%%EOF"),qa(Eo[Kn]),Si.join(`
`)},sg=ft.__private__.getBlob=function(Ye){return new Blob([$s(Ye)],{type:"application/pdf"})},Am=ft.output=ft.__private__.output=(jd=function(Ye,jt){switch(typeof(jt=jt||{})=="string"?jt={filename:jt}:jt.filename=jt.filename||"generated.pdf",Ye){case void 0:return Vf();case"save":ft.save(jt.filename);break;case"arraybuffer":return $s(Vf());case"blob":return sg(Vf());case"bloburi":case"bloburl":if(Ra.URL!==void 0&&typeof Ra.URL.createObjectURL=="function")return Ra.URL&&Ra.URL.createObjectURL(sg(Vf()))||void 0;dl.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Qn="",Ar=Vf();try{Qn=wg(Ar)}catch(Pc){Qn=wg(unescape(encodeURIComponent(Ar)))}return"data:application/pdf;filename="+jt.filename+";base64,"+Qn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ra)==="[object Window]"){var Hr="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&&(Hr=jt.pdfObjectUrl,Zi="");var so='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Hr+'"'+Zi+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(jt)+");<\/script></body></html>",Ia=Ra.open();return Ia!==null&&Ia.document.write(so),Ia}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Ra)==="[object Window]"){var Qa='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(jt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+jt.filename+'" width="500px" height="400px" /></body></html>',Ss=Ra.open();if(Ss!==null){Ss.document.write(Qa);var Hs=this;Ss.document.documentElement.querySelector("#pdfViewer").onload=function(){Ss.document.title=jt.filename,Ss.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Hs.output("bloburl"))}}return Ss}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Ra)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ll='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",jt)+'"></iframe></body></html>',ic=Ra.open();if(ic!==null&&(ic.document.write(Ll),ic.document.title=jt.filename),ic||typeof safari=="undefined")return ic;break;case"datauri":case"dataurl":return Ra.document.location.href=this.output("datauristring",jt);default:return null}},jd.foo=function(){try{return jd.apply(this,arguments)}catch(Qn){var Ye=Qn.stack||"";~Ye.indexOf(" at ")&&(Ye=Ye.split(" at ")[1]);var jt="Error in function "+Ye.split(`
`)[0].split("<")[0]+": "+Qn.message;if(!Ra.console)throw new Error(jt);Ra.console.error(jt,Qn),Ra.alert&&alert(jt)}},jd.foo.bar=jd,jd.foo),Kd=function(Ye){return Array.isArray(Sp)===!0&&Sp.indexOf(Ye)>-1};switch(re){case"pt":js=1;break;case"mm":js=72/25.4;break;case"cm":js=72/2.54;break;case"in":js=72;break;case"px":js=Kd("px_scaling")==1?.75:96/72;break;case"pc":case"em":js=12;break;case"ex":js=6;break;default:if(typeof re!="number")throw new Error("Invalid unit: "+re);js=re}var jc=null;io(),ei();var yh=ft.__private__.getPageInfo=ft.getPageInfo=function(Ye){if(isNaN(Ye)||Ye%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:fs[Ye].objId,pageNumber:Ye,pageContext:fs[Ye]}},dm=ft.__private__.getPageInfoByObjId=function(Ye){if(isNaN(Ye)||Ye%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var jt in fs)if(fs[jt].objId===Ye)break;return yh(jt)},Ym=ft.__private__.getCurrentPageInfo=ft.getCurrentPageInfo=function(){return{objId:fs[Kn].objId,pageNumber:Kn,pageContext:fs[Kn]}};ft.addPage=function(){return am.apply(this,arguments),this},ft.setPage=function(){return sm.apply(this,arguments),qa.call(this,Eo[Kn]),this},ft.insertPage=function(Ye){return this.addPage(),this.movePage(Kn,Ye),this},ft.movePage=function(Ye,jt){var Qn,Ar;if(Ye>jt){Qn=Eo[Ye],Ar=fs[Ye];for(var Hr=Ye;Hr>jt;Hr--)Eo[Hr]=Eo[Hr-1],fs[Hr]=fs[Hr-1];Eo[jt]=Qn,fs[jt]=Ar,this.setPage(jt)}else if(Ye<jt){Qn=Eo[Ye],Ar=fs[Ye];for(var Zi=Ye;Zi<jt;Zi++)Eo[Zi]=Eo[Zi+1],fs[Zi]=fs[Zi+1];Eo[jt]=Qn,fs[jt]=Ar,this.setPage(jt)}return this},ft.deletePage=function(){return Sg.apply(this,arguments),this},ft.__private__.text=ft.text=function(Ye,jt,Qn,Ar,Hr){var Zi,so,Ia,Qa,Ss,Hs,Ll,ic,Pc,Fu=(Ar=Ar||{}).scope||this;if(typeof Ye=="number"&&typeof jt=="number"&&(typeof Qn=="string"||Array.isArray(Qn))){var Hc=Qn;Qn=jt,jt=Ye,Ye=Hc}if(arguments[3]instanceof hs==0?(Ia=arguments[4],Qa=arguments[5],(0,x.Z)(Ll=arguments[3])==="object"&&Ll!==null||(typeof Ia=="string"&&(Qa=Ia,Ia=null),typeof Ll=="string"&&(Qa=Ll,Ll=null),typeof Ll=="number"&&(Ia=Ll,Ll=null),Ar={flags:Ll,angle:Ia,align:Qa})):(Gn("The transform parameter of text() with a Matrix value"),Pc=Hr),isNaN(jt)||isNaN(Qn)||Ye==null)throw new Error("Invalid arguments passed to jsPDF.text");if(Ye.length===0)return Fu;var Tc,cA="",Sh=typeof Ar.lineHeightFactor=="number"?Ar.lineHeightFactor:Np,gf=Fu.internal.scaleFactor;function Fh(eu){return eu=eu.split(" ").join(Array(Ar.TabLen||9).join(" ")),zd(eu,Ll)}function kg(eu){for(var vu,Fc=eu.concat(),zc=[],Dh=Fc.length;Dh--;)typeof(vu=Fc.shift())=="string"?zc.push(vu):Array.isArray(eu)&&(vu.length===1||vu[1]===void 0&&vu[2]===void 0)?zc.push(vu[0]):zc.push([vu[0],vu[1],vu[2]]);return zc}function Ag(eu,vu){var Fc;if(typeof eu=="string")Fc=vu(eu)[0];else if(Array.isArray(eu)){for(var zc,Dh,Zg=eu.concat(),hg=[],xm=Zg.length;xm--;)typeof(zc=Zg.shift())=="string"?hg.push(vu(zc)[0]):Array.isArray(zc)&&typeof zc[0]=="string"&&(Dh=vu(zc[0],zc[1],zc[2]),hg.push([Dh[0],Dh[1],Dh[2]]));Fc=hg}return Fc}var Gh=!1,kp=!0;if(typeof Ye=="string")Gh=!0;else if(Array.isArray(Ye)){var Mp=Ye.concat();so=[];for(var Xh,AA=Mp.length;AA--;)(typeof(Xh=Mp.shift())!="string"||Array.isArray(Xh)&&typeof Xh[0]!="string")&&(kp=!1);Gh=kp}if(Gh===!1)throw new Error('Type of text must be string or Array. "'+Ye+'" is not recognized.');typeof Ye=="string"&&(Ye=Ye.match(/[\r?\n]/)?Ye.split(/\r\n|\r|\n/g):[Ye]);var Up=mo/Fu.internal.scaleFactor,Rp=Up*(Sh-1);switch(Ar.baseline){case"bottom":Qn-=Rp;break;case"top":Qn+=Up-Rp;break;case"hanging":Qn+=Up-2*Rp;break;case"middle":Qn+=Up/2-Rp}if((Hs=Ar.maxWidth||0)>0&&(typeof Ye=="string"?Ye=Fu.splitTextToSize(Ye,Hs):Object.prototype.toString.call(Ye)==="[object Array]"&&(Ye=Ye.reduce(function(eu,vu){return eu.concat(Fu.splitTextToSize(vu,Hs))},[]))),Zi={text:Ye,x:jt,y:Qn,options:Ar,mutex:{pdfEscape:zd,activeFontKey:_a,fonts:qs,activeFontSize:mo}},ql.publish("preProcessText",Zi),Ye=Zi.text,Ia=(Ar=Zi.options).angle,Pc instanceof hs==0&&Ia&&typeof Ia=="number"){Ia*=Math.PI/180,Ar.rotationDirection===0&&(Ia=-Ia),Wn===ir&&(Ia=-Ia);var Mg=Math.cos(Ia),Ug=Math.sin(Ia);Pc=new hs(Mg,Ug,-Ug,Mg,0,0)}else Ia&&Ia instanceof hs&&(Pc=Ia);Wn!==ir||Pc||(Pc=vh),(Ss=Ar.charSpace||Ch)!==void 0&&(cA+=Fr(fr(Ss))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(ic=Ar.horizontalScale)!==void 0&&(cA+=Fr(100*ic)+` Tz
`),Ar.lang;var jA=-1,Ih=Ar.renderingMode!==void 0?Ar.renderingMode:Ar.stroke,dg=Fu.internal.getCurrentPageInfo().pageContext;switch(Ih){case 0:case!1:case"fill":jA=0;break;case 1:case!0:case"stroke":jA=1;break;case 2:case"fillThenStroke":jA=2;break;case 3:case"invisible":jA=3;break;case 4:case"fillAndAddForClipping":jA=4;break;case 5:case"strokeAndAddPathForClipping":jA=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":jA=6;break;case 7:case"addToPathForClipping":jA=7}var bm=dg.usedRenderingMode!==void 0?dg.usedRenderingMode:-1;jA!==-1?cA+=jA+` Tr
`:bm!==-1&&(cA+=`0 Tr
`),jA!==-1&&(dg.usedRenderingMode=jA),Qa=Ar.align||"left";var Zd,_p=mo*Sh,Rg=Fu.internal.pageSize.getWidth(),_g=qs[_a];Ss=Ar.charSpace||Ch,Hs=Ar.maxWidth||0,Ll=Object.assign({autoencode:!0,noBOM:!0},Ar.flags);var Yh=[],Qp=function(eu){return Fu.getStringUnitWidth(eu,{font:_g,charSpace:Ss,fontSize:mo,doKerning:!1})*mo/gf};if(Object.prototype.toString.call(Ye)==="[object Array]"){var md;so=kg(Ye),Qa!=="left"&&(Zd=so.map(Qp));var vd,$h=0;if(Qa==="right"){jt-=Zd[0],Ye=[],AA=so.length;for(var Lh=0;Lh<AA;Lh++)Lh===0?(vd=wh(jt),md=bh(Qn)):(vd=fr($h-Zd[Lh]),md=-_p),Ye.push([so[Lh],vd,md]),$h=Zd[Lh]}else if(Qa==="center"){jt-=Zd[0]/2,Ye=[],AA=so.length;for(var Jh=0;Jh<AA;Jh++)Jh===0?(vd=wh(jt),md=bh(Qn)):(vd=fr(($h-Zd[Jh])/2),md=-_p),Ye.push([so[Jh],vd,md]),$h=Zd[Jh]}else if(Qa==="left"){Ye=[],AA=so.length;for(var Qg=0;Qg<AA;Qg++)Ye.push(so[Qg])}else if(Qa==="justify"&&_g.encoding==="Identity-H"){Ye=[],AA=so.length,Hs=Hs!==0?Hs:Rg;for(var fg=0,Sc=0;Sc<AA;Sc++)if(md=Sc===0?bh(Qn):-_p,vd=Sc===0?wh(jt):fg,Sc<AA-1){var Cm=fr((Hs-Zd[Sc])/(so[Sc].split(" ").length-1)),Xf=so[Sc].split(" ");Ye.push([Xf[0]+" ",vd,md]),fg=0;for(var Yf=1;Yf<Xf.length;Yf++){var jg=(Qp(Xf[Yf-1]+" "+Xf[Yf])-Qp(Xf[Yf]))*gf+Cm;Yf==Xf.length-1?Ye.push([Xf[Yf],jg,0]):Ye.push([Xf[Yf]+" ",jg,0]),fg-=jg}}else Ye.push([so[Sc],vd,md]);Ye.push(["",fg,0])}else{if(Qa!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(Ye=[],AA=so.length,Hs=Hs!==0?Hs:Rg,Sc=0;Sc<AA;Sc++){md=Sc===0?bh(Qn):-_p,vd=Sc===0?wh(jt):0;var Hg=so[Sc].split(" ").length-1,zg=Hg>0?(Hs-Zd[Sc])/Hg:0;Sc<AA-1?Yh.push(Fr(fr(zg))):Yh.push(0),Ye.push([so[Sc],vd,md])}}}(typeof Ar.R2L=="boolean"?Ar.R2L:ss)===!0&&(Ye=Ag(Ye,function(eu,vu,Fc){return[eu.split("").reverse().join(""),vu,Fc]})),Zi={text:Ye,x:jt,y:Qn,options:Ar,mutex:{pdfEscape:zd,activeFontKey:_a,fonts:qs,activeFontSize:mo}},ql.publish("postProcessText",Zi),Ye=Zi.text,Tc=Zi.mutex.isHex||!1;var Kg=qs[_a].encoding;Kg!=="WinAnsiEncoding"&&Kg!=="StandardEncoding"||(Ye=Ag(Ye,function(eu,vu,Fc){return[Fh(eu),vu,Fc]})),so=kg(Ye),Ye=[];for(var qh,ep,tp,jp=Array.isArray(so[0])?1:0,np="",Hp=function(eu,vu,Fc){var zc="";return Fc instanceof hs?(Fc=typeof Ar.angle=="number"?mh(Fc,new hs(1,0,0,1,eu,vu)):mh(new hs(1,0,0,1,eu,vu),Fc),Wn===ir&&(Fc=mh(new hs(1,0,0,-1,0,0),Fc)),zc=Fc.join(" ")+` Tm
`):zc=Fr(eu)+" "+Fr(vu)+` Td
`,zc},Wd=0;Wd<so.length;Wd++){switch(np="",jp){case 1:tp=(Tc?"<":"(")+so[Wd][0]+(Tc?">":")"),qh=parseFloat(so[Wd][1]),ep=parseFloat(so[Wd][2]);break;case 0:tp=(Tc?"<":"(")+so[Wd]+(Tc?">":")"),qh=wh(jt),ep=bh(Qn)}Yh!==void 0&&Yh[Wd]!==void 0&&(np=Yh[Wd]+` Tw
`),Wd===0?Ye.push(np+Hp(qh,ep,Pc)+tp):jp===0?Ye.push(np+tp):jp===1&&Ye.push(np+Hp(qh,ep,Pc)+tp)}Ye=jp===0?Ye.join(` Tj
T* `):Ye.join(` Tj
`),Ye+=` Tj
`;var $f=`BT
/`;return $f+=_a+" "+mo+` Tf
`,$f+=Fr(mo*Sh)+` TL
`,$f+=Op+`
`,$f+=cA,$f+=Ye,Mn($f+="ET"),qt[_a]=!0,Fu};var $m=ft.__private__.clip=ft.clip=function(Ye){return Mn(Ye==="evenodd"?"W*":"W"),this};ft.clipEvenOdd=function(){return $m("evenodd")},ft.__private__.discardPath=ft.discardPath=function(){return Mn("n"),this};var Gf=ft.__private__.isValidStyle=function(Ye){var jt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(Ye)!==-1&&(jt=!0),jt};ft.__private__.setDefaultPathOperation=ft.setDefaultPathOperation=function(Ye){return Gf(Ye)&&($e=Ye),this};var fm=ft.__private__.getStyle=ft.getStyle=function(Ye){var jt=$e;switch(Ye){case"D":case"S":jt="S";break;case"F":jt="f";break;case"FD":case"DF":jt="B";break;case"f":case"f*":case"B":case"B*":jt=Ye}return jt},hm=ft.close=function(){return Mn("h"),this};ft.stroke=function(){return Mn("S"),this},ft.fill=function(Ye){return lg("f",Ye),this},ft.fillEvenOdd=function(Ye){return lg("f*",Ye),this},ft.fillStroke=function(Ye){return lg("B",Ye),this},ft.fillStrokeEvenOdd=function(Ye){return lg("B*",Ye),this};var lg=function(Ye,jt){(0,x.Z)(jt)==="object"?qm(jt,Ye):Mn(Ye)},Dp=function(Ye){Ye===null||Wn===ir&&Ye===void 0||(Ye=fm(Ye),Mn(Ye))};function Jm(Ye,jt,Qn,Ar,Hr){var Zi=new Uf(jt||this.boundingBox,Qn||this.xStep,Ar||this.yStep,this.gState,Hr||this.matrix);Zi.stream=this.stream;var so=Ye+"$$"+this.cloneIndex+++"$$";return Qd(so,Zi),Zi}var qm=function(Ye,jt){var Qn=Su[Ye.key],Ar=is[Qn];if(Ar instanceof Mf)Mn("q"),Mn(e0(jt)),Ar.gState&&ft.setGState(Ar.gState),Mn(Ye.matrix.toString()+" cm"),Mn("/"+Qn+" sh"),Mn("Q");else if(Ar instanceof Uf){var Hr=new hs(1,0,0,-1,0,Tp());Ye.matrix&&(Hr=Hr.multiply(Ye.matrix||vh),Qn=Jm.call(Ar,Ye.key,Ye.boundingBox,Ye.xStep,Ye.yStep,Hr).id),Mn("q"),Mn("/Pattern cs"),Mn("/"+Qn+" scn"),Ar.gState&&ft.setGState(Ar.gState),Mn(jt),Mn("Q")}},e0=function(Ye){switch(Ye){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Fg=ft.moveTo=function(Ye,jt){return Mn(Fr(fr(Ye))+" "+Fr(sr(jt))+" m"),this},pm=ft.lineTo=function(Ye,jt){return Mn(Fr(fr(Ye))+" "+Fr(sr(jt))+" l"),this},pf=ft.curveTo=function(Ye,jt,Qn,Ar,Hr,Zi){return Mn([Fr(fr(Ye)),Fr(sr(jt)),Fr(fr(Qn)),Fr(sr(Ar)),Fr(fr(Hr)),Fr(sr(Zi)),"c"].join(" ")),this};ft.__private__.line=ft.line=function(Ye,jt,Qn,Ar,Hr){if(isNaN(Ye)||isNaN(jt)||isNaN(Qn)||isNaN(Ar)||!Gf(Hr))throw new Error("Invalid arguments passed to jsPDF.line");return Wn===hr?this.lines([[Qn-Ye,Ar-jt]],Ye,jt,[1,1],Hr||"S"):this.lines([[Qn-Ye,Ar-jt]],Ye,jt,[1,1]).stroke()},ft.__private__.lines=ft.lines=function(Ye,jt,Qn,Ar,Hr,Zi){var so,Ia,Qa,Ss,Hs,Ll,ic,Pc,Fu,Hc,Tc,cA;if(typeof Ye=="number"&&(cA=Qn,Qn=jt,jt=Ye,Ye=cA),Ar=Ar||[1,1],Zi=Zi||!1,isNaN(jt)||isNaN(Qn)||!Array.isArray(Ye)||!Array.isArray(Ar)||!Gf(Hr)||typeof Zi!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Fg(jt,Qn),so=Ar[0],Ia=Ar[1],Ss=Ye.length,Hc=jt,Tc=Qn,Qa=0;Qa<Ss;Qa++)(Hs=Ye[Qa]).length===2?(Hc=Hs[0]*so+Hc,Tc=Hs[1]*Ia+Tc,pm(Hc,Tc)):(Ll=Hs[0]*so+Hc,ic=Hs[1]*Ia+Tc,Pc=Hs[2]*so+Hc,Fu=Hs[3]*Ia+Tc,Hc=Hs[4]*so+Hc,Tc=Hs[5]*Ia+Tc,pf(Ll,ic,Pc,Fu,Hc,Tc));return Zi&&hm(),Dp(Hr),this},ft.path=function(Ye){for(var jt=0;jt<Ye.length;jt++){var Qn=Ye[jt],Ar=Qn.c;switch(Qn.op){case"m":Fg(Ar[0],Ar[1]);break;case"l":pm(Ar[0],Ar[1]);break;case"c":pf.apply(this,Ar);break;case"h":hm()}}return this},ft.__private__.rect=ft.rect=function(Ye,jt,Qn,Ar,Hr){if(isNaN(Ye)||isNaN(jt)||isNaN(Qn)||isNaN(Ar)||!Gf(Hr))throw new Error("Invalid arguments passed to jsPDF.rect");return Wn===hr&&(Ar=-Ar),Mn([Fr(fr(Ye)),Fr(sr(jt)),Fr(fr(Qn)),Fr(fr(Ar)),"re"].join(" ")),Dp(Hr),this},ft.__private__.triangle=ft.triangle=function(Ye,jt,Qn,Ar,Hr,Zi,so){if(isNaN(Ye)||isNaN(jt)||isNaN(Qn)||isNaN(Ar)||isNaN(Hr)||isNaN(Zi)||!Gf(so))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Qn-Ye,Ar-jt],[Hr-Qn,Zi-Ar],[Ye-Hr,jt-Zi]],Ye,jt,[1,1],so,!0),this},ft.__private__.roundedRect=ft.roundedRect=function(Ye,jt,Qn,Ar,Hr,Zi,so){if(isNaN(Ye)||isNaN(jt)||isNaN(Qn)||isNaN(Ar)||isNaN(Hr)||isNaN(Zi)||!Gf(so))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ia=4/3*(Math.SQRT2-1);return Hr=Math.min(Hr,.5*Qn),Zi=Math.min(Zi,.5*Ar),this.lines([[Qn-2*Hr,0],[Hr*Ia,0,Hr,Zi-Zi*Ia,Hr,Zi],[0,Ar-2*Zi],[0,Zi*Ia,-Hr*Ia,Zi,-Hr,Zi],[2*Hr-Qn,0],[-Hr*Ia,0,-Hr,-Zi*Ia,-Hr,-Zi],[0,2*Zi-Ar],[0,-Zi*Ia,Hr*Ia,-Zi,Hr,-Zi]],Ye+Hr,jt,[1,1],so,!0),this},ft.__private__.ellipse=ft.ellipse=function(Ye,jt,Qn,Ar,Hr){if(isNaN(Ye)||isNaN(jt)||isNaN(Qn)||isNaN(Ar)||!Gf(Hr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Zi=4/3*(Math.SQRT2-1)*Qn,so=4/3*(Math.SQRT2-1)*Ar;return Fg(Ye+Qn,jt),pf(Ye+Qn,jt-so,Ye+Zi,jt-Ar,Ye,jt-Ar),pf(Ye-Zi,jt-Ar,Ye-Qn,jt-so,Ye-Qn,jt),pf(Ye-Qn,jt+so,Ye-Zi,jt+Ar,Ye,jt+Ar),pf(Ye+Zi,jt+Ar,Ye+Qn,jt+so,Ye+Qn,jt),Dp(Hr),this},ft.__private__.circle=ft.circle=function(Ye,jt,Qn,Ar){if(isNaN(Ye)||isNaN(jt)||isNaN(Qn)||!Gf(Ar))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(Ye,jt,Qn,Qn,Ar)},ft.setFont=function(Ye,jt,Qn){return Qn&&(jt=Ei(jt,Qn)),_a=um(Ye,jt,{disableWarning:!1}),this};var t0=ft.__private__.getFont=ft.getFont=function(){return qs[um.apply(ft,arguments)]};ft.__private__.getFontList=ft.getFontList=function(){var Ye,jt,Qn={};for(Ye in el)if(el.hasOwnProperty(Ye))for(jt in Qn[Ye]=[],el[Ye])el[Ye].hasOwnProperty(jt)&&Qn[Ye].push(jt);return Qn},ft.addFont=function(Ye,jt,Qn,Ar,Hr){var Zi=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Zi.indexOf(arguments[3])!==-1?Hr=arguments[3]:arguments[3]&&Zi.indexOf(arguments[3])==-1&&(Qn=Ei(Qn,Ar)),om.call(this,Ye,jt,Qn,Hr=Hr||"Identity-H")};var Np,Ig=y.lineWidth||.200025,n0=ft.__private__.getLineWidth=ft.getLineWidth=function(){return Ig},Ds=ft.__private__.setLineWidth=ft.setLineWidth=function(Ye){return Ig=Ye,Mn(Fr(fr(Ye))+" w"),this};ft.__private__.setLineDash=Na.API.setLineDash=Na.API.setLineDashPattern=function(Ye,jt){if(Ye=Ye||[],jt=jt||0,isNaN(jt)||!Array.isArray(Ye))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return Ye=Ye.map(function(Qn){return Fr(fr(Qn))}).join(" "),jt=Fr(fr(jt)),Mn("["+Ye+"] "+jt+" d"),this};var r0=ft.__private__.getLineHeight=ft.getLineHeight=function(){return mo*Np};ft.__private__.getLineHeight=ft.getLineHeight=function(){return mo*Np};var i0=ft.__private__.setLineHeightFactor=ft.setLineHeightFactor=function(Ye){return typeof(Ye=Ye||1.15)=="number"&&(Np=Ye),this},o0=ft.__private__.getLineHeightFactor=ft.getLineHeightFactor=function(){return Np};i0(y.lineHeight);var wh=ft.__private__.getHorizontalCoordinate=function(Ye){return fr(Ye)},bh=ft.__private__.getVerticalCoordinate=function(Ye){return Wn===ir?Ye:fs[Kn].mediaBox.topRightY-fs[Kn].mediaBox.bottomLeftY-fr(Ye)},a0=ft.__private__.getHorizontalCoordinateString=ft.getHorizontalCoordinateString=function(Ye){return Fr(wh(Ye))},s0=ft.__private__.getVerticalCoordinateString=ft.getVerticalCoordinateString=function(Ye){return Fr(bh(Ye))},ug=y.strokeColor||"0 G";ft.__private__.getStrokeColor=ft.getDrawColor=function(){return Kf(ug)},ft.__private__.setStrokeColor=ft.setDrawColor=function(Ye,jt,Qn,Ar){return ug=ff({ch1:Ye,ch2:jt,ch3:Qn,ch4:Ar,pdfColorType:"draw",precision:2}),Mn(ug),this};var Lg=y.fillColor||"0 g";ft.__private__.getFillColor=ft.getFillColor=function(){return Kf(Lg)},ft.__private__.setFillColor=ft.setFillColor=function(Ye,jt,Qn,Ar){return Lg=ff({ch1:Ye,ch2:jt,ch3:Qn,ch4:Ar,pdfColorType:"fill",precision:2}),Mn(Lg),this};var Op=y.textColor||"0 g",l0=ft.__private__.getTextColor=ft.getTextColor=function(){return Kf(Op)};ft.__private__.setTextColor=ft.setTextColor=function(Ye,jt,Qn,Ar){return Op=ff({ch1:Ye,ch2:jt,ch3:Qn,ch4:Ar,pdfColorType:"text",precision:3}),this};var Ch=y.charSpace,u0=ft.__private__.getCharSpace=ft.getCharSpace=function(){return parseFloat(Ch||0)};ft.__private__.setCharSpace=ft.setCharSpace=function(Ye){if(isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ch=Ye,this};var Dg=0;ft.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},ft.__private__.setLineCap=ft.setLineCap=function(Ye){var jt=ft.CapJoinStyles[Ye];if(jt===void 0)throw new Error("Line cap style of '"+Ye+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Dg=jt,Mn(jt+" J"),this};var Ng=0;ft.__private__.setLineJoin=ft.setLineJoin=function(Ye){var jt=ft.CapJoinStyles[Ye];if(jt===void 0)throw new Error("Line join style of '"+Ye+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ng=jt,Mn(jt+" j"),this},ft.__private__.setLineMiterLimit=ft.__private__.setMiterLimit=ft.setLineMiterLimit=ft.setMiterLimit=function(Ye){if(Ye=Ye||0,isNaN(Ye))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Mn(Fr(fr(Ye))+" M"),this},ft.GState=Ep,ft.setGState=function(Ye){(Ye=typeof Ye=="string"?ms[_s[Ye]]:gm(null,Ye)).equals(Vu)||(Mn("/"+Ye.id+" gs"),Vu=Ye)};var gm=function(Ye,jt){if(!Ye||!_s[Ye]){var Qn=!1;for(var Ar in ms)if(ms.hasOwnProperty(Ar)&&ms[Ar].equals(jt)){Qn=!0;break}if(Qn)jt=ms[Ar];else{var Hr="GS"+(Object.keys(ms).length+1).toString(10);ms[Hr]=jt,jt.id=Hr}return Ye&&(_s[Ye]=jt.id),ql.publish("addGState",jt),jt}};ft.addGState=function(Ye,jt){return gm(Ye,jt),this},ft.saveGraphicsState=function(){return Mn("q"),Wu.push({key:_a,size:mo,color:Op}),this},ft.restoreGraphicsState=function(){Mn("Q");var Ye=Wu.pop();return _a=Ye.key,mo=Ye.size,Op=Ye.color,Vu=null,this},ft.setCurrentTransformationMatrix=function(Ye){return Mn(Ye.toString()+" cm"),this},ft.comment=function(Ye){return Mn("#"+Ye),this};var xh=function(Ye,jt){var Qn=Ye||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Qn},set:function(Zi){isNaN(Zi)||(Qn=parseFloat(Zi))}});var Ar=jt||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ar},set:function(Zi){isNaN(Zi)||(Ar=parseFloat(Zi))}});var Hr="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Hr},set:function(Zi){Hr=Zi.toString()}}),this},Og=function(Ye,jt,Qn,Ar){xh.call(this,Ye,jt),this.type="rect";var Hr=Qn||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Hr},set:function(so){isNaN(so)||(Hr=parseFloat(so))}});var Zi=Ar||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Zi},set:function(so){isNaN(so)||(Zi=parseFloat(so))}}),this},cg=function(){this.page=rl,this.currentPage=Kn,this.pages=Eo.slice(0),this.pagesContext=fs.slice(0),this.x=Ka,this.y=Ec,this.matrix=Il,this.width=Tg(Kn),this.height=vm(Kn),this.outputDestination=sa,this.id="",this.objectNumber=-1};cg.prototype.restore=function(){rl=this.page,Kn=this.currentPage,fs=this.pagesContext,Eo=this.pages,Ka=this.x,Ec=this.y,Il=this.matrix,mm(Kn,this.width),Bh(Kn,this.height),sa=this.outputDestination};var Pg=function(Ye,jt,Qn,Ar,Hr){zf.push(new cg),rl=Kn=0,Eo=[],Ka=Ye,Ec=jt,Il=Hr,Eg([Qn,Ar])};for(var Pp in ft.beginFormObject=function(Ye,jt,Qn,Ar,Hr){return Pg(Ye,jt,Qn,Ar,Hr),this},ft.endFormObject=function(Ye){return function(jt){if(gh[jt])zf.pop().restore();else{var Qn=new cg,Ar="Xo"+(Object.keys(NA).length+1).toString(10);Qn.id=Ar,gh[jt]=Ar,NA[Ar]=Qn,ql.publish("addFormObject",Qn),zf.pop().restore()}}(Ye),this},ft.doFormObject=function(Ye,jt){var Qn=NA[gh[Ye]];return Mn("q"),Mn(jt.toString()+" cm"),Mn("/"+Qn.id+" Do"),Mn("Q"),this},ft.getFormObject=function(Ye){var jt=NA[gh[Ye]];return{x:jt.x,y:jt.y,width:jt.width,height:jt.height,matrix:jt.matrix}},ft.save=function(Ye,jt){return Ye=Ye||"generated.pdf",(jt=jt||{}).returnPromise=jt.returnPromise||!1,jt.returnPromise===!1?(Tf(sg(Vf()),Ye),typeof Tf.unload=="function"&&Ra.setTimeout&&setTimeout(Tf.unload,911),this):new Promise(function(Qn,Ar){try{var Hr=Tf(sg(Vf()),Ye);typeof Tf.unload=="function"&&Ra.setTimeout&&setTimeout(Tf.unload,911),Qn(Hr)}catch(Zi){Ar(Zi.message)}})},Na.API)Na.API.hasOwnProperty(Pp)&&(Pp==="events"&&Na.API.events.length?function(Ye,jt){var Qn,Ar,Hr;for(Hr=jt.length-1;Hr!==-1;Hr--)Qn=jt[Hr][0],Ar=jt[Hr][1],Ye.subscribe.apply(Ye,[Qn].concat(typeof Ar=="function"?[Ar]:Ar))}(ql,Na.API.events):ft[Pp]=Na.API[Pp]);function Tg(Ye){return fs[Ye].mediaBox.topRightX-fs[Ye].mediaBox.bottomLeftX}function mm(Ye,jt){fs[Ye].mediaBox.topRightX=jt+fs[Ye].mediaBox.bottomLeftX}function vm(Ye){return fs[Ye].mediaBox.topRightY-fs[Ye].mediaBox.bottomLeftY}function Bh(Ye,jt){fs[Ye].mediaBox.topRightY=jt+fs[Ye].mediaBox.bottomLeftY}var Eh=ft.getPageWidth=function(Ye){return Tg(Ye=Ye||Kn)/js},ym=ft.setPageWidth=function(Ye,jt){mm(Ye,jt*js)},Tp=ft.getPageHeight=function(Ye){return vm(Ye=Ye||Kn)/js},wm=ft.setPageHeight=function(Ye,jt){Bh(Ye,jt*js)};return ft.internal={pdfEscape:zd,getStyle:fm,getFont:t0,getFontSize:Sa,getCharSpace:u0,getTextColor:l0,getLineHeight:r0,getLineHeightFactor:o0,getLineWidth:n0,write:ca,getHorizontalCoordinate:wh,getVerticalCoordinate:bh,getCoordinateString:a0,getVerticalCoordinateString:s0,collections:{},newObject:pc,newAdditionalObject:Fp,newObjectDeferred:rA,newObjectDeferredBegin:uA,getFilters:hf,putStream:Hd,events:ql,scaleFactor:js,pageSize:{getWidth:function(){return Eh(Kn)},setWidth:function(Ye){ym(Kn,Ye)},getHeight:function(){return Tp(Kn)},setHeight:function(Ye){wm(Kn,Ye)}},encryptionOptions:gt,encryption:jc,getEncryptor:function(Ye){return gt!==null?jc.encryptor(Ye,0):function(jt){return jt}},output:Am,getNumberOfPages:lm,get pages(){return Eo},out:Mn,f2:cn,f3:kn,getPageInfo:yh,getPageInfoByObjId:dm,getCurrentPageInfo:Ym,getPDFVersion:Bn,Point:xh,Rectangle:Og,Matrix:hs,hasHotfix:Kd},Object.defineProperty(ft.internal.pageSize,"width",{get:function(){return Eh(Kn)},set:function(Ye){ym(Kn,Ye)},enumerable:!0,configurable:!0}),Object.defineProperty(ft.internal.pageSize,"height",{get:function(){return Tp(Kn)},set:function(Ye){wm(Kn,Ye)},enumerable:!0,configurable:!0}),function(Ye){for(var jt=0,Qn=cs.length;jt<Qn;jt++){var Ar=om.call(this,Ye[jt][0],Ye[jt][1],Ye[jt][2],cs[jt][3],!0);Ut===!1&&(qt[Ar]=!0);var Hr=Ye[jt][0].split("-");im({id:Ar,fontName:Hr[0],fontStyle:Hr[1]||""})}ql.publish("addFonts",{fonts:qs,dictionary:el})}.call(ft,cs),_a="F1",am(ce,E),ql.publish("initialized"),ft}zh.prototype.lsbFirstWord=function(y){return String.fromCharCode(255&y,y>>8&255,y>>16&255,y>>24&255)},zh.prototype.toHexString=function(y){return y.split("").map(function(z){return("0"+(255&z.charCodeAt(0)).toString(16)).slice(-2)}).join("")},zh.prototype.hexToBytes=function(y){for(var z=[],E=0;E<y.length;E+=2)z.push(String.fromCharCode(parseInt(y.substr(E,2),16)));return z.join("")},zh.prototype.processOwnerPassword=function(y,z){return kf(bg(z).substr(0,5),y)},zh.prototype.encryptor=function(y,z){var E=bg(this.encryptionKey+String.fromCharCode(255&y,y>>8&255,y>>16&255,255&z,z>>8&255)).substr(0,10);return function(re){return kf(E,re)}},Ep.prototype.equals=function(y){var z,E="id,objectNumber,equals";if(!y||(0,x.Z)(y)!==(0,x.Z)(this))return!1;var re=0;for(z in this)if(!(E.indexOf(z)>=0)){if(this.hasOwnProperty(z)&&!y.hasOwnProperty(z)||this[z]!==y[z])return!1;re++}for(z in y)y.hasOwnProperty(z)&&E.indexOf(z)<0&&re--;return re===0},Na.API={events:[]},Na.version="3.0.4";var Zu=Na.API,xg=1,fh=function(y){return y.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Kh=function(y){return y.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Bs=function(y){return y.toFixed(2)},Rf=function(y){return y.toFixed(5)};Zu.__acroform__={};var LA=function(y,z){y.prototype=Object.create(z.prototype),y.prototype.constructor=y},nm=function(y){return y*xg},Rd=function(y){var z=new Oi,E=Qo.internal.getHeight(y)||0,re=Qo.internal.getWidth(y)||0;return z.BBox=[0,0,Number(Bs(re)),Number(Bs(E))],z},Hm=Zu.__acroform__.setBit=function(y,z){if(y=y||0,z=z||0,isNaN(y)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return y|1<<z},zm=Zu.__acroform__.clearBit=function(y,z){if(y=y||0,z=z||0,isNaN(y)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return y&~(1<<z)},Km=Zu.__acroform__.getBit=function(y,z){if(isNaN(y)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return y&1<<z?1:0},rc=Zu.__acroform__.getBitForPdf=function(y,z){if(isNaN(y)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Km(y,z-1)},me=Zu.__acroform__.setBitForPdf=function(y,z){if(isNaN(y)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Hm(y,z-1)},Ae=Zu.__acroform__.clearBitForPdf=function(y,z){if(isNaN(y)||isNaN(z))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return zm(y,z-1)},Ce=Zu.__acroform__.calculateCoordinates=function(y,z){var E=z.internal.getHorizontalCoordinate,re=z.internal.getVerticalCoordinate,ce=y[0],he=y[1],Ze=y[2],Ue=y[3],Xe={};return Xe.lowerLeft_X=E(ce)||0,Xe.lowerLeft_Y=re(he+Ue)||0,Xe.upperRight_X=E(ce+Ze)||0,Xe.upperRight_Y=re(he)||0,[Number(Bs(Xe.lowerLeft_X)),Number(Bs(Xe.lowerLeft_Y)),Number(Bs(Xe.upperRight_X)),Number(Bs(Xe.upperRight_Y))]},be=function(y){if(y.appearanceStreamContent)return y.appearanceStreamContent;if(y.V||y.DV){var z=[],E=y._V||y.DV,re=rt(y,E),ce=y.scope.internal.getFont(y.fontName,y.fontStyle).id;z.push("/Tx BMC"),z.push("q"),z.push("BT"),z.push(y.scope.__private__.encodeColorString(y.color)),z.push("/"+ce+" "+Bs(re.fontSize)+" Tf"),z.push("1 0 0 1 0 0 Tm"),z.push(re.text),z.push("ET"),z.push("Q"),z.push("EMC");var he=Rd(y);return he.scope=y.scope,he.stream=z.join(`
`),he}},rt=function(y,z){var E=y.fontSize===0?y.maxFontSize:y.fontSize,re={text:"",fontSize:""},ce=(z=(z=z.substr(0,1)=="("?z.substr(1):z).substr(z.length-1)==")"?z.substr(0,z.length-1):z).split(" ");ce=y.multiline?ce.map(function(cn){return cn.split(`
`)}):ce.map(function(cn){return[cn]});var he=E,Ze=Qo.internal.getHeight(y)||0;Ze=Ze<0?-Ze:Ze;var Ue=Qo.internal.getWidth(y)||0;Ue=Ue<0?-Ue:Ue;var Xe=function(cn,kn,fr){if(cn+1<ce.length){var sr=kn+" "+ce[cn+1][0];return It(sr,y,fr).width<=Ue-4}return!1};he++;e:for(;he>0;){z="",he--;var $e,gt,Ut=It("3",y,he).height,qt=y.multiline?Ze-he:(Ze-Ut)/2,ft=qt+=2,Dn=0,Bn=0,Tn=0;if(he<=0){z=`(...) Tj
`,z+="% Width of Text: "+It(z,y,he=12).width+", FieldWidth:"+Ue+`
`;break}for(var fn="",hr=0,ir=0;ir<ce.length;ir++)if(ce.hasOwnProperty(ir)){var Wn=!1;if(ce[ir].length!==1&&Tn!==ce[ir].length-1){if((Ut+2)*(hr+2)+2>Ze)continue e;fn+=ce[ir][Tn],Wn=!0,Bn=ir,ir--}else{fn=(fn+=ce[ir][Tn]+" ").substr(fn.length-1)==" "?fn.substr(0,fn.length-1):fn;var oi=parseInt(ir),Ui=Xe(oi,fn,he),Ei=ir>=ce.length-1;if(Ui&&!Ei){fn+=" ",Tn=0;continue}if(Ui||Ei){if(Ei)Bn=oi;else if(y.multiline&&(Ut+2)*(hr+2)+2>Ze)continue e}else{if(!y.multiline||(Ut+2)*(hr+2)+2>Ze)continue e;Bn=oi}}for(var Fr="",Gn=Dn;Gn<=Bn;Gn++){var Vr=ce[Gn];if(y.multiline){if(Gn===Bn){Fr+=Vr[Tn]+" ",Tn=(Tn+1)%Vr.length;continue}if(Gn===Dn){Fr+=Vr[Vr.length-1]+" ";continue}}Fr+=Vr[0]+" "}switch(Fr=Fr.substr(Fr.length-1)==" "?Fr.substr(0,Fr.length-1):Fr,gt=It(Fr,y,he).width,y.textAlign){case"right":$e=Ue-gt-2;break;case"center":$e=(Ue-gt)/2;break;default:$e=2}z+=Bs($e)+" "+Bs(ft)+` Td
`,z+="("+fh(Fr)+`) Tj
`,z+=-Bs($e)+` 0 Td
`,ft=-(he+2),gt=0,Dn=Wn?Bn:Bn+1,hr++,fn=""}break}return re.text=z,re.fontSize=he,re},It=function(y,z,E){var re=z.scope.internal.getFont(z.fontName,z.fontStyle),ce=z.scope.getStringUnitWidth(y,{font:re,fontSize:parseFloat(E),charSpace:0})*parseFloat(E);return{height:z.scope.getStringUnitWidth("3",{font:re,fontSize:parseFloat(E),charSpace:0})*parseFloat(E)*1.5,width:ce}},Jt={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Sn=function(y,z){var E={type:"reference",object:y};z.internal.getPageInfo(y.page).pageContext.annotations.find(function(re){return re.type===E.type&&re.object===E.object})===void 0&&z.internal.getPageInfo(y.page).pageContext.annotations.push(E)},En=function(y,z){if(z.scope=y,y.internal!==void 0&&(y.internal.acroformPlugin===void 0||y.internal.acroformPlugin.isInitialized===!1)){if(go.FieldNum=0,y.internal.acroformPlugin=JSON.parse(JSON.stringify(Jt)),y.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");xg=y.internal.scaleFactor,y.internal.acroformPlugin.acroFormDictionaryRoot=new Aa,y.internal.acroformPlugin.acroFormDictionaryRoot.scope=y,y.internal.acroformPlugin.acroFormDictionaryRoot._eventID=y.internal.events.subscribe("postPutResources",function(){(function(E){E.internal.events.unsubscribe(E.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete E.internal.acroformPlugin.acroFormDictionaryRoot._eventID,E.internal.acroformPlugin.printedOut=!0})(y)}),y.internal.events.subscribe("buildDocument",function(){(function(E){E.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var re=E.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var ce in re)if(re.hasOwnProperty(ce)){var he=re[ce];he.objId=void 0,he.hasAnnotation&&Sn(he,E)}})(y)}),y.internal.events.subscribe("putCatalog",function(){(function(E){if(E.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");E.internal.write("/AcroForm "+E.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(y)}),y.internal.events.subscribe("postPutPages",function(E){(function(re,ce){var he=!re;for(var Ze in re||(ce.internal.newObjectDeferredBegin(ce.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),ce.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),re=re||ce.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(re.hasOwnProperty(Ze)){var Ue=re[Ze],Xe=[],$e=Ue.Rect;if(Ue.Rect&&(Ue.Rect=Ce(Ue.Rect,ce)),ce.internal.newObjectDeferredBegin(Ue.objId,!0),Ue.DA=Qo.createDefaultAppearanceStream(Ue),(0,x.Z)(Ue)==="object"&&typeof Ue.getKeyValueListForStream=="function"&&(Xe=Ue.getKeyValueListForStream()),Ue.Rect=$e,Ue.hasAppearanceStream&&!Ue.appearanceStreamContent){var gt=be(Ue);Xe.push({key:"AP",value:"<</N "+gt+">>"}),ce.internal.acroformPlugin.xForms.push(gt)}if(Ue.appearanceStreamContent){var Ut="";for(var qt in Ue.appearanceStreamContent)if(Ue.appearanceStreamContent.hasOwnProperty(qt)){var ft=Ue.appearanceStreamContent[qt];if(Ut+="/"+qt+" ",Ut+="<<",Object.keys(ft).length>=1||Array.isArray(ft)){for(var Ze in ft)if(ft.hasOwnProperty(Ze)){var Dn=ft[Ze];typeof Dn=="function"&&(Dn=Dn.call(ce,Ue)),Ut+="/"+Ze+" "+Dn+" ",ce.internal.acroformPlugin.xForms.indexOf(Dn)>=0||ce.internal.acroformPlugin.xForms.push(Dn)}}else typeof(Dn=ft)=="function"&&(Dn=Dn.call(ce,Ue)),Ut+="/"+Ze+" "+Dn,ce.internal.acroformPlugin.xForms.indexOf(Dn)>=0||ce.internal.acroformPlugin.xForms.push(Dn);Ut+=">>"}Xe.push({key:"AP",value:`<<
`+Ut+">>"})}ce.internal.putStream({additionalKeyValues:Xe,objectId:Ue.objId}),ce.internal.out("endobj")}he&&function(Bn,Tn){for(var fn in Bn)if(Bn.hasOwnProperty(fn)){var hr=fn,ir=Bn[fn];Tn.internal.newObjectDeferredBegin(ir.objId,!0),(0,x.Z)(ir)==="object"&&typeof ir.putStream=="function"&&ir.putStream(),delete Bn[hr]}}(ce.internal.acroformPlugin.xForms,ce)})(E,y)}),y.internal.acroformPlugin.isInitialized=!0}},yr=Zu.__acroform__.arrayToPdfArray=function(y,z,E){var re=function(Ze){return Ze};if(Array.isArray(y)){for(var ce="[",he=0;he<y.length;he++)switch(he!==0&&(ce+=" "),(0,x.Z)(y[he])){case"boolean":case"number":case"object":ce+=y[he].toString();break;case"string":y[he].substr(0,1)!=="/"?(z!==void 0&&E&&(re=E.internal.getEncryptor(z)),ce+="("+fh(re(y[he].toString()))+")"):ce+=y[he].toString()}return ce+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Nr=function(y,z,E){var re=function(ce){return ce};return z!==void 0&&E&&(re=E.internal.getEncryptor(z)),(y=y||"").toString(),"("+fh(re(y))+")"},Qr=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(y){this._objId=y}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Qr.prototype.toString=function(){return this.objId+" 0 R"},Qr.prototype.putStream=function(){var y=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:y,objectId:this.objId}),this.scope.internal.out("endobj")},Qr.prototype.getKeyValueListForStream=function(){var y=[],z=Object.getOwnPropertyNames(this).filter(function(he){return he!="content"&&he!="appearanceStreamContent"&&he!="scope"&&he!="objId"&&he.substring(0,1)!="_"});for(var E in z)if(Object.getOwnPropertyDescriptor(this,z[E]).configurable===!1){var re=z[E],ce=this[re];ce&&(Array.isArray(ce)?y.push({key:re,value:yr(ce,this.objId,this.scope)}):ce instanceof Qr?(ce.scope=this.scope,y.push({key:re,value:ce.objId+" 0 R"})):typeof ce!="function"&&y.push({key:re,value:ce}))}return y};var Oi=function(){Qr.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var y,z=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return z},set:function(E){z=E}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(E){y=E.trim()},get:function(){return y||null}})};LA(Oi,Qr);var Aa=function(){Qr.call(this);var y,z=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return z.length>0?z:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return z}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(y){var E=function(re){return re};return this.scope&&(E=this.scope.internal.getEncryptor(this.objId)),"("+fh(E(y))+")"}},set:function(E){y=E}})};LA(Aa,Qr);var go=function y(){Qr.call(this);var z=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return z},set:function(fn){if(isNaN(fn))throw new Error('Invalid value "'+fn+'" for attribute F supplied.');z=fn}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!rc(z,3)},set:function(fn){fn?this.F=me(z,3):this.F=Ae(z,3)}});var E=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return E},set:function(fn){if(isNaN(fn))throw new Error('Invalid value "'+fn+'" for attribute Ff supplied.');E=fn}});var re=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(re.length!==0)return re},set:function(fn){re=fn!==void 0?fn:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[0])?0:re[0]},set:function(fn){re[0]=fn}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[1])?0:re[1]},set:function(fn){re[1]=fn}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[2])?0:re[2]},set:function(fn){re[2]=fn}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!re||isNaN(re[3])?0:re[3]},set:function(fn){re[3]=fn}});var ce="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return ce},set:function(fn){switch(fn){case"/Btn":case"/Tx":case"/Ch":case"/Sig":ce=fn;break;default:throw new Error('Invalid value "'+fn+'" for attribute FT supplied.')}}});var he=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!he||he.length<1){if(this instanceof ia)return;he="FieldObject"+y.FieldNum++}var fn=function(hr){return hr};return this.scope&&(fn=this.scope.internal.getEncryptor(this.objId)),"("+fh(fn(he))+")"},set:function(fn){he=fn.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return he},set:function(fn){he=fn}});var Ze="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Ze},set:function(fn){Ze=fn}});var Ue="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Ue},set:function(fn){Ue=fn}});var Xe=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return Xe},set:function(fn){Xe=fn}});var $e=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return $e===void 0?50/xg:$e},set:function(fn){$e=fn}});var gt="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return gt},set:function(fn){gt=fn}});var Ut="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Ut||this instanceof ia||this instanceof Us))return Nr(Ut,this.objId,this.scope)},set:function(fn){fn=fn.toString(),Ut=fn}});var qt=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(qt)return this instanceof os==0?Nr(qt,this.objId,this.scope):qt},set:function(fn){fn=fn.toString(),qt=this instanceof os==0?fn.substr(0,1)==="("?Kh(fn.substr(1,fn.length-2)):Kh(fn):fn}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof os==1?Kh(qt.substr(1,qt.length-1)):qt},set:function(fn){fn=fn.toString(),qt=this instanceof os==1?"/"+fn:fn}});var ft=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(ft)return ft},set:function(fn){this.V=fn}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(ft)return this instanceof os==0?Nr(ft,this.objId,this.scope):ft},set:function(fn){fn=fn.toString(),ft=this instanceof os==0?fn.substr(0,1)==="("?Kh(fn.substr(1,fn.length-2)):Kh(fn):fn}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof os==1?Kh(ft.substr(1,ft.length-1)):ft},set:function(fn){fn=fn.toString(),ft=this instanceof os==1?"/"+fn:fn}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var Dn,Bn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Bn},set:function(fn){fn=!!fn,Bn=fn}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(Dn)return Dn},set:function(fn){Dn=fn}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,1)},set:function(fn){fn?this.Ff=me(this.Ff,1):this.Ff=Ae(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,2)},set:function(fn){fn?this.Ff=me(this.Ff,2):this.Ff=Ae(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,3)},set:function(fn){fn?this.Ff=me(this.Ff,3):this.Ff=Ae(this.Ff,3)}});var Tn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Tn!==null)return Tn},set:function(fn){if([0,1,2].indexOf(fn)===-1)throw new Error('Invalid value "'+fn+'" for attribute Q supplied.');Tn=fn}}),Object.defineProperty(this,"textAlign",{get:function(){var fn;switch(Tn){case 0:default:fn="left";break;case 1:fn="center";break;case 2:fn="right"}return fn},configurable:!0,enumerable:!0,set:function(fn){switch(fn){case"right":case 2:Tn=2;break;case"center":case 1:Tn=1;break;default:Tn=0}}})};LA(go,Qr);var Vo=function(){go.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var y=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return y},set:function(E){y=E}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return y},set:function(E){y=E}});var z=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return yr(z,this.objId,this.scope)},set:function(E){var re,ce;ce=[],typeof(re=E)=="string"&&(ce=function(he,Ze,Ue){Ue||(Ue=1);for(var Xe,$e=[];Xe=Ze.exec(he);)$e.push(Xe[Ue]);return $e}(re,/\((.*?)\)/g)),z=ce}}),this.getOptions=function(){return z},this.setOptions=function(E){z=E,this.sort&&z.sort()},this.addOption=function(E){E=(E=E||"").toString(),z.push(E),this.sort&&z.sort()},this.removeOption=function(E,re){for(re=re||!1,E=(E=E||"").toString();z.indexOf(E)!==-1&&(z.splice(z.indexOf(E),1),re!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,18)},set:function(E){E?this.Ff=me(this.Ff,18):this.Ff=Ae(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,19)},set:function(E){this.combo===!0&&(E?this.Ff=me(this.Ff,19):this.Ff=Ae(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,20)},set:function(E){E?(this.Ff=me(this.Ff,20),z.sort()):this.Ff=Ae(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,22)},set:function(E){E?this.Ff=me(this.Ff,22):this.Ff=Ae(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,23)},set:function(E){E?this.Ff=me(this.Ff,23):this.Ff=Ae(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,27)},set:function(E){E?this.Ff=me(this.Ff,27):this.Ff=Ae(this.Ff,27)}}),this.hasAppearanceStream=!1};LA(Vo,go);var gs=function(){Vo.call(this),this.fontName="helvetica",this.combo=!1};LA(gs,Vo);var va=function(){gs.call(this),this.combo=!0};LA(va,gs);var pa=function(){va.call(this),this.edit=!0};LA(pa,va);var os=function(){go.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,15)},set:function(E){E?this.Ff=me(this.Ff,15):this.Ff=Ae(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,16)},set:function(E){E?this.Ff=me(this.Ff,16):this.Ff=Ae(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,17)},set:function(E){E?this.Ff=me(this.Ff,17):this.Ff=Ae(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,26)},set:function(E){E?this.Ff=me(this.Ff,26):this.Ff=Ae(this.Ff,26)}});var y,z={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var E=function(he){return he};if(this.scope&&(E=this.scope.internal.getEncryptor(this.objId)),Object.keys(z).length!==0){var re,ce=[];for(re in ce.push("<<"),z)ce.push("/"+re+" ("+fh(E(z[re]))+")");return ce.push(">>"),ce.join(`
`)}},set:function(E){(0,x.Z)(E)==="object"&&(z=E)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return z.CA||""},set:function(E){typeof E=="string"&&(z.CA=E)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return y},set:function(E){y=E}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return y.substr(1,y.length-1)},set:function(E){y="/"+E}})};LA(os,go);var Es=function(){os.call(this),this.pushButton=!0};LA(Es,os);var Ja=function(){os.call(this),this.radio=!0,this.pushButton=!1;var y=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return y},set:function(z){y=z!==void 0?z:[]}})};LA(Ja,os);var ia=function(){var y,z;go.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return y},set:function(ce){y=ce}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return z},set:function(ce){z=ce}});var E,re={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var ce=function(Ue){return Ue};this.scope&&(ce=this.scope.internal.getEncryptor(this.objId));var he,Ze=[];for(he in Ze.push("<<"),re)Ze.push("/"+he+" ("+fh(ce(re[he]))+")");return Ze.push(">>"),Ze.join(`
`)},set:function(ce){(0,x.Z)(ce)==="object"&&(re=ce)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return re.CA||""},set:function(ce){typeof ce=="string"&&(re.CA=ce)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return E},set:function(ce){E=ce}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return E.substr(1,E.length-1)},set:function(ce){E="/"+ce}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Qo.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};LA(ia,go),Ja.prototype.setAppearance=function(y){if(!("createAppearanceStream"in y)||!("getCA"in y))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var z in this.Kids)if(this.Kids.hasOwnProperty(z)){var E=this.Kids[z];E.appearanceStreamContent=y.createAppearanceStream(E.optionName),E.caption=y.getCA()}},Ja.prototype.createOption=function(y){var z=new ia;return z.Parent=this,z.optionName=y,this.Kids.push(z),DA.call(this.scope,z),z};var Ys=function(){os.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Qo.CheckBox.createAppearanceStream()};LA(Ys,os);var Us=function(){go.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,13)},set:function(z){z?this.Ff=me(this.Ff,13):this.Ff=Ae(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,21)},set:function(z){z?this.Ff=me(this.Ff,21):this.Ff=Ae(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,23)},set:function(z){z?this.Ff=me(this.Ff,23):this.Ff=Ae(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,24)},set:function(z){z?this.Ff=me(this.Ff,24):this.Ff=Ae(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,25)},set:function(z){z?this.Ff=me(this.Ff,25):this.Ff=Ae(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,26)},set:function(z){z?this.Ff=me(this.Ff,26):this.Ff=Ae(this.Ff,26)}});var y=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return y},set:function(z){y=z}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return y},set:function(z){Number.isInteger(z)&&(y=z)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};LA(Us,go);var as=function(){Us.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!rc(this.Ff,14)},set:function(y){y?this.Ff=me(this.Ff,14):this.Ff=Ae(this.Ff,14)}}),this.password=!0};LA(as,Us);var Qo={CheckBox:{createAppearanceStream:function(){return{N:{On:Qo.CheckBox.YesNormal},D:{On:Qo.CheckBox.YesPushDown,Off:Qo.CheckBox.OffPushDown}}},YesPushDown:function(y){var z=Rd(y);z.scope=y.scope;var E=[],re=y.scope.internal.getFont(y.fontName,y.fontStyle).id,ce=y.scope.__private__.encodeColorString(y.color),he=rt(y,y.caption);return E.push("0.749023 g"),E.push("0 0 "+Bs(Qo.internal.getWidth(y))+" "+Bs(Qo.internal.getHeight(y))+" re"),E.push("f"),E.push("BMC"),E.push("q"),E.push("0 0 1 rg"),E.push("/"+re+" "+Bs(he.fontSize)+" Tf "+ce),E.push("BT"),E.push(he.text),E.push("ET"),E.push("Q"),E.push("EMC"),z.stream=E.join(`
`),z},YesNormal:function(y){var z=Rd(y);z.scope=y.scope;var E=y.scope.internal.getFont(y.fontName,y.fontStyle).id,re=y.scope.__private__.encodeColorString(y.color),ce=[],he=Qo.internal.getHeight(y),Ze=Qo.internal.getWidth(y),Ue=rt(y,y.caption);return ce.push("1 g"),ce.push("0 0 "+Bs(Ze)+" "+Bs(he)+" re"),ce.push("f"),ce.push("q"),ce.push("0 0 1 rg"),ce.push("0 0 "+Bs(Ze-1)+" "+Bs(he-1)+" re"),ce.push("W"),ce.push("n"),ce.push("0 g"),ce.push("BT"),ce.push("/"+E+" "+Bs(Ue.fontSize)+" Tf "+re),ce.push(Ue.text),ce.push("ET"),ce.push("Q"),z.stream=ce.join(`
`),z},OffPushDown:function(y){var z=Rd(y);z.scope=y.scope;var E=[];return E.push("0.749023 g"),E.push("0 0 "+Bs(Qo.internal.getWidth(y))+" "+Bs(Qo.internal.getHeight(y))+" re"),E.push("f"),z.stream=E.join(`
`),z}},RadioButton:{Circle:{createAppearanceStream:function(y){var z={D:{Off:Qo.RadioButton.Circle.OffPushDown},N:{}};return z.N[y]=Qo.RadioButton.Circle.YesNormal,z.D[y]=Qo.RadioButton.Circle.YesPushDown,z},getCA:function(){return"l"},YesNormal:function(y){var z=Rd(y);z.scope=y.scope;var E=[],re=Qo.internal.getWidth(y)<=Qo.internal.getHeight(y)?Qo.internal.getWidth(y)/4:Qo.internal.getHeight(y)/4;re=Number((.9*re).toFixed(5));var ce=Qo.internal.Bezier_C,he=Number((re*ce).toFixed(5));return E.push("q"),E.push("1 0 0 1 "+Rf(Qo.internal.getWidth(y)/2)+" "+Rf(Qo.internal.getHeight(y)/2)+" cm"),E.push(re+" 0 m"),E.push(re+" "+he+" "+he+" "+re+" 0 "+re+" c"),E.push("-"+he+" "+re+" -"+re+" "+he+" -"+re+" 0 c"),E.push("-"+re+" -"+he+" -"+he+" -"+re+" 0 -"+re+" c"),E.push(he+" -"+re+" "+re+" -"+he+" "+re+" 0 c"),E.push("f"),E.push("Q"),z.stream=E.join(`
`),z},YesPushDown:function(y){var z=Rd(y);z.scope=y.scope;var E=[],re=Qo.internal.getWidth(y)<=Qo.internal.getHeight(y)?Qo.internal.getWidth(y)/4:Qo.internal.getHeight(y)/4;re=Number((.9*re).toFixed(5));var ce=Number((2*re).toFixed(5)),he=Number((ce*Qo.internal.Bezier_C).toFixed(5)),Ze=Number((re*Qo.internal.Bezier_C).toFixed(5));return E.push("0.749023 g"),E.push("q"),E.push("1 0 0 1 "+Rf(Qo.internal.getWidth(y)/2)+" "+Rf(Qo.internal.getHeight(y)/2)+" cm"),E.push(ce+" 0 m"),E.push(ce+" "+he+" "+he+" "+ce+" 0 "+ce+" c"),E.push("-"+he+" "+ce+" -"+ce+" "+he+" -"+ce+" 0 c"),E.push("-"+ce+" -"+he+" -"+he+" -"+ce+" 0 -"+ce+" c"),E.push(he+" -"+ce+" "+ce+" -"+he+" "+ce+" 0 c"),E.push("f"),E.push("Q"),E.push("0 g"),E.push("q"),E.push("1 0 0 1 "+Rf(Qo.internal.getWidth(y)/2)+" "+Rf(Qo.internal.getHeight(y)/2)+" cm"),E.push(re+" 0 m"),E.push(re+" "+Ze+" "+Ze+" "+re+" 0 "+re+" c"),E.push("-"+Ze+" "+re+" -"+re+" "+Ze+" -"+re+" 0 c"),E.push("-"+re+" -"+Ze+" -"+Ze+" -"+re+" 0 -"+re+" c"),E.push(Ze+" -"+re+" "+re+" -"+Ze+" "+re+" 0 c"),E.push("f"),E.push("Q"),z.stream=E.join(`
`),z},OffPushDown:function(y){var z=Rd(y);z.scope=y.scope;var E=[],re=Qo.internal.getWidth(y)<=Qo.internal.getHeight(y)?Qo.internal.getWidth(y)/4:Qo.internal.getHeight(y)/4;re=Number((.9*re).toFixed(5));var ce=Number((2*re).toFixed(5)),he=Number((ce*Qo.internal.Bezier_C).toFixed(5));return E.push("0.749023 g"),E.push("q"),E.push("1 0 0 1 "+Rf(Qo.internal.getWidth(y)/2)+" "+Rf(Qo.internal.getHeight(y)/2)+" cm"),E.push(ce+" 0 m"),E.push(ce+" "+he+" "+he+" "+ce+" 0 "+ce+" c"),E.push("-"+he+" "+ce+" -"+ce+" "+he+" -"+ce+" 0 c"),E.push("-"+ce+" -"+he+" -"+he+" -"+ce+" 0 -"+ce+" c"),E.push(he+" -"+ce+" "+ce+" -"+he+" "+ce+" 0 c"),E.push("f"),E.push("Q"),z.stream=E.join(`
`),z}},Cross:{createAppearanceStream:function(y){var z={D:{Off:Qo.RadioButton.Cross.OffPushDown},N:{}};return z.N[y]=Qo.RadioButton.Cross.YesNormal,z.D[y]=Qo.RadioButton.Cross.YesPushDown,z},getCA:function(){return"8"},YesNormal:function(y){var z=Rd(y);z.scope=y.scope;var E=[],re=Qo.internal.calculateCross(y);return E.push("q"),E.push("1 1 "+Bs(Qo.internal.getWidth(y)-2)+" "+Bs(Qo.internal.getHeight(y)-2)+" re"),E.push("W"),E.push("n"),E.push(Bs(re.x1.x)+" "+Bs(re.x1.y)+" m"),E.push(Bs(re.x2.x)+" "+Bs(re.x2.y)+" l"),E.push(Bs(re.x4.x)+" "+Bs(re.x4.y)+" m"),E.push(Bs(re.x3.x)+" "+Bs(re.x3.y)+" l"),E.push("s"),E.push("Q"),z.stream=E.join(`
`),z},YesPushDown:function(y){var z=Rd(y);z.scope=y.scope;var E=Qo.internal.calculateCross(y),re=[];return re.push("0.749023 g"),re.push("0 0 "+Bs(Qo.internal.getWidth(y))+" "+Bs(Qo.internal.getHeight(y))+" re"),re.push("f"),re.push("q"),re.push("1 1 "+Bs(Qo.internal.getWidth(y)-2)+" "+Bs(Qo.internal.getHeight(y)-2)+" re"),re.push("W"),re.push("n"),re.push(Bs(E.x1.x)+" "+Bs(E.x1.y)+" m"),re.push(Bs(E.x2.x)+" "+Bs(E.x2.y)+" l"),re.push(Bs(E.x4.x)+" "+Bs(E.x4.y)+" m"),re.push(Bs(E.x3.x)+" "+Bs(E.x3.y)+" l"),re.push("s"),re.push("Q"),z.stream=re.join(`
`),z},OffPushDown:function(y){var z=Rd(y);z.scope=y.scope;var E=[];return E.push("0.749023 g"),E.push("0 0 "+Bs(Qo.internal.getWidth(y))+" "+Bs(Qo.internal.getHeight(y))+" re"),E.push("f"),z.stream=E.join(`
`),z}}},createDefaultAppearanceStream:function(y){var z=y.scope.internal.getFont(y.fontName,y.fontStyle).id,E=y.scope.__private__.encodeColorString(y.color);return"/"+z+" "+y.fontSize+" Tf "+E}};Qo.internal={Bezier_C:.551915024494,calculateCross:function(y){var z=Qo.internal.getWidth(y),E=Qo.internal.getHeight(y),re=Math.min(z,E);return{x1:{x:(z-re)/2,y:(E-re)/2+re},x2:{x:(z-re)/2+re,y:(E-re)/2},x3:{x:(z-re)/2,y:(E-re)/2},x4:{x:(z-re)/2+re,y:(E-re)/2+re}}}},Qo.internal.getWidth=function(y){var z=0;return(0,x.Z)(y)==="object"&&(z=nm(y.Rect[2])),z},Qo.internal.getHeight=function(y){var z=0;return(0,x.Z)(y)==="object"&&(z=nm(y.Rect[3])),z};var DA=Zu.addField=function(y){if(En(this,y),!(y instanceof go))throw new Error("Invalid argument passed to jsPDF.addField.");var z;return(z=y).scope.internal.acroformPlugin.printedOut&&(z.scope.internal.acroformPlugin.printedOut=!1,z.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),z.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(z),y.page=y.scope.internal.getCurrentPageInfo().pageNumber,this};Zu.AcroFormChoiceField=Vo,Zu.AcroFormListBox=gs,Zu.AcroFormComboBox=va,Zu.AcroFormEditBox=pa,Zu.AcroFormButton=os,Zu.AcroFormPushButton=Es,Zu.AcroFormRadioButton=Ja,Zu.AcroFormCheckBox=Ys,Zu.AcroFormTextField=Us,Zu.AcroFormPasswordField=as,Zu.AcroFormAppearance=Qo,Zu.AcroForm={ChoiceField:Vo,ListBox:gs,ComboBox:va,EditBox:pa,Button:os,PushButton:Es,RadioButton:Ja,CheckBox:Ys,TextField:Us,PasswordField:as,Appearance:Qo},Na.AcroForm={ChoiceField:Vo,ListBox:gs,ComboBox:va,EditBox:pa,Button:os,PushButton:Es,RadioButton:Ja,CheckBox:Ys,TextField:Us,PasswordField:as,Appearance:Qo};var QA=Na.AcroForm;function zl(y){return y.reduce(function(z,E,re){return z[E]=re,z},{})}(function(y){var z="addImage_";y.__addimage__={};var E="UNKNOWN",re={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},ce=y.__addimage__.getImageFileTypeByImageData=function(cn,kn){var fr,sr,fi,wi,Fi,ei=E;if((kn=kn||E)==="RGBA"||cn.data!==void 0&&cn.data instanceof Uint8ClampedArray&&"height"in cn&&"width"in cn)return"RGBA";if(Ui(cn))for(Fi in re)for(fi=re[Fi],fr=0;fr<fi.length;fr+=1){for(wi=!0,sr=0;sr<fi[fr].length;sr+=1)if(fi[fr][sr]!==void 0&&fi[fr][sr]!==cn[sr]){wi=!1;break}if(wi===!0){ei=Fi;break}}else for(Fi in re)for(fi=re[Fi],fr=0;fr<fi.length;fr+=1){for(wi=!0,sr=0;sr<fi[fr].length;sr+=1)if(fi[fr][sr]!==void 0&&fi[fr][sr]!==cn.charCodeAt(sr)){wi=!1;break}if(wi===!0){ei=Fi;break}}return ei===E&&kn!==E&&(ei=kn),ei},he=function cn(kn){for(var fr=this.internal.write,sr=this.internal.putStream,fi=(0,this.internal.getFilters)();fi.indexOf("FlateEncode")!==-1;)fi.splice(fi.indexOf("FlateEncode"),1);kn.objectId=this.internal.newObject();var wi=[];if(wi.push({key:"Type",value:"/XObject"}),wi.push({key:"Subtype",value:"/Image"}),wi.push({key:"Width",value:kn.width}),wi.push({key:"Height",value:kn.height}),kn.colorSpace===fn.INDEXED?wi.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(kn.palette.length/3-1)+" "+("sMask"in kn&&kn.sMask!==void 0?kn.objectId+2:kn.objectId+1)+" 0 R]"}):(wi.push({key:"ColorSpace",value:"/"+kn.colorSpace}),kn.colorSpace===fn.DEVICE_CMYK&&wi.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),wi.push({key:"BitsPerComponent",value:kn.bitsPerComponent}),"decodeParameters"in kn&&kn.decodeParameters!==void 0&&wi.push({key:"DecodeParms",value:"<<"+kn.decodeParameters+">>"}),"transparency"in kn&&Array.isArray(kn.transparency)&&kn.transparency.length>0){for(var Fi="",ei=0,Ni=kn.transparency.length;ei<Ni;ei++)Fi+=kn.transparency[ei]+" "+kn.transparency[ei]+" ";wi.push({key:"Mask",value:"["+Fi+"]"})}kn.sMask!==void 0&&wi.push({key:"SMask",value:kn.objectId+1+" 0 R"});var ko=kn.filter!==void 0?["/"+kn.filter]:void 0;if(sr({data:kn.data,additionalKeyValues:wi,alreadyAppliedFilters:ko,objectId:kn.objectId}),fr("endobj"),"sMask"in kn&&kn.sMask!==void 0){var io,on=(io=kn.sMaskBitsPerComponent)!==null&&io!==void 0?io:kn.bitsPerComponent,Kn={width:kn.width,height:kn.height,colorSpace:"DeviceGray",bitsPerComponent:on,data:kn.sMask};"filter"in kn&&(Kn.decodeParameters="/Predictor ".concat(kn.predictor," /Colors 1 /BitsPerComponent ").concat(on," /Columns ").concat(kn.width),Kn.filter=kn.filter),cn.call(this,Kn)}if(kn.colorSpace===fn.INDEXED){var qn=this.internal.newObject();sr({data:Fr(new Uint8Array(kn.palette)),objectId:qn}),fr("endobj")}},Ze=function(){var cn=this.internal.collections[z+"images"];for(var kn in cn)he.call(this,cn[kn])},Ue=function(){var cn,kn=this.internal.collections[z+"images"],fr=this.internal.write;for(var sr in kn)fr("/I"+(cn=kn[sr]).index,cn.objectId,"0","R")},Xe=function(){this.internal.collections[z+"images"]||(this.internal.collections[z+"images"]={},this.internal.events.subscribe("putResources",Ze),this.internal.events.subscribe("putXobjectDict",Ue))},$e=function(){var cn=this.internal.collections[z+"images"];return Xe.call(this),cn},gt=function(){return Object.keys(this.internal.collections[z+"images"]).length},Ut=function(cn){return typeof y["process"+cn.toUpperCase()]=="function"},qt=function(cn){return(0,x.Z)(cn)==="object"&&cn.nodeType===1},ft=function(cn,kn){if(cn.nodeName==="IMG"&&cn.hasAttribute("src")){var fr=""+cn.getAttribute("src");if(fr.indexOf("data:image/")===0)return bp(unescape(fr).split("base64,").pop());var sr=y.loadFile(fr,!0);if(sr!==void 0)return sr}if(cn.nodeName==="CANVAS"){if(cn.width===0||cn.height===0)throw new Error("Given canvas must have data. Canvas width: "+cn.width+", height: "+cn.height);var fi;switch(kn){case"PNG":fi="image/png";break;case"WEBP":fi="image/webp";break;default:fi="image/jpeg"}return bp(cn.toDataURL(fi,1).split("base64,").pop())}},Dn=function(cn){var kn=this.internal.collections[z+"images"];if(kn){for(var fr in kn)if(cn===kn[fr].alias)return kn[fr]}},Bn=function(cn,kn,fr){return cn||kn||(cn=-96,kn=-96),cn<0&&(cn=-1*fr.width*72/cn/this.internal.scaleFactor),kn<0&&(kn=-1*fr.height*72/kn/this.internal.scaleFactor),cn===0&&(cn=kn*fr.width/fr.height),kn===0&&(kn=cn*fr.height/fr.width),[cn,kn]},Tn=function(cn,kn,fr,sr,fi,wi){var Fi=Bn.call(this,fr,sr,fi),ei=this.internal.getCoordinateString,Ni=this.internal.getVerticalCoordinateString,ko=$e.call(this);if(fr=Fi[0],sr=Fi[1],ko[fi.index]=fi,wi){wi*=Math.PI/180;var io=Math.cos(wi),on=Math.sin(wi),Kn=function(vr){return vr.toFixed(4)},qn=[Kn(io),Kn(on),Kn(-1*on),Kn(io),0,0,"cm"]}this.internal.write("q"),wi?(this.internal.write([1,"0","0",1,ei(cn),Ni(kn+sr),"cm"].join(" ")),this.internal.write(qn.join(" ")),this.internal.write([ei(fr),"0","0",ei(sr),"0","0","cm"].join(" "))):this.internal.write([ei(fr),"0","0",ei(sr),ei(cn),Ni(kn+sr),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+fi.index+" Do"),this.internal.write("Q")},fn=y.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};y.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var hr=y.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},ir=y.__addimage__.sHashCode=function(cn){var kn,fr,sr=0;if(typeof cn=="string")for(fr=cn.length,kn=0;kn<fr;kn++)sr=(sr<<5)-sr+cn.charCodeAt(kn),sr|=0;else if(Ui(cn))for(fr=cn.byteLength/2,kn=0;kn<fr;kn++)sr=(sr<<5)-sr+cn[kn],sr|=0;return sr},Wn=y.__addimage__.validateStringAsBase64=function(cn){(cn=cn||"").toString().trim();var kn=!0;return cn.length===0&&(kn=!1),cn.length%4!=0&&(kn=!1),/^[A-Za-z0-9+/]+$/.test(cn.substr(0,cn.length-2))===!1&&(kn=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(cn.substr(-2))===!1&&(kn=!1),kn},oi=y.__addimage__.extractImageFromDataUrl=function(cn){if(cn==null||!(cn=cn.trim()).startsWith("data:"))return null;var kn=cn.indexOf(",");return kn<0?null:cn.substring(0,kn).trim().endsWith("base64")?cn.substring(kn+1):null};y.__addimage__.isArrayBuffer=function(cn){return cn instanceof ArrayBuffer};var Ui=y.__addimage__.isArrayBufferView=function(cn){return cn instanceof Int8Array||cn instanceof Uint8Array||cn instanceof Uint8ClampedArray||cn instanceof Int16Array||cn instanceof Uint16Array||cn instanceof Int32Array||cn instanceof Uint32Array||cn instanceof Float32Array||cn instanceof Float64Array},Ei=y.__addimage__.binaryStringToUint8Array=function(cn){for(var kn=cn.length,fr=new Uint8Array(kn),sr=0;sr<kn;sr++)fr[sr]=cn.charCodeAt(sr);return fr},Fr=y.__addimage__.arrayBufferToBinaryString=function(cn){for(var kn="",fr=Ui(cn)?cn:new Uint8Array(cn),sr=0;sr<fr.length;sr+=8192)kn+=String.fromCharCode.apply(null,fr.subarray(sr,sr+8192));return kn};y.addImage=function(){var cn,kn,fr,sr,fi,wi,Fi,ei,Ni;if(typeof arguments[1]=="number"?(kn=E,fr=arguments[1],sr=arguments[2],fi=arguments[3],wi=arguments[4],Fi=arguments[5],ei=arguments[6],Ni=arguments[7]):(kn=arguments[1],fr=arguments[2],sr=arguments[3],fi=arguments[4],wi=arguments[5],Fi=arguments[6],ei=arguments[7],Ni=arguments[8]),(0,x.Z)(cn=arguments[0])==="object"&&!qt(cn)&&"imageData"in cn){var ko=cn;cn=ko.imageData,kn=ko.format||kn||E,fr=ko.x||fr||0,sr=ko.y||sr||0,fi=ko.w||ko.width||fi,wi=ko.h||ko.height||wi,Fi=ko.alias||Fi,ei=ko.compression||ei,Ni=ko.rotation||ko.angle||Ni}var io=this.internal.getFilters();if(ei===void 0&&io.indexOf("FlateEncode")!==-1&&(ei="SLOW"),isNaN(fr)||isNaN(sr))throw new Error("Invalid coordinates passed to jsPDF.addImage");Xe.call(this);var on=Gn.call(this,cn,kn,Fi,ei);return Tn.call(this,fr,sr,fi,wi,on,Ni),this};var Gn=function(cn,kn,fr,sr){var fi,wi,Fi;if(typeof cn=="string"&&ce(cn)===E){cn=unescape(cn);var ei=Vr(cn,!1);(ei!==""||(ei=y.loadFile(cn,!0))!==void 0)&&(cn=ei)}if(qt(cn)&&(cn=ft(cn,kn)),kn=ce(cn,kn),!Ut(kn))throw new Error("addImage does not support files of type '"+kn+"', please ensure that a plugin for '"+kn+"' support is added.");if(((Fi=fr)==null||Fi.length===0)&&(fr=function(Ni){return typeof Ni=="string"||Ui(Ni)?ir(Ni):Ui(Ni.data)?ir(Ni.data):null}(cn)),(fi=Dn.call(this,fr))||(cn instanceof Uint8Array||kn==="RGBA"||(wi=cn,cn=Ei(cn)),fi=this["process"+kn.toUpperCase()](cn,gt.call(this),fr,function(Ni){return Ni&&typeof Ni=="string"&&(Ni=Ni.toUpperCase()),Ni in y.image_compression?Ni:hr.NONE}(sr),wi)),!fi)throw new Error("An unknown error occurred whilst processing the image.");return fi},Vr=y.__addimage__.convertBase64ToBinaryString=function(cn,kn){kn=typeof kn!="boolean"||kn;var fr,sr="";if(typeof cn=="string"){var fi;fr=(fi=oi(cn))!==null&&fi!==void 0?fi:cn;try{sr=bp(fr)}catch(wi){if(kn)throw Wn(fr)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+wi.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return sr};y.getImageProperties=function(cn){var kn,fr,sr="";if(qt(cn)&&(cn=ft(cn)),typeof cn=="string"&&ce(cn)===E&&((sr=Vr(cn,!1))===""&&(sr=y.loadFile(cn)||""),cn=sr),fr=ce(cn),!Ut(fr))throw new Error("addImage does not support files of type '"+fr+"', please ensure that a plugin for '"+fr+"' support is added.");if(cn instanceof Uint8Array||(cn=Ei(cn)),!(kn=this["process"+fr.toUpperCase()](cn)))throw new Error("An unknown error occurred whilst processing the image");return kn.fileType=fr,kn}})(Na.API),function(y){var z=function(E){if(E!==void 0&&E!="")return!0};Na.API.events.push(["addPage",function(E){this.internal.getPageInfo(E.pageNumber).pageContext.annotations=[]}]),y.events.push(["putPage",function(E){for(var re,ce,he,Ze=this.internal.getCoordinateString,Ue=this.internal.getVerticalCoordinateString,Xe=this.internal.getPageInfoByObjId(E.objId),$e=E.pageContext.annotations,gt=!1,Ut=0;Ut<$e.length&&!gt;Ut++)switch((re=$e[Ut]).type){case"link":(z(re.options.url)||z(re.options.pageNumber))&&(gt=!0);break;case"reference":case"text":case"freetext":gt=!0}if(gt!=0){this.internal.write("/Annots [");for(var qt=0;qt<$e.length;qt++){re=$e[qt];var ft=this.internal.pdfEscape,Dn=this.internal.getEncryptor(E.objId);switch(re.type){case"reference":this.internal.write(" "+re.object.objId+" 0 R ");break;case"text":var Bn=this.internal.newAdditionalObject(),Tn=this.internal.newAdditionalObject(),fn=this.internal.getEncryptor(Bn.objId),hr=re.title||"Note";he="<</Type /Annot /Subtype /Text "+(ce="/Rect ["+Ze(re.bounds.x)+" "+Ue(re.bounds.y+re.bounds.h)+" "+Ze(re.bounds.x+re.bounds.w)+" "+Ue(re.bounds.y)+"] ")+"/Contents ("+ft(fn(re.contents))+")",he+=" /Popup "+Tn.objId+" 0 R",he+=" /P "+Xe.objId+" 0 R",he+=" /T ("+ft(fn(hr))+") >>",Bn.content=he;var ir=Bn.objId+" 0 R";he="<</Type /Annot /Subtype /Popup "+(ce="/Rect ["+Ze(re.bounds.x+30)+" "+Ue(re.bounds.y+re.bounds.h)+" "+Ze(re.bounds.x+re.bounds.w+30)+" "+Ue(re.bounds.y)+"] ")+" /Parent "+ir,re.open&&(he+=" /Open true"),he+=" >>",Tn.content=he,this.internal.write(Bn.objId,"0 R",Tn.objId,"0 R");break;case"freetext":ce="/Rect ["+Ze(re.bounds.x)+" "+Ue(re.bounds.y)+" "+Ze(re.bounds.x+re.bounds.w)+" "+Ue(re.bounds.y+re.bounds.h)+"] ";var Wn=re.color||"#000000";he="<</Type /Annot /Subtype /FreeText "+ce+"/Contents ("+ft(Dn(re.contents))+")",he+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Wn+")",he+=" /Border [0 0 0]",he+=" >>",this.internal.write(he);break;case"link":if(re.options.name){var oi=this.annotations._nameMap[re.options.name];re.options.pageNumber=oi.page,re.options.top=oi.y}else re.options.top||(re.options.top=0);if(ce="/Rect ["+re.finalBounds.x+" "+re.finalBounds.y+" "+re.finalBounds.w+" "+re.finalBounds.h+"] ",he="",re.options.url)he="<</Type /Annot /Subtype /Link "+ce+"/Border [0 0 0] /A <</S /URI /URI ("+ft(Dn(re.options.url))+") >>";else if(re.options.pageNumber)switch(he="<</Type /Annot /Subtype /Link "+ce+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(re.options.pageNumber).objId+" 0 R",re.options.magFactor=re.options.magFactor||"XYZ",re.options.magFactor){case"Fit":he+=" /Fit]";break;case"FitH":he+=" /FitH "+re.options.top+"]";break;case"FitV":re.options.left=re.options.left||0,he+=" /FitV "+re.options.left+"]";break;default:var Ui=Ue(re.options.top);re.options.left=re.options.left||0,re.options.zoom===void 0&&(re.options.zoom=0),he+=" /XYZ "+re.options.left+" "+Ui+" "+re.options.zoom+"]"}he!=""&&(he+=" >>",this.internal.write(he))}}this.internal.write("]")}}]),y.createAnnotation=function(E){var re=this.internal.getCurrentPageInfo();switch(E.type){case"link":this.link(E.bounds.x,E.bounds.y,E.bounds.w,E.bounds.h,E);break;case"text":case"freetext":re.pageContext.annotations.push(E)}},y.link=function(E,re,ce,he,Ze){var Ue=this.internal.getCurrentPageInfo(),Xe=this.internal.getCoordinateString,$e=this.internal.getVerticalCoordinateString;Ue.pageContext.annotations.push({finalBounds:{x:Xe(E),y:$e(re),w:Xe(E+ce),h:$e(re+he)},options:Ze,type:"link"})},y.textWithLink=function(E,re,ce,he){var Ze,Ue,Xe=this.getTextWidth(E),$e=this.internal.getLineHeight()/this.internal.scaleFactor;if(he.maxWidth!==void 0){Ue=he.maxWidth;var gt=this.splitTextToSize(E,Ue).length;Ze=Math.ceil($e*gt)}else Ue=Xe,Ze=$e;return this.text(E,re,ce,he),ce+=.2*$e,he.align==="center"&&(re-=Xe/2),he.align==="right"&&(re-=Xe),this.link(re,ce-$e,Ue,Ze,he),Xe},y.getTextWidth=function(E){var re=this.internal.getFontSize();return this.getStringUnitWidth(E)*re/this.internal.scaleFactor}}(Na.API),function(y){var z={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},E={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},re={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},ce=[1570,1571,1573,1575];y.__arabicParser__={};var he=y.__arabicParser__.isInArabicSubstitutionA=function(Bn){return z[Bn.charCodeAt(0)]!==void 0},Ze=y.__arabicParser__.isArabicLetter=function(Bn){return typeof Bn=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Bn)},Ue=y.__arabicParser__.isArabicEndLetter=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length<=2},Xe=y.__arabicParser__.isArabicAlfLetter=function(Bn){return Ze(Bn)&&ce.indexOf(Bn.charCodeAt(0))>=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=1};var $e=y.__arabicParser__.arabicLetterHasFinalForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=3};var gt=y.__arabicParser__.arabicLetterHasMedialForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length==4},Ut=y.__arabicParser__.resolveLigatures=function(Bn){var Tn=0,fn=E,hr="",ir=0;for(Tn=0;Tn<Bn.length;Tn+=1)fn[Bn.charCodeAt(Tn)]!==void 0?(ir++,typeof(fn=fn[Bn.charCodeAt(Tn)])=="number"&&(hr+=String.fromCharCode(fn),fn=E,ir=0),Tn===Bn.length-1&&(fn=E,hr+=Bn.charAt(Tn-(ir-1)),Tn-=ir-1,ir=0)):(fn=E,hr+=Bn.charAt(Tn-ir),Tn-=ir,ir=0);return hr};y.__arabicParser__.isArabicDiacritic=function(Bn){return Bn!==void 0&&re[Bn.charCodeAt(0)]!==void 0};var qt=y.__arabicParser__.getCorrectForm=function(Bn,Tn,fn){return Ze(Bn)?he(Bn)===!1?-1:!$e(Bn)||!Ze(Tn)&&!Ze(fn)||!Ze(fn)&&Ue(Tn)||Ue(Bn)&&!Ze(Tn)||Ue(Bn)&&Xe(Tn)||Ue(Bn)&&Ue(Tn)?0:gt(Bn)&&Ze(Tn)&&!Ue(Tn)&&Ze(fn)&&$e(fn)?3:Ue(Bn)||!Ze(fn)?1:2:-1},ft=function(Bn){var Tn=0,fn=0,hr=0,ir="",Wn="",oi="",Ui=(Bn=Bn||"").split("\\s+"),Ei=[];for(Tn=0;Tn<Ui.length;Tn+=1){for(Ei.push(""),fn=0;fn<Ui[Tn].length;fn+=1)ir=Ui[Tn][fn],Wn=Ui[Tn][fn-1],oi=Ui[Tn][fn+1],Ze(ir)?(hr=qt(ir,Wn,oi),Ei[Tn]+=hr!==-1?String.fromCharCode(z[ir.charCodeAt(0)][hr]):ir):Ei[Tn]+=ir;Ei[Tn]=Ut(Ei[Tn])}return Ei.join(" ")},Dn=y.__arabicParser__.processArabic=y.processArabic=function(){var Bn,Tn=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,fn=[];if(Array.isArray(Tn)){var hr=0;for(fn=[],hr=0;hr<Tn.length;hr+=1)Array.isArray(Tn[hr])?fn.push([ft(Tn[hr][0]),Tn[hr][1],Tn[hr][2]]):fn.push([ft(Tn[hr])]);Bn=fn}else Bn=ft(Tn);return typeof arguments[0]=="string"?Bn:(arguments[0].text=Bn,arguments[0])};y.events.push(["preProcessText",Dn])}(Na.API),Na.API.autoPrint=function(y){var z;return(y=y||{}).variant=y.variant||"non-conform",y.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){z=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+z+" 0 R")})),this},function(y){var z=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(Ue){E=Ue}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Ue){re=isNaN(Ue)||Number.isInteger(Ue)===!1||Ue<0?150:Ue,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var ce=300;Object.defineProperty(this,"height",{get:function(){return ce},set:function(Ue){ce=isNaN(Ue)||Number.isInteger(Ue)===!1||Ue<0?300:Ue,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ce+1)}});var he=[];Object.defineProperty(this,"childNodes",{get:function(){return he},set:function(Ue){he=Ue}});var Ze={};Object.defineProperty(this,"style",{get:function(){return Ze},set:function(Ue){Ze=Ue}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(E,re){var ce;if((E=E||"2d")!=="2d")return null;for(ce in re)this.pdf.context2d.hasOwnProperty(ce)&&(this.pdf.context2d[ce]=re[ce]);return this.pdf.context2d._canvas=this,this.pdf.context2d},z.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new z,this.canvas.pdf=this}])}(Na.API),function(y){var z={left:0,top:0,bottom:0,right:0},E=!1,re=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},z),this.internal.__cell__.margins.width=this.getPageWidth(),ce.call(this))},ce=function(){this.internal.__cell__.lastCell=new he,this.internal.__cell__.pages=1},he=function(){var Xe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Xe},set:function(Bn){Xe=Bn}});var $e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return $e},set:function(Bn){$e=Bn}});var gt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return gt},set:function(Bn){gt=Bn}});var Ut=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ut},set:function(Bn){Ut=Bn}});var qt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return qt},set:function(Bn){qt=Bn}});var ft=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ft},set:function(Bn){ft=Bn}});var Dn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Dn},set:function(Bn){Dn=Bn}}),this};he.prototype.clone=function(){return new he(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},he.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(Xe){return re.call(this),this.internal.__cell__.headerFunction=typeof Xe=="function"?Xe:void 0,this},y.getTextDimensions=function(Xe,$e){re.call(this);var gt=($e=$e||{}).fontSize||this.getFontSize(),Ut=$e.font||this.getFont(),qt=$e.scaleFactor||this.internal.scaleFactor,ft=0,Dn=0,Bn=0,Tn=this;if(!Array.isArray(Xe)&&typeof Xe!="string"){if(typeof Xe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Xe=String(Xe)}var fn=$e.maxWidth;fn>0?typeof Xe=="string"?Xe=this.splitTextToSize(Xe,fn):Object.prototype.toString.call(Xe)==="[object Array]"&&(Xe=Xe.reduce(function(ir,Wn){return ir.concat(Tn.splitTextToSize(Wn,fn))},[])):Xe=Array.isArray(Xe)?Xe:[Xe];for(var hr=0;hr<Xe.length;hr++)ft<(Bn=this.getStringUnitWidth(Xe[hr],{font:Ut})*gt)&&(ft=Bn);return ft!==0&&(Dn=Xe.length),{w:ft/=qt,h:Math.max((Dn*gt*this.getLineHeightFactor()-gt*(this.getLineHeightFactor()-1))/qt,0)}},y.cellAddPage=function(){re.call(this),this.addPage();var Xe=this.internal.__cell__.margins||z;return this.internal.__cell__.lastCell=new he(Xe.left,Xe.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Ze=y.cell=function(){var Xe;Xe=arguments[0]instanceof he?arguments[0]:new he(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),re.call(this);var $e=this.internal.__cell__.lastCell,gt=this.internal.__cell__.padding,Ut=this.internal.__cell__.margins||z,qt=this.internal.__cell__.tableHeaderRow,ft=this.internal.__cell__.printHeaders;return $e.lineNumber!==void 0&&($e.lineNumber===Xe.lineNumber?(Xe.x=($e.x||0)+($e.width||0),Xe.y=$e.y||0):$e.y+$e.height+Xe.height+Ut.bottom>this.getPageHeight()?(this.cellAddPage(),Xe.y=Ut.top,ft&&qt&&(this.printHeaderRow(Xe.lineNumber,!0),Xe.y+=qt[0].height)):Xe.y=$e.y+$e.height||Xe.y),Xe.text[0]!==void 0&&(this.rect(Xe.x,Xe.y,Xe.width,Xe.height,E===!0?"FD":void 0),Xe.align==="right"?this.text(Xe.text,Xe.x+Xe.width-gt,Xe.y+gt,{align:"right",baseline:"top"}):Xe.align==="center"?this.text(Xe.text,Xe.x+Xe.width/2,Xe.y+gt,{align:"center",baseline:"top",maxWidth:Xe.width-gt-gt}):this.text(Xe.text,Xe.x+gt,Xe.y+gt,{align:"left",baseline:"top",maxWidth:Xe.width-gt-gt})),this.internal.__cell__.lastCell=Xe,this};y.table=function(Xe,$e,gt,Ut,qt){if(re.call(this),!gt)throw new Error("No data for PDF table.");var ft,Dn,Bn,Tn,fn=[],hr=[],ir=[],Wn={},oi={},Ui=[],Ei=[],Fr=(qt=qt||{}).autoSize||!1,Gn=qt.printHeaders!==!1,Vr=qt.css&&qt.css["font-size"]!==void 0?16*qt.css["font-size"]:qt.fontSize||12,cn=qt.margins||Object.assign({width:this.getPageWidth()},z),kn=typeof qt.padding=="number"?qt.padding:3,fr=qt.headerBackgroundColor||"#c8c8c8",sr=qt.headerTextColor||"#000";if(ce.call(this),this.internal.__cell__.printHeaders=Gn,this.internal.__cell__.margins=cn,this.internal.__cell__.table_font_size=Vr,this.internal.__cell__.padding=kn,this.internal.__cell__.headerBackgroundColor=fr,this.internal.__cell__.headerTextColor=sr,this.setFontSize(Vr),Ut==null)hr=fn=Object.keys(gt[0]),ir=fn.map(function(){return"left"});else if(Array.isArray(Ut)&&(0,x.Z)(Ut[0])==="object")for(fn=Ut.map(function(ko){return ko.name}),hr=Ut.map(function(ko){return ko.prompt||ko.name||""}),ir=Ut.map(function(ko){return ko.align||"left"}),ft=0;ft<Ut.length;ft+=1)oi[Ut[ft].name]=.7499990551181103*Ut[ft].width;else Array.isArray(Ut)&&typeof Ut[0]=="string"&&(hr=fn=Ut,ir=fn.map(function(){return"left"}));if(Fr||Array.isArray(Ut)&&typeof Ut[0]=="string")for(ft=0;ft<fn.length;ft+=1){for(Wn[Tn=fn[ft]]=gt.map(function(ko){return ko[Tn]}),this.setFont(void 0,"bold"),Ui.push(this.getTextDimensions(hr[ft],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),Dn=Wn[Tn],this.setFont(void 0,"normal"),Bn=0;Bn<Dn.length;Bn+=1)Ui.push(this.getTextDimensions(Dn[Bn],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);oi[Tn]=Math.max.apply(null,Ui)+kn+kn,Ui=[]}if(Gn){var fi={};for(ft=0;ft<fn.length;ft+=1)fi[fn[ft]]={},fi[fn[ft]].text=hr[ft],fi[fn[ft]].align=ir[ft];var wi=Ue.call(this,fi,oi);Ei=fn.map(function(ko){return new he(Xe,$e,oi[ko],wi,fi[ko].text,void 0,fi[ko].align)}),this.setTableHeaderRow(Ei),this.printHeaderRow(1,!1)}var Fi=Ut.reduce(function(ko,io){return ko[io.name]=io.align,ko},{});for(ft=0;ft<gt.length;ft+=1){"rowStart"in qt&&qt.rowStart instanceof Function&&qt.rowStart({row:ft,data:gt[ft]},this);var ei=Ue.call(this,gt[ft],oi);for(Bn=0;Bn<fn.length;Bn+=1){var Ni=gt[ft][fn[Bn]];"cellStart"in qt&&qt.cellStart instanceof Function&&qt.cellStart({row:ft,col:Bn,data:Ni},this),Ze.call(this,new he(Xe,$e,oi[fn[Bn]],ei,Ni,ft+2,Fi[fn[Bn]]))}}return this.internal.__cell__.table_x=Xe,this.internal.__cell__.table_y=$e,this};var Ue=function(Xe,$e){var gt=this.internal.__cell__.padding,Ut=this.internal.__cell__.table_font_size,qt=this.internal.scaleFactor;return Object.keys(Xe).map(function(ft){var Dn=Xe[ft];return this.splitTextToSize(Dn.hasOwnProperty("text")?Dn.text:Dn,$e[ft]-gt-gt)},this).map(function(ft){return this.getLineHeightFactor()*ft.length*Ut/qt+gt+gt},this).reduce(function(ft,Dn){return Math.max(ft,Dn)},0)};y.setTableHeaderRow=function(Xe){re.call(this),this.internal.__cell__.tableHeaderRow=Xe},y.printHeaderRow=function(Xe,$e){if(re.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var gt;if(E=!0,typeof this.internal.__cell__.headerFunction=="function"){var Ut=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new he(Ut[0],Ut[1],Ut[2],Ut[3],void 0,-1)}this.setFont(void 0,"bold");for(var qt=[],ft=0;ft<this.internal.__cell__.tableHeaderRow.length;ft+=1){gt=this.internal.__cell__.tableHeaderRow[ft].clone(),$e&&(gt.y=this.internal.__cell__.margins.top||0,qt.push(gt)),gt.lineNumber=Xe;var Dn=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Ze.call(this,gt),this.setTextColor(Dn)}qt.length>0&&this.setTableHeaderRow(qt),this.setFont(void 0,"normal"),E=!1}}(Na.API);var Nc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},sf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],nA=zl(sf),lA=[100,200,300,400,500,600,700,800,900],hh=zl(lA);function JA(y){var z=y.family.replace(/"|'/g,"").toLowerCase(),E=function(he){return Nc[he=he||"normal"]?he:"normal"}(y.style),re=function(he){return he?typeof he=="number"?he>=100&&he<=900&&he%100==0?he:400:/^\d00$/.test(he)?parseInt(he):he==="bold"?700:400:400}(y.weight),ce=function(he){return typeof nA[he=he||"normal"]=="number"?he:"normal"}(y.stretch);return{family:z,style:E,weight:re,stretch:ce,src:y.src||[],ref:y.ref||{name:z,style:[ce,E,re].join(" ")}}}function lf(y,z,E,re){var ce;for(ce=E;ce>=0&&ce<z.length;ce+=re)if(y[z[ce]])return y[z[ce]];for(ce=E;ce>=0&&ce<z.length;ce-=re)if(y[z[ce]])return y[z[ce]]}var ph={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},_f={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function _d(y){return[y.stretch,y.style,y.weight,y.family].join(" ")}function Qf(y){return y.trimLeft()}function uf(y,z){for(var E=0;E<y.length;){if(y.charAt(E)===z)return[y.substring(0,E),y.substring(E+1)];E+=1}return null}function Zh(y){var z=y.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return z===null?null:[z[0],y.substring(z[0].length)]}var jf,I0,L0,ng,rm,D0,N0,O0,Zm=["times"];function P0(y,z,E,re,ce){var he=4,Ze=k0;switch(ce){case Na.API.image_compression.FAST:he=1,Ze=T0;break;case Na.API.image_compression.MEDIUM:he=6,Ze=M0;break;case Na.API.image_compression.SLOW:he=9,Ze=U0}y=function(Xe,$e,gt,Ut){for(var qt,ft=Xe.length/$e,Dn=new Uint8Array(Xe.length+ft),Bn=[Pv,T0,k0,M0,U0],Tn=0;Tn<ft;Tn+=1){var fn=Tn*$e,hr=Xe.subarray(fn,fn+$e);if(Ut)Dn.set(Ut(hr,gt,qt),fn+Tn);else{for(var ir=Bn.length,Wn=[],oi=0;oi<ir;oi+=1)Wn[oi]=Bn[oi](hr,gt,qt);var Ui=kv(Wn.concat());Dn.set(Wn[Ui],fn+Tn)}qt=hr}return Dn}(y,z,Math.ceil(E*re/8),Ze);var Ue=Ai(y,{level:he});return Na.API.__addimage__.arrayBufferToBinaryString(Ue)}function Pv(y){var z=Array.apply([],y);return z.unshift(0),z}function T0(y,z){var E=y.length,re=[];re[0]=1;for(var ce=0;ce<E;ce+=1){var he=y[ce-z]||0;re[ce+1]=y[ce]-he+256&255}return re}function k0(y,z,E){var re=y.length,ce=[];ce[0]=2;for(var he=0;he<re;he+=1){var Ze=E&&E[he]||0;ce[he+1]=y[he]-Ze+256&255}return ce}function M0(y,z,E){var re=y.length,ce=[];ce[0]=3;for(var he=0;he<re;he+=1){var Ze=y[he-z]||0,Ue=E&&E[he]||0;ce[he+1]=y[he]+256-(Ze+Ue>>>1)&255}return ce}function U0(y,z,E){var re=y.length,ce=[];ce[0]=4;for(var he=0;he<re;he+=1){var Ze=Tv(y[he-z]||0,E&&E[he]||0,E&&E[he-z]||0);ce[he+1]=y[he]-Ze+256&255}return ce}function Tv(y,z,E){if(y===z&&z===E)return y;var re=Math.abs(z-E),ce=Math.abs(y-E),he=Math.abs(y+z-E-E);return re<=ce&&re<=he?y:ce<=he?z:E}function kv(y){var z=y.map(function(E){return E.reduce(function(re,ce){return re+Math.abs(ce)},0)});return z.indexOf(Math.min.apply(null,z))}function Wm(y,z,E){var re=z*E,ce=Math.floor(re/8),he=16-(re-8*ce+E),Ze=(1<<E)-1;return _0(y,ce)>>he&Ze}function R0(y,z,E,re){var ce=E*re,he=Math.floor(ce/8),Ze=16-(ce-8*he+re),Ue=(1<<re)-1,Xe=(z&Ue)<<Ze;(function($e,gt,Ut){if(gt+1<$e.byteLength)$e.setUint16(gt,Ut,!1);else{var qt=Ut>>8&255;$e.setUint8(gt,qt)}})(y,he,_0(y,he)&~(Ue<<Ze)&65535|Xe)}function _0(y,z){return z+1<y.byteLength?y.getUint16(z,!1):y.getUint8(z)<<8}function Mv(y){var z=0;if(y[z++]!==71||y[z++]!==73||y[z++]!==70||y[z++]!==56||(y[z++]+1&253)!=56||y[z++]!==97)throw new Error("Invalid GIF 87a/89a header.");var E=y[z++]|y[z++]<<8,re=y[z++]|y[z++]<<8,ce=y[z++],he=ce>>7,Ze=1<<1+(7&ce);y[z++],y[z++];var Ue=null,Xe=null;he&&(Ue=z,Xe=Ze,z+=3*Ze);var $e=!0,gt=[],Ut=0,qt=null,ft=0,Dn=null;for(this.width=E,this.height=re;$e&&z<y.length;)switch(y[z++]){case 33:switch(y[z++]){case 255:if(y[z]!==11||y[z+1]==78&&y[z+2]==69&&y[z+3]==84&&y[z+4]==83&&y[z+5]==67&&y[z+6]==65&&y[z+7]==80&&y[z+8]==69&&y[z+9]==50&&y[z+10]==46&&y[z+11]==48&&y[z+12]==3&&y[z+13]==1&&y[z+16]==0)z+=14,Dn=y[z++]|y[z++]<<8,z++;else for(z+=12;;){if(!((cn=y[z++])>=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}break;case 249:if(y[z++]!==4||y[z+4]!==0)throw new Error("Invalid graphics extension block.");var Bn=y[z++];Ut=y[z++]|y[z++]<<8,qt=y[z++],1&Bn||(qt=null),ft=Bn>>2&7,z++;break;case 254:for(;;){if(!((cn=y[z++])>=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}break;default:throw new Error("Unknown graphic control label: 0x"+y[z-1].toString(16))}break;case 44:var Tn=y[z++]|y[z++]<<8,fn=y[z++]|y[z++]<<8,hr=y[z++]|y[z++]<<8,ir=y[z++]|y[z++]<<8,Wn=y[z++],oi=Wn>>6&1,Ui=1<<1+(7&Wn),Ei=Ue,Fr=Xe,Gn=!1;Wn>>7&&(Gn=!0,Ei=z,Fr=Ui,z+=3*Ui);var Vr=z;for(z++;;){var cn;if(!((cn=y[z++])>=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}gt.push({x:Tn,y:fn,width:hr,height:ir,has_local_palette:Gn,palette_offset:Ei,palette_size:Fr,data_offset:Vr,data_length:z-Vr,transparent_index:qt,interlaced:!!oi,delay:Ut,disposal:ft});break;case 59:$e=!1;break;default:throw new Error("Unknown gif block: 0x"+y[z-1].toString(16))}this.numFrames=function(){return gt.length},this.loopCount=function(){return Dn},this.frameInfo=function(kn){if(kn<0||kn>=gt.length)throw new Error("Frame index out of range.");return gt[kn]},this.decodeAndBlitFrameBGRA=function(kn,fr){var sr=this.frameInfo(kn),fi=sr.width*sr.height,wi=new Uint8Array(fi);Q0(y,sr.data_offset,wi,fi);var Fi=sr.palette_offset,ei=sr.transparent_index;ei===null&&(ei=256);var Ni=sr.width,ko=E-Ni,io=Ni,on=4*(sr.y*E+sr.x),Kn=4*((sr.y+sr.height)*E+sr.x),qn=on,vr=4*ko;sr.interlaced===!0&&(vr+=4*E*7);for(var kr=8,Jr=0,Si=wi.length;Jr<Si;++Jr){var Li=wi[Jr];if(io===0&&(io=Ni,(qn+=vr)>=Kn&&(vr=4*ko+4*E*(kr-1),qn=on+(Ni+ko)*(kr<<1),kr>>=1)),Li===ei)qn+=4;else{var Yi=y[Fi+3*Li],Eo=y[Fi+3*Li+1],ua=y[Fi+3*Li+2];fr[qn++]=ua,fr[qn++]=Eo,fr[qn++]=Yi,fr[qn++]=255}--io}},this.decodeAndBlitFrameRGBA=function(kn,fr){var sr=this.frameInfo(kn),fi=sr.width*sr.height,wi=new Uint8Array(fi);Q0(y,sr.data_offset,wi,fi);var Fi=sr.palette_offset,ei=sr.transparent_index;ei===null&&(ei=256);var Ni=sr.width,ko=E-Ni,io=Ni,on=4*(sr.y*E+sr.x),Kn=4*((sr.y+sr.height)*E+sr.x),qn=on,vr=4*ko;sr.interlaced===!0&&(vr+=4*E*7);for(var kr=8,Jr=0,Si=wi.length;Jr<Si;++Jr){var Li=wi[Jr];if(io===0&&(io=Ni,(qn+=vr)>=Kn&&(vr=4*ko+4*E*(kr-1),qn=on+(Ni+ko)*(kr<<1),kr>>=1)),Li===ei)qn+=4;else{var Yi=y[Fi+3*Li],Eo=y[Fi+3*Li+1],ua=y[Fi+3*Li+2];fr[qn++]=Yi,fr[qn++]=Eo,fr[qn++]=ua,fr[qn++]=255}--io}}}function Q0(y,z,E,re){for(var ce=y[z++],he=1<<ce,Ze=he+1,Ue=Ze+1,Xe=ce+1,$e=(1<<Xe)-1,gt=0,Ut=0,qt=0,ft=y[z++],Dn=new Int32Array(4096),Bn=null;;){for(;gt<16&&ft!==0;)Ut|=y[z++]<<gt,gt+=8,ft===1?ft=y[z++]:--ft;if(gt<Xe)break;var Tn=Ut&$e;if(Ut>>=Xe,gt-=Xe,Tn!==he){if(Tn===Ze)break;for(var fn=Tn<Ue?Tn:Bn,hr=0,ir=fn;ir>he;)ir=Dn[ir]>>8,++hr;var Wn=ir;if(qt+hr+(fn!==Tn?1:0)>re)return void dl.log("Warning, gif stream longer than expected.");E[qt++]=Wn;var oi=qt+=hr;for(fn!==Tn&&(E[qt++]=Wn),ir=fn;hr--;)ir=Dn[ir],E[--oi]=255&ir,ir>>=8;Bn!==null&&Ue<4096&&(Dn[Ue++]=Bn<<8|Wn,Ue>=$e+1&&Xe<12&&(++Xe,$e=$e<<1|1)),Bn=Tn}else Ue=Ze+1,$e=(1<<(Xe=ce+1))-1,Bn=null}return qt!==re&&dl.log("Warning, gif stream shorter than expected."),E}function Vm(y){var z,E,re,ce,he,Ze=Math.floor,Ue=new Array(64),Xe=new Array(64),$e=new Array(64),gt=new Array(64),Ut=new Array(65535),qt=new Array(65535),ft=new Array(64),Dn=new Array(64),Bn=[],Tn=0,fn=7,hr=new Array(64),ir=new Array(64),Wn=new Array(64),oi=new Array(256),Ui=new Array(2048),Ei=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Fr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gn=[0,1,2,3,4,5,6,7,8,9,10,11],Vr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],cn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],kn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],fr=[0,1,2,3,4,5,6,7,8,9,10,11],sr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],fi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function wi(on,Kn){for(var qn=0,vr=0,kr=new Array,Jr=1;Jr<=16;Jr++){for(var Si=1;Si<=on[Jr];Si++)kr[Kn[vr]]=[],kr[Kn[vr]][0]=qn,kr[Kn[vr]][1]=Jr,vr++,qn++;qn*=2}return kr}function Fi(on){for(var Kn=on[0],qn=on[1]-1;qn>=0;)Kn&1<<qn&&(Tn|=1<<fn),qn--,--fn<0&&(Tn==255?(ei(255),ei(0)):ei(Tn),fn=7,Tn=0)}function ei(on){Bn.push(on)}function Ni(on){ei(on>>8&255),ei(255&on)}function ko(on,Kn,qn,vr,kr){for(var Jr,Si=kr[0],Li=kr[240],Yi=function(mo,As){var Sa,ss,ts,Jl,pl,Rs,bl,gl,_a,js,Ka=0;for(_a=0;_a<8;++_a){Sa=mo[Ka],ss=mo[Ka+1],ts=mo[Ka+2],Jl=mo[Ka+3],pl=mo[Ka+4],Rs=mo[Ka+5],bl=mo[Ka+6];var Ec=Sa+(gl=mo[Ka+7]),Il=Sa-gl,qs=ss+bl,el=ss-bl,Wu=ts+Rs,is=ts-Rs,Su=Jl+pl,ms=Jl-pl,_s=Ec+Su,Vu=Ec-Su,rl=qs+Wu,fs=qs-Wu;mo[Ka]=_s+rl,mo[Ka+4]=_s-rl;var ql=.707106781*(fs+Vu);mo[Ka+2]=Vu+ql,mo[Ka+6]=Vu-ql;var Sp=.382683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[Jr]]),Fi(Ut[Jr]),Mn++}return sa!=63&&Fi(Si),qn}function io(on){on=Math.min(Math.max(on,1),100),he!=on&&(function(Kn){for(var qn=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],vr=0;vr<64;vr++){var kr=Ze((qn[vr]*Kn+50)/100);kr=Math.min(Math.max(kr,1),255),Ue[Ei[vr]]=kr}for(var Jr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Si=0;Si<64;Si++){var Li=Ze((Jr[Si]*Kn+50)/100);Li=Math.min(Math.max(Li,1),255),Xe[Ei[Si]]=Li}for(var Yi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Eo=0,ua=0;ua<8;ua++)for(var sa=0;sa<8;sa++)$e[Eo]=1/(Ue[Ei[Eo]]*Yi[ua]*Yi[sa]*8),gt[Eo]=1/(Xe[Ei[Eo]]*Yi[ua]*Yi[sa]*8),Eo++}(on<50?Math.floor(5e3/on):Math.floor(200-2*on)),he=on)}this.encode=function(on,Kn){Kn&&io(Kn),Bn=new Array,Tn=0,fn=7,Ni(65496),Ni(65504),Ni(16),ei(74),ei(70),ei(73),ei(70),ei(0),ei(1),ei(1),ei(0),Ni(1),Ni(1),ei(0),ei(0),function(){Ni(65499),Ni(132),ei(0);for(var ss=0;ss<64;ss++)ei(Ue[ss]);ei(1);for(var ts=0;ts<64;ts++)ei(Xe[ts])}(),function(ss,ts){Ni(65472),Ni(17),ei(8),Ni(ts),Ni(ss),ei(3),ei(1),ei(17),ei(0),ei(2),ei(17),ei(1),ei(3),ei(17),ei(1)}(on.width,on.height),function(){Ni(65476),Ni(418),ei(0);for(var ss=0;ss<16;ss++)ei(Fr[ss+1]);for(var ts=0;ts<=11;ts++)ei(Gn[ts]);ei(16);for(var Jl=0;Jl<16;Jl++)ei(Vr[Jl+1]);for(var pl=0;pl<=161;pl++)ei(cn[pl]);ei(1);for(var Rs=0;Rs<16;Rs++)ei(kn[Rs+1]);for(var bl=0;bl<=11;bl++)ei(fr[bl]);ei(17);for(var gl=0;gl<16;gl++)ei(sr[gl+1]);for(var _a=0;_a<=161;_a++)ei(fi[_a])}(),Ni(65498),Ni(12),ei(3),ei(1),ei(0),ei(2),ei(17),ei(3),ei(17),ei(0),ei(63),ei(0);var qn=0,vr=0,kr=0;Tn=0,fn=7,this.encode.displayName="_encode_";for(var Jr,Si,Li,Yi,Eo,ua,sa,qa,Mn,ca=on.data,$s=on.width,cs=on.height,mo=4*$s,As=0;As<cs;){for(Jr=0;Jr<mo;){for(Eo=mo*As+Jr,sa=-1,qa=0,Mn=0;Mn<64;Mn++)ua=Eo+(qa=Mn>>3)*mo+(sa=4*(7&Mn)),As+qa>=cs&&(ua-=mo*(As+1+qa-cs)),Jr+sa>=mo&&(ua-=Jr+sa-mo+4),Si=ca[ua++],Li=ca[ua++],Yi=ca[ua++],hr[Mn]=(Ui[Si]+Ui[Li+256|0]+Ui[Yi+512|0]>>16)-128,ir[Mn]=(Ui[Si+768|0]+Ui[Li+1024|0]+Ui[Yi+1280|0]>>16)-128,Wn[Mn]=(Ui[Si+1280|0]+Ui[Li+1536|0]+Ui[Yi+1792|0]>>16)-128;qn=ko(hr,$e,qn,z,re),vr=ko(ir,gt,vr,E,ce),kr=ko(Wn,gt,kr,E,ce),Jr+=32}As+=8}if(fn>=0){var Sa=[];Sa[1]=fn+1,Sa[0]=(1<<fn+1)-1,Fi(Sa)}return Ni(65497),new Uint8Array(Bn)},y=y||50,function(){for(var on=String.fromCharCode,Kn=0;Kn<256;Kn++)oi[Kn]=on(Kn)}(),z=wi(Fr,Gn),E=wi(kn,fr),re=wi(Vr,cn),ce=wi(sr,fi),function(){for(var on=1,Kn=2,qn=1;qn<=15;qn++){for(var vr=on;vr<Kn;vr++)qt[32767+vr]=qn,Ut[32767+vr]=[],Ut[32767+vr][1]=qn,Ut[32767+vr][0]=vr;for(var kr=-(Kn-1);kr<=-on;kr++)qt[32767+kr]=qn,Ut[32767+kr]=[],Ut[32767+kr][1]=qn,Ut[32767+kr][0]=Kn-1+kr;on<<=1,Kn<<=1}}(),function(){for(var on=0;on<256;on++)Ui[on]=19595*on,Ui[on+256|0]=38470*on,Ui[on+512|0]=7471*on+32768,Ui[on+768|0]=-11059*on,Ui[on+1024|0]=-21709*on,Ui[on+1280|0]=32768*on+8421375,Ui[on+1536|0]=-27439*on,Ui[on+1792|0]=-5329*on}(),io(y)}function cf(y,z){if(this.pos=0,this.buffer=y,this.datav=new DataView(y.buffer),this.is_with_alpha=!!z,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function j0(y){function z(Gn){if(!Gn)throw Error("assert :P")}function E(Gn,Vr,cn){for(var kn=0;4>kn;kn++)if(Gn[Vr+kn]!=cn.charCodeAt(kn))return!0;return!1}function re(Gn,Vr,cn,kn,fr){for(var sr=0;sr<fr;sr++)Gn[Vr+sr]=cn[kn+sr]}function ce(Gn,Vr,cn,kn){for(var fr=0;fr<kn;fr++)Gn[Vr+fr]=cn}function he(Gn){return new Int32Array(Gn)}function Ze(Gn,Vr){for(var cn=[],kn=0;kn<Gn;kn++)cn.push(new Vr);return cn}function Ue(Gn,Vr){var cn=[];return function kn(fr,sr,fi){for(var wi=fi[sr],Fi=0;Fi<wi&&(fr.push(fi.length>sr+1?[]:new Vr),!(fi.length<sr+1));Fi++)kn(fr[Fi],sr+1,fi)}(cn,0,Gn),cn}var Xe=function(){var Gn=this;function Vr(pe,De){for(var it=1<<De-1>>>0;pe&it;)it>>>=1;return it?(pe&it-1)+it:pe}function cn(pe,De,it,Et,zt){z(!(Et%it));do pe[De+(Et-=it)]=zt;while(0<Et)}function kn(pe,De,it,Et,zt){if(z(2328>=zt),512>=zt)var en=he(512);else if((en=he(zt))==null)return 0;return function(rn,gn,xn,Rn,xr,ri){var _n,Tr,Gr=gn,Mi=1<<xn,qr=he(16),ji=he(16);for(z(xr!=0),z(Rn!=null),z(rn!=null),z(0<xn),Tr=0;Tr<xr;++Tr){if(15<Rn[Tr])return 0;++qr[Rn[Tr]]}if(qr[0]==xr)return 0;for(ji[1]=0,_n=1;15>_n;++_n){if(qr[_n]>1<<_n)return 0;ji[_n+1]=ji[_n]+qr[_n]}for(Tr=0;Tr<xr;++Tr)_n=Rn[Tr],0<Rn[Tr]&&(ri[ji[_n]++]=Tr);if(ji[15]==1)return(Rn=new fr).g=0,Rn.value=ri[0],cn(rn,Gr,1,Mi,Rn),Mi;var Vi,wo=-1,lo=Mi-1,za=0,Ba=1,Ws=1,Oa=1<<xn;for(Tr=0,_n=1,xr=2;_n<=xn;++_n,xr<<=1){if(Ba+=Ws<<=1,0>(Ws-=qr[_n]))return 0;for(;0<qr[_n];--qr[_n])(Rn=new fr).g=_n,Rn.value=ri[Tr++],cn(rn,Gr+za,xr,Oa,Rn),za=Vr(za,_n)}for(_n=xn+1,xr=2;15>=_n;++_n,xr<<=1){if(Ba+=Ws<<=1,0>(Ws-=qr[_n]))return 0;for(;0<qr[_n];--qr[_n]){if(Rn=new fr,(za&lo)!=wo){for(Gr+=Oa,Vi=1<<(wo=_n)-xn;15>wo&&!(0>=(Vi-=qr[wo]));)++wo,Vi<<=1;Mi+=Oa=1<<(Vi=wo-xn),rn[gn+(wo=za&lo)].g=Vi+xn,rn[gn+wo].value=Gr-gn-wo}Rn.g=_n-xn,Rn.value=ri[Tr++],cn(rn,Gr+(za>>xn),xr,Oa,Rn),za=Vr(za,_n)}}return Ba!=2*ji[15]-1?0:Mi}(pe,De,it,Et,zt,en)}function fr(){this.value=this.g=0}function sr(){this.value=this.g=0}function fi(){this.G=Ze(5,fr),this.H=he(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ze(Qp,sr)}function wi(pe,De,it,Et){z(pe!=null),z(De!=null),z(2147483648>Et),pe.Ca=254,pe.I=0,pe.b=-8,pe.Ka=0,pe.oa=De,pe.pa=it,pe.Jd=De,pe.Yc=it+Et,pe.Zc=4<=Et?it+Et-4+1:it,Si(pe)}function Fi(pe,De){for(var it=0;0<De--;)it|=Yi(pe,128)<<De;return it}function ei(pe,De){var it=Fi(pe,De);return Li(pe)?-it:it}function Ni(pe,De,it,Et){var zt,en=0;for(z(pe!=null),z(De!=null),z(4294967288>Et),pe.Sb=Et,pe.Ra=0,pe.u=0,pe.h=0,4<Et&&(Et=4),zt=0;zt<Et;++zt)en+=De[it+zt]<<8*zt;pe.Ra=en,pe.bb=Et,pe.oa=De,pe.pa=it}function ko(pe){for(;8<=pe.u&&pe.bb<pe.Sb;)pe.Ra>>>=8,pe.Ra+=pe.oa[pe.pa+pe.bb]<<$h-8>>>0,++pe.bb,pe.u-=8;vr(pe)&&(pe.h=1,pe.u=0)}function io(pe,De){if(z(0<=De),!pe.h&&De<=vd){var it=qn(pe)&md[De];return pe.u+=De,ko(pe),it}return pe.h=1,pe.u=0}function on(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Kn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function qn(pe){return pe.Ra>>>(pe.u&$h-1)>>>0}function vr(pe){return z(pe.bb<=pe.Sb),pe.h||pe.bb==pe.Sb&&pe.u>$h}function kr(pe,De){pe.u=De,pe.h=vr(pe)}function Jr(pe){pe.u>=Lh&&(z(pe.u>=Lh),ko(pe))}function Si(pe){z(pe!=null&&pe.oa!=null),pe.pa<pe.Zc?(pe.I=(pe.oa[pe.pa++]|pe.I<<8)>>>0,pe.b+=8):(z(pe!=null&&pe.oa!=null),pe.pa<pe.Yc?(pe.b+=8,pe.I=pe.oa[pe.pa++]|pe.I<<8):pe.Ka?pe.b=0:(pe.I<<=8,pe.b+=8,pe.Ka=1))}function Li(pe){return Fi(pe,1)}function Yi(pe,De){var it=pe.Ca;0>pe.b&&Si(pe);var Et=pe.b,zt=it*De>>>8,en=(pe.I>>>Et>zt)+0;for(en?(it-=zt,pe.I-=zt+1<<Et>>>0):it=zt+1,Et=it,zt=0;256<=Et;)zt+=8,Et>>=8;return Et=7^zt+Jh[Et],pe.b-=Et,pe.Ca=(it<<Et)-1,en}function Eo(pe,De,it){pe[De+0]=it>>24&255,pe[De+1]=it>>16&255,pe[De+2]=it>>8&255,pe[De+3]=255&it}function ua(pe,De){return pe[De+0]|pe[De+1]<<8}function sa(pe,De){return ua(pe,De)|pe[De+2]<<16}function qa(pe,De){return ua(pe,De)|ua(pe,De+2)<<16}function Mn(pe,De){var it=1<<De;return z(pe!=null),z(0<De),pe.X=he(it),pe.X==null?0:(pe.Mb=32-De,pe.Xa=De,1)}function ca(pe,De){z(pe!=null),z(De!=null),z(pe.Xa==De.Xa),re(De.X,0,pe.X,0,1<<De.Xa)}function $s(){this.X=[],this.Xa=this.Mb=0}function cs(pe,De,it,Et){z(it!=null),z(Et!=null);var zt=it[0],en=Et[0];return zt==0&&(zt=(pe*en+De/2)/De),en==0&&(en=(De*zt+pe/2)/pe),0>=zt||0>=en?0:(it[0]=zt,Et[0]=en,1)}function mo(pe,De){return pe+(1<<De)-1>>>De}function As(pe,De){return((4278255360&pe)+(4278255360&De)>>>0&4278255360)+((16711935&pe)+(16711935&De)>>>0&16711935)>>>0}function Sa(pe,De){Gn[De]=function(it,Et,zt,en,rn,gn,xn){var Rn;for(Rn=0;Rn<rn;++Rn){var xr=Gn[pe](gn[xn+Rn-1],zt,en+Rn);gn[xn+Rn]=As(it[Et+Rn],xr)}}}function ss(){this.ud=this.hd=this.jd=0}function ts(pe,De){return((4278124286&(pe^De))>>>1)+(pe&De)>>>0}function Jl(pe){return 0<=pe&&256>pe?pe:0>pe?0:255<pe?255:void 0}function pl(pe,De){return Jl(pe+(pe-De+.5>>1))}function Rs(pe,De,it){return Math.abs(De-it)-Math.abs(pe-it)}function bl(pe,De,it,Et,zt,en,rn){for(Et=en[rn-1],it=0;it<zt;++it)en[rn+it]=Et=As(pe[De+it],Et)}function gl(pe,De,it,Et,zt){var en;for(en=0;en<it;++en){var rn=pe[De+en],gn=rn>>8&255,xn=16711935&(xn=(xn=16711935&rn)+((gn<<16)+gn));Et[zt+en]=(4278255360&rn)+xn>>>0}}function _a(pe,De){De.jd=255&pe,De.hd=pe>>8&255,De.ud=pe>>16&255}function js(pe,De,it,Et,zt,en){var rn;for(rn=0;rn<Et;++rn){var gn=De[it+rn],xn=gn>>>8,Rn=gn,xr=255&(xr=(xr=gn>>>16)+((pe.jd<<24>>24)*(xn<<24>>24)>>>5));Rn=255&(Rn=(Rn+=(pe.hd<<24>>24)*(xn<<24>>24)>>>5)+((pe.ud<<24>>24)*(xr<<24>>24)>>>5)),zt[en+rn]=(4278255360&gn)+(xr<<16)+Rn}}function Ka(pe,De,it,Et,zt){Gn[De]=function(en,rn,gn,xn,Rn,xr,ri,_n,Tr){for(xn=ri;xn<_n;++xn)for(ri=0;ri<Tr;++ri)Rn[xr++]=zt(gn[Et(en[rn++])])},Gn[pe]=function(en,rn,gn,xn,Rn,xr,ri){var _n=8>>en.b,Tr=en.Ea,Gr=en.K[0],Mi=en.w;if(8>_n)for(en=(1<<en.b)-1,Mi=(1<<_n)-1;rn<gn;++rn){var qr,ji=0;for(qr=0;qr<Tr;++qr)qr&en||(ji=Et(xn[Rn++])),xr[ri++]=zt(Gr[ji&Mi]),ji>>=_n}else Gn["VP8LMapColor"+it](xn,Rn,Gr,Mi,xr,ri,rn,gn,Tr)}}function Ec(pe,De,it,Et,zt){for(it=De+it;De<it;){var en=pe[De++];Et[zt++]=en>>16&255,Et[zt++]=en>>8&255,Et[zt++]=255&en}}function Il(pe,De,it,Et,zt){for(it=De+it;De<it;){var en=pe[De++];Et[zt++]=en>>16&255,Et[zt++]=en>>8&255,Et[zt++]=255&en,Et[zt++]=en>>24&255}}function qs(pe,De,it,Et,zt){for(it=De+it;De<it;){var en=(rn=pe[De++])>>16&240|rn>>12&15,rn=240&rn|rn>>28&15;Et[zt++]=en,Et[zt++]=rn}}function el(pe,De,it,Et,zt){for(it=De+it;De<it;){var en=(rn=pe[De++])>>16&248|rn>>13&7,rn=rn>>5&224|rn>>3&31;Et[zt++]=en,Et[zt++]=rn}}function Wu(pe,De,it,Et,zt){for(it=De+it;De<it;){var en=pe[De++];Et[zt++]=255&en,Et[zt++]=en>>8&255,Et[zt++]=en>>16&255}}function is(pe,De,it,Et,zt,en){if(en==0)for(it=De+it;De<it;)Eo(Et,((en=pe[De++])[0]>>24|en[1]>>8&65280|en[2]<<8&16711680|en[3]<<24)>>>0),zt+=32;else re(Et,zt,pe,De,it)}function Su(pe,De){Gn[De][0]=Gn[pe+"0"],Gn[De][1]=Gn[pe+"1"],Gn[De][2]=Gn[pe+"2"],Gn[De][3]=Gn[pe+"3"],Gn[De][4]=Gn[pe+"4"],Gn[De][5]=Gn[pe+"5"],Gn[De][6]=Gn[pe+"6"],Gn[De][7]=Gn[pe+"7"],Gn[De][8]=Gn[pe+"8"],Gn[De][9]=Gn[pe+"9"],Gn[De][10]=Gn[pe+"10"],Gn[De][11]=Gn[pe+"11"],Gn[De][12]=Gn[pe+"12"],Gn[De][13]=Gn[pe+"13"],Gn[De][14]=Gn[pe+"0"],Gn[De][15]=Gn[pe+"0"]}function ms(pe){return pe==d0||pe==f0||pe==Lm||pe==h0}function _s(){this.eb=[],this.size=this.A=this.fb=0}function Vu(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function rl(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new _s,this.f.kb=new Vu,this.sd=null}function fs(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ql(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Sp(pe){return alert("todo:WebPSamplerProcessPlane"),pe.T}function NA(pe,De){var it=pe.T,Et=De.ba.f.RGBA,zt=Et.eb,en=Et.fb+pe.ka*Et.A,rn=Gd[De.ba.S],gn=pe.y,xn=pe.O,Rn=pe.f,xr=pe.N,ri=pe.ea,_n=pe.W,Tr=De.cc,Gr=De.dc,Mi=De.Mc,qr=De.Nc,ji=pe.ka,Vi=pe.ka+pe.T,wo=pe.U,lo=wo+1>>1;for(ji==0?rn(gn,xn,null,null,Rn,xr,ri,_n,Rn,xr,ri,_n,zt,en,null,null,wo):(rn(De.ec,De.fc,gn,xn,Tr,Gr,Mi,qr,Rn,xr,ri,_n,zt,en-Et.A,zt,en,wo),++it);ji+2<Vi;ji+=2)Tr=Rn,Gr=xr,Mi=ri,qr=_n,xr+=pe.Rc,_n+=pe.Rc,en+=2*Et.A,rn(gn,(xn+=2*pe.fa)-pe.fa,gn,xn,Tr,Gr,Mi,qr,Rn,xr,ri,_n,zt,en-Et.A,zt,en,wo);return xn+=pe.fa,pe.j+Vi<pe.o?(re(De.ec,De.fc,gn,xn,wo),re(De.cc,De.dc,Rn,xr,lo),re(De.Mc,De.Nc,ri,_n,lo),it--):1&Vi||rn(gn,xn,null,null,Rn,xr,ri,_n,Rn,xr,ri,_n,zt,en+Et.A,null,null,wo),it}function gh(pe,De,it){var Et=pe.F,zt=[pe.J];if(Et!=null){var en=pe.U,rn=De.ba.S,gn=rn==Im||rn==Lm;De=De.ba.f.RGBA;var xn=[0],Rn=pe.ka;xn[0]=pe.T,pe.Kb&&(Rn==0?--xn[0]:(--Rn,zt[0]-=pe.width),pe.j+pe.ka+pe.T==pe.o&&(xn[0]=pe.o-pe.j-Rn));var xr=De.eb;Rn=De.fb+Rn*De.A,pe=J0(Et,zt[0],pe.width,en,xn,xr,Rn+(gn?0:3),De.A),z(it==xn),pe&&ms(rn)&&Wg(xr,Rn,gn,en,xn,De.A)}return 0}function zf(pe){var De=pe.ma,it=De.ba.S,Et=11>it,zt=it==Sm||it==Fm||it==Im||it==A0||it==12||ms(it);if(De.memory=null,De.Ib=null,De.Jb=null,De.Nd=null,!Rg(De.Oa,pe,zt?11:12))return 0;if(zt&&ms(it)&&kg(),pe.da)alert("todo:use_scaling");else{if(Et){if(De.Ib=Sp,pe.Kb){if(it=pe.U+1>>1,De.memory=he(pe.U+2*it),De.memory==null)return 0;De.ec=De.memory,De.fc=0,De.cc=De.ec,De.dc=De.fc+pe.U,De.Mc=De.cc,De.Nc=De.dc+it,De.Ib=NA,kg()}}else alert("todo:EmitYUV");zt&&(De.Jb=gh,Et&&gf())}if(Et&&!pv){for(pe=0;256>pe;++pe)g1[pe]=89858*(pe-128)+Nm>>Dm,y1[pe]=-22014*(pe-128)+Nm,v1[pe]=-45773*(pe-128),m1[pe]=113618*(pe-128)+Nm>>Dm;for(pe=Gg;pe<m0;++pe)De=76283*(pe-16)+Nm>>Dm,w1[pe-Gg]=Wf(De,255),b1[pe-Gg]=Wf(De+8>>4,15);pv=1}return 1}function hs(pe){var De=pe.ma,it=pe.U,Et=pe.T;return z(!(1&pe.ka)),0>=it||0>=Et?0:(it=De.Ib(pe,De),De.Jb!=null&&De.Jb(pe,De,it),De.Dc+=it,1)}function mh(pe){pe.ma.memory=null}function vh(pe,De,it,Et){return io(pe,8)!=47?0:(De[0]=io(pe,14)+1,it[0]=io(pe,14)+1,Et[0]=io(pe,1),io(pe,3)!=0?0:!pe.h)}function Qd(pe,De){if(4>pe)return pe+1;var it=pe-2>>1;return(2+(1&pe)<<it)+io(De,it)+1}function jd(pe,De){return 120<De?De-120:1<=(it=((it=n1[De-1])>>4)*pe+(8-(15&it)))?it:1;var it}function pc(pe,De,it){var Et=qn(it),zt=pe[De+=255&Et].g-8;return 0<zt&&(kr(it,it.u+8),Et=qn(it),De+=pe[De].value,De+=Et&(1<<zt)-1),kr(it,it.u+pe[De].g),pe[De].value}function rA(pe,De,it){return it.g+=pe.g,it.value+=pe.value<<De>>>0,z(8>=it.g),pe.g}function uA(pe,De,it){var Et=pe.xc;return z((De=Et==0?0:pe.vc[pe.md*(it>>Et)+(De>>Et)])<pe.Wb),pe.Ya[De]}function Fp(pe,De,it,Et){var zt=pe.ab,en=pe.c*De,rn=pe.C;De=rn+De;var gn=it,xn=Et;for(Et=pe.Ta,it=pe.Ua;0<zt--;){var Rn=pe.gc[zt],xr=rn,ri=De,_n=gn,Tr=xn,Gr=(xn=Et,gn=it,Rn.Ea);switch(z(xr<ri),z(ri<=Rn.nc),Rn.hc){case 2:Sc(_n,Tr,(ri-xr)*Gr,xn,gn);break;case 0:var Mi=xr,qr=ri,ji=xn,Vi=gn,wo=(Oa=Rn).Ea;Mi==0&&(Qg(_n,Tr,null,null,1,ji,Vi),bl(_n,Tr+1,0,0,wo-1,ji,Vi+1),Tr+=wo,Vi+=wo,++Mi);for(var lo=1<<Oa.b,za=lo-1,Ba=mo(wo,Oa.b),Ws=Oa.K,Oa=Oa.w+(Mi>>Oa.b)*Ba;Mi<qr;){var Cl=Ws,Kc=Oa,Vs=1;for(fg(_n,Tr,ji,Vi-wo,1,ji,Vi);Vs<wo;){var Pa=(Vs&~za)+lo;Pa>wo&&(Pa=wo),(0,Hg[Cl[Kc++]>>8&15])(_n,Tr+ +Vs,ji,Vi+Vs-wo,Pa-Vs,ji,Vi+Vs),Vs=Pa}Tr+=wo,Vi+=wo,++Mi&za||(Oa+=Ba)}ri!=Rn.nc&&re(xn,gn-Gr,xn,gn+(ri-xr-1)*Gr,Gr);break;case 1:for(Gr=_n,qr=Tr,wo=(_n=Rn.Ea)-(Vi=_n&~(ji=(Tr=1<<Rn.b)-1)),Mi=mo(_n,Rn.b),lo=Rn.K,Rn=Rn.w+(xr>>Rn.b)*Mi;xr<ri;){for(za=lo,Ba=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break;case Fm:is(Tr,Gr,Mi,qr,ji,1);break;case f0:is(Tr,Gr,Mi,qr,ji,1),Wg(qr,ji,0,Mi,1,0);break;case Im:is(Tr,Gr,Mi,qr,ji,0);break;case Lm:is(Tr,Gr,Mi,qr,ji,0),Wg(qr,ji,1,Mi,1,0);break;case A0:ep(Tr,Gr,Mi,qr,ji);break;case h0:ep(Tr,Gr,Mi,qr,ji),$0(qr,ji,Mi,1,0);break;case av:tp(Tr,Gr,Mi,qr,ji);break;default:z(0)}gn+=xn,xr+=ri}pe.Ma+=en}else alert("todo:EmitRescaledRowsYUVA");z(pe.Ma<=it.height)}}pe.C=De,z(pe.C<=pe.i)}function df(pe){var De;if(0<pe.ua)return 0;for(De=0;De<pe.Wb;++De){var it=pe.Ya[De].G,Et=pe.Ya[De].H;if(0<it[1][Et[1]+0].g||0<it[2][Et[2]+0].g||0<it[3][Et[3]+0].g)return 0}return 1}function Kf(pe,De,it,Et,zt,en){if(pe.Z!=0){var rn=pe.qd,gn=pe.rd;for(z(ip[pe.Z]!=null);De<it;++De)ip[pe.Z](rn,gn,Et,zt,Et,zt,en),rn=Et,gn=zt,zt+=en;pe.qd=rn,pe.rd=gn}}function ff(pe,De){var it=pe.l.ma,Et=it.Z==0||it.Z==1?pe.l.j:pe.C;if(Et=pe.C<Et?Et:pe.C,z(De<=pe.l.o),De>Et){var zt=pe.l.width,en=it.ca,rn=it.tb+zt*Et,gn=pe.V,xn=pe.Ba+pe.c*Et,Rn=pe.gc;z(pe.ab==1),z(Rn[0].hc==3),Yf(Rn[0],Et,De,gn,xn,en,rn),Kf(it,Et,De,en,rn,zt)}pe.C=pe.Ma=De}function hf(pe,De,it,Et,zt,en,rn){var gn=pe.$/Et,xn=pe.$%Et,Rn=pe.m,xr=pe.s,ri=it+pe.$,_n=ri;zt=it+Et*zt;var Tr=it+Et*en,Gr=280+xr.ua,Mi=pe.Pb?gn:16777216,qr=0<xr.ua?xr.Wa:null,ji=xr.wc,Vi=ri<Tr?uA(xr,xn,gn):null;z(pe.C<en),z(Tr<=zt);var wo=!1;e:for(;;){for(;wo||ri<Tr;){var lo=0;if(gn>=Mi){var za=ri-it;z((Mi=pe).Pb),Mi.wd=Mi.m,Mi.xd=za,0<Mi.s.ua&&ca(Mi.s.Wa,Mi.s.vb),Mi=gn+i1}if(xn&ji||(Vi=uA(xr,xn,gn)),z(Vi!=null),Vi.Qb&&(De[ri]=Vi.qb,wo=!0),!wo)if(Jr(Rn),Vi.jc){lo=Rn,za=De;var Ba=ri,Ws=Vi.pd[qn(lo)&Qp-1];z(Vi.jc),256>Ws.g?(kr(lo,lo.u+Ws.g),za[Ba]=Ws.value,lo=0):(kr(lo,lo.u+Ws.g-256),z(256<=Ws.value),lo=Ws.value),lo==0&&(wo=!0)}else lo=pc(Vi.G[0],Vi.H[0],Rn);if(Rn.h)break;if(wo||256>lo){if(!wo)if(Vi.nd)De[ri]=(Vi.qb|lo<<8)>>>0;else{if(Jr(Rn),wo=pc(Vi.G[1],Vi.H[1],Rn),Jr(Rn),za=pc(Vi.G[2],Vi.H[2],Rn),Ba=pc(Vi.G[3],Vi.H[3],Rn),Rn.h)break;De[ri]=(Ba<<24|wo<<16|lo<<8|za)>>>0}if(wo=!1,++ri,++xn>=Et&&(xn=0,++gn,rn!=null&&gn<=en&&!(gn%16)&&rn(pe,gn),qr!=null))for(;_n<ri;)lo=De[_n++],qr.X[(506832829*lo&4294967295)>>>qr.Mb]=lo}else if(280>lo){if(lo=Qd(lo-256,Rn),za=pc(Vi.G[4],Vi.H[4],Rn),Jr(Rn),za=jd(Et,za=Qd(za,Rn)),Rn.h)break;if(ri-it<za||zt-ri<lo)break e;for(Ba=0;Ba<lo;++Ba)De[ri+Ba]=De[ri+Ba-za];for(ri+=lo,xn+=lo;xn>=Et;)xn-=Et,++gn,rn!=null&&gn<=en&&!(gn%16)&&rn(pe,gn);if(z(ri<=zt),xn&ji&&(Vi=uA(xr,xn,gn)),qr!=null)for(;_n<ri;)lo=De[_n++],qr.X[(506832829*lo&4294967295)>>>qr.Mb]=lo}else{if(!(lo<Gr))break e;for(wo=lo-280,z(qr!=null);_n<ri;)lo=De[_n++],qr.X[(506832829*lo&4294967295)>>>qr.Mb]=lo;lo=ri,z(!(wo>>>(za=qr).Xa)),De[lo]=za.X[wo],wo=!0}wo||z(Rn.h==vr(Rn))}if(pe.Pb&&Rn.h&&ri<zt)z(pe.m.h),pe.a=5,pe.m=pe.wd,pe.$=pe.xd,0<pe.s.ua&&ca(pe.s.vb,pe.s.Wa);else{if(Rn.h)break e;rn!=null&&rn(pe,gn>en?en:gn),pe.a=0,pe.$=ri-it}return 1}return pe.a=3,0}function Hd(pe){z(pe!=null),pe.vc=null,pe.yc=null,pe.Ya=null;var De=pe.Wa;De!=null&&(De.X=null),pe.vb=null,z(pe!=null)}function Ip(){var pe=new Ss;return pe==null?null:(pe.a=0,pe.xb=uv,Su("Predictor","VP8LPredictors"),Su("Predictor","VP8LPredictors_C"),Su("PredictorAdd","VP8LPredictorsAdd"),Su("PredictorAdd","VP8LPredictorsAdd_C"),Sc=gl,zg=js,Kg=Ec,qh=Il,ep=qs,tp=el,jp=Wu,Gn.VP8LMapColor32b=Xf,Gn.VP8LMapColor8b=jg,pe)}function Zf(pe,De,it,Et,zt){var en=1,rn=[pe],gn=[De],xn=Et.m,Rn=Et.s,xr=null,ri=0;e:for(;;){if(it)for(;en&&io(xn,1);){var _n=rn,Tr=gn,Gr=Et,Mi=1,qr=Gr.m,ji=Gr.gc[Gr.ab],Vi=io(qr,2);if(Gr.Oc&1<<Vi)en=0;else{switch(Gr.Oc|=1<<Vi,ji.hc=Vi,ji.Ea=_n[0],ji.nc=Tr[0],ji.K=[null],++Gr.ab,z(4>=Gr.ab),Vi){case 0:case 1:ji.b=io(qr,3)+2,Mi=Zf(mo(ji.Ea,ji.b),mo(ji.nc,ji.b),0,Gr,ji.K),ji.K=ji.K[0];break;case 3:var wo,lo=io(qr,8)+1,za=16<lo?0:4<lo?1:2<lo?2:3;if(_n[0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,B1=xd,E1=Fl,y0=0,op=Tm.m,S1=io(op,1);if(ce(Xg,0,0,v0),S1){var F1=io(op,1)+1,I1=io(op,1),vv=io(op,I1==0?1:8);Xg[vv]=1,F1==2&&(Xg[vv=io(op,8)]=1);var km=1}else{var yv=he(19),wv=io(op,4)+4;if(19<wv){Tm.a=3;var Mm=0;break i}for(Pm=0;Pm<wv;++Pm)yv[t1[Pm]]=io(op,3);var w0=void 0,Yg=void 0,bv=Tm,L1=yv,Um=v0,Cv=Xg,b0=0,ap=bv.m,xv=8,Bv=Ze(128,fr);r:for(;kn(Bv,0,7,L1,19);){if(io(ap,1)){var D1=2+2*io(ap,3);if((w0=2+io(ap,D1))>Um)break r}else w0=Um;for(Yg=0;Yg<Um&&w0--;){Jr(ap);var Ev=Bv[0+(127&qn(ap))];kr(ap,ap.u+Ev.g);var pg=Ev.value;if(16>pg)Cv[Yg++]=pg,pg!=0&&(xv=pg);else{var N1=pg==16,Sv=pg-16,O1=qv[Sv],Fv=io(ap,Jv[Sv])+O1;if(Yg+Fv>Um)break r;for(var P1=N1?xv:0;0<Fv--;)Cv[Yg++]=P1}}b0=1;break r}b0||(bv.a=3),km=b0}(km=km&&!op.h)&&(y0=kn(B1,E1,8,Xg,v0)),km&&y0!=0?Mm=y0:(Tm.a=3,Mm=0)}if(Mm==0)break n;if(Oh&&e1[Qs]==1&&(Oh=xd[Fl].g==0),zp+=xd[Fl].g,Fl+=Mm,3>=Qs){var $g,C0=ed[0];for($g=1;$g<Wc;++$g)ed[$g]>C0&&(C0=ed[$g]);hA+=C0}}if(Iu.nd=Oh,Iu.Qb=0,Oh&&(Iu.qb=(Bd[3][yf[3]+0].value<<24|Bd[1][yf[1]+0].value<<16|Bd[2][yf[2]+0].value)>>>0,zp==0&&256>Bd[0][yf[0]+0].value&&(Iu.Qb=1,Iu.qb+=Bd[0][yf[0]+0].value<<8)),Iu.jc=!Iu.Qb&&6>hA,Iu.jc){var Rm,Ph=Iu;for(Rm=0;Rm<Qp;++Rm){var sp=Rm,lp=Ph.pd[sp],_m=Ph.G[0][Ph.H[0]+sp];256<=_m.value?(lp.g=_m.g+256,lp.value=_m.value):(lp.g=0,lp.value=0,sp>>=rA(_m,8,lp),sp>>=rA(Ph.G[1][Ph.H[1]+sp],16,lp),sp>>=rA(Ph.G[2][Ph.H[2]+sp],0,lp),rA(Ph.G[3][Ph.H[3]+sp],24,lp))}}}Zc.vc=Dl,Zc.Wb=ou,Zc.Ya=Cd,Zc.yc=wd,Jo=1;break t}Jo=0}if(!(en=Jo)){Et.a=3;break e}if(0<ri){if(Rn.ua=1<<ri,!Mn(Rn.Wa,ri)){Et.a=1,en=0;break e}}else Rn.ua=0;var x0=Et,Iv=rn,T1=gn,B0=x0.s,E0=B0.xc;if(x0.c=Iv,x0.i=T1,B0.md=mo(Iv,E0),B0.wc=E0==0?-1:(1<<E0)-1,it){Et.xb=A1;break e}if((xr=he(rn*gn))==null){Et.a=1,en=0;break e}en=(en=hf(Et,xr,0,rn,gn,gn,null))&&!xn.h;break e}return en?(zt!=null?zt[0]=xr:(z(xr==null),z(it)),Et.$=0,it||Hd(Rn)):Hd(Rn),en}function Lp(pe,De){var it=pe.c*pe.i,Et=it+De+16*De;return z(pe.c<=De),pe.V=he(Et),pe.V==null?(pe.Ta=null,pe.Ua=0,pe.a=1,0):(pe.Ta=pe.V,pe.Ua=pe.Ba+it+De,1)}function rg(pe,De){var it=pe.C,Et=De-it,zt=pe.V,en=pe.Ba+pe.c*it;for(z(De<=pe.l.o);0<Et;){var rn=16<Et?16:Et,gn=pe.l.ma,xn=pe.l.width,Rn=xn*rn,xr=gn.ca,ri=gn.tb+xn*it,_n=pe.Ta,Tr=pe.Ua;Fp(pe,rn,zt,en),q0(_n,Tr,xr,ri,Rn),Kf(gn,it,it+rn,xr,ri,xn),Et-=rn,zt+=rn*pe.c,it+=rn}z(it==De),pe.C=pe.Ma=De}function ig(){this.ub=this.yd=this.td=this.Rb=0}function og(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Gm(){this.Fb=this.Bb=this.Cb=0,this.Zb=he(4),this.Lb=he(4)}function Bg(){this.Yb=function(){var pe=[];return function De(it,Et,zt){for(var en=zt[Et],rn=0;rn<en&&(it.push(zt.length>Et+1?[]:0),!(zt.length<Et+1));rn++)De(it[rn],Et+1,zt)}(pe,0,[3,11]),pe}()}function im(){this.jb=he(3),this.Wc=Ue([4,8],Bg),this.Xc=Ue([4,17],Bg)}function om(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new he(4),this.od=new he(4)}function zd(){this.ld=this.La=this.dd=this.tc=0}function Eg(){this.Na=this.la=0}function am(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Sg(){this.ad=he(384),this.Za=0,this.Ob=he(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function sm(){this.uc=this.M=this.Nb=0,this.wa=Array(new zd),this.Y=0,this.ya=Array(new Sg),this.aa=0,this.l=new ag}function lm(){this.y=he(16),this.f=he(8),this.ea=he(8)}function um(){this.cb=this.a=0,this.sc="",this.m=new on,this.Od=new ig,this.Kc=new og,this.ed=new om,this.Qa=new Gm,this.Ic=this.$c=this.Aa=0,this.D=new sm,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Ze(8,on),this.ia=0,this.pb=Ze(4,am),this.Pa=new im,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new lm),this.Hd=0,this.rb=Array(new Eg),this.sb=0,this.wa=Array(new zd),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Sg),this.L=this.aa=0,this.gd=Ue([4,2],zd),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Wf(pe,De){return 0>pe?0:pe>De?De:pe}function ag(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xm(){var pe=new um;return pe!=null&&(pe.a=0,pe.sc="OK",pe.cb=0,pe.Xb=0,Vg||(Vg=sg)),pe}function Oc(pe,De,it){return pe.a==0&&(pe.a=De,pe.sc=it,pe.cb=0),0}function cm(pe,De,it){return 3<=it&&pe[De+0]==157&&pe[De+1]==1&&pe[De+2]==42}function Vf(pe,De){if(pe==null)return 0;if(pe.a=0,pe.sc="OK",De==null)return Oc(pe,2,"null VP8Io passed to VP8GetHeaders()");var it=De.data,Et=De.w,zt=De.ha;if(4>zt)return Oc(pe,7,"Truncated header.");var en=it[Et+0]|it[Et+1]<<8|it[Et+2]<<16,rn=pe.Od;if(rn.Rb=!(1&en),rn.td=en>>1&7,rn.yd=en>>4&1,rn.ub=en>>5,3<rn.td)return Oc(pe,3,"Incorrect keyframe parameters.");if(!rn.yd)return Oc(pe,4,"Frame not displayable.");Et+=3,zt-=3;var gn=pe.Kc;if(rn.Rb){if(7>zt)return Oc(pe,7,"cannot parse picture header");if(!cm(it,Et,zt))return Oc(pe,3,"Bad code word");gn.c=16383&(it[Et+4]<<8|it[Et+3]),gn.Td=it[Et+4]>>6,gn.i=16383&(it[Et+6]<<8|it[Et+5]),gn.Ud=it[Et+6]>>6,Et+=7,zt-=7,pe.za=gn.c+15>>4,pe.Ub=gn.i+15>>4,De.width=gn.c,De.height=gn.i,De.Da=0,De.j=0,De.v=0,De.va=De.width,De.o=De.height,De.da=0,De.ib=De.width,De.hb=De.height,De.U=De.width,De.T=De.height,ce((en=pe.Pa).jb,0,255,en.jb.length),z((en=pe.Qa)!=null),en.Cb=0,en.Bb=0,en.Fb=1,ce(en.Zb,0,0,en.Zb.length),ce(en.Lb,0,0,en.Lb)}if(rn.ub>zt)return Oc(pe,7,"bad partition length");wi(en=pe.m,it,Et,rn.ub),Et+=rn.ub,zt-=rn.ub,rn.Rb&&(gn.Ld=Li(en),gn.Kd=Li(en)),gn=pe.Qa;var xn,Rn=pe.Pa;if(z(en!=null),z(gn!=null),gn.Cb=Li(en),gn.Cb){if(gn.Bb=Li(en),Li(en)){for(gn.Fb=Li(en),xn=0;4>xn;++xn)gn.Zb[xn]=Li(en)?ei(en,7):0;for(xn=0;4>xn;++xn)gn.Lb[xn]=Li(en)?ei(en,6):0}if(gn.Bb)for(xn=0;3>xn;++xn)Rn.jb[xn]=Li(en)?Fi(en,8):255}else gn.Bb=0;if(en.Ka)return Oc(pe,3,"cannot parse segment header");if((gn=pe.ed).zd=Li(en),gn.Tb=Fi(en,6),gn.wb=Fi(en,3),gn.Pc=Li(en),gn.Pc&&Li(en)){for(Rn=0;4>Rn;++Rn)Li(en)&&(gn.vd[Rn]=ei(en,6));for(Rn=0;4>Rn;++Rn)Li(en)&&(gn.od[Rn]=ei(en,6))}if(pe.L=gn.Tb==0?0:gn.zd?1:2,en.Ka)return Oc(pe,3,"cannot parse filter header");var xr=zt;if(zt=xn=Et,Et=xn+xr,gn=xr,pe.Xb=(1<<Fi(pe.m,2))-1,xr<3*(Rn=pe.Xb))it=7;else{for(xn+=3*Rn,gn-=3*Rn,xr=0;xr<Rn;++xr){var ri=it[zt+0]|it[zt+1]<<8|it[zt+2]<<16;ri>gn&&(ri=gn),wi(pe.Jc[+xr],it,xn,ri),xn+=ri,gn-=ri,zt+=3}wi(pe.Jc[+Rn],it,xn,gn),it=xn<Et?0:5}if(it!=0)return Oc(pe,it,"cannot parse partitions");for(it=Fi(xn=pe.m,7),zt=Li(xn)?ei(xn,4):0,Et=Li(xn)?ei(xn,4):0,gn=Li(xn)?ei(xn,4):0,Rn=Li(xn)?ei(xn,4):0,xn=Li(xn)?ei(xn,4):0,xr=pe.Qa,ri=0;4>ri;++ri){if(xr.Cb){var _n=xr.Zb[ri];xr.Fb||(_n+=it)}else{if(0<ri){pe.pb[ri]=pe.pb[0];continue}_n=it}var Tr=pe.pb[ri];Tr.Sc[0]=p0[Wf(_n+zt,127)],Tr.Sc[1]=g0[Wf(_n+0,127)],Tr.Eb[0]=2*p0[Wf(_n+Et,127)],Tr.Eb[1]=101581*g0[Wf(_n+gn,127)]>>16,8>Tr.Eb[1]&&(Tr.Eb[1]=8),Tr.Qc[0]=p0[Wf(_n+Rn,117)],Tr.Qc[1]=g0[Wf(_n+xn,127)],Tr.lc=_n+xn}if(!rn.Rb)return Oc(pe,4,"Not a key frame.");for(Li(en),rn=pe.Pa,it=0;4>it;++it){for(zt=0;8>zt;++zt)for(Et=0;3>Et;++Et)for(gn=0;11>gn;++gn)Rn=Yi(en,u1[it][zt][Et][gn])?Fi(en,8):s1[it][zt][Et][gn],rn.Wc[it][zt].Yb[Et][gn]=Rn;for(zt=0;17>zt;++zt)rn.Xc[it][zt]=rn.Wc[it][c1[zt]]}return pe.kc=Li(en),pe.kc&&(pe.Bd=Fi(en,8)),pe.cb=1}function sg(pe,De,it,Et,zt,en,rn){var gn=De[zt].Yb[it];for(it=0;16>zt;++zt){if(!Yi(pe,gn[it+0]))return zt;for(;!Yi(pe,gn[it+1]);)if(gn=De[++zt].Yb[0],it=0,zt==16)return 16;var xn=De[zt+1].Yb;if(Yi(pe,gn[it+2])){var Rn=pe,xr=0;if(Yi(Rn,(_n=gn)[(ri=it)+3]))if(Yi(Rn,_n[ri+6])){for(gn=0,ri=2*(xr=Yi(Rn,_n[ri+8]))+(_n=Yi(Rn,_n[ri+9+xr])),xr=0,_n=o1[ri];_n[gn];++gn)xr+=xr+Yi(Rn,_n[gn]);xr+=3+(8<<ri)}else Yi(Rn,_n[ri+7])?(xr=7+2*Yi(Rn,165),xr+=Yi(Rn,145)):xr=5+Yi(Rn,159);else xr=Yi(Rn,_n[ri+4])?3+Yi(Rn,_n[ri+5]):2;gn=xn[2]}else xr=1,gn=xn[1];xn=rn+a1[zt],0>(Rn=pe).b&&Si(Rn);var ri,_n=Rn.b,Tr=(ri=Rn.Ca>>1)-(Rn.I>>_n)>>31;--Rn.b,Rn.Ca+=Tr,Rn.Ca|=1,Rn.I-=(ri+1&Tr)<<_n,en[xn]=((xr^Tr)-Tr)*Et[(0<zt)+0]}return 16}function Am(pe){var De=pe.rb[pe.sb-1];De.la=0,De.Na=0,ce(pe.zc,0,0,pe.zc.length),pe.ja=0}function Kd(pe,De,it,Et,zt){zt=pe[De+it+32*Et]+(zt>>3),pe[De+it+32*Et]=-256&zt?0>zt?0:255:zt}function jc(pe,De,it,Et,zt,en){Kd(pe,De,0,it,Et+zt),Kd(pe,De,1,it,Et+en),Kd(pe,De,2,it,Et-en),Kd(pe,De,3,it,Et-zt)}function yh(pe){return(20091*pe>>16)+pe}function dm(pe,De,it,Et){var zt,en=0,rn=he(16);for(zt=0;4>zt;++zt){var gn=pe[De+0]+pe[De+8],xn=pe[De+0]-pe[De+8],Rn=(35468*pe[De+4]>>16)-yh(pe[De+12]),xr=yh(pe[De+4])+(35468*pe[De+12]>>16);rn[en+0]=gn+xr,rn[en+1]=xn+Rn,rn[en+2]=xn-Rn,rn[en+3]=gn-xr,en+=4,De++}for(zt=en=0;4>zt;++zt)gn=(pe=rn[en+0]+4)+rn[en+8],xn=pe-rn[en+8],Rn=(35468*rn[en+4]>>16)-yh(rn[en+12]),Kd(it,Et,0,0,gn+(xr=yh(rn[en+4])+(35468*rn[en+12]>>16))),Kd(it,Et,1,0,xn+Rn),Kd(it,Et,2,0,xn-Rn),Kd(it,Et,3,0,gn-xr),en++,Et+=32}function Ym(pe,De,it,Et){var zt=pe[De+0]+4,en=35468*pe[De+4]>>16,rn=yh(pe[De+4]),gn=35468*pe[De+1]>>16;jc(it,Et,0,zt+rn,pe=yh(pe[De+1]),gn),jc(it,Et,1,zt+en,pe,gn),jc(it,Et,2,zt-en,pe,gn),jc(it,Et,3,zt-rn,pe,gn)}function $m(pe,De,it,Et,zt){dm(pe,De,it,Et),zt&&dm(pe,De+16,it,Et+4)}function Gf(pe,De,it,Et){Hp(pe,De+0,it,Et,1),Hp(pe,De+32,it,Et+128,1)}function fm(pe,De,it,Et){var zt;for(pe=pe[De+0]+4,zt=0;4>zt;++zt)for(De=0;4>De;++De)Kd(it,Et,De,zt,pe)}function hm(pe,De,it,Et){pe[De+0]&&eu(pe,De+0,it,Et),pe[De+16]&&eu(pe,De+16,it,Et+4),pe[De+32]&&eu(pe,De+32,it,Et+128),pe[De+48]&&eu(pe,De+48,it,Et+128+4)}function lg(pe,De,it,Et){var zt,en=he(16);for(zt=0;4>zt;++zt){var rn=pe[De+0+zt]+pe[De+12+zt],gn=pe[De+4+zt]+pe[De+8+zt],xn=pe[De+4+zt]-pe[De+8+zt],Rn=pe[De+0+zt]-pe[De+12+zt];en[0+zt]=rn+gn,en[8+zt]=rn-gn,en[4+zt]=Rn+xn,en[12+zt]=Rn-xn}for(zt=0;4>zt;++zt)rn=(pe=en[0+4*zt]+3)+en[3+4*zt],gn=en[1+4*zt]+en[2+4*zt],xn=en[1+4*zt]-en[2+4*zt],Rn=pe-en[3+4*zt],it[Et+0]=rn+gn>>3,it[Et+16]=Rn+xn>>3,it[Et+32]=rn-gn>>3,it[Et+48]=Rn-xn>>3,Et+=64}function Dp(pe,De,it){var Et,zt=De-32,en=yd,rn=255-pe[zt-1];for(Et=0;Et<it;++Et){var gn,xn=en,Rn=rn+pe[De-1];for(gn=0;gn<it;++gn)pe[De+gn]=xn[Rn+pe[zt+gn]];De+=32}}function Jm(pe,De){Dp(pe,De,4)}function qm(pe,De){Dp(pe,De,8)}function e0(pe,De){Dp(pe,De,16)}function Fg(pe,De){var it;for(it=0;16>it;++it)re(pe,De+32*it,pe,De-32,16)}function pm(pe,De){var it;for(it=16;0<it;--it)ce(pe,De,pe[De-1],16),De+=32}function pf(pe,De,it){var Et;for(Et=0;16>Et;++Et)ce(De,it+32*Et,pe,16)}function t0(pe,De){var it,Et=16;for(it=0;16>it;++it)Et+=pe[De-1+32*it]+pe[De+it-32];pf(Et>>5,pe,De)}function Np(pe,De){var it,Et=8;for(it=0;16>it;++it)Et+=pe[De-1+32*it];pf(Et>>4,pe,De)}function Ig(pe,De){var it,Et=8;for(it=0;16>it;++it)Et+=pe[De+it-32];pf(Et>>4,pe,De)}function n0(pe,De){pf(128,pe,De)}function Ds(pe,De,it){return pe+2*De+it+2>>2}function r0(pe,De){var it,Et=De-32;for(Et=new Uint8Array([Ds(pe[Et-1],pe[Et+0],pe[Et+1]),Ds(pe[Et+0],pe[Et+1],pe[Et+2]),Ds(pe[Et+1],pe[Et+2],pe[Et+3]),Ds(pe[Et+2],pe[Et+3],pe[Et+4])]),it=0;4>it;++it)re(pe,De+32*it,Et,0,Et.length)}function i0(pe,De){var it=pe[De-1],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96];Eo(pe,De+0,16843009*Ds(pe[De-1-32],it,Et)),Eo(pe,De+32,16843009*Ds(it,Et,zt)),Eo(pe,De+64,16843009*Ds(Et,zt,en)),Eo(pe,De+96,16843009*Ds(zt,en,en))}function o0(pe,De){var it,Et=4;for(it=0;4>it;++it)Et+=pe[De+it-32]+pe[De-1+32*it];for(Et>>=3,it=0;4>it;++it)ce(pe,De+32*it,Et,4)}function wh(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1-32],rn=pe[De+0-32],gn=pe[De+1-32],xn=pe[De+2-32],Rn=pe[De+3-32];pe[De+0+96]=Ds(Et,zt,pe[De-1+96]),pe[De+1+96]=pe[De+0+64]=Ds(it,Et,zt),pe[De+2+96]=pe[De+1+64]=pe[De+0+32]=Ds(en,it,Et),pe[De+3+96]=pe[De+2+64]=pe[De+1+32]=pe[De+0+0]=Ds(rn,en,it),pe[De+3+64]=pe[De+2+32]=pe[De+1+0]=Ds(gn,rn,en),pe[De+3+32]=pe[De+2+0]=Ds(xn,gn,rn),pe[De+3+0]=Ds(Rn,xn,gn)}function bh(pe,De){var it=pe[De+1-32],Et=pe[De+2-32],zt=pe[De+3-32],en=pe[De+4-32],rn=pe[De+5-32],gn=pe[De+6-32],xn=pe[De+7-32];pe[De+0+0]=Ds(pe[De+0-32],it,Et),pe[De+1+0]=pe[De+0+32]=Ds(it,Et,zt),pe[De+2+0]=pe[De+1+32]=pe[De+0+64]=Ds(Et,zt,en),pe[De+3+0]=pe[De+2+32]=pe[De+1+64]=pe[De+0+96]=Ds(zt,en,rn),pe[De+3+32]=pe[De+2+64]=pe[De+1+96]=Ds(en,rn,gn),pe[De+3+64]=pe[De+2+96]=Ds(rn,gn,xn),pe[De+3+96]=Ds(gn,xn,xn)}function a0(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1-32],rn=pe[De+0-32],gn=pe[De+1-32],xn=pe[De+2-32],Rn=pe[De+3-32];pe[De+0+0]=pe[De+1+64]=en+rn+1>>1,pe[De+1+0]=pe[De+2+64]=rn+gn+1>>1,pe[De+2+0]=pe[De+3+64]=gn+xn+1>>1,pe[De+3+0]=xn+Rn+1>>1,pe[De+0+96]=Ds(zt,Et,it),pe[De+0+64]=Ds(Et,it,en),pe[De+0+32]=pe[De+1+96]=Ds(it,en,rn),pe[De+1+32]=pe[De+2+96]=Ds(en,rn,gn),pe[De+2+32]=pe[De+3+96]=Ds(rn,gn,xn),pe[De+3+32]=Ds(gn,xn,Rn)}function s0(pe,De){var it=pe[De+0-32],Et=pe[De+1-32],zt=pe[De+2-32],en=pe[De+3-32],rn=pe[De+4-32],gn=pe[De+5-32],xn=pe[De+6-32],Rn=pe[De+7-32];pe[De+0+0]=it+Et+1>>1,pe[De+1+0]=pe[De+0+64]=Et+zt+1>>1,pe[De+2+0]=pe[De+1+64]=zt+en+1>>1,pe[De+3+0]=pe[De+2+64]=en+rn+1>>1,pe[De+0+32]=Ds(it,Et,zt),pe[De+1+32]=pe[De+0+96]=Ds(Et,zt,en),pe[De+2+32]=pe[De+1+96]=Ds(zt,en,rn),pe[De+3+32]=pe[De+2+96]=Ds(en,rn,gn),pe[De+3+64]=Ds(rn,gn,xn),pe[De+3+96]=Ds(gn,xn,Rn)}function ug(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96];pe[De+0+0]=it+Et+1>>1,pe[De+2+0]=pe[De+0+32]=Et+zt+1>>1,pe[De+2+32]=pe[De+0+64]=zt+en+1>>1,pe[De+1+0]=Ds(it,Et,zt),pe[De+3+0]=pe[De+1+32]=Ds(Et,zt,en),pe[De+3+32]=pe[De+1+64]=Ds(zt,en,en),pe[De+3+64]=pe[De+2+64]=pe[De+0+96]=pe[De+1+96]=pe[De+2+96]=pe[De+3+96]=en}function Lg(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96],rn=pe[De-1-32],gn=pe[De+0-32],xn=pe[De+1-32],Rn=pe[De+2-32];pe[De+0+0]=pe[De+2+32]=it+rn+1>>1,pe[De+0+32]=pe[De+2+64]=Et+it+1>>1,pe[De+0+64]=pe[De+2+96]=zt+Et+1>>1,pe[De+0+96]=en+zt+1>>1,pe[De+3+0]=Ds(gn,xn,Rn),pe[De+2+0]=Ds(rn,gn,xn),pe[De+1+0]=pe[De+3+32]=Ds(it,rn,gn),pe[De+1+32]=pe[De+3+64]=Ds(Et,it,rn),pe[De+1+64]=pe[De+3+96]=Ds(zt,Et,it),pe[De+1+96]=Ds(en,zt,Et)}function Op(pe,De){var it;for(it=0;8>it;++it)re(pe,De+32*it,pe,De-32,8)}function l0(pe,De){var it;for(it=0;8>it;++it)ce(pe,De,pe[De-1],8),De+=32}function Ch(pe,De,it){var Et;for(Et=0;8>Et;++Et)ce(De,it+32*Et,pe,8)}function u0(pe,De){var it,Et=8;for(it=0;8>it;++it)Et+=pe[De+it-32]+pe[De-1+32*it];Ch(Et>>4,pe,De)}function Dg(pe,De){var it,Et=4;for(it=0;8>it;++it)Et+=pe[De+it-32];Ch(Et>>3,pe,De)}function Ng(pe,De){var it,Et=4;for(it=0;8>it;++it)Et+=pe[De-1+32*it];Ch(Et>>3,pe,De)}function gm(pe,De){Ch(128,pe,De)}function xh(pe,De,it){var Et=pe[De-it],zt=pe[De+0],en=3*(zt-Et)+c0[1020+pe[De-2*it]-pe[De+it]],rn=Bm[112+(en+4>>3)];pe[De-it]=yd[255+Et+Bm[112+(en+3>>3)]],pe[De+0]=yd[255+zt-rn]}function Og(pe,De,it,Et){var zt=pe[De+0],en=pe[De+it];return Vd[255+pe[De-2*it]-pe[De-it]]>Et||Vd[255+en-zt]>Et}function cg(pe,De,it,Et){return 4*Vd[255+pe[De-it]-pe[De+0]]+Vd[255+pe[De-2*it]-pe[De+it]]<=Et}function Pg(pe,De,it,Et,zt){var en=pe[De-3*it],rn=pe[De-2*it],gn=pe[De-it],xn=pe[De+0],Rn=pe[De+it],xr=pe[De+2*it],ri=pe[De+3*it];return 4*Vd[255+gn-xn]+Vd[255+rn-Rn]>Et?0:Vd[255+pe[De-4*it]-en]<=zt&&Vd[255+en-rn]<=zt&&Vd[255+rn-gn]<=zt&&Vd[255+ri-xr]<=zt&&Vd[255+xr-Rn]<=zt&&Vd[255+Rn-xn]<=zt}function Pp(pe,De,it,Et){var zt=2*Et+1;for(Et=0;16>Et;++Et)cg(pe,De+Et,it,zt)&&xh(pe,De+Et,it)}function Tg(pe,De,it,Et){var zt=2*Et+1;for(Et=0;16>Et;++Et)cg(pe,De+Et*it,1,zt)&&xh(pe,De+Et*it,1)}function mm(pe,De,it,Et){var zt;for(zt=3;0<zt;--zt)Pp(pe,De+=4*it,it,Et)}function vm(pe,De,it,Et){var zt;for(zt=3;0<zt;--zt)Tg(pe,De+=4,it,Et)}function Bh(pe,De,it,Et,zt,en,rn,gn){for(en=2*en+1;0<zt--;){if(Pg(pe,De,it,en,rn))if(Og(pe,De,it,gn))xh(pe,De,it);else{var xn=pe,Rn=De,xr=it,ri=xn[Rn-2*xr],_n=xn[Rn-xr],Tr=xn[Rn+0],Gr=xn[Rn+xr],Mi=xn[Rn+2*xr],qr=27*(Vi=c0[1020+3*(Tr-_n)+c0[1020+ri-Gr]])+63>>7,ji=18*Vi+63>>7,Vi=9*Vi+63>>7;xn[Rn-3*xr]=yd[255+xn[Rn-3*xr]+Vi],xn[Rn-2*xr]=yd[255+ri+ji],xn[Rn-xr]=yd[255+_n+qr],xn[Rn+0]=yd[255+Tr-qr],xn[Rn+xr]=yd[255+Gr-ji],xn[Rn+2*xr]=yd[255+Mi-Vi]}De+=Et}}function Eh(pe,De,it,Et,zt,en,rn,gn){for(en=2*en+1;0<zt--;){if(Pg(pe,De,it,en,rn))if(Og(pe,De,it,gn))xh(pe,De,it);else{var xn=pe,Rn=De,xr=it,ri=xn[Rn-xr],_n=xn[Rn+0],Tr=xn[Rn+xr],Gr=Bm[112+(4+(Mi=3*(_n-ri))>>3)],Mi=Bm[112+(Mi+3>>3)],qr=Gr+1>>1;xn[Rn-2*xr]=yd[255+xn[Rn-2*xr]+qr],xn[Rn-xr]=yd[255+ri+Mi],xn[Rn+0]=yd[255+_n-Gr],xn[Rn+xr]=yd[255+Tr-qr]}De+=Et}}function ym(pe,De,it,Et,zt,en){Bh(pe,De,it,1,16,Et,zt,en)}function Tp(pe,De,it,Et,zt,en){Bh(pe,De,1,it,16,Et,zt,en)}function wm(pe,De,it,Et,zt,en){var rn;for(rn=3;0<rn;--rn)Eh(pe,De+=4*it,it,1,16,Et,zt,en)}function Ye(pe,De,it,Et,zt,en){var rn;for(rn=3;0<rn;--rn)Eh(pe,De+=4,1,it,16,Et,zt,en)}function jt(pe,De,it,Et,zt,en,rn,gn){Bh(pe,De,zt,1,8,en,rn,gn),Bh(it,Et,zt,1,8,en,rn,gn)}function Qn(pe,De,it,Et,zt,en,rn,gn){Bh(pe,De,1,zt,8,en,rn,gn),Bh(it,Et,1,zt,8,en,rn,gn)}function Ar(pe,De,it,Et,zt,en,rn,gn){Eh(pe,De+4*zt,zt,1,8,en,rn,gn),Eh(it,Et+4*zt,zt,1,8,en,rn,gn)}function Hr(pe,De,it,Et,zt,en,rn,gn){Eh(pe,De+4,1,zt,8,en,rn,gn),Eh(it,Et+4,1,zt,8,en,rn,gn)}function Zi(){this.ba=new rl,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ql,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function so(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Ia(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Qa(){this.ua=0,this.Wa=new $s,this.vb=new $s,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new fi,this.yc=new fr}function Ss(){this.xb=this.a=0,this.l=new ag,this.ca=new rl,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Kn,this.Pb=0,this.wd=new Kn,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Qa,this.ab=0,this.gc=Ze(4,Ia),this.Oc=0}function Hs(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ag,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ll(pe,De,it,Et,zt,en,rn){for(pe=pe==null?0:pe[De+0],De=0;De<rn;++De)zt[en+De]=pe+it[Et+De]&255,pe=zt[en+De]}function ic(pe,De,it,Et,zt,en,rn){var gn;if(pe==null)Ll(null,null,it,Et,zt,en,rn);else for(gn=0;gn<rn;++gn)zt[en+gn]=pe[De+gn]+it[Et+gn]&255}function Pc(pe,De,it,Et,zt,en,rn){if(pe==null)Ll(null,null,it,Et,zt,en,rn);else{var gn,xn=pe[De+0],Rn=xn,xr=xn;for(gn=0;gn<rn;++gn)Rn=xr+(xn=pe[De+gn])-Rn,xr=it[Et+gn]+(-256&Rn?0>Rn?0:255:Rn)&255,Rn=xn,zt[en+gn]=xr}}function Fu(pe,De,it,Et){var zt=De.width,en=De.o;if(z(pe!=null&&De!=null),0>it||0>=Et||it+Et>en)return null;if(!pe.Cc){if(pe.ga==null){var rn;if(pe.ga=new Hs,(rn=pe.ga==null)||(rn=De.width*De.o,z(pe.Gb.length==0),pe.Gb=he(rn),pe.Uc=0,pe.Gb==null?rn=0:(pe.mb=pe.Gb,pe.nb=pe.Uc,pe.rc=null,rn=1),rn=!rn),!rn){rn=pe.ga;var gn=pe.Fa,xn=pe.P,Rn=pe.qc,xr=pe.mb,ri=pe.nb,_n=xn+1,Tr=Rn-1,Gr=rn.l;if(z(gn!=null&&xr!=null&&De!=null),ip[0]=null,ip[1]=Ll,ip[2]=ic,ip[3]=Pc,rn.ca=xr,rn.tb=ri,rn.c=De.width,rn.i=De.height,z(0<rn.c&&0<rn.i),1>=Rn)De=0;else if(rn.$a=3&gn[xn+0],rn.Z=gn[xn+0]>>2&3,rn.Lc=gn[xn+0]>>4&3,xn=gn[xn+0]>>6&3,0>rn.$a||1<rn.$a||4<=rn.Z||1<rn.Lc||xn)De=0;else if(Gr.put=hs,Gr.ac=zf,Gr.bc=mh,Gr.ma=rn,Gr.width=De.width,Gr.height=De.height,Gr.Da=De.Da,Gr.v=De.v,Gr.va=De.va,Gr.j=De.j,Gr.o=De.o,rn.$a)e:{z(rn.$a==1),De=Ip();t:for(;;){if(De==null){De=0;break e}if(z(rn!=null),rn.mc=De,De.c=rn.c,De.i=rn.i,De.l=rn.l,De.l.ma=rn,De.l.width=rn.c,De.l.height=rn.i,De.a=0,Ni(De.m,gn,_n,Tr),!Zf(rn.c,rn.i,1,De,null)||(De.ab==1&&De.gc[0].hc==3&&df(De.s)?(rn.ic=1,gn=De.c*De.i,De.Ta=null,De.Ua=0,De.V=he(gn),De.Ba=0,De.V==null?(De.a=1,De=0):De=1):(rn.ic=0,De=Lp(De,rn.c)),!De))break t;De=1;break e}rn.mc=null,De=0}else De=Tr>=rn.c*rn.i;rn=!De}if(rn)return null;pe.ga.Lc!=1?pe.Ga=0:Et=en-it}z(pe.ga!=null),z(it+Et<=en);e:{if(De=(gn=pe.ga).c,en=gn.l.o,gn.$a==0){if(_n=pe.rc,Tr=pe.Vc,Gr=pe.Fa,xn=pe.P+1+it*De,Rn=pe.mb,xr=pe.nb+it*De,z(xn<=pe.P+pe.qc),gn.Z!=0)for(z(ip[gn.Z]!=null),rn=0;rn<Et;++rn)ip[gn.Z](_n,Tr,Gr,xn,Rn,xr,De),_n=Rn,Tr=xr,xr+=De,xn+=De;else for(rn=0;rn<Et;++rn)re(Rn,xr,Gr,xn,De),_n=Rn,Tr=xr,xr+=De,xn+=De;pe.rc=_n,pe.Vc=Tr}else{if(z(gn.mc!=null),De=it+Et,z((rn=gn.mc)!=null),z(De<=rn.i),rn.C>=De)De=1;else if(gn.ic||gf(),gn.ic){gn=rn.V,_n=rn.Ba,Tr=rn.c;var Mi=rn.i,qr=(Gr=1,xn=rn.$/Tr,Rn=rn.$%Tr,xr=rn.m,ri=rn.s,rn.$),ji=Tr*Mi,Vi=Tr*De,wo=ri.wc,lo=qr<Vi?uA(ri,Rn,xn):null;z(qr<=ji),z(De<=Mi),z(df(ri));t:for(;;){for(;!xr.h&&qr<Vi;){if(Rn&wo||(lo=uA(ri,Rn,xn)),z(lo!=null),Jr(xr),256>(Mi=pc(lo.G[0],lo.H[0],xr)))gn[_n+qr]=Mi,++qr,++Rn>=Tr&&(Rn=0,++xn<=De&&!(xn%16)&&ff(rn,xn));else{if(!(280>Mi)){Gr=0;break t}Mi=Qd(Mi-256,xr);var za,Ba=pc(lo.G[4],lo.H[4],xr);if(Jr(xr),!(qr>=(Ba=jd(Tr,Ba=Qd(Ba,xr)))&&ji-qr>=Mi)){Gr=0;break t}for(za=0;za<Mi;++za)gn[_n+qr+za]=gn[_n+qr+za-Ba];for(qr+=Mi,Rn+=Mi;Rn>=Tr;)Rn-=Tr,++xn<=De&&!(xn%16)&&ff(rn,xn);qr<Vi&&Rn&wo&&(lo=uA(ri,Rn,xn))}z(xr.h==vr(xr))}ff(rn,xn>De?De:xn);break t}!Gr||xr.h&&qr<ji?(Gr=0,rn.a=xr.h?5:3):rn.$=qr,De=Gr}else De=hf(rn,rn.V,rn.Ba,rn.c,rn.i,De,rg);if(!De){Et=0;break e}}it+Et>=en&&(pe.Cc=1),Et=1}if(!Et)return null;if(pe.Cc&&((Et=pe.ga)!=null&&(Et.mc=null),pe.ga=null,0<pe.Ga))return alert("todo:WebPDequantizeLevels"),null}return pe.nb+it*zt}function Hc(pe,De,it,Et,zt,en){for(;0<zt--;){var rn,gn=pe,xn=De+(it?1:0),Rn=pe,xr=De+(it?0:3);for(rn=0;rn<Et;++rn){var ri=Rn[xr+4*rn];ri!=255&&(ri*=32897,gn[xn+4*rn+0]=gn[xn+4*rn+0]*ri>>23,gn[xn+4*rn+1]=gn[xn+4*rn+1]*ri>>23,gn[xn+4*rn+2]=gn[xn+4*rn+2]*ri>>23)}De+=en}}function Tc(pe,De,it,Et,zt){for(;0<Et--;){var en;for(en=0;en<it;++en){var rn=pe[De+2*en+0],gn=15&(Rn=pe[De+2*en+1]),xn=4369*gn,Rn=(240&Rn|Rn>>4)*xn>>16;pe[De+2*en+0]=(240&rn|rn>>4)*xn>>16&240|(15&rn|rn<<4)*xn>>16>>4&15,pe[De+2*en+1]=240&Rn|gn}De+=zt}}function cA(pe,De,it,Et,zt,en,rn,gn){var xn,Rn,xr=255;for(Rn=0;Rn<zt;++Rn){for(xn=0;xn<Et;++xn){var ri=pe[De+xn];en[rn+4*xn]=ri,xr&=ri}De+=it,rn+=gn}return xr!=255}function Sh(pe,De,it,Et,zt){var en;for(en=0;en<zt;++en)it[Et+en]=pe[De+en]>>8}function gf(){Wg=Hc,$0=Tc,J0=cA,q0=Sh}function Fh(pe,De,it){Gn[pe]=function(Et,zt,en,rn,gn,xn,Rn,xr,ri,_n,Tr,Gr,Mi,qr,ji,Vi,wo){var lo,za=wo-1>>1,Ba=gn[xn+0]|Rn[xr+0]<<16,Ws=ri[_n+0]|Tr[Gr+0]<<16;z(Et!=null);var Oa=3*Ba+Ws+131074>>2;for(De(Et[zt+0],255&Oa,Oa>>16,Mi,qr),en!=null&&(Oa=3*Ws+Ba+131074>>2,De(en[rn+0],255&Oa,Oa>>16,ji,Vi)),lo=1;lo<=za;++lo){var Cl=gn[xn+lo]|Rn[xr+lo]<<16,Kc=ri[_n+lo]|Tr[Gr+lo]<<16,Vs=Ba+Cl+Ws+Kc+524296,Pa=Vs+2*(Cl+Ws)>>3;Oa=Pa+Ba>>1,Ba=(Vs=Vs+2*(Ba+Kc)>>3)+Cl>>1,De(Et[zt+2*lo-1],255&Oa,Oa>>16,Mi,qr+(2*lo-1)*it),De(Et[zt+2*lo-0],255&Ba,Ba>>16,Mi,qr+(2*lo-0)*it),en!=null&&(Oa=Vs+Ws>>1,Ba=Pa+Kc>>1,De(en[rn+2*lo-1],255&Oa,Oa>>16,ji,Vi+(2*lo-1)*it),De(en[rn+2*lo+0],255&Ba,Ba>>16,ji,Vi+(2*lo+0)*it)),Ba=Cl,Ws=Kc}1&wo||(Oa=3*Ba+Ws+131074>>2,De(Et[zt+wo-1],255&Oa,Oa>>16,Mi,qr+(wo-1)*it),en!=null&&(Oa=3*Ws+Ba+131074>>2,De(en[rn+wo-1],255&Oa,Oa>>16,ji,Vi+(wo-1)*it)))}}function kg(){Gd[Em]=d1,Gd[Sm]=cv,Gd[ov]=f1,Gd[Fm]=Av,Gd[Im]=dv,Gd[A0]=fv,Gd[av]=h1,Gd[d0]=cv,Gd[f0]=Av,Gd[Lm]=dv,Gd[h0]=fv}function Ag(pe){return pe&~p1?0>pe?0:255:pe>>hv}function Gh(pe,De){return Ag((19077*pe>>8)+(26149*De>>8)-14234)}function kp(pe,De,it){return Ag((19077*pe>>8)-(6419*De>>8)-(13320*it>>8)+8708)}function Mp(pe,De){return Ag((19077*pe>>8)+(33050*De>>8)-17685)}function Xh(pe,De,it,Et,zt){Et[zt+0]=Gh(pe,it),Et[zt+1]=kp(pe,De,it),Et[zt+2]=Mp(pe,De)}function AA(pe,De,it,Et,zt){Et[zt+0]=Mp(pe,De),Et[zt+1]=kp(pe,De,it),Et[zt+2]=Gh(pe,it)}function Up(pe,De,it,Et,zt){var en=kp(pe,De,it);De=en<<3&224|Mp(pe,De)>>3,Et[zt+0]=248&Gh(pe,it)|en>>5,Et[zt+1]=De}function Rp(pe,De,it,Et,zt){var en=240&Mp(pe,De)|15;Et[zt+0]=240&Gh(pe,it)|kp(pe,De,it)>>4,Et[zt+1]=en}function Mg(pe,De,it,Et,zt){Et[zt+0]=255,Xh(pe,De,it,Et,zt+1)}function Ug(pe,De,it,Et,zt){AA(pe,De,it,Et,zt),Et[zt+3]=255}function jA(pe,De,it,Et,zt){Xh(pe,De,it,Et,zt),Et[zt+3]=255}function Ih(pe,De,it){Gn[pe]=function(Et,zt,en,rn,gn,xn,Rn,xr,ri){for(var _n=xr+(-2&ri)*it;xr!=_n;)De(Et[zt+0],en[rn+0],gn[xn+0],Rn,xr),De(Et[zt+1],en[rn+0],gn[xn+0],Rn,xr+it),zt+=2,++rn,++xn,xr+=2*it;1&ri&&De(Et[zt+0],en[rn+0],gn[xn+0],Rn,xr)}}function dg(pe,De,it){return it==0?pe==0?De==0?6:5:De==0?4:0:it}function bm(pe,De,it,Et,zt){switch(pe>>>30){case 3:Hp(De,it,Et,zt,0);break;case 2:Wd(De,it,Et,zt);break;case 1:eu(De,it,Et,zt)}}function Zd(pe,De){var it,Et,zt=De.M,en=De.Nb,rn=pe.oc,gn=pe.pc+40,xn=pe.oc,Rn=pe.pc+584,xr=pe.oc,ri=pe.pc+600;for(it=0;16>it;++it)rn[gn+32*it-1]=129;for(it=0;8>it;++it)xn[Rn+32*it-1]=129,xr[ri+32*it-1]=129;for(0<zt?rn[gn-1-32]=xn[Rn-1-32]=xr[ri-1-32]=129:(ce(rn,gn-32-1,127,21),ce(xn,Rn-32-1,127,9),ce(xr,ri-32-1,127,9)),Et=0;Et<pe.za;++Et){var _n=De.ya[De.aa+Et];if(0<Et){for(it=-1;16>it;++it)re(rn,gn+32*it-4,rn,gn+32*it+12,4);for(it=-1;8>it;++it)re(xn,Rn+32*it-4,xn,Rn+32*it+4,4),re(xr,ri+32*it-4,xr,ri+32*it+4,4)}var Tr=pe.Gd,Gr=pe.Hd+Et,Mi=_n.ad,qr=_n.Hc;if(0<zt&&(re(rn,gn-32,Tr[Gr].y,0,16),re(xn,Rn-32,Tr[Gr].f,0,8),re(xr,ri-32,Tr[Gr].ea,0,8)),_n.Za){var ji=rn,Vi=gn-32+16;for(0<zt&&(Et>=pe.za-1?ce(ji,Vi,Tr[Gr].y[15],4):re(ji,Vi,Tr[Gr+1].y,0,4)),it=0;4>it;it++)ji[Vi+128+it]=ji[Vi+256+it]=ji[Vi+384+it]=ji[Vi+0+it];for(it=0;16>it;++it,qr<<=2)ji=rn,Vi=gn+gv[it],mf[_n.Ob[it]](ji,Vi),bm(qr,Mi,16*+it,ji,Vi)}else if(ji=dg(Et,zt,_n.Ob[0]),rp[ji](rn,gn),qr!=0)for(it=0;16>it;++it,qr<<=2)bm(qr,Mi,16*+it,rn,gn+gv[it]);for(it=_n.Gc,ji=dg(Et,zt,_n.Dd),Nh[ji](xn,Rn),Nh[ji](xr,ri),qr=Mi,ji=xn,Vi=Rn,255&(_n=0|it)&&(170&_n?$f(qr,256,ji,Vi):vu(qr,256,ji,Vi)),_n=xr,qr=ri,255&(it>>=8)&&(170&it?$f(Mi,320,_n,qr):vu(Mi,320,_n,qr)),zt<pe.Ub-1&&(re(Tr[Gr].y,0,rn,gn+480,16),re(Tr[Gr].f,0,xn,Rn+224,8),re(Tr[Gr].ea,0,xr,ri+224,8)),it=8*en*pe.B,Tr=pe.sa,Gr=pe.ta+16*Et+16*en*pe.R,Mi=pe.qa,_n=pe.ra+8*Et+it,qr=pe.Ha,ji=pe.Ia+8*Et+it,it=0;16>it;++it)re(Tr,Gr+it*pe.R,rn,gn+32*it,16);for(it=0;8>it;++it)re(Mi,_n+it*pe.B,xn,Rn+32*it,8),re(qr,ji+it*pe.B,xr,ri+32*it,8)}}function _p(pe,De,it,Et,zt,en,rn,gn,xn){var Rn=[0],xr=[0],ri=0,_n=xn!=null?xn.kd:0,Tr=xn!=null?xn:new so;if(pe==null||12>it)return 7;Tr.data=pe,Tr.w=De,Tr.ha=it,De=[De],it=[it],Tr.gb=[Tr.gb];e:{var Gr=De,Mi=it,qr=Tr.gb;if(z(pe!=null),z(Mi!=null),z(qr!=null),qr[0]=0,12<=Mi[0]&&!E(pe,Gr[0],"RIFF")){if(E(pe,Gr[0]+8,"WEBP")){qr=3;break e}var ji=qa(pe,Gr[0]+4);if(12>ji||4294967286<ji){qr=3;break e}if(_n&&ji>Mi[0]-8){qr=7;break e}qr[0]=ji,Gr[0]+=12,Mi[0]-=12}qr=0}if(qr!=0)return qr;for(ji=0<Tr.gb[0],it=it[0];;){e:{var Vi=pe;Mi=De,qr=it;var wo=Rn,lo=xr,za=Gr=[0];if((Oa=ri=[ri])[0]=0,8>qr[0])qr=7;else{if(!E(Vi,Mi[0],"VP8X")){if(qa(Vi,Mi[0]+4)!=10){qr=3;break e}if(18>qr[0]){qr=7;break e}var Ba=qa(Vi,Mi[0]+8),Ws=1+sa(Vi,Mi[0]+12);if(2147483648<=Ws*(Vi=1+sa(Vi,Mi[0]+15))){qr=3;break e}za!=null&&(za[0]=Ba),wo!=null&&(wo[0]=Ws),lo!=null&&(lo[0]=Vi),Mi[0]+=18,qr[0]-=18,Oa[0]=1}qr=0}}if(ri=ri[0],Gr=Gr[0],qr!=0)return qr;if(Mi=!!(2&Gr),!ji&&ri)return 3;if(en!=null&&(en[0]=!!(16&Gr)),rn!=null&&(rn[0]=Mi),gn!=null&&(gn[0]=0),rn=Rn[0],Gr=xr[0],ri&&Mi&&xn==null){qr=0;break}if(4>it){qr=7;break}if(ji&&ri||!ji&&!ri&&!E(pe,De[0],"ALPH")){it=[it],Tr.na=[Tr.na],Tr.P=[Tr.P],Tr.Sa=[Tr.Sa];e:{Ba=pe,qr=De,ji=it;var Oa=Tr.gb;wo=Tr.na,lo=Tr.P,za=Tr.Sa,Ws=22,z(Ba!=null),z(ji!=null),Vi=qr[0];var Cl=ji[0];for(z(wo!=null),z(za!=null),wo[0]=null,lo[0]=null,za[0]=0;;){if(qr[0]=Vi,ji[0]=Cl,8>Cl){qr=7;break e}var Kc=qa(Ba,Vi+4);if(4294967286<Kc){qr=3;break e}var Vs=8+Kc+1&-2;if(Ws+=Vs,0<Oa&&Ws>Oa){qr=3;break e}if(!E(Ba,Vi,"VP8 ")||!E(Ba,Vi,"VP8L")){qr=0;break e}if(Cl[0]<Vs){qr=7;break e}E(Ba,Vi,"ALPH")||(wo[0]=Ba,lo[0]=Vi+8,za[0]=Kc),Vi+=Vs,Cl-=Vs}}if(it=it[0],Tr.na=Tr.na[0],Tr.P=Tr.P[0],Tr.Sa=Tr.Sa[0],qr!=0)break}it=[it],Tr.Ja=[Tr.Ja],Tr.xa=[Tr.xa];e:if(Oa=pe,qr=De,ji=it,wo=Tr.gb[0],lo=Tr.Ja,za=Tr.xa,Ba=qr[0],Vi=!E(Oa,Ba,"VP8 "),Ws=!E(Oa,Ba,"VP8L"),z(Oa!=null),z(ji!=null),z(lo!=null),z(za!=null),8>ji[0])qr=7;else{if(Vi||Ws){if(Oa=qa(Oa,Ba+4),12<=wo&&Oa>wo-12){qr=3;break e}if(_n&&Oa>ji[0]-8){qr=7;break e}lo[0]=Oa,qr[0]+=8,ji[0]-=8,za[0]=Ws}else za[0]=5<=ji[0]&&Oa[Ba+0]==47&&!(Oa[Ba+4]>>5),lo[0]=ji[0];qr=0}if(it=it[0],Tr.Ja=Tr.Ja[0],Tr.xa=Tr.xa[0],De=De[0],qr!=0)break;if(4294967286<Tr.Ja)return 3;if(gn==null||Mi||(gn[0]=Tr.xa?2:1),rn=[rn],Gr=[Gr],Tr.xa){if(5>it){qr=7;break}gn=rn,_n=Gr,Mi=en,pe==null||5>it?pe=0:5<=it&&pe[De+0]==47&&!(pe[De+4]>>5)?(ji=[0],Oa=[0],wo=[0],Ni(lo=new Kn,pe,De,it),vh(lo,ji,Oa,wo)?(gn!=null&&(gn[0]=ji[0]),_n!=null&&(_n[0]=Oa[0]),Mi!=null&&(Mi[0]=wo[0]),pe=1):pe=0):pe=0}else{if(10>it){qr=7;break}gn=Gr,pe==null||10>it||!cm(pe,De+3,it-3)?pe=0:(_n=pe[De+0]|pe[De+1]<<8|pe[De+2]<<16,Mi=16383&(pe[De+7]<<8|pe[De+6]),pe=16383&(pe[De+9]<<8|pe[De+8]),1&_n||3<(_n>>1&7)||!(_n>>4&1)||_n>>5>=Tr.Ja||!Mi||!pe?pe=0:(rn&&(rn[0]=Mi),gn&&(gn[0]=pe),pe=1))}if(!pe||(rn=rn[0],Gr=Gr[0],ri&&(Rn[0]!=rn||xr[0]!=Gr)))return 3;xn!=null&&(xn[0]=Tr,xn.offset=De-xn.w,z(4294967286>De-xn.w),z(xn.offset==xn.ha-it));break}return qr==0||qr==7&&ri&&xn==null?(en!=null&&(en[0]|=Tr.na!=null&&0<Tr.na.length),Et!=null&&(Et[0]=rn),zt!=null&&(zt[0]=Gr),0):qr}function Rg(pe,De,it){var Et=De.width,zt=De.height,en=0,rn=0,gn=Et,xn=zt;if(De.Da=pe!=null&&0<pe.Da,De.Da&&(gn=pe.cd,xn=pe.bd,en=pe.v,rn=pe.j,11>it||(en&=-2,rn&=-2),0>en||0>rn||0>=gn||0>=xn||en+gn>Et||rn+xn>zt))return 0;if(De.v=en,De.j=rn,De.va=en+gn,De.o=rn+xn,De.U=gn,De.T=xn,De.da=pe!=null&&0<pe.da,De.da){if(!cs(gn,xn,it=[pe.ib],en=[pe.hb]))return 0;De.ib=it[0],De.hb=en[0]}return De.ob=pe!=null&&pe.ob,De.Kb=pe==null||!pe.Sd,De.da&&(De.ob=De.ib<3*Et/4&&De.hb<3*zt/4,De.Kb=0),1}function _g(pe){if(pe==null)return 2;if(11>pe.S){var De=pe.f.RGBA;De.fb+=(pe.height-1)*De.A,De.A=-De.A}else De=pe.f.kb,pe=pe.height,De.O+=(pe-1)*De.fa,De.fa=-De.fa,De.N+=(pe-1>>1)*De.Ab,De.Ab=-De.Ab,De.W+=(pe-1>>1)*De.Db,De.Db=-De.Db,De.F!=null&&(De.J+=(pe-1)*De.lb,De.lb=-De.lb);return 0}function Yh(pe,De,it,Et){if(Et==null||0>=pe||0>=De)return 2;if(it!=null){if(it.Da){var zt=it.cd,en=it.bd,rn=-2&it.v,gn=-2&it.j;if(0>rn||0>gn||0>=zt||0>=en||rn+zt>pe||gn+en>De)return 2;pe=zt,De=en}if(it.da){if(!cs(pe,De,zt=[it.ib],en=[it.hb]))return 2;pe=zt[0],De=en[0]}}Et.width=pe,Et.height=De;e:{var xn=Et.width,Rn=Et.height;if(pe=Et.S,0>=xn||0>=Rn||!(pe>=Em&&13>pe))pe=2;else{if(0>=Et.Rd&&Et.sd==null){rn=en=zt=De=0;var xr=(gn=xn*mv[pe])*Rn;if(11>pe||(en=(Rn+1)/2*(De=(xn+1)/2),pe==12&&(rn=(zt=xn)*Rn)),(Rn=he(xr+2*en+rn))==null){pe=1;break e}Et.sd=Rn,11>pe?((xn=Et.f.RGBA).eb=Rn,xn.fb=0,xn.A=gn,xn.size=xr):((xn=Et.f.kb).y=Rn,xn.O=0,xn.fa=gn,xn.Fd=xr,xn.f=Rn,xn.N=0+xr,xn.Ab=De,xn.Cd=en,xn.ea=Rn,xn.W=0+xr+en,xn.Db=De,xn.Ed=en,pe==12&&(xn.F=Rn,xn.J=0+xr+2*en),xn.Tc=rn,xn.lb=zt)}if(De=1,zt=Et.S,en=Et.width,rn=Et.height,zt>=Em&&13>zt)if(11>zt)pe=Et.f.RGBA,De&=(gn=Math.abs(pe.A))*(rn-1)+en<=pe.size,De&=gn>=en*mv[zt],De&=pe.eb!=null;else{pe=Et.f.kb,gn=(en+1)/2,xr=(rn+1)/2,xn=Math.abs(pe.fa),Rn=Math.abs(pe.Ab);var ri=Math.abs(pe.Db),_n=Math.abs(pe.lb),Tr=_n*(rn-1)+en;De&=xn*(rn-1)+en<=pe.Fd,De&=Rn*(xr-1)+gn<=pe.Cd,De=(De&=ri*(xr-1)+gn<=pe.Ed)&xn>=en&Rn>=gn&ri>=gn,De&=pe.y!=null,De&=pe.f!=null,De&=pe.ea!=null,zt==12&&(De&=_n>=en,De&=Tr<=pe.Tc,De&=pe.F!=null)}else De=0;pe=De?0:2}}return pe!=0||it!=null&&it.fd&&(pe=_g(Et)),pe}var Qp=64,md=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],vd=24,$h=32,Lh=8,Jh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Sa("Predictor0","PredictorAdd0"),Gn.Predictor0=function(){return 4278190080},Gn.Predictor1=function(pe){return pe},Gn.Predictor2=function(pe,De,it){return De[it+0]},Gn.Predictor3=function(pe,De,it){return De[it+1]},Gn.Predictor4=function(pe,De,it){return De[it-1]},Gn.Predictor5=function(pe,De,it){return ts(ts(pe,De[it+1]),De[it+0])},Gn.Predictor6=function(pe,De,it){return ts(pe,De[it-1])},Gn.Predictor7=function(pe,De,it){return ts(pe,De[it+0])},Gn.Predictor8=function(pe,De,it){return ts(De[it-1],De[it+0])},Gn.Predictor9=function(pe,De,it){return ts(De[it+0],De[it+1])},Gn.Predictor10=function(pe,De,it){return ts(ts(pe,De[it-1]),ts(De[it+0],De[it+1]))},Gn.Predictor11=function(pe,De,it){var Et=De[it+0];return 0>=Rs(Et>>24&255,pe>>24&255,(De=De[it-1])>>24&255)+Rs(Et>>16&255,pe>>16&255,De>>16&255)+Rs(Et>>8&255,pe>>8&255,De>>8&255)+Rs(255&Et,255&pe,255&De)?Et:pe},Gn.Predictor12=function(pe,De,it){var Et=De[it+0];return(Jl((pe>>24&255)+(Et>>24&255)-((De=De[it-1])>>24&255))<<24|Jl((pe>>16&255)+(Et>>16&255)-(De>>16&255))<<16|Jl((pe>>8&255)+(Et>>8&255)-(De>>8&255))<<8|Jl((255&pe)+(255&Et)-(255&De)))>>>0},Gn.Predictor13=function(pe,De,it){var Et=De[it-1];return(pl((pe=ts(pe,De[it+0]))>>24&255,Et>>24&255)<<24|pl(pe>>16&255,Et>>16&255)<<16|pl(pe>>8&255,Et>>8&255)<<8|pl(255&pe,255&Et))>>>0};var Qg=Gn.PredictorAdd0;Gn.PredictorAdd1=bl,Sa("Predictor2","PredictorAdd2"),Sa("Predictor3","PredictorAdd3"),Sa("Predictor4","PredictorAdd4"),Sa("Predictor5","PredictorAdd5"),Sa("Predictor6","PredictorAdd6"),Sa("Predictor7","PredictorAdd7"),Sa("Predictor8","PredictorAdd8"),Sa("Predictor9","PredictorAdd9"),Sa("Predictor10","PredictorAdd10"),Sa("Predictor11","PredictorAdd11"),Sa("Predictor12","PredictorAdd12"),Sa("Predictor13","PredictorAdd13");var fg=Gn.PredictorAdd2;Ka("ColorIndexInverseTransform","MapARGB","32b",function(pe){return pe>>8&255},function(pe){return pe}),Ka("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(pe){return pe},function(pe){return pe>>8&255});var Sc,Cm=Gn.ColorIndexInverseTransform,Xf=Gn.MapARGB,Yf=Gn.VP8LColorIndexInverseTransformAlpha,jg=Gn.MapAlpha,Hg=Gn.VP8LPredictorsAdd=[];Hg.length=16,(Gn.VP8LPredictors=[]).length=16,(Gn.VP8LPredictorsAdd_C=[]).length=16,(Gn.VP8LPredictors_C=[]).length=16;var zg,Kg,qh,ep,tp,jp,np,Hp,Wd,$f,eu,vu,Fc,zc,Dh,Zg,hg,xm,Z0,W0,V0,G0,X0,Y0,Wg,$0,J0,q0,ev=he(511),tv=he(2041),nv=he(225),rv=he(767),iv=0,c0=tv,Bm=nv,yd=rv,Vd=ev,Em=0,Sm=1,ov=2,Fm=3,Im=4,A0=5,av=6,d0=7,f0=8,Lm=9,h0=10,Jv=[2,3,7],qv=[3,3,11],sv=[280,256,256,256,40],e1=[0,1,1,1,0],t1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],i1=8,p0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],g0=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Vg=null,o1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],a1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],s1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],l1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],u1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],c1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],rp=[],mf=[],Nh=[],A1=1,uv=2,ip=[],Gd=[];Fh("UpsampleRgbLinePair",Xh,3),Fh("UpsampleBgrLinePair",AA,3),Fh("UpsampleRgbaLinePair",jA,4),Fh("UpsampleBgraLinePair",Ug,4),Fh("UpsampleArgbLinePair",Mg,4),Fh("UpsampleRgba4444LinePair",Rp,2),Fh("UpsampleRgb565LinePair",Up,2);var d1=Gn.UpsampleRgbLinePair,f1=Gn.UpsampleBgrLinePair,cv=Gn.UpsampleRgbaLinePair,Av=Gn.UpsampleBgraLinePair,dv=Gn.UpsampleArgbLinePair,fv=Gn.UpsampleRgba4444LinePair,h1=Gn.UpsampleRgb565LinePair,Dm=16,Nm=1<<Dm-1,Gg=-227,m0=482,hv=6,p1=(256<<hv)-1,pv=0,g1=he(256),m1=he(256),v1=he(256),y1=he(256),w1=he(m0-Gg),b1=he(m0-Gg);Ih("YuvToRgbRow",Xh,3),Ih("YuvToBgrRow",AA,3),Ih("YuvToRgbaRow",jA,4),Ih("YuvToBgraRow",Ug,4),Ih("YuvToArgbRow",Mg,4),Ih("YuvToRgba4444Row",Rp,2),Ih("YuvToRgb565Row",Up,2);var gv=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Om=[0,2,8],C1=[8,7,6,4,4,2,2,2,1,1,1,1],x1=1;this.WebPDecodeRGBA=function(pe,De,it,Et,zt){var en=Sm,rn=new Zi,gn=new rl;rn.ba=gn,gn.S=en,gn.width=[gn.width],gn.height=[gn.height];var xn=gn.width,Rn=gn.height,xr=new fs;if(xr==null||pe==null)var ri=2;else z(xr!=null),ri=_p(pe,De,it,xr.width,xr.height,xr.Pd,xr.Qd,xr.format,null);if(ri!=0?xn=0:(xn!=null&&(xn[0]=xr.width[0]),Rn!=null&&(Rn[0]=xr.height[0]),xn=1),xn){gn.width=gn.width[0],gn.height=gn.height[0],Et!=null&&(Et[0]=gn.width),zt!=null&&(zt[0]=gn.height);e:{if(Et=new ag,(zt=new so).data=pe,zt.w=De,zt.ha=it,zt.kd=1,De=[0],z(zt!=null),((pe=_p(zt.data,zt.w,zt.ha,null,null,null,De,null,zt))==0||pe==7)&&De[0]&&(pe=4),(De=pe)==0){if(z(rn!=null),Et.data=zt.data,Et.w=zt.w+zt.offset,Et.ha=zt.ha-zt.offset,Et.put=hs,Et.ac=zf,Et.bc=mh,Et.ma=rn,zt.xa){if((pe=Ip())==null){rn=1;break e}if(function(_n,Tr){var Gr=[0],Mi=[0],qr=[0];t:for(;;){if(_n==null)return 0;if(Tr==null)return _n.a=2,0;if(_n.l=Tr,_n.a=0,Ni(_n.m,Tr.data,Tr.w,Tr.ha),!vh(_n.m,Gr,Mi,qr)){_n.a=3;break t}if(_n.xb=uv,Tr.width=Gr[0],Tr.height=Mi[0],!Zf(Gr[0],Mi[0],1,_n,null))break t;return 1}return z(_n.a!=0),0}(pe,Et)){if(Et=(De=Yh(Et.width,Et.height,rn.Oa,rn.ba))==0){t:{Et=pe;n:for(;;){if(Et==null){Et=0;break t}if(z(Et.s.yc!=null),z(Et.s.Ya!=null),z(0<Et.s.Wb),z((it=Et.l)!=null),z((zt=it.ma)!=null),Et.xb!=0){if(Et.ca=zt.ba,Et.tb=zt.tb,z(Et.ca!=null),!Rg(zt.Oa,it,Fm)){Et.a=2;break n}if(!Lp(Et,it.width)||it.da)break n;if((it.da||ms(Et.ca.S))&&gf(),11>Et.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Et.ca.f.kb.F!=null&&gf()),Et.Pb&&0<Et.s.ua&&Et.s.vb.X==null&&!Mn(Et.s.vb,Et.s.Wa.Xa)){Et.a=1;break n}Et.xb=0}if(!hf(Et,Et.V,Et.Ba,Et.c,Et.i,it.o,Vh))break n;zt.Dc=Et.Ma,Et=1;break t}z(Et.a!=0),Et=0}Et=!Et}Et&&(De=pe.a)}else De=pe.a}else{if((pe=new Xm)==null){rn=1;break e}if(pe.Fa=zt.na,pe.P=zt.P,pe.qc=zt.Sa,Vf(pe,Et)){if((De=Yh(Et.width,Et.height,rn.Oa,rn.ba))==0){if(pe.Aa=0,it=rn.Oa,z((zt=pe)!=null),it!=null){if(0<(xn=0>(xn=it.Md)?0:100<xn?255:255*xn/100)){for(Rn=xr=0;4>Rn;++Rn)12>(ri=zt.pb[Rn]).lc&&(ri.ia=xn*C1[0>ri.lc?0:ri.lc]>>3),xr|=ri.ia;xr&&(alert("todo:VP8InitRandom"),zt.ia=1)}zt.Ga=it.Id,100<zt.Ga?zt.Ga=100:0>zt.Ga&&(zt.Ga=0)}(function(_n,Tr){if(_n==null)return 0;if(Tr==null)return Oc(_n,2,"NULL VP8Io parameter in VP8Decode().");if(!_n.cb&&!Vf(_n,Tr))return 0;if(z(_n.cb),Tr.ac==null||Tr.ac(Tr)){Tr.ob&&(_n.L=0);var Gr=Om[_n.L];if(_n.L==2?(_n.yb=0,_n.zb=0):(_n.yb=Tr.v-Gr>>4,_n.zb=Tr.j-Gr>>4,0>_n.yb&&(_n.yb=0),0>_n.zb&&(_n.zb=0)),_n.Va=Tr.o+15+Gr>>4,_n.Hb=Tr.va+15+Gr>>4,_n.Hb>_n.za&&(_n.Hb=_n.za),_n.Va>_n.Ub&&(_n.Va=_n.Ub),0<_n.L){var Mi=_n.ed;for(Gr=0;4>Gr;++Gr){var qr;if(_n.Qa.Cb){var ji=_n.Qa.Lb[Gr];_n.Qa.Fb||(ji+=Mi.Tb)}else ji=Mi.Tb;for(qr=0;1>=qr;++qr){var Vi=_n.gd[Gr][qr],wo=ji;if(Mi.Pc&&(wo+=Mi.vd[0],qr&&(wo+=Mi.od[0])),0<(wo=0>wo?0:63<wo?63:wo)){var lo=wo;0<Mi.wb&&(lo=4<Mi.wb?lo>>2:lo>>1)>9-Mi.wb&&(lo=9-Mi.wb),1>lo&&(lo=1),Vi.dd=lo,Vi.tc=2*wo+lo,Vi.ld=40<=wo?2:15<=wo?1:0}else Vi.tc=0;Vi.La=qr}}}Gr=0}else Oc(_n,6,"Frame setup failed"),Gr=_n.a;if(Gr=Gr==0){if(Gr){_n.$c=0,0<_n.Aa||(_n.Ic=x1);t:{Gr=_n.Ic,Mi=4*(lo=_n.za);var za=32*lo,Ba=lo+1,Ws=0<_n.L?lo*(0<_n.Aa?2:1):0,Oa=(_n.Aa==2?2:1)*lo;if((Vi=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.R,Qs),re(Pa.qa,Pa.ra-Ru,gc,Fl+8*Pa.B,Ru),re(Pa.Ha,Pa.Ia-Ru,OA,zA+8*Pa.B,Ru))}if(!Ic)return Oc(Cl,6,"Output aborted.")}return 1}(_n,Tr)),Tr.bc!=null&&Tr.bc(Tr),Gr&=1}return Gr?(_n.cb=0,Gr):0})(pe,Et)||(De=pe.a)}}else De=pe.a}De==0&&rn.Oa!=null&&rn.Oa.fd&&(De=_g(rn.ba))}rn=De}en=rn!=0?null:11>en?gn.f.RGBA.eb:gn.f.kb.y}else en=null;return en};var mv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function $e(Gn,Vr){for(var cn="",kn=0;kn<4;kn++)cn+=String.fromCharCode(Gn[Vr++]);return cn}function gt(Gn,Vr){return Gn[Vr+0]|Gn[Vr+1]<<8}function Ut(Gn,Vr){return(Gn[Vr+0]|Gn[Vr+1]<<8|Gn[Vr+2]<<16)>>>0}function qt(Gn,Vr){return(Gn[Vr+0]|Gn[Vr+1]<<8|Gn[Vr+2]<<16|Gn[Vr+3]<<24)>>>0}new Xe;var ft=[0],Dn=[0],Bn=[],Tn=new Xe,fn=y,hr=function(Gn,Vr){var cn={},kn=0,fr=!1,sr=0,fi=0;if(cn.frames=[],!function(on,Kn){for(var qn=0;qn<4;qn++)if(on[Kn+qn]!="RIFF".charCodeAt(qn))return!0;return!1}(Gn,Vr)){for(qt(Gn,Vr+=4),Vr+=8;Vr<Gn.length;){var wi=$e(Gn,Vr),Fi=qt(Gn,Vr+=4);Vr+=4;var ei=Fi+(1&Fi);switch(wi){case"VP8 ":case"VP8L":cn.frames[kn]===void 0&&(cn.frames[kn]={}),(io=cn.frames[kn]).src_off=fr?fi:Vr-8,io.src_size=sr+Fi+8,kn++,fr&&(fr=!1,sr=0,fi=0);break;case"VP8X":(io=cn.header={}).feature_flags=Gn[Vr];var Ni=Vr+4;io.canvas_width=1+Ut(Gn,Ni),Ni+=3,io.canvas_height=1+Ut(Gn,Ni),Ni+=3;break;case"ALPH":fr=!0,sr=ei+8,fi=Vr-8;break;case"ANIM":(io=cn.header).bgcolor=qt(Gn,Vr),Ni=Vr+4,io.loop_count=gt(Gn,Ni),Ni+=2;break;case"ANMF":var ko,io;(io=cn.frames[kn]={}).offset_x=2*Ut(Gn,Vr),Vr+=3,io.offset_y=2*Ut(Gn,Vr),Vr+=3,io.width=1+Ut(Gn,Vr),Vr+=3,io.height=1+Ut(Gn,Vr),Vr+=3,io.duration=Ut(Gn,Vr),Vr+=3,ko=Gn[Vr++],io.dispose=1&ko,io.blend=ko>>1&1}wi!="ANMF"&&(Vr+=ei)}return cn}}(fn,0);hr.response=fn,hr.rgbaoutput=!0,hr.dataurl=!1;var ir=hr.header?hr.header:null,Wn=hr.frames?hr.frames:null;if(ir){ir.loop_counter=ir.loop_count,ft=[ir.canvas_height],Dn=[ir.canvas_width];for(var oi=0;oi<Wn.length&&Wn[oi].blend!=0;oi++);}var Ui=Wn[0],Ei=Tn.WebPDecodeRGBA(fn,Ui.src_off,Ui.src_size,Dn,ft);Ui.rgba=Ei,Ui.imgwidth=Dn[0],Ui.imgheight=ft[0];for(var Fr=0;Fr<Dn[0]*ft[0]*4;Fr++)Bn[Fr]=Ei[Fr];return this.width=Dn,this.height=ft,this.data=Bn,this}(function(y){var z,E,re,ce,he,Ze,Ue,Xe,$e,gt=function(on){return on=on||{},this.isStrokeTransparent=on.isStrokeTransparent||!1,this.strokeOpacity=on.strokeOpacity||1,this.strokeStyle=on.strokeStyle||"#000000",this.fillStyle=on.fillStyle||"#000000",this.isFillTransparent=on.isFillTransparent||!1,this.fillOpacity=on.fillOpacity||1,this.font=on.font||"10px sans-serif",this.textBaseline=on.textBaseline||"alphabetic",this.textAlign=on.textAlign||"left",this.lineWidth=on.lineWidth||1,this.lineJoin=on.lineJoin||"miter",this.lineCap=on.lineCap||"butt",this.path=on.path||[],this.transform=on.transform!==void 0?on.transform.clone():new Xe,this.globalCompositeOperation=on.globalCompositeOperation||"normal",this.globalAlpha=on.globalAlpha||1,this.clip_path=on.clip_path||[],this.currentPoint=on.currentPoint||new Ze,this.miterLimit=on.miterLimit||10,this.lastPoint=on.lastPoint||new Ze,this.lineDashOffset=on.lineDashOffset||0,this.lineDash=on.lineDash||[],this.margin=on.margin||[0,0,0,0],this.prevPageLastElemOffset=on.prevPageLastElemOffset||0,this.ignoreClearRect=typeof on.ignoreClearRect!="boolean"||on.ignoreClearRect,this};y.events.push(["initialized",function(){this.context2d=new Ut(this),z=this.internal.f2,E=this.internal.getCoordinateString,re=this.internal.getVerticalCoordinateString,ce=this.internal.getHorizontalCoordinate,he=this.internal.getVerticalCoordinate,Ze=this.internal.Point,Ue=this.internal.Rectangle,Xe=this.internal.Matrix,$e=new gt}]);var Ut=function(on){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Kn=on;Object.defineProperty(this,"pdf",{get:function(){return Kn}});var qn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return qn},set:function(Mn){qn=!!Mn}});var vr=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return vr},set:function(Mn){vr=!!Mn}});var kr=0;Object.defineProperty(this,"posX",{get:function(){return kr},set:function(Mn){isNaN(Mn)||(kr=Mn)}});var Jr=0;Object.defineProperty(this,"posY",{get:function(){return Jr},set:function(Mn){isNaN(Mn)||(Jr=Mn)}}),Object.defineProperty(this,"margin",{get:function(){return $e.margin},set:function(Mn){var ca;typeof Mn=="number"?ca=[Mn,Mn,Mn,Mn]:((ca=new Array(4))[0]=Mn[0],ca[1]=Mn.length>=2?Mn[1]:ca[0],ca[2]=Mn.length>=3?Mn[2]:ca[0],ca[3]=Mn.length>=4?Mn[3]:ca[1]),$e.margin=ca}});var Si=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Si},set:function(Mn){Si=Mn}});var Li=0;Object.defineProperty(this,"lastBreak",{get:function(){return Li},set:function(Mn){Li=Mn}});var Yi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Yi},set:function(Mn){Yi=Mn}}),Object.defineProperty(this,"ctx",{get:function(){return $e},set:function(Mn){Mn instanceof gt&&($e=Mn)}}),Object.defineProperty(this,"path",{get:function(){return $e.path},set:function(Mn){$e.path=Mn}});var Eo=[];Object.defineProperty(this,"ctxStack",{get:function(){return Eo},set:function(Mn){Eo=Mn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mn){var ca;ca=qt(Mn),this.ctx.fillStyle=ca.style,this.ctx.isFillTransparent=ca.a===0,this.ctx.fillOpacity=ca.a,this.pdf.setFillColor(ca.r,ca.g,ca.b,{a:ca.a}),this.pdf.setTextColor(ca.r,ca.g,ca.b,{a:ca.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mn){var ca=qt(Mn);this.ctx.strokeStyle=ca.style,this.ctx.isStrokeTransparent=ca.a===0,this.ctx.strokeOpacity=ca.a,ca.a===0?this.pdf.setDrawColor(255,255,255):(ca.a,this.pdf.setDrawColor(ca.r,ca.g,ca.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mn){["butt","round","square"].indexOf(Mn)!==-1&&(this.ctx.lineCap=Mn,this.pdf.setLineCap(Mn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mn){isNaN(Mn)||(this.ctx.lineWidth=Mn,this.pdf.setLineWidth(Mn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mn){["bevel","round","miter"].indexOf(Mn)!==-1&&(this.ctx.lineJoin=Mn,this.pdf.setLineJoin(Mn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mn){isNaN(Mn)||(this.ctx.miterLimit=Mn,this.pdf.setMiterLimit(Mn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mn){this.ctx.textBaseline=Mn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mn){["right","end","center","left","start"].indexOf(Mn)!==-1&&(this.ctx.textAlign=Mn)}});var ua=null,sa=null,qa=null;Object.defineProperty(this,"fontFaces",{get:function(){return qa},set:function(Mn){ua=null,sa=null,qa=Mn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mn){var ca;if(this.ctx.font=Mn,(ca=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Mn))!==null){var $s=ca[1];ca[2];var cs=ca[3],mo=ca[4];ca[5];var As=ca[6],Sa=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mo)[2];mo=Math.floor(Sa==="px"?parseFloat(mo)*this.pdf.internal.scaleFactor:Sa==="em"?parseFloat(mo)*this.pdf.getFontSize():parseFloat(mo)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mo);var ss=function(Ka){var Ec,Il,qs=[],el=Ka.trim();if(el==="")return Zm;if(el in _f)return[_f[el]];for(;el!=="";){switch(Il=null,Ec=(el=Qf(el)).charAt(0)){case'"':case"'":Il=uf(el.substring(1),Ec);break;default:Il=Zh(el)}if(Il===null||(qs.push(Il[0]),(el=Qf(Il[1]))!==""&&el.charAt(0)!==","))return Zm;el=el.replace(/^,/,"")}return qs}(As);if(this.fontFaces){var ts=function(Ka,Ec){var Il=Ka.getFontList(),qs=JSON.stringify(Il);if(ua===null||sa!==qs){var el=function(Wu){var is=[];return Object.keys(Wu).forEach(function(Su){Wu[Su].forEach(function(ms){var _s=null;switch(ms){case"bold":_s={family:Su,weight:"bold"};break;case"italic":_s={family:Su,style:"italic"};break;case"bolditalic":_s={family:Su,weight:"bold",style:"italic"};break;case"":case"normal":_s={family:Su}}_s!==null&&(_s.ref={name:Su,style:ms},is.push(_s))})}),is}(Il);ua=function(Wu){for(var is={},Su=0;Su<Wu.length;++Su){var ms=JA(Wu[Su]),_s=ms.family,Vu=ms.stretch,rl=ms.style,fs=ms.weight;is[_s]=is[_s]||{},is[_s][Vu]=is[_s][Vu]||{},is[_s][Vu][rl]=is[_s][Vu][rl]||{},is[_s][Vu][rl][fs]=ms}return is}(el.concat(Ec)),sa=qs}return ua}(this.pdf,this.fontFaces),Jl=ss.map(function(Ka){return{family:Ka,stretch:"normal",weight:cs,style:$s}}),pl=function(Ka,Ec,Il){for(var qs=(Il=Il||{}).defaultFontFamily||"times",el=Object.assign({},ph,Il.genericFontFamilies||{}),Wu=null,is=null,Su=0;Su<Ec.length;++Su)if(el[(Wu=JA(Ec[Su])).family]&&(Wu.family=el[Wu.family]),Ka.hasOwnProperty(Wu.family)){is=Ka[Wu.family];break}if(!(is=is||Ka[qs]))throw new Error("Could not find a font-family for the rule '"+_d(Wu)+"' and default family '"+qs+"'.");if(is=function(ms,_s){if(_s[ms])return _s[ms];var Vu=nA[ms],rl=Vu<=nA.normal?-1:1,fs=lf(_s,sf,Vu,rl);if(!fs)throw new Error("Could not find a matching font-stretch value for "+ms);return fs}(Wu.stretch,is),is=function(ms,_s){if(_s[ms])return _s[ms];for(var Vu=Nc[ms],rl=0;rl<Vu.length;++rl)if(_s[Vu[rl]])return _s[Vu[rl]];throw new Error("Could not find a matching font-style for "+ms)}(Wu.style,is),!(is=function(ms,_s){if(_s[ms])return _s[ms];if(ms===400&&_s[500])return _s[500];if(ms===500&&_s[400])return _s[400];var Vu=hh[ms],rl=lf(_s,lA,Vu,ms<400?-1:1);if(!rl)throw new Error("Could not find a matching font-weight for value "+ms);return rl}(Wu.weight,is)))throw new Error("Failed to resolve a font for the rule '"+_d(Wu)+"'.");return is}(ts,Jl);this.pdf.setFont(pl.ref.name,pl.ref.style)}else{var Rs="";(cs==="bold"||parseInt(cs,10)>=700||$s==="bold")&&(Rs="bold"),$s==="italic"&&(Rs+="italic"),Rs.length===0&&(Rs="normal");for(var bl="",gl={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},_a=0;_a<ss.length;_a++){if(this.pdf.internal.getFont(ss[_a],Rs,{noFallback:!0,disableWarning:!0})!==void 0){bl=ss[_a];break}if(Rs==="bolditalic"&&this.pdf.internal.getFont(ss[_a],"bold",{noFallback:!0,disableWarning:!0})!==void 0)bl=ss[_a],Rs="bold";else if(this.pdf.internal.getFont(ss[_a],"normal",{noFallback:!0,disableWarning:!0})!==void 0){bl=ss[_a],Rs="normal";break}}if(bl===""){for(var js=0;js<ss.length;js++)if(gl[ss[js]]){bl=gl[ss[js]];break}}bl=bl===""?"Times":bl,this.pdf.setFont(bl,Rs)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Mn){this.ctx.globalCompositeOperation=Mn}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Mn){this.ctx.globalAlpha=Mn}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Mn){this.ctx.lineDashOffset=Mn,io.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Mn){this.ctx.lineDash=Mn,io.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Mn){this.ctx.ignoreClearRect=!!Mn}})};Ut.prototype.setLineDash=function(on){this.lineDash=on},Ut.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Ut.prototype.fill=function(){Wn.call(this,"fill",!1)},Ut.prototype.stroke=function(){Wn.call(this,"stroke",!1)},Ut.prototype.beginPath=function(){this.path=[{type:"begin"}]},Ut.prototype.moveTo=function(on,Kn){if(isNaN(on)||isNaN(Kn))throw dl.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var qn=this.ctx.transform.applyToPoint(new Ze(on,Kn));this.path.push({type:"mt",x:qn.x,y:qn.y}),this.ctx.lastPoint=new Ze(on,Kn)},Ut.prototype.closePath=function(){var on=new Ze(0,0),Kn=0;for(Kn=this.path.length-1;Kn!==-1;Kn--)if(this.path[Kn].type==="begin"&&(0,x.Z)(this.path[Kn+1])==="object"&&typeof this.path[Kn+1].x=="number"){on=new Ze(this.path[Kn+1].x,this.path[Kn+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Ze(on.x,on.y)},Ut.prototype.lineTo=function(on,Kn){if(isNaN(on)||isNaN(Kn))throw dl.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var qn=this.ctx.transform.applyToPoint(new Ze(on,Kn));this.path.push({type:"lt",x:qn.x,y:qn.y}),this.ctx.lastPoint=new Ze(qn.x,qn.y)},Ut.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Wn.call(this,null,!0)},Ut.prototype.quadraticCurveTo=function(on,Kn,qn,vr){if(isNaN(qn)||isNaN(vr)||isNaN(on)||isNaN(Kn))throw dl.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var kr=this.ctx.transform.applyToPoint(new Ze(qn,vr)),Jr=this.ctx.transform.applyToPoint(new Ze(on,Kn));this.path.push({type:"qct",x1:Jr.x,y1:Jr.y,x:kr.x,y:kr.y}),this.ctx.lastPoint=new Ze(kr.x,kr.y)},Ut.prototype.bezierCurveTo=function(on,Kn,qn,vr,kr,Jr){if(isNaN(kr)||isNaN(Jr)||isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Si=this.ctx.transform.applyToPoint(new Ze(kr,Jr)),Li=this.ctx.transform.applyToPoint(new Ze(on,Kn)),Yi=this.ctx.transform.applyToPoint(new Ze(qn,vr));this.path.push({type:"bct",x1:Li.x,y1:Li.y,x2:Yi.x,y2:Yi.y,x:Si.x,y:Si.y}),this.ctx.lastPoint=new Ze(Si.x,Si.y)},Ut.prototype.arc=function(on,Kn,qn,vr,kr,Jr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr)||isNaN(kr))throw dl.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Jr=!!Jr,!this.ctx.transform.isIdentity){var Si=this.ctx.transform.applyToPoint(new Ze(on,Kn));on=Si.x,Kn=Si.y;var Li=this.ctx.transform.applyToPoint(new Ze(0,qn)),Yi=this.ctx.transform.applyToPoint(new Ze(0,0));qn=Math.sqrt(Math.pow(Li.x-Yi.x,2)+Math.pow(Li.y-Yi.y,2))}Math.abs(kr-vr)>=2*Math.PI&&(vr=0,kr=2*Math.PI),this.path.push({type:"arc",x:on,y:Kn,radius:qn,startAngle:vr,endAngle:kr,counterclockwise:Jr})},Ut.prototype.arcTo=function(on,Kn,qn,vr,kr){throw new Error("arcTo not implemented.")},Ut.prototype.rect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(on,Kn),this.lineTo(on+qn,Kn),this.lineTo(on+qn,Kn+vr),this.lineTo(on,Kn+vr),this.lineTo(on,Kn),this.lineTo(on+qn,Kn),this.lineTo(on,Kn)},Ut.prototype.fillRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ft.call(this)){var kr={};this.lineCap!=="butt"&&(kr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(kr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(on,Kn,qn,vr),this.fill(),kr.hasOwnProperty("lineCap")&&(this.lineCap=kr.lineCap),kr.hasOwnProperty("lineJoin")&&(this.lineJoin=kr.lineJoin)}},Ut.prototype.strokeRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Dn.call(this)||(this.beginPath(),this.rect(on,Kn,qn,vr),this.stroke())},Ut.prototype.clearRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(on,Kn,qn,vr))},Ut.prototype.save=function(on){on=typeof on!="boolean"||on;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,qn=0;qn<this.pdf.internal.getNumberOfPages();qn++)this.pdf.setPage(qn+1),this.pdf.internal.out("q");if(this.pdf.setPage(Kn),on){this.ctx.fontSize=this.pdf.internal.getFontSize();var vr=new gt(this.ctx);this.ctxStack.push(this.ctx),this.ctx=vr}},Ut.prototype.restore=function(on){on=typeof on!="boolean"||on;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,qn=0;qn<this.pdf.internal.getNumberOfPages();qn++)this.pdf.setPage(qn+1),this.pdf.internal.out("Q");this.pdf.setPage(Kn),on&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},Ut.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var qt=function(on){var Kn,qn,vr,kr;if(on.isCanvasGradient===!0&&(on=on.getColor()),!on)return{r:0,g:0,b:0,a:0,style:on};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(on))Kn=0,qn=0,vr=0,kr=0;else{var Jr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(on);if(Jr!==null)Kn=parseInt(Jr[1]),qn=parseInt(Jr[2]),vr=parseInt(Jr[3]),kr=1;else if((Jr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(on))!==null)Kn=parseInt(Jr[1]),qn=parseInt(Jr[2]),vr=parseInt(Jr[3]),kr=parseFloat(Jr[4]);else{if(kr=1,typeof on=="string"&&on.charAt(0)!=="#"){var Si=new Jg(on);on=Si.ok?Si.toHex():"#000000"}on.length===4?(Kn=on.substring(1,2),Kn+=Kn,qn=on.substring(2,3),qn+=qn,vr=on.substring(3,4),vr+=vr):(Kn=on.substring(1,3),qn=on.substring(3,5),vr=on.substring(5,7)),Kn=parseInt(Kn,16),qn=parseInt(qn,16),vr=parseInt(vr,16)}}return{r:Kn,g:qn,b:vr,a:kr,style:on}},ft=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Dn=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Ut.prototype.fillText=function(on,Kn,qn,vr){if(isNaN(Kn)||isNaN(qn)||typeof on!="string")throw dl.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(vr=isNaN(vr)?void 0:vr,!ft.call(this)){var kr=ei(this.ctx.transform.rotation),Jr=this.ctx.transform.scaleX;kn.call(this,{text:on,x:Kn,y:qn,scale:Jr,angle:kr,align:this.textAlign,maxWidth:vr})}},Ut.prototype.strokeText=function(on,Kn,qn,vr){if(isNaN(Kn)||isNaN(qn)||typeof on!="string")throw dl.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Dn.call(this)){vr=isNaN(vr)?void 0:vr;var kr=ei(this.ctx.transform.rotation),Jr=this.ctx.transform.scaleX;kn.call(this,{text:on,x:Kn,y:qn,scale:Jr,renderingMode:"stroke",angle:kr,align:this.textAlign,maxWidth:vr})}},Ut.prototype.measureText=function(on){if(typeof on!="string")throw dl.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Kn=this.pdf,qn=this.pdf.internal.scaleFactor,vr=Kn.internal.getFontSize(),kr=Kn.getStringUnitWidth(on)*vr/Kn.internal.scaleFactor;return new function(Jr){var Si=(Jr=Jr||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Si}}),this}({width:kr*=Math.round(96*qn/72*1e4)/1e4})},Ut.prototype.scale=function(on,Kn){if(isNaN(on)||isNaN(Kn))throw dl.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var qn=new Xe(on,0,0,Kn,0,0);this.ctx.transform=this.ctx.transform.multiply(qn)},Ut.prototype.rotate=function(on){if(isNaN(on))throw dl.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Kn=new Xe(Math.cos(on),Math.sin(on),-Math.sin(on),Math.cos(on),0,0);this.ctx.transform=this.ctx.transform.multiply(Kn)},Ut.prototype.translate=function(on,Kn){if(isNaN(on)||isNaN(Kn))throw dl.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var qn=new Xe(1,0,0,1,on,Kn);this.ctx.transform=this.ctx.transform.multiply(qn)},Ut.prototype.transform=function(on,Kn,qn,vr,kr,Jr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr)||isNaN(kr)||isNaN(Jr))throw dl.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Si=new Xe(on,Kn,qn,vr,kr,Jr);this.ctx.transform=this.ctx.transform.multiply(Si)},Ut.prototype.setTransform=function(on,Kn,qn,vr,kr,Jr){on=isNaN(on)?1:on,Kn=isNaN(Kn)?0:Kn,qn=isNaN(qn)?0:qn,vr=isNaN(vr)?1:vr,kr=isNaN(kr)?0:kr,Jr=isNaN(Jr)?0:Jr,this.ctx.transform=new Xe(on,Kn,qn,vr,kr,Jr)};var Bn=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ut.prototype.drawImage=function(on,Kn,qn,vr,kr,Jr,Si,Li,Yi){var Eo=this.pdf.getImageProperties(on),ua=1,sa=1,qa=1,Mn=1;vr!==void 0&&Li!==void 0&&(qa=Li/vr,Mn=Yi/kr,ua=Eo.width/vr*Li/vr,sa=Eo.height/kr*Yi/kr),Jr===void 0&&(Jr=Kn,Si=qn,Kn=0,qn=0),vr!==void 0&&Li===void 0&&(Li=vr,Yi=kr),vr===void 0&&Li===void 0&&(Li=Eo.width,Yi=Eo.height);var ca=this.ctx.transform.decompose(),$s=ei(ca.rotate.shx),cs=new Xe,mo=(cs=(cs=(cs=cs.multiply(ca.translate)).multiply(ca.skew)).multiply(ca.scale)).applyToRectangle(new Ue(Jr-Kn*qa,Si-qn*Mn,vr*ua,kr*sa));if(this.autoPaging){for(var As,Sa=Tn.call(this,mo),ss=[],ts=0;ts<Sa.length;ts+=1)ss.indexOf(Sa[ts])===-1&&ss.push(Sa[ts]);ir(ss);for(var Jl=ss[0],pl=ss[ss.length-1],Rs=Jl;Rs<pl+1;Rs++){this.pdf.setPage(Rs);var bl=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],gl=Rs===1?this.posY+this.margin[0]:this.margin[0],_a=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],js=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ka=Rs===1?0:_a+(Rs-2)*js;if(this.ctx.clip_path.length!==0){var Ec=this.path;As=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=hr(As,this.posX+this.margin[3],-Ka+gl+this.ctx.prevPageLastElemOffset),oi.call(this,"fill",!0),this.path=Ec}var Il=JSON.parse(JSON.stringify(mo));Il=hr([Il],this.posX+this.margin[3],-Ka+gl+this.ctx.prevPageLastElemOffset)[0];var qs=(Rs>Jl||Rs<pl)&&Bn.call(this);qs&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],bl,js,null).clip().discardPath()),this.pdf.addImage(on,"JPEG",Il.x,Il.y,Il.w,Il.h,null,null,$s),qs&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(on,"JPEG",mo.x,mo.y,mo.w,mo.h,null,null,$s)};var Tn=function(on,Kn,qn){var vr=[];Kn=Kn||this.pdf.internal.pageSize.width,qn=qn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var kr=this.posY+this.ctx.prevPageLastElemOffset;switch(on.type){default:case"mt":case"lt":vr.push(Math.floor((on.y+kr)/qn)+1);break;case"arc":vr.push(Math.floor((on.y+kr-on.radius)/qn)+1),vr.push(Math.floor((on.y+kr+on.radius)/qn)+1);break;case"qct":var Jr=Ni(this.ctx.lastPoint.x,this.ctx.lastPoint.y,on.x1,on.y1,on.x,on.y);vr.push(Math.floor((Jr.y+kr)/qn)+1),vr.push(Math.floor((Jr.y+Jr.h+kr)/qn)+1);break;case"bct":var Si=ko(this.ctx.lastPoint.x,this.ctx.lastPoint.y,on.x1,on.y1,on.x2,on.y2,on.x,on.y);vr.push(Math.floor((Si.y+kr)/qn)+1),vr.push(Math.floor((Si.y+Si.h+kr)/qn)+1);break;case"rect":vr.push(Math.floor((on.y+kr)/qn)+1),vr.push(Math.floor((on.y+on.h+kr)/qn)+1)}for(var Li=0;Li<vr.length;Li+=1)for(;this.pdf.internal.getNumberOfPages()<vr[Li];)fn.call(this);return vr},fn=function(){var on=this.fillStyle,Kn=this.strokeStyle,qn=this.font,vr=this.lineCap,kr=this.lineWidth,Jr=this.lineJoin;this.pdf.addPage(),this.fillStyle=on,this.strokeStyle=Kn,this.font=qn,this.lineCap=vr,this.lineWidth=kr,this.lineJoin=Jr},hr=function(on,Kn,qn){for(var vr=0;vr<on.length;vr++)switch(on[vr].type){case"bct":on[vr].x2+=Kn,on[vr].y2+=qn;case"qct":on[vr].x1+=Kn,on[vr].y1+=qn;default:on[vr].x+=Kn,on[vr].y+=qn}return on},ir=function(on){return on.sort(function(Kn,qn){return Kn-qn})},Wn=function(on,Kn){var qn=this.fillStyle,vr=this.strokeStyle,kr=this.lineCap,Jr=this.lineWidth,Si=Math.abs(Jr*this.ctx.transform.scaleX),Li=this.lineJoin;if(this.autoPaging){for(var Yi,Eo,ua=JSON.parse(JSON.stringify(this.path)),sa=JSON.parse(JSON.stringify(this.path)),qa=[],Mn=0;Mn<sa.length;Mn++)if(sa[Mn].x!==void 0)for(var ca=Tn.call(this,sa[Mn]),$s=0;$s<ca.length;$s+=1)qa.indexOf(ca[$s])===-1&&qa.push(ca[$s]);for(var cs=0;cs<qa.length;cs++)for(;this.pdf.internal.getNumberOfPages()<qa[cs];)fn.call(this);ir(qa);for(var mo=qa[0],As=qa[qa.length-1],Sa=mo;Sa<As+1;Sa++){this.pdf.setPage(Sa),this.fillStyle=qn,this.strokeStyle=vr,this.lineCap=kr,this.lineWidth=Si,this.lineJoin=Li;var ss=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ts=Sa===1?this.posY+this.margin[0]:this.margin[0],Jl=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],pl=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Rs=Sa===1?0:Jl+(Sa-2)*pl;if(this.ctx.clip_path.length!==0){var bl=this.path;Yi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=hr(Yi,this.posX+this.margin[3],-Rs+ts+this.ctx.prevPageLastElemOffset),oi.call(this,on,!0),this.path=bl}if(Eo=JSON.parse(JSON.stringify(ua)),this.path=hr(Eo,this.posX+this.margin[3],-Rs+ts+this.ctx.prevPageLastElemOffset),Kn===!1||Sa===0){var gl=(Sa>mo||Sa<As)&&Bn.call(this);gl&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ss,pl,null).clip().discardPath()),oi.call(this,on,Kn),gl&&this.pdf.restoreGraphicsState()}this.lineWidth=Jr}this.path=ua}else this.lineWidth=Si,oi.call(this,on,Kn),this.lineWidth=Jr},oi=function(on,Kn){if((on!=="stroke"||Kn||!Dn.call(this))&&(on==="stroke"||Kn||!ft.call(this))){for(var qn,vr,kr=[],Jr=this.path,Si=0;Si<Jr.length;Si++){var Li=Jr[Si];switch(Li.type){case"begin":kr.push({begin:!0});break;case"close":kr.push({close:!0});break;case"mt":kr.push({start:Li,deltas:[],abs:[]});break;case"lt":var Yi=kr.length;if(Jr[Si-1]&&!isNaN(Jr[Si-1].x)&&(qn=[Li.x-Jr[Si-1].x,Li.y-Jr[Si-1].y],Yi>0)){for(;Yi>=0;Yi--)if(kr[Yi-1].close!==!0&&kr[Yi-1].begin!==!0){kr[Yi-1].deltas.push(qn),kr[Yi-1].abs.push(Li);break}}break;case"bct":qn=[Li.x1-Jr[Si-1].x,Li.y1-Jr[Si-1].y,Li.x2-Jr[Si-1].x,Li.y2-Jr[Si-1].y,Li.x-Jr[Si-1].x,Li.y-Jr[Si-1].y],kr[kr.length-1].deltas.push(qn);break;case"qct":var Eo=Jr[Si-1].x+2/3*(Li.x1-Jr[Si-1].x),ua=Jr[Si-1].y+2/3*(Li.y1-Jr[Si-1].y),sa=Li.x+2/3*(Li.x1-Li.x),qa=Li.y+2/3*(Li.y1-Li.y),Mn=Li.x,ca=Li.y;qn=[Eo-Jr[Si-1].x,ua-Jr[Si-1].y,sa-Jr[Si-1].x,qa-Jr[Si-1].y,Mn-Jr[Si-1].x,ca-Jr[Si-1].y],kr[kr.length-1].deltas.push(qn);break;case"arc":kr.push({deltas:[],abs:[],arc:!0}),Array.isArray(kr[kr.length-1].abs)&&kr[kr.length-1].abs.push(Li)}}vr=Kn?null:on==="stroke"?"stroke":"fill";for(var $s=!1,cs=0;cs<kr.length;cs++)if(kr[cs].arc)for(var mo=kr[cs].abs,As=0;As<mo.length;As++){var Sa=mo[As];Sa.type==="arc"?Fr.call(this,Sa.x,Sa.y,Sa.radius,Sa.startAngle,Sa.endAngle,Sa.counterclockwise,void 0,Kn,!$s):fr.call(this,Sa.x,Sa.y),$s=!0}else if(kr[cs].close===!0)this.pdf.internal.out("h"),$s=!1;else if(kr[cs].begin!==!0){var ss=kr[cs].start.x,ts=kr[cs].start.y;sr.call(this,kr[cs].deltas,ss,ts),$s=!0}vr&&Gn.call(this,vr),Kn&&Vr.call(this)}},Ui=function(on){var Kn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,qn=Kn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return on-qn;case"top":return on+Kn-qn;case"hanging":return on+Kn-2*qn;case"middle":return on+Kn/2-qn;default:return on}},Ei=function(on){return on+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Ut.prototype.createLinearGradient=function(){var on=function(){};return on.colorStops=[],on.addColorStop=function(Kn,qn){this.colorStops.push([Kn,qn])},on.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},on.isCanvasGradient=!0,on},Ut.prototype.createPattern=function(){return this.createLinearGradient()},Ut.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Fr=function(on,Kn,qn,vr,kr,Jr,Si,Li,Yi){for(var Eo=wi.call(this,qn,vr,kr,Jr),ua=0;ua<Eo.length;ua++){var sa=Eo[ua];ua===0&&(Yi?cn.call(this,sa.x1+on,sa.y1+Kn):fr.call(this,sa.x1+on,sa.y1+Kn)),fi.call(this,on,Kn,sa.x2,sa.y2,sa.x3,sa.y3,sa.x4,sa.y4)}Li?Vr.call(this):Gn.call(this,Si)},Gn=function(on){switch(on){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Vr=function(){this.pdf.clip(),this.pdf.discardPath()},cn=function(on,Kn){this.pdf.internal.out(E(on)+" "+re(Kn)+" m")},kn=function(on){var Kn;switch(on.align){case"right":case"end":Kn="right";break;case"center":Kn="center";break;default:Kn="left"}var qn,vr,kr,Jr=this.pdf.getTextDimensions(on.text),Si=Ui.call(this,on.y),Li=Ei.call(this,Si)-Jr.h,Yi=this.ctx.transform.applyToPoint(new Ze(on.x,Si));if(this.autoPaging){var Eo=this.ctx.transform.decompose(),ua=new Xe;ua=(ua=(ua=ua.multiply(Eo.translate)).multiply(Eo.skew)).multiply(Eo.scale);for(var sa=this.ctx.transform.applyToRectangle(new Ue(on.x,Si,Jr.w,Jr.h)),qa=ua.applyToRectangle(new Ue(on.x,Li,Jr.w,Jr.h)),Mn=Tn.call(this,qa),ca=[],$s=0;$s<Mn.length;$s+=1)ca.indexOf(Mn[$s])===-1&&ca.push(Mn[$s]);ir(ca);for(var cs=ca[0],mo=ca[ca.length-1],As=cs;As<mo+1;As++){this.pdf.setPage(As);var Sa=As===1?this.posY+this.margin[0]:this.margin[0],ss=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ts=this.pdf.internal.pageSize.height-this.margin[2],Jl=ts-this.margin[0],pl=this.pdf.internal.pageSize.width-this.margin[1],Rs=pl-this.margin[3],bl=As===1?0:ss+(As-2)*Jl;if(this.ctx.clip_path.length!==0){var gl=this.path;qn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=hr(qn,this.posX+this.margin[3],-1*bl+Sa),oi.call(this,"fill",!0),this.path=gl}var _a=hr([JSON.parse(JSON.stringify(qa))],this.posX+this.margin[3],-bl+Sa+this.ctx.prevPageLastElemOffset)[0];on.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*on.scale),kr=this.lineWidth,this.lineWidth=kr*on.scale);var js=this.autoPaging!=="text";if(js||_a.y+_a.h<=ts){if(js||_a.y>=Sa&&_a.x<=pl){var Ka=js?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||pl-_a.x)[0],Ec=hr([JSON.parse(JSON.stringify(sa))],this.posX+this.margin[3],-bl+Sa+this.ctx.prevPageLastElemOffset)[0],Il=js&&(As>cs||As<mo)&&Bn.call(this);Il&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Rs,Jl,null).clip().discardPath()),this.pdf.text(Ka,Ec.x,Ec.y,{angle:on.angle,align:Kn,renderingMode:on.renderingMode}),Il&&this.pdf.restoreGraphicsState()}}else _a.y<ts&&(this.ctx.prevPageLastElemOffset+=ts-_a.y);on.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=kr)}}else on.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*on.scale),kr=this.lineWidth,this.lineWidth=kr*on.scale),this.pdf.text(on.text,Yi.x+this.posX,Yi.y+this.posY,{angle:on.angle,align:Kn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=kr)},fr=function(on,Kn,qn,vr){qn=qn||0,vr=vr||0,this.pdf.internal.out(E(on+qn)+" "+re(Kn+vr)+" l")},sr=function(on,Kn,qn){return this.pdf.lines(on,Kn,qn,null,null)},fi=function(on,Kn,qn,vr,kr,Jr,Si,Li){this.pdf.internal.out([z(ce(qn+on)),z(he(vr+Kn)),z(ce(kr+on)),z(he(Jr+Kn)),z(ce(Si+on)),z(he(Li+Kn)),"c"].join(" "))},wi=function(on,Kn,qn,vr){for(var kr=2*Math.PI,Jr=Math.PI/2;Kn>qn;)Kn-=kr;var Si=Math.abs(qn-Kn);Si<kr&&vr&&(Si=kr-Si);for(var Li=[],Yi=vr?-1:1,Eo=Kn;Si>1e-5;){var ua=Eo+Yi*Math.min(Si,Jr);Li.push(Fi.call(this,on,Eo,ua)),Si-=Math.abs(ua-Eo),Eo=ua}return Li},Fi=function(on,Kn,qn){var vr=(qn-Kn)/2,kr=on*Math.cos(vr),Jr=on*Math.sin(vr),Si=kr,Li=-Jr,Yi=Si*Si+Li*Li,Eo=Yi+Si*kr+Li*Jr,ua=4/3*(Math.sqrt(2*Yi*Eo)-Eo)/(Si*Jr-Li*kr),sa=Si-ua*Li,qa=Li+ua*Si,Mn=sa,ca=-qa,$s=vr+Kn,cs=Math.cos($s),mo=Math.sin($s);return{x1:on*Math.cos(Kn),y1:on*Math.sin(Kn),x2:sa*cs-qa*mo,y2:sa*mo+qa*cs,x3:Mn*cs-ca*mo,y3:Mn*mo+ca*cs,x4:on*Math.cos(qn),y4:on*Math.sin(qn)}},ei=function(on){return 180*on/Math.PI},Ni=function(on,Kn,qn,vr,kr,Jr){var Si=on+.5*(qn-on),Li=Kn+.5*(vr-Kn),Yi=kr+.5*(qn-kr),Eo=Jr+.5*(vr-Jr),ua=Math.min(on,kr,Si,Yi),sa=Math.max(on,kr,Si,Yi),qa=Math.min(Kn,Jr,Li,Eo),Mn=Math.max(Kn,Jr,Li,Eo);return new Ue(ua,qa,sa-ua,Mn-qa)},ko=function(on,Kn,qn,vr,kr,Jr,Si,Li){var Yi,Eo,ua,sa,qa,Mn,ca,$s,cs,mo,As,Sa,ss,ts,Jl=qn-on,pl=vr-Kn,Rs=kr-qn,bl=Jr-vr,gl=Si-kr,_a=Li-Jr;for(Eo=0;Eo<41;Eo++)cs=(ca=(ua=on+(Yi=Eo/40)*Jl)+Yi*((qa=qn+Yi*Rs)-ua))+Yi*(qa+Yi*(kr+Yi*gl-qa)-ca),mo=($s=(sa=Kn+Yi*pl)+Yi*((Mn=vr+Yi*bl)-sa))+Yi*(Mn+Yi*(Jr+Yi*_a-Mn)-$s),Eo==0?(As=cs,Sa=mo,ss=cs,ts=mo):(As=Math.min(As,cs),Sa=Math.min(Sa,mo),ss=Math.max(ss,cs),ts=Math.max(ts,mo));return new Ue(Math.round(As),Math.round(Sa),Math.round(ss-As),Math.round(ts-Sa))},io=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,Kn,qn=(on=this.ctx.lineDash,Kn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:Kn}));this.prevLineDash!==qn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=qn)}}})(Na.API),function(y){var z=function(Ze){var Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn;for(/[^\x00-\xFF]/.test(Ze),Xe=[],$e=0,gt=(Ze+=Ue="\0\0\0\0".slice(Ze.length%4||4)).length;gt>$e;$e+=4)(Ut=(Ze.charCodeAt($e)<<24)+(Ze.charCodeAt($e+1)<<16)+(Ze.charCodeAt($e+2)<<8)+Ze.charCodeAt($e+3))!==0?(qt=(Ut=((Ut=((Ut=((Ut=(Ut-(Tn=Ut%85))/85)-(Bn=Ut%85))/85)-(Dn=Ut%85))/85)-(ft=Ut%85))/85)%85,Xe.push(qt+33,ft+33,Dn+33,Bn+33,Tn+33)):Xe.push(122);return function(fn,hr){for(var ir=hr;ir>0;ir--)fn.pop()}(Xe,Ue.length),String.fromCharCode.apply(String,Xe)+"~>"},E=function(Ze){var Ue,Xe,$e,gt,Ut,qt=String,ft="length",Dn=255,Bn="charCodeAt",Tn="slice",fn="replace";for(Ze[Tn](-2),Ze=Ze[Tn](0,-2)[fn](/\s/g,"")[fn]("z","!!!!!"),$e=[],gt=0,Ut=(Ze+=Ue="uuuuu"[Tn](Ze[ft]%5||5))[ft];Ut>gt;gt+=5)Xe=52200625*(Ze[Bn](gt)-33)+614125*(Ze[Bn](gt+1)-33)+7225*(Ze[Bn](gt+2)-33)+85*(Ze[Bn](gt+3)-33)+(Ze[Bn](gt+4)-33),$e.push(Dn&Xe>>24,Dn&Xe>>16,Dn&Xe>>8,Dn&Xe);return function(hr,ir){for(var Wn=ir;Wn>0;Wn--)hr.pop()}($e,Ue[ft]),qt.fromCharCode.apply(qt,$e)},re=function(Ze){return Ze.split("").map(function(Ue){return("0"+Ue.charCodeAt().toString(16)).slice(-2)}).join("")+">"},ce=function(Ze){var Ue=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ze=Ze.replace(/\s/g,"")).indexOf(">")!==-1&&(Ze=Ze.substr(0,Ze.indexOf(">"))),Ze.length%2&&(Ze+="0"),Ue.test(Ze)===!1)return"";for(var Xe="",$e=0;$e<Ze.length;$e+=2)Xe+=String.fromCharCode("0x"+(Ze[$e]+Ze[$e+1]));return Xe},he=function(Ze){for(var Ue=new Uint8Array(Ze.length),Xe=Ze.length;Xe--;)Ue[Xe]=Ze.charCodeAt(Xe);return(Ue=Ai(Ue)).reduce(function($e,gt){return $e+String.fromCharCode(gt)},"")};y.processDataByFilters=function(Ze,Ue){var Xe=0,$e=Ze||"",gt=[];for(typeof(Ue=Ue||[])=="string"&&(Ue=[Ue]),Xe=0;Xe<Ue.length;Xe+=1)switch(Ue[Xe]){case"ASCII85Decode":case"/ASCII85Decode":$e=E($e),gt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":$e=z($e),gt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":$e=ce($e),gt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":$e=re($e),gt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":$e=he($e),gt.push("/FlateDecode");break;default:throw new Error('The filter: "'+Ue[Xe]+'" is not implemented')}return{data:$e,reverseChain:gt.reverse().join(" ")}}}(Na.API),function(y){y.loadFile=function(z,E,re){return function(ce,he,Ze){he=he!==!1,Ze=typeof Ze=="function"?Ze:function(){};var Ue=void 0;try{Ue=function(Xe,$e,gt){var Ut=new XMLHttpRequest,qt=0,ft=function(Dn){var Bn=Dn.length,Tn=[],fn=String.fromCharCode;for(qt=0;qt<Bn;qt+=1)Tn.push(fn(255&Dn.charCodeAt(qt)));return Tn.join("")};if(Ut.open("GET",Xe,!$e),Ut.overrideMimeType("text/plain; charset=x-user-defined"),$e===!1&&(Ut.onload=function(){Ut.status===200?gt(ft(this.responseText)):gt(void 0)}),Ut.send(null),$e&&Ut.status===200)return ft(Ut.responseText)}(ce,he,Ze)}catch(Xe){}return Ue}(z,E,re)},y.loadImageFile=y.loadFile}(Na.API),function(y){function z(){return(Ra.html2canvas?Promise.resolve(Ra.html2canvas):Promise.resolve().then(ae.t.bind(ae,64270,23))).catch(function(Ue){return Promise.reject(new Error("Could not load html2canvas: "+Ue))}).then(function(Ue){return Ue.default?Ue.default:Ue})}function E(){return(Ra.DOMPurify?Promise.resolve(Ra.DOMPurify):ae.e(8384).then(ae.bind(ae,78384))).catch(function(Ue){return Promise.reject(new Error("Could not load dompurify: "+Ue))}).then(function(Ue){return Ue.default?Ue.default:Ue})}var re=function(Ue){var Xe=(0,x.Z)(Ue);return Xe==="undefined"?"undefined":Xe==="string"||Ue instanceof String?"string":Xe==="number"||Ue instanceof Number?"number":Xe==="function"||Ue instanceof Function?"function":Ue&&Ue.constructor===Array?"array":Ue&&Ue.nodeType===1?"element":Xe==="object"?"object":"unknown"},ce=function(Ue,Xe){var $e=document.createElement(Ue);for(var gt in Xe.className&&($e.className=Xe.className),Xe.innerHTML&&Xe.dompurify&&($e.innerHTML=Xe.dompurify.sanitize(Xe.innerHTML)),Xe.style)$e.style[gt]=Xe.style[gt];return $e},he=function Ue(Xe,$e){for(var gt=Xe.nodeType===3?document.createTextNode(Xe.nodeValue):Xe.cloneNode(!1),Ut=Xe.firstChild;Ut;Ut=Ut.nextSibling)$e!==!0&&Ut.nodeType===1&&Ut.nodeName==="SCRIPT"||gt.appendChild(Ue(Ut,$e));return Xe.nodeType===1&&(Xe.nodeName==="CANVAS"?(gt.width=Xe.width,gt.height=Xe.height,gt.getContext("2d").drawImage(Xe,0,0)):Xe.nodeName!=="TEXTAREA"&&Xe.nodeName!=="SELECT"||(gt.value=Xe.value),gt.addEventListener("load",function(){gt.scrollTop=Xe.scrollTop,gt.scrollLeft=Xe.scrollLeft},!0)),gt},Ze=function Ue(Xe){var $e=Object.assign(Ue.convert(Promise.resolve()),JSON.parse(JSON.stringify(Ue.template))),gt=Ue.convert(Promise.resolve(),$e);return(gt=gt.setProgress(1,Ue,1,[Ue])).set(Xe)};(Ze.prototype=Object.create(Promise.prototype)).constructor=Ze,Ze.convert=function(Ue,Xe){return Ue.__proto__=Xe||Ze.prototype,Ue},Ze.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},Ze.prototype.from=function(Ue,Xe){return this.then(function(){switch(Xe=Xe||function($e){switch(re($e)){case"string":return"string";case"element":return $e.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Ue),Xe){case"string":return this.then(E).then(function($e){return this.set({src:ce("div",{innerHTML:Ue,dompurify:$e})})});case"element":return this.set({src:Ue});case"canvas":return this.set({canvas:Ue});case"img":return this.set({img:Ue});default:return this.error("Unknown source type.")}})},Ze.prototype.to=function(Ue){switch(Ue){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.")}},Ze.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var Ue={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},Xe=he(this.prop.src,this.opt.html2canvas.javascriptEnabled);Xe.tagName==="BODY"&&(Ue.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=ce("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=ce("div",{className:"html2pdf__container",style:Ue}),this.prop.container.appendChild(Xe),this.prop.container.firstChild.appendChild(ce("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},Ze.prototype.toCanvas=function(){var Ue=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ue).then(z).then(function(Xe){var $e=Object.assign({},this.opt.html2canvas);return delete $e.onrendered,Xe(this.prop.container,$e)}).then(function(Xe){(this.opt.html2canvas.onrendered||function(){})(Xe),this.prop.canvas=Xe,document.body.removeChild(this.prop.overlay)})},Ze.prototype.toContext2d=function(){var Ue=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ue).then(z).then(function(Xe){var $e=this.opt.jsPDF,gt=this.opt.fontFaces,Ut=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,qt=Object.assign({async:!0,allowTaint:!0,scale:Ut,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete qt.onrendered,$e.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,$e.context2d.posX=this.opt.x,$e.context2d.posY=this.opt.y,$e.context2d.margin=this.opt.margin,$e.context2d.fontFaces=gt,gt)for(var ft=0;ft<gt.length;++ft){var Dn=gt[ft],Bn=Dn.src.find(function(Tn){return Tn.format==="truetype"});Bn&&$e.addFont(Bn.url,Dn.ref.name,Dn.ref.style)}return qt.windowHeight=qt.windowHeight||0,qt.windowHeight=qt.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):qt.windowHeight,$e.context2d.save(!0),Xe(this.prop.container,qt)}).then(function(Xe){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(Xe),this.prop.canvas=Xe,document.body.removeChild(this.prop.overlay)})},Ze.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Ue=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Ue})},Ze.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Ze.prototype.output=function(Ue,Xe,$e){return($e=$e||"pdf").toLowerCase()==="img"||$e.toLowerCase()==="image"?this.outputImg(Ue,Xe):this.outputPdf(Ue,Xe)},Ze.prototype.outputPdf=function(Ue,Xe){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Ue,Xe)})},Ze.prototype.outputImg=function(Ue){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Ue){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+Ue+'" is not supported.'}})},Ze.prototype.save=function(Ue){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Ue?{filename:Ue}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Ze.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Ze.prototype.set=function(Ue){if(re(Ue)!=="object")return this;var Xe=Object.keys(Ue||{}).map(function($e){if($e in Ze.template.prop)return function(){this.prop[$e]=Ue[$e]};switch($e){case"margin":return this.setMargin.bind(this,Ue.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ue.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ue.pageSize);default:return function(){this.opt[$e]=Ue[$e]}}},this);return this.then(function(){return this.thenList(Xe)})},Ze.prototype.get=function(Ue,Xe){return this.then(function(){var $e=Ue in Ze.template.prop?this.prop[Ue]:this.opt[Ue];return Xe?Xe($e):$e})},Ze.prototype.setMargin=function(Ue){return this.then(function(){switch(re(Ue)){case"number":Ue=[Ue,Ue,Ue,Ue];case"array":if(Ue.length===2&&(Ue=[Ue[0],Ue[1],Ue[0],Ue[1]]),Ue.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ue}).then(this.setPageSize)},Ze.prototype.setPageSize=function(Ue){function Xe($e,gt){return Math.floor($e*gt/72*96)}return this.then(function(){(Ue=Ue||Na.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Ue.inner={width:Ue.width-this.opt.margin[1]-this.opt.margin[3],height:Ue.height-this.opt.margin[0]-this.opt.margin[2]},Ue.inner.px={width:Xe(Ue.inner.width,Ue.k),height:Xe(Ue.inner.height,Ue.k)},Ue.inner.ratio=Ue.inner.height/Ue.inner.width),this.prop.pageSize=Ue})},Ze.prototype.setProgress=function(Ue,Xe,$e,gt){return Ue!=null&&(this.progress.val=Ue),Xe!=null&&(this.progress.state=Xe),$e!=null&&(this.progress.n=$e),gt!=null&&(this.progress.stack=gt),this.progress.ratio=this.progress.val/this.progress.state,this},Ze.prototype.updateProgress=function(Ue,Xe,$e,gt){return this.setProgress(Ue?this.progress.val+Ue:null,Xe||null,$e?this.progress.n+$e:null,gt?this.progress.stack.concat(gt):null)},Ze.prototype.then=function(Ue,Xe){var $e=this;return this.thenCore(Ue,Xe,function(gt,Ut){return $e.updateProgress(null,null,1,[gt]),Promise.prototype.then.call(this,function(qt){return $e.updateProgress(null,gt),qt}).then(gt,Ut).then(function(qt){return $e.updateProgress(1),qt})})},Ze.prototype.thenCore=function(Ue,Xe,$e){$e=$e||Promise.prototype.then;var gt=this;Ue&&(Ue=Ue.bind(gt)),Xe&&(Xe=Xe.bind(gt));var Ut=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?gt:Ze.convert(Object.assign({},gt),Promise.prototype),qt=$e.call(Ut,Ue,Xe);return Ze.convert(qt,gt.__proto__)},Ze.prototype.thenExternal=function(Ue,Xe){return Promise.prototype.then.call(this,Ue,Xe)},Ze.prototype.thenList=function(Ue){var Xe=this;return Ue.forEach(function($e){Xe=Xe.thenCore($e)}),Xe},Ze.prototype.catch=function(Ue){Ue&&(Ue=Ue.bind(this));var Xe=Promise.prototype.catch.call(this,Ue);return Ze.convert(Xe,this)},Ze.prototype.catchExternal=function(Ue){return Promise.prototype.catch.call(this,Ue)},Ze.prototype.error=function(Ue){return this.then(function(){throw new Error(Ue)})},Ze.prototype.using=Ze.prototype.set,Ze.prototype.saveAs=Ze.prototype.save,Ze.prototype.export=Ze.prototype.output,Ze.prototype.run=Ze.prototype.then,Na.getPageSize=function(Ue,Xe,$e){if((0,x.Z)(Ue)==="object"){var gt=Ue;Ue=gt.orientation,Xe=gt.unit||Xe,$e=gt.format||$e}Xe=Xe||"mm",$e=$e||"a4",Ue=(""+(Ue||"P")).toLowerCase();var Ut,qt=(""+$e).toLowerCase(),ft={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]};switch(Xe){case"pt":Ut=1;break;case"mm":Ut=72/25.4;break;case"cm":Ut=72/2.54;break;case"in":Ut=72;break;case"px":Ut=.75;break;case"pc":case"em":Ut=12;break;case"ex":Ut=6;break;default:throw"Invalid unit: "+Xe}var Dn,Bn=0,Tn=0;if(ft.hasOwnProperty(qt))Bn=ft[qt][1]/Ut,Tn=ft[qt][0]/Ut;else try{Bn=$e[1],Tn=$e[0]}catch(fn){throw new Error("Invalid format: "+$e)}if(Ue==="p"||Ue==="portrait")Ue="p",Tn>Bn&&(Dn=Tn,Tn=Bn,Bn=Dn);else{if(Ue!=="l"&&Ue!=="landscape")throw"Invalid orientation: "+Ue;Ue="l",Bn>Tn&&(Dn=Tn,Tn=Bn,Bn=Dn)}return{width:Tn,height:Bn,unit:Xe,k:Ut,orientation:Ue}},y.html=function(Ue,Xe){(Xe=Xe||{}).callback=Xe.callback||function(){},Xe.html2canvas=Xe.html2canvas||{},Xe.html2canvas.canvas=Xe.html2canvas.canvas||this.canvas,Xe.jsPDF=Xe.jsPDF||this,Xe.fontFaces=Xe.fontFaces?Xe.fontFaces.map(JA):null;var $e=new Ze(Xe);return Xe.worker?$e:$e.from(Ue).doCallback()}}(Na.API),Na.API.addJS=function(y){return L0=y,this.internal.events.subscribe("postPutResources",function(){jf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(jf+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),I0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+L0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){jf!==void 0&&I0!==void 0&&this.internal.out("/Names <</JavaScript "+jf+" 0 R>>")}),this},function(y){var z;y.events.push(["postPutResources",function(){var E=this,re=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var ce=E.outline.render().split(/\r\n/),he=0;he<ce.length;he++){var Ze=ce[he],Ue=re.exec(Ze);if(Ue!=null){var Xe=Ue[1];E.internal.newObjectDeferredBegin(Xe,!1)}E.internal.write(Ze)}if(this.outline.createNamedDestinations){var $e=this.internal.pages.length,gt=[];for(he=0;he<$e;he++){var Ut=E.internal.newObject();gt.push(Ut);var qt=E.internal.getPageInfo(he+1);E.internal.write("<< /D["+qt.objId+" 0 R /XYZ null null null]>> endobj")}var ft=E.internal.newObject();for(E.internal.write("<< /Names [ "),he=0;he<gt.length;he++)E.internal.write("(page_"+(he+1)+")"+gt[he]+" 0 R");E.internal.write(" ] >>","endobj"),z=E.internal.newObject(),E.internal.write("<< /Dests "+ft+" 0 R"),E.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+z+" 0 R"))}]),y.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(re,ce,he){var Ze={title:ce,options:he,children:[]};return re==null&&(re=this.root),re.children.push(Ze),Ze},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(re){re.id=E.internal.newObjectDeferred();for(var ce=0;ce<re.children.length;ce++)this.genIds_r(re.children[ce])},E.outline.renderRoot=function(re){this.objStart(re),this.line("/Type /Outlines"),re.children.length>0&&(this.line("/First "+this.makeRef(re.children[0])),this.line("/Last "+this.makeRef(re.children[re.children.length-1]))),this.line("/Count "+this.count_r({count:0},re)),this.objEnd()},E.outline.renderItems=function(re){for(var ce=this.ctx.pdf.internal.getVerticalCoordinateString,he=0;he<re.children.length;he++){var Ze=re.children[he];this.objStart(Ze),this.line("/Title "+this.makeString(Ze.title)),this.line("/Parent "+this.makeRef(re)),he>0&&this.line("/Prev "+this.makeRef(re.children[he-1])),he<re.children.length-1&&this.line("/Next "+this.makeRef(re.children[he+1])),Ze.children.length>0&&(this.line("/First "+this.makeRef(Ze.children[0])),this.line("/Last "+this.makeRef(Ze.children[Ze.children.length-1])));var Ue=this.count=this.count_r({count:0},Ze);if(Ue>0&&this.line("/Count "+Ue),Ze.options&&Ze.options.pageNumber){var Xe=E.internal.getPageInfo(Ze.options.pageNumber);this.line("/Dest ["+Xe.objId+" 0 R /XYZ 0 "+ce(0)+" 0]")}this.objEnd()}for(var $e=0;$e<re.children.length;$e++)this.renderItems(re.children[$e])},E.outline.line=function(re){this.ctx.val+=re+`\r
`},E.outline.makeRef=function(re){return re.id+" 0 R"},E.outline.makeString=function(re){return"("+E.internal.pdfEscape(re)+")"},E.outline.objStart=function(re){this.ctx.val+=`\r
`+re.id+` 0 obj\r
<<\r
`},E.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},E.outline.count_r=function(re,ce){for(var he=0;he<ce.children.length;he++)re.count++,this.count_r(re,ce.children[he]);return re.count}}])}(Na.API),function(y){var z=[192,193,194,195,196,197,198,199];y.processJPEG=function(E,re,ce,he,Ze,Ue){var Xe,$e=this.decode.DCT_DECODE,gt=null;if(typeof E=="string"||this.__addimage__.isArrayBuffer(E)||this.__addimage__.isArrayBufferView(E)){switch(E=Ze||E,E=this.__addimage__.isArrayBuffer(E)?new Uint8Array(E):E,Xe=function(Ut){for(var qt,ft=256*Ut.charCodeAt(4)+Ut.charCodeAt(5),Dn=Ut.length,Bn={width:0,height:0,numcomponents:1},Tn=4;Tn<Dn;Tn+=2){if(Tn+=ft,z.indexOf(Ut.charCodeAt(Tn+1))!==-1){qt=256*Ut.charCodeAt(Tn+5)+Ut.charCodeAt(Tn+6),Bn={width:256*Ut.charCodeAt(Tn+7)+Ut.charCodeAt(Tn+8),height:qt,numcomponents:Ut.charCodeAt(Tn+9)};break}ft=256*Ut.charCodeAt(Tn+2)+Ut.charCodeAt(Tn+3)}return Bn}(E=this.__addimage__.isArrayBufferView(E)?this.__addimage__.arrayBufferToBinaryString(E):E),Xe.numcomponents){case 1:Ue=this.color_spaces.DEVICE_GRAY;break;case 4:Ue=this.color_spaces.DEVICE_CMYK;break;case 3:Ue=this.color_spaces.DEVICE_RGB}gt={data:E,width:Xe.width,height:Xe.height,colorSpace:Ue,bitsPerComponent:8,filter:$e,index:re,alias:ce}}return gt}}(Na.API),Na.API.processPNG=function(y,z,E,re){if(this.__addimage__.isArrayBuffer(y)&&(y=new Uint8Array(y)),this.__addimage__.isArrayBufferView(y)){var ce,he=sA(y,{checkCrc:!0}),Ze=he.width,Ue=he.height,Xe=he.channels,$e=he.palette,gt=he.depth;ce=$e&&Xe===1?function(Fr){for(var Gn=Fr.width,Vr=Fr.height,cn=Fr.data,kn=Fr.palette,fr=Fr.depth,sr=!1,fi=[],wi=[],Fi=void 0,ei=!1,Ni=0,ko=0;ko<kn.length;ko++){var io=(0,xi.Z)(kn[ko],4),on=io[0],Kn=io[1],qn=io[2],vr=io[3];fi.push(on,Kn,qn),vr!=null&&(vr===0?(Ni++,wi.length<1&&wi.push(ko)):vr<255&&(ei=!0))}if(ei||Ni>1){sr=!0,wi=void 0;var kr=Gn*Vr;Fi=new Uint8Array(kr);for(var Jr=new DataView(cn.buffer),Si=0;Si<kr;Si++){var Li=Wm(Jr,Si,fr),Yi=(0,xi.Z)(kn[Li],4)[3];Fi[Si]=Yi}}else Ni===0&&(wi=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:sr?8:void 0,colorBytes:cn,alphaBytes:Fi,needSMask:sr,palette:fi,mask:wi}}(he):Xe===2||Xe===4?function(Fr){for(var Gn=Fr.data,Vr=Fr.width,cn=Fr.height,kn=Fr.channels,fr=Fr.depth,sr=kn===2?"DeviceGray":"DeviceRGB",fi=kn-1,wi=Vr*cn,Fi=fi,ei=wi*Fi,Ni=1*wi,ko=Math.ceil(ei*fr/8),io=Math.ceil(Ni*fr/8),on=new Uint8Array(ko),Kn=new Uint8Array(io),qn=new DataView(Gn.buffer),vr=new DataView(on.buffer),kr=new DataView(Kn.buffer),Jr=!1,Si=0;Si<wi;Si++){for(var Li=Si*kn,Yi=0;Yi<Fi;Yi++)R0(vr,Wm(qn,Li+Yi,fr),Si*Fi+Yi,fr);var Eo=Wm(qn,Li+Fi,fr);Eo<(1<<fr)-1&&(Jr=!0),R0(kr,Eo,1*Si,fr)}return{colorSpace:sr,colorsPerPixel:fi,sMaskBitsPerComponent:Jr?fr:void 0,colorBytes:on,alphaBytes:Kn,needSMask:Jr}}(he):function(Fr){var Gn=Fr.data,Vr=Fr.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Vr,colorsPerPixel:Vr==="DeviceGray"?1:3,colorBytes:Gn instanceof Uint16Array?function(cn){for(var kn=cn.length,fr=new Uint8Array(2*kn),sr=new DataView(fr.buffer,fr.byteOffset,fr.byteLength),fi=0;fi<kn;fi++)sr.setUint16(2*fi,cn[fi],!1);return fr}(Gn):Gn,needSMask:!1}}(he);var Ut,qt,ft,Dn=ce,Bn=Dn.colorSpace,Tn=Dn.colorsPerPixel,fn=Dn.sMaskBitsPerComponent,hr=Dn.colorBytes,ir=Dn.alphaBytes,Wn=Dn.needSMask,oi=Dn.palette,Ui=Dn.mask,Ei=null;return re!==Na.API.image_compression.NONE&&typeof Ai=="function"?(Ei=function(Fr){var Gn;switch(Fr){case Na.API.image_compression.FAST:Gn=11;break;case Na.API.image_compression.MEDIUM:Gn=13;break;case Na.API.image_compression.SLOW:Gn=14;break;default:Gn=12}return Gn}(re),Ut=this.decode.FLATE_DECODE,qt="/Predictor ".concat(Ei," /Colors ").concat(Tn," /BitsPerComponent ").concat(gt," /Columns ").concat(Ze),y=P0(hr,Math.ceil(Ze*Tn*gt/8),Tn,gt,re),Wn&&(ft=P0(ir,Math.ceil(Ze*fn/8),1,fn,re))):(Ut=void 0,qt=void 0,y=hr,Wn&&(ft=ir)),(this.__addimage__.isArrayBuffer(y)||this.__addimage__.isArrayBufferView(y))&&(y=this.__addimage__.arrayBufferToBinaryString(y)),(ft&&this.__addimage__.isArrayBuffer(ft)||this.__addimage__.isArrayBufferView(ft))&&(ft=this.__addimage__.arrayBufferToBinaryString(ft)),{alias:E,data:y,index:z,filter:Ut,decodeParameters:qt,transparency:Ui,palette:oi,sMask:ft,predictor:Ei,width:Ze,height:Ue,bitsPerComponent:gt,sMaskBitsPerComponent:fn,colorSpace:Bn}}},function(y){y.processGIF89A=function(z,E,re,ce){var he=new Mv(z),Ze=he.width,Ue=he.height,Xe=[];he.decodeAndBlitFrameRGBA(0,Xe);var $e={data:Xe,width:Ze,height:Ue},gt=new Vm(100).encode($e,100);return y.processJPEG.call(this,gt,E,re,ce)},y.processGIF87A=y.processGIF89A}(Na.API),cf.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var y=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(y);for(var z=0;z<y;z++){var E=this.datav.getUint8(this.pos++,!0),re=this.datav.getUint8(this.pos++,!0),ce=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0);this.palette[z]={red:ce,green:re,blue:E,quad:he}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},cf.prototype.parseBGR=function(){this.pos=this.offset;try{var y="bit"+this.bitPP,z=this.width*this.height*4;this.data=new Uint8Array(z),this[y]()}catch(E){dl.log("bit decode error:"+E)}},cf.prototype.bit1=function(){var y,z=Math.ceil(this.width/8),E=z%4;for(y=this.height-1;y>=0;y--){for(var re=this.bottom_up?y:this.height-1-y,ce=0;ce<z;ce++)for(var he=this.datav.getUint8(this.pos++,!0),Ze=re*this.width*4+8*ce*4,Ue=0;Ue<8&&8*ce+Ue<this.width;Ue++){var Xe=this.palette[he>>7-Ue&1];this.data[Ze+4*Ue]=Xe.blue,this.data[Ze+4*Ue+1]=Xe.green,this.data[Ze+4*Ue+2]=Xe.red,this.data[Ze+4*Ue+3]=255}E!==0&&(this.pos+=4-E)}},cf.prototype.bit4=function(){for(var y=Math.ceil(this.width/2),z=y%4,E=this.height-1;E>=0;E--){for(var re=this.bottom_up?E:this.height-1-E,ce=0;ce<y;ce++){var he=this.datav.getUint8(this.pos++,!0),Ze=re*this.width*4+2*ce*4,Ue=he>>4,Xe=15&he,$e=this.palette[Ue];if(this.data[Ze]=$e.blue,this.data[Ze+1]=$e.green,this.data[Ze+2]=$e.red,this.data[Ze+3]=255,2*ce+1>=this.width)break;$e=this.palette[Xe],this.data[Ze+4]=$e.blue,this.data[Ze+4+1]=$e.green,this.data[Ze+4+2]=$e.red,this.data[Ze+4+3]=255}z!==0&&(this.pos+=4-z)}},cf.prototype.bit8=function(){for(var y=this.width%4,z=this.height-1;z>=0;z--){for(var E=this.bottom_up?z:this.height-1-z,re=0;re<this.width;re++){var ce=this.datav.getUint8(this.pos++,!0),he=E*this.width*4+4*re;if(ce<this.palette.length){var Ze=this.palette[ce];this.data[he]=Ze.red,this.data[he+1]=Ze.green,this.data[he+2]=Ze.blue,this.data[he+3]=255}else this.data[he]=255,this.data[he+1]=255,this.data[he+2]=255,this.data[he+3]=255}y!==0&&(this.pos+=4-y)}},cf.prototype.bit15=function(){for(var y=this.width%3,z=parseInt("11111",2),E=this.height-1;E>=0;E--){for(var re=this.bottom_up?E:this.height-1-E,ce=0;ce<this.width;ce++){var he=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ze=(he&z)/z*255|0,Ue=(he>>5&z)/z*255|0,Xe=(he>>10&z)/z*255|0,$e=he>>15?255:0,gt=re*this.width*4+4*ce;this.data[gt]=Xe,this.data[gt+1]=Ue,this.data[gt+2]=Ze,this.data[gt+3]=$e}this.pos+=y}},cf.prototype.bit16=function(){for(var y=this.width%3,z=parseInt("11111",2),E=parseInt("111111",2),re=this.height-1;re>=0;re--){for(var ce=this.bottom_up?re:this.height-1-re,he=0;he<this.width;he++){var Ze=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ue=(Ze&z)/z*255|0,Xe=(Ze>>5&E)/E*255|0,$e=(Ze>>11)/z*255|0,gt=ce*this.width*4+4*he;this.data[gt]=$e,this.data[gt+1]=Xe,this.data[gt+2]=Ue,this.data[gt+3]=255}this.pos+=y}},cf.prototype.bit24=function(){for(var y=this.height-1;y>=0;y--){for(var z=this.bottom_up?y:this.height-1-y,E=0;E<this.width;E++){var re=this.datav.getUint8(this.pos++,!0),ce=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0),Ze=z*this.width*4+4*E;this.data[Ze]=he,this.data[Ze+1]=ce,this.data[Ze+2]=re,this.data[Ze+3]=255}this.pos+=this.width%4}},cf.prototype.bit32=function(){for(var y=this.height-1;y>=0;y--)for(var z=this.bottom_up?y:this.height-1-y,E=0;E<this.width;E++){var re=this.datav.getUint8(this.pos++,!0),ce=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0),Ze=this.datav.getUint8(this.pos++,!0),Ue=z*this.width*4+4*E;this.data[Ue]=he,this.data[Ue+1]=ce,this.data[Ue+2]=re,this.data[Ue+3]=Ze}},cf.prototype.getData=function(){return this.data},function(y){y.processBMP=function(z,E,re,ce){var he=new cf(z,!1),Ze=he.width,Ue=he.height,Xe={data:he.getData(),width:Ze,height:Ue},$e=new Vm(100).encode(Xe,100);return y.processJPEG.call(this,$e,E,re,ce)}}(Na.API),j0.prototype.getData=function(){return this.data},function(y){y.processWEBP=function(z,E,re,ce){var he=new j0(z),Ze=he.width,Ue=he.height,Xe={data:he.getData(),width:Ze,height:Ue},$e=new Vm(100).encode(Xe,100);return y.processJPEG.call(this,$e,E,re,ce)}}(Na.API),Na.API.processRGBA=function(y,z,E){for(var re=y.data,ce=re.length,he=new Uint8Array(ce/4*3),Ze=new Uint8Array(ce/4),Ue=0,Xe=0,$e=0;$e<ce;$e+=4){var gt=re[$e],Ut=re[$e+1],qt=re[$e+2],ft=re[$e+3];he[Ue++]=gt,he[Ue++]=Ut,he[Ue++]=qt,Ze[Xe++]=ft}var Dn=this.__addimage__.arrayBufferToBinaryString(he);return{alpha:this.__addimage__.arrayBufferToBinaryString(Ze),data:Dn,index:z,alias:E,colorSpace:"DeviceRGB",bitsPerComponent:8,width:y.width,height:y.height}},Na.API.setLanguage=function(y){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[y]!==void 0&&(this.internal.languageSettings.languageCode=y,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ng=Na.API,rm=ng.getCharWidthsArray=function(y,z){var E,re,ce=(z=z||{}).font||this.internal.getFont(),he=z.fontSize||this.internal.getFontSize(),Ze=z.charSpace||this.internal.getCharSpace(),Ue=z.widths?z.widths:ce.metadata.Unicode.widths,Xe=Ue.fof?Ue.fof:1,$e=z.kerning?z.kerning:ce.metadata.Unicode.kerning,gt=$e.fof?$e.fof:1,Ut=z.doKerning!==!1,qt=0,ft=y.length,Dn=0,Bn=Ue[0]||Xe,Tn=[];for(E=0;E<ft;E++)re=y.charCodeAt(E),typeof ce.metadata.widthOfString=="function"?Tn.push((ce.metadata.widthOfGlyph(ce.metadata.characterToGlyph(re))+Ze*(1e3/he)||0)/1e3):(qt=Ut&&(0,x.Z)($e[re])==="object"&&!isNaN(parseInt($e[re][Dn],10))?$e[re][Dn]/gt:0,Tn.push((Ue[re]||Bn)/Xe+qt)),Dn=re;return Tn},D0=ng.getStringUnitWidth=function(y,z){var E=(z=z||{}).fontSize||this.internal.getFontSize(),re=z.font||this.internal.getFont(),ce=z.charSpace||this.internal.getCharSpace();return ng.processArabic&&(y=ng.processArabic(y)),typeof re.metadata.widthOfString=="function"?re.metadata.widthOfString(y,E,ce)/E:rm.apply(this,arguments).reduce(function(he,Ze){return he+Ze},0)},N0=function(y,z,E,re){for(var ce=[],he=0,Ze=y.length,Ue=0;he!==Ze&&Ue+z[he]<E;)Ue+=z[he],he++;ce.push(y.slice(0,he));var Xe=he;for(Ue=0;he!==Ze;)Ue+z[he]>re&&(ce.push(y.slice(Xe,he)),Ue=0,Xe=he),Ue+=z[he],he++;return Xe!==he&&ce.push(y.slice(Xe,he)),ce},O0=function(y,z,E){E||(E={});var re,ce,he,Ze,Ue,Xe,$e,gt=[],Ut=[gt],qt=E.textIndent||0,ft=0,Dn=0,Bn=y.split(" "),Tn=rm.apply(this,[" ",E])[0];if(Xe=E.lineIndent===-1?Bn[0].length+2:E.lineIndent||0){var fn=Array(Xe).join(" "),hr=[];Bn.map(function(Wn){(Wn=Wn.split(/\s*\n/)).length>1?hr=hr.concat(Wn.map(function(oi,Ui){return(Ui&&oi.length?`
`:"")+oi})):hr.push(Wn[0])}),Bn=hr,Xe=D0.apply(this,[fn,E])}for(he=0,Ze=Bn.length;he<Ze;he++){var ir=0;if(re=Bn[he],Xe&&re[0]==`
`&&(re=re.substr(1),ir=1),qt+ft+(Dn=(ce=rm.apply(this,[re,E])).reduce(function(Wn,oi){return Wn+oi},0))>z||ir){if(Dn>z){for(Ue=N0.apply(this,[re,ce,z-(qt+ft),z]),gt.push(Ue.shift()),gt=[Ue.pop()];Ue.length;)Ut.push([Ue.shift()]);Dn=ce.slice(re.length-(gt[0]?gt[0].length:0)).reduce(function(Wn,oi){return Wn+oi},0)}else gt=[re];Ut.push(gt),qt=Dn+Xe,ft=Tn}else gt.push(re),qt+=ft+Dn,ft=Tn}return $e=Xe?function(Wn,oi){return(oi?fn:"")+Wn.join(" ")}:function(Wn){return Wn.join(" ")},Ut.map($e)},ng.splitTextToSize=function(y,z,E){var re,ce=(E=E||{}).fontSize||this.internal.getFontSize(),he=function(gt){if(gt.widths&&gt.kerning)return{widths:gt.widths,kerning:gt.kerning};var Ut=this.internal.getFont(gt.fontName,gt.fontStyle),qt="Unicode";return Ut.metadata[qt]?{widths:Ut.metadata[qt].widths||{0:1},kerning:Ut.metadata[qt].kerning||{}}:{font:Ut.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,E);re=Array.isArray(y)?y:String(y).split(/\r?\n/);var Ze=1*this.internal.scaleFactor*z/ce;he.textIndent=E.textIndent?1*E.textIndent*this.internal.scaleFactor/ce:0,he.lineIndent=E.lineIndent;var Ue,Xe,$e=[];for(Ue=0,Xe=re.length;Ue<Xe;Ue++)$e=$e.concat(O0.apply(this,[re[Ue],Ze,he]));return $e},function(y){y.__fontmetrics__=y.__fontmetrics__||{};for(var z="0123456789abcdef",E="klmnopqrstuvwxyz",re={},ce={},he=0;he<16;he++)re[E[he]]=z[he],ce[z[he]]=E[he];var Ze=function(qt){return"0x"+parseInt(qt,10).toString(16)},Ue=y.__fontmetrics__.compress=function(qt){var ft,Dn,Bn,Tn,fn=["{"];for(var hr in qt){if(ft=qt[hr],isNaN(parseInt(hr,10))?Dn="'"+hr+"'":(hr=parseInt(hr,10),Dn=(Dn=Ze(hr).slice(2)).slice(0,-1)+ce[Dn.slice(-1)]),typeof ft=="number")ft<0?(Bn=Ze(ft).slice(3),Tn="-"):(Bn=Ze(ft).slice(2),Tn=""),Bn=Tn+Bn.slice(0,-1)+ce[Bn.slice(-1)];else{if((0,x.Z)(ft)!=="object")throw new Error("Don't know what to do with value type "+(0,x.Z)(ft)+".");Bn=Ue(ft)}fn.push(Dn+Bn)}return fn.push("}"),fn.join("")},Xe=y.__fontmetrics__.uncompress=function(qt){if(typeof qt!="string")throw new Error("Invalid argument passed to uncompress.");for(var ft,Dn,Bn,Tn,fn={},hr=1,ir=fn,Wn=[],oi="",Ui="",Ei=qt.length-1,Fr=1;Fr<Ei;Fr+=1)(Tn=qt[Fr])=="'"?ft?(Bn=ft.join(""),ft=void 0):ft=[]:ft?ft.push(Tn):Tn=="{"?(Wn.push([ir,Bn]),ir={},Bn=void 0):Tn=="}"?((Dn=Wn.pop())[0][Dn[1]]=ir,Bn=void 0,ir=Dn[0]):Tn=="-"?hr=-1:Bn===void 0?re.hasOwnProperty(Tn)?(oi+=re[Tn],Bn=parseInt(oi,16)*hr,hr=1,oi=""):oi+=Tn:re.hasOwnProperty(Tn)?(Ui+=re[Tn],ir[Bn]=parseInt(Ui,16)*hr,hr=1,Bn=void 0,Ui=""):Ui+=Tn;return fn},$e={codePages:["WinAnsiEncoding"],WinAnsiEncoding:Xe("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},gt={Unicode:{Courier:$e,"Courier-Bold":$e,"Courier-BoldOblique":$e,"Courier-Oblique":$e,Helvetica:$e,"Helvetica-Bold":$e,"Helvetica-BoldOblique":$e,"Helvetica-Oblique":$e,"Times-Roman":$e,"Times-Bold":$e,"Times-BoldItalic":$e,"Times-Italic":$e}},Ut={Unicode:{"Courier-Oblique":Xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Xe("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":Xe("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:Xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":Xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":Xe("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:Xe("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:Xe("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":Xe("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:Xe("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":Xe("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":Xe("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":Xe("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":Xe("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3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ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};y.events.push(["addFont",function(qt){var ft=qt.font,Dn=Ut.Unicode[ft.postScriptName];Dn&&(ft.metadata.Unicode={},ft.metadata.Unicode.widths=Dn.widths,ft.metadata.Unicode.kerning=Dn.kerning);var Bn=gt.Unicode[ft.postScriptName];Bn&&(ft.metadata.Unicode.encoding=Bn,ft.encoding=Bn.codePages[0])}])}(Na.API),function(y){var z=function(E){for(var re=E.length,ce=new Uint8Array(re),he=0;he<re;he++)ce[he]=E.charCodeAt(he);return ce};y.API.events.push(["addFont",function(E){var re=void 0,ce=E.font,he=E.instance;if(!ce.isStandardFont){if(he===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ce.postScriptName+"').");if(typeof(re=he.existsFileInVFS(ce.postScriptName)===!1?he.loadFile(ce.postScriptName):he.getFileFromVFS(ce.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ce.postScriptName+"').");(function(Ze,Ue){Ue=/^\x00\x01\x00\x00/.test(Ue)?z(Ue):z(bp(Ue)),Ze.metadata=y.API.TTFFont.open(Ue),Ze.metadata.Unicode=Ze.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ze.metadata.glyIdsUsed=[0]})(ce,re)}}])}(Na),Na.API.addSvgAsImage=function(y,z,E,re,ce,he,Ze,Ue){if(isNaN(z)||isNaN(E))throw dl.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(re)||isNaN(ce))throw dl.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Xe=document.createElement("canvas");Xe.width=re,Xe.height=ce;var $e=Xe.getContext("2d");$e.fillStyle="#fff",$e.fillRect(0,0,Xe.width,Xe.height);var gt={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Ut=this;return(Ra.canvg?Promise.resolve(Ra.canvg):ae.e(3754).then(ae.bind(ae,63754))).catch(function(qt){return Promise.reject(new Error("Could not load canvg: "+qt))}).then(function(qt){return qt.default?qt.default:qt}).then(function(qt){return qt.fromString($e,y,gt)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(qt){return qt.render(gt)}).then(function(){Ut.addImage(Xe.toDataURL("image/jpeg",1),z,E,re,ce,Ze,Ue)})},Na.API.putTotalPages=function(y){var z,E=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(z=new RegExp(y,"g"),E=this.internal.getNumberOfPages()):(z=new RegExp(this.pdfEscape16(y,this.internal.getFont()),"g"),E=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var re=1;re<=this.internal.getNumberOfPages();re++)for(var ce=0;ce<this.internal.pages[re].length;ce++)this.internal.pages[re][ce]=this.internal.pages[re][ce].replace(z,E);return this},Na.API.viewerPreferences=function(y,z){var E;y=y||{},z=z||!1;var re,ce,he,Ze={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Ue=Object.keys(Ze),Xe=[],$e=0,gt=0,Ut=0;function qt(Dn,Bn){var Tn,fn=!1;for(Tn=0;Tn<Dn.length;Tn+=1)Dn[Tn]===Bn&&(fn=!0);return fn}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ze)),this.internal.viewerpreferences.isSubscribed=!1),E=this.internal.viewerpreferences.configuration,y==="reset"||z===!0){var ft=Ue.length;for(Ut=0;Ut<ft;Ut+=1)E[Ue[Ut]].value=E[Ue[Ut]].defaultValue,E[Ue[Ut]].explicitSet=!1}if((0,x.Z)(y)==="object"){for(ce in y)if(he=y[ce],qt(Ue,ce)&&he!==void 0){if(E[ce].type==="boolean"&&typeof he=="boolean")E[ce].value=he;else if(E[ce].type==="name"&&qt(E[ce].valueSet,he))E[ce].value=he;else if(E[ce].type==="integer"&&Number.isInteger(he))E[ce].value=he;else if(E[ce].type==="array"){for($e=0;$e<he.length;$e+=1)if(re=!0,he[$e].length===1&&typeof he[$e][0]=="number")Xe.push(String(he[$e]-1));else if(he[$e].length>1){for(gt=0;gt<he[$e].length;gt+=1)typeof he[$e][gt]!="number"&&(re=!1);re===!0&&Xe.push([he[$e][0]-1,he[$e][1]-1].join(" "))}E[ce].value="["+Xe.join(" ")+"]"}else E[ce].value=E[ce].defaultValue;E[ce].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var Dn,Bn=[];for(Dn in E)E[Dn].explicitSet===!0&&(E[Dn].type==="name"?Bn.push("/"+Dn+" /"+E[Dn].value):Bn.push("/"+Dn+" "+E[Dn].value));Bn.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+Bn.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=E,this},function(y){var z=function(){var re='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',ce=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),he=unescape(encodeURIComponent(re)),Ze=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Ue=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Xe=unescape(encodeURIComponent("</x:xmpmeta>")),$e=he.length+Ze.length+Ue.length+ce.length+Xe.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+$e+" >>"),this.internal.write("stream"),this.internal.write(ce+he+Ze+Ue+Xe),this.internal.write("endstream"),this.internal.write("endobj")},E=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};y.addMetadata=function(re,ce){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:re,namespaceuri:ce||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",E),this.internal.events.subscribe("postPutResources",z)),this}}(Na.API),function(y){var z=y.API,E=z.pdfEscape16=function(he,Ze){for(var Ue,Xe=Ze.metadata.Unicode.widths,$e=["","0","00","000","0000"],gt=[""],Ut=0,qt=he.length;Ut<qt;++Ut){if(Ue=Ze.metadata.characterToGlyph(he.charCodeAt(Ut)),Ze.metadata.glyIdsUsed.push(Ue),Ze.metadata.toUnicode[Ue]=he.charCodeAt(Ut),Xe.indexOf(Ue)==-1&&(Xe.push(Ue),Xe.push([parseInt(Ze.metadata.widthOfGlyph(Ue),10)])),Ue=="0")return gt.join("");Ue=Ue.toString(16),gt.push($e[4-Ue.length],Ue)}return gt.join("")},re=function(he){var Ze,Ue,Xe,$e,gt,Ut,qt;for(gt=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,Xe=[],Ut=0,qt=(Ue=Object.keys(he).sort(function(ft,Dn){return ft-Dn})).length;Ut<qt;Ut++)Ze=Ue[Ut],Xe.length>=100&&(gt+=`
`+Xe.length+` beginbfchar
`+Xe.join(`
`)+`
endbfchar`,Xe=[]),he[Ze]!==void 0&&he[Ze]!==null&&typeof he[Ze].toString=="function"&&($e=("0000"+he[Ze].toString(16)).slice(-4),Ze=("0000"+(+Ze).toString(16)).slice(-4),Xe.push("<"+Ze+"><"+$e+">"));return Xe.length&&(gt+=`
`+Xe.length+` beginbfchar
`+Xe.join(`
`)+`
endbfchar
`),gt+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};z.events.push(["putFont",function(he){(function(Ze){var Ue=Ze.font,Xe=Ze.out,$e=Ze.newObject,gt=Ze.putStream;if(Ue.metadata instanceof y.API.TTFFont&&Ue.encoding==="Identity-H"){for(var Ut=Ue.metadata.Unicode.widths,qt=Ue.metadata.subset.encode(Ue.metadata.glyIdsUsed,1),ft="",Dn=0;Dn<qt.length;Dn++)ft+=String.fromCharCode(qt[Dn]);var Bn=$e();gt({data:ft,addLength1:!0,objectId:Bn}),Xe("endobj");var Tn=$e();gt({data:re(Ue.metadata.toUnicode),addLength1:!0,objectId:Tn}),Xe("endobj");var fn=$e();Xe("<<"),Xe("/Type /FontDescriptor"),Xe("/FontName /"+gd(Ue.fontName)),Xe("/FontFile2 "+Bn+" 0 R"),Xe("/FontBBox "+y.API.PDFObject.convert(Ue.metadata.bbox)),Xe("/Flags "+Ue.metadata.flags),Xe("/StemV "+Ue.metadata.stemV),Xe("/ItalicAngle "+Ue.metadata.italicAngle),Xe("/Ascent "+Ue.metadata.ascender),Xe("/Descent "+Ue.metadata.decender),Xe("/CapHeight "+Ue.metadata.capHeight),Xe(">>"),Xe("endobj");var hr=$e();Xe("<<"),Xe("/Type /Font"),Xe("/BaseFont /"+gd(Ue.fontName)),Xe("/FontDescriptor "+fn+" 0 R"),Xe("/W "+y.API.PDFObject.convert(Ut)),Xe("/CIDToGIDMap /Identity"),Xe("/DW 1000"),Xe("/Subtype /CIDFontType2"),Xe("/CIDSystemInfo"),Xe("<<"),Xe("/Supplement 0"),Xe("/Registry (Adobe)"),Xe("/Ordering ("+Ue.encoding+")"),Xe(">>"),Xe(">>"),Xe("endobj"),Ue.objectNumber=$e(),Xe("<<"),Xe("/Type /Font"),Xe("/Subtype /Type0"),Xe("/ToUnicode "+Tn+" 0 R"),Xe("/BaseFont /"+gd(Ue.fontName)),Xe("/Encoding /"+Ue.encoding),Xe("/DescendantFonts ["+hr+" 0 R]"),Xe(">>"),Xe("endobj"),Ue.isAlreadyPutted=!0}})(he)}]),z.events.push(["putFont",function(he){(function(Ze){var Ue=Ze.font,Xe=Ze.out,$e=Ze.newObject,gt=Ze.putStream;if(Ue.metadata instanceof y.API.TTFFont&&Ue.encoding==="WinAnsiEncoding"){for(var Ut=Ue.metadata.rawData,qt="",ft=0;ft<Ut.length;ft++)qt+=String.fromCharCode(Ut[ft]);var Dn=$e();gt({data:qt,addLength1:!0,objectId:Dn}),Xe("endobj");var Bn=$e();gt({data:re(Ue.metadata.toUnicode),addLength1:!0,objectId:Bn}),Xe("endobj");var Tn=$e();Xe("<<"),Xe("/Descent "+Ue.metadata.decender),Xe("/CapHeight "+Ue.metadata.capHeight),Xe("/StemV "+Ue.metadata.stemV),Xe("/Type /FontDescriptor"),Xe("/FontFile2 "+Dn+" 0 R"),Xe("/Flags 96"),Xe("/FontBBox "+y.API.PDFObject.convert(Ue.metadata.bbox)),Xe("/FontName /"+gd(Ue.fontName)),Xe("/ItalicAngle "+Ue.metadata.italicAngle),Xe("/Ascent "+Ue.metadata.ascender),Xe(">>"),Xe("endobj"),Ue.objectNumber=$e();for(var fn=0;fn<Ue.metadata.hmtx.widths.length;fn++)Ue.metadata.hmtx.widths[fn]=parseInt(Ue.metadata.hmtx.widths[fn]*(1e3/Ue.metadata.head.unitsPerEm));Xe("<</Subtype/TrueType/Type/Font/ToUnicode "+Bn+" 0 R/BaseFont/"+gd(Ue.fontName)+"/FontDescriptor "+Tn+" 0 R/Encoding/"+Ue.encoding+" /FirstChar 29 /LastChar 255 /Widths "+y.API.PDFObject.convert(Ue.metadata.hmtx.widths)+">>"),Xe("endobj"),Ue.isAlreadyPutted=!0}})(he)}]);var ce=function(he){var Ze,Ue=he.text||"",Xe=he.x,$e=he.y,gt=he.options||{},Ut=he.mutex||{},qt=Ut.pdfEscape,ft=Ut.activeFontKey,Dn=Ut.fonts,Bn=ft,Tn="",fn=0,hr="",ir=Dn[Bn].encoding;if(Dn[Bn].encoding!=="Identity-H")return{text:Ue,x:Xe,y:$e,options:gt,mutex:Ut};for(hr=Ue,Bn=ft,Array.isArray(Ue)&&(hr=Ue[0]),fn=0;fn<hr.length;fn+=1)Dn[Bn].metadata.hasOwnProperty("cmap")&&(Ze=Dn[Bn].metadata.cmap.unicode.codeMap[hr[fn].charCodeAt(0)]),Ze||hr[fn].charCodeAt(0)<256&&Dn[Bn].metadata.hasOwnProperty("Unicode")?Tn+=hr[fn]:Tn+="";var Wn="";return parseInt(Bn.slice(1))<14||ir==="WinAnsiEncoding"?Wn=qt(Tn,Bn).split("").map(function(oi){return oi.charCodeAt(0).toString(16)}).join(""):ir==="Identity-H"&&(Wn=E(Tn,Dn[Bn])),Ut.isHex=!0,{text:Wn,x:Xe,y:$e,options:gt,mutex:Ut}};z.events.push(["postProcessText",function(he){var Ze=he.text||"",Ue=[],Xe={text:Ze,x:he.x,y:he.y,options:he.options,mutex:he.mutex};if(Array.isArray(Ze)){var $e=0;for($e=0;$e<Ze.length;$e+=1)Array.isArray(Ze[$e])&&Ze[$e].length===3?Ue.push([ce(Object.assign({},Xe,{text:Ze[$e][0]})).text,Ze[$e][1],Ze[$e][2]]):Ue.push(ce(Object.assign({},Xe,{text:Ze[$e]})).text);he.text=Ue}else he.text=ce(Object.assign({},Xe,{text:Ze})).text}])}(Na),function(y){var z=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};y.existsFileInVFS=function(E){return z.call(this),this.internal.vFS[E]!==void 0},y.addFileToVFS=function(E,re){return z.call(this),this.internal.vFS[E]=re,this},y.getFileFromVFS=function(E){return z.call(this),this.internal.vFS[E]!==void 0?this.internal.vFS[E]:null}}(Na.API),function(y){y.__bidiEngine__=y.prototype.__bidiEngine__=function(re){var ce,he,Ze,Ue,Xe,$e,gt,Ut=z,qt=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],ft=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],Dn={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Bn={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Tn=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],fn=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),hr=!1,ir=0;this.__bidiEngine__={};var Wn=function(cn){var kn=cn.charCodeAt(),fr=kn>>8,sr=Bn[fr];return sr!==void 0?Ut[256*sr+(255&kn)]:fr===252||fr===253?"AL":fn.test(fr)?"L":fr===8?"R":"N"},oi=function(cn){for(var kn,fr=0;fr<cn.length;fr++){if((kn=Wn(cn.charAt(fr)))==="L")return!1;if(kn==="R")return!0}return!1},Ui=function(cn,kn,fr,sr){var fi,wi,Fi,ei,Ni=kn[sr];switch(Ni){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":hr=!1;break;case"N":case"AN":break;case"EN":hr&&(Ni="AN");break;case"AL":hr=!0,Ni="R";break;case"WS":case"BN":Ni="N";break;case"CS":sr<1||sr+1>=kn.length||(fi=fr[sr-1])!=="EN"&&fi!=="AN"||(wi=kn[sr+1])!=="EN"&&wi!=="AN"?Ni="N":hr&&(wi="AN"),Ni=wi===fi?wi:"N";break;case"ES":Ni=(fi=sr>0?fr[sr-1]:"B")==="EN"&&sr+1<kn.length&&kn[sr+1]==="EN"?"EN":"N";break;case"ET":if(sr>0&&fr[sr-1]==="EN"){Ni="EN";break}if(hr){Ni="N";break}for(Fi=sr+1,ei=kn.length;Fi<ei&&kn[Fi]==="ET";)Fi++;Ni=Fi<ei&&kn[Fi]==="EN"?"EN":"N";break;case"NSM":if(Ze&&!Ue){for(ei=kn.length,Fi=sr+1;Fi<ei&&kn[Fi]==="NSM";)Fi++;if(Fi<ei){var ko=cn[sr],io=ko>=1425&&ko<=2303||ko===64286;if(fi=kn[Fi],io&&(fi==="R"||fi==="AL")){Ni="R";break}}}Ni=sr<1||(fi=kn[sr-1])==="B"?"N":fr[sr-1];break;case"B":hr=!1,ce=!0,Ni=ir;break;case"S":he=!0,Ni="N"}return Ni},Ei=function(cn,kn,fr){var sr=cn.split("");return fr&&Fr(sr,fr,{hiLevel:ir}),sr.reverse(),kn&&kn.reverse(),sr.join("")},Fr=function(cn,kn,fr){var sr,fi,wi,Fi,ei,Ni=-1,ko=cn.length,io=0,on=[],Kn=ir?ft:qt,qn=[];for(hr=!1,ce=!1,he=!1,fi=0;fi<ko;fi++)qn[fi]=Wn(cn[fi]);for(wi=0;wi<ko;wi++){if(ei=io,on[wi]=Ui(cn,qn,on,wi),sr=240&(io=Kn[ei][Dn[on[wi]]]),io&=15,kn[wi]=Fi=Kn[io][5],sr>0)if(sr===16){for(fi=Ni;fi<wi;fi++)kn[fi]=1;Ni=-1}else Ni=-1;if(Kn[io][6])Ni===-1&&(Ni=wi);else if(Ni>-1){for(fi=Ni;fi<wi;fi++)kn[fi]=Fi;Ni=-1}qn[wi]==="B"&&(kn[wi]=0),fr.hiLevel|=Fi}he&&function(vr,kr,Jr){for(var Si=0;Si<Jr;Si++)if(vr[Si]==="S"){kr[Si]=ir;for(var Li=Si-1;Li>=0&&vr[Li]==="WS";Li--)kr[Li]=ir}}(qn,kn,ko)},Gn=function(cn,kn,fr,sr,fi){if(!(fi.hiLevel<cn)){if(cn===1&&ir===1&&!ce)return kn.reverse(),void(fr&&fr.reverse());for(var wi,Fi,ei,Ni,ko=kn.length,io=0;io<ko;){if(sr[io]>=cn){for(ei=io+1;ei<ko&&sr[ei]>=cn;)ei++;for(Ni=io,Fi=ei-1;Ni<Fi;Ni++,Fi--)wi=kn[Ni],kn[Ni]=kn[Fi],kn[Fi]=wi,fr&&(wi=fr[Ni],fr[Ni]=fr[Fi],fr[Fi]=wi);io=ei}io++}}},Vr=function(cn,kn,fr){var sr=cn.split(""),fi={hiLevel:ir};return fr||(fr=[]),Fr(sr,fr,fi),function(wi,Fi,ei){if(ei.hiLevel!==0&&gt)for(var Ni,ko=0;ko<wi.length;ko++)Fi[ko]===1&&(Ni=Tn.indexOf(wi[ko]))>=0&&(wi[ko]=Tn[Ni+1])}(sr,fr,fi),Gn(2,sr,kn,fr,fi),Gn(1,sr,kn,fr,fi),sr.join("")};return this.__bidiEngine__.doBidiReorder=function(cn,kn,fr){if(function(fi,wi){if(wi)for(var Fi=0;Fi<fi.length;Fi++)wi[Fi]=Fi;Ue===void 0&&(Ue=oi(fi)),$e===void 0&&($e=oi(fi))}(cn,kn),Ze||!Xe||$e)if(Ze&&Xe&&Ue^$e)ir=Ue?1:0,cn=Ei(cn,kn,fr);else if(!Ze&&Xe&&$e)ir=Ue?1:0,cn=Vr(cn,kn,fr),cn=Ei(cn,kn);else if(!Ze||Ue||Xe||$e){if(Ze&&!Xe&&Ue^$e)cn=Ei(cn,kn),Ue?(ir=0,cn=Vr(cn,kn,fr)):(ir=1,cn=Vr(cn,kn,fr),cn=Ei(cn,kn));else if(Ze&&Ue&&!Xe&&$e)ir=1,cn=Vr(cn,kn,fr),cn=Ei(cn,kn);else if(!Ze&&!Xe&&Ue^$e){var sr=gt;Ue?(ir=1,cn=Vr(cn,kn,fr),ir=0,gt=!1,cn=Vr(cn,kn,fr),gt=sr):(ir=0,cn=Vr(cn,kn,fr),cn=Ei(cn,kn),ir=1,gt=!1,cn=Vr(cn,kn,fr),gt=sr,cn=Ei(cn,kn))}}else ir=0,cn=Vr(cn,kn,fr);else ir=Ue?1:0,cn=Vr(cn,kn,fr);return cn},this.__bidiEngine__.setOptions=function(cn){cn&&(Ze=cn.isInputVisual,Xe=cn.isOutputVisual,Ue=cn.isInputRtl,$e=cn.isOutputRtl,gt=cn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(re),this.__bidiEngine__};var z=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],E=new y.__bidiEngine__({isInputVisual:!0});y.API.events.push(["postProcessText",function(re){var ce=re.text;re.x,re.y;var he=re.options||{};re.mutex,he.lang;var Ze=[];if(he.isInputVisual=typeof he.isInputVisual!="boolean"||he.isInputVisual,E.setOptions(he),Object.prototype.toString.call(ce)==="[object Array]"){var Ue=0;for(Ze=[],Ue=0;Ue<ce.length;Ue+=1)Object.prototype.toString.call(ce[Ue])==="[object Array]"?Ze.push([E.doBidiReorder(ce[Ue][0]),ce[Ue][1],ce[Ue][2]]):Ze.push([E.doBidiReorder(ce[Ue])]);re.text=Ze}else re.text=E.doBidiReorder(ce);E.setOptions({isInputVisual:!0})}])}(Na),Na.API.TTFFont=function(){function y(z){var E;if(this.rawData=z,E=this.contents=new Wh(z),this.contents.pos=4,E.readString(4)==="ttcf")throw new Error("TTCF not supported.");E.pos=0,this.parse(),this.subset=new $v(this),this.registerTTF()}return y.open=function(z){return new y(z)},y.prototype.parse=function(){return this.directory=new Uv(this.contents),this.head=new _v(this),this.name=new Kv(this),this.cmap=new z0(this),this.toUnicode={},this.hhea=new Qv(this),this.maxp=new Zv(this),this.hmtx=new Wv(this),this.post=new Hv(this),this.os2=new jv(this),this.loca=new Yv(this),this.glyf=new Vv(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},y.prototype.registerTTF=function(){var z,E,re,ce,he;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Ze,Ue,Xe,$e;for($e=[],Ze=0,Ue=(Xe=this.bbox).length;Ze<Ue;Ze++)z=Xe[Ze],$e.push(Math.round(z*this.scaleFactor));return $e}.call(this),this.stemV=0,this.post.exists?(re=255&(ce=this.post.italic_angle),32768&(E=ce>>16)&&(E=-(1+(65535^E))),this.italicAngle=+(E+"."+re)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(he=this.familyClass)===1||he===2||he===3||he===4||he===5||he===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},y.prototype.characterToGlyph=function(z){var E;return((E=this.cmap.unicode)!=null?E.codeMap[z]:void 0)||0},y.prototype.widthOfGlyph=function(z){var E;return E=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(z).advance*E},y.prototype.widthOfString=function(z,E,re){var ce,he,Ze,Ue;for(Ze=0,he=0,Ue=(z=""+z).length;0<=Ue?he<Ue:he>Ue;he=0<=Ue?++he:--he)ce=z.charCodeAt(he),Ze+=this.widthOfGlyph(this.characterToGlyph(ce))+re*(1e3/E)||0;return Ze*(E/1e3)},y.prototype.lineHeight=function(z,E){var re;return E==null&&(E=!1),re=E?this.lineGap:0,(this.ascender+re-this.decender)/1e3*z},y}();var Af,Wh=function(){function y(z){this.data=z!=null?z:[],this.pos=0,this.length=this.data.length}return y.prototype.readByte=function(){return this.data[this.pos++]},y.prototype.writeByte=function(z){return this.data[this.pos++]=z},y.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},y.prototype.writeUInt32=function(z){return this.writeByte(z>>>24&255),this.writeByte(z>>16&255),this.writeByte(z>>8&255),this.writeByte(255&z)},y.prototype.readInt32=function(){var z;return(z=this.readUInt32())>=2147483648?z-4294967296:z},y.prototype.writeInt32=function(z){return z<0&&(z+=4294967296),this.writeUInt32(z)},y.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},y.prototype.writeUInt16=function(z){return this.writeByte(z>>8&255),this.writeByte(255&z)},y.prototype.readInt16=function(){var z;return(z=this.readUInt16())>=32768?z-65536:z},y.prototype.writeInt16=function(z){return z<0&&(z+=65536),this.writeUInt16(z)},y.prototype.readString=function(z){var E,re;for(re=[],E=0;0<=z?E<z:E>z;E=0<=z?++E:--E)re[E]=String.fromCharCode(this.readByte());return re.join("")},y.prototype.writeString=function(z){var E,re,ce;for(ce=[],E=0,re=z.length;0<=re?E<re:E>re;E=0<=re?++E:--E)ce.push(this.writeByte(z.charCodeAt(E)));return ce},y.prototype.readShort=function(){return this.readInt16()},y.prototype.writeShort=function(z){return this.writeInt16(z)},y.prototype.readLongLong=function(){var z,E,re,ce,he,Ze,Ue,Xe;return z=this.readByte(),E=this.readByte(),re=this.readByte(),ce=this.readByte(),he=this.readByte(),Ze=this.readByte(),Ue=this.readByte(),Xe=this.readByte(),128&z?-1*(72057594037927940*(255^z)+281474976710656*(255^E)+1099511627776*(255^re)+4294967296*(255^ce)+16777216*(255^he)+65536*(255^Ze)+256*(255^Ue)+(255^Xe)+1):72057594037927940*z+281474976710656*E+1099511627776*re+4294967296*ce+16777216*he+65536*Ze+256*Ue+Xe},y.prototype.writeLongLong=function(z){var E,re;return E=Math.floor(z/4294967296),re=4294967295&z,this.writeByte(E>>24&255),this.writeByte(E>>16&255),this.writeByte(E>>8&255),this.writeByte(255&E),this.writeByte(re>>24&255),this.writeByte(re>>16&255),this.writeByte(re>>8&255),this.writeByte(255&re)},y.prototype.readInt=function(){return this.readInt32()},y.prototype.writeInt=function(z){return this.writeInt32(z)},y.prototype.read=function(z){var E,re;for(E=[],re=0;0<=z?re<z:re>z;re=0<=z?++re:--re)E.push(this.readByte());return E},y.prototype.write=function(z){var E,re,ce,he;for(he=[],re=0,ce=z.length;re<ce;re++)E=z[re],he.push(this.writeByte(E));return he},y}(),Uv=function(){var y;function z(E){var re,ce,he;for(this.scalarType=E.readInt(),this.tableCount=E.readShort(),this.searchRange=E.readShort(),this.entrySelector=E.readShort(),this.rangeShift=E.readShort(),this.tables={},ce=0,he=this.tableCount;0<=he?ce<he:ce>he;ce=0<=he?++ce:--ce)re={tag:E.readString(4),checksum:E.readInt(),offset:E.readInt(),length:E.readInt()},this.tables[re.tag]=re}return z.prototype.encode=function(E){var re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn;for(Bn in ft=Object.keys(E).length,Xe=Math.log(2),Ut=16*Math.floor(Math.log(ft)/Xe),Ze=Math.floor(Ut/Xe),gt=16*ft-Ut,(ce=new Wh).writeInt(this.scalarType),ce.writeShort(ft),ce.writeShort(Ut),ce.writeShort(Ze),ce.writeShort(gt),he=16*ft,$e=ce.pos+he,Ue=null,Dn=[],E)for(qt=E[Bn],ce.writeString(Bn),ce.writeInt(y(qt)),ce.writeInt($e),ce.writeInt(qt.length),Dn=Dn.concat(qt),Bn==="head"&&(Ue=$e),$e+=qt.length;$e%4;)Dn.push(0),$e++;return ce.write(Dn),re=2981146554-y(ce.data),ce.pos=Ue+8,ce.writeUInt32(re),ce.data},y=function(E){var re,ce,he,Ze;for(E=K0.call(E);E.length%4;)E.push(0);for(he=new Wh(E),ce=0,re=0,Ze=E.length;re<Ze;re=re+=4)ce+=he.readUInt32();return 4294967295&ce},z}(),Rv={}.hasOwnProperty,Hf=function(y,z){for(var E in z)Rv.call(z,E)&&(y[E]=z[E]);function re(){this.constructor=y}return re.prototype=z.prototype,y.prototype=new re,y.__super__=z.prototype,y};Af=function(){function y(z){var E;this.file=z,E=this.file.directory.tables[this.tag],this.exists=!!E,E&&(this.offset=E.offset,this.length=E.length,this.parse(this.file.contents))}return y.prototype.parse=function(){},y.prototype.encode=function(){},y.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},y}();var _v=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="head",y.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.revision=z.readInt(),this.checkSumAdjustment=z.readInt(),this.magicNumber=z.readInt(),this.flags=z.readShort(),this.unitsPerEm=z.readShort(),this.created=z.readLongLong(),this.modified=z.readLongLong(),this.xMin=z.readShort(),this.yMin=z.readShort(),this.xMax=z.readShort(),this.yMax=z.readShort(),this.macStyle=z.readShort(),this.lowestRecPPEM=z.readShort(),this.fontDirectionHint=z.readShort(),this.indexToLocFormat=z.readShort(),this.glyphDataFormat=z.readShort()},y.prototype.encode=function(z){var E;return(E=new Wh).writeInt(this.version),E.writeInt(this.revision),E.writeInt(this.checkSumAdjustment),E.writeInt(this.magicNumber),E.writeShort(this.flags),E.writeShort(this.unitsPerEm),E.writeLongLong(this.created),E.writeLongLong(this.modified),E.writeShort(this.xMin),E.writeShort(this.yMin),E.writeShort(this.xMax),E.writeShort(this.yMax),E.writeShort(this.macStyle),E.writeShort(this.lowestRecPPEM),E.writeShort(this.fontDirectionHint),E.writeShort(z),E.writeShort(this.glyphDataFormat),E.data},y}(),H0=function(){function y(z,E){var re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn,fn,hr,ir;switch(this.platformID=z.readUInt16(),this.encodingID=z.readShort(),this.offset=E+z.readInt(),Ut=z.pos,z.pos=this.offset,this.format=z.readUInt16(),this.length=z.readUInt16(),this.language=z.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(Xe=0;Xe<256;++Xe)this.codeMap[Xe]=z.readByte();break;case 4:for(ft=z.readUInt16(),qt=ft/2,z.pos+=6,he=function(){var Wn,oi;for(oi=[],Xe=Wn=0;0<=qt?Wn<qt:Wn>qt;Xe=0<=qt?++Wn:--Wn)oi.push(z.readUInt16());return oi}(),z.pos+=2,Bn=function(){var Wn,oi;for(oi=[],Xe=Wn=0;0<=qt?Wn<qt:Wn>qt;Xe=0<=qt?++Wn:--Wn)oi.push(z.readUInt16());return oi}(),$e=function(){var Wn,oi;for(oi=[],Xe=Wn=0;0<=qt?Wn<qt:Wn>qt;Xe=0<=qt?++Wn:--Wn)oi.push(z.readUInt16());return oi}(),gt=function(){var Wn,oi;for(oi=[],Xe=Wn=0;0<=qt?Wn<qt:Wn>qt;Xe=0<=qt?++Wn:--Wn)oi.push(z.readUInt16());return oi}(),ce=(this.length-z.pos+this.offset)/2,Ue=function(){var Wn,oi;for(oi=[],Xe=Wn=0;0<=ce?Wn<ce:Wn>ce;Xe=0<=ce?++Wn:--Wn)oi.push(z.readUInt16());return oi}(),Xe=fn=0,ir=he.length;fn<ir;Xe=++fn)for(Tn=he[Xe],re=hr=Dn=Bn[Xe];Dn<=Tn?hr<=Tn:hr>=Tn;re=Dn<=Tn?++hr:--hr)gt[Xe]===0?Ze=re+$e[Xe]:(Ze=Ue[gt[Xe]/2+(re-Dn)-(qt-Xe)]||0)!==0&&(Ze+=$e[Xe]),this.codeMap[re]=65535&Ze}z.pos=Ut}return y.encode=function(z,E){var re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn,fn,hr,ir,Wn,oi,Ui,Ei,Fr,Gn,Vr,cn,kn,fr,sr,fi,wi,Fi,ei,Ni,ko,io,on,Kn,qn,vr,kr,Jr,Si,Li,Yi,Eo,ua;switch(sr=new Wh,Ze=Object.keys(z).sort(function(sa,qa){return sa-qa}),E){case"macroman":for(Bn=0,Tn=function(){var sa=[];for(Dn=0;Dn<256;++Dn)sa.push(0);return sa}(),hr={0:0},he={},fi=0,Ni=Ze.length;fi<Ni;fi++)hr[Li=z[ce=Ze[fi]]]==null&&(hr[Li]=++Bn),he[ce]={old:z[ce],new:hr[z[ce]]},Tn[ce]=hr[z[ce]];return sr.writeUInt16(1),sr.writeUInt16(0),sr.writeUInt32(12),sr.writeUInt16(0),sr.writeUInt16(262),sr.writeUInt16(0),sr.write(Tn),{charMap:he,subtable:sr.data,maxGlyphID:Bn+1};case"unicode":for(kn=[],Ut=[],ir=0,hr={},re={},fn=$e=null,wi=0,ko=Ze.length;wi<ko;wi++)hr[oi=z[ce=Ze[wi]]]==null&&(hr[oi]=++ir),re[ce]={old:oi,new:hr[oi]},Ue=hr[oi]-ce,fn!=null&&Ue===$e||(fn&&Ut.push(fn),kn.push(ce),$e=Ue),fn=ce;for(fn&&Ut.push(fn),Ut.push(65535),kn.push(65535),Vr=2*(Gn=kn.length),Fr=2*Math.pow(Math.log(Gn)/Math.LN2,2),qt=Math.log(Fr/2)/Math.LN2,Ei=2*Gn-Fr,Xe=[],Ui=[],ft=[],Dn=Fi=0,io=kn.length;Fi<io;Dn=++Fi){if(cn=kn[Dn],gt=Ut[Dn],cn===65535){Xe.push(0),Ui.push(0);break}if(cn-(fr=re[cn].new)>=32768)for(Xe.push(0),Ui.push(2*(ft.length+Gn-Dn)),ce=ei=cn;cn<=gt?ei<=gt:ei>=gt;ce=cn<=gt?++ei:--ei)ft.push(re[ce].new);else Xe.push(fr-cn),Ui.push(0)}for(sr.writeUInt16(3),sr.writeUInt16(1),sr.writeUInt32(12),sr.writeUInt16(4),sr.writeUInt16(16+8*Gn+2*ft.length),sr.writeUInt16(0),sr.writeUInt16(Vr),sr.writeUInt16(Fr),sr.writeUInt16(qt),sr.writeUInt16(Ei),Jr=0,on=Ut.length;Jr<on;Jr++)ce=Ut[Jr],sr.writeUInt16(ce);for(sr.writeUInt16(0),Si=0,Kn=kn.length;Si<Kn;Si++)ce=kn[Si],sr.writeUInt16(ce);for(Yi=0,qn=Xe.length;Yi<qn;Yi++)Ue=Xe[Yi],sr.writeUInt16(Ue);for(Eo=0,vr=Ui.length;Eo<vr;Eo++)Wn=Ui[Eo],sr.writeUInt16(Wn);for(ua=0,kr=ft.length;ua<kr;ua++)Bn=ft[ua],sr.writeUInt16(Bn);return{charMap:re,subtable:sr.data,maxGlyphID:ir+1}}},y}(),z0=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="cmap",y.prototype.parse=function(z){var E,re,ce;for(z.pos=this.offset,this.version=z.readUInt16(),ce=z.readUInt16(),this.tables=[],this.unicode=null,re=0;0<=ce?re<ce:re>ce;re=0<=ce?++re:--re)E=new H0(z,this.offset),this.tables.push(E),E.isUnicode&&this.unicode==null&&(this.unicode=E);return!0},y.encode=function(z,E){var re,ce;return E==null&&(E="macroman"),re=H0.encode(z,E),(ce=new Wh).writeUInt16(0),ce.writeUInt16(1),re.table=ce.data.concat(re.subtable),re},y}(),Qv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="hhea",y.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.ascender=z.readShort(),this.decender=z.readShort(),this.lineGap=z.readShort(),this.advanceWidthMax=z.readShort(),this.minLeftSideBearing=z.readShort(),this.minRightSideBearing=z.readShort(),this.xMaxExtent=z.readShort(),this.caretSlopeRise=z.readShort(),this.caretSlopeRun=z.readShort(),this.caretOffset=z.readShort(),z.pos+=8,this.metricDataFormat=z.readShort(),this.numberOfMetrics=z.readUInt16()},y}(),jv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="OS/2",y.prototype.parse=function(z){if(z.pos=this.offset,this.version=z.readUInt16(),this.averageCharWidth=z.readShort(),this.weightClass=z.readUInt16(),this.widthClass=z.readUInt16(),this.type=z.readShort(),this.ySubscriptXSize=z.readShort(),this.ySubscriptYSize=z.readShort(),this.ySubscriptXOffset=z.readShort(),this.ySubscriptYOffset=z.readShort(),this.ySuperscriptXSize=z.readShort(),this.ySuperscriptYSize=z.readShort(),this.ySuperscriptXOffset=z.readShort(),this.ySuperscriptYOffset=z.readShort(),this.yStrikeoutSize=z.readShort(),this.yStrikeoutPosition=z.readShort(),this.familyClass=z.readShort(),this.panose=function(){var E,re;for(re=[],E=0;E<10;++E)re.push(z.readByte());return re}(),this.charRange=function(){var E,re;for(re=[],E=0;E<4;++E)re.push(z.readInt());return re}(),this.vendorID=z.readString(4),this.selection=z.readShort(),this.firstCharIndex=z.readShort(),this.lastCharIndex=z.readShort(),this.version>0&&(this.ascent=z.readShort(),this.descent=z.readShort(),this.lineGap=z.readShort(),this.winAscent=z.readShort(),this.winDescent=z.readShort(),this.codePageRange=function(){var E,re;for(re=[],E=0;E<2;E=++E)re.push(z.readInt());return re}(),this.version>1))return this.xHeight=z.readShort(),this.capHeight=z.readShort(),this.defaultChar=z.readShort(),this.breakChar=z.readShort(),this.maxContext=z.readShort()},y}(),Hv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="post",y.prototype.parse=function(z){var E,re,ce;switch(z.pos=this.offset,this.format=z.readInt(),this.italicAngle=z.readInt(),this.underlinePosition=z.readShort(),this.underlineThickness=z.readShort(),this.isFixedPitch=z.readInt(),this.minMemType42=z.readInt(),this.maxMemType42=z.readInt(),this.minMemType1=z.readInt(),this.maxMemType1=z.readInt(),this.format){case 65536:case 196608:break;case 131072:var he;for(re=z.readUInt16(),this.glyphNameIndex=[],he=0;0<=re?he<re:he>re;he=0<=re?++he:--he)this.glyphNameIndex.push(z.readUInt16());for(this.names=[],ce=[];z.pos<this.offset+this.length;)E=z.readByte(),ce.push(this.names.push(z.readString(E)));return ce;case 151552:return re=z.readUInt16(),this.offsets=z.read(re);case 262144:return this.map=function(){var Ze,Ue,Xe;for(Xe=[],he=Ze=0,Ue=this.file.maxp.numGlyphs;0<=Ue?Ze<Ue:Ze>Ue;he=0<=Ue?++Ze:--Ze)Xe.push(z.readUInt32());return Xe}.call(this)}},y}(),zv=function(y,z){this.raw=y,this.length=y.length,this.platformID=z.platformID,this.encodingID=z.encodingID,this.languageID=z.languageID},Kv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="name",y.prototype.parse=function(z){var E,re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt;for(z.pos=this.offset,z.readShort(),E=z.readShort(),Ue=z.readShort(),re=[],he=0;0<=E?he<E:he>E;he=0<=E?++he:--he)re.push({platformID:z.readShort(),encodingID:z.readShort(),languageID:z.readShort(),nameID:z.readShort(),length:z.readShort(),offset:this.offset+Ue+z.readShort()});for(Xe={},he=gt=0,Ut=re.length;gt<Ut;he=++gt)ce=re[he],z.pos=ce.offset,$e=z.readString(ce.length),Ze=new zv($e,ce),Xe[qt=ce.nameID]==null&&(Xe[qt]=[]),Xe[ce.nameID].push(Ze);this.strings=Xe,this.copyright=Xe[0],this.fontFamily=Xe[1],this.fontSubfamily=Xe[2],this.uniqueSubfamily=Xe[3],this.fontName=Xe[4],this.version=Xe[5];try{this.postscriptName=Xe[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(ft){this.postscriptName=Xe[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Xe[7],this.manufacturer=Xe[8],this.designer=Xe[9],this.description=Xe[10],this.vendorUrl=Xe[11],this.designerUrl=Xe[12],this.license=Xe[13],this.licenseUrl=Xe[14],this.preferredFamily=Xe[15],this.preferredSubfamily=Xe[17],this.compatibleFull=Xe[18],this.sampleText=Xe[19]},y}(),Zv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="maxp",y.prototype.parse=function(z){return z.pos=this.offset,this.version=z.readInt(),this.numGlyphs=z.readUInt16(),this.maxPoints=z.readUInt16(),this.maxContours=z.readUInt16(),this.maxCompositePoints=z.readUInt16(),this.maxComponentContours=z.readUInt16(),this.maxZones=z.readUInt16(),this.maxTwilightPoints=z.readUInt16(),this.maxStorage=z.readUInt16(),this.maxFunctionDefs=z.readUInt16(),this.maxInstructionDefs=z.readUInt16(),this.maxStackElements=z.readUInt16(),this.maxSizeOfInstructions=z.readUInt16(),this.maxComponentElements=z.readUInt16(),this.maxComponentDepth=z.readUInt16()},y}(),Wv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="hmtx",y.prototype.parse=function(z){var E,re,ce,he,Ze,Ue,Xe;for(z.pos=this.offset,this.metrics=[],E=0,Ue=this.file.hhea.numberOfMetrics;0<=Ue?E<Ue:E>Ue;E=0<=Ue?++E:--E)this.metrics.push({advance:z.readUInt16(),lsb:z.readInt16()});for(ce=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var $e,gt;for(gt=[],E=$e=0;0<=ce?$e<ce:$e>ce;E=0<=ce?++$e:--$e)gt.push(z.readInt16());return gt}(),this.widths=function(){var $e,gt,Ut,qt;for(qt=[],$e=0,gt=(Ut=this.metrics).length;$e<gt;$e++)he=Ut[$e],qt.push(he.advance);return qt}.call(this),re=this.widths[this.widths.length-1],Xe=[],E=Ze=0;0<=ce?Ze<ce:Ze>ce;E=0<=ce?++Ze:--Ze)Xe.push(this.widths.push(re));return Xe},y.prototype.forGlyph=function(z){return z in this.metrics?this.metrics[z]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[z-this.metrics.length]}},y}(),K0=[].slice,Vv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="glyf",y.prototype.parse=function(){return this.cache={}},y.prototype.glyphFor=function(z){var E,re,ce,he,Ze,Ue,Xe,$e,gt,Ut;return z in this.cache?this.cache[z]:(he=this.file.loca,E=this.file.contents,re=he.indexOf(z),(ce=he.lengthOf(z))===0?this.cache[z]=null:(E.pos=this.offset+re,Ze=(Ue=new Wh(E.read(ce))).readShort(),$e=Ue.readShort(),Ut=Ue.readShort(),Xe=Ue.readShort(),gt=Ue.readShort(),this.cache[z]=Ze===-1?new Xv(Ue,$e,Ut,Xe,gt):new Gv(Ue,Ze,$e,Ut,Xe,gt),this.cache[z]))},y.prototype.encode=function(z,E,re){var ce,he,Ze,Ue,Xe;for(Ze=[],he=[],Ue=0,Xe=E.length;Ue<Xe;Ue++)ce=z[E[Ue]],he.push(Ze.length),ce&&(Ze=Ze.concat(ce.encode(re)));return he.push(Ze.length),{table:Ze,offsets:he}},y}(),Gv=function(){function y(z,E,re,ce,he,Ze){this.raw=z,this.numberOfContours=E,this.xMin=re,this.yMin=ce,this.xMax=he,this.yMax=Ze,this.compound=!1}return y.prototype.encode=function(){return this.raw.data},y}(),Xv=function(){function y(z,E,re,ce,he){var Ze,Ue;for(this.raw=z,this.xMin=E,this.yMin=re,this.xMax=ce,this.yMax=he,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Ze=this.raw;Ue=Ze.readShort(),this.glyphOffsets.push(Ze.pos),this.glyphIDs.push(Ze.readUInt16()),32&Ue;)Ze.pos+=1&Ue?4:2,128&Ue?Ze.pos+=8:64&Ue?Ze.pos+=4:8&Ue&&(Ze.pos+=2)}return y.prototype.encode=function(){var z,E,re;for(E=new Wh(K0.call(this.raw.data)),z=0,re=this.glyphIDs.length;z<re;++z)E.pos=this.glyphOffsets[z];return E.data},y}(),Yv=function(){function y(){return y.__super__.constructor.apply(this,arguments)}return Hf(y,Af),y.prototype.tag="loca",y.prototype.parse=function(z){var E,re;return z.pos=this.offset,E=this.file.head.indexToLocFormat,this.offsets=E===0?function(){var ce,he;for(he=[],re=0,ce=this.length;re<ce;re+=2)he.push(2*z.readUInt16());return he}.call(this):function(){var ce,he;for(he=[],re=0,ce=this.length;re<ce;re+=4)he.push(z.readUInt32());return he}.call(this)},y.prototype.indexOf=function(z){return this.offsets[z]},y.prototype.lengthOf=function(z){return this.offsets[z+1]-this.offsets[z]},y.prototype.encode=function(z,E){for(var re=new Uint32Array(this.offsets.length),ce=0,he=0,Ze=0;Ze<re.length;++Ze)if(re[Ze]=ce,he<E.length&&E[he]==Ze){++he,re[Ze]=ce;var Ue=this.offsets[Ze],Xe=this.offsets[Ze+1]-Ue;Xe>0&&(ce+=Xe)}for(var $e=new Array(4*re.length),gt=0;gt<re.length;++gt)$e[4*gt+3]=255&re[gt],$e[4*gt+2]=(65280&re[gt])>>8,$e[4*gt+1]=(16711680&re[gt])>>16,$e[4*gt]=(4278190080&re[gt])>>24;return $e},y}(),$v=function(){function y(z){this.font=z,this.subset={},this.unicodes={},this.next=33}return y.prototype.generateCmap=function(){var z,E,re,ce,he;for(E in ce=this.font.cmap.tables[0].codeMap,z={},he=this.subset)re=he[E],z[E]=ce[re];return z},y.prototype.glyphsFor=function(z){var E,re,ce,he,Ze,Ue,Xe;for(ce={},Ze=0,Ue=z.length;Ze<Ue;Ze++)ce[he=z[Ze]]=this.font.glyf.glyphFor(he);for(he in E=[],ce)(re=ce[he])!=null&&re.compound&&E.push.apply(E,re.glyphIDs);if(E.length>0)for(he in Xe=this.glyphsFor(E))re=Xe[he],ce[he]=re;return ce},y.prototype.encode=function(z,E){var re,ce,he,Ze,Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn,fn;for(ce in re=z0.encode(this.generateCmap(),"unicode"),Ze=this.glyphsFor(z),ft={0:0},fn=re.charMap)ft[(Xe=fn[ce]).old]=Xe.new;for(Dn in qt=re.maxGlyphID,Ze)Dn in ft||(ft[Dn]=qt++);return gt=function(hr){var ir,Wn;for(ir in Wn={},hr)Wn[hr[ir]]=ir;return Wn}(ft),Ut=Object.keys(gt).sort(function(hr,ir){return hr-ir}),Bn=function(){var hr,ir,Wn;for(Wn=[],hr=0,ir=Ut.length;hr<ir;hr++)Ue=Ut[hr],Wn.push(gt[Ue]);return Wn}(),he=this.font.glyf.encode(Ze,Bn,ft),$e=this.font.loca.encode(he.offsets,Bn),Tn={cmap:this.font.cmap.raw(),glyf:he.table,loca:$e,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(E)},this.font.os2.exists&&(Tn["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Tn)},y}();Na.API.PDFObject=function(){var y;function z(){}return y=function(E,re){return(Array(re+1).join("0")+E).slice(-re)},z.convert=function(E){var re,ce,he,Ze;if(Array.isArray(E))return"["+function(){var Ue,Xe,$e;for($e=[],Ue=0,Xe=E.length;Ue<Xe;Ue++)re=E[Ue],$e.push(z.convert(re));return $e}().join(" ")+"]";if(typeof E=="string")return"/"+E;if(E!=null&&E.isString)return"("+E+")";if(E instanceof Date)return"(D:"+y(E.getUTCFullYear(),4)+y(E.getUTCMonth(),2)+y(E.getUTCDate(),2)+y(E.getUTCHours(),2)+y(E.getUTCMinutes(),2)+y(E.getUTCSeconds(),2)+"Z)";if({}.toString.call(E)==="[object Object]"){for(ce in he=["<<"],E)Ze=E[ce],he.push("/"+ce+" "+z.convert(Ze));return he.push(">>"),he.join(`
`)}return""+E},z}()},86129:function(Xn,Mt,ae){var x=ae(19208).lW,dt=ae(97671);(function(Le){Xn.exports=Le()})(function(){return function Le(qe,He,Fe){function Me(oe,Pe){if(!He[oe]){if(!qe[oe]){var ye=void 0;if(!Pe&&ye)return require(oe,!0);if(fe)return fe(oe,!0);var Re=new Error("Cannot find module '"+oe+"'");throw Re.code="MODULE_NOT_FOUND",Re}var Se=He[oe]={exports:{}};qe[oe][0].call(Se.exports,function(Ie){var ve=qe[oe][1][Ie];return Me(ve||Ie)},Se,Se.exports,Le,qe,He,Fe)}return He[oe].exports}for(var fe=void 0,xe=0;xe<Fe.length;xe++)Me(Fe[xe]);return Me}({1:[function(Le,qe,He){"use strict";var Fe=Le("./utils"),Me=Le("./support"),fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";He.encode=function(xe){for(var oe,Pe,ye,Re,Se,Ie,ve,we=[],Ee=0,Oe=xe.length,Ke=Oe,je=Fe.getTypeOf(xe)!=="string";Ee<xe.length;)Ke=Oe-Ee,ye=je?(oe=xe[Ee++],Pe=Ee<Oe?xe[Ee++]:0,Ee<Oe?xe[Ee++]:0):(oe=xe.charCodeAt(Ee++),Pe=Ee<Oe?xe.charCodeAt(Ee++):0,Ee<Oe?xe.charCodeAt(Ee++):0),Re=oe>>2,Se=(3&oe)<<4|Pe>>4,Ie=1<Ke?(15&Pe)<<2|ye>>6:64,ve=2<Ke?63&ye:64,we.push(fe.charAt(Re)+fe.charAt(Se)+fe.charAt(Ie)+fe.charAt(ve));return we.join("")},He.decode=function(xe){var oe,Pe,ye,Re,Se,Ie,ve=0,we=0,Ee="data:";if(xe.substr(0,Ee.length)===Ee)throw new Error("Invalid base64 input, it looks like a data url.");var Oe,Ke=3*(xe=xe.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(xe.charAt(xe.length-1)===fe.charAt(64)&&Ke--,xe.charAt(xe.length-2)===fe.charAt(64)&&Ke--,Ke%1!=0)throw new Error("Invalid base64 input, bad content length.");for(Oe=Me.uint8array?new Uint8Array(0|Ke):new Array(0|Ke);ve<xe.length;)oe=fe.indexOf(xe.charAt(ve++))<<2|(Re=fe.indexOf(xe.charAt(ve++)))>>4,Pe=(15&Re)<<4|(Se=fe.indexOf(xe.charAt(ve++)))>>2,ye=(3&Se)<<6|(Ie=fe.indexOf(xe.charAt(ve++))),Oe[we++]=oe,Se!==64&&(Oe[we++]=Pe),Ie!==64&&(Oe[we++]=ye);return Oe}},{"./support":30,"./utils":32}],2:[function(Le,qe,He){"use strict";var Fe=Le("./external"),Me=Le("./stream/DataWorker"),fe=Le("./stream/Crc32Probe"),xe=Le("./stream/DataLengthProbe");function oe(Pe,ye,Re,Se,Ie){this.compressedSize=Pe,this.uncompressedSize=ye,this.crc32=Re,this.compression=Se,this.compressedContent=Ie}oe.prototype={getContentWorker:function(){var Pe=new Me(Fe.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new xe("data_length")),ye=this;return Pe.on("end",function(){if(this.streamInfo.data_length!==ye.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),Pe},getCompressedWorker:function(){return new Me(Fe.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},oe.createWorkerFrom=function(Pe,ye,Re){return Pe.pipe(new fe).pipe(new xe("uncompressedSize")).pipe(ye.compressWorker(Re)).pipe(new xe("compressedSize")).withStreamInfo("compression",ye)},qe.exports=oe},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(Le,qe,He){"use strict";var Fe=Le("./stream/GenericWorker");He.STORE={magic:"\0\0",compressWorker:function(){return new Fe("STORE compression")},uncompressWorker:function(){return new Fe("STORE decompression")}},He.DEFLATE=Le("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(Le,qe,He){"use strict";var Fe=Le("./utils"),Me=function(){for(var fe,xe=[],oe=0;oe<256;oe++){fe=oe;for(var Pe=0;Pe<8;Pe++)fe=1&fe?3988292384^fe>>>1:fe>>>1;xe[oe]=fe}return xe}();qe.exports=function(fe,xe){return fe!==void 0&&fe.length?Fe.getTypeOf(fe)!=="string"?function(oe,Pe,ye,Re){var Se=Me,Ie=Re+ye;oe^=-1;for(var ve=Re;ve<Ie;ve++)oe=oe>>>8^Se[255&(oe^Pe[ve])];return-1^oe}(0|xe,fe,fe.length,0):function(oe,Pe,ye,Re){var Se=Me,Ie=Re+ye;oe^=-1;for(var ve=Re;ve<Ie;ve++)oe=oe>>>8^Se[255&(oe^Pe.charCodeAt(ve))];return-1^oe}(0|xe,fe,fe.length,0):0}},{"./utils":32}],5:[function(Le,qe,He){"use strict";He.base64=!1,He.binary=!1,He.dir=!1,He.createFolders=!0,He.date=null,He.compression=null,He.compressionOptions=null,He.comment=null,He.unixPermissions=null,He.dosPermissions=null},{}],6:[function(Le,qe,He){"use strict";var Fe=null;Fe=typeof Promise!="undefined"?Promise:Le("lie"),qe.exports={Promise:Fe}},{lie:37}],7:[function(Le,qe,He){"use strict";var Fe=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",Me=Le("pako"),fe=Le("./utils"),xe=Le("./stream/GenericWorker"),oe=Fe?"uint8array":"array";function Pe(ye,Re){xe.call(this,"FlateWorker/"+ye),this._pako=null,this._pakoAction=ye,this._pakoOptions=Re,this.meta={}}He.magic="\b\0",fe.inherits(Pe,xe),Pe.prototype.processChunk=function(ye){this.meta=ye.meta,this._pako===null&&this._createPako(),this._pako.push(fe.transformTo(oe,ye.data),!1)},Pe.prototype.flush=function(){xe.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Pe.prototype.cleanUp=function(){xe.prototype.cleanUp.call(this),this._pako=null},Pe.prototype._createPako=function(){this._pako=new Me[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var ye=this;this._pako.onData=function(Re){ye.push({data:Re,meta:ye.meta})}},He.compressWorker=function(ye){return new Pe("Deflate",ye)},He.uncompressWorker=function(){return new Pe("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(Le,qe,He){"use strict";function Fe(Se,Ie){var ve,we="";for(ve=0;ve<Ie;ve++)we+=String.fromCharCode(255&Se),Se>>>=8;return we}function Me(Se,Ie,ve,we,Ee,Oe){var Ke,je,_e=Se.file,Je=Se.compression,Ve=Oe!==oe.utf8encode,st=fe.transformTo("string",Oe(_e.name)),at=fe.transformTo("string",oe.utf8encode(_e.name)),ht=_e.comment,Ct=fe.transformTo("string",Oe(ht)),ze=fe.transformTo("string",oe.utf8encode(ht)),pt=at.length!==_e.name.length,Ne=ze.length!==ht.length,Qe="",Ot="",ot="",lt=_e.dir,Bt=_e.date,We={crc32:0,compressedSize:0,uncompressedSize:0};Ie&&!ve||(We.crc32=Se.crc32,We.compressedSize=Se.compressedSize,We.uncompressedSize=Se.uncompressedSize);var ke=0;Ie&&(ke|=8),Ve||!pt&&!Ne||(ke|=2048);var At=0,Kt=0;lt&&(At|=16),Ee==="UNIX"?(Kt=798,At|=function(nt,Pt){var Rt=nt;return nt||(Rt=Pt?16893:33204),(65535&Rt)<<16}(_e.unixPermissions,lt)):(Kt=20,At|=function(nt){return 63&(nt||0)}(_e.dosPermissions)),Ke=Bt.getUTCHours(),Ke<<=6,Ke|=Bt.getUTCMinutes(),Ke<<=5,Ke|=Bt.getUTCSeconds()/2,je=Bt.getUTCFullYear()-1980,je<<=4,je|=Bt.getUTCMonth()+1,je<<=5,je|=Bt.getUTCDate(),pt&&(Ot=Fe(1,1)+Fe(Pe(st),4)+at,Qe+="up"+Fe(Ot.length,2)+Ot),Ne&&(ot=Fe(1,1)+Fe(Pe(Ct),4)+ze,Qe+="uc"+Fe(ot.length,2)+ot);var Ht="";return Ht+=`
\0`,Ht+=Fe(ke,2),Ht+=Je.magic,Ht+=Fe(Ke,2),Ht+=Fe(je,2),Ht+=Fe(We.crc32,4),Ht+=Fe(We.compressedSize,4),Ht+=Fe(We.uncompressedSize,4),Ht+=Fe(st.length,2),Ht+=Fe(Qe.length,2),{fileRecord:ye.LOCAL_FILE_HEADER+Ht+st+Qe,dirRecord:ye.CENTRAL_FILE_HEADER+Fe(Kt,2)+Ht+Fe(Ct.length,2)+"\0\0\0\0"+Fe(At,4)+Fe(we,4)+st+Qe+Ct}}var fe=Le("../utils"),xe=Le("../stream/GenericWorker"),oe=Le("../utf8"),Pe=Le("../crc32"),ye=Le("../signature");function Re(Se,Ie,ve,we){xe.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Ie,this.zipPlatform=ve,this.encodeFileName=we,this.streamFiles=Se,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}fe.inherits(Re,xe),Re.prototype.push=function(Se){var Ie=Se.meta.percent||0,ve=this.entriesCount,we=this._sources.length;this.accumulate?this.contentBuffer.push(Se):(this.bytesWritten+=Se.data.length,xe.prototype.push.call(this,{data:Se.data,meta:{currentFile:this.currentFile,percent:ve?(Ie+100*(ve-we-1))/ve:100}}))},Re.prototype.openedSource=function(Se){this.currentSourceOffset=this.bytesWritten,this.currentFile=Se.file.name;var Ie=this.streamFiles&&!Se.file.dir;if(Ie){var ve=Me(Se,Ie,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:ve.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Re.prototype.closedSource=function(Se){this.accumulate=!1;var Ie=this.streamFiles&&!Se.file.dir,ve=Me(Se,Ie,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(ve.dirRecord),Ie)this.push({data:function(we){return ye.DATA_DESCRIPTOR+Fe(we.crc32,4)+Fe(we.compressedSize,4)+Fe(we.uncompressedSize,4)}(Se),meta:{percent:100}});else for(this.push({data:ve.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Re.prototype.flush=function(){for(var Se=this.bytesWritten,Ie=0;Ie<this.dirRecords.length;Ie++)this.push({data:this.dirRecords[Ie],meta:{percent:100}});var ve=this.bytesWritten-Se,we=function(Ee,Oe,Ke,je,_e){var Je=fe.transformTo("string",_e(je));return ye.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Fe(Ee,2)+Fe(Ee,2)+Fe(Oe,4)+Fe(Ke,4)+Fe(Je.length,2)+Je}(this.dirRecords.length,ve,Se,this.zipComment,this.encodeFileName);this.push({data:we,meta:{percent:100}})},Re.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Re.prototype.registerPrevious=function(Se){this._sources.push(Se);var Ie=this;return Se.on("data",function(ve){Ie.processChunk(ve)}),Se.on("end",function(){Ie.closedSource(Ie.previous.streamInfo),Ie._sources.length?Ie.prepareNextSource():Ie.end()}),Se.on("error",function(ve){Ie.error(ve)}),this},Re.prototype.resume=function(){return!!xe.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Re.prototype.error=function(Se){var Ie=this._sources;if(!xe.prototype.error.call(this,Se))return!1;for(var ve=0;ve<Ie.length;ve++)try{Ie[ve].error(Se)}catch(we){}return!0},Re.prototype.lock=function(){xe.prototype.lock.call(this);for(var Se=this._sources,Ie=0;Ie<Se.length;Ie++)Se[Ie].lock()},qe.exports=Re},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(Le,qe,He){"use strict";var Fe=Le("../compressions"),Me=Le("./ZipFileWorker");He.generateWorker=function(fe,xe,oe){var Pe=new Me(xe.streamFiles,oe,xe.platform,xe.encodeFileName),ye=0;try{fe.forEach(function(Re,Se){ye++;var Ie=function(Oe,Ke){var je=Oe||Ke,_e=Fe[je];if(!_e)throw new Error(je+" is not a valid compression method !");return _e}(Se.options.compression,xe.compression),ve=Se.options.compressionOptions||xe.compressionOptions||{},we=Se.dir,Ee=Se.date;Se._compressWorker(Ie,ve).withStreamInfo("file",{name:Re,dir:we,date:Ee,comment:Se.comment||"",unixPermissions:Se.unixPermissions,dosPermissions:Se.dosPermissions}).pipe(Pe)}),Pe.entriesCount=ye}catch(Re){Pe.error(Re)}return Pe}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(Le,qe,He){"use strict";function Fe(){if(!(this instanceof Fe))return new Fe;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var Me=new Fe;for(var fe in this)typeof this[fe]!="function"&&(Me[fe]=this[fe]);return Me}}(Fe.prototype=Le("./object")).loadAsync=Le("./load"),Fe.support=Le("./support"),Fe.defaults=Le("./defaults"),Fe.version="3.10.1",Fe.loadAsync=function(Me,fe){return new Fe().loadAsync(Me,fe)},Fe.external=Le("./external"),qe.exports=Fe},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(Le,qe,He){"use strict";var Fe=Le("./utils"),Me=Le("./external"),fe=Le("./utf8"),xe=Le("./zipEntries"),oe=Le("./stream/Crc32Probe"),Pe=Le("./nodejsUtils");function ye(Re){return new Me.Promise(function(Se,Ie){var ve=Re.decompressed.getContentWorker().pipe(new oe);ve.on("error",function(we){Ie(we)}).on("end",function(){ve.streamInfo.crc32!==Re.decompressed.crc32?Ie(new Error("Corrupted zip : CRC32 mismatch")):Se()}).resume()})}qe.exports=function(Re,Se){var Ie=this;return Se=Fe.extend(Se||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:fe.utf8decode}),Pe.isNode&&Pe.isStream(Re)?Me.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Fe.prepareContent("the loaded zip file",Re,!0,Se.optimizedBinaryString,Se.base64).then(function(ve){var we=new xe(Se);return we.load(ve),we}).then(function(ve){var we=[Me.Promise.resolve(ve)],Ee=ve.files;if(Se.checkCRC32)for(var Oe=0;Oe<Ee.length;Oe++)we.push(ye(Ee[Oe]));return Me.Promise.all(we)}).then(function(ve){for(var we=ve.shift(),Ee=we.files,Oe=0;Oe<Ee.length;Oe++){var Ke=Ee[Oe],je=Ke.fileNameStr,_e=Fe.resolve(Ke.fileNameStr);Ie.file(_e,Ke.decompressed,{binary:!0,optimizedBinaryString:!0,date:Ke.date,dir:Ke.dir,comment:Ke.fileCommentStr.length?Ke.fileCommentStr:null,unixPermissions:Ke.unixPermissions,dosPermissions:Ke.dosPermissions,createFolders:Se.createFolders}),Ke.dir||(Ie.file(_e).unsafeOriginalName=je)}return we.zipComment.length&&(Ie.comment=we.zipComment),Ie})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(Le,qe,He){"use strict";var Fe=Le("../utils"),Me=Le("../stream/GenericWorker");function fe(xe,oe){Me.call(this,"Nodejs stream input adapter for "+xe),this._upstreamEnded=!1,this._bindStream(oe)}Fe.inherits(fe,Me),fe.prototype._bindStream=function(xe){var oe=this;(this._stream=xe).pause(),xe.on("data",function(Pe){oe.push({data:Pe,meta:{percent:0}})}).on("error",function(Pe){oe.isPaused?this.generatedError=Pe:oe.error(Pe)}).on("end",function(){oe.isPaused?oe._upstreamEnded=!0:oe.end()})},fe.prototype.pause=function(){return!!Me.prototype.pause.call(this)&&(this._stream.pause(),!0)},fe.prototype.resume=function(){return!!Me.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},qe.exports=fe},{"../stream/GenericWorker":28,"../utils":32}],13:[function(Le,qe,He){"use strict";var Fe=Le("readable-stream").Readable;function Me(fe,xe,oe){Fe.call(this,xe),this._helper=fe;var Pe=this;fe.on("data",function(ye,Re){Pe.push(ye)||Pe._helper.pause(),oe&&oe(Re)}).on("error",function(ye){Pe.emit("error",ye)}).on("end",function(){Pe.push(null)})}Le("../utils").inherits(Me,Fe),Me.prototype._read=function(){this._helper.resume()},qe.exports=Me},{"../utils":32,"readable-stream":16}],14:[function(Le,qe,He){"use strict";qe.exports={isNode:typeof x!="undefined",newBufferFrom:function(Fe,Me){if(x.from&&x.from!==Uint8Array.from)return x.from(Fe,Me);if(typeof Fe=="number")throw new Error('The "data" argument must not be a number');return new x(Fe,Me)},allocBuffer:function(Fe){if(x.alloc)return x.alloc(Fe);var Me=new x(Fe);return Me.fill(0),Me},isBuffer:function(Fe){return x.isBuffer(Fe)},isStream:function(Fe){return Fe&&typeof Fe.on=="function"&&typeof Fe.pause=="function"&&typeof Fe.resume=="function"}}},{}],15:[function(Le,qe,He){"use strict";function Fe(_e,Je,Ve){var st,at=fe.getTypeOf(Je),ht=fe.extend(Ve||{},Pe);ht.date=ht.date||new Date,ht.compression!==null&&(ht.compression=ht.compression.toUpperCase()),typeof ht.unixPermissions=="string"&&(ht.unixPermissions=parseInt(ht.unixPermissions,8)),ht.unixPermissions&&16384&ht.unixPermissions&&(ht.dir=!0),ht.dosPermissions&&16&ht.dosPermissions&&(ht.dir=!0),ht.dir&&(_e=Ee(_e)),ht.createFolders&&(st=we(_e))&&Oe.call(this,st,!0);var Ct=at==="string"&&ht.binary===!1&&ht.base64===!1;Ve&&Ve.binary!==void 0||(ht.binary=!Ct),(Je instanceof ye&&Je.uncompressedSize===0||ht.dir||!Je||Je.length===0)&&(ht.base64=!1,ht.binary=!0,Je="",ht.compression="STORE",at="string");var ze=null;ze=Je instanceof ye||Je instanceof xe?Je:Ie.isNode&&Ie.isStream(Je)?new ve(_e,Je):fe.prepareContent(_e,Je,ht.binary,ht.optimizedBinaryString,ht.base64);var pt=new Re(_e,ze,ht);this.files[_e]=pt}var Me=Le("./utf8"),fe=Le("./utils"),xe=Le("./stream/GenericWorker"),oe=Le("./stream/StreamHelper"),Pe=Le("./defaults"),ye=Le("./compressedObject"),Re=Le("./zipObject"),Se=Le("./generate"),Ie=Le("./nodejsUtils"),ve=Le("./nodejs/NodejsStreamInputAdapter"),we=function(_e){_e.slice(-1)==="/"&&(_e=_e.substring(0,_e.length-1));var Je=_e.lastIndexOf("/");return 0<Je?_e.substring(0,Je):""},Ee=function(_e){return _e.slice(-1)!=="/"&&(_e+="/"),_e},Oe=function(_e,Je){return Je=Je!==void 0?Je:Pe.createFolders,_e=Ee(_e),this.files[_e]||Fe.call(this,_e,null,{dir:!0,createFolders:Je}),this.files[_e]};function Ke(_e){return Object.prototype.toString.call(_e)==="[object RegExp]"}var je={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(_e){var Je,Ve,st;for(Je in this.files)st=this.files[Je],(Ve=Je.slice(this.root.length,Je.length))&&Je.slice(0,this.root.length)===this.root&&_e(Ve,st)},filter:function(_e){var Je=[];return this.forEach(function(Ve,st){_e(Ve,st)&&Je.push(st)}),Je},file:function(_e,Je,Ve){if(arguments.length!==1)return _e=this.root+_e,Fe.call(this,_e,Je,Ve),this;if(Ke(_e)){var st=_e;return this.filter(function(ht,Ct){return!Ct.dir&&st.test(ht)})}var at=this.files[this.root+_e];return at&&!at.dir?at:null},folder:function(_e){if(!_e)return this;if(Ke(_e))return this.filter(function(at,ht){return ht.dir&&_e.test(at)});var Je=this.root+_e,Ve=Oe.call(this,Je),st=this.clone();return st.root=Ve.name,st},remove:function(_e){_e=this.root+_e;var Je=this.files[_e];if(Je||(_e.slice(-1)!=="/"&&(_e+="/"),Je=this.files[_e]),Je&&!Je.dir)delete this.files[_e];else for(var Ve=this.filter(function(at,ht){return ht.name.slice(0,_e.length)===_e}),st=0;st<Ve.length;st++)delete this.files[Ve[st].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(_e){var Je,Ve={};try{if((Ve=fe.extend(_e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Me.utf8encode})).type=Ve.type.toLowerCase(),Ve.compression=Ve.compression.toUpperCase(),Ve.type==="binarystring"&&(Ve.type="string"),!Ve.type)throw new Error("No output type specified.");fe.checkSupport(Ve.type),Ve.platform!=="darwin"&&Ve.platform!=="freebsd"&&Ve.platform!=="linux"&&Ve.platform!=="sunos"||(Ve.platform="UNIX"),Ve.platform==="win32"&&(Ve.platform="DOS");var st=Ve.comment||this.comment||"";Je=Se.generateWorker(this,Ve,st)}catch(at){(Je=new xe("error")).error(at)}return new oe(Je,Ve.type||"string",Ve.mimeType)},generateAsync:function(_e,Je){return this.generateInternalStream(_e).accumulate(Je)},generateNodeStream:function(_e,Je){return(_e=_e||{}).type||(_e.type="nodebuffer"),this.generateInternalStream(_e).toNodejsStream(Je)}};qe.exports=je},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(Le,qe,He){"use strict";qe.exports=Le("stream")},{stream:void 0}],17:[function(Le,qe,He){"use strict";var Fe=Le("./DataReader");function Me(fe){Fe.call(this,fe);for(var xe=0;xe<this.data.length;xe++)fe[xe]=255&fe[xe]}Le("../utils").inherits(Me,Fe),Me.prototype.byteAt=function(fe){return this.data[this.zero+fe]},Me.prototype.lastIndexOfSignature=function(fe){for(var xe=fe.charCodeAt(0),oe=fe.charCodeAt(1),Pe=fe.charCodeAt(2),ye=fe.charCodeAt(3),Re=this.length-4;0<=Re;--Re)if(this.data[Re]===xe&&this.data[Re+1]===oe&&this.data[Re+2]===Pe&&this.data[Re+3]===ye)return Re-this.zero;return-1},Me.prototype.readAndCheckSignature=function(fe){var xe=fe.charCodeAt(0),oe=fe.charCodeAt(1),Pe=fe.charCodeAt(2),ye=fe.charCodeAt(3),Re=this.readData(4);return xe===Re[0]&&oe===Re[1]&&Pe===Re[2]&&ye===Re[3]},Me.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return[];var xe=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},qe.exports=Me},{"../utils":32,"./DataReader":18}],18:[function(Le,qe,He){"use strict";var Fe=Le("../utils");function Me(fe){this.data=fe,this.length=fe.length,this.index=0,this.zero=0}Me.prototype={checkOffset:function(fe){this.checkIndex(this.index+fe)},checkIndex:function(fe){if(this.length<this.zero+fe||fe<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+fe+"). Corrupted zip ?")},setIndex:function(fe){this.checkIndex(fe),this.index=fe},skip:function(fe){this.setIndex(this.index+fe)},byteAt:function(){},readInt:function(fe){var xe,oe=0;for(this.checkOffset(fe),xe=this.index+fe-1;xe>=this.index;xe--)oe=(oe<<8)+this.byteAt(xe);return this.index+=fe,oe},readString:function(fe){return Fe.transformTo("string",this.readData(fe))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var fe=this.readInt(4);return new Date(Date.UTC(1980+(fe>>25&127),(fe>>21&15)-1,fe>>16&31,fe>>11&31,fe>>5&63,(31&fe)<<1))}},qe.exports=Me},{"../utils":32}],19:[function(Le,qe,He){"use strict";var Fe=Le("./Uint8ArrayReader");function Me(fe){Fe.call(this,fe)}Le("../utils").inherits(Me,Fe),Me.prototype.readData=function(fe){this.checkOffset(fe);var xe=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},qe.exports=Me},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(Le,qe,He){"use strict";var Fe=Le("./DataReader");function Me(fe){Fe.call(this,fe)}Le("../utils").inherits(Me,Fe),Me.prototype.byteAt=function(fe){return this.data.charCodeAt(this.zero+fe)},Me.prototype.lastIndexOfSignature=function(fe){return this.data.lastIndexOf(fe)-this.zero},Me.prototype.readAndCheckSignature=function(fe){return fe===this.readData(4)},Me.prototype.readData=function(fe){this.checkOffset(fe);var xe=this.data.slice(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},qe.exports=Me},{"../utils":32,"./DataReader":18}],21:[function(Le,qe,He){"use strict";var Fe=Le("./ArrayReader");function Me(fe){Fe.call(this,fe)}Le("../utils").inherits(Me,Fe),Me.prototype.readData=function(fe){if(this.checkOffset(fe),fe===0)return new Uint8Array(0);var xe=this.data.subarray(this.zero+this.index,this.zero+this.index+fe);return this.index+=fe,xe},qe.exports=Me},{"../utils":32,"./ArrayReader":17}],22:[function(Le,qe,He){"use strict";var Fe=Le("../utils"),Me=Le("../support"),fe=Le("./ArrayReader"),xe=Le("./StringReader"),oe=Le("./NodeBufferReader"),Pe=Le("./Uint8ArrayReader");qe.exports=function(ye){var Re=Fe.getTypeOf(ye);return Fe.checkSupport(Re),Re!=="string"||Me.uint8array?Re==="nodebuffer"?new oe(ye):Me.uint8array?new Pe(Fe.transformTo("uint8array",ye)):new fe(Fe.transformTo("array",ye)):new xe(ye)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(Le,qe,He){"use strict";He.LOCAL_FILE_HEADER="PK",He.CENTRAL_FILE_HEADER="PK",He.CENTRAL_DIRECTORY_END="PK",He.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",He.ZIP64_CENTRAL_DIRECTORY_END="PK",He.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(Le,qe,He){"use strict";var Fe=Le("./GenericWorker"),Me=Le("../utils");function fe(xe){Fe.call(this,"ConvertWorker to "+xe),this.destType=xe}Me.inherits(fe,Fe),fe.prototype.processChunk=function(xe){this.push({data:Me.transformTo(this.destType,xe.data),meta:xe.meta})},qe.exports=fe},{"../utils":32,"./GenericWorker":28}],25:[function(Le,qe,He){"use strict";var Fe=Le("./GenericWorker"),Me=Le("../crc32");function fe(){Fe.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Le("../utils").inherits(fe,Fe),fe.prototype.processChunk=function(xe){this.streamInfo.crc32=Me(xe.data,this.streamInfo.crc32||0),this.push(xe)},qe.exports=fe},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(Le,qe,He){"use strict";var Fe=Le("../utils"),Me=Le("./GenericWorker");function fe(xe){Me.call(this,"DataLengthProbe for "+xe),this.propName=xe,this.withStreamInfo(xe,0)}Fe.inherits(fe,Me),fe.prototype.processChunk=function(xe){if(xe){var oe=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=oe+xe.data.length}Me.prototype.processChunk.call(this,xe)},qe.exports=fe},{"../utils":32,"./GenericWorker":28}],27:[function(Le,qe,He){"use strict";var Fe=Le("../utils"),Me=Le("./GenericWorker");function fe(xe){Me.call(this,"DataWorker");var oe=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,xe.then(function(Pe){oe.dataIsReady=!0,oe.data=Pe,oe.max=Pe&&Pe.length||0,oe.type=Fe.getTypeOf(Pe),oe.isPaused||oe._tickAndRepeat()},function(Pe){oe.error(Pe)})}Fe.inherits(fe,Me),fe.prototype.cleanUp=function(){Me.prototype.cleanUp.call(this),this.data=null},fe.prototype.resume=function(){return!!Me.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Fe.delay(this._tickAndRepeat,[],this)),!0)},fe.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Fe.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},fe.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var xe=null,oe=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":xe=this.data.substring(this.index,oe);break;case"uint8array":xe=this.data.subarray(this.index,oe);break;case"array":case"nodebuffer":xe=this.data.slice(this.index,oe)}return this.index=oe,this.push({data:xe,meta:{percent:this.max?this.index/this.max*100:0}})},qe.exports=fe},{"../utils":32,"./GenericWorker":28}],28:[function(Le,qe,He){"use strict";function Fe(Me){this.name=Me||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}Fe.prototype={push:function(Me){this.emit("data",Me)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(Me){this.emit("error",Me)}return!0},error:function(Me){return!this.isFinished&&(this.isPaused?this.generatedError=Me:(this.isFinished=!0,this.emit("error",Me),this.previous&&this.previous.error(Me),this.cleanUp()),!0)},on:function(Me,fe){return this._listeners[Me].push(fe),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(Me,fe){if(this._listeners[Me])for(var xe=0;xe<this._listeners[Me].length;xe++)this._listeners[Me][xe].call(this,fe)},pipe:function(Me){return Me.registerPrevious(this)},registerPrevious:function(Me){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=Me.streamInfo,this.mergeStreamInfo(),this.previous=Me;var fe=this;return Me.on("data",function(xe){fe.processChunk(xe)}),Me.on("end",function(){fe.end()}),Me.on("error",function(xe){fe.error(xe)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var Me=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),Me=!0),this.previous&&this.previous.resume(),!Me},flush:function(){},processChunk:function(Me){this.push(Me)},withStreamInfo:function(Me,fe){return this.extraStreamInfo[Me]=fe,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var Me in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,Me)&&(this.streamInfo[Me]=this.extraStreamInfo[Me])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var Me="Worker "+this.name;return this.previous?this.previous+" -> "+Me:Me}},qe.exports=Fe},{}],29:[function(Le,qe,He){"use strict";var Fe=Le("../utils"),Me=Le("./ConvertWorker"),fe=Le("./GenericWorker"),xe=Le("../base64"),oe=Le("../support"),Pe=Le("../external"),ye=null;if(oe.nodestream)try{ye=Le("../nodejs/NodejsStreamOutputAdapter")}catch(Ie){}function Re(Ie,ve){return new Pe.Promise(function(we,Ee){var Oe=[],Ke=Ie._internalType,je=Ie._outputType,_e=Ie._mimeType;Ie.on("data",function(Je,Ve){Oe.push(Je),ve&&ve(Ve)}).on("error",function(Je){Oe=[],Ee(Je)}).on("end",function(){try{var Je=function(Ve,st,at){switch(Ve){case"blob":return Fe.newBlob(Fe.transformTo("arraybuffer",st),at);case"base64":return xe.encode(st);default:return Fe.transformTo(Ve,st)}}(je,function(Ve,st){var at,ht=0,Ct=null,ze=0;for(at=0;at<st.length;at++)ze+=st[at].length;switch(Ve){case"string":return st.join("");case"array":return Array.prototype.concat.apply([],st);case"uint8array":for(Ct=new Uint8Array(ze),at=0;at<st.length;at++)Ct.set(st[at],ht),ht+=st[at].length;return Ct;case"nodebuffer":return x.concat(st);default:throw new Error("concat : unsupported type '"+Ve+"'")}}(Ke,Oe),_e);we(Je)}catch(Ve){Ee(Ve)}Oe=[]}).resume()})}function Se(Ie,ve,we){var Ee=ve;switch(ve){case"blob":case"arraybuffer":Ee="uint8array";break;case"base64":Ee="string"}try{this._internalType=Ee,this._outputType=ve,this._mimeType=we,Fe.checkSupport(Ee),this._worker=Ie.pipe(new Me(Ee)),Ie.lock()}catch(Oe){this._worker=new fe("error"),this._worker.error(Oe)}}Se.prototype={accumulate:function(Ie){return Re(this,Ie)},on:function(Ie,ve){var we=this;return Ie==="data"?this._worker.on(Ie,function(Ee){ve.call(we,Ee.data,Ee.meta)}):this._worker.on(Ie,function(){Fe.delay(ve,arguments,we)}),this},resume:function(){return Fe.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(Ie){if(Fe.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new ye(this,{objectMode:this._outputType!=="nodebuffer"},Ie)}},qe.exports=Se},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(Le,qe,He){"use strict";if(He.base64=!0,He.array=!0,He.string=!0,He.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",He.nodebuffer=typeof x!="undefined",He.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")He.blob=!1;else{var Fe=new ArrayBuffer(0);try{He.blob=new Blob([Fe],{type:"application/zip"}).size===0}catch(fe){try{var Me=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Me.append(Fe),He.blob=Me.getBlob("application/zip").size===0}catch(xe){He.blob=!1}}}try{He.nodestream=!!Le("readable-stream").Readable}catch(fe){He.nodestream=!1}},{"readable-stream":16}],31:[function(Le,qe,He){"use strict";for(var Fe=Le("./utils"),Me=Le("./support"),fe=Le("./nodejsUtils"),xe=Le("./stream/GenericWorker"),oe=new Array(256),Pe=0;Pe<256;Pe++)oe[Pe]=252<=Pe?6:248<=Pe?5:240<=Pe?4:224<=Pe?3:192<=Pe?2:1;oe[254]=oe[254]=1;function ye(){xe.call(this,"utf-8 decode"),this.leftOver=null}function Re(){xe.call(this,"utf-8 encode")}He.utf8encode=function(Se){return Me.nodebuffer?fe.newBufferFrom(Se,"utf-8"):function(Ie){var ve,we,Ee,Oe,Ke,je=Ie.length,_e=0;for(Oe=0;Oe<je;Oe++)(64512&(we=Ie.charCodeAt(Oe)))==55296&&Oe+1<je&&(64512&(Ee=Ie.charCodeAt(Oe+1)))==56320&&(we=65536+(we-55296<<10)+(Ee-56320),Oe++),_e+=we<128?1:we<2048?2:we<65536?3:4;for(ve=Me.uint8array?new Uint8Array(_e):new Array(_e),Oe=Ke=0;Ke<_e;Oe++)(64512&(we=Ie.charCodeAt(Oe)))==55296&&Oe+1<je&&(64512&(Ee=Ie.charCodeAt(Oe+1)))==56320&&(we=65536+(we-55296<<10)+(Ee-56320),Oe++),we<128?ve[Ke++]=we:(we<2048?ve[Ke++]=192|we>>>6:(we<65536?ve[Ke++]=224|we>>>12:(ve[Ke++]=240|we>>>18,ve[Ke++]=128|we>>>12&63),ve[Ke++]=128|we>>>6&63),ve[Ke++]=128|63&we);return ve}(Se)},He.utf8decode=function(Se){return Me.nodebuffer?Fe.transformTo("nodebuffer",Se).toString("utf-8"):function(Ie){var ve,we,Ee,Oe,Ke=Ie.length,je=new Array(2*Ke);for(ve=we=0;ve<Ke;)if((Ee=Ie[ve++])<128)je[we++]=Ee;else if(4<(Oe=oe[Ee]))je[we++]=65533,ve+=Oe-1;else{for(Ee&=Oe===2?31:Oe===3?15:7;1<Oe&&ve<Ke;)Ee=Ee<<6|63&Ie[ve++],Oe--;1<Oe?je[we++]=65533:Ee<65536?je[we++]=Ee:(Ee-=65536,je[we++]=55296|Ee>>10&1023,je[we++]=56320|1023&Ee)}return je.length!==we&&(je.subarray?je=je.subarray(0,we):je.length=we),Fe.applyFromCharCode(je)}(Se=Fe.transformTo(Me.uint8array?"uint8array":"array",Se))},Fe.inherits(ye,xe),ye.prototype.processChunk=function(Se){var Ie=Fe.transformTo(Me.uint8array?"uint8array":"array",Se.data);if(this.leftOver&&this.leftOver.length){if(Me.uint8array){var ve=Ie;(Ie=new Uint8Array(ve.length+this.leftOver.length)).set(this.leftOver,0),Ie.set(ve,this.leftOver.length)}else Ie=this.leftOver.concat(Ie);this.leftOver=null}var we=function(Oe,Ke){var je;for((Ke=Ke||Oe.length)>Oe.length&&(Ke=Oe.length),je=Ke-1;0<=je&&(192&Oe[je])==128;)je--;return je<0||je===0?Ke:je+oe[Oe[je]]>Ke?je:Ke}(Ie),Ee=Ie;we!==Ie.length&&(Me.uint8array?(Ee=Ie.subarray(0,we),this.leftOver=Ie.subarray(we,Ie.length)):(Ee=Ie.slice(0,we),this.leftOver=Ie.slice(we,Ie.length))),this.push({data:He.utf8decode(Ee),meta:Se.meta})},ye.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:He.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},He.Utf8DecodeWorker=ye,Fe.inherits(Re,xe),Re.prototype.processChunk=function(Se){this.push({data:He.utf8encode(Se.data),meta:Se.meta})},He.Utf8EncodeWorker=Re},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(Le,qe,He){"use strict";var Fe=Le("./support"),Me=Le("./base64"),fe=Le("./nodejsUtils"),xe=Le("./external");function oe(ve){return ve}function Pe(ve,we){for(var Ee=0;Ee<ve.length;++Ee)we[Ee]=255&ve.charCodeAt(Ee);return we}Le("setimmediate"),He.newBlob=function(ve,we){He.checkSupport("blob");try{return new Blob([ve],{type:we})}catch(Oe){try{var Ee=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Ee.append(ve),Ee.getBlob(we)}catch(Ke){throw new Error("Bug : can't construct the Blob.")}}};var ye={stringifyByChunk:function(ve,we,Ee){var Oe=[],Ke=0,je=ve.length;if(je<=Ee)return String.fromCharCode.apply(null,ve);for(;Ke<je;)we==="array"||we==="nodebuffer"?Oe.push(String.fromCharCode.apply(null,ve.slice(Ke,Math.min(Ke+Ee,je)))):Oe.push(String.fromCharCode.apply(null,ve.subarray(Ke,Math.min(Ke+Ee,je)))),Ke+=Ee;return Oe.join("")},stringifyByChar:function(ve){for(var we="",Ee=0;Ee<ve.length;Ee++)we+=String.fromCharCode(ve[Ee]);return we},applyCanBeUsed:{uint8array:function(){try{return Fe.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(ve){return!1}}(),nodebuffer:function(){try{return Fe.nodebuffer&&String.fromCharCode.apply(null,fe.allocBuffer(1)).length===1}catch(ve){return!1}}()}};function Re(ve){var we=65536,Ee=He.getTypeOf(ve),Oe=!0;if(Ee==="uint8array"?Oe=ye.applyCanBeUsed.uint8array:Ee==="nodebuffer"&&(Oe=ye.applyCanBeUsed.nodebuffer),Oe)for(;1<we;)try{return ye.stringifyByChunk(ve,Ee,we)}catch(Ke){we=Math.floor(we/2)}return ye.stringifyByChar(ve)}function Se(ve,we){for(var Ee=0;Ee<ve.length;Ee++)we[Ee]=ve[Ee];return we}He.applyFromCharCode=Re;var Ie={};Ie.string={string:oe,array:function(ve){return Pe(ve,new Array(ve.length))},arraybuffer:function(ve){return Ie.string.uint8array(ve).buffer},uint8array:function(ve){return Pe(ve,new Uint8Array(ve.length))},nodebuffer:function(ve){return Pe(ve,fe.allocBuffer(ve.length))}},Ie.array={string:Re,array:oe,arraybuffer:function(ve){return new Uint8Array(ve).buffer},uint8array:function(ve){return new Uint8Array(ve)},nodebuffer:function(ve){return fe.newBufferFrom(ve)}},Ie.arraybuffer={string:function(ve){return Re(new Uint8Array(ve))},array:function(ve){return Se(new Uint8Array(ve),new Array(ve.byteLength))},arraybuffer:oe,uint8array:function(ve){return new Uint8Array(ve)},nodebuffer:function(ve){return fe.newBufferFrom(new Uint8Array(ve))}},Ie.uint8array={string:Re,array:function(ve){return Se(ve,new Array(ve.length))},arraybuffer:function(ve){return ve.buffer},uint8array:oe,nodebuffer:function(ve){return fe.newBufferFrom(ve)}},Ie.nodebuffer={string:Re,array:function(ve){return Se(ve,new Array(ve.length))},arraybuffer:function(ve){return Ie.nodebuffer.uint8array(ve).buffer},uint8array:function(ve){return Se(ve,new Uint8Array(ve.length))},nodebuffer:oe},He.transformTo=function(ve,we){if(we=we||"",!ve)return we;He.checkSupport(ve);var Ee=He.getTypeOf(we);return Ie[Ee][ve](we)},He.resolve=function(ve){for(var we=ve.split("/"),Ee=[],Oe=0;Oe<we.length;Oe++){var Ke=we[Oe];Ke==="."||Ke===""&&Oe!==0&&Oe!==we.length-1||(Ke===".."?Ee.pop():Ee.push(Ke))}return Ee.join("/")},He.getTypeOf=function(ve){return typeof ve=="string"?"string":Object.prototype.toString.call(ve)==="[object Array]"?"array":Fe.nodebuffer&&fe.isBuffer(ve)?"nodebuffer":Fe.uint8array&&ve instanceof Uint8Array?"uint8array":Fe.arraybuffer&&ve instanceof ArrayBuffer?"arraybuffer":void 0},He.checkSupport=function(ve){if(!Fe[ve.toLowerCase()])throw new Error(ve+" is not supported by this platform")},He.MAX_VALUE_16BITS=65535,He.MAX_VALUE_32BITS=-1,He.pretty=function(ve){var we,Ee,Oe="";for(Ee=0;Ee<(ve||"").length;Ee++)Oe+="\\x"+((we=ve.charCodeAt(Ee))<16?"0":"")+we.toString(16).toUpperCase();return Oe},He.delay=function(ve,we,Ee){setImmediate(function(){ve.apply(Ee||null,we||[])})},He.inherits=function(ve,we){function Ee(){}Ee.prototype=we.prototype,ve.prototype=new Ee},He.extend=function(){var ve,we,Ee={};for(ve=0;ve<arguments.length;ve++)for(we in arguments[ve])Object.prototype.hasOwnProperty.call(arguments[ve],we)&&Ee[we]===void 0&&(Ee[we]=arguments[ve][we]);return Ee},He.prepareContent=function(ve,we,Ee,Oe,Ke){return xe.Promise.resolve(we).then(function(je){return Fe.blob&&(je instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(je))!==-1)&&typeof FileReader!="undefined"?new xe.Promise(function(_e,Je){var Ve=new FileReader;Ve.onload=function(st){_e(st.target.result)},Ve.onerror=function(st){Je(st.target.error)},Ve.readAsArrayBuffer(je)}):je}).then(function(je){var _e=He.getTypeOf(je);return _e?(_e==="arraybuffer"?je=He.transformTo("uint8array",je):_e==="string"&&(Ke?je=Me.decode(je):Ee&&Oe!==!0&&(je=function(Je){return Pe(Je,Fe.uint8array?new Uint8Array(Je.length):new Array(Je.length))}(je))),je):xe.Promise.reject(new Error("Can't read the data of '"+ve+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(Le,qe,He){"use strict";var Fe=Le("./reader/readerFor"),Me=Le("./utils"),fe=Le("./signature"),xe=Le("./zipEntry"),oe=Le("./support");function Pe(ye){this.files=[],this.loadOptions=ye}Pe.prototype={checkSignature:function(ye){if(!this.reader.readAndCheckSignature(ye)){this.reader.index-=4;var Re=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Me.pretty(Re)+", expected "+Me.pretty(ye)+")")}},isSignature:function(ye,Re){var Se=this.reader.index;this.reader.setIndex(ye);var Ie=this.reader.readString(4)===Re;return this.reader.setIndex(Se),Ie},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var ye=this.reader.readData(this.zipCommentLength),Re=oe.uint8array?"uint8array":"array",Se=Me.transformTo(Re,ye);this.zipComment=this.loadOptions.decodeFileName(Se)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var ye,Re,Se,Ie=this.zip64EndOfCentralSize-44;0<Ie;)ye=this.reader.readInt(2),Re=this.reader.readInt(4),Se=this.reader.readData(Re),this.zip64ExtensibleData[ye]={id:ye,length:Re,value:Se}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var ye,Re;for(ye=0;ye<this.files.length;ye++)Re=this.files[ye],this.reader.setIndex(Re.localHeaderOffset),this.checkSignature(fe.LOCAL_FILE_HEADER),Re.readLocalPart(this.reader),Re.handleUTF8(),Re.processAttributes()},readCentralDir:function(){var ye;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fe.CENTRAL_FILE_HEADER);)(ye=new xe({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(ye);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var ye=this.reader.lastIndexOfSignature(fe.CENTRAL_DIRECTORY_END);if(ye<0)throw this.isSignature(0,fe.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(ye);var Re=ye;if(this.checkSignature(fe.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Me.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Me.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Me.MAX_VALUE_16BITS||this.centralDirRecords===Me.MAX_VALUE_16BITS||this.centralDirSize===Me.MAX_VALUE_32BITS||this.centralDirOffset===Me.MAX_VALUE_32BITS){if(this.zip64=!0,(ye=this.reader.lastIndexOfSignature(fe.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(ye),this.checkSignature(fe.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fe.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fe.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(fe.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var Se=this.centralDirOffset+this.centralDirSize;this.zip64&&(Se+=20,Se+=12+this.zip64EndOfCentralSize);var Ie=Re-Se;if(0<Ie)this.isSignature(Re,fe.CENTRAL_FILE_HEADER)||(this.reader.zero=Ie);else if(Ie<0)throw new Error("Corrupted zip: missing "+Math.abs(Ie)+" bytes.")},prepareReader:function(ye){this.reader=Fe(ye)},load:function(ye){this.prepareReader(ye),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},qe.exports=Pe},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(Le,qe,He){"use strict";var Fe=Le("./reader/readerFor"),Me=Le("./utils"),fe=Le("./compressedObject"),xe=Le("./crc32"),oe=Le("./utf8"),Pe=Le("./compressions"),ye=Le("./support");function Re(Se,Ie){this.options=Se,this.loadOptions=Ie}Re.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(Se){var Ie,ve;if(Se.skip(22),this.fileNameLength=Se.readInt(2),ve=Se.readInt(2),this.fileName=Se.readData(this.fileNameLength),Se.skip(ve),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((Ie=function(we){for(var Ee in Pe)if(Object.prototype.hasOwnProperty.call(Pe,Ee)&&Pe[Ee].magic===we)return Pe[Ee];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+Me.pretty(this.compressionMethod)+" unknown (inner file : "+Me.transformTo("string",this.fileName)+")");this.decompressed=new fe(this.compressedSize,this.uncompressedSize,this.crc32,Ie,Se.readData(this.compressedSize))},readCentralPart:function(Se){this.versionMadeBy=Se.readInt(2),Se.skip(2),this.bitFlag=Se.readInt(2),this.compressionMethod=Se.readString(2),this.date=Se.readDate(),this.crc32=Se.readInt(4),this.compressedSize=Se.readInt(4),this.uncompressedSize=Se.readInt(4);var Ie=Se.readInt(2);if(this.extraFieldsLength=Se.readInt(2),this.fileCommentLength=Se.readInt(2),this.diskNumberStart=Se.readInt(2),this.internalFileAttributes=Se.readInt(2),this.externalFileAttributes=Se.readInt(4),this.localHeaderOffset=Se.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");Se.skip(Ie),this.readExtraFields(Se),this.parseZIP64ExtraField(Se),this.fileComment=Se.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var Se=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),Se==0&&(this.dosPermissions=63&this.externalFileAttributes),Se==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var Se=Fe(this.extraFields[1].value);this.uncompressedSize===Me.MAX_VALUE_32BITS&&(this.uncompressedSize=Se.readInt(8)),this.compressedSize===Me.MAX_VALUE_32BITS&&(this.compressedSize=Se.readInt(8)),this.localHeaderOffset===Me.MAX_VALUE_32BITS&&(this.localHeaderOffset=Se.readInt(8)),this.diskNumberStart===Me.MAX_VALUE_32BITS&&(this.diskNumberStart=Se.readInt(4))}},readExtraFields:function(Se){var Ie,ve,we,Ee=Se.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});Se.index+4<Ee;)Ie=Se.readInt(2),ve=Se.readInt(2),we=Se.readData(ve),this.extraFields[Ie]={id:Ie,length:ve,value:we};Se.setIndex(Ee)},handleUTF8:function(){var Se=ye.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=oe.utf8decode(this.fileName),this.fileCommentStr=oe.utf8decode(this.fileComment);else{var Ie=this.findExtraFieldUnicodePath();if(Ie!==null)this.fileNameStr=Ie;else{var ve=Me.transformTo(Se,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(ve)}var we=this.findExtraFieldUnicodeComment();if(we!==null)this.fileCommentStr=we;else{var Ee=Me.transformTo(Se,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Ee)}}},findExtraFieldUnicodePath:function(){var Se=this.extraFields[28789];if(Se){var Ie=Fe(Se.value);return Ie.readInt(1)!==1||xe(this.fileName)!==Ie.readInt(4)?null:oe.utf8decode(Ie.readData(Se.length-5))}return null},findExtraFieldUnicodeComment:function(){var Se=this.extraFields[25461];if(Se){var Ie=Fe(Se.value);return Ie.readInt(1)!==1||xe(this.fileComment)!==Ie.readInt(4)?null:oe.utf8decode(Ie.readData(Se.length-5))}return null}},qe.exports=Re},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(Le,qe,He){"use strict";function Fe(Ie,ve,we){this.name=Ie,this.dir=we.dir,this.date=we.date,this.comment=we.comment,this.unixPermissions=we.unixPermissions,this.dosPermissions=we.dosPermissions,this._data=ve,this._dataBinary=we.binary,this.options={compression:we.compression,compressionOptions:we.compressionOptions}}var Me=Le("./stream/StreamHelper"),fe=Le("./stream/DataWorker"),xe=Le("./utf8"),oe=Le("./compressedObject"),Pe=Le("./stream/GenericWorker");Fe.prototype={internalStream:function(Ie){var ve=null,we="string";try{if(!Ie)throw new Error("No output type specified.");var Ee=(we=Ie.toLowerCase())==="string"||we==="text";we!=="binarystring"&&we!=="text"||(we="string"),ve=this._decompressWorker();var Oe=!this._dataBinary;Oe&&!Ee&&(ve=ve.pipe(new xe.Utf8EncodeWorker)),!Oe&&Ee&&(ve=ve.pipe(new xe.Utf8DecodeWorker))}catch(Ke){(ve=new Pe("error")).error(Ke)}return new Me(ve,we,"")},async:function(Ie,ve){return this.internalStream(Ie).accumulate(ve)},nodeStream:function(Ie,ve){return this.internalStream(Ie||"nodebuffer").toNodejsStream(ve)},_compressWorker:function(Ie,ve){if(this._data instanceof oe&&this._data.compression.magic===Ie.magic)return this._data.getCompressedWorker();var we=this._decompressWorker();return this._dataBinary||(we=we.pipe(new xe.Utf8EncodeWorker)),oe.createWorkerFrom(we,Ie,ve)},_decompressWorker:function(){return this._data instanceof oe?this._data.getContentWorker():this._data instanceof Pe?this._data:new fe(this._data)}};for(var ye=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Re=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Se=0;Se<ye.length;Se++)Fe.prototype[ye[Se]]=Re;qe.exports=Fe},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(Le,qe,He){(function(Fe){"use strict";var Me,fe,xe=Fe.MutationObserver||Fe.WebKitMutationObserver;if(xe){var oe=0,Pe=new xe(Ie),ye=Fe.document.createTextNode("");Pe.observe(ye,{characterData:!0}),Me=function(){ye.data=oe=++oe%2}}else if(Fe.setImmediate||Fe.MessageChannel===void 0)Me="document"in Fe&&"onreadystatechange"in Fe.document.createElement("script")?function(){var ve=Fe.document.createElement("script");ve.onreadystatechange=function(){Ie(),ve.onreadystatechange=null,ve.parentNode.removeChild(ve),ve=null},Fe.document.documentElement.appendChild(ve)}:function(){setTimeout(Ie,0)};else{var Re=new Fe.MessageChannel;Re.port1.onmessage=Ie,Me=function(){Re.port2.postMessage(0)}}var Se=[];function Ie(){var ve,we;fe=!0;for(var Ee=Se.length;Ee;){for(we=Se,Se=[],ve=-1;++ve<Ee;)we[ve]();Ee=Se.length}fe=!1}qe.exports=function(ve){Se.push(ve)!==1||fe||Me()}}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(Le,qe,He){"use strict";var Fe=Le("immediate");function Me(){}var fe={},xe=["REJECTED"],oe=["FULFILLED"],Pe=["PENDING"];function ye(Ee){if(typeof Ee!="function")throw new TypeError("resolver must be a function");this.state=Pe,this.queue=[],this.outcome=void 0,Ee!==Me&&ve(this,Ee)}function Re(Ee,Oe,Ke){this.promise=Ee,typeof Oe=="function"&&(this.onFulfilled=Oe,this.callFulfilled=this.otherCallFulfilled),typeof Ke=="function"&&(this.onRejected=Ke,this.callRejected=this.otherCallRejected)}function Se(Ee,Oe,Ke){Fe(function(){var je;try{je=Oe(Ke)}catch(_e){return fe.reject(Ee,_e)}je===Ee?fe.reject(Ee,new TypeError("Cannot resolve promise with itself")):fe.resolve(Ee,je)})}function Ie(Ee){var Oe=Ee&&Ee.then;if(Ee&&(typeof Ee=="object"||typeof Ee=="function")&&typeof Oe=="function")return function(){Oe.apply(Ee,arguments)}}function ve(Ee,Oe){var Ke=!1;function je(Ve){Ke||(Ke=!0,fe.reject(Ee,Ve))}function _e(Ve){Ke||(Ke=!0,fe.resolve(Ee,Ve))}var Je=we(function(){Oe(_e,je)});Je.status==="error"&&je(Je.value)}function we(Ee,Oe){var Ke={};try{Ke.value=Ee(Oe),Ke.status="success"}catch(je){Ke.status="error",Ke.value=je}return Ke}(qe.exports=ye).prototype.finally=function(Ee){if(typeof Ee!="function")return this;var Oe=this.constructor;return this.then(function(Ke){return Oe.resolve(Ee()).then(function(){return Ke})},function(Ke){return Oe.resolve(Ee()).then(function(){throw Ke})})},ye.prototype.catch=function(Ee){return this.then(null,Ee)},ye.prototype.then=function(Ee,Oe){if(typeof Ee!="function"&&this.state===oe||typeof Oe!="function"&&this.state===xe)return this;var Ke=new this.constructor(Me);return this.state!==Pe?Se(Ke,this.state===oe?Ee:Oe,this.outcome):this.queue.push(new Re(Ke,Ee,Oe)),Ke},Re.prototype.callFulfilled=function(Ee){fe.resolve(this.promise,Ee)},Re.prototype.otherCallFulfilled=function(Ee){Se(this.promise,this.onFulfilled,Ee)},Re.prototype.callRejected=function(Ee){fe.reject(this.promise,Ee)},Re.prototype.otherCallRejected=function(Ee){Se(this.promise,this.onRejected,Ee)},fe.resolve=function(Ee,Oe){var Ke=we(Ie,Oe);if(Ke.status==="error")return fe.reject(Ee,Ke.value);var je=Ke.value;if(je)ve(Ee,je);else{Ee.state=oe,Ee.outcome=Oe;for(var _e=-1,Je=Ee.queue.length;++_e<Je;)Ee.queue[_e].callFulfilled(Oe)}return Ee},fe.reject=function(Ee,Oe){Ee.state=xe,Ee.outcome=Oe;for(var Ke=-1,je=Ee.queue.length;++Ke<je;)Ee.queue[Ke].callRejected(Oe);return Ee},ye.resolve=function(Ee){return Ee instanceof this?Ee:fe.resolve(new this(Me),Ee)},ye.reject=function(Ee){var Oe=new this(Me);return fe.reject(Oe,Ee)},ye.all=function(Ee){var Oe=this;if(Object.prototype.toString.call(Ee)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Ke=Ee.length,je=!1;if(!Ke)return this.resolve([]);for(var _e=new Array(Ke),Je=0,Ve=-1,st=new this(Me);++Ve<Ke;)at(Ee[Ve],Ve);return st;function at(ht,Ct){Oe.resolve(ht).then(function(ze){_e[Ct]=ze,++Je!==Ke||je||(je=!0,fe.resolve(st,_e))},function(ze){je||(je=!0,fe.reject(st,ze))})}},ye.race=function(Ee){var Oe=this;if(Object.prototype.toString.call(Ee)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Ke=Ee.length,je=!1;if(!Ke)return this.resolve([]);for(var _e=-1,Je=new this(Me);++_e<Ke;)Ve=Ee[_e],Oe.resolve(Ve).then(function(st){je||(je=!0,fe.resolve(Je,st))},function(st){je||(je=!0,fe.reject(Je,st))});var Ve;return Je}},{immediate:36}],38:[function(Le,qe,He){"use strict";var Fe={};(0,Le("./lib/utils/common").assign)(Fe,Le("./lib/deflate"),Le("./lib/inflate"),Le("./lib/zlib/constants")),qe.exports=Fe},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(Le,qe,He){"use strict";var Fe=Le("./zlib/deflate"),Me=Le("./utils/common"),fe=Le("./utils/strings"),xe=Le("./zlib/messages"),oe=Le("./zlib/zstream"),Pe=Object.prototype.toString,ye=0,Re=-1,Se=0,Ie=8;function ve(Ee){if(!(this instanceof ve))return new ve(Ee);this.options=Me.assign({level:Re,method:Ie,chunkSize:16384,windowBits:15,memLevel:8,strategy:Se,to:""},Ee||{});var Oe=this.options;Oe.raw&&0<Oe.windowBits?Oe.windowBits=-Oe.windowBits:Oe.gzip&&0<Oe.windowBits&&Oe.windowBits<16&&(Oe.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new oe,this.strm.avail_out=0;var Ke=Fe.deflateInit2(this.strm,Oe.level,Oe.method,Oe.windowBits,Oe.memLevel,Oe.strategy);if(Ke!==ye)throw new Error(xe[Ke]);if(Oe.header&&Fe.deflateSetHeader(this.strm,Oe.header),Oe.dictionary){var je;if(je=typeof Oe.dictionary=="string"?fe.string2buf(Oe.dictionary):Pe.call(Oe.dictionary)==="[object ArrayBuffer]"?new Uint8Array(Oe.dictionary):Oe.dictionary,(Ke=Fe.deflateSetDictionary(this.strm,je))!==ye)throw new Error(xe[Ke]);this._dict_set=!0}}function we(Ee,Oe){var Ke=new ve(Oe);if(Ke.push(Ee,!0),Ke.err)throw Ke.msg||xe[Ke.err];return Ke.result}ve.prototype.push=function(Ee,Oe){var Ke,je,_e=this.strm,Je=this.options.chunkSize;if(this.ended)return!1;je=Oe===~~Oe?Oe:Oe===!0?4:0,typeof Ee=="string"?_e.input=fe.string2buf(Ee):Pe.call(Ee)==="[object ArrayBuffer]"?_e.input=new Uint8Array(Ee):_e.input=Ee,_e.next_in=0,_e.avail_in=_e.input.length;do{if(_e.avail_out===0&&(_e.output=new Me.Buf8(Je),_e.next_out=0,_e.avail_out=Je),(Ke=Fe.deflate(_e,je))!==1&&Ke!==ye)return this.onEnd(Ke),!(this.ended=!0);_e.avail_out!==0&&(_e.avail_in!==0||je!==4&&je!==2)||(this.options.to==="string"?this.onData(fe.buf2binstring(Me.shrinkBuf(_e.output,_e.next_out))):this.onData(Me.shrinkBuf(_e.output,_e.next_out)))}while((0<_e.avail_in||_e.avail_out===0)&&Ke!==1);return je===4?(Ke=Fe.deflateEnd(this.strm),this.onEnd(Ke),this.ended=!0,Ke===ye):je!==2||(this.onEnd(ye),!(_e.avail_out=0))},ve.prototype.onData=function(Ee){this.chunks.push(Ee)},ve.prototype.onEnd=function(Ee){Ee===ye&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Me.flattenChunks(this.chunks)),this.chunks=[],this.err=Ee,this.msg=this.strm.msg},He.Deflate=ve,He.deflate=we,He.deflateRaw=function(Ee,Oe){return(Oe=Oe||{}).raw=!0,we(Ee,Oe)},He.gzip=function(Ee,Oe){return(Oe=Oe||{}).gzip=!0,we(Ee,Oe)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(Le,qe,He){"use strict";var Fe=Le("./zlib/inflate"),Me=Le("./utils/common"),fe=Le("./utils/strings"),xe=Le("./zlib/constants"),oe=Le("./zlib/messages"),Pe=Le("./zlib/zstream"),ye=Le("./zlib/gzheader"),Re=Object.prototype.toString;function Se(ve){if(!(this instanceof Se))return new Se(ve);this.options=Me.assign({chunkSize:16384,windowBits:0,to:""},ve||{});var we=this.options;we.raw&&0<=we.windowBits&&we.windowBits<16&&(we.windowBits=-we.windowBits,we.windowBits===0&&(we.windowBits=-15)),!(0<=we.windowBits&&we.windowBits<16)||ve&&ve.windowBits||(we.windowBits+=32),15<we.windowBits&&we.windowBits<48&&!(15&we.windowBits)&&(we.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Pe,this.strm.avail_out=0;var Ee=Fe.inflateInit2(this.strm,we.windowBits);if(Ee!==xe.Z_OK)throw new Error(oe[Ee]);this.header=new ye,Fe.inflateGetHeader(this.strm,this.header)}function Ie(ve,we){var Ee=new Se(we);if(Ee.push(ve,!0),Ee.err)throw Ee.msg||oe[Ee.err];return Ee.result}Se.prototype.push=function(ve,we){var Ee,Oe,Ke,je,_e,Je,Ve=this.strm,st=this.options.chunkSize,at=this.options.dictionary,ht=!1;if(this.ended)return!1;Oe=we===~~we?we:we===!0?xe.Z_FINISH:xe.Z_NO_FLUSH,typeof ve=="string"?Ve.input=fe.binstring2buf(ve):Re.call(ve)==="[object ArrayBuffer]"?Ve.input=new Uint8Array(ve):Ve.input=ve,Ve.next_in=0,Ve.avail_in=Ve.input.length;do{if(Ve.avail_out===0&&(Ve.output=new Me.Buf8(st),Ve.next_out=0,Ve.avail_out=st),(Ee=Fe.inflate(Ve,xe.Z_NO_FLUSH))===xe.Z_NEED_DICT&&at&&(Je=typeof at=="string"?fe.string2buf(at):Re.call(at)==="[object ArrayBuffer]"?new Uint8Array(at):at,Ee=Fe.inflateSetDictionary(this.strm,Je)),Ee===xe.Z_BUF_ERROR&&ht===!0&&(Ee=xe.Z_OK,ht=!1),Ee!==xe.Z_STREAM_END&&Ee!==xe.Z_OK)return this.onEnd(Ee),!(this.ended=!0);Ve.next_out&&(Ve.avail_out!==0&&Ee!==xe.Z_STREAM_END&&(Ve.avail_in!==0||Oe!==xe.Z_FINISH&&Oe!==xe.Z_SYNC_FLUSH)||(this.options.to==="string"?(Ke=fe.utf8border(Ve.output,Ve.next_out),je=Ve.next_out-Ke,_e=fe.buf2string(Ve.output,Ke),Ve.next_out=je,Ve.avail_out=st-je,je&&Me.arraySet(Ve.output,Ve.output,Ke,je,0),this.onData(_e)):this.onData(Me.shrinkBuf(Ve.output,Ve.next_out)))),Ve.avail_in===0&&Ve.avail_out===0&&(ht=!0)}while((0<Ve.avail_in||Ve.avail_out===0)&&Ee!==xe.Z_STREAM_END);return Ee===xe.Z_STREAM_END&&(Oe=xe.Z_FINISH),Oe===xe.Z_FINISH?(Ee=Fe.inflateEnd(this.strm),this.onEnd(Ee),this.ended=!0,Ee===xe.Z_OK):Oe!==xe.Z_SYNC_FLUSH||(this.onEnd(xe.Z_OK),!(Ve.avail_out=0))},Se.prototype.onData=function(ve){this.chunks.push(ve)},Se.prototype.onEnd=function(ve){ve===xe.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Me.flattenChunks(this.chunks)),this.chunks=[],this.err=ve,this.msg=this.strm.msg},He.Inflate=Se,He.inflate=Ie,He.inflateRaw=function(ve,we){return(we=we||{}).raw=!0,Ie(ve,we)},He.ungzip=Ie},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(Le,qe,He){"use strict";var Fe=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";He.assign=function(xe){for(var oe=Array.prototype.slice.call(arguments,1);oe.length;){var Pe=oe.shift();if(Pe){if(typeof Pe!="object")throw new TypeError(Pe+"must be non-object");for(var ye in Pe)Pe.hasOwnProperty(ye)&&(xe[ye]=Pe[ye])}}return xe},He.shrinkBuf=function(xe,oe){return xe.length===oe?xe:xe.subarray?xe.subarray(0,oe):(xe.length=oe,xe)};var Me={arraySet:function(xe,oe,Pe,ye,Re){if(oe.subarray&&xe.subarray)xe.set(oe.subarray(Pe,Pe+ye),Re);else for(var Se=0;Se<ye;Se++)xe[Re+Se]=oe[Pe+Se]},flattenChunks:function(xe){var oe,Pe,ye,Re,Se,Ie;for(oe=ye=0,Pe=xe.length;oe<Pe;oe++)ye+=xe[oe].length;for(Ie=new Uint8Array(ye),oe=Re=0,Pe=xe.length;oe<Pe;oe++)Se=xe[oe],Ie.set(Se,Re),Re+=Se.length;return Ie}},fe={arraySet:function(xe,oe,Pe,ye,Re){for(var Se=0;Se<ye;Se++)xe[Re+Se]=oe[Pe+Se]},flattenChunks:function(xe){return[].concat.apply([],xe)}};He.setTyped=function(xe){xe?(He.Buf8=Uint8Array,He.Buf16=Uint16Array,He.Buf32=Int32Array,He.assign(He,Me)):(He.Buf8=Array,He.Buf16=Array,He.Buf32=Array,He.assign(He,fe))},He.setTyped(Fe)},{}],42:[function(Le,qe,He){"use strict";var Fe=Le("./common"),Me=!0,fe=!0;try{String.fromCharCode.apply(null,[0])}catch(ye){Me=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(ye){fe=!1}for(var xe=new Fe.Buf8(256),oe=0;oe<256;oe++)xe[oe]=252<=oe?6:248<=oe?5:240<=oe?4:224<=oe?3:192<=oe?2:1;function Pe(ye,Re){if(Re<65537&&(ye.subarray&&fe||!ye.subarray&&Me))return String.fromCharCode.apply(null,Fe.shrinkBuf(ye,Re));for(var Se="",Ie=0;Ie<Re;Ie++)Se+=String.fromCharCode(ye[Ie]);return Se}xe[254]=xe[254]=1,He.string2buf=function(ye){var Re,Se,Ie,ve,we,Ee=ye.length,Oe=0;for(ve=0;ve<Ee;ve++)(64512&(Se=ye.charCodeAt(ve)))==55296&&ve+1<Ee&&(64512&(Ie=ye.charCodeAt(ve+1)))==56320&&(Se=65536+(Se-55296<<10)+(Ie-56320),ve++),Oe+=Se<128?1:Se<2048?2:Se<65536?3:4;for(Re=new Fe.Buf8(Oe),ve=we=0;we<Oe;ve++)(64512&(Se=ye.charCodeAt(ve)))==55296&&ve+1<Ee&&(64512&(Ie=ye.charCodeAt(ve+1)))==56320&&(Se=65536+(Se-55296<<10)+(Ie-56320),ve++),Se<128?Re[we++]=Se:(Se<2048?Re[we++]=192|Se>>>6:(Se<65536?Re[we++]=224|Se>>>12:(Re[we++]=240|Se>>>18,Re[we++]=128|Se>>>12&63),Re[we++]=128|Se>>>6&63),Re[we++]=128|63&Se);return Re},He.buf2binstring=function(ye){return Pe(ye,ye.length)},He.binstring2buf=function(ye){for(var Re=new Fe.Buf8(ye.length),Se=0,Ie=Re.length;Se<Ie;Se++)Re[Se]=ye.charCodeAt(Se);return Re},He.buf2string=function(ye,Re){var Se,Ie,ve,we,Ee=Re||ye.length,Oe=new Array(2*Ee);for(Se=Ie=0;Se<Ee;)if((ve=ye[Se++])<128)Oe[Ie++]=ve;else if(4<(we=xe[ve]))Oe[Ie++]=65533,Se+=we-1;else{for(ve&=we===2?31:we===3?15:7;1<we&&Se<Ee;)ve=ve<<6|63&ye[Se++],we--;1<we?Oe[Ie++]=65533:ve<65536?Oe[Ie++]=ve:(ve-=65536,Oe[Ie++]=55296|ve>>10&1023,Oe[Ie++]=56320|1023&ve)}return Pe(Oe,Ie)},He.utf8border=function(ye,Re){var Se;for((Re=Re||ye.length)>ye.length&&(Re=ye.length),Se=Re-1;0<=Se&&(192&ye[Se])==128;)Se--;return Se<0||Se===0?Re:Se+xe[ye[Se]]>Re?Se:Re}},{"./common":41}],43:[function(Le,qe,He){"use strict";qe.exports=function(Fe,Me,fe,xe){for(var oe=65535&Fe|0,Pe=Fe>>>16&65535|0,ye=0;fe!==0;){for(fe-=ye=2e3<fe?2e3:fe;Pe=Pe+(oe=oe+Me[xe++]|0)|0,--ye;);oe%=65521,Pe%=65521}return oe|Pe<<16|0}},{}],44:[function(Le,qe,He){"use strict";qe.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(Le,qe,He){"use strict";var Fe=function(){for(var Me,fe=[],xe=0;xe<256;xe++){Me=xe;for(var oe=0;oe<8;oe++)Me=1&Me?3988292384^Me>>>1:Me>>>1;fe[xe]=Me}return fe}();qe.exports=function(Me,fe,xe,oe){var Pe=Fe,ye=oe+xe;Me^=-1;for(var Re=oe;Re<ye;Re++)Me=Me>>>8^Pe[255&(Me^fe[Re])];return-1^Me}},{}],46:[function(Le,qe,He){"use strict";var Fe,Me=Le("../utils/common"),fe=Le("./trees"),xe=Le("./adler32"),oe=Le("./crc32"),Pe=Le("./messages"),ye=0,Re=4,Se=0,Ie=-2,ve=-1,we=4,Ee=2,Oe=8,Ke=9,je=286,_e=30,Je=19,Ve=2*je+1,st=15,at=3,ht=258,Ct=ht+at+1,ze=42,pt=113,Ne=1,Qe=2,Ot=3,ot=4;function lt(de,ge){return de.msg=Pe[ge],ge}function Bt(de){return(de<<1)-(4<de?9:0)}function We(de){for(var ge=de.length;0<=--ge;)de[ge]=0}function ke(de){var ge=de.state,ie=ge.pending;ie>de.avail_out&&(ie=de.avail_out),ie!==0&&(Me.arraySet(de.output,ge.pending_buf,ge.pending_out,ie,de.next_out),de.next_out+=ie,ge.pending_out+=ie,de.total_out+=ie,de.avail_out-=ie,ge.pending-=ie,ge.pending===0&&(ge.pending_out=0))}function At(de,ge){fe._tr_flush_block(de,0<=de.block_start?de.block_start:-1,de.strstart-de.block_start,ge),de.block_start=de.strstart,ke(de.strm)}function Kt(de,ge){de.pending_buf[de.pending++]=ge}function Ht(de,ge){de.pending_buf[de.pending++]=ge>>>8&255,de.pending_buf[de.pending++]=255&ge}function nt(de,ge){var ie,ee,se=de.max_chain_length,le=de.strstart,Be=de.prev_length,Ge=de.nice_match,ut=de.strstart>de.w_size-Ct?de.strstart-(de.w_size-Ct):0,mt=de.window,vt=de.w_mask,St=de.prev,Dt=de.strstart+ht,Qt=mt[le+Be-1],xt=mt[le+Be];de.prev_length>=de.good_match&&(se>>=2),Ge>de.lookahead&&(Ge=de.lookahead);do if(mt[(ie=ge)+Be]===xt&&mt[ie+Be-1]===Qt&&mt[ie]===mt[le]&&mt[++ie]===mt[le+1]){le+=2,ie++;do;while(mt[++le]===mt[++ie]&&mt[++le]===mt[++ie]&&mt[++le]===mt[++ie]&&mt[++le]===mt[++ie]&&mt[++le]===mt[++ie]&&mt[++le]===mt[++ie]&&mt[++le]===mt[++ie]&&mt[++le]===mt[++ie]&&le<Dt);if(ee=ht-(Dt-le),le=Dt-ht,Be<ee){if(de.match_start=ge,Ge<=(Be=ee))break;Qt=mt[le+Be-1],xt=mt[le+Be]}}while((ge=St[ge&vt])>ut&&--se!=0);return Be<=de.lookahead?Be:de.lookahead}function Pt(de){var ge,ie,ee,se,le,Be,Ge,ut,mt,vt,St=de.w_size;do{if(se=de.window_size-de.lookahead-de.strstart,de.strstart>=St+(St-Ct)){for(Me.arraySet(de.window,de.window,St,St,0),de.match_start-=St,de.strstart-=St,de.block_start-=St,ge=ie=de.hash_size;ee=de.head[--ge],de.head[ge]=St<=ee?ee-St:0,--ie;);for(ge=ie=St;ee=de.prev[--ge],de.prev[ge]=St<=ee?ee-St:0,--ie;);se+=St}if(de.strm.avail_in===0)break;if(Be=de.strm,Ge=de.window,ut=de.strstart+de.lookahead,mt=se,vt=void 0,vt=Be.avail_in,mt<vt&&(vt=mt),ie=vt===0?0:(Be.avail_in-=vt,Me.arraySet(Ge,Be.input,Be.next_in,vt,ut),Be.state.wrap===1?Be.adler=xe(Be.adler,Ge,vt,ut):Be.state.wrap===2&&(Be.adler=oe(Be.adler,Ge,vt,ut)),Be.next_in+=vt,Be.total_in+=vt,vt),de.lookahead+=ie,de.lookahead+de.insert>=at)for(le=de.strstart-de.insert,de.ins_h=de.window[le],de.ins_h=(de.ins_h<<de.hash_shift^de.window[le+1])&de.hash_mask;de.insert&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[le+at-1])&de.hash_mask,de.prev[le&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=le,le++,de.insert--,!(de.lookahead+de.insert<at)););}while(de.lookahead<Ct&&de.strm.avail_in!==0)}function Rt(de,ge){for(var ie,ee;;){if(de.lookahead<Ct){if(Pt(de),de.lookahead<Ct&&ge===ye)return Ne;if(de.lookahead===0)break}if(ie=0,de.lookahead>=at&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+at-1])&de.hash_mask,ie=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart),ie!==0&&de.strstart-ie<=de.w_size-Ct&&(de.match_length=nt(de,ie)),de.match_length>=at)if(ee=fe._tr_tally(de,de.strstart-de.match_start,de.match_length-at),de.lookahead-=de.match_length,de.match_length<=de.max_lazy_match&&de.lookahead>=at){for(de.match_length--;de.strstart++,de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+at-1])&de.hash_mask,ie=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart,--de.match_length!=0;);de.strstart++}else de.strstart+=de.match_length,de.match_length=0,de.ins_h=de.window[de.strstart],de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+1])&de.hash_mask;else ee=fe._tr_tally(de,0,de.window[de.strstart]),de.lookahead--,de.strstart++;if(ee&&(At(de,!1),de.strm.avail_out===0))return Ne}return de.insert=de.strstart<at-1?de.strstart:at-1,ge===Re?(At(de,!0),de.strm.avail_out===0?Ot:ot):de.last_lit&&(At(de,!1),de.strm.avail_out===0)?Ne:Qe}function hn(de,ge){for(var ie,ee,se;;){if(de.lookahead<Ct){if(Pt(de),de.lookahead<Ct&&ge===ye)return Ne;if(de.lookahead===0)break}if(ie=0,de.lookahead>=at&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+at-1])&de.hash_mask,ie=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart),de.prev_length=de.match_length,de.prev_match=de.match_start,de.match_length=at-1,ie!==0&&de.prev_length<de.max_lazy_match&&de.strstart-ie<=de.w_size-Ct&&(de.match_length=nt(de,ie),de.match_length<=5&&(de.strategy===1||de.match_length===at&&4096<de.strstart-de.match_start)&&(de.match_length=at-1)),de.prev_length>=at&&de.match_length<=de.prev_length){for(se=de.strstart+de.lookahead-at,ee=fe._tr_tally(de,de.strstart-1-de.prev_match,de.prev_length-at),de.lookahead-=de.prev_length-1,de.prev_length-=2;++de.strstart<=se&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+at-1])&de.hash_mask,ie=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart),--de.prev_length!=0;);if(de.match_available=0,de.match_length=at-1,de.strstart++,ee&&(At(de,!1),de.strm.avail_out===0))return Ne}else if(de.match_available){if((ee=fe._tr_tally(de,0,de.window[de.strstart-1]))&&At(de,!1),de.strstart++,de.lookahead--,de.strm.avail_out===0)return Ne}else de.match_available=1,de.strstart++,de.lookahead--}return de.match_available&&(ee=fe._tr_tally(de,0,de.window[de.strstart-1]),de.match_available=0),de.insert=de.strstart<at-1?de.strstart:at-1,ge===Re?(At(de,!0),de.strm.avail_out===0?Ot:ot):de.last_lit&&(At(de,!1),de.strm.avail_out===0)?Ne:Qe}function Tt(de,ge,ie,ee,se){this.good_length=de,this.max_lazy=ge,this.nice_length=ie,this.max_chain=ee,this.func=se}function mn(){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=Oe,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 Me.Buf16(2*Ve),this.dyn_dtree=new Me.Buf16(2*(2*_e+1)),this.bl_tree=new Me.Buf16(2*(2*Je+1)),We(this.dyn_ltree),We(this.dyn_dtree),We(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Me.Buf16(st+1),this.heap=new Me.Buf16(2*je+1),We(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Me.Buf16(2*je+1),We(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function kt(de){var ge;return de&&de.state?(de.total_in=de.total_out=0,de.data_type=Ee,(ge=de.state).pending=0,ge.pending_out=0,ge.wrap<0&&(ge.wrap=-ge.wrap),ge.status=ge.wrap?ze:pt,de.adler=ge.wrap===2?0:1,ge.last_flush=ye,fe._tr_init(ge),Se):lt(de,Ie)}function Fn(de){var ge=kt(de);return ge===Se&&function(ie){ie.window_size=2*ie.w_size,We(ie.head),ie.max_lazy_match=Fe[ie.level].max_lazy,ie.good_match=Fe[ie.level].good_length,ie.nice_match=Fe[ie.level].nice_length,ie.max_chain_length=Fe[ie.level].max_chain,ie.strstart=0,ie.block_start=0,ie.lookahead=0,ie.insert=0,ie.match_length=ie.prev_length=at-1,ie.match_available=0,ie.ins_h=0}(de.state),ge}function an(de,ge,ie,ee,se,le){if(!de)return Ie;var Be=1;if(ge===ve&&(ge=6),ee<0?(Be=0,ee=-ee):15<ee&&(Be=2,ee-=16),se<1||Ke<se||ie!==Oe||ee<8||15<ee||ge<0||9<ge||le<0||we<le)return lt(de,Ie);ee===8&&(ee=9);var Ge=new mn;return(de.state=Ge).strm=de,Ge.wrap=Be,Ge.gzhead=null,Ge.w_bits=ee,Ge.w_size=1<<Ge.w_bits,Ge.w_mask=Ge.w_size-1,Ge.hash_bits=se+7,Ge.hash_size=1<<Ge.hash_bits,Ge.hash_mask=Ge.hash_size-1,Ge.hash_shift=~~((Ge.hash_bits+at-1)/at),Ge.window=new Me.Buf8(2*Ge.w_size),Ge.head=new Me.Buf16(Ge.hash_size),Ge.prev=new Me.Buf16(Ge.w_size),Ge.lit_bufsize=1<<se+6,Ge.pending_buf_size=4*Ge.lit_bufsize,Ge.pending_buf=new Me.Buf8(Ge.pending_buf_size),Ge.d_buf=1*Ge.lit_bufsize,Ge.l_buf=3*Ge.lit_bufsize,Ge.level=ge,Ge.strategy=le,Ge.method=ie,Fn(de)}Fe=[new Tt(0,0,0,0,function(de,ge){var ie=65535;for(ie>de.pending_buf_size-5&&(ie=de.pending_buf_size-5);;){if(de.lookahead<=1){if(Pt(de),de.lookahead===0&&ge===ye)return Ne;if(de.lookahead===0)break}de.strstart+=de.lookahead,de.lookahead=0;var ee=de.block_start+ie;if((de.strstart===0||de.strstart>=ee)&&(de.lookahead=de.strstart-ee,de.strstart=ee,At(de,!1),de.strm.avail_out===0)||de.strstart-de.block_start>=de.w_size-Ct&&(At(de,!1),de.strm.avail_out===0))return Ne}return de.insert=0,ge===Re?(At(de,!0),de.strm.avail_out===0?Ot:ot):(de.strstart>de.block_start&&(At(de,!1),de.strm.avail_out),Ne)}),new Tt(4,4,8,4,Rt),new Tt(4,5,16,8,Rt),new Tt(4,6,32,32,Rt),new Tt(4,4,16,16,hn),new Tt(8,16,32,32,hn),new Tt(8,16,128,128,hn),new Tt(8,32,128,256,hn),new Tt(32,128,258,1024,hn),new Tt(32,258,258,4096,hn)],He.deflateInit=function(de,ge){return an(de,ge,Oe,15,8,0)},He.deflateInit2=an,He.deflateReset=Fn,He.deflateResetKeep=kt,He.deflateSetHeader=function(de,ge){return de&&de.state?de.state.wrap!==2?Ie:(de.state.gzhead=ge,Se):Ie},He.deflate=function(de,ge){var ie,ee,se,le;if(!de||!de.state||5<ge||ge<0)return de?lt(de,Ie):Ie;if(ee=de.state,!de.output||!de.input&&de.avail_in!==0||ee.status===666&&ge!==Re)return lt(de,de.avail_out===0?-5:Ie);if(ee.strm=de,ie=ee.last_flush,ee.last_flush=ge,ee.status===ze)if(ee.wrap===2)de.adler=0,Kt(ee,31),Kt(ee,139),Kt(ee,8),ee.gzhead?(Kt(ee,(ee.gzhead.text?1:0)+(ee.gzhead.hcrc?2:0)+(ee.gzhead.extra?4:0)+(ee.gzhead.name?8:0)+(ee.gzhead.comment?16:0)),Kt(ee,255&ee.gzhead.time),Kt(ee,ee.gzhead.time>>8&255),Kt(ee,ee.gzhead.time>>16&255),Kt(ee,ee.gzhead.time>>24&255),Kt(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),Kt(ee,255&ee.gzhead.os),ee.gzhead.extra&&ee.gzhead.extra.length&&(Kt(ee,255&ee.gzhead.extra.length),Kt(ee,ee.gzhead.extra.length>>8&255)),ee.gzhead.hcrc&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending,0)),ee.gzindex=0,ee.status=69):(Kt(ee,0),Kt(ee,0),Kt(ee,0),Kt(ee,0),Kt(ee,0),Kt(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),Kt(ee,3),ee.status=pt);else{var Be=Oe+(ee.w_bits-8<<4)<<8;Be|=(2<=ee.strategy||ee.level<2?0:ee.level<6?1:ee.level===6?2:3)<<6,ee.strstart!==0&&(Be|=32),Be+=31-Be%31,ee.status=pt,Ht(ee,Be),ee.strstart!==0&&(Ht(ee,de.adler>>>16),Ht(ee,65535&de.adler)),de.adler=1}if(ee.status===69)if(ee.gzhead.extra){for(se=ee.pending;ee.gzindex<(65535&ee.gzhead.extra.length)&&(ee.pending!==ee.pending_buf_size||(ee.gzhead.hcrc&&ee.pending>se&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-se,se)),ke(de),se=ee.pending,ee.pending!==ee.pending_buf_size));)Kt(ee,255&ee.gzhead.extra[ee.gzindex]),ee.gzindex++;ee.gzhead.hcrc&&ee.pending>se&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-se,se)),ee.gzindex===ee.gzhead.extra.length&&(ee.gzindex=0,ee.status=73)}else ee.status=73;if(ee.status===73)if(ee.gzhead.name){se=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>se&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-se,se)),ke(de),se=ee.pending,ee.pending===ee.pending_buf_size)){le=1;break}le=ee.gzindex<ee.gzhead.name.length?255&ee.gzhead.name.charCodeAt(ee.gzindex++):0,Kt(ee,le)}while(le!==0);ee.gzhead.hcrc&&ee.pending>se&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-se,se)),le===0&&(ee.gzindex=0,ee.status=91)}else ee.status=91;if(ee.status===91)if(ee.gzhead.comment){se=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>se&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-se,se)),ke(de),se=ee.pending,ee.pending===ee.pending_buf_size)){le=1;break}le=ee.gzindex<ee.gzhead.comment.length?255&ee.gzhead.comment.charCodeAt(ee.gzindex++):0,Kt(ee,le)}while(le!==0);ee.gzhead.hcrc&&ee.pending>se&&(de.adler=oe(de.adler,ee.pending_buf,ee.pending-se,se)),le===0&&(ee.status=103)}else ee.status=103;if(ee.status===103&&(ee.gzhead.hcrc?(ee.pending+2>ee.pending_buf_size&&ke(de),ee.pending+2<=ee.pending_buf_size&&(Kt(ee,255&de.adler),Kt(ee,de.adler>>8&255),de.adler=0,ee.status=pt)):ee.status=pt),ee.pending!==0){if(ke(de),de.avail_out===0)return ee.last_flush=-1,Se}else if(de.avail_in===0&&Bt(ge)<=Bt(ie)&&ge!==Re)return lt(de,-5);if(ee.status===666&&de.avail_in!==0)return lt(de,-5);if(de.avail_in!==0||ee.lookahead!==0||ge!==ye&&ee.status!==666){var Ge=ee.strategy===2?function(ut,mt){for(var vt;;){if(ut.lookahead===0&&(Pt(ut),ut.lookahead===0)){if(mt===ye)return Ne;break}if(ut.match_length=0,vt=fe._tr_tally(ut,0,ut.window[ut.strstart]),ut.lookahead--,ut.strstart++,vt&&(At(ut,!1),ut.strm.avail_out===0))return Ne}return ut.insert=0,mt===Re?(At(ut,!0),ut.strm.avail_out===0?Ot:ot):ut.last_lit&&(At(ut,!1),ut.strm.avail_out===0)?Ne:Qe}(ee,ge):ee.strategy===3?function(ut,mt){for(var vt,St,Dt,Qt,xt=ut.window;;){if(ut.lookahead<=ht){if(Pt(ut),ut.lookahead<=ht&&mt===ye)return Ne;if(ut.lookahead===0)break}if(ut.match_length=0,ut.lookahead>=at&&0<ut.strstart&&(St=xt[Dt=ut.strstart-1])===xt[++Dt]&&St===xt[++Dt]&&St===xt[++Dt]){Qt=ut.strstart+ht;do;while(St===xt[++Dt]&&St===xt[++Dt]&&St===xt[++Dt]&&St===xt[++Dt]&&St===xt[++Dt]&&St===xt[++Dt]&&St===xt[++Dt]&&St===xt[++Dt]&&Dt<Qt);ut.match_length=ht-(Qt-Dt),ut.match_length>ut.lookahead&&(ut.match_length=ut.lookahead)}if(ut.match_length>=at?(vt=fe._tr_tally(ut,1,ut.match_length-at),ut.lookahead-=ut.match_length,ut.strstart+=ut.match_length,ut.match_length=0):(vt=fe._tr_tally(ut,0,ut.window[ut.strstart]),ut.lookahead--,ut.strstart++),vt&&(At(ut,!1),ut.strm.avail_out===0))return Ne}return ut.insert=0,mt===Re?(At(ut,!0),ut.strm.avail_out===0?Ot:ot):ut.last_lit&&(At(ut,!1),ut.strm.avail_out===0)?Ne:Qe}(ee,ge):Fe[ee.level].func(ee,ge);if(Ge!==Ot&&Ge!==ot||(ee.status=666),Ge===Ne||Ge===Ot)return de.avail_out===0&&(ee.last_flush=-1),Se;if(Ge===Qe&&(ge===1?fe._tr_align(ee):ge!==5&&(fe._tr_stored_block(ee,0,0,!1),ge===3&&(We(ee.head),ee.lookahead===0&&(ee.strstart=0,ee.block_start=0,ee.insert=0))),ke(de),de.avail_out===0))return ee.last_flush=-1,Se}return ge!==Re?Se:ee.wrap<=0?1:(ee.wrap===2?(Kt(ee,255&de.adler),Kt(ee,de.adler>>8&255),Kt(ee,de.adler>>16&255),Kt(ee,de.adler>>24&255),Kt(ee,255&de.total_in),Kt(ee,de.total_in>>8&255),Kt(ee,de.total_in>>16&255),Kt(ee,de.total_in>>24&255)):(Ht(ee,de.adler>>>16),Ht(ee,65535&de.adler)),ke(de),0<ee.wrap&&(ee.wrap=-ee.wrap),ee.pending!==0?Se:1)},He.deflateEnd=function(de){var ge;return de&&de.state?(ge=de.state.status)!==ze&&ge!==69&&ge!==73&&ge!==91&&ge!==103&&ge!==pt&&ge!==666?lt(de,Ie):(de.state=null,ge===pt?lt(de,-3):Se):Ie},He.deflateSetDictionary=function(de,ge){var ie,ee,se,le,Be,Ge,ut,mt,vt=ge.length;if(!de||!de.state||(le=(ie=de.state).wrap)===2||le===1&&ie.status!==ze||ie.lookahead)return Ie;for(le===1&&(de.adler=xe(de.adler,ge,vt,0)),ie.wrap=0,vt>=ie.w_size&&(le===0&&(We(ie.head),ie.strstart=0,ie.block_start=0,ie.insert=0),mt=new Me.Buf8(ie.w_size),Me.arraySet(mt,ge,vt-ie.w_size,ie.w_size,0),ge=mt,vt=ie.w_size),Be=de.avail_in,Ge=de.next_in,ut=de.input,de.avail_in=vt,de.next_in=0,de.input=ge,Pt(ie);ie.lookahead>=at;){for(ee=ie.strstart,se=ie.lookahead-(at-1);ie.ins_h=(ie.ins_h<<ie.hash_shift^ie.window[ee+at-1])&ie.hash_mask,ie.prev[ee&ie.w_mask]=ie.head[ie.ins_h],ie.head[ie.ins_h]=ee,ee++,--se;);ie.strstart=ee,ie.lookahead=at-1,Pt(ie)}return ie.strstart+=ie.lookahead,ie.block_start=ie.strstart,ie.insert=ie.lookahead,ie.lookahead=0,ie.match_length=ie.prev_length=at-1,ie.match_available=0,de.next_in=Ge,de.input=ut,de.avail_in=Be,ie.wrap=le,Se},He.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(Le,qe,He){"use strict";qe.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(Le,qe,He){"use strict";qe.exports=function(Fe,Me){var fe,xe,oe,Pe,ye,Re,Se,Ie,ve,we,Ee,Oe,Ke,je,_e,Je,Ve,st,at,ht,Ct,ze,pt,Ne,Qe;fe=Fe.state,xe=Fe.next_in,Ne=Fe.input,oe=xe+(Fe.avail_in-5),Pe=Fe.next_out,Qe=Fe.output,ye=Pe-(Me-Fe.avail_out),Re=Pe+(Fe.avail_out-257),Se=fe.dmax,Ie=fe.wsize,ve=fe.whave,we=fe.wnext,Ee=fe.window,Oe=fe.hold,Ke=fe.bits,je=fe.lencode,_e=fe.distcode,Je=(1<<fe.lenbits)-1,Ve=(1<<fe.distbits)-1;e:do{Ke<15&&(Oe+=Ne[xe++]<<Ke,Ke+=8,Oe+=Ne[xe++]<<Ke,Ke+=8),st=je[Oe&Je];t:for(;;){if(Oe>>>=at=st>>>24,Ke-=at,(at=st>>>16&255)===0)Qe[Pe++]=65535&st;else{if(!(16&at)){if(!(64&at)){st=je[(65535&st)+(Oe&(1<<at)-1)];continue t}if(32&at){fe.mode=12;break e}Fe.msg="invalid literal/length code",fe.mode=30;break e}ht=65535&st,(at&=15)&&(Ke<at&&(Oe+=Ne[xe++]<<Ke,Ke+=8),ht+=Oe&(1<<at)-1,Oe>>>=at,Ke-=at),Ke<15&&(Oe+=Ne[xe++]<<Ke,Ke+=8,Oe+=Ne[xe++]<<Ke,Ke+=8),st=_e[Oe&Ve];n:for(;;){if(Oe>>>=at=st>>>24,Ke-=at,!(16&(at=st>>>16&255))){if(!(64&at)){st=_e[(65535&st)+(Oe&(1<<at)-1)];continue n}Fe.msg="invalid distance code",fe.mode=30;break e}if(Ct=65535&st,Ke<(at&=15)&&(Oe+=Ne[xe++]<<Ke,(Ke+=8)<at&&(Oe+=Ne[xe++]<<Ke,Ke+=8)),Se<(Ct+=Oe&(1<<at)-1)){Fe.msg="invalid distance too far back",fe.mode=30;break e}if(Oe>>>=at,Ke-=at,(at=Pe-ye)<Ct){if(ve<(at=Ct-at)&&fe.sane){Fe.msg="invalid distance too far back",fe.mode=30;break e}if(pt=Ee,(ze=0)===we){if(ze+=Ie-at,at<ht){for(ht-=at;Qe[Pe++]=Ee[ze++],--at;);ze=Pe-Ct,pt=Qe}}else if(we<at){if(ze+=Ie+we-at,(at-=we)<ht){for(ht-=at;Qe[Pe++]=Ee[ze++],--at;);if(ze=0,we<ht){for(ht-=at=we;Qe[Pe++]=Ee[ze++],--at;);ze=Pe-Ct,pt=Qe}}}else if(ze+=we-at,at<ht){for(ht-=at;Qe[Pe++]=Ee[ze++],--at;);ze=Pe-Ct,pt=Qe}for(;2<ht;)Qe[Pe++]=pt[ze++],Qe[Pe++]=pt[ze++],Qe[Pe++]=pt[ze++],ht-=3;ht&&(Qe[Pe++]=pt[ze++],1<ht&&(Qe[Pe++]=pt[ze++]))}else{for(ze=Pe-Ct;Qe[Pe++]=Qe[ze++],Qe[Pe++]=Qe[ze++],Qe[Pe++]=Qe[ze++],2<(ht-=3););ht&&(Qe[Pe++]=Qe[ze++],1<ht&&(Qe[Pe++]=Qe[ze++]))}break}}break}}while(xe<oe&&Pe<Re);xe-=ht=Ke>>3,Oe&=(1<<(Ke-=ht<<3))-1,Fe.next_in=xe,Fe.next_out=Pe,Fe.avail_in=xe<oe?oe-xe+5:5-(xe-oe),Fe.avail_out=Pe<Re?Re-Pe+257:257-(Pe-Re),fe.hold=Oe,fe.bits=Ke}},{}],49:[function(Le,qe,He){"use strict";var Fe=Le("../utils/common"),Me=Le("./adler32"),fe=Le("./crc32"),xe=Le("./inffast"),oe=Le("./inftrees"),Pe=1,ye=2,Re=0,Se=-2,Ie=1,ve=852,we=592;function Ee(ze){return(ze>>>24&255)+(ze>>>8&65280)+((65280&ze)<<8)+((255&ze)<<24)}function Oe(){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 Fe.Buf16(320),this.work=new Fe.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ke(ze){var pt;return ze&&ze.state?(pt=ze.state,ze.total_in=ze.total_out=pt.total=0,ze.msg="",pt.wrap&&(ze.adler=1&pt.wrap),pt.mode=Ie,pt.last=0,pt.havedict=0,pt.dmax=32768,pt.head=null,pt.hold=0,pt.bits=0,pt.lencode=pt.lendyn=new Fe.Buf32(ve),pt.distcode=pt.distdyn=new Fe.Buf32(we),pt.sane=1,pt.back=-1,Re):Se}function je(ze){var pt;return ze&&ze.state?((pt=ze.state).wsize=0,pt.whave=0,pt.wnext=0,Ke(ze)):Se}function _e(ze,pt){var Ne,Qe;return ze&&ze.state?(Qe=ze.state,pt<0?(Ne=0,pt=-pt):(Ne=1+(pt>>4),pt<48&&(pt&=15)),pt&&(pt<8||15<pt)?Se:(Qe.window!==null&&Qe.wbits!==pt&&(Qe.window=null),Qe.wrap=Ne,Qe.wbits=pt,je(ze))):Se}function Je(ze,pt){var Ne,Qe;return ze?(Qe=new Oe,(ze.state=Qe).window=null,(Ne=_e(ze,pt))!==Re&&(ze.state=null),Ne):Se}var Ve,st,at=!0;function ht(ze){if(at){var pt;for(Ve=new Fe.Buf32(512),st=new Fe.Buf32(32),pt=0;pt<144;)ze.lens[pt++]=8;for(;pt<256;)ze.lens[pt++]=9;for(;pt<280;)ze.lens[pt++]=7;for(;pt<288;)ze.lens[pt++]=8;for(oe(Pe,ze.lens,0,288,Ve,0,ze.work,{bits:9}),pt=0;pt<32;)ze.lens[pt++]=5;oe(ye,ze.lens,0,32,st,0,ze.work,{bits:5}),at=!1}ze.lencode=Ve,ze.lenbits=9,ze.distcode=st,ze.distbits=5}function Ct(ze,pt,Ne,Qe){var Ot,ot=ze.state;return ot.window===null&&(ot.wsize=1<<ot.wbits,ot.wnext=0,ot.whave=0,ot.window=new Fe.Buf8(ot.wsize)),Qe>=ot.wsize?(Fe.arraySet(ot.window,pt,Ne-ot.wsize,ot.wsize,0),ot.wnext=0,ot.whave=ot.wsize):(Qe<(Ot=ot.wsize-ot.wnext)&&(Ot=Qe),Fe.arraySet(ot.window,pt,Ne-Qe,Ot,ot.wnext),(Qe-=Ot)?(Fe.arraySet(ot.window,pt,Ne-Qe,Qe,0),ot.wnext=Qe,ot.whave=ot.wsize):(ot.wnext+=Ot,ot.wnext===ot.wsize&&(ot.wnext=0),ot.whave<ot.wsize&&(ot.whave+=Ot))),0}He.inflateReset=je,He.inflateReset2=_e,He.inflateResetKeep=Ke,He.inflateInit=function(ze){return Je(ze,15)},He.inflateInit2=Je,He.inflate=function(ze,pt){var Ne,Qe,Ot,ot,lt,Bt,We,ke,At,Kt,Ht,nt,Pt,Rt,hn,Tt,mn,kt,Fn,an,de,ge,ie,ee,se=0,le=new Fe.Buf8(4),Be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ze||!ze.state||!ze.output||!ze.input&&ze.avail_in!==0)return Se;(Ne=ze.state).mode===12&&(Ne.mode=13),lt=ze.next_out,Ot=ze.output,We=ze.avail_out,ot=ze.next_in,Qe=ze.input,Bt=ze.avail_in,ke=Ne.hold,At=Ne.bits,Kt=Bt,Ht=We,ge=Re;e:for(;;)switch(Ne.mode){case Ie:if(Ne.wrap===0){Ne.mode=13;break}for(;At<16;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(2&Ne.wrap&&ke===35615){le[Ne.check=0]=255&ke,le[1]=ke>>>8&255,Ne.check=fe(Ne.check,le,2,0),At=ke=0,Ne.mode=2;break}if(Ne.flags=0,Ne.head&&(Ne.head.done=!1),!(1&Ne.wrap)||(((255&ke)<<8)+(ke>>8))%31){ze.msg="incorrect header check",Ne.mode=30;break}if((15&ke)!=8){ze.msg="unknown compression method",Ne.mode=30;break}if(At-=4,de=8+(15&(ke>>>=4)),Ne.wbits===0)Ne.wbits=de;else if(de>Ne.wbits){ze.msg="invalid window size",Ne.mode=30;break}Ne.dmax=1<<de,ze.adler=Ne.check=1,Ne.mode=512&ke?10:12,At=ke=0;break;case 2:for(;At<16;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(Ne.flags=ke,(255&Ne.flags)!=8){ze.msg="unknown compression method",Ne.mode=30;break}if(57344&Ne.flags){ze.msg="unknown header flags set",Ne.mode=30;break}Ne.head&&(Ne.head.text=ke>>8&1),512&Ne.flags&&(le[0]=255&ke,le[1]=ke>>>8&255,Ne.check=fe(Ne.check,le,2,0)),At=ke=0,Ne.mode=3;case 3:for(;At<32;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}Ne.head&&(Ne.head.time=ke),512&Ne.flags&&(le[0]=255&ke,le[1]=ke>>>8&255,le[2]=ke>>>16&255,le[3]=ke>>>24&255,Ne.check=fe(Ne.check,le,4,0)),At=ke=0,Ne.mode=4;case 4:for(;At<16;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}Ne.head&&(Ne.head.xflags=255&ke,Ne.head.os=ke>>8),512&Ne.flags&&(le[0]=255&ke,le[1]=ke>>>8&255,Ne.check=fe(Ne.check,le,2,0)),At=ke=0,Ne.mode=5;case 5:if(1024&Ne.flags){for(;At<16;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}Ne.length=ke,Ne.head&&(Ne.head.extra_len=ke),512&Ne.flags&&(le[0]=255&ke,le[1]=ke>>>8&255,Ne.check=fe(Ne.check,le,2,0)),At=ke=0}else Ne.head&&(Ne.head.extra=null);Ne.mode=6;case 6:if(1024&Ne.flags&&(Bt<(nt=Ne.length)&&(nt=Bt),nt&&(Ne.head&&(de=Ne.head.extra_len-Ne.length,Ne.head.extra||(Ne.head.extra=new Array(Ne.head.extra_len)),Fe.arraySet(Ne.head.extra,Qe,ot,nt,de)),512&Ne.flags&&(Ne.check=fe(Ne.check,Qe,nt,ot)),Bt-=nt,ot+=nt,Ne.length-=nt),Ne.length))break e;Ne.length=0,Ne.mode=7;case 7:if(2048&Ne.flags){if(Bt===0)break e;for(nt=0;de=Qe[ot+nt++],Ne.head&&de&&Ne.length<65536&&(Ne.head.name+=String.fromCharCode(de)),de&&nt<Bt;);if(512&Ne.flags&&(Ne.check=fe(Ne.check,Qe,nt,ot)),Bt-=nt,ot+=nt,de)break e}else Ne.head&&(Ne.head.name=null);Ne.length=0,Ne.mode=8;case 8:if(4096&Ne.flags){if(Bt===0)break e;for(nt=0;de=Qe[ot+nt++],Ne.head&&de&&Ne.length<65536&&(Ne.head.comment+=String.fromCharCode(de)),de&&nt<Bt;);if(512&Ne.flags&&(Ne.check=fe(Ne.check,Qe,nt,ot)),Bt-=nt,ot+=nt,de)break e}else Ne.head&&(Ne.head.comment=null);Ne.mode=9;case 9:if(512&Ne.flags){for(;At<16;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(ke!==(65535&Ne.check)){ze.msg="header crc mismatch",Ne.mode=30;break}At=ke=0}Ne.head&&(Ne.head.hcrc=Ne.flags>>9&1,Ne.head.done=!0),ze.adler=Ne.check=0,Ne.mode=12;break;case 10:for(;At<32;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}ze.adler=Ne.check=Ee(ke),At=ke=0,Ne.mode=11;case 11:if(Ne.havedict===0)return ze.next_out=lt,ze.avail_out=We,ze.next_in=ot,ze.avail_in=Bt,Ne.hold=ke,Ne.bits=At,2;ze.adler=Ne.check=1,Ne.mode=12;case 12:if(pt===5||pt===6)break e;case 13:if(Ne.last){ke>>>=7&At,At-=7&At,Ne.mode=27;break}for(;At<3;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}switch(Ne.last=1&ke,At-=1,3&(ke>>>=1)){case 0:Ne.mode=14;break;case 1:if(ht(Ne),Ne.mode=20,pt!==6)break;ke>>>=2,At-=2;break e;case 2:Ne.mode=17;break;case 3:ze.msg="invalid block type",Ne.mode=30}ke>>>=2,At-=2;break;case 14:for(ke>>>=7&At,At-=7&At;At<32;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if((65535&ke)!=(ke>>>16^65535)){ze.msg="invalid stored block lengths",Ne.mode=30;break}if(Ne.length=65535&ke,At=ke=0,Ne.mode=15,pt===6)break e;case 15:Ne.mode=16;case 16:if(nt=Ne.length){if(Bt<nt&&(nt=Bt),We<nt&&(nt=We),nt===0)break e;Fe.arraySet(Ot,Qe,ot,nt,lt),Bt-=nt,ot+=nt,We-=nt,lt+=nt,Ne.length-=nt;break}Ne.mode=12;break;case 17:for(;At<14;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(Ne.nlen=257+(31&ke),ke>>>=5,At-=5,Ne.ndist=1+(31&ke),ke>>>=5,At-=5,Ne.ncode=4+(15&ke),ke>>>=4,At-=4,286<Ne.nlen||30<Ne.ndist){ze.msg="too many length or distance symbols",Ne.mode=30;break}Ne.have=0,Ne.mode=18;case 18:for(;Ne.have<Ne.ncode;){for(;At<3;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}Ne.lens[Be[Ne.have++]]=7&ke,ke>>>=3,At-=3}for(;Ne.have<19;)Ne.lens[Be[Ne.have++]]=0;if(Ne.lencode=Ne.lendyn,Ne.lenbits=7,ie={bits:Ne.lenbits},ge=oe(0,Ne.lens,0,19,Ne.lencode,0,Ne.work,ie),Ne.lenbits=ie.bits,ge){ze.msg="invalid code lengths set",Ne.mode=30;break}Ne.have=0,Ne.mode=19;case 19:for(;Ne.have<Ne.nlen+Ne.ndist;){for(;Tt=(se=Ne.lencode[ke&(1<<Ne.lenbits)-1])>>>16&255,mn=65535&se,!((hn=se>>>24)<=At);){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(mn<16)ke>>>=hn,At-=hn,Ne.lens[Ne.have++]=mn;else{if(mn===16){for(ee=hn+2;At<ee;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(ke>>>=hn,At-=hn,Ne.have===0){ze.msg="invalid bit length repeat",Ne.mode=30;break}de=Ne.lens[Ne.have-1],nt=3+(3&ke),ke>>>=2,At-=2}else if(mn===17){for(ee=hn+3;At<ee;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}At-=hn,de=0,nt=3+(7&(ke>>>=hn)),ke>>>=3,At-=3}else{for(ee=hn+7;At<ee;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}At-=hn,de=0,nt=11+(127&(ke>>>=hn)),ke>>>=7,At-=7}if(Ne.have+nt>Ne.nlen+Ne.ndist){ze.msg="invalid bit length repeat",Ne.mode=30;break}for(;nt--;)Ne.lens[Ne.have++]=de}}if(Ne.mode===30)break;if(Ne.lens[256]===0){ze.msg="invalid code -- missing end-of-block",Ne.mode=30;break}if(Ne.lenbits=9,ie={bits:Ne.lenbits},ge=oe(Pe,Ne.lens,0,Ne.nlen,Ne.lencode,0,Ne.work,ie),Ne.lenbits=ie.bits,ge){ze.msg="invalid literal/lengths set",Ne.mode=30;break}if(Ne.distbits=6,Ne.distcode=Ne.distdyn,ie={bits:Ne.distbits},ge=oe(ye,Ne.lens,Ne.nlen,Ne.ndist,Ne.distcode,0,Ne.work,ie),Ne.distbits=ie.bits,ge){ze.msg="invalid distances set",Ne.mode=30;break}if(Ne.mode=20,pt===6)break e;case 20:Ne.mode=21;case 21:if(6<=Bt&&258<=We){ze.next_out=lt,ze.avail_out=We,ze.next_in=ot,ze.avail_in=Bt,Ne.hold=ke,Ne.bits=At,xe(ze,Ht),lt=ze.next_out,Ot=ze.output,We=ze.avail_out,ot=ze.next_in,Qe=ze.input,Bt=ze.avail_in,ke=Ne.hold,At=Ne.bits,Ne.mode===12&&(Ne.back=-1);break}for(Ne.back=0;Tt=(se=Ne.lencode[ke&(1<<Ne.lenbits)-1])>>>16&255,mn=65535&se,!((hn=se>>>24)<=At);){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(Tt&&!(240&Tt)){for(kt=hn,Fn=Tt,an=mn;Tt=(se=Ne.lencode[an+((ke&(1<<kt+Fn)-1)>>kt)])>>>16&255,mn=65535&se,!(kt+(hn=se>>>24)<=At);){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}ke>>>=kt,At-=kt,Ne.back+=kt}if(ke>>>=hn,At-=hn,Ne.back+=hn,Ne.length=mn,Tt===0){Ne.mode=26;break}if(32&Tt){Ne.back=-1,Ne.mode=12;break}if(64&Tt){ze.msg="invalid literal/length code",Ne.mode=30;break}Ne.extra=15&Tt,Ne.mode=22;case 22:if(Ne.extra){for(ee=Ne.extra;At<ee;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}Ne.length+=ke&(1<<Ne.extra)-1,ke>>>=Ne.extra,At-=Ne.extra,Ne.back+=Ne.extra}Ne.was=Ne.length,Ne.mode=23;case 23:for(;Tt=(se=Ne.distcode[ke&(1<<Ne.distbits)-1])>>>16&255,mn=65535&se,!((hn=se>>>24)<=At);){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(!(240&Tt)){for(kt=hn,Fn=Tt,an=mn;Tt=(se=Ne.distcode[an+((ke&(1<<kt+Fn)-1)>>kt)])>>>16&255,mn=65535&se,!(kt+(hn=se>>>24)<=At);){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}ke>>>=kt,At-=kt,Ne.back+=kt}if(ke>>>=hn,At-=hn,Ne.back+=hn,64&Tt){ze.msg="invalid distance code",Ne.mode=30;break}Ne.offset=mn,Ne.extra=15&Tt,Ne.mode=24;case 24:if(Ne.extra){for(ee=Ne.extra;At<ee;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}Ne.offset+=ke&(1<<Ne.extra)-1,ke>>>=Ne.extra,At-=Ne.extra,Ne.back+=Ne.extra}if(Ne.offset>Ne.dmax){ze.msg="invalid distance too far back",Ne.mode=30;break}Ne.mode=25;case 25:if(We===0)break e;if(nt=Ht-We,Ne.offset>nt){if((nt=Ne.offset-nt)>Ne.whave&&Ne.sane){ze.msg="invalid distance too far back",Ne.mode=30;break}Pt=nt>Ne.wnext?(nt-=Ne.wnext,Ne.wsize-nt):Ne.wnext-nt,nt>Ne.length&&(nt=Ne.length),Rt=Ne.window}else Rt=Ot,Pt=lt-Ne.offset,nt=Ne.length;for(We<nt&&(nt=We),We-=nt,Ne.length-=nt;Ot[lt++]=Rt[Pt++],--nt;);Ne.length===0&&(Ne.mode=21);break;case 26:if(We===0)break e;Ot[lt++]=Ne.length,We--,Ne.mode=21;break;case 27:if(Ne.wrap){for(;At<32;){if(Bt===0)break e;Bt--,ke|=Qe[ot++]<<At,At+=8}if(Ht-=We,ze.total_out+=Ht,Ne.total+=Ht,Ht&&(ze.adler=Ne.check=Ne.flags?fe(Ne.check,Ot,Ht,lt-Ht):Me(Ne.check,Ot,Ht,lt-Ht)),Ht=We,(Ne.flags?ke:Ee(ke))!==Ne.check){ze.msg="incorrect data check",Ne.mode=30;break}At=ke=0}Ne.mode=28;case 28:if(Ne.wrap&&Ne.flags){for(;At<32;){if(Bt===0)break e;Bt--,ke+=Qe[ot++]<<At,At+=8}if(ke!==(4294967295&Ne.total)){ze.msg="incorrect length check",Ne.mode=30;break}At=ke=0}Ne.mode=29;case 29:ge=1;break e;case 30:ge=-3;break e;case 31:return-4;case 32:default:return Se}return ze.next_out=lt,ze.avail_out=We,ze.next_in=ot,ze.avail_in=Bt,Ne.hold=ke,Ne.bits=At,(Ne.wsize||Ht!==ze.avail_out&&Ne.mode<30&&(Ne.mode<27||pt!==4))&&Ct(ze,ze.output,ze.next_out,Ht-ze.avail_out)?(Ne.mode=31,-4):(Kt-=ze.avail_in,Ht-=ze.avail_out,ze.total_in+=Kt,ze.total_out+=Ht,Ne.total+=Ht,Ne.wrap&&Ht&&(ze.adler=Ne.check=Ne.flags?fe(Ne.check,Ot,Ht,ze.next_out-Ht):Me(Ne.check,Ot,Ht,ze.next_out-Ht)),ze.data_type=Ne.bits+(Ne.last?64:0)+(Ne.mode===12?128:0)+(Ne.mode===20||Ne.mode===15?256:0),(Kt==0&&Ht===0||pt===4)&&ge===Re&&(ge=-5),ge)},He.inflateEnd=function(ze){if(!ze||!ze.state)return Se;var pt=ze.state;return pt.window&&(pt.window=null),ze.state=null,Re},He.inflateGetHeader=function(ze,pt){var Ne;return ze&&ze.state&&2&(Ne=ze.state).wrap?((Ne.head=pt).done=!1,Re):Se},He.inflateSetDictionary=function(ze,pt){var Ne,Qe=pt.length;return ze&&ze.state?(Ne=ze.state).wrap!==0&&Ne.mode!==11?Se:Ne.mode===11&&Me(1,pt,Qe,0)!==Ne.check?-3:Ct(ze,pt,Qe,Qe)?(Ne.mode=31,-4):(Ne.havedict=1,Re):Se},He.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(Le,qe,He){"use strict";var Fe=Le("../utils/common"),Me=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],fe=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],xe=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],oe=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];qe.exports=function(Pe,ye,Re,Se,Ie,ve,we,Ee){var Oe,Ke,je,_e,Je,Ve,st,at,ht,Ct=Ee.bits,ze=0,pt=0,Ne=0,Qe=0,Ot=0,ot=0,lt=0,Bt=0,We=0,ke=0,At=null,Kt=0,Ht=new Fe.Buf16(16),nt=new Fe.Buf16(16),Pt=null,Rt=0;for(ze=0;ze<=15;ze++)Ht[ze]=0;for(pt=0;pt<Se;pt++)Ht[ye[Re+pt]]++;for(Ot=Ct,Qe=15;1<=Qe&&Ht[Qe]===0;Qe--);if(Qe<Ot&&(Ot=Qe),Qe===0)return Ie[ve++]=20971520,Ie[ve++]=20971520,Ee.bits=1,0;for(Ne=1;Ne<Qe&&Ht[Ne]===0;Ne++);for(Ot<Ne&&(Ot=Ne),ze=Bt=1;ze<=15;ze++)if(Bt<<=1,(Bt-=Ht[ze])<0)return-1;if(0<Bt&&(Pe===0||Qe!==1))return-1;for(nt[1]=0,ze=1;ze<15;ze++)nt[ze+1]=nt[ze]+Ht[ze];for(pt=0;pt<Se;pt++)ye[Re+pt]!==0&&(we[nt[ye[Re+pt]]++]=pt);if(Ve=Pe===0?(At=Pt=we,19):Pe===1?(At=Me,Kt-=257,Pt=fe,Rt-=257,256):(At=xe,Pt=oe,-1),ze=Ne,Je=ve,lt=pt=ke=0,je=-1,_e=(We=1<<(ot=Ot))-1,Pe===1&&852<We||Pe===2&&592<We)return 1;for(;;){for(st=ze-lt,ht=we[pt]<Ve?(at=0,we[pt]):we[pt]>Ve?(at=Pt[Rt+we[pt]],At[Kt+we[pt]]):(at=96,0),Oe=1<<ze-lt,Ne=Ke=1<<ot;Ie[Je+(ke>>lt)+(Ke-=Oe)]=st<<24|at<<16|ht|0,Ke!==0;);for(Oe=1<<ze-1;ke&Oe;)Oe>>=1;if(Oe!==0?(ke&=Oe-1,ke+=Oe):ke=0,pt++,--Ht[ze]==0){if(ze===Qe)break;ze=ye[Re+we[pt]]}if(Ot<ze&&(ke&_e)!==je){for(lt===0&&(lt=Ot),Je+=Ne,Bt=1<<(ot=ze-lt);ot+lt<Qe&&!((Bt-=Ht[ot+lt])<=0);)ot++,Bt<<=1;if(We+=1<<ot,Pe===1&&852<We||Pe===2&&592<We)return 1;Ie[je=ke&_e]=Ot<<24|ot<<16|Je-ve|0}}return ke!==0&&(Ie[Je+ke]=ze-lt<<24|64<<16|0),Ee.bits=Ot,0}},{"../utils/common":41}],51:[function(Le,qe,He){"use strict";qe.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(Le,qe,He){"use strict";var Fe=Le("../utils/common"),Me=0,fe=1;function xe(se){for(var le=se.length;0<=--le;)se[le]=0}var oe=0,Pe=29,ye=256,Re=ye+1+Pe,Se=30,Ie=19,ve=2*Re+1,we=15,Ee=16,Oe=7,Ke=256,je=16,_e=17,Je=18,Ve=[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],st=[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],at=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ht=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ct=new Array(2*(Re+2));xe(Ct);var ze=new Array(2*Se);xe(ze);var pt=new Array(512);xe(pt);var Ne=new Array(256);xe(Ne);var Qe=new Array(Pe);xe(Qe);var Ot,ot,lt,Bt=new Array(Se);function We(se,le,Be,Ge,ut){this.static_tree=se,this.extra_bits=le,this.extra_base=Be,this.elems=Ge,this.max_length=ut,this.has_stree=se&&se.length}function ke(se,le){this.dyn_tree=se,this.max_code=0,this.stat_desc=le}function At(se){return se<256?pt[se]:pt[256+(se>>>7)]}function Kt(se,le){se.pending_buf[se.pending++]=255&le,se.pending_buf[se.pending++]=le>>>8&255}function Ht(se,le,Be){se.bi_valid>Ee-Be?(se.bi_buf|=le<<se.bi_valid&65535,Kt(se,se.bi_buf),se.bi_buf=le>>Ee-se.bi_valid,se.bi_valid+=Be-Ee):(se.bi_buf|=le<<se.bi_valid&65535,se.bi_valid+=Be)}function nt(se,le,Be){Ht(se,Be[2*le],Be[2*le+1])}function Pt(se,le){for(var Be=0;Be|=1&se,se>>>=1,Be<<=1,0<--le;);return Be>>>1}function Rt(se,le,Be){var Ge,ut,mt=new Array(we+1),vt=0;for(Ge=1;Ge<=we;Ge++)mt[Ge]=vt=vt+Be[Ge-1]<<1;for(ut=0;ut<=le;ut++){var St=se[2*ut+1];St!==0&&(se[2*ut]=Pt(mt[St]++,St))}}function hn(se){var le;for(le=0;le<Re;le++)se.dyn_ltree[2*le]=0;for(le=0;le<Se;le++)se.dyn_dtree[2*le]=0;for(le=0;le<Ie;le++)se.bl_tree[2*le]=0;se.dyn_ltree[2*Ke]=1,se.opt_len=se.static_len=0,se.last_lit=se.matches=0}function Tt(se){8<se.bi_valid?Kt(se,se.bi_buf):0<se.bi_valid&&(se.pending_buf[se.pending++]=se.bi_buf),se.bi_buf=0,se.bi_valid=0}function mn(se,le,Be,Ge){var ut=2*le,mt=2*Be;return se[ut]<se[mt]||se[ut]===se[mt]&&Ge[le]<=Ge[Be]}function kt(se,le,Be){for(var Ge=se.heap[Be],ut=Be<<1;ut<=se.heap_len&&(ut<se.heap_len&&mn(le,se.heap[ut+1],se.heap[ut],se.depth)&&ut++,!mn(le,Ge,se.heap[ut],se.depth));)se.heap[Be]=se.heap[ut],Be=ut,ut<<=1;se.heap[Be]=Ge}function Fn(se,le,Be){var Ge,ut,mt,vt,St=0;if(se.last_lit!==0)for(;Ge=se.pending_buf[se.d_buf+2*St]<<8|se.pending_buf[se.d_buf+2*St+1],ut=se.pending_buf[se.l_buf+St],St++,Ge===0?nt(se,ut,le):(nt(se,(mt=Ne[ut])+ye+1,le),(vt=Ve[mt])!==0&&Ht(se,ut-=Qe[mt],vt),nt(se,mt=At(--Ge),Be),(vt=st[mt])!==0&&Ht(se,Ge-=Bt[mt],vt)),St<se.last_lit;);nt(se,Ke,le)}function an(se,le){var Be,Ge,ut,mt=le.dyn_tree,vt=le.stat_desc.static_tree,St=le.stat_desc.has_stree,Dt=le.stat_desc.elems,Qt=-1;for(se.heap_len=0,se.heap_max=ve,Be=0;Be<Dt;Be++)mt[2*Be]!==0?(se.heap[++se.heap_len]=Qt=Be,se.depth[Be]=0):mt[2*Be+1]=0;for(;se.heap_len<2;)mt[2*(ut=se.heap[++se.heap_len]=Qt<2?++Qt:0)]=1,se.depth[ut]=0,se.opt_len--,St&&(se.static_len-=vt[2*ut+1]);for(le.max_code=Qt,Be=se.heap_len>>1;1<=Be;Be--)kt(se,mt,Be);for(ut=Dt;Be=se.heap[1],se.heap[1]=se.heap[se.heap_len--],kt(se,mt,1),Ge=se.heap[1],se.heap[--se.heap_max]=Be,se.heap[--se.heap_max]=Ge,mt[2*ut]=mt[2*Be]+mt[2*Ge],se.depth[ut]=(se.depth[Be]>=se.depth[Ge]?se.depth[Be]:se.depth[Ge])+1,mt[2*Be+1]=mt[2*Ge+1]=ut,se.heap[1]=ut++,kt(se,mt,1),2<=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],function(xt,ct){var Xt,Wt,wn,ln,nn,zn,Ln=ct.dyn_tree,_t=ct.max_code,un=ct.stat_desc.static_tree,Pn=ct.stat_desc.has_stree,Vn=ct.stat_desc.extra_bits,Lt=ct.stat_desc.extra_base,Gt=ct.stat_desc.max_length,sn=0;for(ln=0;ln<=we;ln++)xt.bl_count[ln]=0;for(Ln[2*xt.heap[xt.heap_max]+1]=0,Xt=xt.heap_max+1;Xt<ve;Xt++)Gt<(ln=Ln[2*Ln[2*(Wt=xt.heap[Xt])+1]+1]+1)&&(ln=Gt,sn++),Ln[2*Wt+1]=ln,_t<Wt||(xt.bl_count[ln]++,nn=0,Lt<=Wt&&(nn=Vn[Wt-Lt]),zn=Ln[2*Wt],xt.opt_len+=zn*(ln+nn),Pn&&(xt.static_len+=zn*(un[2*Wt+1]+nn)));if(sn!==0){do{for(ln=Gt-1;xt.bl_count[ln]===0;)ln--;xt.bl_count[ln]--,xt.bl_count[ln+1]+=2,xt.bl_count[Gt]--,sn-=2}while(0<sn);for(ln=Gt;ln!==0;ln--)for(Wt=xt.bl_count[ln];Wt!==0;)_t<(wn=xt.heap[--Xt])||(Ln[2*wn+1]!==ln&&(xt.opt_len+=(ln-Ln[2*wn+1])*Ln[2*wn],Ln[2*wn+1]=ln),Wt--)}}(se,le),Rt(mt,Qt,se.bl_count)}function de(se,le,Be){var Ge,ut,mt=-1,vt=le[1],St=0,Dt=7,Qt=4;for(vt===0&&(Dt=138,Qt=3),le[2*(Be+1)+1]=65535,Ge=0;Ge<=Be;Ge++)ut=vt,vt=le[2*(Ge+1)+1],++St<Dt&&ut===vt||(St<Qt?se.bl_tree[2*ut]+=St:ut!==0?(ut!==mt&&se.bl_tree[2*ut]++,se.bl_tree[2*je]++):St<=10?se.bl_tree[2*_e]++:se.bl_tree[2*Je]++,mt=ut,Qt=(St=0)===vt?(Dt=138,3):ut===vt?(Dt=6,3):(Dt=7,4))}function ge(se,le,Be){var Ge,ut,mt=-1,vt=le[1],St=0,Dt=7,Qt=4;for(vt===0&&(Dt=138,Qt=3),Ge=0;Ge<=Be;Ge++)if(ut=vt,vt=le[2*(Ge+1)+1],!(++St<Dt&&ut===vt)){if(St<Qt)for(;nt(se,ut,se.bl_tree),--St!=0;);else ut!==0?(ut!==mt&&(nt(se,ut,se.bl_tree),St--),nt(se,je,se.bl_tree),Ht(se,St-3,2)):St<=10?(nt(se,_e,se.bl_tree),Ht(se,St-3,3)):(nt(se,Je,se.bl_tree),Ht(se,St-11,7));mt=ut,Qt=(St=0)===vt?(Dt=138,3):ut===vt?(Dt=6,3):(Dt=7,4)}}xe(Bt);var ie=!1;function ee(se,le,Be,Ge){Ht(se,(oe<<1)+(Ge?1:0),3),function(ut,mt,vt,St){Tt(ut),St&&(Kt(ut,vt),Kt(ut,~vt)),Fe.arraySet(ut.pending_buf,ut.window,mt,vt,ut.pending),ut.pending+=vt}(se,le,Be,!0)}He._tr_init=function(se){ie||(function(){var le,Be,Ge,ut,mt,vt=new Array(we+1);for(ut=Ge=0;ut<Pe-1;ut++)for(Qe[ut]=Ge,le=0;le<1<<Ve[ut];le++)Ne[Ge++]=ut;for(Ne[Ge-1]=ut,ut=mt=0;ut<16;ut++)for(Bt[ut]=mt,le=0;le<1<<st[ut];le++)pt[mt++]=ut;for(mt>>=7;ut<Se;ut++)for(Bt[ut]=mt<<7,le=0;le<1<<st[ut]-7;le++)pt[256+mt++]=ut;for(Be=0;Be<=we;Be++)vt[Be]=0;for(le=0;le<=143;)Ct[2*le+1]=8,le++,vt[8]++;for(;le<=255;)Ct[2*le+1]=9,le++,vt[9]++;for(;le<=279;)Ct[2*le+1]=7,le++,vt[7]++;for(;le<=287;)Ct[2*le+1]=8,le++,vt[8]++;for(Rt(Ct,Re+1,vt),le=0;le<Se;le++)ze[2*le+1]=5,ze[2*le]=Pt(le,5);Ot=new We(Ct,Ve,ye+1,Re,we),ot=new We(ze,st,0,Se,we),lt=new We(new Array(0),at,0,Ie,Oe)}(),ie=!0),se.l_desc=new ke(se.dyn_ltree,Ot),se.d_desc=new ke(se.dyn_dtree,ot),se.bl_desc=new ke(se.bl_tree,lt),se.bi_buf=0,se.bi_valid=0,hn(se)},He._tr_stored_block=ee,He._tr_flush_block=function(se,le,Be,Ge){var ut,mt,vt=0;0<se.level?(se.strm.data_type===2&&(se.strm.data_type=function(St){var Dt,Qt=4093624447;for(Dt=0;Dt<=31;Dt++,Qt>>>=1)if(1&Qt&&St.dyn_ltree[2*Dt]!==0)return Me;if(St.dyn_ltree[18]!==0||St.dyn_ltree[20]!==0||St.dyn_ltree[26]!==0)return fe;for(Dt=32;Dt<ye;Dt++)if(St.dyn_ltree[2*Dt]!==0)return fe;return Me}(se)),an(se,se.l_desc),an(se,se.d_desc),vt=function(St){var Dt;for(de(St,St.dyn_ltree,St.l_desc.max_code),de(St,St.dyn_dtree,St.d_desc.max_code),an(St,St.bl_desc),Dt=Ie-1;3<=Dt&&St.bl_tree[2*ht[Dt]+1]===0;Dt--);return St.opt_len+=3*(Dt+1)+5+5+4,Dt}(se),ut=se.opt_len+3+7>>>3,(mt=se.static_len+3+7>>>3)<=ut&&(ut=mt)):ut=mt=Be+5,Be+4<=ut&&le!==-1?ee(se,le,Be,Ge):se.strategy===4||mt===ut?(Ht(se,2+(Ge?1:0),3),Fn(se,Ct,ze)):(Ht(se,4+(Ge?1:0),3),function(St,Dt,Qt,xt){var ct;for(Ht(St,Dt-257,5),Ht(St,Qt-1,5),Ht(St,xt-4,4),ct=0;ct<xt;ct++)Ht(St,St.bl_tree[2*ht[ct]+1],3);ge(St,St.dyn_ltree,Dt-1),ge(St,St.dyn_dtree,Qt-1)}(se,se.l_desc.max_code+1,se.d_desc.max_code+1,vt+1),Fn(se,se.dyn_ltree,se.dyn_dtree)),hn(se),Ge&&Tt(se)},He._tr_tally=function(se,le,Be){return se.pending_buf[se.d_buf+2*se.last_lit]=le>>>8&255,se.pending_buf[se.d_buf+2*se.last_lit+1]=255&le,se.pending_buf[se.l_buf+se.last_lit]=255&Be,se.last_lit++,le===0?se.dyn_ltree[2*Be]++:(se.matches++,le--,se.dyn_ltree[2*(Ne[Be]+ye+1)]++,se.dyn_dtree[2*At(le)]++),se.last_lit===se.lit_bufsize-1},He._tr_align=function(se){Ht(se,2,3),nt(se,Ke,Ct),function(le){le.bi_valid===16?(Kt(le,le.bi_buf),le.bi_buf=0,le.bi_valid=0):8<=le.bi_valid&&(le.pending_buf[le.pending++]=255&le.bi_buf,le.bi_buf>>=8,le.bi_valid-=8)}(se)}},{"../utils/common":41}],53:[function(Le,qe,He){"use strict";qe.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(Le,qe,He){(function(Fe){(function(Me,fe){"use strict";if(!Me.setImmediate){var xe,oe,Pe,ye,Re=1,Se={},Ie=!1,ve=Me.document,we=Object.getPrototypeOf&&Object.getPrototypeOf(Me);we=we&&we.setTimeout?we:Me,xe={}.toString.call(Me.process)==="[object process]"?function(je){dt.nextTick(function(){Oe(je)})}:function(){if(Me.postMessage&&!Me.importScripts){var je=!0,_e=Me.onmessage;return Me.onmessage=function(){je=!1},Me.postMessage("","*"),Me.onmessage=_e,je}}()?(ye="setImmediate$"+Math.random()+"$",Me.addEventListener?Me.addEventListener("message",Ke,!1):Me.attachEvent("onmessage",Ke),function(je){Me.postMessage(ye+je,"*")}):Me.MessageChannel?((Pe=new MessageChannel).port1.onmessage=function(je){Oe(je.data)},function(je){Pe.port2.postMessage(je)}):ve&&"onreadystatechange"in ve.createElement("script")?(oe=ve.documentElement,function(je){var _e=ve.createElement("script");_e.onreadystatechange=function(){Oe(je),_e.onreadystatechange=null,oe.removeChild(_e),_e=null},oe.appendChild(_e)}):function(je){setTimeout(Oe,0,je)},we.setImmediate=function(je){typeof je!="function"&&(je=new Function(""+je));for(var _e=new Array(arguments.length-1),Je=0;Je<_e.length;Je++)_e[Je]=arguments[Je+1];var Ve={callback:je,args:_e};return Se[Re]=Ve,xe(Re),Re++},we.clearImmediate=Ee}function Ee(je){delete Se[je]}function Oe(je){if(Ie)setTimeout(Oe,0,je);else{var _e=Se[je];if(_e){Ie=!0;try{(function(Je){var Ve=Je.callback,st=Je.args;switch(st.length){case 0:Ve();break;case 1:Ve(st[0]);break;case 2:Ve(st[0],st[1]);break;case 3:Ve(st[0],st[1],st[2]);break;default:Ve.apply(fe,st)}})(_e)}finally{Ee(je),Ie=!1}}}}function Ke(je){je.source===Me&&typeof je.data=="string"&&je.data.indexOf(ye)===0&&Oe(+je.data.slice(ye.length))}})(typeof self=="undefined"?Fe===void 0?this:Fe:self)}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},2859:function(Xn,Mt,ae){"use strict";ae.d(Mt,{hP:function(){return an}});var x=function(de,ge){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ee){ie.__proto__=ee}||function(ie,ee){for(var se in ee)Object.prototype.hasOwnProperty.call(ee,se)&&(ie[se]=ee[se])})(de,ge)};function dt(de,ge){function ie(){this.constructor=de}x(de,ge),de.prototype=ge===null?Object.create(ge):(ie.prototype=ge.prototype,new ie)}function Le(de,ge,ie,ee){return new(ie||(ie=Promise))(function(se,le){function Be(mt){try{ut(ee.next(mt))}catch(vt){le(vt)}}function Ge(mt){try{ut(ee.throw(mt))}catch(vt){le(vt)}}function ut(mt){var vt;mt.done?se(mt.value):(vt=mt.value,vt instanceof ie?vt:new ie(function(St){St(vt)})).then(Be,Ge)}ut((ee=ee.apply(de,ge||[])).next())})}function qe(de,ge){var ie,ee,se,le,Be={label:0,sent:function(){if(1&se[0])throw se[1];return se[1]},trys:[],ops:[]};return le={next:Ge(0),throw:Ge(1),return:Ge(2)},typeof Symbol=="function"&&(le[Symbol.iterator]=function(){return this}),le;function Ge(ut){return function(mt){return function(vt){if(ie)throw new TypeError("Generator is already executing.");for(;Be;)try{if(ie=1,ee&&(se=2&vt[0]?ee.return:vt[0]?ee.throw||((se=ee.return)&&se.call(ee),0):ee.next)&&!(se=se.call(ee,vt[1])).done)return se;switch(ee=0,se&&(vt=[2&vt[0],se.value]),vt[0]){case 0:case 1:se=vt;break;case 4:return Be.label++,{value:vt[1],done:!1};case 5:Be.label++,ee=vt[1],vt=[0];continue;case 7:vt=Be.ops.pop(),Be.trys.pop();continue;default:if(se=Be.trys,!((se=se.length>0&&se[se.length-1])||vt[0]!==6&&vt[0]!==2)){Be=0;continue}if(vt[0]===3&&(!se||vt[1]>se[0]&&vt[1]<se[3])){Be.label=vt[1];break}if(vt[0]===6&&Be.label<se[1]){Be.label=se[1],se=vt;break}if(se&&Be.label<se[2]){Be.label=se[2],Be.ops.push(vt);break}se[2]&&Be.ops.pop(),Be.trys.pop();continue}vt=ge.call(de,Be)}catch(St){vt=[6,St],ee=0}finally{ie=se=0}if(5&vt[0])throw vt[1];return{value:vt[0]?vt[1]:void 0,done:!0}}([ut,mt])}}}function He(){for(var de=0,ge=0,ie=arguments.length;ge<ie;ge++)de+=arguments[ge].length;var ee=Array(de),se=0;for(ge=0;ge<ie;ge++)for(var le=arguments[ge],Be=0,Ge=le.length;Be<Ge;Be++,se++)ee[se]=le[Be];return ee}var Fe=function(){function de(){}return de.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},de.setAttributes=function(ge,ie){for(var ee=0,se=ie;ee<se.length;ee++){var le=se[ee],Be=le[0],Ge=le[1];ge.setAttribute(Be,Ge)}},de.createRect=function(ge,ie,ee){var se=document.createElementNS("http://www.w3.org/2000/svg","rect");return se.setAttribute("width",ge.toString()),se.setAttribute("height",ie.toString()),ee&&de.setAttributes(se,ee),se},de.createLine=function(ge,ie,ee,se,le){var Be=document.createElementNS("http://www.w3.org/2000/svg","line");return Be.setAttribute("x1",ge.toString()),Be.setAttribute("y1",ie.toString()),Be.setAttribute("x2",ee.toString()),Be.setAttribute("y2",se.toString()),le&&de.setAttributes(Be,le),Be},de.createPolygon=function(ge,ie){var ee=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ee.setAttribute("points",ge),ie&&de.setAttributes(ee,ie),ee},de.createCircle=function(ge,ie){var ee=document.createElementNS("http://www.w3.org/2000/svg","circle");return ee.setAttribute("cx",(ge/2).toString()),ee.setAttribute("cy",(ge/2).toString()),ee.setAttribute("r",ge.toString()),ie&&de.setAttributes(ee,ie),ee},de.createEllipse=function(ge,ie,ee){var se=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return se.setAttribute("cx",(ge/2).toString()),se.setAttribute("cy",(ie/2).toString()),se.setAttribute("rx",(ge/2).toString()),se.setAttribute("ry",(ie/2).toString()),ee&&de.setAttributes(se,ee),se},de.createGroup=function(ge){var ie=document.createElementNS("http://www.w3.org/2000/svg","g");return ge&&de.setAttributes(ie,ge),ie},de.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},de.createMarker=function(ge,ie,ee,se,le,Be,Ge){var ut=document.createElementNS("http://www.w3.org/2000/svg","marker");return de.setAttributes(ut,[["id",ge],["orient",ie],["markerWidth",ee.toString()],["markerHeight",se.toString()],["refX",le.toString()],["refY",Be.toString()]]),ut.appendChild(Ge),ut},de.createText=function(ge){var ie=document.createElementNS("http://www.w3.org/2000/svg","text");return ie.setAttribute("x","0"),ie.setAttribute("y","0"),ge&&de.setAttributes(ie,ge),ie},de.createTSpan=function(ge,ie){var ee=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ee.textContent=ge,ie&&de.setAttributes(ee,ie),ee},de.createImage=function(ge){var ie=document.createElementNS("http://www.w3.org/2000/svg","image");return ge&&de.setAttributes(ie,ge),ie},de.createPoint=function(ge,ie){var ee=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ee.x=ge,ee.y=ie,ee},de.createPath=function(ge,ie){var ee=document.createElementNS("http://www.w3.org/2000/svg","path");return ee.setAttribute("d",ge),ie&&de.setAttributes(ee,ie),ee},de}(),Me=function(){function de(){}return de.addKey=function(ge){de.key=ge},Object.defineProperty(de,"isLicensed",{get:function(){return!!de.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(de.key)},enumerable:!1,configurable:!0}),de}(),fe=function(){function de(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return de.prototype.rasterize=function(ge,ie,ee){var se=this;return new Promise(function(le){var Be=ee!==void 0?ee:document.createElement("canvas");ge===null&&(se.markersOnly=!0,se.naturalSize=!1);var Ge=document.createElementNS("http://www.w3.org/2000/svg","svg");Ge.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ge.setAttribute("width",ie.width.baseVal.valueAsString),Ge.setAttribute("height",ie.height.baseVal.valueAsString),Ge.setAttribute("viewBox","0 0 "+ie.viewBox.baseVal.width.toString()+" "+ie.viewBox.baseVal.height.toString()),Ge.innerHTML=ie.innerHTML,se.naturalSize===!0?(Ge.width.baseVal.value=ge.naturalWidth,Ge.height.baseVal.value=ge.naturalHeight):se.width!==void 0&&se.height!==void 0&&(Ge.width.baseVal.value=se.width,Ge.height.baseVal.value=se.height),Be.width=Ge.width.baseVal.value,Be.height=Ge.height.baseVal.value;var ut=Ge.outerHTML,mt=Be.getContext("2d");se.markersOnly!==!0&&mt.drawImage(ge,0,0,Be.width,Be.height);var vt=window.URL,St=new Image(Be.width,Be.height);St.setAttribute("crossOrigin","anonymous");var Dt=new Blob([ut],{type:"image/svg+xml"}),Qt=vt.createObjectURL(Dt);St.onload=function(){mt.drawImage(St,0,0),vt.revokeObjectURL(Qt);var xt=Be.toDataURL(se.imageType,se.imageQuality);le(xt)},St.src=Qt})},de}(),xe=function(){},oe=function(){function de(ge){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ge+"_"}return Object.defineProperty(de.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),de.prototype.addClass=function(ge){return this.styleSheet===void 0&&this.addStyleSheet(),ge.name=""+this.classNamePrefix+ge.localName,this.classes.push(ge),this.styleSheet.sheet.insertRule("."+ge.name+" {"+ge.style+"}",this.styleSheet.sheet.cssRules.length),ge},de.prototype.addRule=function(ge){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ge),this.styleSheet.sheet.insertRule(ge.selector+" {"+ge.style+"}",this.styleSheet.sheet.cssRules.length)},de.prototype.addStyleSheet=function(){var ge;this.styleSheet=document.createElement("style"),((ge=this.styleSheetRoot)!==null&&ge!==void 0?ge:document.head).appendChild(this.styleSheet),this.addRule(new Pe("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Pe("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Pe("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new ye("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new ye("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},de.prototype.removeStyleSheet=function(){var ge;this.styleSheet&&(((ge=this.styleSheetRoot)!==null&&ge!==void 0?ge:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},de}(),Pe=function(de,ge){this.selector=de,this.style=ge},ye=function(de,ge){this.localName=de,this.style=ge},Re=function(){function de(ge,ie,ee,se,le){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ge,this.displayMode=ie,this.markerItems=ee,this.uiStyleSettings=se,this.styles=le,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return de.prototype.show=function(ge){var ie=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ge,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ee=document.createElement("div");ee.className=this.toolbarBlockStyleClass.name,ee.style.whiteSpace="nowrap",this.uiContainer.appendChild(ee),this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(ee,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(le){var Be=document.createElement("div");Be.className=""+ie.toolbarButtonStyleClass.name,Be.setAttribute("data-type-name",le.typeName),Be.innerHTML=le.icon,Be.addEventListener("click",function(){ie.markerToolbarButtonClicked(Be,le)}),ie.buttons.push(Be),ie.markerButtons.push(Be)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var se=document.createElement("div");se.className=this.toolbarBlockStyleClass.name,se.style.whiteSpace="nowrap",se.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(se),this.addActionButton(se,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(se,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},de.prototype.addButtonClickListener=function(ge){this.buttonClickListeners.push(ge)},de.prototype.removeButtonClickListener=function(ge){this.buttonClickListeners.indexOf(ge)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ge),1)},de.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},de.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ge=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ie=0;ie<this.markerButtons.length;ie++)ie<ge||ie===ge&&this.markerButtons.length-1===ge?this.markerButtonBlock.appendChild(this.markerButtons[ie]):(ie===ge&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ie]))}},de.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},de.prototype.resetButtonStyles=function(){var ge=this;this.buttons.forEach(function(ie){ie.className=ie.className.replace(ge.uiStyleSettings.toolbarButtonStyleColorsClassName?ge.uiStyleSettings.toolbarButtonStyleColorsClassName:ge.toolbarButtonStyleColorsClass.name,"").trim(),ie.className=ie.className.replace(ge.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ge.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ge.toolbarActiveButtonStyleColorsClass.name,"").trim(),ie.className+=" "+(ge.uiStyleSettings.toolbarButtonStyleColorsClassName?ge.uiStyleSettings.toolbarButtonStyleColorsClassName:ge.toolbarButtonStyleColorsClass.name)})},de.prototype.addActionButton=function(ge,ie,ee){var se=this,le=document.createElement("div");switch(le.className=""+this.toolbarButtonStyleClass.name,le.innerHTML=ie,le.setAttribute("data-action",ee),le.addEventListener("click",function(){se.actionToolbarButtonClicked(le,ee)}),ee){case"select":le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":le.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":le.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":le.style.fill=this.uiStyleSettings.closeButtonColor}ge.appendChild(le),this.buttons.push(le)},de.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ye("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new ye("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ye("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ye("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new ye("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var ge=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ye("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ge)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ge)+`px;
padding: `+ge+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new ye("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ye("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Pe("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Pe("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},de.prototype.markerToolbarButtonClicked=function(ge,ie){this.setActiveButton(ge),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ee){return ee("marker",ie)}),this.markerButtonOverflowBlock.style.display="none"},de.prototype.actionToolbarButtonClicked=function(ge,ie){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ee){return ee("action",ie)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},de.prototype.setActiveButton=function(ge){this.resetButtonStyles(),ge.className=ge.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ge.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},de.prototype.setActiveMarkerButton=function(ge){var ie=this.markerButtons.find(function(ee){return ee.getAttribute("data-type-name")===ge});ie&&this.setActiveButton(ie)},de.prototype.setCurrentMarker=function(ge){var ie=this;this.currentMarker=ge,this.buttons.filter(function(ee){return/delete|notes/.test(ee.getAttribute("data-action"))}).forEach(function(ee){ie.currentMarker===void 0?(ee.style.fillOpacity="0.4",ee.style.pointerEvents="none"):(ee.style.fillOpacity="1",ee.style.pointerEvents="all")})},de}(),Se=function(){function de(ge,ie,ee,se){this.panels=[],this.panelButtons=[],this.markerjsContainer=ge,this.displayMode=ie,this.uiStyleSettings=ee,this.styles=se,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return de.prototype.addStyles=function(){var ge;this.toolboxStyleClass=this.styles.addClass(new ye("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new ye("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var ie=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ye("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ye("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ye("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new ye("toolbox-panel-row_colors",`
background-color: `+((ge=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ge!==void 0?ge:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ye("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
padding: `+ie+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ye("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ye("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Pe("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Pe("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},de.prototype.show=function(ge){var ie;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ge,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},de.prototype.setPanelButtons=function(ge){var ie,ee,se=this;this.panels=ge,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ee=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ee!==void 0?ee:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(le){var Be;le.uiStyleSettings=se.uiStyleSettings;var Ge=document.createElement("div");Ge.className=se.toolboxButtonStyleClass.name+" "+((Be=se.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Be!==void 0?Be:se.toolboxButtonStyleColorsClass.name),Ge.innerHTML=le.icon,Ge.title=le.title,Ge.addEventListener("click",function(){se.panelButtonClick(le)}),se.panelButtons.push(Ge),se.buttonRow.appendChild(Ge)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},de.prototype.panelButtonClick=function(ge){var ie=this,ee=-1;if(ge!==this.activePanel){ee=this.panels.indexOf(ge),this.panelRow.innerHTML="";var se=ge.getUi();se.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(se),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ge}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ie.displayMode==="inline"?ie.panelRow.style.display="none":ie.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(le,Be){var Ge,ut;le.className=ie.toolboxButtonStyleClass.name+" "+(Be===ee?""+((Ge=ie.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ge!==void 0?Ge:ie.toolboxActiveButtonStyleColorsClass.name):""+((ut=ie.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ut!==void 0?ut:ie.toolboxButtonStyleColorsClass.name))})},de}(),Ie=function(de,ge){this.title=de,this.icon=ge},ve=function(de){function ge(ie,ee,se,le){var Be=de.call(this,ie,le||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return Be.colors=[],Be.addTransparent=!1,Be.colorBoxes=[],Be.colors=ee,Be.currentColor=se,Be.setCurrentColor=Be.setCurrentColor.bind(Be),Be.getColorBox=Be.getColorBox.bind(Be),Be}return dt(ge,de),ge.prototype.getUi=function(){var ie=this,ee=document.createElement("div");return ee.style.overflow="hidden",ee.style.whiteSpace="nowrap",this.colors.forEach(function(se){var le=ie.getColorBox(se);ee.appendChild(le),ie.colorBoxes.push(le)}),ee},ge.prototype.getColorBox=function(ie){var ee=this,se=this.uiStyleSettings.toolbarHeight/4,le=this.uiStyleSettings.toolbarHeight-se,Be=document.createElement("div");Be.style.display="inline-block",Be.style.boxSizing="content-box",Be.style.width=le-2+"px",Be.style.height=le-2+"px",Be.style.padding="1px",Be.style.marginRight="2px",Be.style.marginBottom="2px",Be.style.borderWidth="2px",Be.style.borderStyle="solid",Be.style.borderRadius=(le+2)/2+"px",Be.style.borderColor=ie===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Be.addEventListener("click",function(){ee.setCurrentColor(ie,Be)});var Ge=document.createElement("div");return Ge.style.display="inline-block",Ge.style.width=le-2+"px",Ge.style.height=le-2+"px",Ge.style.backgroundColor=ie,Ge.style.borderRadius=le/2+"px",ie==="transparent"&&(Ge.style.fill=this.uiStyleSettings.toolboxAccentColor,Ge.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),Be.appendChild(Ge),Be},ge.prototype.setCurrentColor=function(ie,ee){var se=this;this.currentColor=ie,this.colorBoxes.forEach(function(le){le.style.borderColor=le===ee?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ie)},ge}(Ie),we=function(){function de(ge,ie,ee){this._state="new",this._isSelected=!1,this._container=ge,this._overlayContainer=ie,this.globalSettings=ee,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(de.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),de.prototype.ownsTarget=function(ge){return!1},Object.defineProperty(de.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),de.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},de.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},de.prototype.pointerDown=function(ge,ie){},de.prototype.dblClick=function(ge,ie){},de.prototype.manipulate=function(ge){},de.prototype.pointerUp=function(ge){this.stateChanged()},de.prototype.dispose=function(){},de.prototype.addMarkerVisualToContainer=function(ge){this.container.childNodes.length>0?this.container.insertBefore(ge,this.container.childNodes[0]):this.container.appendChild(ge)},de.prototype.getState=function(){return{typeName:de.typeName,state:this.state,notes:this.notes}},de.prototype.restoreState=function(ge){this._state=ge.state,this.notes=ge.notes},de.prototype.scale=function(ge,ie){},de.prototype.colorChanged=function(ge){this.onColorChanged&&this.onColorChanged(ge),this.stateChanged()},de.prototype.fillColorChanged=function(ge){this.onFillColorChanged&&this.onFillColorChanged(ge),this.stateChanged()},de.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ge=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ge.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ge)&&this.onStateChanged(this)}},de.typeName="MarkerBase",de}(),Ee=function(){function de(){this.findGripByVisual=this.findGripByVisual.bind(this)}return de.prototype.findGripByVisual=function(ge){return this.topLeft.ownsTarget(ge)?this.topLeft:this.topCenter.ownsTarget(ge)?this.topCenter:this.topRight.ownsTarget(ge)?this.topRight:this.centerLeft.ownsTarget(ge)?this.centerLeft:this.centerRight.ownsTarget(ge)?this.centerRight:this.bottomLeft.ownsTarget(ge)?this.bottomLeft:this.bottomCenter.ownsTarget(ge)?this.bottomCenter:this.bottomRight.ownsTarget(ge)?this.bottomRight:void 0},de}(),Oe=function(){function de(){this.GRIP_SIZE=10,this.visual=Fe.createGroup(),this.visual.appendChild(Fe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Fe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return de.prototype.ownsTarget=function(ge){return ge===this.visual||ge===this.visual.childNodes[0]||ge===this.visual.childNodes[1]},de}(),Ke=function(){function de(){}return de.toITransformMatrix=function(ge){return{a:ge.a,b:ge.b,c:ge.c,d:ge.d,e:ge.e,f:ge.f}},de.toSVGMatrix=function(ge,ie){return ge.a=ie.a,ge.b=ie.b,ge.c=ie.c,ge.d=ie.d,ge.e=ie.e,ge.f=ie.f,ge},de}(),je=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.left=0,le.top=0,le.width=0,le.height=0,le.defaultSize={x:50,y:20},le.offsetX=0,le.offsetY=0,le.rotationAngle=0,le.CB_DISTANCE=10,le._suppressMarkerCreateEvent=!1,le.container.transform.baseVal.appendItem(Fe.createTransform()),le.setupControlBox(),le}return dt(ge,de),Object.defineProperty(ge.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"visual",{get:function(){return this._visual},set:function(ie){this._visual=ie;var ee=Fe.createTransform();this._visual.transform.baseVal.appendItem(ee)},enumerable:!1,configurable:!0}),ge.prototype.ownsTarget=function(ie){return!!de.prototype.ownsTarget.call(this,ie)||!!(this.controlGrips.findGripByVisual(ie)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ie))},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.state==="new"&&(this.left=ie.x,this.top=ie.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var se=this.unrotatePoint(ie);if(this.manipulationStartX=se.x,this.manipulationStartY=se.y,this.offsetX=se.x-this.left,this.offsetY=se.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ee),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ee)){this.activeGrip=this.rotatorGrip;var le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=le.x-this.width/2,this.top=le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Be=this.container.transform.baseVal.getItem(0);Be.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Be,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ge.prototype.pointerUp=function(ie){var ee=this.state;de.prototype.pointerUp.call(this,ie),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ie),this._state="select",ee==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ge.prototype.moveVisual=function(ie){this.visual.style.transform="translate("+ie.x+"px, "+ie.y+"px)"},ge.prototype.manipulate=function(ie){var ee=this.unrotatePoint(ie);this.state==="creating"?this.resize(ie):this.state==="move"?(this.left=this.manipulationStartLeft+(ee.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ee.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ee):this.state==="rotate"&&this.rotate(ie)},ge.prototype.resize=function(ie){var ee=this.manipulationStartLeft,se=this.manipulationStartWidth,le=this.manipulationStartTop,Be=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ee=this.manipulationStartLeft+ie.x-this.manipulationStartX,se=this.manipulationStartWidth+this.manipulationStartLeft-ee;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:se=this.manipulationStartWidth+ie.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:le=this.manipulationStartTop+ie.y-this.manipulationStartY,Be=this.manipulationStartHeight+this.manipulationStartTop-le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Be=this.manipulationStartHeight+ie.y-this.manipulationStartY}se>=0?(this.left=ee,this.width=se):(this.left=ee+se,this.width=-se),Be>=0?(this.top=le,this.height=Be):(this.top=le+Be,this.height=-Be),this.setSize()},ge.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ge.prototype.rotate=function(ie){if(Math.abs(ie.x-this.centerX)>.1){var ee=Math.sign(ie.x-this.centerX);this.rotationAngle=180*Math.atan((ie.y-this.centerY)/(ie.x-this.centerX))/Math.PI+90*ee,this.applyRotation()}},ge.prototype.applyRotation=function(){var ie=this.container.transform.baseVal.getItem(0);ie.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ie,0)},ge.prototype.rotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ee=this.container.getCTM(),se=Fe.createPoint(ie.x,ie.y);return{x:(se=se.matrixTransform(ee)).x,y:se.y}},ge.prototype.unrotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ee=this.container.getCTM();ee=ee.inverse();var se=Fe.createPoint(ie.x,ie.y);return{x:(se=se.matrixTransform(ee)).x,y:se.y}},ge.prototype.select=function(){de.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ge.prototype.deselect=function(){de.prototype.deselect.call(this),this.controlBox.style.display="none"},ge.prototype.setupControlBox=function(){this.controlBox=Fe.createGroup();var ie=Fe.createTransform();ie.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ie),this.container.appendChild(this.controlBox),this.controlRect=Fe.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=Fe.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Ee,this.addControlGrips(),this.controlBox.style.display="none"},ge.prototype.adjustControlBox=function(){var ie=this.controlBox.transform.baseVal.getItem(0);ie.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ie,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ge.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ge.prototype.createGrip=function(){var ie=new Oe;return ie.visual.transform.baseVal.appendItem(Fe.createTransform()),this.controlBox.appendChild(ie.visual),ie},ge.prototype.positionGrips=function(){var ie=this.controlGrips.topLeft.GRIP_SIZE,ee=-ie/2,se=ee,le=(this.width+this.CB_DISTANCE)/2-ie/2,Be=(this.height+this.CB_DISTANCE)/2-ie/2,Ge=this.height+this.CB_DISTANCE-ie/2,ut=this.width+this.CB_DISTANCE-ie/2;this.positionGrip(this.controlGrips.topLeft.visual,ee,se),this.positionGrip(this.controlGrips.topCenter.visual,le,se),this.positionGrip(this.controlGrips.topRight.visual,ut,se),this.positionGrip(this.controlGrips.centerLeft.visual,ee,Be),this.positionGrip(this.controlGrips.centerRight.visual,ut,Be),this.positionGrip(this.controlGrips.bottomLeft.visual,ee,Ge),this.positionGrip(this.controlGrips.bottomCenter.visual,le,Ge),this.positionGrip(this.controlGrips.bottomRight.visual,ut,Ge),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,le,se-3*this.CB_DISTANCE)},ge.prototype.positionGrip=function(ie,ee,se){var le=ie.transform.baseVal.getItem(0);le.setTranslate(ee,se),ie.transform.baseVal.replaceItem(le,0)},ge.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ge.prototype.showControlBox=function(){this.controlBox.style.display=""},ge.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ke.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ke.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},de.prototype.getState.call(this))},ge.prototype.restoreState=function(ie){de.prototype.restoreState.call(this,ie);var ee=ie;this.left=ee.left,this.top=ee.top,this.width=ee.width,this.height=ee.height,this.rotationAngle=ee.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ee.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ee.containerTransformMatrix))},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee);var se=this.rotatePoint({x:this.left,y:this.top}),le=this.unrotatePoint({x:se.x*ie,y:se.y*ee});this.left=le.x,this.top=le.y,this.width=this.width*ie,this.height=this.height*ee,this.adjustControlBox()},ge}(we),_e=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.opacity=1,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},ge.prototype.createVisual=function(){this.visual=Fe.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ge.prototype.manipulate=function(ie){de.prototype.manipulate.call(this,ie)},ge.prototype.resize=function(ie){de.prototype.resize.call(this,ie),this.setSize()},ge.prototype.setSize=function(){de.prototype.setSize.call(this),Fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ge.prototype.pointerUp=function(ie){de.prototype.pointerUp.call(this,ie),this.setSize()},ge.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&Fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ge.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&Fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&Fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&Fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ge.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},de.prototype.getState.call(this))},ge.prototype.restoreState=function(ie){var ee=ie;this.fillColor=ee.fillColor,this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.opacity=ee.opacity,this.createVisual(),de.prototype.restoreState.call(this,ie),this.setSize()},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee),this.setSize()},ge.title="Rectangle marker",ge}(je),Je=function(de){function ge(ie,ee,se,le){var Be=de.call(this,ie,le||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Be.widths=[],Be.widthBoxes=[],Be.widths=ee,Be.currentWidth=se,Be.setCurrentWidth=Be.setCurrentWidth.bind(Be),Be}return dt(ge,de),ge.prototype.getUi=function(){var ie=this,ee=document.createElement("div");return ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2",this.widths.forEach(function(se){var le=document.createElement("div");le.style.display="flex",le.style.flexGrow="2",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=se===ie.currentWidth?ie.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ie.setCurrentWidth(se,le)}),ee.appendChild(le);var Be=document.createElement("div");Be.innerText=se.toString(),Be.style.marginRight="5px",le.appendChild(Be);var Ge=document.createElement("div");Ge.style.minHeight="20px",Ge.style.flexGrow="2",Ge.style.display="flex",Ge.style.alignItems="center";var ut=document.createElement("hr");ut.style.minWidth="20px",ut.style.border="0px",ut.style.borderTop=se+"px solid "+ie.uiStyleSettings.toolboxColor,ut.style.flexGrow="2",Ge.appendChild(ut),le.appendChild(Ge),ie.widthBoxes.push(le)}),ee},ge.prototype.setCurrentWidth=function(ie,ee){var se=this;this.currentWidth=ie,this.widthBoxes.forEach(function(le){le.style.borderColor=le===ee?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ge}(Ie),Ve=function(de){function ge(ie,ee,se,le){var Be=de.call(this,ie,le||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return Be.styles=[],Be.styleBoxes=[],Be.styles=ee,Be.currentStyle=se,Be.setCurrentStyle=Be.setCurrentStyle.bind(Be),Be}return dt(ge,de),ge.prototype.getUi=function(){var ie=this,ee=document.createElement("div");return ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2",this.styles.forEach(function(se){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ie.styles.length-5+"%",le.style.borderColor=se===ie.currentStyle?ie.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ie.setCurrentStyle(se,le)}),ee.appendChild(le);var Be=document.createElement("div");Be.style.minHeight="20px",Be.style.flexGrow="2",Be.style.overflow="hidden";var Ge=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ie.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(se!==""?'stroke-dasharray="'+se+'"':"")+` />
</svg>`;Be.innerHTML=Ge,le.appendChild(Be),ie.styleBoxes.push(le)}),ee},ge.prototype.setCurrentStyle=function(ie,ee){var se=this;this.currentStyle=ie,this.styleBoxes.forEach(function(le){le.style.borderColor=le===ee?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ge}(Ie),st=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.strokeColor=se.defaultColor,le.strokeWidth=se.defaultStrokeWidth,le.strokeDasharray=se.defaultStrokeDasharray,le.strokePanel=new ve("Line color",se.defaultColorSet,se.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new Je("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new Ve("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return dt(ge,de),Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=de.prototype.getState.call(this);return ie.typeName=ge.typeName,ie},ge.typeName="FrameMarker",ge.title="Frame marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ge}(_e),at=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},ht=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.x1=0,le.y1=0,le.x2=0,le.y2=0,le.defaultLength=50,le.manipulationStartX=0,le.manipulationStartY=0,le.manipulationStartX1=0,le.manipulationStartY1=0,le.manipulationStartX2=0,le.manipulationStartY2=0,le.setupControlBox(),le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!!de.prototype.ownsTarget.call(this,ie)||!(!this.grip1.ownsTarget(ie)&&!this.grip2.ownsTarget(ie))},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.manipulationStartX=ie.x,this.manipulationStartY=ie.y,this.state==="new"&&(this.x1=ie.x,this.y1=ie.y,this.x2=ie.x,this.y2=ie.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ee)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ee)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ge.prototype.pointerUp=function(ie){var ee=this.state;de.prototype.pointerUp.call(this,ie),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(ie),this._state="select",ee==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ge.prototype.adjustVisual=function(){},ge.prototype.manipulate=function(ie){this.state==="creating"?this.resize(ie):this.state==="move"?(this.x1=this.manipulationStartX1+ie.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ie.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ie.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ie.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ie)},ge.prototype.resize=function(ie){switch(this.activeGrip){case this.grip1:this.x1=ie.x,this.y1=ie.y;break;case this.grip2:case void 0:this.x2=ie.x,this.y2=ie.y}this.adjustVisual(),this.adjustControlBox()},ge.prototype.select=function(){de.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ge.prototype.deselect=function(){de.prototype.deselect.call(this),this.controlBox.style.display="none"},ge.prototype.setupControlBox=function(){this.controlBox=Fe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ge.prototype.adjustControlBox=function(){this.positionGrips()},ge.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ge.prototype.createGrip=function(){var ie=new Oe;return ie.visual.transform.baseVal.appendItem(Fe.createTransform()),this.controlBox.appendChild(ie.visual),ie},ge.prototype.positionGrips=function(){var ie=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ie/2,this.y1-ie/2),this.positionGrip(this.grip2.visual,this.x2-ie/2,this.y2-ie/2)},ge.prototype.positionGrip=function(ie,ee,se){var le=ie.transform.baseVal.getItem(0);le.setTranslate(ee,se),ie.transform.baseVal.replaceItem(le,0)},ge.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},de.prototype.getState.call(this))},ge.prototype.restoreState=function(ie){de.prototype.restoreState.call(this,ie);var ee=ie;this.x1=ee.x1,this.y1=ee.y1,this.x2=ee.x2,this.y2=ee.y2},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee),this.x1=this.x1*ie,this.y1=this.y1*ee,this.x2=this.x2*ie,this.y2=this.y2*ee,this.adjustVisual(),this.adjustControlBox()},ge}(we),Ct=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.strokeColor=se.defaultColor,le.strokeWidth=se.defaultStrokeWidth,le.strokeDasharray=se.defaultStrokeDasharray,le.strokePanel=new ve("Line color",se.defaultColorSet,se.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new Je("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new Ve("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorLine&&ie!==this.visibleLine)},ge.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.selectorLine=Fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ge.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),Fe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Fe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Fe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ge.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},de.prototype.getState.call(this));return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){de.prototype.restoreState.call(this,ie);var ee=ie;this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.createVisual(),this.adjustVisual()},ge.typeName="LineMarker",ge.title="Line marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ge}(ht),ze=function(de){function ge(ie,ee,se,le){var Be=de.call(this,ie,le||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return Be.fonts=[],Be.fontBoxes=[],Be.fonts=ee,Be.currentFont=se,Be.setCurrentFont=Be.setCurrentFont.bind(Be),Be}return dt(ge,de),ge.prototype.getUi=function(){var ie=this,ee=document.createElement("div");return ee.style.overflow="hidden",ee.style.flexGrow="2",this.fonts.forEach(function(se){var le=document.createElement("div");le.style.display="inline-block",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ie.fonts.length-5+"%",le.style.borderColor=se===ie.currentFont?ie.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ie.setCurrentFont(se,le)}),ee.appendChild(le);var Be=document.createElement("div");Be.style.display="flex",Be.style.minHeight="20px",Be.style.flexGrow="2",Be.style.fontFamily=se,Be.style.overflow="hidden";var Ge=document.createElement("div");Ge.style.whiteSpace="nowrap",Ge.style.overflow="hidden",Ge.style.textOverflow="ellipsis",Ge.innerHTML="The quick brown fox jumps over the lazy dog",Be.appendChild(Ge),le.appendChild(Be),ie.fontBoxes.push(le)}),ee},ge.prototype.setCurrentFont=function(ie,ee){var se=this;this.currentFont=ie,this.fontBoxes.forEach(function(le){le.style.borderColor=le===ee?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ge}(Ie),pt=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.color="transparent",le.padding=5,le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",le.text=le.DEFAULT_TEXT,le.isMoved=!1,le.color=se.defaultColor,le.fontFamily=se.defaultFontFamily,le.defaultSize={x:100,y:30},le.setColor=le.setColor.bind(le),le.setFont=le.setFont.bind(le),le.renderText=le.renderText.bind(le),le.sizeText=le.sizeText.bind(le),le.textEditDivClicked=le.textEditDivClicked.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.setSize=le.setSize.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.colorPanel=new ve("Color",se.defaultColorSet,se.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.fontFamilyPanel=new ze("Font",se.defaultFontFamilies,se.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){if(de.prototype.ownsTarget.call(this,ie)||ie===this.visual||ie===this.textElement||ie===this.bgRectangle)return!0;var ee=!1;return this.textElement.childNodes.forEach(function(se){se===ie&&(ee=!0)}),ee},ge.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.bgRectangle=Fe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Fe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Fe.createTransform()),this.textElement.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ge.prototype.renderText=function(){var ie=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ee){ie.textElement.appendChild(Fe.createTSpan(ee.trim()===""?" ":ee.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ge.prototype.getTextScale=function(){var ie=this.textElement.getBBox(),ee=1;if(ie.width>0&&ie.height>0){var se=(1*this.width-this.width*this.padding*2/100)/ie.width,le=(1*this.height-this.height*this.padding*2/100)/ie.height;ee=Math.min(se,le)}return ee},ge.prototype.getTextPosition=function(ie){var ee=this.textElement.getBBox(),se=0,le=0;return ee.width>0&&ee.height>0&&(se=(this.width-ee.width*ie)/2,le=this.height/2-ee.height*ie/2),{x:se,y:le}},ge.prototype.sizeText=function(){var ie=this.textElement.getBBox(),ee=this.getTextScale(),se=this.getTextPosition(ee);se.y-=ie.y*ee,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+se.x+"px, "+se.y+"px) scale("+ee+", "+ee+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(se.x,se.y),this.textElement.transform.baseVal.getItem(1).setScale(ee,ee))},ge.prototype.manipulate=function(ie){de.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},ge.prototype.resize=function(ie){de.prototype.resize.call(this,ie),this.isMoved=!0,this.setSize(),this.sizeText()},ge.prototype.setSize=function(){de.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Fe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ge.prototype.pointerUp=function(ie){var ee=this.state;ee==="creating"&&(this._suppressMarkerCreateEvent=!0),de.prototype.pointerUp.call(this,ie),this.setSize(),(ee==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ge.prototype.showTextEditor=function(){var ie=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ee){ee.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ee=Number.parseFloat(ie.textEditor.style.fontSize);ie.textEditor.clientWidth>=Number.parseInt(ie.textEditor.style.maxWidth)&&ee>.9;)ee-=.1,ie.textEditor.style.fontSize=Math.max(ee,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ee){ee.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ee){if(ee.clipboardData){var se=ee.clipboardData.getData("text"),le=window.getSelection();if(!le.rangeCount)return!1;le.deleteFromDocument(),le.getRangeAt(0).insertNode(document.createTextNode(se)),ee.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ie.textEditDivClicked(ie.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ge.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ie=this.getTextScale(),ee=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),se=this.textElement.getBBox(),le={x:se.width*ie,y:se.height*ie};ee.x-=le.x/2,ee.y-=le.y/2,this.textEditor.style.top=ee.y+"px",this.textEditor.style.left=ee.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ee.x+"px",this.textEditor.style.fontSize=Math.max(16*ie,12)+"px",this.textElement.style.display="none"}},ge.prototype.textEditDivClicked=function(ie){this.text=ie.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ge.prototype.select=function(){de.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ge.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),de.prototype.deselect.call(this)},ge.prototype.dblClick=function(ie,ee){de.prototype.dblClick.call(this,ie,ee),this.showTextEditor()},ge.prototype.setColor=function(ie){this.textElement&&Fe.setAttributes(this.textElement,[["fill",ie]]),this.color=ie,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ie)},ge.prototype.setFont=function(ie){this.textElement&&Fe.setAttributes(this.textElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ge.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ge.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},de.prototype.getState.call(this));return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){var ee=ie;this.color=ee.color,this.fontFamily=ee.fontFamily,this.padding=ee.padding,this.text=ee.text,this.createVisual(),de.prototype.restoreState.call(this,ie),this.setSize()},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee),this.setSize(),this.sizeText(),this.positionTextEditor()},ge.typeName="TextMarker",ge.title="Text marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ge}(je),Ne=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.color="transparent",le.lineWidth=3,le.drawing=!1,le.pixelRatio=1,le.color=se.defaultColor,le.lineWidth=se.defaultStrokeWidth,le.pixelRatio=se.freehandPixelRatio,le.setColor=le.setColor.bind(le),le.addCanvas=le.addCanvas.bind(le),le.finishCreation=le.finishCreation.bind(le),le.setLineWidth=le.setLineWidth.bind(le),le.colorPanel=new ve("Color",se.defaultColorSet,se.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.lineWidthPanel=new Je("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),le.lineWidthPanel.onWidthChanged=le.setLineWidth,le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.drawingImage)},ge.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.drawingImage=Fe.createImage(),this.visual.appendChild(this.drawingImage);var ie=Fe.createTransform();this.visual.transform.baseVal.appendItem(ie),this.addMarkerVisualToContainer(this.visual)},ge.prototype.pointerDown=function(ie,ee){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(ie.x,ie.y),this.drawing=!0):de.prototype.pointerDown.call(this,ie,ee)},ge.prototype.manipulate=function(ie){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ie.x,ie.y),this.canvasContext.stroke()):de.prototype.manipulate.call(this,ie)},ge.prototype.resize=function(ie){de.prototype.resize.call(this,ie),Fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ge.prototype.pointerUp=function(ie){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):de.prototype.pointerUp.call(this,ie)},ge.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ge.prototype.select=function(){this.state==="creating"&&this.finishCreation(),de.prototype.select.call(this)},ge.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),de.prototype.deselect.call(this)},ge.prototype.finishCreation=function(){for(var ie=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ee=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],se=ee[0],le=ee[1],Be=ee[2],Ge=ee[3],ut=!1,mt=0;mt<this.canvasElement.height;mt++)for(var vt=0;vt<this.canvasElement.width;vt++)ie.data[mt*this.canvasElement.width*4+4*vt+3]>0&&(ut=!0,mt<le&&(le=mt),vt<se&&(se=vt),mt>Ge&&(Ge=mt),vt>Be&&(Be=vt));if(ut){this.left=se/this.pixelRatio,this.top=le/this.pixelRatio,this.width=(Be-se)/this.pixelRatio,this.height=(Ge-le)/this.pixelRatio;var St=document.createElement("canvas");St.width=Be-se,St.height=Ge-le,St.getContext("2d").putImageData(this.canvasContext.getImageData(se,le,Be-se,Ge-le),0,0),this.drawingImgUrl=St.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ge.prototype.setDrawingImage=function(){Fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Fe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ge.prototype.setColor=function(ie){this.color=ie,this.colorChanged(ie)},ge.prototype.setLineWidth=function(ie){this.lineWidth=ie},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=Object.assign({drawingImgUrl:this.drawingImgUrl},de.prototype.getState.call(this));return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){this.createVisual(),de.prototype.restoreState.call(this,ie),this.drawingImgUrl=ie.drawingImgUrl,this.setDrawingImage()},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee),this.setDrawingImage()},ge.typeName="FreehandMarker",ge.title="Freehand marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ge}(je),Qe=function(de){function ge(ie,ee,se){var le=de.call(this,ie,se||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return le.typeBoxes=[],le.currentType=ee,le.setCurrentType=le.setCurrentType.bind(le),le}return dt(ge,de),ge.prototype.getUi=function(){var ie=this,ee=document.createElement("div");ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2";for(var se=function(Ge){var ut="both";switch(Ge){case 0:ut="both";break;case 1:ut="start";break;case 2:ut="end";break;case 3:ut="none"}var mt=document.createElement("div");if(mt.style.display="flex",mt.style.flexGrow="2",mt.style.alignItems="center",mt.style.justifyContent="space-between",mt.style.padding="5px",mt.style.borderWidth="2px",mt.style.borderStyle="solid",mt.style.borderColor=ut===le.currentType?le.uiStyleSettings.toolboxAccentColor:"transparent",mt.addEventListener("click",function(){ie.setCurrentType(ut,mt)}),ee.appendChild(mt),ut==="both"||ut==="start"){var vt=document.createElement("div");vt.style.display="flex",vt.style.alignItems="center",vt.style.minHeight="20px",vt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,vt.style.marginLeft="5px",mt.appendChild(vt)}var St=document.createElement("div");St.style.display="flex",St.style.alignItems="center",St.style.minHeight="20px",St.style.flexGrow="2";var Dt=document.createElement("hr");if(Dt.style.minWidth="20px",Dt.style.border="0px",Dt.style.borderTop="3px solid "+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee"),Dt.style.flexGrow="2",St.appendChild(Dt),mt.appendChild(St),ut==="both"||ut==="end"){var Qt=document.createElement("div");Qt.style.display="flex",Qt.style.alignItems="center",Qt.style.minHeight="20px",Qt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Qt.style.marginRight="5px",mt.appendChild(Qt)}le.typeBoxes.push(mt)},le=this,Be=0;Be<4;Be++)se(Be);return ee},ge.prototype.setCurrentType=function(ie,ee){var se=this;this.currentType=ie,this.typeBoxes.forEach(function(le){le.style.borderColor=le===ee?se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ge}(Ie),Ot=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.arrowType="end",le.arrowBaseHeight=10,le.arrowBaseWidth=10,le.getArrowPoints=le.getArrowPoints.bind(le),le.setArrowType=le.setArrowType.bind(le),le.arrowTypePanel=new Qe("Arrow type","end"),le.arrowTypePanel.onArrowTypeChanged=le.setArrowType,le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.arrow1&&ie!==this.arrow2)},ge.prototype.getArrowPoints=function(ie,ee){var se=this.arrowBaseWidth+2*this.strokeWidth,le=this.arrowBaseHeight+2*this.strokeWidth;return ie-se/2+","+(ee+le/2)+" "+ie+","+(ee-le/2)+" "+(ie+se/2)+","+(ee+le/2)},ge.prototype.createTips=function(){this.arrow1=Fe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Fe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.arrow2)},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.state==="creating"&&this.createTips()},ge.prototype.adjustVisual=function(){if(de.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",Fe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Fe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ie=0;Math.abs(this.x1-this.x2)>.1&&(ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ee=this.arrow1.transform.baseVal.getItem(0);ee.setRotate(ie,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ee,0);var se=this.arrow2.transform.baseVal.getItem(0);se.setRotate(ie+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(se,0)}},ge.prototype.setArrowType=function(ie){this.arrowType=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=Object.assign({arrowType:this.arrowType},de.prototype.getState.call(this));return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){de.prototype.restoreState.call(this,ie);var ee=ie;this.arrowType=ee.arrowType,this.createTips(),this.adjustVisual()},ge.typeName="ArrowMarker",ge.title="Arrow marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ge}(Ct),ot=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.fillColor=se.defaultFillColor,le.strokeWidth=0,le.fillPanel=new ve("Color",se.defaultColorSet,se.defaultFillColor),le.fillPanel.onColorChanged=le.setFillColor,le}return dt(ge,de),Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=de.prototype.getState.call(this);return ie.typeName=ge.typeName,ie},ge.typeName="CoverMarker",ge.title="Cover marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ge}(_e),lt=function(de){function ge(ie,ee,se,le){var Be=de.call(this,ie,le||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return Be.opacities=[],Be.opacityBoxes=[],Be.opacities=ee,Be.currentOpacity=se,Be.setCurrentOpacity=Be.setCurrentOpacity.bind(Be),Be}return dt(ge,de),ge.prototype.getUi=function(){var ie=this,ee=document.createElement("div");return ee.style.display="flex",ee.style.overflow="hidden",ee.style.flexGrow="2",ee.style.justifyContent="space-between",this.opacities.forEach(function(se){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="center",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=se===ie.currentOpacity?ie.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ie.setCurrentOpacity(se,le)}),ee.appendChild(le);var Be=document.createElement("div");Be.innerText=100*se+"%",le.appendChild(Be),ie.opacityBoxes.push(le)}),ee},ge.prototype.setCurrentOpacity=function(ie,ee){var se=this;this.currentOpacity=ie,this.opacityBoxes.forEach(function(le){le.style.borderColor=le===ee?se.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ge}(Ie),Bt=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.setOpacity=le.setOpacity.bind(le),le.fillColor=se.defaultHighlightColor,le.strokeWidth=0,le.opacity=se.defaultHighlightOpacity,le.fillPanel=new ve("Color",se.defaultColorSet,le.fillColor),le.fillPanel.onColorChanged=le.setFillColor,le.opacityPanel=new lt("Opacity",se.defaultOpacitySteps,le.opacity),le.opacityPanel.onOpacityChanged=le.setOpacity,le}return dt(ge,de),ge.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&Fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=de.prototype.getState.call(this);return ie.typeName=ge.typeName,ie},ge.typeName="HighlightMarker",ge.title="Highlight marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ge}(ot),We='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',ke='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',At=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.bgColor="transparent",le.tipPosition={x:0,y:0},le.tipBase1Position={x:0,y:0},le.tipBase2Position={x:0,y:0},le.tipMoving=!1,le.color=se.defaultStrokeColor,le.bgColor=se.defaultFillColor,le.fontFamily=se.defaultFontFamily,le.defaultSize={x:100,y:30},le.setBgColor=le.setBgColor.bind(le),le.getTipPoints=le.getTipPoints.bind(le),le.positionTip=le.positionTip.bind(le),le.setTipPoints=le.setTipPoints.bind(le),le.colorPanel=new ve("Text color",se.defaultColorSet,le.color,We),le.colorPanel.onColorChanged=le.setColor,le.bgColorPanel=new ve("Fill color",se.defaultColorSet,le.bgColor,ke),le.bgColorPanel.onColorChanged=le.setBgColor,le.fontFamilyPanel=new ze("Font",se.defaultFontFamilies,se.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.tipGrip=new Oe,le.tipGrip.visual.transform.baseVal.appendItem(Fe.createTransform()),le.controlBox.appendChild(le.tipGrip.visual),le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return de.prototype.ownsTarget.call(this,ie)||this.tipGrip.ownsTarget(ie)||this.tip===ie},ge.prototype.createTip=function(){Fe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Fe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ge.prototype.pointerDown=function(ie,ee){this.state==="new"&&de.prototype.pointerDown.call(this,ie,ee),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ee)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):de.prototype.pointerDown.call(this,ie,ee)},ge.prototype.pointerUp=function(ie){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,de.prototype.pointerUp.call(this,ie);else{var ee=this.state==="creating";de.prototype.pointerUp.call(this,ie),this.setTipPoints(ee),this.positionTip()}},ge.prototype.manipulate=function(ie){if(this.tipMoving){var ee=this.unrotatePoint(ie);this.tipPosition={x:ee.x-this.manipulationStartLeft,y:ee.y-this.manipulationStartTop},this.positionTip()}else de.prototype.manipulate.call(this,ie)},ge.prototype.setBgColor=function(ie){this.bgRectangle&&this.tip&&(Fe.setAttributes(this.bgRectangle,[["fill",ie]]),Fe.setAttributes(this.tip,[["fill",ie]])),this.bgColor=ie,this.fillColorChanged(ie)},ge.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ge.prototype.setTipPoints=function(ie){ie===void 0&&(ie=!1);var ee=Math.min(this.height/2,15),se=this.height/5;ie&&(this.tipPosition={x:ee+se/2,y:this.height+20});var le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?le<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(se=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:ee,y:0},this.tipBase2Position={x:ee+se,y:0}):(this.tipBase1Position={x:0,y:ee},this.tipBase2Position={x:0,y:ee+se}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?le<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(se=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ee-se,y:0},this.tipBase2Position={x:this.width-ee,y:0}):(this.tipBase1Position={x:this.width,y:ee},this.tipBase2Position={x:this.width,y:ee+se}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?le<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(se=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ee-se,y:this.height},this.tipBase2Position={x:this.width-ee,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ee-se},this.tipBase2Position={x:this.width,y:this.height-ee}):le<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(se=this.width/5,ee=Math.min(this.width/2,15),this.tipBase1Position={x:ee,y:this.height},this.tipBase2Position={x:ee+se,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ee},this.tipBase2Position={x:0,y:this.height-ee-se})},ge.prototype.resize=function(ie){de.prototype.resize.call(this,ie),this.positionTip()},ge.prototype.positionTip=function(){Fe.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ie=this.tipGrip.visual.transform.baseVal.getItem(0);ie.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ie,0)},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ge.prototype.select=function(){this.positionTip(),de.prototype.select.call(this)},ge.prototype.getState=function(){var ie=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},de.prototype.getState.call(this));return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){var ee=ie;this.bgColor=ee.bgColor,this.tipPosition=ee.tipPosition,de.prototype.restoreState.call(this,ie),this.createTip(),this.setTipPoints()},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee),this.tipPosition={x:this.tipPosition.x*ie,y:this.tipPosition.y*ee},this.positionTip()},ge.typeName="CalloutMarker",ge.title="Callout marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ge}(pt),Kt=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.opacity=1,le.strokeColor=se.defaultColor,le.strokeWidth=se.defaultStrokeWidth,le.strokeDasharray=se.defaultStrokeDasharray,le.fillColor=se.defaultFillColor,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.setOpacity=le.setOpacity.bind(le),le.createVisual=le.createVisual.bind(le),le.strokePanel=new ve("Line color",He(se.defaultColorSet,["transparent"]),se.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.fillPanel=new ve("Fill color",He(se.defaultColorSet,["transparent"]),le.fillColor,ke),le.fillPanel.onColorChanged=le.setFillColor,le.strokeWidthPanel=new Je("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new Ve("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le.opacityPanel=new lt("Opacity",se.defaultOpacitySteps,le.opacity),le.opacityPanel.onOpacityChanged=le.setOpacity,le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},ge.prototype.createVisual=function(){this.visual=Fe.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ge.prototype.manipulate=function(ie){de.prototype.manipulate.call(this,ie)},ge.prototype.resize=function(ie){de.prototype.resize.call(this,ie),this.setSize()},ge.prototype.setSize=function(){de.prototype.setSize.call(this),Fe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ge.prototype.pointerUp=function(ie){de.prototype.pointerUp.call(this,ie),this.setSize()},ge.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&Fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ge.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&Fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&Fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&Fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ge.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&Fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},de.prototype.getState.call(this));return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){var ee=ie;this.fillColor=ee.fillColor,this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.opacity=ee.opacity,this.createVisual(),de.prototype.restoreState.call(this,ie),this.setSize()},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee),this.setSize()},ge.typeName="EllipseMarker",ge.title="Ellipse marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ge}(je),Ht=function(de){function ge(ie,ee,se){return de.call(this,ie,ee,se)||this}return dt(ge,de),Object.defineProperty(ge.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.tip1&&ie!==this.tip2)},ge.prototype.createTips=function(){this.tip1=Fe.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Fe.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(Fe.createTransform()),this.visual.appendChild(this.tip2)},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.state==="creating"&&this.createTips()},ge.prototype.adjustVisual=function(){if(de.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Fe.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Fe.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ee=this.tip1.transform.baseVal.getItem(0);ee.setRotate(ie,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ee,0);var se=this.tip2.transform.baseVal.getItem(0);se.setRotate(ie+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(se,0)}},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=de.prototype.getState.call(this);return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){de.prototype.restoreState.call(this,ie),this.createTips(),this.adjustVisual()},ge.typeName="MeasurementMarker",ge.title="Measurement marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ge}(Ct),nt=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.strokePanel.colors=se.defaultColorSet,le.fillColor="transparent",le}return dt(ge,de),Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=de.prototype.getState.call(this);return ie.typeName=ge.typeName,ie},ge.typeName="EllipseFrameMarker",ge.title="Ellipse frame marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ge}(Kt),Pt=function(){function de(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(de.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),de.prototype.addUndoStep=function(ge){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ge)||(this.undoStack.push(ge),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ge)&&this.redoStack.splice(0,this.redoStack.length))},de.prototype.replaceLastUndoStep=function(ge){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ge)},de.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},de.prototype.undo=function(){if(this.undoStack.length>1){var ge=this.undoStack.pop();return ge!==void 0&&this.redoStack.push(ge),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},de.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},de}(),Rt=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.curveX=0,le.curveY=0,le.manipulationStartCurveX=0,le.manipulationStartCurveY=0,le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.positionGrips=le.positionGrips.bind(le),le.addControlGrips=le.addControlGrips.bind(le),le.adjustVisual=le.adjustVisual.bind(le),le.setupControlBox=le.setupControlBox.bind(le),le.resize=le.resize.bind(le),le.strokeColor=se.defaultColor,le.strokeWidth=se.defaultStrokeWidth,le.strokeDasharray=se.defaultStrokeDasharray,le.strokePanel=new ve("Line color",se.defaultColorSet,se.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new Je("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new Ve("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorCurve&&ie!==this.visibleCurve&&!this.curveGrip.ownsTarget(ie))},ge.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ge.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.selectorCurve=Fe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Fe.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ie.x,this.curveY=ie.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ee)&&(this.activeGrip=this.curveGrip,this._state="resize")},ge.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Fe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Fe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Fe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ge.prototype.setupControlBox=function(){de.prototype.setupControlBox.call(this),this.curveControlLine1=Fe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Fe.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ge.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,de.prototype.addControlGrips.call(this)},ge.prototype.positionGrips=function(){de.prototype.positionGrips.call(this);var ie=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ie/2,this.curveY-ie/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ge.prototype.manipulate=function(ie){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ie.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ie.y-this.manipulationStartY),de.prototype.manipulate.call(this,ie)},ge.prototype.resize=function(ie){this.activeGrip===this.curveGrip&&(this.curveX=ie.x,this.curveY=ie.y),de.prototype.resize.call(this,ie),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ge.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual()},ge.prototype.scale=function(ie,ee){this.curveX=this.curveX*ie,this.curveY=this.curveY*ee,de.prototype.scale.call(this,ie,ee)},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},de.prototype.getState.call(this));return ie.typeName=ge.typeName,ie},ge.prototype.restoreState=function(ie){de.prototype.restoreState.call(this,ie);var ee=ie;this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.curveX=ee.curveX,this.curveY=ee.curveY,this.createVisual(),this.adjustVisual()},ge.typeName="CurveMarker",ge.title="Curve marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ge}(ht),hn=function(de){function ge(ie,ee,se){var le=de.call(this,ie,ee,se)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.textColor="transparent",le.fontSize="1rem",le.isMoved=!1,le.captionText="Caption",le.PADDING=5,le.captionBoxWidth=0,le.captionBoxHeight=0,le.strokeColor=se.defaultColor,le.strokeWidth=se.defaultStrokeWidth,le.strokeDasharray=se.defaultStrokeDasharray,le.fillColor=se.defaultFillColor,le.textColor=se.defaultStrokeColor,le.fontFamily=se.defaultFontFamily,le.fontSize=se.defaultCaptionFontSize,le.captionText=se.defaultCaptionText,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le.sizeCaption=le.sizeCaption.bind(le),le.setCaptionText=le.setCaptionText.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.finishTextEditing=le.finishTextEditing.bind(le),le.setFont=le.setFont.bind(le),le.setTextColor=le.setTextColor.bind(le),le.strokePanel=new ve("Line color",He(se.defaultColorSet,["transparent"]),le.strokeColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.fillPanel=new ve("Fill color",He(se.defaultColorSet,["transparent"]),le.fillColor,ke),le.fillPanel.onColorChanged=le.setFillColor,le.strokeWidthPanel=new Je("Line width",se.defaultStrokeWidths,se.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new Ve("Line style",se.defaultStrokeDasharrays,se.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le.fontFamilyPanel=new ze("Font",se.defaultFontFamilies,se.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.textColorPanel=new ve("Text color",se.defaultColorSet,le.textColor,We),le.textColorPanel.onColorChanged=le.setTextColor,le}return dt(ge,de),ge.prototype.ownsTarget=function(ie){return!(!de.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.frame&&ie!==this.captionBg&&ie!==this.captionElement)},ge.prototype.createVisual=function(){this.visual=Fe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Fe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Fe.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=Fe.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ge.prototype.setCaptionText=function(ie){this.captionText=ie,this.captionElement.textContent=this.captionText,this.sizeCaption()},ge.prototype.pointerDown=function(ie,ee){de.prototype.pointerDown.call(this,ie,ee),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},ge.prototype.manipulate=function(ie){de.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},ge.prototype.resize=function(ie){de.prototype.resize.call(this,ie),this.setSize()},ge.prototype.sizeCaption=function(){var ie=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ie.width+2*this.PADDING,this.captionBoxHeight=ie.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Fe.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),Fe.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ge.prototype.showTextEditor=function(){var ie=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ee){ee.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ee){ee.key==="Enter"&&ie.finishTextEditing(ie.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ee){ee.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ge.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ge.prototype.finishTextEditing=function(ie){this.setCaptionText(ie.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ge.prototype.setFont=function(ie){this.captionElement&&Fe.setAttributes(this.captionElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ge.prototype.setTextColor=function(ie){this.captionElement&&Fe.setAttributes(this.captionElement,[["fill",ie]]),this.textColor=ie,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ge.prototype.setSize=function(){de.prototype.setSize.call(this),Fe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ge.prototype.pointerUp=function(ie){de.prototype.pointerUp.call(this,ie),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ge.prototype.dblClick=function(ie,ee){de.prototype.dblClick.call(this,ie,ee),this.showTextEditor()},ge.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.frame&&Fe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},ge.prototype.setFillColor=function(ie){this.fillColor=ie,this.captionBg&&Fe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},ge.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.frame&&Fe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ge.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.frame&&Fe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ge.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ge.prototype.getState=function(){var ie=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},de.prototype.getState.call(this));return ie.typeName=this.typeName,ie},ge.prototype.restoreState=function(ie){var ee=ie;this.fillColor=ee.fillColor,this.strokeColor=ee.strokeColor,this.strokeWidth=ee.strokeWidth,this.strokeDasharray=ee.strokeDasharray,this.textColor=ee.textColor,this.fontFamily=ee.fontFamily,this.captionText=ee.captionText,this.fontSize=ee.fontSize,this.createVisual(),de.prototype.restoreState.call(this,ie),this.setSize()},ge.prototype.scale=function(ie,ee){de.prototype.scale.call(this,ie,ee),this.setSize()},ge.typeName="CaptionFrameMarker",ge.title="Caption frame marker",ge.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ge}(je),Tt=function(){function de(ge,ie){ie===void 0&&(ie=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ge,this.cancelable=ie}return Object.defineProperty(de.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),de.prototype.preventDefault=function(){this._defaultPrevented=!0},de}(),mn=function(de){function ge(ie,ee,se){var le=de.call(this,ie,!1)||this;return le.dataUrl=ee,le.state=se,le}return dt(ge,de),ge}(Tt),kt=function(de){function ge(ie,ee,se){se===void 0&&(se=!1);var le=de.call(this,ie,se)||this;return le.marker=ee,le}return dt(ge,de),ge}(Tt),Fn=function(){function de(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return de.prototype.addEventListener=function(ge,ie){this[ge].push(ie)},de.prototype.removeEventListener=function(ge,ie){var ee=this[ge].indexOf(ie);ee>-1&&this[ge].splice(ee,1)},de}(),an=function(){function de(ge){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new at,this._isOpen=!1,this.undoRedoManager=new Pt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Fn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=de.instanceCounter++,this.styles=new oe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ge,this.targetRoot=document.body,this.width=ge.clientWidth,this.height=ge.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(de.prototype,"ALL_MARKER_TYPES",{get:function(){return[st,Ne,Ot,pt,nt,Kt,Bt,At,Ht,ot,Ct,Rt,hn]},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[st,Ne,Ot,pt,Kt,Bt,At]},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"BASIC_MARKER_TYPES",{get:function(){return[st,Ne,Ot,pt,Bt]},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ge){var ie=this;this._availableMarkerTypes.splice(0),ge.forEach(function(ee){if(typeof ee=="string"){var se=ie.ALL_MARKER_TYPES.find(function(le){return le.typeName===ee});se!==void 0&&ie._availableMarkerTypes.push(se)}else ie._availableMarkerTypes.push(ee)})},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ge){this._zoomLevel=ge,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),de.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Me.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},de.prototype.show=function(){var ge=this;this.styles.styleSheetRoot===void 0&&xe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=xe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ie){return ie(new Tt(ge))})},de.prototype.render=function(){return Le(this,void 0,void 0,function(){var ge;return qe(this,function(ie){switch(ie.label){case 0:return this.setCurrentMarker(),(ge=new fe).naturalSize=this.renderAtNaturalSize,ge.imageType=this.renderImageType,ge.imageQuality=this.renderImageQuality,ge.markersOnly=this.renderMarkersOnly,ge.width=this.renderWidth,ge.height=this.renderHeight,[4,ge.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ie.sent(),[4,ge.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ie.sent()]}})})},de.prototype.close=function(ge){var ie=this;if(ge===void 0&&(ge=!1),this.isOpen){var ee=!1;ge||this.eventListeners.beforeclose.forEach(function(se){var le=new Tt(ie,!0);se(le),le.defaultPrevented&&(ee=!0)}),ee||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(se){return se(new Tt(ie))}),this.detachEvents(),this._isOpen=!1)}},de.prototype.addMarkersToToolbar=function(){for(var ge,ie=[],ee=0;ee<arguments.length;ee++)ie[ee]=arguments[ee];(ge=this._availableMarkerTypes).push.apply(ge,ie)},de.prototype.addRenderEventListener=function(ge){this.addEventListener("render",function(ie){ge(ie.dataUrl,ie.state)})},de.prototype.removeRenderEventListener=function(ge){},de.prototype.addCloseEventListener=function(ge){this.addEventListener("close",function(){ge()})},de.prototype.removeCloseEventListener=function(ge){},de.prototype.setupResizeObserver=function(){var ge=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ge.resize(ge.target.clientWidth,ge.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ge.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},de.prototype.onPopupTargetResize=function(){var ge=1*this.target.clientWidth/this.target.clientHeight,ie=this.editorCanvas.clientWidth/ge>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ge:this.editorCanvas.clientWidth,ee=ie<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ge;this.resize(ie,ee)},de.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},de.prototype.resize=function(ge,ie){this._isResizing=!0;var ee=ge/this.imageWidth,se=ie/this.imageHeight;this.imageWidth=Math.round(ge),this.imageHeight=Math.round(ie),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(ee,se),this._isResizing=!1},de.prototype.scaleMarkers=function(ge,ie){var ee,se=this;this._currentMarker&&this._currentMarker instanceof pt?this._currentMarker.scale(ge,ie):(ee=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(le){le!==se._currentMarker&&le.scale(ge,ie)}),ee!==void 0&&this.setCurrentMarker(ee)},de.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},de.prototype.setTopLeft=function(){var ge=this.editingTarget.getBoundingClientRect(),ie=this.editorCanvas.getBoundingClientRect();this.left=ge.left-ie.left,this.top=ge.top-ie.top},de.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},de.prototype.addDefs=function(){for(var ge,ie=[],ee=0;ee<arguments.length;ee++)ie[ee]=arguments[ee];this.defs=Fe.createDefs(),this.addDefsToImage(),(ge=this.defs).append.apply(ge,ie)},de.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},de.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},de.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},de.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},de.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},de.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},de.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},de.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ge=document.createElement("a");ge.href="https://markerjs.com/",ge.target="_blank",ge.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ge.title="Powered by marker.js",ge.style.display="grid",ge.style.alignItems="center",ge.style.justifyItems="center",ge.style.padding="3px",ge.style.width="20px",ge.style.height="20px",this.logoUI.appendChild(ge),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},de.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},de.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},de.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},de.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ge=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ge+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Re(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new Se(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},de.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},de.prototype.removeMarker=function(ge){this.markerImage.removeChild(ge.container),this.markers.indexOf(ge)>-1&&this.markers.splice(this.markers.indexOf(ge),1),ge.dispose()},de.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},de.prototype.toolbarButtonClicked=function(ge,ie){if(ge==="marker"&&ie!==void 0)this.createNewMarker(ie);else if(ge==="action")switch(ie){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},de.prototype.deleteSelectedMarker=function(){var ge=this;if(this._currentMarker!==void 0){var ie=!1;if(this.eventListeners.markerbeforedelete.forEach(function(se){var le=new kt(ge,ge._currentMarker,!0);se(le),le.defaultPrevented&&(ie=!0)}),!ie){var ee=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(se){return se(new kt(ge,ee))})}}},de.prototype.clear=function(){var ge=this,ie=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Be){var Ge=new kt(ge,void 0,!0);Be(Ge),Ge.defaultPrevented&&(ie=!0)}),!ie)){this.setCurrentMarker();for(var ee=function(Be){var Ge=se.markers[Be];se.setCurrentMarker(se.markers[Be]),se._currentMarker.dispose(),se.markerImage.removeChild(se._currentMarker.container),se.markers.splice(se.markers.indexOf(se._currentMarker),1),se.eventListeners.markerdelete.forEach(function(ut){return ut(new kt(ge,Ge))})},se=this,le=this.markers.length-1;le>=0;le--)ee(le);this.addUndoStep()}},Object.defineProperty(de.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),de.prototype.showNotesEditor=function(){var ge;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ge=this._currentMarker.notes)!==null&&ge!==void 0?ge:"",this.overlayContainer.appendChild(this.notesArea))},de.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},de.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},de.prototype.addUndoStep=function(){var ge=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ie=this.getState(),ee=this.undoRedoManager.getLastUndoStep();if(!ee||ee.width===ie.width&&ee.height===ie.height){var se=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ie),se<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(le){return le(new Tt(ge))})}else this.undoRedoManager.replaceLastUndoStep(ie),this.eventListeners.statechange.forEach(function(le){return le(new Tt(ge))})}},de.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},de.prototype.undoStep=function(){var ge=this,ie=this.undoRedoManager.undo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ee){return ee(new Tt(ge))}))},de.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},de.prototype.redoStep=function(){var ge=this,ie=this.undoRedoManager.redo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ee){return ee(new Tt(ge))}))},de.prototype.stepZoom=function(){var ge=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ge<this.zoomSteps.length-1?this.zoomSteps[ge+1]:this.zoomSteps[0]},de.prototype.panTo=function(ge){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ge.x,top:this.prevPanPoint.y-ge.y}),this.prevPanPoint=ge},de.prototype.startRenderAndClose=function(){return Le(this,void 0,void 0,function(){var ge,ie,ee=this;return qe(this,function(se){switch(se.label){case 0:return[4,this.render()];case 1:return ge=se.sent(),ie=this.getState(),this.eventListeners.render.forEach(function(le){return le(new mn(ee,ge,ie))}),this.close(!0),[2]}})})},de.prototype.getState=function(ge){ge===!0&&this.setCurrentMarker();var ie={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ee){return ie.markers.push(ee.getState())}),ie},de.prototype.restoreState=function(ge){var ie=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ge.markers.forEach(function(ee){var se=ie._availableMarkerTypes.find(function(Be){return Be.typeName===ee.typeName});if(se!==void 0){var le=ie.addNewMarker(se);le.restoreState(ee),ie.markers.push(le)}}),ge.width&&ge.height&&(ge.width!==this.imageWidth||ge.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ge.width,this.imageHeight/ge.height),this.eventListeners.restorestate.forEach(function(ee){return ee(new Tt(ie))})},de.prototype.addNewMarker=function(ge){var ie=Fe.createGroup();return this.markerImage.appendChild(ie),new ge(ie,this.overlayContainer,this.settings)},de.prototype.createNewMarker=function(ge){var ie,ee=this;(ie=typeof ge=="string"?this._availableMarkerTypes.find(function(se){return se.typeName===ge}):ge)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ie),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(ie.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(se){return se(new kt(ee,ee._currentMarker))}))},de.prototype.markerCreated=function(ge){var ie=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ge),this.setCurrentMarker(ge),ge instanceof Ne&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Ne):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ee){return ee(new kt(ie,ie._currentMarker))})},de.prototype.colorChanged=function(ge){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ge,this.settings.defaultStrokeColor=ge)},de.prototype.fillColorChanged=function(ge){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ge)},de.prototype.markerStateChanged=function(ge){var ie=this;this.eventListeners.markerchange.forEach(function(ee){return ee(new kt(ie,ge))})},de.prototype.setCurrentMarker=function(ge){var ie=this;this._currentMarker!==ge&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ee){return ee(new kt(ie,ie._currentMarker))})),this._currentMarker=ge,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(ee){return ee(new kt(ie,ie._currentMarker))}))},de.prototype.onPointerDown=function(ge){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ge.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ie=this.markers.find(function(ee){return ee.ownsTarget(ge.target)});ie!==void 0?(this.setCurrentMarker(ie),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ge.clientX,ge.clientY),ge.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ge.clientX,y:ge.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ge.clientX,ge.clientY))},de.prototype.onDblClick=function(ge){if(this._isFocused||this.focus(),this.mode==="select"){var ie=this.markers.find(function(ee){return ee.ownsTarget(ge.target)});ie!==void 0&&ie!==this._currentMarker&&this.setCurrentMarker(ie),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ge.clientX,ge.clientY),ge.target):this.setCurrentMarker()}},de.prototype.onPointerMove=function(ge){this.touchPoints!==1&&ge.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ge.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ge.clientX,ge.clientY)):this.zoomLevel>1&&this.panTo({x:ge.clientX,y:ge.clientY}))},de.prototype.onPointerUp=function(ge){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ge.clientX,ge.clientY)),this.isDragging=!1,this.addUndoStep()},de.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},de.prototype.onKeyUp=function(ge){this._currentMarker===void 0||this.notesArea!==void 0||ge.key!=="Delete"&&ge.key!=="Backspace"||this.deleteSelectedMarker()},de.prototype.clientToLocalCoordinates=function(ge,ie){var ee=this.markerImage.getBoundingClientRect();return{x:(ge-ee.left)/this.zoomLevel,y:(ie-ee.top)/this.zoomLevel}},de.prototype.onWindowResize=function(){this.positionUI()},de.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ge=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ge+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},de.prototype.addLicenseKey=function(ge){Me.addKey(ge)},de.prototype.addEventListener=function(ge,ie){this.eventListeners.addEventListener(ge,ie)},de.prototype.removeEventListener=function(ge,ie){this.eventListeners.removeEventListener(ge,ie)},de.prototype.renderState=function(ge){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ge),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(de.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),de.prototype.focus=function(){var ge=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ie){return ie(new Tt(ge))}))},de.prototype.blur=function(){var ge=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ie){return ie(new Tt(ge))}))},de.instanceCounter=0,de}()},6551:function(Xn,Mt,ae){"use strict";ae.d(Mt,{ZP:function(){return Me}});var x=ae(72190),dt=ae(59301),Le=ae(47273),qe=0,He=(0,Le.Z)();function Fe(){var fe;return He?(fe=qe,qe+=1):fe="TEST_OR_SSR",fe}function Me(fe){var xe=dt.useState(),oe=(0,x.Z)(xe,2),Pe=oe[0],ye=oe[1];return dt.useEffect(function(){ye("rc_select_".concat(Fe()))},[]),fe||Pe}},37463:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Ac:function(){return nn},Xo:function(){return Ln},Wx:function(){return un},ZP:function(){return ni},lk:function(){return Ke}});var x=ae(60499),dt=ae(77654),Le=ae(18642),qe=ae(85899),He=ae(72190),Fe=ae(42244),Me=ae(43749),fe=ae(18929),xe=ae(48736),oe=ae(59301),Pe=ae(92310),ye=ae.n(Pe),Re=ae(34280),Se=ae(49658),Ie=ae(8654),ve=function(Cn){var tt=Cn.className,pn=Cn.customizeIcon,Zt=Cn.customizeIconProps,vn=Cn.children,On=Cn.onMouseDown,Rr=Cn.onClick,Xr=typeof pn=="function"?pn(Zt):pn;return oe.createElement("span",{className:tt,onMouseDown:function(nr){nr.preventDefault(),On==null||On(nr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Rr,"aria-hidden":!0},Xr!==void 0?Xr:oe.createElement("span",{className:ye()(tt.split(/\s+/).map(function(li){return"".concat(li,"-icon")}))},vn))},we=ve,Ee=function(Cn,tt,pn,Zt,vn){var On=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Rr=arguments.length>6?arguments[6]:void 0,Xr=arguments.length>7?arguments[7]:void 0,li=oe.useMemo(function(){if((0,Me.Z)(Zt)==="object")return Zt.clearIcon;if(vn)return vn},[Zt,vn]),nr=oe.useMemo(function(){return!!(!On&&Zt&&(pn.length||Rr)&&!(Xr==="combobox"&&Rr===""))},[Zt,On,pn.length,Rr,Xr]);return{allowClear:nr,clearIcon:oe.createElement(we,{className:"".concat(Cn,"-clear"),onMouseDown:tt,customizeIcon:li},"\xD7")}},Oe=oe.createContext(null);function Ke(){return oe.useContext(Oe)}function je(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Cn=oe.useState(!1),tt=(0,He.Z)(Cn,2),pn=tt[0],Zt=tt[1],vn=oe.useRef(null),On=function(){window.clearTimeout(vn.current)};oe.useEffect(function(){return On},[]);var Rr=function(li,nr){On(),vn.current=window.setTimeout(function(){Zt(li),nr&&nr()},An)};return[pn,Rr,On]}function _e(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Cn=oe.useRef(null),tt=oe.useRef(null);oe.useEffect(function(){return function(){window.clearTimeout(tt.current)}},[]);function pn(Zt){(Zt||Cn.current===null)&&(Cn.current=Zt),window.clearTimeout(tt.current),tt.current=window.setTimeout(function(){Cn.current=null},An)}return[function(){return Cn.current},pn]}function Je(An,Cn,tt,pn){var Zt=oe.useRef(null);Zt.current={open:Cn,triggerOpen:tt,customizedTrigger:pn},oe.useEffect(function(){function vn(On){var Rr;if(!((Rr=Zt.current)!==null&&Rr!==void 0&&Rr.customizedTrigger)){var Xr=On.target;Xr.shadowRoot&&On.composed&&(Xr=On.composedPath()[0]||Xr),Zt.current.open&&An().filter(function(li){return li}).every(function(li){return!li.contains(Xr)&&li!==Xr})&&Zt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",vn),function(){return window.removeEventListener("mousedown",vn)}},[])}var Ve=ae(10228);function st(An){return An&&![Ve.Z.ESC,Ve.Z.SHIFT,Ve.Z.BACKSPACE,Ve.Z.TAB,Ve.Z.WIN_KEY,Ve.Z.ALT,Ve.Z.META,Ve.Z.WIN_KEY_RIGHT,Ve.Z.CTRL,Ve.Z.SEMICOLON,Ve.Z.EQUALS,Ve.Z.CAPS_LOCK,Ve.Z.CONTEXT_MENU,Ve.Z.F1,Ve.Z.F2,Ve.Z.F3,Ve.Z.F4,Ve.Z.F5,Ve.Z.F6,Ve.Z.F7,Ve.Z.F8,Ve.Z.F9,Ve.Z.F10,Ve.Z.F11,Ve.Z.F12].includes(An)}var at=ae(26112),ht=ae(83836);function Ct(An,Cn,tt){var pn=(0,qe.Z)((0,qe.Z)({},An),tt?Cn:{});return Object.keys(Cn).forEach(function(Zt){var vn=Cn[Zt];typeof vn=="function"&&(pn[Zt]=function(){for(var On,Rr=arguments.length,Xr=new Array(Rr),li=0;li<Rr;li++)Xr[li]=arguments[li];return vn.apply(void 0,Xr),(On=An[Zt])===null||On===void 0?void 0:On.call.apply(On,[An].concat(Xr))})}),pn}var ze=Ct,pt=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Ne=function(Cn,tt){var pn=Cn.prefixCls,Zt=Cn.id,vn=Cn.inputElement,On=Cn.autoFocus,Rr=Cn.autoComplete,Xr=Cn.editable,li=Cn.activeDescendantId,nr=Cn.value,or=Cn.open,er=Cn.attrs,_r=(0,Fe.Z)(Cn,pt),Ti=vn||oe.createElement("input",null),bi=Ti,Xi=bi.ref,Er=bi.props;return(0,xe.Kp)(!("maxLength"in Ti.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ti=oe.cloneElement(Ti,(0,qe.Z)((0,qe.Z)((0,qe.Z)({type:"search"},ze(_r,Er,!0)),{},{id:Zt,ref:(0,Ie.sQ)(tt,Xi),autoComplete:Rr||"off",autoFocus:On,className:ye()("".concat(pn,"-selection-search-input"),Er==null?void 0:Er.className),role:"combobox","aria-expanded":or||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Zt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Zt,"_list"),"aria-activedescendant":or?li:void 0},er),{},{value:Xr?nr:"",readOnly:!Xr,unselectable:Xr?null:"on",style:(0,qe.Z)((0,qe.Z)({},Er.style),{},{opacity:Xr?null:0})})),Ti},Qe=oe.forwardRef(Ne),Ot=Qe;function ot(An){return Array.isArray(An)?An:An!==void 0?[An]:[]}var lt=typeof window!="undefined"&&window.document&&window.document.documentElement,Bt=lt;function We(An){return An!=null}function ke(An){return!An&&An!==0}function At(An){return["string","number"].includes((0,Me.Z)(An))}function Kt(An){var Cn=void 0;return An&&(At(An.title)?Cn=An.title.toString():At(An.label)&&(Cn=An.label.toString())),Cn}function Ht(An,Cn){Bt?oe.useLayoutEffect(An,Cn):oe.useEffect(An,Cn)}function nt(An){var Cn;return(Cn=An.key)!==null&&Cn!==void 0?Cn:An.value}var Pt=function(Cn){Cn.preventDefault(),Cn.stopPropagation()},Rt=function(Cn){var tt=Cn.id,pn=Cn.prefixCls,Zt=Cn.values,vn=Cn.open,On=Cn.searchValue,Rr=Cn.autoClearSearchValue,Xr=Cn.inputRef,li=Cn.placeholder,nr=Cn.disabled,or=Cn.mode,er=Cn.showSearch,_r=Cn.autoFocus,Ti=Cn.autoComplete,bi=Cn.activeDescendantId,Xi=Cn.tabIndex,Er=Cn.removeIcon,tn=Cn.maxTagCount,$t=Cn.maxTagTextLength,jn=Cn.maxTagPlaceholder,lr=jn===void 0?function(ui){return"+ ".concat(ui.length," ...")}:jn,gr=Cn.tagRender,Ir=Cn.onToggleOpen,Kr=Cn.onRemove,zr=Cn.onInputChange,pi=Cn.onInputPaste,Ci=Cn.onInputKeyDown,xi=Cn.onInputMouseDown,hi=Cn.onInputCompositionStart,Ii=Cn.onInputCompositionEnd,Di=Cn.onInputBlur,$i=oe.useRef(null),no=(0,oe.useState)(0),Hi=(0,He.Z)(no,2),ai=Hi[0],ao=Hi[1],ki=(0,oe.useState)(!1),So=(0,He.Z)(ki,2),uo=So[0],Do=So[1],Co="".concat(pn,"-selection"),to=vn||or==="multiple"&&Rr===!1||or==="tags"?On:"",Mo=or==="tags"||or==="multiple"&&Rr===!1||er&&(vn||uo);Ht(function(){ao($i.current.scrollWidth)},[to]);var Go=function(Zr,Ri,ro,jr,Yr){return oe.createElement("span",{title:Kt(Zr),className:ye()("".concat(Co,"-item"),(0,Le.Z)({},"".concat(Co,"-item-disabled"),ro))},oe.createElement("span",{className:"".concat(Co,"-item-content")},Ri),jr&&oe.createElement(we,{className:"".concat(Co,"-item-remove"),onMouseDown:Pt,onClick:Yr,customizeIcon:Er},"\xD7"))},zo=function(Zr,Ri,ro,jr,Yr,Bi){var _i=function(ya){Pt(ya),Ir(!vn)};return oe.createElement("span",{onMouseDown:_i},gr({label:Ri,value:Zr,disabled:ro,closable:jr,onClose:Yr,isMaxTag:!!Bi}))},No=function(Zr){var Ri=Zr.disabled,ro=Zr.label,jr=Zr.value,Yr=!nr&&!Ri,Bi=ro;if(typeof $t=="number"&&(typeof ro=="string"||typeof ro=="number")){var _i=String(Bi);_i.length>$t&&(Bi="".concat(_i.slice(0,$t),"..."))}var Ro=function($o){$o&&$o.stopPropagation(),Kr(Zr)};return typeof gr=="function"?zo(jr,Bi,Ri,Yr,Ro):Go(Zr,Bi,Ri,Yr,Ro)},zi=function(Zr){if(!Zt.length)return null;var Ri=typeof lr=="function"?lr(Zr):lr;return typeof gr=="function"?zo(void 0,Ri,!1,!1,void 0,!0):Go({title:Ri},Ri,!1)},Vt=oe.createElement("div",{className:"".concat(Co,"-search"),style:{width:ai},onFocus:function(){Do(!0)},onBlur:function(){Do(!1)}},oe.createElement(Ot,{ref:Xr,open:vn,prefixCls:pn,id:tt,inputElement:null,disabled:nr,autoFocus:_r,autoComplete:Ti,editable:Mo,activeDescendantId:bi,value:to,onKeyDown:Ci,onMouseDown:xi,onChange:zr,onPaste:pi,onCompositionStart:hi,onCompositionEnd:Ii,onBlur:Di,tabIndex:Xi,attrs:(0,at.Z)(Cn,!0)}),oe.createElement("span",{ref:$i,className:"".concat(Co,"-search-mirror"),"aria-hidden":!0},to,"\xA0")),$r=oe.createElement(ht.Z,{prefixCls:"".concat(Co,"-overflow"),data:Zt,renderItem:No,renderRest:zi,suffix:Vt,itemKey:nt,maxCount:tn});return oe.createElement("span",{className:"".concat(Co,"-wrap")},$r,!Zt.length&&!to&&oe.createElement("span",{className:"".concat(Co,"-placeholder")},li))},hn=Rt,Tt=function(Cn){var tt=Cn.inputElement,pn=Cn.prefixCls,Zt=Cn.id,vn=Cn.inputRef,On=Cn.disabled,Rr=Cn.autoFocus,Xr=Cn.autoComplete,li=Cn.activeDescendantId,nr=Cn.mode,or=Cn.open,er=Cn.values,_r=Cn.placeholder,Ti=Cn.tabIndex,bi=Cn.showSearch,Xi=Cn.searchValue,Er=Cn.activeValue,tn=Cn.maxLength,$t=Cn.onInputKeyDown,jn=Cn.onInputMouseDown,lr=Cn.onInputChange,gr=Cn.onInputPaste,Ir=Cn.onInputCompositionStart,Kr=Cn.onInputCompositionEnd,zr=Cn.onInputBlur,pi=Cn.title,Ci=oe.useState(!1),xi=(0,He.Z)(Ci,2),hi=xi[0],Ii=xi[1],Di=nr==="combobox",$i=Di||bi,no=er[0],Hi=Xi||"";Di&&Er&&!hi&&(Hi=Er),oe.useEffect(function(){Di&&Ii(!1)},[Di,Er]);var ai=nr!=="combobox"&&!or&&!bi?!1:!!Hi,ao=pi===void 0?Kt(no):pi,ki=oe.useMemo(function(){return no?null:oe.createElement("span",{className:"".concat(pn,"-selection-placeholder"),style:ai?{visibility:"hidden"}:void 0},_r)},[no,ai,_r,pn]);return oe.createElement("span",{className:"".concat(pn,"-selection-wrap")},oe.createElement("span",{className:"".concat(pn,"-selection-search")},oe.createElement(Ot,{ref:vn,prefixCls:pn,id:Zt,open:or,inputElement:tt,disabled:On,autoFocus:Rr,autoComplete:Xr,editable:$i,activeDescendantId:li,value:Hi,onKeyDown:$t,onMouseDown:jn,onChange:function(uo){Ii(!0),lr(uo)},onPaste:gr,onCompositionStart:Ir,onCompositionEnd:Kr,onBlur:zr,tabIndex:Ti,attrs:(0,at.Z)(Cn,!0),maxLength:Di?tn:void 0})),!Di&&no?oe.createElement("span",{className:"".concat(pn,"-selection-item"),title:ao,style:ai?{visibility:"hidden"}:void 0},no.label):null,ki)},mn=Tt,kt=function(Cn,tt){var pn=(0,oe.useRef)(null),Zt=(0,oe.useRef)(!1),vn=Cn.prefixCls,On=Cn.open,Rr=Cn.mode,Xr=Cn.showSearch,li=Cn.tokenWithEnter,nr=Cn.disabled,or=Cn.prefix,er=Cn.autoClearSearchValue,_r=Cn.onSearch,Ti=Cn.onSearchSubmit,bi=Cn.onToggleOpen,Xi=Cn.onInputKeyDown,Er=Cn.onInputBlur,tn=Cn.domRef;oe.useImperativeHandle(tt,function(){return{focus:function(ao){pn.current.focus(ao)},blur:function(){pn.current.blur()}}});var $t=_e(0),jn=(0,He.Z)($t,2),lr=jn[0],gr=jn[1],Ir=function(ao){var ki=ao.which,So=pn.current instanceof HTMLTextAreaElement;!So&&On&&(ki===Ve.Z.UP||ki===Ve.Z.DOWN)&&ao.preventDefault(),Xi&&Xi(ao),ki===Ve.Z.ENTER&&Rr==="tags"&&!Zt.current&&!On&&(Ti==null||Ti(ao.target.value)),!(So&&!On&&~[Ve.Z.UP,Ve.Z.DOWN,Ve.Z.LEFT,Ve.Z.RIGHT].indexOf(ki))&&st(ki)&&bi(!0)},Kr=function(){gr(!0)},zr=(0,oe.useRef)(null),pi=function(ao){_r(ao,!0,Zt.current)!==!1&&bi(!0)},Ci=function(){Zt.current=!0},xi=function(ao){Zt.current=!1,Rr!=="combobox"&&pi(ao.target.value)},hi=function(ao){var ki=ao.target.value;if(li&&zr.current&&/[\r\n]/.test(zr.current)){var So=zr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ki=ki.replace(So,zr.current)}zr.current=null,pi(ki)},Ii=function(ao){var ki=ao.clipboardData,So=ki==null?void 0:ki.getData("text");zr.current=So||""},Di=function(ao){var ki=ao.target;if(ki!==pn.current){var So=document.body.style.msTouchAction!==void 0;So?setTimeout(function(){pn.current.focus()}):pn.current.focus()}},$i=function(ao){var ki=lr();ao.target!==pn.current&&!ki&&!(Rr==="combobox"&&nr)&&ao.preventDefault(),(Rr!=="combobox"&&(!Xr||!ki)||!On)&&(On&&er!==!1&&_r("",!0,!1),bi())},no={inputRef:pn,onInputKeyDown:Ir,onInputMouseDown:Kr,onInputChange:hi,onInputPaste:Ii,onInputCompositionStart:Ci,onInputCompositionEnd:xi,onInputBlur:Er},Hi=Rr==="multiple"||Rr==="tags"?oe.createElement(hn,(0,x.Z)({},Cn,no)):oe.createElement(mn,(0,x.Z)({},Cn,no));return oe.createElement("div",{ref:tn,className:"".concat(vn,"-selector"),onClick:Di,onMouseDown:$i},or&&oe.createElement("div",{className:"".concat(vn,"-prefix")},or),Hi)},Fn=oe.forwardRef(kt),an=Fn,de=ae(68196),ge=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ie=function(Cn){var tt=Cn===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"}}},ee=function(Cn,tt){var pn=Cn.prefixCls,Zt=Cn.disabled,vn=Cn.visible,On=Cn.children,Rr=Cn.popupElement,Xr=Cn.animation,li=Cn.transitionName,nr=Cn.dropdownStyle,or=Cn.dropdownClassName,er=Cn.direction,_r=er===void 0?"ltr":er,Ti=Cn.placement,bi=Cn.builtinPlacements,Xi=Cn.dropdownMatchSelectWidth,Er=Cn.dropdownRender,tn=Cn.dropdownAlign,$t=Cn.getPopupContainer,jn=Cn.empty,lr=Cn.getTriggerDOMNode,gr=Cn.onPopupVisibleChange,Ir=Cn.onPopupMouseEnter,Kr=(0,Fe.Z)(Cn,ge),zr="".concat(pn,"-dropdown"),pi=Rr;Er&&(pi=Er(Rr));var Ci=oe.useMemo(function(){return bi||ie(Xi)},[bi,Xi]),xi=Xr?"".concat(zr,"-").concat(Xr):li,hi=typeof Xi=="number",Ii=oe.useMemo(function(){return hi?null:Xi===!1?"minWidth":"width"},[Xi,hi]),Di=nr;hi&&(Di=(0,qe.Z)((0,qe.Z)({},Di),{},{width:Xi}));var $i=oe.useRef(null);return oe.useImperativeHandle(tt,function(){return{getPopupElement:function(){var Hi;return(Hi=$i.current)===null||Hi===void 0?void 0:Hi.popupElement}}}),oe.createElement(de.Z,(0,x.Z)({},Kr,{showAction:gr?["click"]:[],hideAction:gr?["click"]:[],popupPlacement:Ti||(_r==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ci,prefixCls:zr,popupTransitionName:xi,popup:oe.createElement("div",{onMouseEnter:Ir},pi),ref:$i,stretch:Ii,popupAlign:tn,popupVisible:vn,getPopupContainer:$t,popupClassName:ye()(or,(0,Le.Z)({},"".concat(zr,"-empty"),jn)),popupStyle:Di,getTriggerDOMNode:lr,onPopupVisibleChange:gr}),On)},se=oe.forwardRef(ee),le=se,Be=ae(48745);function Ge(An,Cn){var tt=An.key,pn;return"value"in An&&(pn=An.value),tt!=null?tt:pn!==void 0?pn:"rc-index-key-".concat(Cn)}function ut(An){return typeof An!="undefined"&&!Number.isNaN(An)}function mt(An,Cn){var tt=An||{},pn=tt.label,Zt=tt.value,vn=tt.options,On=tt.groupLabel,Rr=pn||(Cn?"children":"label");return{label:Rr,value:Zt||"value",options:vn||"options",groupLabel:On||Rr}}function vt(An){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=Cn.fieldNames,pn=Cn.childrenAsData,Zt=[],vn=mt(tt,!1),On=vn.label,Rr=vn.value,Xr=vn.options,li=vn.groupLabel;function nr(or,er){Array.isArray(or)&&or.forEach(function(_r){if(er||!(Xr in _r)){var Ti=_r[Rr];Zt.push({key:Ge(_r,Zt.length),groupOption:er,data:_r,label:_r[On],value:Ti})}else{var bi=_r[li];bi===void 0&&pn&&(bi=_r.label),Zt.push({key:Ge(_r,Zt.length),group:!0,data:_r,label:bi}),nr(_r[Xr],!0)}})}return nr(An,!1),Zt}function St(An){var Cn=(0,qe.Z)({},An);return"props"in Cn||Object.defineProperty(Cn,"props",{get:function(){return(0,xe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Cn}}),Cn}var Dt=function(Cn,tt,pn){if(!tt||!tt.length)return null;var Zt=!1,vn=function Rr(Xr,li){var nr=(0,Be.Z)(li),or=nr[0],er=nr.slice(1);if(!or)return[Xr];var _r=Xr.split(or);return Zt=Zt||_r.length>1,_r.reduce(function(Ti,bi){return[].concat((0,dt.Z)(Ti),(0,dt.Z)(Rr(bi,er)))},[]).filter(Boolean)},On=vn(Cn,tt);return Zt?typeof pn!="undefined"?On.slice(0,pn):On:null},Qt=oe.createContext(null),xt=Qt;function ct(An){var Cn=An.visible,tt=An.values;if(!Cn)return null;var pn=50;return oe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(tt.slice(0,pn).map(function(Zt){var vn=Zt.label,On=Zt.value;return["number","string"].includes((0,Me.Z)(vn))?vn:On}).join(", ")),tt.length>pn?", ...":null)}var Xt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Wt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],wn=function(Cn){return Cn==="tags"||Cn==="multiple"},ln=oe.forwardRef(function(An,Cn){var tt,pn=An.id,Zt=An.prefixCls,vn=An.className,On=An.showSearch,Rr=An.tagRender,Xr=An.direction,li=An.omitDomProps,nr=An.displayValues,or=An.onDisplayValuesChange,er=An.emptyOptions,_r=An.notFoundContent,Ti=_r===void 0?"Not Found":_r,bi=An.onClear,Xi=An.mode,Er=An.disabled,tn=An.loading,$t=An.getInputElement,jn=An.getRawInputElement,lr=An.open,gr=An.defaultOpen,Ir=An.onDropdownVisibleChange,Kr=An.activeValue,zr=An.onActiveValueChange,pi=An.activeDescendantId,Ci=An.searchValue,xi=An.autoClearSearchValue,hi=An.onSearch,Ii=An.onSearchSplit,Di=An.tokenSeparators,$i=An.allowClear,no=An.prefix,Hi=An.suffixIcon,ai=An.clearIcon,ao=An.OptionList,ki=An.animation,So=An.transitionName,uo=An.dropdownStyle,Do=An.dropdownClassName,Co=An.dropdownMatchSelectWidth,to=An.dropdownRender,Mo=An.dropdownAlign,Go=An.placement,zo=An.builtinPlacements,No=An.getPopupContainer,zi=An.showAction,Vt=zi===void 0?[]:zi,$r=An.onFocus,ui=An.onBlur,Zr=An.onKeyUp,Ri=An.onKeyDown,ro=An.onMouseDown,jr=(0,Fe.Z)(An,Xt),Yr=wn(Xi),Bi=(On!==void 0?On:Yr)||Xi==="combobox",_i=(0,qe.Z)({},jr);Wt.forEach(function(Fa){delete _i[Fa]}),li==null||li.forEach(function(Fa){delete _i[Fa]});var Ro=oe.useState(!1),ya=(0,He.Z)(Ro,2),$o=ya[0],Ea=ya[1];oe.useEffect(function(){Ea((0,Se.Z)())},[]);var da=oe.useRef(null),wa=oe.useRef(null),Wr=oe.useRef(null),Ji=oe.useRef(null),xo=oe.useRef(null),ba=oe.useRef(!1),Xa=je(),ns=(0,He.Z)(Xa,3),Ta=ns[0],Za=ns[1],Fo=ns[2];oe.useImperativeHandle(Cn,function(){var Fa,Ma;return{focus:(Fa=Ji.current)===null||Fa===void 0?void 0:Fa.focus,blur:(Ma=Ji.current)===null||Ma===void 0?void 0:Ma.blur,scrollTo:function(ac){var Zl;return(Zl=xo.current)===null||Zl===void 0?void 0:Zl.scrollTo(ac)},nativeElement:da.current||wa.current}});var vo=oe.useMemo(function(){var Fa;if(Xi!=="combobox")return Ci;var Ma=(Fa=nr[0])===null||Fa===void 0?void 0:Fa.value;return typeof Ma=="string"||typeof Ma=="number"?String(Ma):""},[Ci,Xi,nr]),qo=Xi==="combobox"&&typeof $t=="function"&&$t()||null,ja=typeof jn=="function"&&jn(),ls=(0,Ie.x1)(wa,ja==null||(tt=ja.props)===null||tt===void 0?void 0:tt.ref),Fs=oe.useState(!1),il=(0,He.Z)(Fs,2),tu=il[0],Au=il[1];(0,Re.Z)(function(){Au(!0)},[]);var tl=(0,fe.Z)(!1,{defaultValue:gr,value:lr}),fl=(0,He.Z)(tl,2),wu=fl[0],Lu=fl[1],hl=tu?wu:!1,vc=!Ti&&er;(Er||vc&&hl&&Xi==="combobox")&&(hl=!1);var Du=vc?!1:hl,fa=oe.useCallback(function(Fa){var Ma=Fa!==void 0?Fa:!hl;Er||(Lu(Ma),hl!==Ma&&(Ir==null||Ir(Ma)))},[Er,hl,Lu,Ir]),La=oe.useMemo(function(){return(Di||[]).some(function(Fa){return[`
`,`\r
`].includes(Fa)})},[Di]),ha=oe.useContext(xt)||{},ga=ha.maxCount,es=ha.rawValues,Ya=function(Ma,bs,ac){if(!(Yr&&ut(ga)&&(es==null?void 0:es.size)>=ga)){var Zl=!0,lu=Ma;zr==null||zr(null);var Gc=Dt(Ma,Di,ut(ga)?ga-es.size:void 0),wc=ac?null:Gc;return Xi!=="combobox"&&wc&&(lu="",Ii==null||Ii(wc),fa(!1),Zl=!1),hi&&vo!==lu&&hi(lu,{source:bs?"typing":"effect"}),Zl}},$a=function(Ma){!Ma||!Ma.trim()||hi(Ma,{source:"submit"})};oe.useEffect(function(){!hl&&!Yr&&Xi!=="combobox"&&Ya("",!1,!1)},[hl]),oe.useEffect(function(){wu&&Er&&Lu(!1),Er&&!ba.current&&Za(!1)},[Er]);var Kl=_e(),su=(0,He.Z)(Kl,2),Ol=su[0],bu=su[1],du=oe.useRef(!1),Gu=function(Ma){var bs=Ol(),ac=Ma.key,Zl=ac==="Enter";if(Zl&&(Xi!=="combobox"&&Ma.preventDefault(),hl||fa(!0)),bu(!!vo),ac==="Backspace"&&!bs&&Yr&&!vo&&nr.length){for(var lu=(0,dt.Z)(nr),Gc=null,wc=lu.length-1;wc>=0;wc-=1){var pA=lu[wc];if(!pA.disabled){lu.splice(wc,1),Gc=pA;break}}Gc&&or(lu,{type:"remove",values:[Gc]})}for(var Wl=arguments.length,bc=new Array(Wl>1?Wl-1:0),iA=1;iA<Wl;iA++)bc[iA-1]=arguments[iA];if(hl&&(!Zl||!du.current)){var oA;Zl&&(du.current=!0),(oA=xo.current)===null||oA===void 0||oA.onKeyDown.apply(oA,[Ma].concat(bc))}Ri==null||Ri.apply(void 0,[Ma].concat(bc))},Qi=function(Ma){for(var bs=arguments.length,ac=new Array(bs>1?bs-1:0),Zl=1;Zl<bs;Zl++)ac[Zl-1]=arguments[Zl];if(hl){var lu;(lu=xo.current)===null||lu===void 0||lu.onKeyUp.apply(lu,[Ma].concat(ac))}Ma.key==="Enter"&&(du.current=!1),Zr==null||Zr.apply(void 0,[Ma].concat(ac))},Bo=function(Ma){var bs=nr.filter(function(ac){return ac!==Ma});or(bs,{type:"remove",values:[Ma]})},Wa=function(){du.current=!1},ol=oe.useRef(!1),kc=function(){Za(!0),Er||($r&&!ol.current&&$r.apply(void 0,arguments),Vt.includes("focus")&&fa(!0)),ol.current=!0},nu=function(){ba.current=!0,Za(!1,function(){ol.current=!1,ba.current=!1,fa(!1)}),!Er&&(vo&&(Xi==="tags"?hi(vo,{source:"submit"}):Xi==="multiple"&&hi("",{source:"blur"})),ui&&ui.apply(void 0,arguments))},Cu=[];oe.useEffect(function(){return function(){Cu.forEach(function(Fa){return clearTimeout(Fa)}),Cu.splice(0,Cu.length)}},[]);var ps=function(Ma){var bs,ac=Ma.target,Zl=(bs=Wr.current)===null||bs===void 0?void 0:bs.getPopupElement();if(Zl&&Zl.contains(ac)){var lu=setTimeout(function(){var Wl=Cu.indexOf(lu);if(Wl!==-1&&Cu.splice(Wl,1),Fo(),!$o&&!Zl.contains(document.activeElement)){var bc;(bc=Ji.current)===null||bc===void 0||bc.focus()}});Cu.push(lu)}for(var Gc=arguments.length,wc=new Array(Gc>1?Gc-1:0),pA=1;pA<Gc;pA++)wc[pA-1]=arguments[pA];ro==null||ro.apply(void 0,[Ma].concat(wc))},oc=oe.useState({}),td=(0,He.Z)(oc,2),Vc=td[1];function ka(){Vc({})}var Xu;ja&&(Xu=function(Ma){fa(Ma)}),Je(function(){var Fa;return[da.current,(Fa=Wr.current)===null||Fa===void 0?void 0:Fa.getPopupElement()]},Du,fa,!!ja);var yc=oe.useMemo(function(){return(0,qe.Z)((0,qe.Z)({},An),{},{notFoundContent:Ti,open:hl,triggerOpen:Du,id:pn,showSearch:Bi,multiple:Yr,toggleOpen:fa})},[An,Ti,Du,hl,pn,Bi,Yr,fa]),Nu=!!Hi||tn,Ns;Nu&&(Ns=oe.createElement(we,{className:ye()("".concat(Zt,"-arrow"),(0,Le.Z)({},"".concat(Zt,"-arrow-loading"),tn)),customizeIcon:Hi,customizeIconProps:{loading:tn,searchValue:vo,open:hl,focused:Ta,showSearch:Bi}}));var Yu=function(){var Ma;bi==null||bi(),(Ma=Ji.current)===null||Ma===void 0||Ma.focus(),or([],{type:"clear",values:nr}),Ya("",!1,!1)},Pl=Ee(Zt,Yu,nr,$i,ai,Er,vo,Xi),ml=Pl.allowClear,Tl=Pl.clearIcon,xu=oe.createElement(ao,{ref:xo}),$u=ye()(Zt,vn,(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(Zt,"-focused"),Ta),"".concat(Zt,"-multiple"),Yr),"".concat(Zt,"-single"),!Yr),"".concat(Zt,"-allow-clear"),$i),"".concat(Zt,"-show-arrow"),Nu),"".concat(Zt,"-disabled"),Er),"".concat(Zt,"-loading"),tn),"".concat(Zt,"-open"),hl),"".concat(Zt,"-customize-input"),qo),"".concat(Zt,"-show-search"),Bi)),ru=oe.createElement(le,{ref:Wr,disabled:Er,prefixCls:Zt,visible:Du,popupElement:xu,animation:ki,transitionName:So,dropdownStyle:uo,dropdownClassName:Do,direction:Xr,dropdownMatchSelectWidth:Co,dropdownRender:to,dropdownAlign:Mo,placement:Go,builtinPlacements:zo,getPopupContainer:No,empty:er,getTriggerDOMNode:function(Ma){return wa.current||Ma},onPopupVisibleChange:Xu,onPopupMouseEnter:ka},ja?oe.cloneElement(ja,{ref:ls}):oe.createElement(an,(0,x.Z)({},An,{domRef:wa,prefixCls:Zt,inputElement:qo,ref:Ji,id:pn,prefix:no,showSearch:Bi,autoClearSearchValue:xi,mode:Xi,activeDescendantId:pi,tagRender:Rr,values:nr,open:hl,onToggleOpen:fa,activeValue:Kr,searchValue:vo,onSearch:Ya,onSearchSubmit:$a,onRemove:Bo,tokenWithEnter:La,onInputBlur:Wa}))),fu;return ja?fu=ru:fu=oe.createElement("div",(0,x.Z)({className:$u},_i,{ref:da,onMouseDown:ps,onKeyDown:Gu,onKeyUp:Qi,onFocus:kc,onBlur:nu}),oe.createElement(ct,{visible:Ta&&!hl,values:nr}),ru,Ns,ml&&Tl),oe.createElement(Oe.Provider,{value:yc},fu)}),nn=ln,zn=function(){return null};zn.isSelectOptGroup=!0;var Ln=zn,_t=function(){return null};_t.isSelectOption=!0;var un=_t,Pn=ae(80547),Vn=ae(2738),Lt=ae(48911);function Gt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var sn=["disabled","title","children","style","className"];function bn(An){return typeof An=="string"||typeof An=="number"}var Yn=function(Cn,tt){var pn=Ke(),Zt=pn.prefixCls,vn=pn.id,On=pn.open,Rr=pn.multiple,Xr=pn.mode,li=pn.searchValue,nr=pn.toggleOpen,or=pn.notFoundContent,er=pn.onPopupScroll,_r=oe.useContext(xt),Ti=_r.maxCount,bi=_r.flattenOptions,Xi=_r.onActiveValue,Er=_r.defaultActiveFirstOption,tn=_r.onSelect,$t=_r.menuItemSelectedIcon,jn=_r.rawValues,lr=_r.fieldNames,gr=_r.virtual,Ir=_r.direction,Kr=_r.listHeight,zr=_r.listItemHeight,pi=_r.optionRender,Ci="".concat(Zt,"-item"),xi=(0,Pn.Z)(function(){return bi},[On,bi],function(zi,Vt){return Vt[0]&&zi[1]!==Vt[1]}),hi=oe.useRef(null),Ii=oe.useMemo(function(){return Rr&&ut(Ti)&&(jn==null?void 0:jn.size)>=Ti},[Rr,Ti,jn==null?void 0:jn.size]),Di=function(Vt){Vt.preventDefault()},$i=function(Vt){var $r;($r=hi.current)===null||$r===void 0||$r.scrollTo(typeof Vt=="number"?{index:Vt}:Vt)},no=oe.useCallback(function(zi){return Xr==="combobox"?!1:jn.has(zi)},[Xr,(0,dt.Z)(jn).toString(),jn.size]),Hi=function(Vt){for(var $r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ui=xi.length,Zr=0;Zr<ui;Zr+=1){var Ri=(Vt+Zr*$r+ui)%ui,ro=xi[Ri]||{},jr=ro.group,Yr=ro.data;if(!jr&&!(Yr!=null&&Yr.disabled)&&(no(Yr.value)||!Ii))return Ri}return-1},ai=oe.useState(function(){return Hi(0)}),ao=(0,He.Z)(ai,2),ki=ao[0],So=ao[1],uo=function(Vt){var $r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;So(Vt);var ui={source:$r?"keyboard":"mouse"},Zr=xi[Vt];if(!Zr){Xi(null,-1,ui);return}Xi(Zr.value,Vt,ui)};(0,oe.useEffect)(function(){uo(Er!==!1?Hi(0):-1)},[xi.length,li]);var Do=oe.useCallback(function(zi){return Xr==="combobox"?String(zi).toLowerCase()===li.toLowerCase():jn.has(zi)},[Xr,li,(0,dt.Z)(jn).toString(),jn.size]);(0,oe.useEffect)(function(){var zi=setTimeout(function(){if(!Rr&&On&&jn.size===1){var $r=Array.from(jn)[0],ui=xi.findIndex(function(Zr){var Ri=Zr.data;return li?String(Ri.value).startsWith(li):Ri.value===$r});ui!==-1&&(uo(ui),$i(ui))}});if(On){var Vt;(Vt=hi.current)===null||Vt===void 0||Vt.scrollTo(void 0)}return function(){return clearTimeout(zi)}},[On,li]);var Co=function(Vt){Vt!==void 0&&tn(Vt,{selected:!jn.has(Vt)}),Rr||nr(!1)};if(oe.useImperativeHandle(tt,function(){return{onKeyDown:function(Vt){var $r=Vt.which,ui=Vt.ctrlKey;switch($r){case Ve.Z.N:case Ve.Z.P:case Ve.Z.UP:case Ve.Z.DOWN:{var Zr=0;if($r===Ve.Z.UP?Zr=-1:$r===Ve.Z.DOWN?Zr=1:Gt()&&ui&&($r===Ve.Z.N?Zr=1:$r===Ve.Z.P&&(Zr=-1)),Zr!==0){var Ri=Hi(ki+Zr,Zr);$i(Ri),uo(Ri,!0)}break}case Ve.Z.TAB:case Ve.Z.ENTER:{var ro,jr=xi[ki];jr&&!(jr!=null&&(ro=jr.data)!==null&&ro!==void 0&&ro.disabled)&&!Ii?Co(jr.value):Co(void 0),On&&Vt.preventDefault();break}case Ve.Z.ESC:nr(!1),On&&Vt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Vt){$i(Vt)}}}),xi.length===0)return oe.createElement("div",{role:"listbox",id:"".concat(vn,"_list"),className:"".concat(Ci,"-empty"),onMouseDown:Di},or);var to=Object.keys(lr).map(function(zi){return lr[zi]}),Mo=function(Vt){return Vt.label};function Go(zi,Vt){var $r=zi.group;return{role:$r?"presentation":"option",id:"".concat(vn,"_list_").concat(Vt)}}var zo=function(Vt){var $r=xi[Vt];if(!$r)return null;var ui=$r.data||{},Zr=ui.value,Ri=$r.group,ro=(0,at.Z)(ui,!0),jr=Mo($r);return $r?oe.createElement("div",(0,x.Z)({"aria-label":typeof jr=="string"&&!Ri?jr:null},ro,{key:Vt},Go($r,Vt),{"aria-selected":Do(Zr)}),Zr):null},No={role:"listbox",id:"".concat(vn,"_list")};return oe.createElement(oe.Fragment,null,gr&&oe.createElement("div",(0,x.Z)({},No,{style:{height:0,width:0,overflow:"hidden"}}),zo(ki-1),zo(ki),zo(ki+1)),oe.createElement(Lt.Z,{itemKey:"key",ref:hi,data:xi,height:Kr,itemHeight:zr,fullHeight:!1,onMouseDown:Di,onScroll:er,virtual:gr,direction:Ir,innerProps:gr?null:No},function(zi,Vt){var $r=zi.group,ui=zi.groupOption,Zr=zi.data,Ri=zi.label,ro=zi.value,jr=Zr.key;if($r){var Yr,Bi=(Yr=Zr.title)!==null&&Yr!==void 0?Yr:bn(Ri)?Ri.toString():void 0;return oe.createElement("div",{className:ye()(Ci,"".concat(Ci,"-group"),Zr.className),title:Bi},Ri!==void 0?Ri:jr)}var _i=Zr.disabled,Ro=Zr.title,ya=Zr.children,$o=Zr.style,Ea=Zr.className,da=(0,Fe.Z)(Zr,sn),wa=(0,Vn.Z)(da,to),Wr=no(ro),Ji=_i||!Wr&&Ii,xo="".concat(Ci,"-option"),ba=ye()(Ci,xo,Ea,(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(xo,"-grouped"),ui),"".concat(xo,"-active"),ki===Vt&&!Ji),"".concat(xo,"-disabled"),Ji),"".concat(xo,"-selected"),Wr)),Xa=Mo(zi),ns=!$t||typeof $t=="function"||Wr,Ta=typeof Xa=="number"?Xa:Xa||ro,Za=bn(Ta)?Ta.toString():void 0;return Ro!==void 0&&(Za=Ro),oe.createElement("div",(0,x.Z)({},(0,at.Z)(wa),gr?{}:Go(zi,Vt),{"aria-selected":Do(ro),className:ba,title:Za,onMouseMove:function(){ki===Vt||Ji||uo(Vt)},onClick:function(){Ji||Co(ro)},style:$o}),oe.createElement("div",{className:"".concat(xo,"-content")},typeof pi=="function"?pi(zi,{index:Vt}):Ta),oe.isValidElement($t)||Wr,ns&&oe.createElement(we,{className:"".concat(Ci,"-option-state"),customizeIcon:$t,customizeIconProps:{value:ro,disabled:Ji,isSelected:Wr}},Wr?"\u2713":null))}))},pr=oe.forwardRef(Yn),ti=pr,si=function(An,Cn){var tt=oe.useRef({values:new Map,options:new Map}),pn=oe.useMemo(function(){var vn=tt.current,On=vn.values,Rr=vn.options,Xr=An.map(function(or){if(or.label===void 0){var er;return(0,qe.Z)((0,qe.Z)({},or),{},{label:(er=On.get(or.value))===null||er===void 0?void 0:er.label})}return or}),li=new Map,nr=new Map;return Xr.forEach(function(or){li.set(or.value,or),nr.set(or.value,Cn.get(or.value)||Rr.get(or.value))}),tt.current.values=li,tt.current.options=nr,Xr},[An,Cn]),Zt=oe.useCallback(function(vn){return Cn.get(vn)||tt.current.options.get(vn)},[Cn]);return[pn,Zt]};function Cr(An,Cn){return ot(An).join("").toUpperCase().includes(Cn)}var ur=function(An,Cn,tt,pn,Zt){return oe.useMemo(function(){if(!tt||pn===!1)return An;var vn=Cn.options,On=Cn.label,Rr=Cn.value,Xr=[],li=typeof pn=="function",nr=tt.toUpperCase(),or=li?pn:function(_r,Ti){return Zt?Cr(Ti[Zt],nr):Ti[vn]?Cr(Ti[On!=="children"?On:"label"],nr):Cr(Ti[Rr],nr)},er=li?function(_r){return St(_r)}:function(_r){return _r};return An.forEach(function(_r){if(_r[vn]){var Ti=or(tt,er(_r));if(Ti)Xr.push(_r);else{var bi=_r[vn].filter(function(Xi){return or(tt,er(Xi))});bi.length&&Xr.push((0,qe.Z)((0,qe.Z)({},_r),{},(0,Le.Z)({},vn,bi)))}return}or(tt,er(_r))&&Xr.push(_r)}),Xr},[An,pn,Zt,tt,Cn])},dr=ae(6551),yn=ae(11592),$n=["children","value"],rr=["children"];function Zn(An){var Cn=An,tt=Cn.key,pn=Cn.props,Zt=pn.children,vn=pn.value,On=(0,Fe.Z)(pn,$n);return(0,qe.Z)({key:tt,value:vn!==void 0?vn:tt,children:Zt},On)}function br(An){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,yn.Z)(An).map(function(tt,pn){if(!oe.isValidElement(tt)||!tt.type)return null;var Zt=tt,vn=Zt.type.isSelectOptGroup,On=Zt.key,Rr=Zt.props,Xr=Rr.children,li=(0,Fe.Z)(Rr,rr);return Cn||!vn?Zn(tt):(0,qe.Z)((0,qe.Z)({key:"__RC_SELECT_GRP__".concat(On===null?pn:On,"__"),label:On},li),{},{options:br(Xr)})}).filter(function(tt){return tt})}var Br=function(Cn,tt,pn,Zt,vn){return oe.useMemo(function(){var On=Cn,Rr=!Cn;Rr&&(On=br(tt));var Xr=new Map,li=new Map,nr=function(_r,Ti,bi){bi&&typeof bi=="string"&&_r.set(Ti[bi],Ti)},or=function er(_r){for(var Ti=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bi=0;bi<_r.length;bi+=1){var Xi=_r[bi];!Xi[pn.options]||Ti?(Xr.set(Xi[pn.value],Xi),nr(li,Xi,pn.label),nr(li,Xi,Zt),nr(li,Xi,vn)):er(Xi[pn.options],!0)}};return or(On),{options:On,valueOptions:Xr,labelOptions:li}},[Cn,tt,pn,Zt,vn])},Or=Br;function ci(An){var Cn=oe.useRef();Cn.current=An;var tt=oe.useCallback(function(){return Cn.current.apply(Cn,arguments)},[]);return tt}function Ai(An){var Cn=An.mode,tt=An.options,pn=An.children,Zt=An.backfill,vn=An.allowClear,On=An.placeholder,Rr=An.getInputElement,Xr=An.showSearch,li=An.onSearch,nr=An.defaultOpen,or=An.autoFocus,er=An.labelInValue,_r=An.value,Ti=An.inputValue,bi=An.optionLabelProp,Xi=isMultiple(Cn),Er=Xr!==void 0?Xr:Xi||Cn==="combobox",tn=tt||convertChildrenToData(pn);if(warning(Cn!=="tags"||tn.every(function(gr){return!gr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Cn==="tags"||Cn==="combobox"){var $t=tn.some(function(gr){return gr.options?gr.options.some(function(Ir){return typeof("value"in Ir?Ir.value:Ir.key)=="number"}):typeof("value"in gr?gr.value:gr.key)=="number"});warning(!$t,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Cn!=="combobox"||!bi,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Cn==="combobox"||!Zt,"`backfill` only works with `combobox` mode."),warning(Cn==="combobox"||!Rr,"`getInputElement` only work with `combobox` mode."),noteOnce(Cn!=="combobox"||!Rr||!vn||!On,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),li&&!Er&&Cn!=="combobox"&&Cn!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!nr||or,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),_r!=null){var jn=toArray(_r);warning(!er||jn.every(function(gr){return _typeof(gr)==="object"&&("key"in gr||"value"in gr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Xi||Array.isArray(_r),"`value` should be array when `mode` is `multiple` or `tags`")}if(pn){var lr=null;toNodeArray(pn).some(function(gr){if(!React.isValidElement(gr)||!gr.type)return!1;var Ir=gr,Kr=Ir.type;if(Kr.isSelectOption)return!1;if(Kr.isSelectOptGroup){var zr=toNodeArray(gr.props.children).every(function(pi){return!React.isValidElement(pi)||!gr.type||pi.type.isSelectOption?!0:(lr=pi.type,!1)});return!zr}return lr=Kr,!0}),lr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(lr.displayName||lr.name||lr,"`.")),warning(Ti===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function di(An,Cn){if(An){var tt=function pn(Zt){for(var vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,On=0;On<Zt.length;On++){var Rr=Zt[On];if(Rr[Cn==null?void 0:Cn.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!vn&&Array.isArray(Rr[Cn==null?void 0:Cn.options])&&pn(Rr[Cn==null?void 0:Cn.options],!0))break}};tt(An)}}var Pi=null,yi=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],oo=["inputValue"];function Gi(An){return!An||(0,Me.Z)(An)!=="object"}var ar=oe.forwardRef(function(An,Cn){var tt=An.id,pn=An.mode,Zt=An.prefixCls,vn=Zt===void 0?"rc-select":Zt,On=An.backfill,Rr=An.fieldNames,Xr=An.inputValue,li=An.searchValue,nr=An.onSearch,or=An.autoClearSearchValue,er=or===void 0?!0:or,_r=An.onSelect,Ti=An.onDeselect,bi=An.dropdownMatchSelectWidth,Xi=bi===void 0?!0:bi,Er=An.filterOption,tn=An.filterSort,$t=An.optionFilterProp,jn=An.optionLabelProp,lr=An.options,gr=An.optionRender,Ir=An.children,Kr=An.defaultActiveFirstOption,zr=An.menuItemSelectedIcon,pi=An.virtual,Ci=An.direction,xi=An.listHeight,hi=xi===void 0?200:xi,Ii=An.listItemHeight,Di=Ii===void 0?20:Ii,$i=An.labelRender,no=An.value,Hi=An.defaultValue,ai=An.labelInValue,ao=An.onChange,ki=An.maxCount,So=(0,Fe.Z)(An,yi),uo=(0,dr.ZP)(tt),Do=wn(pn),Co=!!(!lr&&Ir),to=oe.useMemo(function(){return Er===void 0&&pn==="combobox"?!1:Er},[Er,pn]),Mo=oe.useMemo(function(){return mt(Rr,Co)},[JSON.stringify(Rr),Co]),Go=(0,fe.Z)("",{value:li!==void 0?li:Xr,postState:function(La){return La||""}}),zo=(0,He.Z)(Go,2),No=zo[0],zi=zo[1],Vt=Or(lr,Ir,Mo,$t,jn),$r=Vt.valueOptions,ui=Vt.labelOptions,Zr=Vt.options,Ri=oe.useCallback(function(fa){var La=ot(fa);return La.map(function(ha){var ga,es,Ya,$a,Kl;if(Gi(ha))ga=ha;else{var su;Ya=ha.key,es=ha.label,ga=(su=ha.value)!==null&&su!==void 0?su:Ya}var Ol=$r.get(ga);if(Ol){var bu;if(es===void 0&&(es=Ol==null?void 0:Ol[jn||Mo.label]),Ya===void 0&&(Ya=(bu=Ol==null?void 0:Ol.key)!==null&&bu!==void 0?bu:ga),$a=Ol==null?void 0:Ol.disabled,Kl=Ol==null?void 0:Ol.title,0)var du}return{label:es,value:ga,key:Ya,disabled:$a,title:Kl}})},[Mo,jn,$r]),ro=(0,fe.Z)(Hi,{value:no}),jr=(0,He.Z)(ro,2),Yr=jr[0],Bi=jr[1],_i=oe.useMemo(function(){var fa,La=Do&&Yr===null?[]:Yr,ha=Ri(La);return pn==="combobox"&&ke((fa=ha[0])===null||fa===void 0?void 0:fa.value)?[]:ha},[Yr,Ri,pn,Do]),Ro=si(_i,$r),ya=(0,He.Z)(Ro,2),$o=ya[0],Ea=ya[1],da=oe.useMemo(function(){if(!pn&&$o.length===1){var fa=$o[0];if(fa.value===null&&(fa.label===null||fa.label===void 0))return[]}return $o.map(function(La){var ha;return(0,qe.Z)((0,qe.Z)({},La),{},{label:(ha=typeof $i=="function"?$i(La):La.label)!==null&&ha!==void 0?ha:La.value})})},[pn,$o,$i]),wa=oe.useMemo(function(){return new Set($o.map(function(fa){return fa.value}))},[$o]);oe.useEffect(function(){if(pn==="combobox"){var fa,La=(fa=$o[0])===null||fa===void 0?void 0:fa.value;zi(We(La)?String(La):"")}},[$o]);var Wr=ci(function(fa,La){var ha=La!=null?La:fa;return(0,Le.Z)((0,Le.Z)({},Mo.value,fa),Mo.label,ha)}),Ji=oe.useMemo(function(){if(pn!=="tags")return Zr;var fa=(0,dt.Z)(Zr),La=function(ga){return $r.has(ga)};return(0,dt.Z)($o).sort(function(ha,ga){return ha.value<ga.value?-1:1}).forEach(function(ha){var ga=ha.value;La(ga)||fa.push(Wr(ga,ha.label))}),fa},[Wr,Zr,$r,$o,pn]),xo=ur(Ji,Mo,No,to,$t),ba=oe.useMemo(function(){return pn!=="tags"||!No||xo.some(function(fa){return fa[$t||"value"]===No})||xo.some(function(fa){return fa[Mo.value]===No})?xo:[Wr(No)].concat((0,dt.Z)(xo))},[Wr,$t,pn,xo,No,Mo]),Xa=function fa(La){var ha=(0,dt.Z)(La).sort(function(ga,es){return tn(ga,es,{searchValue:No})});return ha.map(function(ga){return Array.isArray(ga.options)?(0,qe.Z)((0,qe.Z)({},ga),{},{options:ga.options.length>0?fa(ga.options):ga.options}):ga})},ns=oe.useMemo(function(){return tn?Xa(ba):ba},[ba,tn,No]),Ta=oe.useMemo(function(){return vt(ns,{fieldNames:Mo,childrenAsData:Co})},[ns,Mo,Co]),Za=function(La){var ha=Ri(La);if(Bi(ha),ao&&(ha.length!==$o.length||ha.some(function(Ya,$a){var Kl;return((Kl=$o[$a])===null||Kl===void 0?void 0:Kl.value)!==(Ya==null?void 0:Ya.value)}))){var ga=ai?ha:ha.map(function(Ya){return Ya.value}),es=ha.map(function(Ya){return St(Ea(Ya.value))});ao(Do?ga:ga[0],Do?es:es[0])}},Fo=oe.useState(null),vo=(0,He.Z)(Fo,2),qo=vo[0],ja=vo[1],ls=oe.useState(0),Fs=(0,He.Z)(ls,2),il=Fs[0],tu=Fs[1],Au=Kr!==void 0?Kr:pn!=="combobox",tl=oe.useCallback(function(fa,La){var ha=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ga=ha.source,es=ga===void 0?"keyboard":ga;tu(La),On&&pn==="combobox"&&fa!==null&&es==="keyboard"&&ja(String(fa))},[On,pn]),fl=function(La,ha,ga){var es=function(){var Bo,Wa=Ea(La);return[ai?{label:Wa==null?void 0:Wa[Mo.label],value:La,key:(Bo=Wa==null?void 0:Wa.key)!==null&&Bo!==void 0?Bo:La}:La,St(Wa)]};if(ha&&_r){var Ya=es(),$a=(0,He.Z)(Ya,2),Kl=$a[0],su=$a[1];_r(Kl,su)}else if(!ha&&Ti&&ga!=="clear"){var Ol=es(),bu=(0,He.Z)(Ol,2),du=bu[0],Gu=bu[1];Ti(du,Gu)}},wu=ci(function(fa,La){var ha,ga=Do?La.selected:!0;ga?ha=Do?[].concat((0,dt.Z)($o),[fa]):[fa]:ha=$o.filter(function(es){return es.value!==fa}),Za(ha),fl(fa,ga),pn==="combobox"?ja(""):(!wn||er)&&(zi(""),ja(""))}),Lu=function(La,ha){Za(La);var ga=ha.type,es=ha.values;(ga==="remove"||ga==="clear")&&es.forEach(function(Ya){fl(Ya.value,!1,ga)})},hl=function(La,ha){if(zi(La),ja(null),ha.source==="submit"){var ga=(La||"").trim();if(ga){var es=Array.from(new Set([].concat((0,dt.Z)(wa),[ga])));Za(es),fl(ga,!0),zi("")}return}ha.source!=="blur"&&(pn==="combobox"&&Za(La),nr==null||nr(La))},vc=function(La){var ha=La;pn!=="tags"&&(ha=La.map(function(es){var Ya=ui.get(es);return Ya==null?void 0:Ya.value}).filter(function(es){return es!==void 0}));var ga=Array.from(new Set([].concat((0,dt.Z)(wa),(0,dt.Z)(ha))));Za(ga),ga.forEach(function(es){fl(es,!0)})},Du=oe.useMemo(function(){var fa=pi!==!1&&Xi!==!1;return(0,qe.Z)((0,qe.Z)({},Vt),{},{flattenOptions:Ta,onActiveValue:tl,defaultActiveFirstOption:Au,onSelect:wu,menuItemSelectedIcon:zr,rawValues:wa,fieldNames:Mo,virtual:fa,direction:Ci,listHeight:hi,listItemHeight:Di,childrenAsData:Co,maxCount:ki,optionRender:gr})},[ki,Vt,Ta,tl,Au,wu,zr,wa,Mo,pi,Xi,Ci,hi,Di,Co,gr]);return oe.createElement(xt.Provider,{value:Du},oe.createElement(nn,(0,x.Z)({},So,{id:uo,prefixCls:vn,ref:Cn,omitDomProps:oo,mode:pn,displayValues:da,onDisplayValuesChange:Lu,direction:Ci,searchValue:No,onSearch:hl,autoClearSearchValue:er,onSearchSplit:vc,dropdownMatchSelectWidth:Xi,OptionList:ti,emptyOptions:!Ta.length,activeValue:qo,activeDescendantId:"".concat(uo,"_list_").concat(il)})))}),Dr=ar;Dr.Option=un,Dr.OptGroup=Ln;var gi=Dr,ni=gi},22711:function(Xn,Mt,ae){"use strict";ae.r(Mt),ae.d(Mt,{ResizableTextArea:function(){return ze},default:function(){return Ot}});var x=ae(60499),dt=ae(18642),Le=ae(85899),qe=ae(77654),He=ae(72190),Fe=ae(42244),Me=ae(92310),fe=ae.n(Me),xe=ae(36901),oe=ae(66003),Pe=ae(30292),ye=ae(18929),Re=ae(59301),Se=ae(43749),Ie=ae(29301),ve=ae(34280),we=ae(16089),Ee=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Oe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ke={},je;function _e(ot){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Bt=ot.getAttribute("id")||ot.getAttribute("data-reactid")||ot.getAttribute("name");if(lt&&Ke[Bt])return Ke[Bt];var We=window.getComputedStyle(ot),ke=We.getPropertyValue("box-sizing")||We.getPropertyValue("-moz-box-sizing")||We.getPropertyValue("-webkit-box-sizing"),At=parseFloat(We.getPropertyValue("padding-bottom"))+parseFloat(We.getPropertyValue("padding-top")),Kt=parseFloat(We.getPropertyValue("border-bottom-width"))+parseFloat(We.getPropertyValue("border-top-width")),Ht=Oe.map(function(Pt){return"".concat(Pt,":").concat(We.getPropertyValue(Pt))}).join(";"),nt={sizingStyle:Ht,paddingSize:At,borderSize:Kt,boxSizing:ke};return lt&&Bt&&(Ke[Bt]=nt),nt}function Je(ot){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,We=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;je||(je=document.createElement("textarea"),je.setAttribute("tab-index","-1"),je.setAttribute("aria-hidden","true"),je.setAttribute("name","hiddenTextarea"),document.body.appendChild(je)),ot.getAttribute("wrap")?je.setAttribute("wrap",ot.getAttribute("wrap")):je.removeAttribute("wrap");var ke=_e(ot,lt),At=ke.paddingSize,Kt=ke.borderSize,Ht=ke.boxSizing,nt=ke.sizingStyle;je.setAttribute("style","".concat(nt,";").concat(Ee)),je.value=ot.value||ot.placeholder||"";var Pt=void 0,Rt=void 0,hn,Tt=je.scrollHeight;if(Ht==="border-box"?Tt+=Kt:Ht==="content-box"&&(Tt-=At),Bt!==null||We!==null){je.value=" ";var mn=je.scrollHeight-At;Bt!==null&&(Pt=mn*Bt,Ht==="border-box"&&(Pt=Pt+At+Kt),Tt=Math.max(Pt,Tt)),We!==null&&(Rt=mn*We,Ht==="border-box"&&(Rt=Rt+At+Kt),hn=Tt>Rt?"":"hidden",Tt=Math.min(Rt,Tt))}var kt={height:Tt,overflowY:hn,resize:"none"};return Pt&&(kt.minHeight=Pt),Rt&&(kt.maxHeight=Rt),kt}var Ve=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],st=0,at=1,ht=2,Ct=Re.forwardRef(function(ot,lt){var Bt=ot,We=Bt.prefixCls,ke=Bt.defaultValue,At=Bt.value,Kt=Bt.autoSize,Ht=Bt.onResize,nt=Bt.className,Pt=Bt.style,Rt=Bt.disabled,hn=Bt.onChange,Tt=Bt.onInternalAutoSize,mn=(0,Fe.Z)(Bt,Ve),kt=(0,ye.Z)(ke,{value:At,postState:function(un){return un!=null?un:""}}),Fn=(0,He.Z)(kt,2),an=Fn[0],de=Fn[1],ge=function(un){de(un.target.value),hn==null||hn(un)},ie=Re.useRef();Re.useImperativeHandle(lt,function(){return{textArea:ie.current}});var ee=Re.useMemo(function(){return Kt&&(0,Se.Z)(Kt)==="object"?[Kt.minRows,Kt.maxRows]:[]},[Kt]),se=(0,He.Z)(ee,2),le=se[0],Be=se[1],Ge=!!Kt,ut=function(){try{if(document.activeElement===ie.current){var un=ie.current,Pn=un.selectionStart,Vn=un.selectionEnd,Lt=un.scrollTop;ie.current.setSelectionRange(Pn,Vn),ie.current.scrollTop=Lt}}catch(Gt){}},mt=Re.useState(ht),vt=(0,He.Z)(mt,2),St=vt[0],Dt=vt[1],Qt=Re.useState(),xt=(0,He.Z)(Qt,2),ct=xt[0],Xt=xt[1],Wt=function(){Dt(st)};(0,ve.Z)(function(){Ge&&Wt()},[At,le,Be,Ge]),(0,ve.Z)(function(){if(St===st)Dt(at);else if(St===at){var _t=Je(ie.current,!1,le,Be);Dt(ht),Xt(_t)}else ut()},[St]);var wn=Re.useRef(),ln=function(){we.Z.cancel(wn.current)},nn=function(un){St===ht&&(Ht==null||Ht(un),Kt&&(ln(),wn.current=(0,we.Z)(function(){Wt()})))};Re.useEffect(function(){return ln},[]);var zn=Ge?ct:null,Ln=(0,Le.Z)((0,Le.Z)({},Pt),zn);return(St===st||St===at)&&(Ln.overflowY="hidden",Ln.overflowX="hidden"),Re.createElement(Ie.Z,{onResize:nn,disabled:!(Kt||Ht)},Re.createElement("textarea",(0,x.Z)({},mn,{ref:ie,style:Ln,className:fe()(We,nt,(0,dt.Z)({},"".concat(We,"-disabled"),Rt)),disabled:Rt,value:an,onChange:ge})))}),ze=Ct,pt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Ne=Re.forwardRef(function(ot,lt){var Bt,We=ot.defaultValue,ke=ot.value,At=ot.onFocus,Kt=ot.onBlur,Ht=ot.onChange,nt=ot.allowClear,Pt=ot.maxLength,Rt=ot.onCompositionStart,hn=ot.onCompositionEnd,Tt=ot.suffix,mn=ot.prefixCls,kt=mn===void 0?"rc-textarea":mn,Fn=ot.showCount,an=ot.count,de=ot.className,ge=ot.style,ie=ot.disabled,ee=ot.hidden,se=ot.classNames,le=ot.styles,Be=ot.onResize,Ge=ot.onClear,ut=ot.onPressEnter,mt=ot.readOnly,vt=ot.autoSize,St=ot.onKeyDown,Dt=(0,Fe.Z)(ot,pt),Qt=(0,ye.Z)(We,{value:ke,defaultValue:We}),xt=(0,He.Z)(Qt,2),ct=xt[0],Xt=xt[1],Wt=ct==null?"":String(ct),wn=Re.useState(!1),ln=(0,He.Z)(wn,2),nn=ln[0],zn=ln[1],Ln=Re.useRef(!1),_t=Re.useState(null),un=(0,He.Z)(_t,2),Pn=un[0],Vn=un[1],Lt=(0,Re.useRef)(null),Gt=(0,Re.useRef)(null),sn=function(){var Dr;return(Dr=Gt.current)===null||Dr===void 0?void 0:Dr.textArea},bn=function(){sn().focus()};(0,Re.useImperativeHandle)(lt,function(){var ar;return{resizableTextArea:Gt.current,focus:bn,blur:function(){sn().blur()},nativeElement:((ar=Lt.current)===null||ar===void 0?void 0:ar.nativeElement)||sn()}}),(0,Re.useEffect)(function(){zn(function(ar){return!ie&&ar})},[ie]);var Yn=Re.useState(null),pr=(0,He.Z)(Yn,2),ti=pr[0],si=pr[1];Re.useEffect(function(){if(ti){var ar;(ar=sn()).setSelectionRange.apply(ar,(0,qe.Z)(ti))}},[ti]);var Cr=(0,oe.Z)(an,Fn),ur=(Bt=Cr.max)!==null&&Bt!==void 0?Bt:Pt,dr=Number(ur)>0,yn=Cr.strategy(Wt),$n=!!ur&&yn>ur,rr=function(Dr,gi){var ni=gi;!Ln.current&&Cr.exceedFormatter&&Cr.max&&Cr.strategy(gi)>Cr.max&&(ni=Cr.exceedFormatter(gi,{max:Cr.max}),gi!==ni&&si([sn().selectionStart||0,sn().selectionEnd||0])),Xt(ni),(0,Pe.rJ)(Dr.currentTarget,Dr,Ht,ni)},Zn=function(Dr){Ln.current=!0,Rt==null||Rt(Dr)},br=function(Dr){Ln.current=!1,rr(Dr,Dr.currentTarget.value),hn==null||hn(Dr)},Br=function(Dr){rr(Dr,Dr.target.value)},Or=function(Dr){Dr.key==="Enter"&&ut&&ut(Dr),St==null||St(Dr)},ci=function(Dr){zn(!0),At==null||At(Dr)},Ai=function(Dr){zn(!1),Kt==null||Kt(Dr)},di=function(Dr){Xt(""),bn(),(0,Pe.rJ)(sn(),Dr,Ht)},Pi=Tt,yi;Cr.show&&(Cr.showFormatter?yi=Cr.showFormatter({value:Wt,count:yn,maxLength:ur}):yi="".concat(yn).concat(dr?" / ".concat(ur):""),Pi=Re.createElement(Re.Fragment,null,Pi,Re.createElement("span",{className:fe()("".concat(kt,"-data-count"),se==null?void 0:se.count),style:le==null?void 0:le.count},yi)));var oo=function(Dr){var gi;Be==null||Be(Dr),(gi=sn())!==null&&gi!==void 0&&gi.style.height&&Vn(!0)},Gi=!vt&&!Fn&&!nt;return Re.createElement(xe.BaseInput,{ref:Lt,value:Wt,allowClear:nt,handleReset:di,suffix:Pi,prefixCls:kt,classNames:(0,Le.Z)((0,Le.Z)({},se),{},{affixWrapper:fe()(se==null?void 0:se.affixWrapper,(0,dt.Z)((0,dt.Z)({},"".concat(kt,"-show-count"),Fn),"".concat(kt,"-textarea-allow-clear"),nt))}),disabled:ie,focused:nn,className:fe()(de,$n&&"".concat(kt,"-out-of-range")),style:(0,Le.Z)((0,Le.Z)({},ge),Pn&&!Gi?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof yi=="string"?yi:void 0}},hidden:ee,readOnly:mt,onClear:Ge},Re.createElement(ze,(0,x.Z)({},Dt,{autoSize:vt,maxLength:Pt,onKeyDown:Or,onChange:Br,onFocus:ci,onBlur:Ai,onCompositionStart:Zn,onCompositionEnd:br,className:fe()(se==null?void 0:se.textarea),style:(0,Le.Z)((0,Le.Z)({},le==null?void 0:le.textarea),{},{resize:ge==null?void 0:ge.resize}),disabled:ie,prefixCls:kt,onResize:oo,ref:Gt,readOnly:mt})))}),Qe=Ne,Ot=Qe},639:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return Ke}});var x=ae(60499),dt=ae(18642),Le=ae(85899),qe=ae(72190),He=ae(42244),Fe=ae(59301),Me=ae(92310),fe=ae.n(Me),xe=ae(26112),oe=ae(30699),Pe=function(_e){for(var Je=_e.prefixCls,Ve=_e.level,st=_e.isStart,at=_e.isEnd,ht="".concat(Je,"-indent-unit"),Ct=[],ze=0;ze<Ve;ze+=1)Ct.push(Fe.createElement("span",{key:ze,className:fe()(ht,(0,dt.Z)((0,dt.Z)({},"".concat(ht,"-start"),st[ze]),"".concat(ht,"-end"),at[ze]))}));return Fe.createElement("span",{"aria-hidden":"true",className:"".concat(Je,"-indent")},Ct)},ye=Fe.memo(Pe),Re=ae(65065),Se=ae(34061),Ie=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ve="open",we="close",Ee="---",Oe=function(_e){var Je,Ve,st,at=_e.eventKey,ht=_e.className,Ct=_e.style,ze=_e.dragOver,pt=_e.dragOverGapTop,Ne=_e.dragOverGapBottom,Qe=_e.isLeaf,Ot=_e.isStart,ot=_e.isEnd,lt=_e.expanded,Bt=_e.selected,We=_e.checked,ke=_e.halfChecked,At=_e.loading,Kt=_e.domRef,Ht=_e.active,nt=_e.data,Pt=_e.onMouseMove,Rt=_e.selectable,hn=(0,He.Z)(_e,Ie),Tt=Fe.useContext(oe.k),mn=Fe.useContext(oe.y),kt=Fe.useRef(null),Fn=Fe.useState(!1),an=(0,qe.Z)(Fn,2),de=an[0],ge=an[1],ie=!!(Tt.disabled||_e.disabled||(Je=mn.nodeDisabled)!==null&&Je!==void 0&&Je.call(mn,nt)),ee=Fe.useMemo(function(){return!Tt.checkable||_e.checkable===!1?!1:Tt.checkable},[Tt.checkable,_e.checkable]),se=function(yn){ie||Tt.onNodeSelect(yn,(0,Se.F)(_e))},le=function(yn){ie||!ee||_e.disableCheckbox||Tt.onNodeCheck(yn,(0,Se.F)(_e),!We)},Be=Fe.useMemo(function(){return typeof Rt=="boolean"?Rt:Tt.selectable},[Rt,Tt.selectable]),Ge=function(yn){Tt.onNodeClick(yn,(0,Se.F)(_e)),Be?se(yn):le(yn)},ut=function(yn){Tt.onNodeDoubleClick(yn,(0,Se.F)(_e))},mt=function(yn){Tt.onNodeMouseEnter(yn,(0,Se.F)(_e))},vt=function(yn){Tt.onNodeMouseLeave(yn,(0,Se.F)(_e))},St=function(yn){Tt.onNodeContextMenu(yn,(0,Se.F)(_e))},Dt=Fe.useMemo(function(){return!!(Tt.draggable&&(!Tt.draggable.nodeDraggable||Tt.draggable.nodeDraggable(nt)))},[Tt.draggable,nt]),Qt=function(yn){yn.stopPropagation(),ge(!0),Tt.onNodeDragStart(yn,_e);try{yn.dataTransfer.setData("text/plain","")}catch($n){}},xt=function(yn){yn.preventDefault(),yn.stopPropagation(),Tt.onNodeDragEnter(yn,_e)},ct=function(yn){yn.preventDefault(),yn.stopPropagation(),Tt.onNodeDragOver(yn,_e)},Xt=function(yn){yn.stopPropagation(),Tt.onNodeDragLeave(yn,_e)},Wt=function(yn){yn.stopPropagation(),ge(!1),Tt.onNodeDragEnd(yn,_e)},wn=function(yn){yn.preventDefault(),yn.stopPropagation(),ge(!1),Tt.onNodeDrop(yn,_e)},ln=function(yn){At||Tt.onNodeExpand(yn,(0,Se.F)(_e))},nn=Fe.useMemo(function(){var dr=(0,Re.Z)(Tt.keyEntities,at)||{},yn=dr.children;return!!(yn||[]).length},[Tt.keyEntities,at]),zn=Fe.useMemo(function(){return Qe===!1?!1:Qe||!Tt.loadData&&!nn||Tt.loadData&&_e.loaded&&!nn},[Qe,Tt.loadData,nn,_e.loaded]);Fe.useEffect(function(){At||typeof Tt.loadData=="function"&&lt&&!zn&&!_e.loaded&&Tt.onNodeLoad((0,Se.F)(_e))},[At,Tt.loadData,Tt.onNodeLoad,lt,zn,_e]);var Ln=Fe.useMemo(function(){var dr;return(dr=Tt.draggable)!==null&&dr!==void 0&&dr.icon?Fe.createElement("span",{className:"".concat(Tt.prefixCls,"-draggable-icon")},Tt.draggable.icon):null},[Tt.draggable]),_t=function(yn){var $n=_e.switcherIcon||Tt.switcherIcon;return typeof $n=="function"?$n((0,Le.Z)((0,Le.Z)({},_e),{},{isLeaf:yn})):$n},un=function(){if(zn){var yn=_t(!0);return yn!==!1?Fe.createElement("span",{className:fe()("".concat(Tt.prefixCls,"-switcher"),"".concat(Tt.prefixCls,"-switcher-noop"))},yn):null}var $n=_t(!1);return $n!==!1?Fe.createElement("span",{onClick:ln,className:fe()("".concat(Tt.prefixCls,"-switcher"),"".concat(Tt.prefixCls,"-switcher_").concat(lt?ve:we))},$n):null},Pn=Fe.useMemo(function(){if(!ee)return null;var dr=typeof ee!="boolean"?ee:null;return Fe.createElement("span",{className:fe()("".concat(Tt.prefixCls,"-checkbox"),(0,dt.Z)((0,dt.Z)((0,dt.Z)({},"".concat(Tt.prefixCls,"-checkbox-checked"),We),"".concat(Tt.prefixCls,"-checkbox-indeterminate"),!We&&ke),"".concat(Tt.prefixCls,"-checkbox-disabled"),ie||_e.disableCheckbox)),onClick:le,role:"checkbox","aria-checked":ke?"mixed":We,"aria-disabled":ie||_e.disableCheckbox,"aria-label":"Select ".concat(typeof _e.title=="string"?_e.title:"tree node")},dr)},[ee,We,ke,ie,_e.disableCheckbox,_e.title]),Vn=Fe.useMemo(function(){return zn?null:lt?ve:we},[zn,lt]),Lt=Fe.useMemo(function(){return Fe.createElement("span",{className:fe()("".concat(Tt.prefixCls,"-iconEle"),"".concat(Tt.prefixCls,"-icon__").concat(Vn||"docu"),(0,dt.Z)({},"".concat(Tt.prefixCls,"-icon_loading"),At))})},[Tt.prefixCls,Vn,At]),Gt=Fe.useMemo(function(){var dr=!!Tt.draggable,yn=!_e.disabled&&dr&&Tt.dragOverNodeKey===at;return yn?Tt.dropIndicatorRender({dropPosition:Tt.dropPosition,dropLevelOffset:Tt.dropLevelOffset,indent:Tt.indent,prefixCls:Tt.prefixCls,direction:Tt.direction}):null},[Tt.dropPosition,Tt.dropLevelOffset,Tt.indent,Tt.prefixCls,Tt.direction,Tt.draggable,Tt.dragOverNodeKey,Tt.dropIndicatorRender]),sn=Fe.useMemo(function(){var dr=_e.title,yn=dr===void 0?Ee:dr,$n="".concat(Tt.prefixCls,"-node-content-wrapper"),rr;if(Tt.showIcon){var Zn=_e.icon||Tt.icon;rr=Zn?Fe.createElement("span",{className:fe()("".concat(Tt.prefixCls,"-iconEle"),"".concat(Tt.prefixCls,"-icon__customize"))},typeof Zn=="function"?Zn(_e):Zn):Lt}else Tt.loadData&&At&&(rr=Lt);var br;return typeof yn=="function"?br=yn(nt):Tt.titleRender?br=Tt.titleRender(nt):br=yn,Fe.createElement("span",{ref:kt,title:typeof yn=="string"?yn:"",className:fe()($n,"".concat($n,"-").concat(Vn||"normal"),(0,dt.Z)({},"".concat(Tt.prefixCls,"-node-selected"),!ie&&(Bt||de))),onMouseEnter:mt,onMouseLeave:vt,onContextMenu:St,onClick:Ge,onDoubleClick:ut},rr,Fe.createElement("span",{className:"".concat(Tt.prefixCls,"-title")},br),Gt)},[Tt.prefixCls,Tt.showIcon,_e,Tt.icon,Lt,Tt.titleRender,nt,Vn,mt,vt,St,Ge,ut]),bn=(0,xe.Z)(hn,{aria:!0,data:!0}),Yn=(0,Re.Z)(Tt.keyEntities,at)||{},pr=Yn.level,ti=ot[ot.length-1],si=!ie&&Dt,Cr=Tt.draggingNodeKey===at,ur=Rt!==void 0?{"aria-selected":!!Rt}:void 0;return Fe.createElement("div",(0,x.Z)({ref:Kt,role:"treeitem","aria-expanded":Qe?void 0:lt,className:fe()(ht,"".concat(Tt.prefixCls,"-treenode"),(st={},(0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)(st,"".concat(Tt.prefixCls,"-treenode-disabled"),ie),"".concat(Tt.prefixCls,"-treenode-switcher-").concat(lt?"open":"close"),!Qe),"".concat(Tt.prefixCls,"-treenode-checkbox-checked"),We),"".concat(Tt.prefixCls,"-treenode-checkbox-indeterminate"),ke),"".concat(Tt.prefixCls,"-treenode-selected"),Bt),"".concat(Tt.prefixCls,"-treenode-loading"),At),"".concat(Tt.prefixCls,"-treenode-active"),Ht),"".concat(Tt.prefixCls,"-treenode-leaf-last"),ti),"".concat(Tt.prefixCls,"-treenode-draggable"),Dt),"dragging",Cr),(0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)((0,dt.Z)(st,"drop-target",Tt.dropTargetKey===at),"drop-container",Tt.dropContainerKey===at),"drag-over",!ie&&ze),"drag-over-gap-top",!ie&&pt),"drag-over-gap-bottom",!ie&&Ne),"filter-node",(Ve=Tt.filterTreeNode)===null||Ve===void 0?void 0:Ve.call(Tt,(0,Se.F)(_e))),"".concat(Tt.prefixCls,"-treenode-leaf"),zn))),style:Ct,draggable:si,onDragStart:si?Qt:void 0,onDragEnter:Dt?xt:void 0,onDragOver:Dt?ct:void 0,onDragLeave:Dt?Xt:void 0,onDrop:Dt?wn:void 0,onDragEnd:Dt?Wt:void 0,onMouseMove:Pt},ur,bn),Fe.createElement(ye,{prefixCls:Tt.prefixCls,level:pr,isStart:Ot,isEnd:ot}),Ln,un(),Pn,sn)};Oe.isTreeNode=1;var Ke=Oe},30699:function(Xn,Mt,ae){"use strict";ae.d(Mt,{k:function(){return dt},y:function(){return Le}});var x=ae(59301),dt=x.createContext(null),Le=x.createContext({})},87632:function(Xn,Mt,ae){"use strict";ae.d(Mt,{OF:function(){return at.Z},y6:function(){return we.y},ZP:function(){return ie}});var x=ae(60499),dt=ae(43749),Le=ae(85899),qe=ae(77654),He=ae(38705),Fe=ae(17212),Me=ae(15793),fe=ae(39153),xe=ae(55401),oe=ae(18642),Pe=ae(92310),ye=ae.n(Pe),Re=ae(10228),Se=ae(26112),Ie=ae(48736),ve=ae(59301),we=ae(30699),Ee=function(se){var le=se.dropPosition,Be=se.dropLevelOffset,Ge=se.indent,ut={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(le){case-1:ut.top=0,ut.left=-Be*Ge;break;case 1:ut.bottom=0,ut.left=-Be*Ge;break;case 0:ut.bottom=0,ut.left=Ge;break}return ve.createElement("div",{style:ut})},Oe=Ee;function Ke(ee){if(ee==null)throw new TypeError("Cannot destructure "+ee)}var je=ae(72190),_e=ae(42244),Je=ae(34280),Ve=ae(48911),st=ae(77900),at=ae(639);function ht(ee,se){var le=ve.useState(!1),Be=(0,je.Z)(le,2),Ge=Be[0],ut=Be[1];(0,Je.Z)(function(){if(Ge)return ee(),function(){se()}},[Ge]),(0,Je.Z)(function(){return ut(!0),function(){ut(!1)}},[])}var Ct=ht,ze=ae(34061),pt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ne=ve.forwardRef(function(ee,se){var le=ee.className,Be=ee.style,Ge=ee.motion,ut=ee.motionNodes,mt=ee.motionType,vt=ee.onMotionStart,St=ee.onMotionEnd,Dt=ee.active,Qt=ee.treeNodeRequiredProps,xt=(0,_e.Z)(ee,pt),ct=ve.useState(!0),Xt=(0,je.Z)(ct,2),Wt=Xt[0],wn=Xt[1],ln=ve.useContext(we.k),nn=ln.prefixCls,zn=ut&&mt!=="hide";(0,Je.Z)(function(){ut&&zn!==Wt&&wn(zn)},[ut]);var Ln=function(){ut&&vt()},_t=ve.useRef(!1),un=function(){ut&&!_t.current&&(_t.current=!0,St())};Ct(Ln,un);var Pn=function(Lt){zn===Lt&&un()};return ut?ve.createElement(st.default,(0,x.Z)({ref:se,visible:Wt},Ge,{motionAppear:mt==="show",onVisibleChanged:Pn}),function(Vn,Lt){var Gt=Vn.className,sn=Vn.style;return ve.createElement("div",{ref:Lt,className:ye()("".concat(nn,"-treenode-motion"),Gt),style:sn},ut.map(function(bn){var Yn=Object.assign({},(Ke(bn.data),bn.data)),pr=bn.title,ti=bn.key,si=bn.isStart,Cr=bn.isEnd;delete Yn.children;var ur=(0,ze.H8)(ti,Qt);return ve.createElement(at.Z,(0,x.Z)({},Yn,ur,{title:pr,active:Dt,data:bn.data,key:ti,isStart:si,isEnd:Cr}))}))}):ve.createElement(at.Z,(0,x.Z)({domRef:se,className:le,style:Be},xt,{active:Dt}))}),Qe=Ne;function Ot(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=ee.length,Be=se.length;if(Math.abs(le-Be)!==1)return{add:!1,key:null};function Ge(ut,mt){var vt=new Map;ut.forEach(function(Dt){vt.set(Dt,!0)});var St=mt.filter(function(Dt){return!vt.has(Dt)});return St.length===1?St[0]:null}return le<Be?{add:!0,key:Ge(ee,se)}:{add:!1,key:Ge(se,ee)}}function ot(ee,se,le){var Be=ee.findIndex(function(vt){return vt.key===le}),Ge=ee[Be+1],ut=se.findIndex(function(vt){return vt.key===le});if(Ge){var mt=se.findIndex(function(vt){return vt.key===Ge.key});return se.slice(ut+1,mt)}return se.slice(ut+1)}var lt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Bt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},We=function(){},ke="RC_TREE_MOTION_".concat(Math.random()),At={key:ke},Kt={key:ke,level:0,index:0,pos:"0",node:At,nodes:[At]},Ht={parent:null,children:[],pos:Kt.pos,data:At,title:null,key:ke,isStart:[],isEnd:[]};function nt(ee,se,le,Be){return se===!1||!le?ee:ee.slice(0,Math.ceil(le/Be)+1)}function Pt(ee){var se=ee.key,le=ee.pos;return(0,ze.km)(se,le)}function Rt(ee){for(var se=String(ee.data.key),le=ee;le.parent;)le=le.parent,se="".concat(le.data.key," > ").concat(se);return se}var hn=ve.forwardRef(function(ee,se){var le=ee.prefixCls,Be=ee.data,Ge=ee.selectable,ut=ee.checkable,mt=ee.expandedKeys,vt=ee.selectedKeys,St=ee.checkedKeys,Dt=ee.loadedKeys,Qt=ee.loadingKeys,xt=ee.halfCheckedKeys,ct=ee.keyEntities,Xt=ee.disabled,Wt=ee.dragging,wn=ee.dragOverNodeKey,ln=ee.dropPosition,nn=ee.motion,zn=ee.height,Ln=ee.itemHeight,_t=ee.virtual,un=ee.scrollWidth,Pn=ee.focusable,Vn=ee.activeItem,Lt=ee.focused,Gt=ee.tabIndex,sn=ee.onKeyDown,bn=ee.onFocus,Yn=ee.onBlur,pr=ee.onActiveChange,ti=ee.onListChangeStart,si=ee.onListChangeEnd,Cr=(0,_e.Z)(ee,lt),ur=ve.useRef(null),dr=ve.useRef(null);ve.useImperativeHandle(se,function(){return{scrollTo:function(Rr){ur.current.scrollTo(Rr)},getIndentWidth:function(){return dr.current.offsetWidth}}});var yn=ve.useState(mt),$n=(0,je.Z)(yn,2),rr=$n[0],Zn=$n[1],br=ve.useState(Be),Br=(0,je.Z)(br,2),Or=Br[0],ci=Br[1],Ai=ve.useState(Be),di=(0,je.Z)(Ai,2),Pi=di[0],yi=di[1],oo=ve.useState([]),Gi=(0,je.Z)(oo,2),ar=Gi[0],Dr=Gi[1],gi=ve.useState(null),ni=(0,je.Z)(gi,2),An=ni[0],Cn=ni[1],tt=ve.useRef(Be);tt.current=Be;function pn(){var On=tt.current;ci(On),yi(On),Dr([]),Cn(null),si()}(0,Je.Z)(function(){Zn(mt);var On=Ot(rr,mt);if(On.key!==null)if(On.add){var Rr=Or.findIndex(function(_r){var Ti=_r.key;return Ti===On.key}),Xr=nt(ot(Or,Be,On.key),_t,zn,Ln),li=Or.slice();li.splice(Rr+1,0,Ht),yi(li),Dr(Xr),Cn("show")}else{var nr=Be.findIndex(function(_r){var Ti=_r.key;return Ti===On.key}),or=nt(ot(Be,Or,On.key),_t,zn,Ln),er=Be.slice();er.splice(nr+1,0,Ht),yi(er),Dr(or),Cn("hide")}else Or!==Be&&(ci(Be),yi(Be))},[mt,Be]),ve.useEffect(function(){Wt||pn()},[Wt]);var Zt=nn?Pi:Be,vn={expandedKeys:mt,selectedKeys:vt,loadedKeys:Dt,loadingKeys:Qt,checkedKeys:St,halfCheckedKeys:xt,dragOverNodeKey:wn,dropPosition:ln,keyEntities:ct};return ve.createElement(ve.Fragment,null,Lt&&Vn&&ve.createElement("span",{style:Bt,"aria-live":"assertive"},Rt(Vn)),ve.createElement("div",null,ve.createElement("input",{style:Bt,disabled:Pn===!1||Xt,tabIndex:Pn!==!1?Gt:null,onKeyDown:sn,onFocus:bn,onBlur:Yn,value:"",onChange:We,"aria-label":"for screen reader"})),ve.createElement("div",{className:"".concat(le,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ve.createElement("div",{className:"".concat(le,"-indent")},ve.createElement("div",{ref:dr,className:"".concat(le,"-indent-unit")}))),ve.createElement(Ve.Z,(0,x.Z)({},Cr,{data:Zt,itemKey:Pt,height:zn,fullHeight:!1,virtual:_t,itemHeight:Ln,scrollWidth:un,prefixCls:"".concat(le,"-list"),ref:ur,role:"tree",onVisibleChange:function(Rr){Rr.every(function(Xr){return Pt(Xr)!==ke})&&pn()}}),function(On){var Rr=On.pos,Xr=Object.assign({},(Ke(On.data),On.data)),li=On.title,nr=On.key,or=On.isStart,er=On.isEnd,_r=(0,ze.km)(nr,Rr);delete Xr.key,delete Xr.children;var Ti=(0,ze.H8)(_r,vn);return ve.createElement(Qe,(0,x.Z)({},Xr,Ti,{title:li,active:!!Vn&&nr===Vn.key,pos:Rr,data:On.data,isStart:or,isEnd:er,motion:nn,motionNodes:nr===ke?ar:null,motionType:An,onMotionStart:ti,onMotionEnd:pn,treeNodeRequiredProps:vn,onMouseMove:function(){pr(null)}}))}))}),Tt=hn,mn=ae(82661),kt=ae(34643),Fn=ae(65065),an=10,de=function(ee){(0,fe.Z)(le,ee);var se=(0,xe.Z)(le);function le(){var Be;(0,He.Z)(this,le);for(var Ge=arguments.length,ut=new Array(Ge),mt=0;mt<Ge;mt++)ut[mt]=arguments[mt];return Be=se.call.apply(se,[this].concat(ut)),(0,oe.Z)((0,Me.Z)(Be),"destroyed",!1),(0,oe.Z)((0,Me.Z)(Be),"delayedDragEnterLogic",void 0),(0,oe.Z)((0,Me.Z)(Be),"loadingRetryTimes",{}),(0,oe.Z)((0,Me.Z)(Be),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,ze.w$)()}),(0,oe.Z)((0,Me.Z)(Be),"dragStartMousePosition",null),(0,oe.Z)((0,Me.Z)(Be),"dragNodeProps",null),(0,oe.Z)((0,Me.Z)(Be),"currentMouseOverDroppableNodeKey",null),(0,oe.Z)((0,Me.Z)(Be),"listRef",ve.createRef()),(0,oe.Z)((0,Me.Z)(Be),"onNodeDragStart",function(vt,St){var Dt=Be.state,Qt=Dt.expandedKeys,xt=Dt.keyEntities,ct=Be.props.onDragStart,Xt=St.eventKey;Be.dragNodeProps=St,Be.dragStartMousePosition={x:vt.clientX,y:vt.clientY};var Wt=(0,mn._5)(Qt,Xt);Be.setState({draggingNodeKey:Xt,dragChildrenKeys:(0,mn.wA)(Xt,xt),indent:Be.listRef.current.getIndentWidth()}),Be.setExpandedKeys(Wt),window.addEventListener("dragend",Be.onWindowDragEnd),ct==null||ct({event:vt,node:(0,ze.F)(St)})}),(0,oe.Z)((0,Me.Z)(Be),"onNodeDragEnter",function(vt,St){var Dt=Be.state,Qt=Dt.expandedKeys,xt=Dt.keyEntities,ct=Dt.dragChildrenKeys,Xt=Dt.flattenNodes,Wt=Dt.indent,wn=Be.props,ln=wn.onDragEnter,nn=wn.onExpand,zn=wn.allowDrop,Ln=wn.direction,_t=St.pos,un=St.eventKey;if(Be.currentMouseOverDroppableNodeKey!==un&&(Be.currentMouseOverDroppableNodeKey=un),!Be.dragNodeProps){Be.resetDragState();return}var Pn=(0,mn.OM)(vt,Be.dragNodeProps,St,Wt,Be.dragStartMousePosition,zn,Xt,xt,Qt,Ln),Vn=Pn.dropPosition,Lt=Pn.dropLevelOffset,Gt=Pn.dropTargetKey,sn=Pn.dropContainerKey,bn=Pn.dropTargetPos,Yn=Pn.dropAllowed,pr=Pn.dragOverNodeKey;if(ct.includes(Gt)||!Yn){Be.resetDragState();return}if(Be.delayedDragEnterLogic||(Be.delayedDragEnterLogic={}),Object.keys(Be.delayedDragEnterLogic).forEach(function(ti){clearTimeout(Be.delayedDragEnterLogic[ti])}),Be.dragNodeProps.eventKey!==St.eventKey&&(vt.persist(),Be.delayedDragEnterLogic[_t]=window.setTimeout(function(){if(Be.state.draggingNodeKey!==null){var ti=(0,qe.Z)(Qt),si=(0,Fn.Z)(xt,St.eventKey);si&&(si.children||[]).length&&(ti=(0,mn.L0)(Qt,St.eventKey)),Be.props.hasOwnProperty("expandedKeys")||Be.setExpandedKeys(ti),nn==null||nn(ti,{node:(0,ze.F)(St),expanded:!0,nativeEvent:vt.nativeEvent})}},800)),Be.dragNodeProps.eventKey===Gt&&Lt===0){Be.resetDragState();return}Be.setState({dragOverNodeKey:pr,dropPosition:Vn,dropLevelOffset:Lt,dropTargetKey:Gt,dropContainerKey:sn,dropTargetPos:bn,dropAllowed:Yn}),ln==null||ln({event:vt,node:(0,ze.F)(St),expandedKeys:Qt})}),(0,oe.Z)((0,Me.Z)(Be),"onNodeDragOver",function(vt,St){var Dt=Be.state,Qt=Dt.dragChildrenKeys,xt=Dt.flattenNodes,ct=Dt.keyEntities,Xt=Dt.expandedKeys,Wt=Dt.indent,wn=Be.props,ln=wn.onDragOver,nn=wn.allowDrop,zn=wn.direction;if(Be.dragNodeProps){var Ln=(0,mn.OM)(vt,Be.dragNodeProps,St,Wt,Be.dragStartMousePosition,nn,xt,ct,Xt,zn),_t=Ln.dropPosition,un=Ln.dropLevelOffset,Pn=Ln.dropTargetKey,Vn=Ln.dropContainerKey,Lt=Ln.dropTargetPos,Gt=Ln.dropAllowed,sn=Ln.dragOverNodeKey;Qt.includes(Pn)||!Gt||(Be.dragNodeProps.eventKey===Pn&&un===0?Be.state.dropPosition===null&&Be.state.dropLevelOffset===null&&Be.state.dropTargetKey===null&&Be.state.dropContainerKey===null&&Be.state.dropTargetPos===null&&Be.state.dropAllowed===!1&&Be.state.dragOverNodeKey===null||Be.resetDragState():_t===Be.state.dropPosition&&un===Be.state.dropLevelOffset&&Pn===Be.state.dropTargetKey&&Vn===Be.state.dropContainerKey&&Lt===Be.state.dropTargetPos&&Gt===Be.state.dropAllowed&&sn===Be.state.dragOverNodeKey||Be.setState({dropPosition:_t,dropLevelOffset:un,dropTargetKey:Pn,dropContainerKey:Vn,dropTargetPos:Lt,dropAllowed:Gt,dragOverNodeKey:sn}),ln==null||ln({event:vt,node:(0,ze.F)(St)}))}}),(0,oe.Z)((0,Me.Z)(Be),"onNodeDragLeave",function(vt,St){Be.currentMouseOverDroppableNodeKey===St.eventKey&&!vt.currentTarget.contains(vt.relatedTarget)&&(Be.resetDragState(),Be.currentMouseOverDroppableNodeKey=null);var Dt=Be.props.onDragLeave;Dt==null||Dt({event:vt,node:(0,ze.F)(St)})}),(0,oe.Z)((0,Me.Z)(Be),"onWindowDragEnd",function(vt){Be.onNodeDragEnd(vt,null,!0),window.removeEventListener("dragend",Be.onWindowDragEnd)}),(0,oe.Z)((0,Me.Z)(Be),"onNodeDragEnd",function(vt,St){var Dt=Be.props.onDragEnd;Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),Dt==null||Dt({event:vt,node:(0,ze.F)(St)}),Be.dragNodeProps=null,window.removeEventListener("dragend",Be.onWindowDragEnd)}),(0,oe.Z)((0,Me.Z)(Be),"onNodeDrop",function(vt,St){var Dt,Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,xt=Be.state,ct=xt.dragChildrenKeys,Xt=xt.dropPosition,Wt=xt.dropTargetKey,wn=xt.dropTargetPos,ln=xt.dropAllowed;if(ln){var nn=Be.props.onDrop;if(Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),Wt!==null){var zn=(0,Le.Z)((0,Le.Z)({},(0,ze.H8)(Wt,Be.getTreeNodeRequiredProps())),{},{active:((Dt=Be.getActiveItem())===null||Dt===void 0?void 0:Dt.key)===Wt,data:(0,Fn.Z)(Be.state.keyEntities,Wt).node}),Ln=ct.includes(Wt);(0,Ie.ZP)(!Ln,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var _t=(0,mn.yx)(wn),un={event:vt,node:(0,ze.F)(zn),dragNode:Be.dragNodeProps?(0,ze.F)(Be.dragNodeProps):null,dragNodesKeys:[Be.dragNodeProps.eventKey].concat(ct),dropToGap:Xt!==0,dropPosition:Xt+Number(_t[_t.length-1])};Qt||nn==null||nn(un),Be.dragNodeProps=null}}}),(0,oe.Z)((0,Me.Z)(Be),"cleanDragState",function(){var vt=Be.state.draggingNodeKey;vt!==null&&Be.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Be.dragStartMousePosition=null,Be.currentMouseOverDroppableNodeKey=null}),(0,oe.Z)((0,Me.Z)(Be),"triggerExpandActionExpand",function(vt,St){var Dt=Be.state,Qt=Dt.expandedKeys,xt=Dt.flattenNodes,ct=St.expanded,Xt=St.key,Wt=St.isLeaf;if(!(Wt||vt.shiftKey||vt.metaKey||vt.ctrlKey)){var wn=xt.filter(function(nn){return nn.key===Xt})[0],ln=(0,ze.F)((0,Le.Z)((0,Le.Z)({},(0,ze.H8)(Xt,Be.getTreeNodeRequiredProps())),{},{data:wn.data}));Be.setExpandedKeys(ct?(0,mn._5)(Qt,Xt):(0,mn.L0)(Qt,Xt)),Be.onNodeExpand(vt,ln)}}),(0,oe.Z)((0,Me.Z)(Be),"onNodeClick",function(vt,St){var Dt=Be.props,Qt=Dt.onClick,xt=Dt.expandAction;xt==="click"&&Be.triggerExpandActionExpand(vt,St),Qt==null||Qt(vt,St)}),(0,oe.Z)((0,Me.Z)(Be),"onNodeDoubleClick",function(vt,St){var Dt=Be.props,Qt=Dt.onDoubleClick,xt=Dt.expandAction;xt==="doubleClick"&&Be.triggerExpandActionExpand(vt,St),Qt==null||Qt(vt,St)}),(0,oe.Z)((0,Me.Z)(Be),"onNodeSelect",function(vt,St){var Dt=Be.state.selectedKeys,Qt=Be.state,xt=Qt.keyEntities,ct=Qt.fieldNames,Xt=Be.props,Wt=Xt.onSelect,wn=Xt.multiple,ln=St.selected,nn=St[ct.key],zn=!ln;zn?wn?Dt=(0,mn.L0)(Dt,nn):Dt=[nn]:Dt=(0,mn._5)(Dt,nn);var Ln=Dt.map(function(_t){var un=(0,Fn.Z)(xt,_t);return un?un.node:null}).filter(Boolean);Be.setUncontrolledState({selectedKeys:Dt}),Wt==null||Wt(Dt,{event:"select",selected:zn,node:St,selectedNodes:Ln,nativeEvent:vt.nativeEvent})}),(0,oe.Z)((0,Me.Z)(Be),"onNodeCheck",function(vt,St,Dt){var Qt=Be.state,xt=Qt.keyEntities,ct=Qt.checkedKeys,Xt=Qt.halfCheckedKeys,Wt=Be.props,wn=Wt.checkStrictly,ln=Wt.onCheck,nn=St.key,zn,Ln={event:"check",node:St,checked:Dt,nativeEvent:vt.nativeEvent};if(wn){var _t=Dt?(0,mn.L0)(ct,nn):(0,mn._5)(ct,nn),un=(0,mn._5)(Xt,nn);zn={checked:_t,halfChecked:un},Ln.checkedNodes=_t.map(function(bn){return(0,Fn.Z)(xt,bn)}).filter(Boolean).map(function(bn){return bn.node}),Be.setUncontrolledState({checkedKeys:_t})}else{var Pn=(0,kt.S)([].concat((0,qe.Z)(ct),[nn]),!0,xt),Vn=Pn.checkedKeys,Lt=Pn.halfCheckedKeys;if(!Dt){var Gt=new Set(Vn);Gt.delete(nn);var sn=(0,kt.S)(Array.from(Gt),{checked:!1,halfCheckedKeys:Lt},xt);Vn=sn.checkedKeys,Lt=sn.halfCheckedKeys}zn=Vn,Ln.checkedNodes=[],Ln.checkedNodesPositions=[],Ln.halfCheckedKeys=Lt,Vn.forEach(function(bn){var Yn=(0,Fn.Z)(xt,bn);if(Yn){var pr=Yn.node,ti=Yn.pos;Ln.checkedNodes.push(pr),Ln.checkedNodesPositions.push({node:pr,pos:ti})}}),Be.setUncontrolledState({checkedKeys:Vn},!1,{halfCheckedKeys:Lt})}ln==null||ln(zn,Ln)}),(0,oe.Z)((0,Me.Z)(Be),"onNodeLoad",function(vt){var St,Dt=vt.key,Qt=Be.state.keyEntities,xt=(0,Fn.Z)(Qt,Dt);if(!(xt!=null&&(St=xt.children)!==null&&St!==void 0&&St.length)){var ct=new Promise(function(Xt,Wt){Be.setState(function(wn){var ln=wn.loadedKeys,nn=ln===void 0?[]:ln,zn=wn.loadingKeys,Ln=zn===void 0?[]:zn,_t=Be.props,un=_t.loadData,Pn=_t.onLoad;if(!un||nn.includes(Dt)||Ln.includes(Dt))return null;var Vn=un(vt);return Vn.then(function(){var Lt=Be.state.loadedKeys,Gt=(0,mn.L0)(Lt,Dt);Pn==null||Pn(Gt,{event:"load",node:vt}),Be.setUncontrolledState({loadedKeys:Gt}),Be.setState(function(sn){return{loadingKeys:(0,mn._5)(sn.loadingKeys,Dt)}}),Xt()}).catch(function(Lt){if(Be.setState(function(sn){return{loadingKeys:(0,mn._5)(sn.loadingKeys,Dt)}}),Be.loadingRetryTimes[Dt]=(Be.loadingRetryTimes[Dt]||0)+1,Be.loadingRetryTimes[Dt]>=an){var Gt=Be.state.loadedKeys;(0,Ie.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Be.setUncontrolledState({loadedKeys:(0,mn.L0)(Gt,Dt)}),Xt()}Wt(Lt)}),{loadingKeys:(0,mn.L0)(Ln,Dt)}})});return ct.catch(function(){}),ct}}),(0,oe.Z)((0,Me.Z)(Be),"onNodeMouseEnter",function(vt,St){var Dt=Be.props.onMouseEnter;Dt==null||Dt({event:vt,node:St})}),(0,oe.Z)((0,Me.Z)(Be),"onNodeMouseLeave",function(vt,St){var Dt=Be.props.onMouseLeave;Dt==null||Dt({event:vt,node:St})}),(0,oe.Z)((0,Me.Z)(Be),"onNodeContextMenu",function(vt,St){var Dt=Be.props.onRightClick;Dt&&(vt.preventDefault(),Dt({event:vt,node:St}))}),(0,oe.Z)((0,Me.Z)(Be),"onFocus",function(){var vt=Be.props.onFocus;Be.setState({focused:!0});for(var St=arguments.length,Dt=new Array(St),Qt=0;Qt<St;Qt++)Dt[Qt]=arguments[Qt];vt==null||vt.apply(void 0,Dt)}),(0,oe.Z)((0,Me.Z)(Be),"onBlur",function(){var vt=Be.props.onBlur;Be.setState({focused:!1}),Be.onActiveChange(null);for(var St=arguments.length,Dt=new Array(St),Qt=0;Qt<St;Qt++)Dt[Qt]=arguments[Qt];vt==null||vt.apply(void 0,Dt)}),(0,oe.Z)((0,Me.Z)(Be),"getTreeNodeRequiredProps",function(){var vt=Be.state,St=vt.expandedKeys,Dt=vt.selectedKeys,Qt=vt.loadedKeys,xt=vt.loadingKeys,ct=vt.checkedKeys,Xt=vt.halfCheckedKeys,Wt=vt.dragOverNodeKey,wn=vt.dropPosition,ln=vt.keyEntities;return{expandedKeys:St||[],selectedKeys:Dt||[],loadedKeys:Qt||[],loadingKeys:xt||[],checkedKeys:ct||[],halfCheckedKeys:Xt||[],dragOverNodeKey:Wt,dropPosition:wn,keyEntities:ln}}),(0,oe.Z)((0,Me.Z)(Be),"setExpandedKeys",function(vt){var St=Be.state,Dt=St.treeData,Qt=St.fieldNames,xt=(0,ze.oH)(Dt,vt,Qt);Be.setUncontrolledState({expandedKeys:vt,flattenNodes:xt},!0)}),(0,oe.Z)((0,Me.Z)(Be),"onNodeExpand",function(vt,St){var Dt=Be.state.expandedKeys,Qt=Be.state,xt=Qt.listChanging,ct=Qt.fieldNames,Xt=Be.props,Wt=Xt.onExpand,wn=Xt.loadData,ln=St.expanded,nn=St[ct.key];if(!xt){var zn=Dt.includes(nn),Ln=!ln;if((0,Ie.ZP)(ln&&zn||!ln&&!zn,"Expand state not sync with index check"),Dt=Ln?(0,mn.L0)(Dt,nn):(0,mn._5)(Dt,nn),Be.setExpandedKeys(Dt),Wt==null||Wt(Dt,{node:St,expanded:Ln,nativeEvent:vt.nativeEvent}),Ln&&wn){var _t=Be.onNodeLoad(St);_t&&_t.then(function(){var un=(0,ze.oH)(Be.state.treeData,Dt,ct);Be.setUncontrolledState({flattenNodes:un})}).catch(function(){var un=Be.state.expandedKeys,Pn=(0,mn._5)(un,nn);Be.setExpandedKeys(Pn)})}}}),(0,oe.Z)((0,Me.Z)(Be),"onListChangeStart",function(){Be.setUncontrolledState({listChanging:!0})}),(0,oe.Z)((0,Me.Z)(Be),"onListChangeEnd",function(){setTimeout(function(){Be.setUncontrolledState({listChanging:!1})})}),(0,oe.Z)((0,Me.Z)(Be),"onActiveChange",function(vt){var St=Be.state.activeKey,Dt=Be.props,Qt=Dt.onActiveChange,xt=Dt.itemScrollOffset,ct=xt===void 0?0:xt;St!==vt&&(Be.setState({activeKey:vt}),vt!==null&&Be.scrollTo({key:vt,offset:ct}),Qt==null||Qt(vt))}),(0,oe.Z)((0,Me.Z)(Be),"getActiveItem",function(){var vt=Be.state,St=vt.activeKey,Dt=vt.flattenNodes;return St===null?null:Dt.find(function(Qt){var xt=Qt.key;return xt===St})||null}),(0,oe.Z)((0,Me.Z)(Be),"offsetActiveKey",function(vt){var St=Be.state,Dt=St.flattenNodes,Qt=St.activeKey,xt=Dt.findIndex(function(Wt){var wn=Wt.key;return wn===Qt});xt===-1&&vt<0&&(xt=Dt.length),xt=(xt+vt+Dt.length)%Dt.length;var ct=Dt[xt];if(ct){var Xt=ct.key;Be.onActiveChange(Xt)}else Be.onActiveChange(null)}),(0,oe.Z)((0,Me.Z)(Be),"onKeyDown",function(vt){var St=Be.state,Dt=St.activeKey,Qt=St.expandedKeys,xt=St.checkedKeys,ct=St.fieldNames,Xt=Be.props,Wt=Xt.onKeyDown,wn=Xt.checkable,ln=Xt.selectable;switch(vt.which){case Re.Z.UP:{Be.offsetActiveKey(-1),vt.preventDefault();break}case Re.Z.DOWN:{Be.offsetActiveKey(1),vt.preventDefault();break}}var nn=Be.getActiveItem();if(nn&&nn.data){var zn=Be.getTreeNodeRequiredProps(),Ln=nn.data.isLeaf===!1||!!(nn.data[ct.children]||[]).length,_t=(0,ze.F)((0,Le.Z)((0,Le.Z)({},(0,ze.H8)(Dt,zn)),{},{data:nn.data,active:!0}));switch(vt.which){case Re.Z.LEFT:{Ln&&Qt.includes(Dt)?Be.onNodeExpand({},_t):nn.parent&&Be.onActiveChange(nn.parent.key),vt.preventDefault();break}case Re.Z.RIGHT:{Ln&&!Qt.includes(Dt)?Be.onNodeExpand({},_t):nn.children&&nn.children.length&&Be.onActiveChange(nn.children[0].key),vt.preventDefault();break}case Re.Z.ENTER:case Re.Z.SPACE:{wn&&!_t.disabled&&_t.checkable!==!1&&!_t.disableCheckbox?Be.onNodeCheck({},_t,!xt.includes(Dt)):!wn&&ln&&!_t.disabled&&_t.selectable!==!1&&Be.onNodeSelect({},_t);break}}}Wt==null||Wt(vt)}),(0,oe.Z)((0,Me.Z)(Be),"setUncontrolledState",function(vt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Be.destroyed){var Qt=!1,xt=!0,ct={};Object.keys(vt).forEach(function(Xt){if(Be.props.hasOwnProperty(Xt)){xt=!1;return}Qt=!0,ct[Xt]=vt[Xt]}),Qt&&(!St||xt)&&Be.setState((0,Le.Z)((0,Le.Z)({},ct),Dt))}}),(0,oe.Z)((0,Me.Z)(Be),"scrollTo",function(vt){Be.listRef.current.scrollTo(vt)}),Be}return(0,Fe.Z)(le,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ge=this.props,ut=Ge.activeKey,mt=Ge.itemScrollOffset,vt=mt===void 0?0:mt;ut!==void 0&&ut!==this.state.activeKey&&(this.setState({activeKey:ut}),ut!==null&&this.scrollTo({key:ut,offset:vt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ge=this.state,ut=Ge.focused,mt=Ge.flattenNodes,vt=Ge.keyEntities,St=Ge.draggingNodeKey,Dt=Ge.activeKey,Qt=Ge.dropLevelOffset,xt=Ge.dropContainerKey,ct=Ge.dropTargetKey,Xt=Ge.dropPosition,Wt=Ge.dragOverNodeKey,wn=Ge.indent,ln=this.props,nn=ln.prefixCls,zn=ln.className,Ln=ln.style,_t=ln.showLine,un=ln.focusable,Pn=ln.tabIndex,Vn=Pn===void 0?0:Pn,Lt=ln.selectable,Gt=ln.showIcon,sn=ln.icon,bn=ln.switcherIcon,Yn=ln.draggable,pr=ln.checkable,ti=ln.checkStrictly,si=ln.disabled,Cr=ln.motion,ur=ln.loadData,dr=ln.filterTreeNode,yn=ln.height,$n=ln.itemHeight,rr=ln.scrollWidth,Zn=ln.virtual,br=ln.titleRender,Br=ln.dropIndicatorRender,Or=ln.onContextMenu,ci=ln.onScroll,Ai=ln.direction,di=ln.rootClassName,Pi=ln.rootStyle,yi=(0,Se.Z)(this.props,{aria:!0,data:!0}),oo;Yn&&((0,dt.Z)(Yn)==="object"?oo=Yn:typeof Yn=="function"?oo={nodeDraggable:Yn}:oo={});var Gi={prefixCls:nn,selectable:Lt,showIcon:Gt,icon:sn,switcherIcon:bn,draggable:oo,draggingNodeKey:St,checkable:pr,checkStrictly:ti,disabled:si,keyEntities:vt,dropLevelOffset:Qt,dropContainerKey:xt,dropTargetKey:ct,dropPosition:Xt,dragOverNodeKey:Wt,indent:wn,direction:Ai,dropIndicatorRender:Br,loadData:ur,filterTreeNode:dr,titleRender:br,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return ve.createElement(we.k.Provider,{value:Gi},ve.createElement("div",{className:ye()(nn,zn,di,(0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(nn,"-show-line"),_t),"".concat(nn,"-focused"),ut),"".concat(nn,"-active-focused"),Dt!==null)),style:Pi},ve.createElement(Tt,(0,x.Z)({ref:this.listRef,prefixCls:nn,style:Ln,data:mt,disabled:si,selectable:Lt,checkable:!!pr,motion:Cr,dragging:St!==null,height:yn,itemHeight:$n,virtual:Zn,focusable:un,focused:ut,tabIndex:Vn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Or,onScroll:ci,scrollWidth:rr},this.getTreeNodeRequiredProps(),yi))))}}],[{key:"getDerivedStateFromProps",value:function(Ge,ut){var mt=ut.prevProps,vt={prevProps:Ge};function St(Vn){return!mt&&Ge.hasOwnProperty(Vn)||mt&&mt[Vn]!==Ge[Vn]}var Dt,Qt=ut.fieldNames;if(St("fieldNames")&&(Qt=(0,ze.w$)(Ge.fieldNames),vt.fieldNames=Qt),St("treeData")?Dt=Ge.treeData:St("children")&&((0,Ie.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Dt=(0,ze.zn)(Ge.children)),Dt){vt.treeData=Dt;var xt=(0,ze.I8)(Dt,{fieldNames:Qt});vt.keyEntities=(0,Le.Z)((0,oe.Z)({},ke,Kt),xt.keyEntities)}var ct=vt.keyEntities||ut.keyEntities;if(St("expandedKeys")||mt&&St("autoExpandParent"))vt.expandedKeys=Ge.autoExpandParent||!mt&&Ge.defaultExpandParent?(0,mn.r7)(Ge.expandedKeys,ct):Ge.expandedKeys;else if(!mt&&Ge.defaultExpandAll){var Xt=(0,Le.Z)({},ct);delete Xt[ke];var Wt=[];Object.keys(Xt).forEach(function(Vn){var Lt=Xt[Vn];Lt.children&&Lt.children.length&&Wt.push(Lt.key)}),vt.expandedKeys=Wt}else!mt&&Ge.defaultExpandedKeys&&(vt.expandedKeys=Ge.autoExpandParent||Ge.defaultExpandParent?(0,mn.r7)(Ge.defaultExpandedKeys,ct):Ge.defaultExpandedKeys);if(vt.expandedKeys||delete vt.expandedKeys,Dt||vt.expandedKeys){var wn=(0,ze.oH)(Dt||ut.treeData,vt.expandedKeys||ut.expandedKeys,Qt);vt.flattenNodes=wn}if(Ge.selectable&&(St("selectedKeys")?vt.selectedKeys=(0,mn.BT)(Ge.selectedKeys,Ge):!mt&&Ge.defaultSelectedKeys&&(vt.selectedKeys=(0,mn.BT)(Ge.defaultSelectedKeys,Ge))),Ge.checkable){var ln;if(St("checkedKeys")?ln=(0,mn.E6)(Ge.checkedKeys)||{}:!mt&&Ge.defaultCheckedKeys?ln=(0,mn.E6)(Ge.defaultCheckedKeys)||{}:Dt&&(ln=(0,mn.E6)(Ge.checkedKeys)||{checkedKeys:ut.checkedKeys,halfCheckedKeys:ut.halfCheckedKeys}),ln){var nn=ln,zn=nn.checkedKeys,Ln=zn===void 0?[]:zn,_t=nn.halfCheckedKeys,un=_t===void 0?[]:_t;if(!Ge.checkStrictly){var Pn=(0,kt.S)(Ln,!0,ct);Ln=Pn.checkedKeys,un=Pn.halfCheckedKeys}vt.checkedKeys=Ln,vt.halfCheckedKeys=un}}return St("loadedKeys")&&(vt.loadedKeys=Ge.loadedKeys),vt}}]),le}(ve.Component);(0,oe.Z)(de,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Oe,allowDrop:function(){return!0},expandAction:!1}),(0,oe.Z)(de,"TreeNode",at.Z);var ge=de,ie=ge},82661:function(Xn,Mt,ae){"use strict";ae.d(Mt,{BT:function(){return ve},E6:function(){return Oe},L0:function(){return oe},OM:function(){return Ie},_5:function(){return xe},r7:function(){return Ke},wA:function(){return ye},yx:function(){return Pe}});var x=ae(77654),dt=ae(43749),Le=ae(48736),qe=ae(59301),He=ae(639),Fe=ae(65065),Me=ae(34061),fe=null;function xe(je,_e){if(!je)return[];var Je=je.slice(),Ve=Je.indexOf(_e);return Ve>=0&&Je.splice(Ve,1),Je}function oe(je,_e){var Je=(je||[]).slice();return Je.indexOf(_e)===-1&&Je.push(_e),Je}function Pe(je){return je.split("-")}function ye(je,_e){var Je=[],Ve=(0,Fe.Z)(_e,je);function st(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];at.forEach(function(ht){var Ct=ht.key,ze=ht.children;Je.push(Ct),st(ze)})}return st(Ve.children),Je}function Re(je){if(je.parent){var _e=Pe(je.pos);return Number(_e[_e.length-1])===je.parent.children.length-1}return!1}function Se(je){var _e=Pe(je.pos);return Number(_e[_e.length-1])===0}function Ie(je,_e,Je,Ve,st,at,ht,Ct,ze,pt){var Ne,Qe=je.clientX,Ot=je.clientY,ot=je.target.getBoundingClientRect(),lt=ot.top,Bt=ot.height,We=(pt==="rtl"?-1:1)*(((st==null?void 0:st.x)||0)-Qe),ke=(We-12)/Ve,At=ze.filter(function(ie){var ee;return(ee=Ct[ie])===null||ee===void 0||(ee=ee.children)===null||ee===void 0?void 0:ee.length}),Kt=(0,Fe.Z)(Ct,Je.eventKey);if(Ot<lt+Bt/2){var Ht=ht.findIndex(function(ie){return ie.key===Kt.key}),nt=Ht<=0?0:Ht-1,Pt=ht[nt].key;Kt=(0,Fe.Z)(Ct,Pt)}var Rt=Kt.key,hn=Kt,Tt=Kt.key,mn=0,kt=0;if(!At.includes(Rt))for(var Fn=0;Fn<ke&&Re(Kt);Fn+=1)Kt=Kt.parent,kt+=1;var an=_e.data,de=Kt.node,ge=!0;return Se(Kt)&&Kt.level===0&&Ot<lt+Bt/2&&at({dragNode:an,dropNode:de,dropPosition:-1})&&Kt.key===Je.eventKey?mn=-1:(hn.children||[]).length&&At.includes(Tt)?at({dragNode:an,dropNode:de,dropPosition:0})?mn=0:ge=!1:kt===0?ke>-1.5?at({dragNode:an,dropNode:de,dropPosition:1})?mn=1:ge=!1:at({dragNode:an,dropNode:de,dropPosition:0})?mn=0:at({dragNode:an,dropNode:de,dropPosition:1})?mn=1:ge=!1:at({dragNode:an,dropNode:de,dropPosition:1})?mn=1:ge=!1,{dropPosition:mn,dropLevelOffset:kt,dropTargetKey:Kt.key,dropTargetPos:Kt.pos,dragOverNodeKey:Tt,dropContainerKey:mn===0?null:((Ne=Kt.parent)===null||Ne===void 0?void 0:Ne.key)||null,dropAllowed:ge}}function ve(je,_e){if(je){var Je=_e.multiple;return Je?je.slice():je.length?[je[0]]:je}}var we=function(_e){return _e};function Ee(je,_e){if(!je)return[];var Je=_e||{},Ve=Je.processProps,st=Ve===void 0?we:Ve,at=Array.isArray(je)?je:[je];return at.map(function(ht){var Ct=ht.children,ze=_objectWithoutProperties(ht,fe),pt=Ee(Ct,_e);return React.createElement(TreeNode,_extends({key:ze.key},st(ze)),pt)})}function Oe(je){if(!je)return null;var _e;if(Array.isArray(je))_e={checkedKeys:je,halfCheckedKeys:void 0};else if((0,dt.Z)(je)==="object")_e={checkedKeys:je.checked||void 0,halfCheckedKeys:je.halfChecked||void 0};else return(0,Le.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return _e}function Ke(je,_e){var Je=new Set;function Ve(st){if(!Je.has(st)){var at=(0,Fe.Z)(_e,st);if(at){Je.add(st);var ht=at.parent,Ct=at.node;Ct.disabled||ht&&Ve(ht.key)}}}return(je||[]).forEach(function(st){Ve(st)}),(0,x.Z)(Je)}},34643:function(Xn,Mt,ae){"use strict";ae.d(Mt,{S:function(){return Me}});var x=ae(48736),dt=ae(65065);function Le(fe,xe){var oe=new Set;return fe.forEach(function(Pe){xe.has(Pe)||oe.add(Pe)}),oe}function qe(fe){var xe=fe||{},oe=xe.disabled,Pe=xe.disableCheckbox,ye=xe.checkable;return!!(oe||Pe)||ye===!1}function He(fe,xe,oe,Pe){for(var ye=new Set(fe),Re=new Set,Se=0;Se<=oe;Se+=1){var Ie=xe.get(Se)||new Set;Ie.forEach(function(Oe){var Ke=Oe.key,je=Oe.node,_e=Oe.children,Je=_e===void 0?[]:_e;ye.has(Ke)&&!Pe(je)&&Je.filter(function(Ve){return!Pe(Ve.node)}).forEach(function(Ve){ye.add(Ve.key)})})}for(var ve=new Set,we=oe;we>=0;we-=1){var Ee=xe.get(we)||new Set;Ee.forEach(function(Oe){var Ke=Oe.parent,je=Oe.node;if(!(Pe(je)||!Oe.parent||ve.has(Oe.parent.key))){if(Pe(Oe.parent.node)){ve.add(Ke.key);return}var _e=!0,Je=!1;(Ke.children||[]).filter(function(Ve){return!Pe(Ve.node)}).forEach(function(Ve){var st=Ve.key,at=ye.has(st);_e&&!at&&(_e=!1),!Je&&(at||Re.has(st))&&(Je=!0)}),_e&&ye.add(Ke.key),Je&&Re.add(Ke.key),ve.add(Ke.key)}})}return{checkedKeys:Array.from(ye),halfCheckedKeys:Array.from(Le(Re,ye))}}function Fe(fe,xe,oe,Pe,ye){for(var Re=new Set(fe),Se=new Set(xe),Ie=0;Ie<=Pe;Ie+=1){var ve=oe.get(Ie)||new Set;ve.forEach(function(Ke){var je=Ke.key,_e=Ke.node,Je=Ke.children,Ve=Je===void 0?[]:Je;!Re.has(je)&&!Se.has(je)&&!ye(_e)&&Ve.filter(function(st){return!ye(st.node)}).forEach(function(st){Re.delete(st.key)})})}Se=new Set;for(var we=new Set,Ee=Pe;Ee>=0;Ee-=1){var Oe=oe.get(Ee)||new Set;Oe.forEach(function(Ke){var je=Ke.parent,_e=Ke.node;if(!(ye(_e)||!Ke.parent||we.has(Ke.parent.key))){if(ye(Ke.parent.node)){we.add(je.key);return}var Je=!0,Ve=!1;(je.children||[]).filter(function(st){return!ye(st.node)}).forEach(function(st){var at=st.key,ht=Re.has(at);Je&&!ht&&(Je=!1),!Ve&&(ht||Se.has(at))&&(Ve=!0)}),Je||Re.delete(je.key),Ve&&Se.add(je.key),we.add(je.key)}})}return{checkedKeys:Array.from(Re),halfCheckedKeys:Array.from(Le(Se,Re))}}function Me(fe,xe,oe,Pe){var ye=[],Re;Pe?Re=Pe:Re=qe;var Se=new Set(fe.filter(function(Ee){var Oe=!!(0,dt.Z)(oe,Ee);return Oe||ye.push(Ee),Oe})),Ie=new Map,ve=0;Object.keys(oe).forEach(function(Ee){var Oe=oe[Ee],Ke=Oe.level,je=Ie.get(Ke);je||(je=new Set,Ie.set(Ke,je)),je.add(Oe),ve=Math.max(ve,Ke)}),(0,x.ZP)(!ye.length,"Tree missing follow keys: ".concat(ye.slice(0,100).map(function(Ee){return"'".concat(Ee,"'")}).join(", ")));var we;return xe===!0?we=He(Se,Ie,ve,Re):we=Fe(Se,xe.halfCheckedKeys,Ie,ve,Re),we}},65065:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return x}});function x(dt,Le){return dt[Le]}},34061:function(Xn,Mt,ae){"use strict";ae.d(Mt,{F:function(){return Ke},H8:function(){return Oe},I8:function(){return Ee},km:function(){return ye},oH:function(){return ve},w$:function(){return Re},zn:function(){return Ie}});var x=ae(43749),dt=ae(77654),Le=ae(85899),qe=ae(42244),He=ae(11592),Fe=ae(2738),Me=ae(48736),fe=ae(65065),xe=["children"];function oe(je,_e){return"".concat(je,"-").concat(_e)}function Pe(je){return je&&je.type&&je.type.isTreeNode}function ye(je,_e){return je!=null?je:_e}function Re(je){var _e=je||{},Je=_e.title,Ve=_e._title,st=_e.key,at=_e.children,ht=Je||"title";return{title:ht,_title:Ve||[ht],key:st||"key",children:at||"children"}}function Se(je,_e){var Je=new Map;function Ve(st){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(st||[]).forEach(function(ht){var Ct=ht[_e.key],ze=ht[_e.children];warning(Ct!=null,"Tree node must have a certain key: [".concat(at).concat(Ct,"]"));var pt=String(Ct);warning(!Je.has(pt)||Ct===null||Ct===void 0,"Same 'key' exist in the Tree: ".concat(pt)),Je.set(pt,!0),Ve(ze,"".concat(at).concat(pt," > "))})}Ve(je)}function Ie(je){function _e(Je){var Ve=(0,He.Z)(Je);return Ve.map(function(st){if(!Pe(st))return(0,Me.ZP)(!st,"Tree/TreeNode can only accept TreeNode as children."),null;var at=st.key,ht=st.props,Ct=ht.children,ze=(0,qe.Z)(ht,xe),pt=(0,Le.Z)({key:at},ze),Ne=_e(Ct);return Ne.length&&(pt.children=Ne),pt}).filter(function(st){return st})}return _e(je)}function ve(je,_e,Je){var Ve=Re(Je),st=Ve._title,at=Ve.key,ht=Ve.children,Ct=new Set(_e===!0?[]:_e),ze=[];function pt(Ne){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ne.map(function(Ot,ot){for(var lt=oe(Qe?Qe.pos:"0",ot),Bt=ye(Ot[at],lt),We,ke=0;ke<st.length;ke+=1){var At=st[ke];if(Ot[At]!==void 0){We=Ot[At];break}}var Kt=Object.assign((0,Fe.Z)(Ot,[].concat((0,dt.Z)(st),[at,ht])),{title:We,key:Bt,parent:Qe,pos:lt,children:null,data:Ot,isStart:[].concat((0,dt.Z)(Qe?Qe.isStart:[]),[ot===0]),isEnd:[].concat((0,dt.Z)(Qe?Qe.isEnd:[]),[ot===Ne.length-1])});return ze.push(Kt),_e===!0||Ct.has(Bt)?Kt.children=pt(Ot[ht]||[],Kt):Kt.children=[],Kt})}return pt(je),ze}function we(je,_e,Je){var Ve={};(0,x.Z)(Je)==="object"?Ve=Je:Ve={externalGetKey:Je},Ve=Ve||{};var st=Ve,at=st.childrenPropName,ht=st.externalGetKey,Ct=st.fieldNames,ze=Re(Ct),pt=ze.key,Ne=ze.children,Qe=at||Ne,Ot;ht?typeof ht=="string"?Ot=function(Bt){return Bt[ht]}:typeof ht=="function"&&(Ot=function(Bt){return ht(Bt)}):Ot=function(Bt,We){return ye(Bt[pt],We)};function ot(lt,Bt,We,ke){var At=lt?lt[Qe]:je,Kt=lt?oe(We.pos,Bt):"0",Ht=lt?[].concat((0,dt.Z)(ke),[lt]):[];if(lt){var nt=Ot(lt,Kt),Pt={node:lt,index:Bt,pos:Kt,key:nt,parentPos:We.node?We.pos:null,level:We.level+1,nodes:Ht};_e(Pt)}At&&At.forEach(function(Rt,hn){ot(Rt,hn,{node:lt,pos:Kt,level:We?We.level+1:-1},Ht)})}ot(null)}function Ee(je){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Je=_e.initWrapper,Ve=_e.processEntity,st=_e.onProcessFinished,at=_e.externalGetKey,ht=_e.childrenPropName,Ct=_e.fieldNames,ze=arguments.length>2?arguments[2]:void 0,pt=at||ze,Ne={},Qe={},Ot={posEntities:Ne,keyEntities:Qe};return Je&&(Ot=Je(Ot)||Ot),we(je,function(ot){var lt=ot.node,Bt=ot.index,We=ot.pos,ke=ot.key,At=ot.parentPos,Kt=ot.level,Ht=ot.nodes,nt={node:lt,nodes:Ht,index:Bt,key:ke,pos:We,level:Kt},Pt=ye(ke,We);Ne[We]=nt,Qe[Pt]=nt,nt.parent=Ne[At],nt.parent&&(nt.parent.children=nt.parent.children||[],nt.parent.children.push(nt)),Ve&&Ve(nt,Ot)},{externalGetKey:pt,childrenPropName:ht,fieldNames:Ct}),st&&st(Ot),Ot}function Oe(je,_e){var Je=_e.expandedKeys,Ve=_e.selectedKeys,st=_e.loadedKeys,at=_e.loadingKeys,ht=_e.checkedKeys,Ct=_e.halfCheckedKeys,ze=_e.dragOverNodeKey,pt=_e.dropPosition,Ne=_e.keyEntities,Qe=(0,fe.Z)(Ne,je),Ot={eventKey:je,expanded:Je.indexOf(je)!==-1,selected:Ve.indexOf(je)!==-1,loaded:st.indexOf(je)!==-1,loading:at.indexOf(je)!==-1,checked:ht.indexOf(je)!==-1,halfChecked:Ct.indexOf(je)!==-1,pos:String(Qe?Qe.pos:""),dragOver:ze===je&&pt===0,dragOverGapTop:ze===je&&pt===-1,dragOverGapBottom:ze===je&&pt===1};return Ot}function Ke(je){var _e=je.data,Je=je.expanded,Ve=je.selected,st=je.checked,at=je.loaded,ht=je.loading,Ct=je.halfChecked,ze=je.dragOver,pt=je.dragOverGapTop,Ne=je.dragOverGapBottom,Qe=je.pos,Ot=je.active,ot=je.eventKey,lt=(0,Le.Z)((0,Le.Z)({},_e),{},{expanded:Je,selected:Ve,checked:st,loaded:at,loading:ht,halfChecked:Ct,dragOver:ze,dragOverGapTop:pt,dragOverGapBottom:Ne,pos:Qe,active:Ot,key:ot});return"props"in lt||Object.defineProperty(lt,"props",{get:function(){return(0,Me.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),je}}),lt}},8224:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return dt}});var x=ae(4676);function dt(Le,qe,He,Fe){var Me=x.unstable_batchedUpdates?function(xe){x.unstable_batchedUpdates(He,xe)}:He;return Le!=null&&Le.addEventListener&&Le.addEventListener(qe,Me,Fe),{remove:function(){Le!=null&&Le.removeEventListener&&Le.removeEventListener(qe,Me,Fe)}}}},24514:function(Xn,Mt,ae){"use strict";ae.d(Mt,{G:function(){return qe}});var x=ae(47273),dt=function(Fe){if((0,x.Z)()&&window.document.documentElement){var Me=Array.isArray(Fe)?Fe:[Fe],fe=window.document.documentElement;return Me.some(function(xe){return xe in fe.style})}return!1},Le=function(Fe,Me){if(!dt(Fe))return!1;var fe=document.createElement("div"),xe=fe.style[Fe];return fe.style[Fe]=Me,fe.style[Fe]!==xe};function qe(He,Fe){return!Array.isArray(He)&&Fe!==void 0?Le(He,Fe):dt(He)}},48911:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return an}});var x=ae(60499),dt=ae(43749),Le=ae(85899),qe=ae(18642),He=ae(72190),Fe=ae(42244),Me=ae(92310),fe=ae.n(Me),xe=ae(29301),oe=ae(70425),Pe=ae(34280),ye=ae(59301),Re=ae(4676),Se=ye.forwardRef(function(de,ge){var ie=de.height,ee=de.offsetY,se=de.offsetX,le=de.children,Be=de.prefixCls,Ge=de.onInnerResize,ut=de.innerProps,mt=de.rtl,vt=de.extra,St={},Dt={display:"flex",flexDirection:"column"};return ee!==void 0&&(St={height:ie,position:"relative",overflow:"hidden"},Dt=(0,Le.Z)((0,Le.Z)({},Dt),{},(0,qe.Z)((0,qe.Z)((0,qe.Z)((0,qe.Z)((0,qe.Z)({transform:"translateY(".concat(ee,"px)")},mt?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),ye.createElement("div",{style:St},ye.createElement(xe.Z,{onResize:function(xt){var ct=xt.offsetHeight;ct&&Ge&&Ge()}},ye.createElement("div",(0,x.Z)({style:Dt,className:fe()((0,qe.Z)({},"".concat(Be,"-holder-inner"),Be)),ref:ge},ut),le,vt)))});Se.displayName="Filler";var Ie=Se;function ve(de){var ge=de.children,ie=de.setRef,ee=ye.useCallback(function(se){ie(se)},[]);return ye.cloneElement(ge,{ref:ee})}function we(de,ge,ie,ee,se,le,Be,Ge){var ut=Ge.getKey;return de.slice(ge,ie+1).map(function(mt,vt){var St=ge+vt,Dt=Be(mt,St,{style:{width:ee},offsetX:se}),Qt=ut(mt);return ye.createElement(ve,{key:Qt,setRef:function(ct){return le(mt,ct)}},Dt)})}function Ee(de,ge,ie,ee){var se=ie-de,le=ge-ie,Be=Math.min(se,le)*2;if(ee<=Be){var Ge=Math.floor(ee/2);return ee%2?ie+Ge+1:ie-Ge}return se>le?ie-(ee-le):ie+(ee-se)}function Oe(de,ge,ie){var ee=de.length,se=ge.length,le,Be;if(ee===0&&se===0)return null;ee<se?(le=de,Be=ge):(le=ge,Be=de);var Ge={__EMPTY_ITEM__:!0};function ut(xt){return xt!==void 0?ie(xt):Ge}for(var mt=null,vt=Math.abs(ee-se)!==1,St=0;St<Be.length;St+=1){var Dt=ut(le[St]),Qt=ut(Be[St]);if(Dt!==Qt){mt=St,vt=vt||Dt!==ut(Be[St+1]);break}}return mt===null?null:{index:mt,multiple:vt}}function Ke(de,ge,ie){var ee=ye.useState(de),se=(0,He.Z)(ee,2),le=se[0],Be=se[1],Ge=ye.useState(null),ut=(0,He.Z)(Ge,2),mt=ut[0],vt=ut[1];return ye.useEffect(function(){var St=Oe(le||[],de||[],ge);(St==null?void 0:St.index)!==void 0&&(ie==null||ie(St.index),vt(de[St.index])),Be(de)},[de]),[mt]}var je=ae(16089),_e=(typeof navigator=="undefined"?"undefined":(0,dt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Je=_e,Ve=function(de,ge,ie,ee){var se=(0,ye.useRef)(!1),le=(0,ye.useRef)(null);function Be(){clearTimeout(le.current),se.current=!0,le.current=setTimeout(function(){se.current=!1},50)}var Ge=(0,ye.useRef)({top:de,bottom:ge,left:ie,right:ee});return Ge.current.top=de,Ge.current.bottom=ge,Ge.current.left=ie,Ge.current.right=ee,function(ut,mt){var vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,St=ut?mt<0&&Ge.current.left||mt>0&&Ge.current.right:mt<0&&Ge.current.top||mt>0&&Ge.current.bottom;return vt&&St?(clearTimeout(le.current),se.current=!1):(!St||se.current)&&Be(),!se.current&&St}};function st(de,ge,ie,ee,se,le,Be){var Ge=(0,ye.useRef)(0),ut=(0,ye.useRef)(null),mt=(0,ye.useRef)(null),vt=(0,ye.useRef)(!1),St=Ve(ge,ie,ee,se);function Dt(wn,ln){if(je.Z.cancel(ut.current),!St(!1,ln)){var nn=wn;if(!nn._virtualHandled)nn._virtualHandled=!0;else return;Ge.current+=ln,mt.current=ln,Je||nn.preventDefault(),ut.current=(0,je.Z)(function(){var zn=vt.current?10:1;Be(Ge.current*zn,!1),Ge.current=0})}}function Qt(wn,ln){Be(ln,!0),Je||wn.preventDefault()}var xt=(0,ye.useRef)(null),ct=(0,ye.useRef)(null);function Xt(wn){if(de){je.Z.cancel(ct.current),ct.current=(0,je.Z)(function(){xt.current=null},2);var ln=wn.deltaX,nn=wn.deltaY,zn=wn.shiftKey,Ln=ln,_t=nn;(xt.current==="sx"||!xt.current&&zn&&nn&&!ln)&&(Ln=nn,_t=0,xt.current="sx");var un=Math.abs(Ln),Pn=Math.abs(_t);xt.current===null&&(xt.current=le&&un>Pn?"x":"y"),xt.current==="y"?Dt(wn,_t):Qt(wn,Ln)}}function Wt(wn){de&&(vt.current=wn.detail===mt.current)}return[Xt,Wt]}function at(de,ge,ie,ee){var se=ye.useMemo(function(){return[new Map,[]]},[de,ie.id,ee]),le=(0,He.Z)(se,2),Be=le[0],Ge=le[1],ut=function(vt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vt,Dt=Be.get(vt),Qt=Be.get(St);if(Dt===void 0||Qt===void 0)for(var xt=de.length,ct=Ge.length;ct<xt;ct+=1){var Xt,Wt=de[ct],wn=ge(Wt);Be.set(wn,ct);var ln=(Xt=ie.get(wn))!==null&&Xt!==void 0?Xt:ee;if(Ge[ct]=(Ge[ct-1]||0)+ln,wn===vt&&(Dt=ct),wn===St&&(Qt=ct),Dt!==void 0&&Qt!==void 0)break}return{top:Ge[Dt-1]||0,bottom:Ge[Qt]}};return ut}var ht=ae(38705),Ct=ae(17212),ze=function(){function de(){(0,ht.Z)(this,de),(0,qe.Z)(this,"maps",void 0),(0,qe.Z)(this,"id",0),(0,qe.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Ct.Z)(de,[{key:"set",value:function(ie,ee){this.diffRecords.set(ie,this.maps[ie]),this.maps[ie]=ee,this.id+=1}},{key:"get",value:function(ie){return this.maps[ie]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),de}(),pt=ze;function Ne(de){var ge=parseFloat(de);return isNaN(ge)?0:ge}function Qe(de,ge,ie){var ee=ye.useState(0),se=(0,He.Z)(ee,2),le=se[0],Be=se[1],Ge=(0,ye.useRef)(new Map),ut=(0,ye.useRef)(new pt),mt=(0,ye.useRef)(0);function vt(){mt.current+=1}function St(){var Qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;vt();var xt=function(){var Wt=!1;Ge.current.forEach(function(wn,ln){if(wn&&wn.offsetParent){var nn=wn.offsetHeight,zn=getComputedStyle(wn),Ln=zn.marginTop,_t=zn.marginBottom,un=Ne(Ln),Pn=Ne(_t),Vn=nn+un+Pn;ut.current.get(ln)!==Vn&&(ut.current.set(ln,Vn),Wt=!0)}}),Wt&&Be(function(wn){return wn+1})};if(Qt)xt();else{mt.current+=1;var ct=mt.current;Promise.resolve().then(function(){ct===mt.current&&xt()})}}function Dt(Qt,xt){var ct=de(Qt),Xt=Ge.current.get(ct);xt?(Ge.current.set(ct,xt),St()):Ge.current.delete(ct),!Xt!=!xt&&(xt?ge==null||ge(Qt):ie==null||ie(Qt))}return(0,ye.useEffect)(function(){return vt},[]),[Dt,St,ut.current,le]}var Ot=14/15;function ot(de,ge,ie){var ee=(0,ye.useRef)(!1),se=(0,ye.useRef)(0),le=(0,ye.useRef)(0),Be=(0,ye.useRef)(null),Ge=(0,ye.useRef)(null),ut,mt=function(Qt){if(ee.current){var xt=Math.ceil(Qt.touches[0].pageX),ct=Math.ceil(Qt.touches[0].pageY),Xt=se.current-xt,Wt=le.current-ct,wn=Math.abs(Xt)>Math.abs(Wt);wn?se.current=xt:le.current=ct;var ln=ie(wn,wn?Xt:Wt,!1,Qt);ln&&Qt.preventDefault(),clearInterval(Ge.current),ln&&(Ge.current=setInterval(function(){wn?Xt*=Ot:Wt*=Ot;var nn=Math.floor(wn?Xt:Wt);(!ie(wn,nn,!0)||Math.abs(nn)<=.1)&&clearInterval(Ge.current)},16))}},vt=function(){ee.current=!1,ut()},St=function(Qt){ut(),Qt.touches.length===1&&!ee.current&&(ee.current=!0,se.current=Math.ceil(Qt.touches[0].pageX),le.current=Math.ceil(Qt.touches[0].pageY),Be.current=Qt.target,Be.current.addEventListener("touchmove",mt,{passive:!1}),Be.current.addEventListener("touchend",vt,{passive:!0}))};ut=function(){Be.current&&(Be.current.removeEventListener("touchmove",mt),Be.current.removeEventListener("touchend",vt))},(0,Pe.Z)(function(){return de&&ge.current.addEventListener("touchstart",St,{passive:!0}),function(){var Dt;(Dt=ge.current)===null||Dt===void 0||Dt.removeEventListener("touchstart",St),ut(),clearInterval(Ge.current)}},[de])}function lt(de){return Math.floor(Math.pow(de,.5))}function Bt(de,ge){var ie="touches"in de?de.touches[0]:de;return ie[ge?"pageX":"pageY"]-window[ge?"scrollX":"scrollY"]}function We(de,ge,ie){ye.useEffect(function(){var ee=ge.current;if(de&&ee){var se=!1,le,Be,Ge=function(){je.Z.cancel(le)},ut=function Dt(){Ge(),le=(0,je.Z)(function(){ie(Be),Dt()})},mt=function(){se=!1,Ge()},vt=function(Qt){if(!(Qt.target.draggable||Qt.button!==0)){var xt=Qt;xt._virtualHandled||(xt._virtualHandled=!0,se=!0)}},St=function(Qt){if(se){var xt=Bt(Qt,!1),ct=ee.getBoundingClientRect(),Xt=ct.top,Wt=ct.bottom;if(xt<=Xt){var wn=Xt-xt;Be=-lt(wn),ut()}else if(xt>=Wt){var ln=xt-Wt;Be=lt(ln),ut()}else Ge()}};return ee.addEventListener("mousedown",vt),ee.ownerDocument.addEventListener("mouseup",mt),ee.ownerDocument.addEventListener("mousemove",St),ee.ownerDocument.addEventListener("dragend",mt),function(){ee.removeEventListener("mousedown",vt),ee.ownerDocument.removeEventListener("mouseup",mt),ee.ownerDocument.removeEventListener("mousemove",St),ee.ownerDocument.removeEventListener("dragend",mt),Ge()}}},[de])}var ke=10;function At(de,ge,ie,ee,se,le,Be,Ge){var ut=ye.useRef(),mt=ye.useState(null),vt=(0,He.Z)(mt,2),St=vt[0],Dt=vt[1];return(0,Pe.Z)(function(){if(St&&St.times<ke){if(!de.current){Dt(function(Cr){return(0,Le.Z)({},Cr)});return}le();var Qt=St.targetAlign,xt=St.originAlign,ct=St.index,Xt=St.offset,Wt=de.current.clientHeight,wn=!1,ln=Qt,nn=null;if(Wt){for(var zn=Qt||xt,Ln=0,_t=0,un=0,Pn=Math.min(ge.length-1,ct),Vn=0;Vn<=Pn;Vn+=1){var Lt=se(ge[Vn]);_t=Ln;var Gt=ie.get(Lt);un=_t+(Gt===void 0?ee:Gt),Ln=un}for(var sn=zn==="top"?Xt:Wt-Xt,bn=Pn;bn>=0;bn-=1){var Yn=se(ge[bn]),pr=ie.get(Yn);if(pr===void 0){wn=!0;break}if(sn-=pr,sn<=0)break}switch(zn){case"top":nn=_t-Xt;break;case"bottom":nn=un-Wt+Xt;break;default:{var ti=de.current.scrollTop,si=ti+Wt;_t<ti?ln="top":un>si&&(ln="bottom")}}nn!==null&&Be(nn),nn!==St.lastTop&&(wn=!0)}wn&&Dt((0,Le.Z)((0,Le.Z)({},St),{},{times:St.times+1,targetAlign:ln,lastTop:nn}))}},[St,de.current]),function(Qt){if(Qt==null){Ge();return}if(je.Z.cancel(ut.current),typeof Qt=="number")Be(Qt);else if(Qt&&(0,dt.Z)(Qt)==="object"){var xt,ct=Qt.align;"index"in Qt?xt=Qt.index:xt=ge.findIndex(function(wn){return se(wn)===Qt.key});var Xt=Qt.offset,Wt=Xt===void 0?0:Xt;Dt({times:0,index:xt,offset:Wt,originAlign:ct})}}}var Kt=ye.forwardRef(function(de,ge){var ie=de.prefixCls,ee=de.rtl,se=de.scrollOffset,le=de.scrollRange,Be=de.onStartMove,Ge=de.onStopMove,ut=de.onScroll,mt=de.horizontal,vt=de.spinSize,St=de.containerSize,Dt=de.style,Qt=de.thumbStyle,xt=de.showScrollBar,ct=ye.useState(!1),Xt=(0,He.Z)(ct,2),Wt=Xt[0],wn=Xt[1],ln=ye.useState(null),nn=(0,He.Z)(ln,2),zn=nn[0],Ln=nn[1],_t=ye.useState(null),un=(0,He.Z)(_t,2),Pn=un[0],Vn=un[1],Lt=!ee,Gt=ye.useRef(),sn=ye.useRef(),bn=ye.useState(xt),Yn=(0,He.Z)(bn,2),pr=Yn[0],ti=Yn[1],si=ye.useRef(),Cr=function(){xt===!0||xt===!1||(clearTimeout(si.current),ti(!0),si.current=setTimeout(function(){ti(!1)},3e3))},ur=le-St||0,dr=St-vt||0,yn=ye.useMemo(function(){if(se===0||ur===0)return 0;var di=se/ur;return di*dr},[se,ur,dr]),$n=function(Pi){Pi.stopPropagation(),Pi.preventDefault()},rr=ye.useRef({top:yn,dragging:Wt,pageY:zn,startTop:Pn});rr.current={top:yn,dragging:Wt,pageY:zn,startTop:Pn};var Zn=function(Pi){wn(!0),Ln(Bt(Pi,mt)),Vn(rr.current.top),Be(),Pi.stopPropagation(),Pi.preventDefault()};ye.useEffect(function(){var di=function(Gi){Gi.preventDefault()},Pi=Gt.current,yi=sn.current;return Pi.addEventListener("touchstart",di,{passive:!1}),yi.addEventListener("touchstart",Zn,{passive:!1}),function(){Pi.removeEventListener("touchstart",di),yi.removeEventListener("touchstart",Zn)}},[]);var br=ye.useRef();br.current=ur;var Br=ye.useRef();Br.current=dr,ye.useEffect(function(){if(Wt){var di,Pi=function(Gi){var ar=rr.current,Dr=ar.dragging,gi=ar.pageY,ni=ar.startTop;je.Z.cancel(di);var An=Gt.current.getBoundingClientRect(),Cn=St/(mt?An.width:An.height);if(Dr){var tt=(Bt(Gi,mt)-gi)*Cn,pn=ni;!Lt&&mt?pn-=tt:pn+=tt;var Zt=br.current,vn=Br.current,On=vn?pn/vn:0,Rr=Math.ceil(On*Zt);Rr=Math.max(Rr,0),Rr=Math.min(Rr,Zt),di=(0,je.Z)(function(){ut(Rr,mt)})}},yi=function(){wn(!1),Ge()};return window.addEventListener("mousemove",Pi,{passive:!0}),window.addEventListener("touchmove",Pi,{passive:!0}),window.addEventListener("mouseup",yi,{passive:!0}),window.addEventListener("touchend",yi,{passive:!0}),function(){window.removeEventListener("mousemove",Pi),window.removeEventListener("touchmove",Pi),window.removeEventListener("mouseup",yi),window.removeEventListener("touchend",yi),je.Z.cancel(di)}}},[Wt]),ye.useEffect(function(){return Cr(),function(){clearTimeout(si.current)}},[se]),ye.useImperativeHandle(ge,function(){return{delayHidden:Cr}});var Or="".concat(ie,"-scrollbar"),ci={position:"absolute",visibility:pr?null:"hidden"},Ai={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return mt?(Object.assign(ci,{height:8,left:0,right:0,bottom:0}),Object.assign(Ai,(0,qe.Z)({height:"100%",width:vt},Lt?"left":"right",yn))):(Object.assign(ci,(0,qe.Z)({width:8,top:0,bottom:0},Lt?"right":"left",0)),Object.assign(Ai,{width:"100%",height:vt,top:yn})),ye.createElement("div",{ref:Gt,className:fe()(Or,(0,qe.Z)((0,qe.Z)((0,qe.Z)({},"".concat(Or,"-horizontal"),mt),"".concat(Or,"-vertical"),!mt),"".concat(Or,"-visible"),pr)),style:(0,Le.Z)((0,Le.Z)({},ci),Dt),onMouseDown:$n,onMouseMove:Cr},ye.createElement("div",{ref:sn,className:fe()("".concat(Or,"-thumb"),(0,qe.Z)({},"".concat(Or,"-thumb-moving"),Wt)),style:(0,Le.Z)((0,Le.Z)({},Ai),Qt),onMouseDown:Zn}))}),Ht=Kt,nt=20;function Pt(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ie=de/ge*de;return isNaN(ie)&&(ie=0),ie=Math.max(ie,nt),Math.floor(ie)}var Rt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],hn=[],Tt={overflowY:"auto",overflowAnchor:"none"};function mn(de,ge){var ie=de.prefixCls,ee=ie===void 0?"rc-virtual-list":ie,se=de.className,le=de.height,Be=de.itemHeight,Ge=de.fullHeight,ut=Ge===void 0?!0:Ge,mt=de.style,vt=de.data,St=de.children,Dt=de.itemKey,Qt=de.virtual,xt=de.direction,ct=de.scrollWidth,Xt=de.component,Wt=Xt===void 0?"div":Xt,wn=de.onScroll,ln=de.onVirtualScroll,nn=de.onVisibleChange,zn=de.innerProps,Ln=de.extraRender,_t=de.styles,un=de.showScrollBar,Pn=un===void 0?"optional":un,Vn=(0,Fe.Z)(de,Rt),Lt=ye.useCallback(function(Vt){return typeof Dt=="function"?Dt(Vt):Vt==null?void 0:Vt[Dt]},[Dt]),Gt=Qe(Lt,null,null),sn=(0,He.Z)(Gt,4),bn=sn[0],Yn=sn[1],pr=sn[2],ti=sn[3],si=!!(Qt!==!1&&le&&Be),Cr=ye.useMemo(function(){return Object.values(pr.maps).reduce(function(Vt,$r){return Vt+$r},0)},[pr.id,pr.maps]),ur=si&&vt&&(Math.max(Be*vt.length,Cr)>le||!!ct),dr=xt==="rtl",yn=fe()(ee,(0,qe.Z)({},"".concat(ee,"-rtl"),dr),se),$n=vt||hn,rr=(0,ye.useRef)(),Zn=(0,ye.useRef)(),br=(0,ye.useRef)(),Br=(0,ye.useState)(0),Or=(0,He.Z)(Br,2),ci=Or[0],Ai=Or[1],di=(0,ye.useState)(0),Pi=(0,He.Z)(di,2),yi=Pi[0],oo=Pi[1],Gi=(0,ye.useState)(!1),ar=(0,He.Z)(Gi,2),Dr=ar[0],gi=ar[1],ni=function(){gi(!0)},An=function(){gi(!1)},Cn={getKey:Lt};function tt(Vt){Ai(function($r){var ui;typeof Vt=="function"?ui=Vt($r):ui=Vt;var Zr=Kr(ui);return rr.current.scrollTop=Zr,Zr})}var pn=(0,ye.useRef)({start:0,end:$n.length}),Zt=(0,ye.useRef)(),vn=Ke($n,Lt),On=(0,He.Z)(vn,1),Rr=On[0];Zt.current=Rr;var Xr=ye.useMemo(function(){if(!si)return{scrollHeight:void 0,start:0,end:$n.length-1,offset:void 0};if(!ur){var Vt;return{scrollHeight:((Vt=Zn.current)===null||Vt===void 0?void 0:Vt.offsetHeight)||0,start:0,end:$n.length-1,offset:void 0}}for(var $r=0,ui,Zr,Ri,ro=$n.length,jr=0;jr<ro;jr+=1){var Yr=$n[jr],Bi=Lt(Yr),_i=pr.get(Bi),Ro=$r+(_i===void 0?Be:_i);Ro>=ci&&ui===void 0&&(ui=jr,Zr=$r),Ro>ci+le&&Ri===void 0&&(Ri=jr),$r=Ro}return ui===void 0&&(ui=0,Zr=0,Ri=Math.ceil(le/Be)),Ri===void 0&&(Ri=$n.length-1),Ri=Math.min(Ri+1,$n.length-1),{scrollHeight:$r,start:ui,end:Ri,offset:Zr}},[ur,si,ci,$n,ti,le]),li=Xr.scrollHeight,nr=Xr.start,or=Xr.end,er=Xr.offset;pn.current.start=nr,pn.current.end=or,ye.useLayoutEffect(function(){var Vt=pr.getRecord();if(Vt.size===1){var $r=Array.from(Vt.keys())[0],ui=Vt.get($r),Zr=$n[nr];if(Zr&&ui===void 0){var Ri=Lt(Zr);if(Ri===$r){var ro=pr.get($r),jr=ro-Be;tt(function(Yr){return Yr+jr})}}}pr.resetRecord()},[li]);var _r=ye.useState({width:0,height:le}),Ti=(0,He.Z)(_r,2),bi=Ti[0],Xi=Ti[1],Er=function($r){Xi({width:$r.offsetWidth,height:$r.offsetHeight})},tn=(0,ye.useRef)(),$t=(0,ye.useRef)(),jn=ye.useMemo(function(){return Pt(bi.width,ct)},[bi.width,ct]),lr=ye.useMemo(function(){return Pt(bi.height,li)},[bi.height,li]),gr=li-le,Ir=(0,ye.useRef)(gr);Ir.current=gr;function Kr(Vt){var $r=Vt;return Number.isNaN(Ir.current)||($r=Math.min($r,Ir.current)),$r=Math.max($r,0),$r}var zr=ci<=0,pi=ci>=gr,Ci=yi<=0,xi=yi>=ct,hi=Ve(zr,pi,Ci,xi),Ii=function(){return{x:dr?-yi:yi,y:ci}},Di=(0,ye.useRef)(Ii()),$i=(0,oe.zX)(function(Vt){if(ln){var $r=(0,Le.Z)((0,Le.Z)({},Ii()),Vt);(Di.current.x!==$r.x||Di.current.y!==$r.y)&&(ln($r),Di.current=$r)}});function no(Vt,$r){var ui=Vt;$r?((0,Re.flushSync)(function(){oo(ui)}),$i()):tt(ui)}function Hi(Vt){var $r=Vt.currentTarget.scrollTop;$r!==ci&&tt($r),wn==null||wn(Vt),$i()}var ai=function($r){var ui=$r,Zr=ct?ct-bi.width:0;return ui=Math.max(ui,0),ui=Math.min(ui,Zr),ui},ao=(0,oe.zX)(function(Vt,$r){$r?((0,Re.flushSync)(function(){oo(function(ui){var Zr=ui+(dr?-Vt:Vt);return ai(Zr)})}),$i()):tt(function(ui){var Zr=ui+Vt;return Zr})}),ki=st(si,zr,pi,Ci,xi,!!ct,ao),So=(0,He.Z)(ki,2),uo=So[0],Do=So[1];ot(si,rr,function(Vt,$r,ui,Zr){var Ri=Zr;return hi(Vt,$r,ui)?!1:!Ri||!Ri._virtualHandled?(Ri&&(Ri._virtualHandled=!0),uo({preventDefault:function(){},deltaX:Vt?$r:0,deltaY:Vt?0:$r}),!0):!1}),We(ur,rr,function(Vt){tt(function($r){return $r+Vt})}),(0,Pe.Z)(function(){function Vt(ui){var Zr=zr&&ui.detail<0,Ri=pi&&ui.detail>0;si&&!Zr&&!Ri&&ui.preventDefault()}var $r=rr.current;return $r.addEventListener("wheel",uo,{passive:!1}),$r.addEventListener("DOMMouseScroll",Do,{passive:!0}),$r.addEventListener("MozMousePixelScroll",Vt,{passive:!1}),function(){$r.removeEventListener("wheel",uo),$r.removeEventListener("DOMMouseScroll",Do),$r.removeEventListener("MozMousePixelScroll",Vt)}},[si,zr,pi]),(0,Pe.Z)(function(){if(ct){var Vt=ai(yi);oo(Vt),$i({x:Vt})}},[bi.width,ct]);var Co=function(){var $r,ui;($r=tn.current)===null||$r===void 0||$r.delayHidden(),(ui=$t.current)===null||ui===void 0||ui.delayHidden()},to=At(rr,$n,pr,Be,Lt,function(){return Yn(!0)},tt,Co);ye.useImperativeHandle(ge,function(){return{nativeElement:br.current,getScrollInfo:Ii,scrollTo:function($r){function ui(Zr){return Zr&&(0,dt.Z)(Zr)==="object"&&("left"in Zr||"top"in Zr)}ui($r)?($r.left!==void 0&&oo(ai($r.left)),to($r.top)):to($r)}}}),(0,Pe.Z)(function(){if(nn){var Vt=$n.slice(nr,or+1);nn(Vt,$n)}},[nr,or,$n]);var Mo=at($n,Lt,pr,Be),Go=Ln==null?void 0:Ln({start:nr,end:or,virtual:ur,offsetX:yi,offsetY:er,rtl:dr,getSize:Mo}),zo=we($n,nr,or,ct,yi,bn,St,Cn),No=null;le&&(No=(0,Le.Z)((0,qe.Z)({},ut?"height":"maxHeight",le),Tt),si&&(No.overflowY="hidden",ct&&(No.overflowX="hidden"),Dr&&(No.pointerEvents="none")));var zi={};return dr&&(zi.dir="rtl"),ye.createElement("div",(0,x.Z)({ref:br,style:(0,Le.Z)((0,Le.Z)({},mt),{},{position:"relative"}),className:yn},zi,Vn),ye.createElement(xe.Z,{onResize:Er},ye.createElement(Wt,{className:"".concat(ee,"-holder"),style:No,ref:rr,onScroll:Hi,onMouseEnter:Co},ye.createElement(Ie,{prefixCls:ee,height:li,offsetX:yi,offsetY:er,scrollWidth:ct,onInnerResize:Yn,ref:Zn,innerProps:zn,rtl:dr,extra:Go},zo))),ur&&li>le&&ye.createElement(Ht,{ref:tn,prefixCls:ee,scrollOffset:ci,scrollRange:li,rtl:dr,onScroll:no,onStartMove:ni,onStopMove:An,spinSize:lr,containerSize:bi.height,style:_t==null?void 0:_t.verticalScrollBar,thumbStyle:_t==null?void 0:_t.verticalScrollBarThumb,showScrollBar:Pn}),ur&&ct>bi.width&&ye.createElement(Ht,{ref:$t,prefixCls:ee,scrollOffset:yi,scrollRange:ct,rtl:dr,onScroll:no,onStartMove:ni,onStopMove:An,spinSize:jn,containerSize:bi.width,horizontal:!0,style:_t==null?void 0:_t.horizontalScrollBar,thumbStyle:_t==null?void 0:_t.horizontalScrollBarThumb,showScrollBar:Pn}))}var kt=ye.forwardRef(mn);kt.displayName="List";var Fn=kt,an=Fn},51353:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Object.defineProperty(Mt,"DraggableCore",{enumerable:!0,get:function(){return fe.default}}),Mt.default=void 0;var x=Pe(ae(59301)),dt=oe(ae(12708)),Le=oe(ae(4676)),qe=ae(14625),He=ae(77026),Fe=ae(22013),Me=ae(80217),fe=oe(ae(68555)),xe=oe(ae(97510));function oe(we){return we&&we.__esModule?we:{default:we}}function Pe(we,Ee){if(typeof WeakMap=="function")var Oe=new WeakMap,Ke=new WeakMap;return(Pe=function(je,_e){if(!_e&&je&&je.__esModule)return je;var Je,Ve,st={__proto__:null,default:je};if(je===null||typeof je!="object"&&typeof je!="function")return st;if(Je=_e?Ke:Oe){if(Je.has(je))return Je.get(je);Je.set(je,st)}for(const at in je)at!=="default"&&{}.hasOwnProperty.call(je,at)&&((Ve=(Je=Object.defineProperty)&&Object.getOwnPropertyDescriptor(je,at))&&(Ve.get||Ve.set)?Je(st,at,Ve):st[at]=je[at]);return st})(we,Ee)}function ye(){return ye=Object.assign?Object.assign.bind():function(we){for(var Ee=1;Ee<arguments.length;Ee++){var Oe=arguments[Ee];for(var Ke in Oe)({}).hasOwnProperty.call(Oe,Ke)&&(we[Ke]=Oe[Ke])}return we},ye.apply(null,arguments)}function Re(we,Ee,Oe){return(Ee=Se(Ee))in we?Object.defineProperty(we,Ee,{value:Oe,enumerable:!0,configurable:!0,writable:!0}):we[Ee]=Oe,we}function Se(we){var Ee=Ie(we,"string");return typeof Ee=="symbol"?Ee:Ee+""}function Ie(we,Ee){if(typeof we!="object"||!we)return we;var Oe=we[Symbol.toPrimitive];if(Oe!==void 0){var Ke=Oe.call(we,Ee||"default");if(typeof Ke!="object")return Ke;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ee==="string"?String:Number)(we)}class ve extends x.Component{static getDerivedStateFromProps(Ee,Oe){let{position:Ke}=Ee,{prevPropsPosition:je}=Oe;return Ke&&(!je||Ke.x!==je.x||Ke.y!==je.y)?((0,xe.default)("Draggable: getDerivedStateFromProps %j",{position:Ke,prevPropsPosition:je}),{x:Ke.x,y:Ke.y,prevPropsPosition:wf({},Ke)}):null}constructor(Ee){super(Ee),Re(this,"onDragStart",(Oe,Ke)=>{if((0,xe.default)("Draggable: onDragStart: %j",Ke),this.props.onStart(Oe,(0,Fe.createDraggableData)(this,Ke))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),Re(this,"onDrag",(Oe,Ke)=>{if(!this.state.dragging)return!1;(0,xe.default)("Draggable: onDrag: %j",Ke);const je=(0,Fe.createDraggableData)(this,Ke),_e={x:je.x,y:je.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Ve,y:st}=_e;_e.x+=this.state.slackX,_e.y+=this.state.slackY;const[at,ht]=(0,Fe.getBoundPosition)(this,_e.x,_e.y);_e.x=at,_e.y=ht,_e.slackX=this.state.slackX+(Ve-_e.x),_e.slackY=this.state.slackY+(st-_e.y),je.x=_e.x,je.y=_e.y,je.deltaX=_e.x-this.state.x,je.deltaY=_e.y-this.state.y}if(this.props.onDrag(Oe,je)===!1)return!1;this.setState(_e)}),Re(this,"onDragStop",(Oe,Ke)=>{if(!this.state.dragging||this.props.onStop(Oe,(0,Fe.createDraggableData)(this,Ke))===!1)return!1;(0,xe.default)("Draggable: onDragStop: %j",Ke);const _e={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:Ve,y:st}=this.props.position;_e.x=Ve,_e.y=st}this.setState(_e)}),this.state={dragging:!1,dragged:!1,x:Ee.position?Ee.position.x:Ee.defaultPosition.x,y:Ee.position?Ee.position.y:Ee.defaultPosition.y,prevPropsPosition:wf({},Ee.position),slackX:0,slackY:0,isElementSVG:!1},Ee.position&&!(Ee.onDrag||Ee.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var Ee,Oe,Ke;return(Ke=(Oe=(Ee=this.props)==null?void 0:Ee.nodeRef)==null?void 0:Oe.current)!=null?Ke:Le.default.findDOMNode(this)}render(){const Bt=this.props,{axis:Ee,bounds:Oe,children:Ke,defaultPosition:je,defaultClassName:_e,defaultClassNameDragging:Je,defaultClassNameDragged:Ve,position:st,positionOffset:at,scale:ht}=Bt,Ct=Nv(Bt,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let ze={},pt=null;const Qe=!!!st||this.state.dragging,Ot=st||je,ot={x:(0,Fe.canDragX)(this)&&Qe?this.state.x:Ot.x,y:(0,Fe.canDragY)(this)&&Qe?this.state.y:Ot.y};this.state.isElementSVG?pt=(0,He.createSVGTransform)(ot,at):ze=(0,He.createCSSTransform)(ot,at);const lt=(0,qe.clsx)(Ke.props.className||"",_e,{[Je]:this.state.dragging,[Ve]:this.state.dragged});return x.createElement(fe.default,ye({},Ct,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),x.cloneElement(x.Children.only(Ke),{className:lt,style:wf(wf({},Ke.props.style),ze),transform:pt}))}}Mt.default=ve,Re(ve,"displayName","Draggable"),Re(ve,"propTypes",F0(wf({},fe.default.propTypes),{axis:dt.default.oneOf(["both","x","y","none"]),bounds:dt.default.oneOfType([dt.default.shape({left:dt.default.number,right:dt.default.number,top:dt.default.number,bottom:dt.default.number}),dt.default.string,dt.default.oneOf([!1])]),defaultClassName:dt.default.string,defaultClassNameDragging:dt.default.string,defaultClassNameDragged:dt.default.string,defaultPosition:dt.default.shape({x:dt.default.number,y:dt.default.number}),positionOffset:dt.default.shape({x:dt.default.oneOfType([dt.default.number,dt.default.string]),y:dt.default.oneOfType([dt.default.number,dt.default.string])}),position:dt.default.shape({x:dt.default.number,y:dt.default.number}),className:Me.dontSetMe,style:Me.dontSetMe,transform:Me.dontSetMe})),Re(ve,"defaultProps",F0(wf({},fe.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=void 0;var x=xe(ae(59301)),dt=fe(ae(12708)),Le=fe(ae(4676)),qe=ae(77026),He=ae(22013),Fe=ae(80217),Me=fe(ae(97510));function fe(ve){return ve&&ve.__esModule?ve:{default:ve}}function xe(ve,we){if(typeof WeakMap=="function")var Ee=new WeakMap,Oe=new WeakMap;return(xe=function(Ke,je){if(!je&&Ke&&Ke.__esModule)return Ke;var _e,Je,Ve={__proto__:null,default:Ke};if(Ke===null||typeof Ke!="object"&&typeof Ke!="function")return Ve;if(_e=je?Oe:Ee){if(_e.has(Ke))return _e.get(Ke);_e.set(Ke,Ve)}for(const st in Ke)st!=="default"&&{}.hasOwnProperty.call(Ke,st)&&((Je=(_e=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ke,st))&&(Je.get||Je.set)?_e(Ve,st,Je):Ve[st]=Ke[st]);return Ve})(ve,we)}function oe(ve,we,Ee){return(we=Pe(we))in ve?Object.defineProperty(ve,we,{value:Ee,enumerable:!0,configurable:!0,writable:!0}):ve[we]=Ee,ve}function Pe(ve){var we=ye(ve,"string");return typeof we=="symbol"?we:we+""}function ye(ve,we){if(typeof ve!="object"||!ve)return ve;var Ee=ve[Symbol.toPrimitive];if(Ee!==void 0){var Oe=Ee.call(ve,we||"default");if(typeof Oe!="object")return Oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(we==="string"?String:Number)(ve)}const Re={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Se=Re.mouse;class Ie extends x.Component{constructor(){super(...arguments),oe(this,"dragging",!1),oe(this,"lastX",NaN),oe(this,"lastY",NaN),oe(this,"touchIdentifier",null),oe(this,"mounted",!1),oe(this,"handleDragStart",we=>{if(this.props.onMouseDown(we),!this.props.allowAnyClick&&typeof we.button=="number"&&we.button!==0)return!1;const Ee=this.findDOMNode();if(!Ee||!Ee.ownerDocument||!Ee.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:Oe}=Ee;if(this.props.disabled||!(we.target instanceof Oe.defaultView.Node)||this.props.handle&&!(0,qe.matchesSelectorAndParentsTo)(we.target,this.props.handle,Ee)||this.props.cancel&&(0,qe.matchesSelectorAndParentsTo)(we.target,this.props.cancel,Ee))return;we.type==="touchstart"&&!this.props.allowMobileScroll&&we.preventDefault();const Ke=(0,qe.getTouchIdentifier)(we);this.touchIdentifier=Ke;const je=(0,He.getControlPosition)(we,Ke,this);if(je==null)return;const{x:_e,y:Je}=je,Ve=(0,He.createCoreData)(this,_e,Je);(0,Me.default)("DraggableCore: handleDragStart: %j",Ve),(0,Me.default)("calling",this.props.onStart),!(this.props.onStart(we,Ve)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,qe.addUserSelectStyles)(Oe),this.dragging=!0,this.lastX=_e,this.lastY=Je,(0,qe.addEvent)(Oe,Se.move,this.handleDrag),(0,qe.addEvent)(Oe,Se.stop,this.handleDragStop))}),oe(this,"handleDrag",we=>{const Ee=(0,He.getControlPosition)(we,this.touchIdentifier,this);if(Ee==null)return;let{x:Oe,y:Ke}=Ee;if(Array.isArray(this.props.grid)){let Je=Oe-this.lastX,Ve=Ke-this.lastY;if([Je,Ve]=(0,He.snapToGrid)(this.props.grid,Je,Ve),!Je&&!Ve)return;Oe=this.lastX+Je,Ke=this.lastY+Ve}const je=(0,He.createCoreData)(this,Oe,Ke);if((0,Me.default)("DraggableCore: handleDrag: %j",je),this.props.onDrag(we,je)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(Je){const Ve=document.createEvent("MouseEvents");Ve.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(Ve)}return}this.lastX=Oe,this.lastY=Ke}),oe(this,"handleDragStop",we=>{if(!this.dragging)return;const Ee=(0,He.getControlPosition)(we,this.touchIdentifier,this);if(Ee==null)return;let{x:Oe,y:Ke}=Ee;if(Array.isArray(this.props.grid)){let Ve=Oe-this.lastX||0,st=Ke-this.lastY||0;[Ve,st]=(0,He.snapToGrid)(this.props.grid,Ve,st),Oe=this.lastX+Ve,Ke=this.lastY+st}const je=(0,He.createCoreData)(this,Oe,Ke);if(this.props.onStop(we,je)===!1||this.mounted===!1)return!1;const Je=this.findDOMNode();Je&&this.props.enableUserSelectHack&&(0,qe.scheduleRemoveUserSelectStyles)(Je.ownerDocument),(0,Me.default)("DraggableCore: handleDragStop: %j",je),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,Je&&((0,Me.default)("DraggableCore: Removing handlers"),(0,qe.removeEvent)(Je.ownerDocument,Se.move,this.handleDrag),(0,qe.removeEvent)(Je.ownerDocument,Se.stop,this.handleDragStop))}),oe(this,"onMouseDown",we=>(Se=Re.mouse,this.handleDragStart(we))),oe(this,"onMouseUp",we=>(Se=Re.mouse,this.handleDragStop(we))),oe(this,"onTouchStart",we=>(Se=Re.touch,this.handleDragStart(we))),oe(this,"onTouchEnd",we=>(Se=Re.touch,this.handleDragStop(we)))}componentDidMount(){this.mounted=!0;const we=this.findDOMNode();we&&(0,qe.addEvent)(we,Re.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const we=this.findDOMNode();if(we){const{ownerDocument:Ee}=we;(0,qe.removeEvent)(Ee,Re.mouse.move,this.handleDrag),(0,qe.removeEvent)(Ee,Re.touch.move,this.handleDrag),(0,qe.removeEvent)(Ee,Re.mouse.stop,this.handleDragStop),(0,qe.removeEvent)(Ee,Re.touch.stop,this.handleDragStop),(0,qe.removeEvent)(we,Re.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,qe.scheduleRemoveUserSelectStyles)(Ee)}}findDOMNode(){var we,Ee,Oe;return(we=this.props)!=null&&we.nodeRef?(Oe=(Ee=this.props)==null?void 0:Ee.nodeRef)==null?void 0:Oe.current:Le.default.findDOMNode(this)}render(){return x.cloneElement(x.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}Mt.default=Ie,oe(Ie,"displayName","DraggableCore"),oe(Ie,"propTypes",{allowAnyClick:dt.default.bool,allowMobileScroll:dt.default.bool,children:dt.default.node.isRequired,disabled:dt.default.bool,enableUserSelectHack:dt.default.bool,offsetParent:function(ve,we){if(ve[we]&&ve[we].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:dt.default.arrayOf(dt.default.number),handle:dt.default.string,cancel:dt.default.string,nodeRef:dt.default.object,onStart:dt.default.func,onDrag:dt.default.func,onStop:dt.default.func,onMouseDown:dt.default.func,scale:dt.default.number,className:Fe.dontSetMe,style:Fe.dontSetMe,transform:Fe.dontSetMe}),oe(Ie,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(Xn,Mt,ae){"use strict";const{default:x,DraggableCore:dt}=ae(51353);Xn.exports=x,Xn.exports.default=x,Xn.exports.DraggableCore=dt},77026:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.addClassName=_e,Mt.addEvent=Me,Mt.addUserSelectStyles=Oe,Mt.createCSSTransform=Se,Mt.createSVGTransform=Ie,Mt.getTouch=we,Mt.getTouchIdentifier=Ee,Mt.getTranslation=ve,Mt.innerHeight=Pe,Mt.innerWidth=ye,Mt.matchesSelector=He,Mt.matchesSelectorAndParentsTo=Fe,Mt.offsetXYFromParent=Re,Mt.outerHeight=xe,Mt.outerWidth=oe,Mt.removeClassName=Je,Mt.removeEvent=fe,Mt.scheduleRemoveUserSelectStyles=Ke;var x=ae(80217),dt=Le(ae(76172));function Le(Ve,st){if(typeof WeakMap=="function")var at=new WeakMap,ht=new WeakMap;return(Le=function(Ct,ze){if(!ze&&Ct&&Ct.__esModule)return Ct;var pt,Ne,Qe={__proto__:null,default:Ct};if(Ct===null||typeof Ct!="object"&&typeof Ct!="function")return Qe;if(pt=ze?ht:at){if(pt.has(Ct))return pt.get(Ct);pt.set(Ct,Qe)}for(const Ot in Ct)Ot!=="default"&&{}.hasOwnProperty.call(Ct,Ot)&&((Ne=(pt=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ct,Ot))&&(Ne.get||Ne.set)?pt(Qe,Ot,Ne):Qe[Ot]=Ct[Ot]);return Qe})(Ve,st)}let qe="";function He(Ve,st){return qe||(qe=(0,x.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(at){return(0,x.isFunction)(Ve[at])})),(0,x.isFunction)(Ve[qe])?Ve[qe](st):!1}function Fe(Ve,st,at){let ht=Ve;do{if(He(ht,st))return!0;if(ht===at)return!1;ht=ht.parentNode}while(ht);return!1}function Me(Ve,st,at,ht){if(!Ve)return;const Ct=wf({capture:!0},ht);Ve.addEventListener?Ve.addEventListener(st,at,Ct):Ve.attachEvent?Ve.attachEvent("on"+st,at):Ve["on"+st]=at}function fe(Ve,st,at,ht){if(!Ve)return;const Ct=wf({capture:!0},ht);Ve.removeEventListener?Ve.removeEventListener(st,at,Ct):Ve.detachEvent?Ve.detachEvent("on"+st,at):Ve["on"+st]=null}function xe(Ve){let st=Ve.clientHeight;const at=Ve.ownerDocument.defaultView.getComputedStyle(Ve);return st+=(0,x.int)(at.borderTopWidth),st+=(0,x.int)(at.borderBottomWidth),st}function oe(Ve){let st=Ve.clientWidth;const at=Ve.ownerDocument.defaultView.getComputedStyle(Ve);return st+=(0,x.int)(at.borderLeftWidth),st+=(0,x.int)(at.borderRightWidth),st}function Pe(Ve){let st=Ve.clientHeight;const at=Ve.ownerDocument.defaultView.getComputedStyle(Ve);return st-=(0,x.int)(at.paddingTop),st-=(0,x.int)(at.paddingBottom),st}function ye(Ve){let st=Ve.clientWidth;const at=Ve.ownerDocument.defaultView.getComputedStyle(Ve);return st-=(0,x.int)(at.paddingLeft),st-=(0,x.int)(at.paddingRight),st}function Re(Ve,st,at){const Ct=st===st.ownerDocument.body?{left:0,top:0}:st.getBoundingClientRect(),ze=(Ve.clientX+st.scrollLeft-Ct.left)/at,pt=(Ve.clientY+st.scrollTop-Ct.top)/at;return{x:ze,y:pt}}function Se(Ve,st){const at=ve(Ve,st,"px");return{[(0,dt.browserPrefixToKey)("transform",dt.default)]:at}}function Ie(Ve,st){return ve(Ve,st,"")}function ve(Ve,st,at){let{x:ht,y:Ct}=Ve,ze=`translate(${ht}${at},${Ct}${at})`;if(st){const pt=`${typeof st.x=="string"?st.x:st.x+at}`,Ne=`${typeof st.y=="string"?st.y:st.y+at}`;ze=`translate(${pt}, ${Ne})`+ze}return ze}function we(Ve,st){return Ve.targetTouches&&(0,x.findInArray)(Ve.targetTouches,at=>st===at.identifier)||Ve.changedTouches&&(0,x.findInArray)(Ve.changedTouches,at=>st===at.identifier)}function Ee(Ve){if(Ve.targetTouches&&Ve.targetTouches[0])return Ve.targetTouches[0].identifier;if(Ve.changedTouches&&Ve.changedTouches[0])return Ve.changedTouches[0].identifier}function Oe(Ve){if(!Ve)return;let st=Ve.getElementById("react-draggable-style-el");st||(st=Ve.createElement("style"),st.type="text/css",st.id="react-draggable-style-el",st.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,st.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,Ve.getElementsByTagName("head")[0].appendChild(st)),Ve.body&&_e(Ve.body,"react-draggable-transparent-selection")}function Ke(Ve){window.requestAnimationFrame?window.requestAnimationFrame(()=>{je(Ve)}):je(Ve)}function je(Ve){if(Ve)try{if(Ve.body&&Je(Ve.body,"react-draggable-transparent-selection"),Ve.selection)Ve.selection.empty();else{const st=(Ve.defaultView||window).getSelection();st&&st.type!=="Caret"&&st.removeAllRanges()}}catch(st){}}function _e(Ve,st){Ve.classList?Ve.classList.add(st):Ve.className.match(new RegExp(`(?:^|\\s)${st}(?!\\S)`))||(Ve.className+=` ${st}`)}function Je(Ve,st){Ve.classList?Ve.classList.remove(st):Ve.className=Ve.className.replace(new RegExp(`(?:^|\\s)${st}(?!\\S)`,"g"),"")}},76172:function(Xn,Mt){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.browserPrefixToKey=dt,Mt.browserPrefixToStyle=Le,Mt.default=void 0,Mt.getPrefix=x;const ae=["Moz","Webkit","O","ms"];function x(){var fe,xe;let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const Me=(xe=(fe=window.document)==null?void 0:fe.documentElement)==null?void 0:xe.style;if(!Me||Fe in Me)return"";for(let oe=0;oe<ae.length;oe++)if(dt(Fe,ae[oe])in Me)return ae[oe];return""}function dt(Fe,Me){return Me?`${Me}${qe(Fe)}`:Fe}function Le(Fe,Me){return Me?`-${Me.toLowerCase()}-${Fe}`:Fe}function qe(Fe){let Me="",fe=!0;for(let xe=0;xe<Fe.length;xe++)fe?(Me+=Fe[xe].toUpperCase(),fe=!1):Fe[xe]==="-"?fe=!0:Me+=Fe[xe];return Me}var He=Mt.default=x()},97510:function(Xn,Mt){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=ae;function ae(){}},22013:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.canDragX=He,Mt.canDragY=Fe,Mt.createCoreData=fe,Mt.createDraggableData=xe,Mt.getBoundPosition=Le,Mt.getControlPosition=Me,Mt.snapToGrid=qe;var x=ae(80217),dt=ae(77026);function Le(ye,Re,Se){if(!ye.props.bounds)return[Re,Se];let{bounds:Ie}=ye.props;Ie=typeof Ie=="string"?Ie:oe(Ie);const ve=Pe(ye);if(typeof Ie=="string"){const{ownerDocument:we}=ve,Ee=we.defaultView;let Oe;if(Ie==="parent"?Oe=ve.parentNode:Oe=ve.getRootNode().querySelector(Ie),!(Oe instanceof Ee.HTMLElement))throw new Error('Bounds selector "'+Ie+'" could not find an element.');const Ke=Oe,je=Ee.getComputedStyle(ve),_e=Ee.getComputedStyle(Ke);Ie={left:-ve.offsetLeft+(0,x.int)(_e.paddingLeft)+(0,x.int)(je.marginLeft),top:-ve.offsetTop+(0,x.int)(_e.paddingTop)+(0,x.int)(je.marginTop),right:(0,dt.innerWidth)(Ke)-(0,dt.outerWidth)(ve)-ve.offsetLeft+(0,x.int)(_e.paddingRight)-(0,x.int)(je.marginRight),bottom:(0,dt.innerHeight)(Ke)-(0,dt.outerHeight)(ve)-ve.offsetTop+(0,x.int)(_e.paddingBottom)-(0,x.int)(je.marginBottom)}}return(0,x.isNum)(Ie.right)&&(Re=Math.min(Re,Ie.right)),(0,x.isNum)(Ie.bottom)&&(Se=Math.min(Se,Ie.bottom)),(0,x.isNum)(Ie.left)&&(Re=Math.max(Re,Ie.left)),(0,x.isNum)(Ie.top)&&(Se=Math.max(Se,Ie.top)),[Re,Se]}function qe(ye,Re,Se){const Ie=Math.round(Re/ye[0])*ye[0],ve=Math.round(Se/ye[1])*ye[1];return[Ie,ve]}function He(ye){return ye.props.axis==="both"||ye.props.axis==="x"}function Fe(ye){return ye.props.axis==="both"||ye.props.axis==="y"}function Me(ye,Re,Se){const Ie=typeof Re=="number"?(0,dt.getTouch)(ye,Re):null;if(typeof Re=="number"&&!Ie)return null;const ve=Pe(Se),we=Se.props.offsetParent||ve.offsetParent||ve.ownerDocument.body;return(0,dt.offsetXYFromParent)(Ie||ye,we,Se.props.scale)}function fe(ye,Re,Se){const Ie=!(0,x.isNum)(ye.lastX),ve=Pe(ye);return Ie?{node:ve,deltaX:0,deltaY:0,lastX:Re,lastY:Se,x:Re,y:Se}:{node:ve,deltaX:Re-ye.lastX,deltaY:Se-ye.lastY,lastX:ye.lastX,lastY:ye.lastY,x:Re,y:Se}}function xe(ye,Re){const Se=ye.props.scale;return{node:Re.node,x:ye.state.x+Re.deltaX/Se,y:ye.state.y+Re.deltaY/Se,deltaX:Re.deltaX/Se,deltaY:Re.deltaY/Se,lastX:ye.state.x,lastY:ye.state.y}}function oe(ye){return{left:ye.left,top:ye.top,right:ye.right,bottom:ye.bottom}}function Pe(ye){const Re=ye.findDOMNode();if(!Re)throw new Error("<DraggableCore>: Unmounted during event!");return Re}},80217:function(Xn,Mt){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.dontSetMe=qe,Mt.findInArray=ae,Mt.int=Le,Mt.isFunction=x,Mt.isNum=dt;function ae(He,Fe){for(let Me=0,fe=He.length;Me<fe;Me++)if(Fe.apply(Fe,[He[Me],Me,He]))return He[Me]}function x(He){return typeof He=="function"||Object.prototype.toString.call(He)==="[object Function]"}function dt(He){return typeof He=="number"&&!isNaN(He)}function Le(He){return parseInt(He,10)}function qe(He,Fe,Me){if(He[Fe])return new Error(`Invalid prop ${Fe} passed to ${Me} - do not set this, set it on the child.`)}},62752:function(Xn,Mt){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.SizeSensorId=Mt.SensorTabIndex=Mt.SensorClassName=void 0;var ae=Mt.SizeSensorId="size-sensor-id",x=Mt.SensorClassName="size-sensor-object",dt=Mt.SensorTabIndex="-1"},25224:function(Xn,Mt){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=void 0;var ae=Mt.default=function(dt){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,qe=null;return function(){for(var He=this,Fe=arguments.length,Me=new Array(Fe),fe=0;fe<Fe;fe++)Me[fe]=arguments[fe];clearTimeout(qe),qe=setTimeout(function(){dt.apply(He,Me)},Le)}}},82196:function(Xn,Mt){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=void 0;var ae=1,x=Mt.default=function(){return"".concat(ae++)}},10413:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.ver=Mt.clear=Mt.bind=void 0;var x=ae(2963),dt=Mt.bind=function(Fe,Me){var fe=(0,x.getSensor)(Fe);return fe.bind(Me),function(){fe.unbind(Me)}},Le=Mt.clear=function(Fe){var Me=(0,x.getSensor)(Fe);(0,x.removeSensor)(Me)},qe=Mt.ver="1.0.3"},2963:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.removeSensor=Mt.getSensor=Mt.Sensors=void 0;var x=qe(ae(82196)),dt=ae(42065),Le=ae(62752);function qe(xe){return xe&&xe.__esModule?xe:{default:xe}}var He=Mt.Sensors={};function Fe(xe){xe&&He[xe]&&delete He[xe]}var Me=Mt.getSensor=function(oe){var Pe=oe.getAttribute(Le.SizeSensorId);if(Pe&&He[Pe])return He[Pe];var ye=(0,x.default)();oe.setAttribute(Le.SizeSensorId,ye);var Re=(0,dt.createSensor)(oe,function(){return Fe(ye)});return He[ye]=Re,Re},fe=Mt.removeSensor=function(oe){var Pe=oe.element.getAttribute(Le.SizeSensorId);oe.destroy(),Fe(Pe)}},42065:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.createSensor=void 0;var x=ae(38132),dt=ae(38950),Le=Mt.createSensor=typeof ResizeObserver!="undefined"?dt.createSensor:x.createSensor},38132:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.createSensor=void 0;var x=Le(ae(25224)),dt=ae(62752);function Le(He){return He&&He.__esModule?He:{default:He}}var qe=Mt.createSensor=function(Fe,Me){var fe=void 0,xe=[],oe=function(){getComputedStyle(Fe).position==="static"&&(Fe.style.position="relative");var ve=document.createElement("object");return ve.onload=function(){ve.contentDocument.defaultView.addEventListener("resize",Pe),Pe()},ve.style.display="block",ve.style.position="absolute",ve.style.top="0",ve.style.left="0",ve.style.height="100%",ve.style.width="100%",ve.style.overflow="hidden",ve.style.pointerEvents="none",ve.style.zIndex="-1",ve.style.opacity="0",ve.setAttribute("class",dt.SensorClassName),ve.setAttribute("tabindex",dt.SensorTabIndex),ve.type="text/html",Fe.appendChild(ve),ve.data="about:blank",ve},Pe=(0,x.default)(function(){xe.forEach(function(Ie){Ie(Fe)})}),ye=function(ve){fe||(fe=oe()),xe.indexOf(ve)===-1&&xe.push(ve)},Re=function(){fe&&fe.parentNode&&(fe.contentDocument&&fe.contentDocument.defaultView.removeEventListener("resize",Pe),fe.parentNode.removeChild(fe),Fe.removeAttribute(dt.SizeSensorId),fe=void 0,xe=[],Me&&Me())},Se=function(ve){var we=xe.indexOf(ve);we!==-1&&xe.splice(we,1),xe.length===0&&fe&&Re()};return{element:Fe,bind:ye,destroy:Re,unbind:Se}}},38950:function(Xn,Mt,ae){"use strict";Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.createSensor=void 0;var x=ae(62752),dt=Le(ae(25224));function Le(He){return He&&He.__esModule?He:{default:He}}var qe=Mt.createSensor=function(Fe,Me){var fe=void 0,xe=[],oe=(0,dt.default)(function(){xe.forEach(function(Ie){Ie(Fe)})}),Pe=function(){var ve=new ResizeObserver(oe);return ve.observe(Fe),oe(),ve},ye=function(ve){fe||(fe=Pe()),xe.indexOf(ve)===-1&&xe.push(ve)},Re=function(){fe&&fe.disconnect(),xe=[],fe=void 0,Fe.removeAttribute(x.SizeSensorId),Me&&Me()},Se=function(ve){var we=xe.indexOf(ve);we!==-1&&xe.splice(we,1),xe.length===0&&fe&&Re()};return{element:Fe,bind:ye,destroy:Re,unbind:Se}}},4977:function(Xn){"use strict";Xn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5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WVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},89242:function(Xn){"use strict";Xn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYIAAAFuCAIAAAADHognAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nOx9d3yUVdb/zDO9ZyaZ1EkllRAILYQSCYm00MFVREABUREWd3FBhV2XXVBY666KLmUpiqKwC1JEBFSaAlJCCwktIZX0NpPJ1Gd+f5x373t/T5vJzCRh9835I5/JU+49t53n3Hu+5xy+y+Xi8XguF6/FbGk1W6x2B0mSvB7qoR7qIb8S38Vz8Xl8Pp/P50tEQo1cqlFIeTzSxSP4LpeLJMmqxhZzu93F725Oe6iHeui/lPh8Po90uvgEn88H7UchFYXq1EJCwHe5XBX1TW0Wu0QiitBqhEKiRxb1UA/1UCcS6bKTrqrGFrPNrpKKDEFawtRmNbXbpEJhjF4rEhB8F4/HI3m8nn1ZD/VQD/mdSB6PxyNcIiERpQ+Qi0WmdpupzUo0tJkJgggPCnDxeDw+6eLzXC6CxyO6m90e6qEe+q8il4vH4xEul4vnIng8ksfnhwUFEARRbzYLbQ67y8UTCQke6eIRBJ9H8v5nV9YjiXqoh3rIf8Tn8Xgkj0/weCSPR/B5PBGf53K57HankCT/ZwPmIvh8Xo/06aEe6qFOIRAvuJDh8/k8F0GSJMF38QSufz/k4vHgr6sbue2hHuqh/076H7lCYvKFT/L5fMLF5/2vnZ7/77891rL/WAJTaNe/20NA/8V96HvT/n3e8//JF5fL1bMF8558H5XOmLJ8PnWMO/ruf/FC8pB86QEEiuleNjqDKFPLj+QfMfSw9VfXEOOoULqCu2d8HFdUOEct9CrccujHheQ1dagb/V4j27hwsIGPRYeG1eVysRXbecveX+SvcRF6XT3eR+i33W53Op0kScJUfgj7EbgSCARCoZAgvJTC0PtId8Abi5oMV7j7wccuQu92qBDKw4zv4he7chwp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ns3C7qxD48PuCJSesujLqBs44Uz9dFdaYjHzNrng6qk1hfY10CWEm8zH2I+sORpWRMx+oxrRpcqySzV12fGx70N/TI4lGu3qNzivTc6jPWOrCCulixpnLxDsLzMv/qxi/vo4QYPMocnqWE/K+DvcSaA1M9z5Oc9fDuFjy04NE/SThyo3ZOIDL+GP8FcUzcHPd21JhyG2vRlDCLeY5wV1uYHehiu/jXUzcOAbhGHafQ7z95OLJ9/Vgw/tV2RBwzXnVxP8ah8k4U4dH1lw1sS41QKJR6iQUCkdkysRJNYAIT8DSEdvv/hwwxW2yT7EKZl1iolntPstnv9w6SC9WjIp+YwAQm8JOA/YdVRSAQ2SfBsch2v6dPMMmmlnsL1QpvmdzLZNA3dfabzFZIIZhYhyYwgQm4D4JJkwTE32aLsKmz32QyybzFaoW3wG632622+w8Gh/Umu9gmsAlskybZ7XbRj/kePoEJTOBRg23SJJRDC+x2wSSRXCoO89cIhZMEQAQWTJo0MGLsGzaaTCZwNGufWIUmMIEJuAk/XLBsdoFQKJwk9ZKo5d5qxf/scv8PQmE/w2ssHtwAAAAASUVORK5CYII="},16722:function(Xn,Mt,ae){"use strict";ae.d(Mt,{Z:function(){return fe}});const x=xe=>typeof xe=="object"&&xe!=null&&xe.nodeType===1,dt=(xe,oe)=>(!oe||xe!=="hidden")&&xe!=="visible"&&xe!=="clip",Le=(xe,oe)=>{if(xe.clientHeight<xe.scrollHeight||xe.clientWidth<xe.scrollWidth){const Pe=getComputedStyle(xe,null);return dt(Pe.overflowY,oe)||dt(Pe.overflowX,oe)||(ye=>{const Re=(Se=>{if(!Se.ownerDocument||!Se.ownerDocument.defaultView)return null;try{return Se.ownerDocument.defaultView.frameElement}catch(Ie){return null}})(ye);return!!Re&&(Re.clientHeight<ye.scrollHeight||Re.clientWidth<ye.scrollWidth)})(xe)}return!1},qe=(xe,oe,Pe,ye,Re,Se,Ie,ve)=>Se<xe&&Ie>oe||Se>xe&&Ie<oe?0:Se<=xe&&ve<=Pe||Ie>=oe&&ve>=Pe?Se-xe-ye:Ie>oe&&ve<Pe||Se<xe&&ve>Pe?Ie-oe+Re:0,He=xe=>{const oe=xe.parentElement;return oe==null?xe.getRootNode().host||null:oe},Fe=(xe,oe)=>{var Pe,ye,Re,Se;if(typeof document=="undefined")return[];const{scrollMode:Ie,block:ve,inline:we,boundary:Ee,skipOverflowHiddenElements:Oe}=oe,Ke=typeof Ee=="function"?Ee:Ht=>Ht!==Ee;if(!x(xe))throw new TypeError("Invalid target");const je=document.scrollingElement||document.documentElement,_e=[];let Je=xe;for(;x(Je)&&Ke(Je);){if(Je=He(Je),Je===je){_e.push(Je);break}Je!=null&&Je===document.body&&Le(Je)&&!Le(document.documentElement)||Je!=null&&Le(Je,Oe)&&_e.push(Je)}const Ve=(ye=(Pe=window.visualViewport)==null?void 0:Pe.width)!=null?ye:innerWidth,st=(Se=(Re=window.visualViewport)==null?void 0:Re.height)!=null?Se:innerHeight,{scrollX:at,scrollY:ht}=window,{height:Ct,width:ze,top:pt,right:Ne,bottom:Qe,left:Ot}=xe.getBoundingClientRect(),{top:ot,right:lt,bottom:Bt,left:We}=(Ht=>{const nt=window.getComputedStyle(Ht);return{top:parseFloat(nt.scrollMarginTop)||0,right:parseFloat(nt.scrollMarginRight)||0,bottom:parseFloat(nt.scrollMarginBottom)||0,left:parseFloat(nt.scrollMarginLeft)||0}})(xe);let ke=ve==="start"||ve==="nearest"?pt-ot:ve==="end"?Qe+Bt:pt+Ct/2-ot+Bt,At=we==="center"?Ot+ze/2-We+lt:we==="end"?Ne+lt:Ot-We;const Kt=[];for(let Ht=0;Ht<_e.length;Ht++){const nt=_e[Ht],{height:Pt,width:Rt,top:hn,right:Tt,bottom:mn,left:kt}=nt.getBoundingClientRect();if(Ie==="if-needed"&&pt>=0&&Ot>=0&&Qe<=st&&Ne<=Ve&&(nt===je&&!Le(nt)||pt>=hn&&Qe<=mn&&Ot>=kt&&Ne<=Tt))return Kt;const Fn=getComputedStyle(nt),an=parseInt(Fn.borderLeftWidth,10),de=parseInt(Fn.borderTopWidth,10),ge=parseInt(Fn.borderRightWidth,10),ie=parseInt(Fn.borderBottomWidth,10);let ee=0,se=0;const le="offsetWidth"in nt?nt.offsetWidth-nt.clientWidth-an-ge:0,Be="offsetHeight"in nt?nt.offsetHeight-nt.clientHeight-de-ie:0,Ge="offsetWidth"in nt?nt.offsetWidth===0?0:Rt/nt.offsetWidth:0,ut="offsetHeight"in nt?nt.offsetHeight===0?0:Pt/nt.offsetHeight:0;if(je===nt)ee=ve==="start"?ke:ve==="end"?ke-st:ve==="nearest"?qe(ht,ht+st,st,de,ie,ht+ke,ht+ke+Ct,Ct):ke-st/2,se=we==="start"?At:we==="center"?At-Ve/2:we==="end"?At-Ve:qe(at,at+Ve,Ve,an,ge,at+At,at+At+ze,ze),ee=Math.max(0,ee+ht),se=Math.max(0,se+at);else{ee=ve==="start"?ke-hn-de:ve==="end"?ke-mn+ie+Be:ve==="nearest"?qe(hn,mn,Pt,de,ie+Be,ke,ke+Ct,Ct):ke-(hn+Pt/2)+Be/2,se=we==="start"?At-kt-an:we==="center"?At-(kt+Rt/2)+le/2:we==="end"?At-Tt+ge+le:qe(kt,Tt,Rt,an,ge+le,At,At+ze,ze);const{scrollLeft:mt,scrollTop:vt}=nt;ee=ut===0?0:Math.max(0,Math.min(vt+ee/ut,nt.scrollHeight-Pt/ut+Be)),se=Ge===0?0:Math.max(0,Math.min(mt+se/Ge,nt.scrollWidth-Rt/Ge+le)),ke+=vt-ee,At+=mt-se}Kt.push({el:nt,top:ee,left:se})}return Kt},Me=xe=>xe===!1?{block:"end",inline:"nearest"}:(oe=>oe===Object(oe)&&Object.keys(oe).length!==0)(xe)?xe:{block:"start",inline:"nearest"};function fe(xe,oe){if(!xe.isConnected||!(Re=>{let Se=Re;for(;Se&&Se.parentNode;){if(Se.parentNode===document)return!0;Se=Se.parentNode instanceof ShadowRoot?Se.parentNode.host:Se.parentNode}return!1})(xe))return;const Pe=(Re=>{const Se=window.getComputedStyle(Re);return{top:parseFloat(Se.scrollMarginTop)||0,right:parseFloat(Se.scrollMarginRight)||0,bottom:parseFloat(Se.scrollMarginBottom)||0,left:parseFloat(Se.scrollMarginLeft)||0}})(xe);if((Re=>typeof Re=="object"&&typeof Re.behavior=="function")(oe))return oe.behavior(Fe(xe,oe));const ye=typeof oe=="boolean"||oe==null?void 0:oe.behavior;for(const{el:Re,top:Se,left:Ie}of Fe(xe,Me(oe))){const ve=Se-Pe.top+Pe.bottom,we=Ie-Pe.left+Pe.right;Re.scroll({top:ve,left:we,behavior:ye})}}}}]);
}());